---
source_file: "context/prompt_builder.go"
type: "code"
community: "testgo Part Context"
location: "L92"
tags:
  - graphify/code
  - graphify/INFERRED
  - community/testgo_Part_Context
---

# SourceFunc

## Connections
- [[.BuildParts()_1]] - `method` [EXTRACTED]
- [[TestLoopAppendsIterationMessagesToIncrementalPrompt()]] - `calls` [INFERRED]
- [[TestPromptBuilderBudgetsRequiredSourceBeforeEarlierOptionalContext()]] - `calls` [INFERRED]
- [[TestPromptBuilderBuildsStructuredPrompt()]] - `calls` [INFERRED]
- [[TestPromptBuilderCountsSourcePartsWithoutExplicitTokens()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsEarlierOptionalContextForLaterUserPrompt()]] - `calls` [INFERRED]
- [[TestPromptBuilderDropsOptionalSourceOverBudget()]] - `calls` [INFERRED]
- [[TestPromptBuilderPassesSourceCap()]] - `calls` [INFERRED]
- [[TestPromptBuilderRejectsDuplicateEmittedPartIDs()]] - `calls` [INFERRED]
- [[TestPromptBuilderReusesTokenCountForSourceBudget()]] - `calls` [INFERRED]
- [[TestPromptBuilderSourceCanInspectWholePlan()]] - `calls` [INFERRED]
- [[TestPromptBuilderSourceFailurePolicy()]] - `calls` [INFERRED]
- [[TestPromptSessionRebuildsSourcesWhenConversationReserveIsExceeded()]] - `calls` [INFERRED]
- [[prompt_builder.go]] - `contains` [EXTRACTED]

#graphify/code #graphify/INFERRED #community/testgo_Part_Context