---
source_file: "context/prompt_builder_test.go"
type: "code"
community: "testgo Part Context"
location: "L20"
tags:
  - graphify/code
  - graphify/EXTRACTED
  - community/testgo_Part_Context
---

# T

## Connections
- [[TestPromptBuilderBudgetsRequiredSourceBeforeEarlierOptionalContext()]] - `references` [EXTRACTED]
- [[TestPromptBuilderBuildsStructuredPrompt()]] - `references` [EXTRACTED]
- [[TestPromptBuilderCountsSourcePartsWithoutExplicitTokens()]] - `references` [EXTRACTED]
- [[TestPromptBuilderDropsEarlierOptionalContextForLaterUserPrompt()]] - `references` [EXTRACTED]
- [[TestPromptBuilderDropsOptionalSourceOverBudget()]] - `references` [EXTRACTED]
- [[TestPromptBuilderDropsOptionalStaticSystemPartOverBudget()]] - `references` [EXTRACTED]
- [[TestPromptBuilderEmitsDebugEvents()]] - `references` [EXTRACTED]
- [[TestPromptBuilderEscapesPartIDs()]] - `references` [EXTRACTED]
- [[TestPromptBuilderFailsRequiredOverBudget()]] - `references` [EXTRACTED]
- [[TestPromptBuilderPassesSourceCap()]] - `references` [EXTRACTED]
- [[TestPromptBuilderRejectsDuplicateEmittedPartIDs()]] - `references` [EXTRACTED]
- [[TestPromptBuilderRejectsDuplicateIDs()]] - `references` [EXTRACTED]
- [[TestPromptBuilderRendersRequiredPartsBeforeOptionalParts()]] - `references` [EXTRACTED]
- [[TestPromptBuilderReusesTokenCountForSourceBudget()]] - `references` [EXTRACTED]
- [[TestPromptBuilderSourceCanInspectWholePlan()]] - `references` [EXTRACTED]
- [[TestPromptBuilderSourceFailurePolicy()]] - `references` [EXTRACTED]
- [[TestPromptBuilderSummarizesOptionalStaticUserPartBeforeDropping()]] - `references` [EXTRACTED]
- [[TestPromptBuilderTraceSplitsEntryAndPromptTokens()]] - `references` [EXTRACTED]
- [[TestPromptBuilderUsesCustomRenderer()]] - `references` [EXTRACTED]
- [[TestPromptSessionRebuildsSourcesWhenConversationReserveIsExceeded()]] - `references` [EXTRACTED]
- [[assertContainsAll()]] - `references` [EXTRACTED]
- [[assertContainsNone()]] - `references` [EXTRACTED]
- [[assertOrdered()]] - `references` [EXTRACTED]
- [[traceEntry()]] - `references` [EXTRACTED]
- [[traceEntryStatus()]] - `references` [EXTRACTED]

#graphify/code #graphify/EXTRACTED #community/testgo_Part_Context