* emit.go: emitText/emitJSON take *TokenCtx; jsonSummary extended with *jsonCtxWin (omitempty) for context_window in JSON output
* main.go: ReadTokenCtx() called once at top of run() before subcommand dispatch; threaded through runLint
* main_test.go: golden-fixture harness extended for env.txt + transcript.jsonl staging in temp HOME
* testdata/v2/context-{info,warn,error,normal,no-session,no-limit,json-warn,multi-plan}: 8 new fixtures exercising all bands + shapes
Task 2.0 from dev/plans/26174-planctl-context-tokens/prd.md
6 lines
123 B
Markdown
6 lines
123 B
Markdown
# PRD — context fixture
|
|
|
|
## 4. Functional Requirements
|
|
|
|
### R1. Greet
|
|
- R1.1 THE SYSTEM SHALL greet the user on startup.
|