返回 CodeWhale
context_report.txt
根目录 / crates / tui / src / commands / fixtures / diagnostics / context_report.txt
1 command: /context report
2 is_error: false
3 message:
4 Context Source Map
5 Estimated active context: 48 tokens
6 Overflow guard: 48 tokens (conservative 1.5x estimate that blocks oversized requests; not the pressure the meter and auto-compaction read)
7 Window: 1000000 tokens (0.0% used, low; source: catalog)
8 Change the window: set `context_window` on the active `[providers.<name>]` table in config.toml (docs/CONFIGURATION.md, "Context length").
9 Source-entry total: 2367 tokens
10 Manage standing law: /constitution (status/preview), /constitution repo (repo-local law), /setup report (readiness).
11
12 Sources:
13 - Constitution: Bundled constitution, language policy, and output policy [bundled in this codewhale-tui build (BASE_PROMPT, compiled in)] - 1803 tokens (High, tier 1)
14 - ProjectContext: Project instructions - 160 tokens (High, tier 5)
15 - ProjectContextPack: Project context pack [<workspace>] - 0 tokens (High, tier 5) - disabled; project_map provides this information on demand
16 - SkillsBlock: Available skills [<skills>] - 0 tokens (High, tier 5) - no skills discovered
17 - ContextManagement: ACT runtime mode - 0 tokens (High, tier 3) - mode enforced by runtime policy and the live tool catalog; no prompt doctrine
18 - CompactionRelayTemplate: Session relay template [bundled in this codewhale-tui build (COMPACT_TEMPLATE, compiled in)] - 0 tokens (High, tier 3) - loaded only when /relay is requested; automatic compaction owns its successor brief
19 - RuntimePolicy: Core execution discipline - 295 tokens (High, tier 3)
20 - AuthorityRecap: Authority recap - 88 tokens (High, tier 1)
21 - EnvironmentBlock: Runtime environment [<workspace>] - 21 tokens (High, tier 4)
22 - HandoffRelay: Previous session relay [<workspace>/.codewhale/handoff.md] - 0 tokens (High, tier 6) - no relay artifact found
23 - UserMemory: User memory [<memory>] - 0 tokens (High, tier 6) - disabled, missing, or empty
24 - SessionGoal: Session goal - 0 tokens (High, tier 6) - no active /goal objective
25 - ToolSchemas: Tool schemas - 0 tokens (High, tier 3) - no tool catalog has been sent yet
26 - ConversationHistory: Conversation history - 0 tokens (High) - no API messages yet
27
28 Diagnostic source map. The headline is the pressure estimate the context meter and auto-compaction gate use; per-source counts are conservative estimates. All counts may differ from provider billing.
29 action: <none>
30
30 lines Plain Text