template-jj/cmd/planctl/testdata/v2/context-error
sid b02ae7dade feat(planctl): context-window token awareness — wiring (parent 2.0)
* 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
2026-04-23 18:36:35 -06:00
..
env.txt feat(planctl): context-window token awareness — wiring (parent 2.0) 2026-04-23 18:36:35 -06:00
expected.exit feat(planctl): context-window token awareness — wiring (parent 2.0) 2026-04-23 18:36:35 -06:00
expected.golden feat(planctl): context-window token awareness — wiring (parent 2.0) 2026-04-23 18:36:35 -06:00
prd.md feat(planctl): context-window token awareness — wiring (parent 2.0) 2026-04-23 18:36:35 -06:00
tasks.md feat(planctl): context-window token awareness — wiring (parent 2.0) 2026-04-23 18:36:35 -06:00
transcript.jsonl feat(planctl): context-window token awareness — wiring (parent 2.0) 2026-04-23 18:36:35 -06:00