Skip to content

Commit 4a19dfe

Browse files
committed
decisions and learnings.
Signed-off-by: Jose Alekhinne <jose@ctx.ist>
1 parent 4a14ef9 commit 4a19dfe

3 files changed

Lines changed: 34 additions & 3 deletions

File tree

.context/DECISIONS.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<!-- INDEX:START -->
44
| Date | Decision |
55
|----|--------|
6+
| 2026-07-03 | Keep sonnet-4-6 at the 200k default despite the API catalog listing 1M |
67
| 2026-06-07 | ctx-dream executor is a documented contract, not a hardcoded cron/claude assumption |
78
| 2026-06-07 | Output belongs in write/ — taxonomy and emission style (consolidated) |
89
| 2026-06-07 | Package taxonomy and shared-code placement (consolidated) |
@@ -109,6 +110,20 @@ For significant decisions:
109110
110111
-->
111112

113+
## [2026-07-03-182236] Keep sonnet-4-6 at the 200k default despite the API catalog listing 1M
114+
115+
**Status**: Accepted
116+
117+
**Context**: Claude 5 window-detection fix (specs/model-context-window-fable.md); Anthropic's current catalog shows Sonnet 4.6 with a 1M window at the API level
118+
119+
**Decision**: Keep sonnet-4-6 at the 200k default despite the API catalog listing 1M
120+
121+
**Rationale**: ctx models Claude Code's per-session gating, not raw API capability: Sonnet 4.6's 1M is an explicit opt-in already handled by ModelSuffix1M and ClaudeSettingsHas1M, and the existing test deliberately pins the 200k default
122+
123+
**Consequence**: Revisit only with session-level evidence (a sonnet-4-6 JSONL showing 1M without the [1m] suffix); over-reporting the window would silence the context hook while a session genuinely fills
124+
125+
---
126+
112127
## [2026-06-07-112203] ctx-dream executor is a documented contract, not a hardcoded cron/claude assumption
113128

114129
**Status**: Accepted

.context/LEARNINGS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ DO NOT UPDATE FOR:
1717
<!-- INDEX:START -->
1818
| Date | Learning |
1919
|----|--------|
20+
| 2026-07-03 | New Claude model families silently fall to the 200k default in ModelContextWindow |
2021
| 2026-06-07 | Pin an on-disk contract before splitting work across parallel agents |
2122
| 2026-06-07 | site/ is tracked build output — rebuild and bundle it with doc commits |
2223
| 2026-06-07 | ctx-dream is headless-first; invoking /ctx-dream interactively is debugging, not the UX |
@@ -107,6 +108,16 @@ DO NOT UPDATE FOR:
107108

108109
---
109110

111+
## [2026-07-03-182238] New Claude model families silently fall to the 200k default in ModelContextWindow
112+
113+
**Context**: claude-fable-5 sessions warned '104 percent full' while the 1M window was 79 percent free; ModelContextWindow only recognized the [1m] suffix and the opus substring
114+
115+
**Lesson**: Unmapped model families inherit rc.DefaultContextWindow (200k), and every EffectiveContextWindow consumer (check-context-size hook, heartbeat, nudges, provenance) misreports against the wrong window
116+
117+
**Application**: At every model launch: add the family substring to internal/config/claude, extend TestModelContextWindow, and sanity-check against a live session's /context output before trusting hook percentages
118+
119+
---
120+
110121
## [2026-06-07-162840] Pin an on-disk contract before splitting work across parallel agents
111122

112123
**Context**: The ctx-dream skill (proposal writer) and the ctx dream CLI

specs/ctx-task-out.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,14 @@ to rename, keep the phrasal-verb constraint.
108108
milestone m0a) produces a plan passing the skill's own quality
109109
checklist — including a correct refusal while D-001 (language
110110
choice) is unresolved
111-
*(gate half verified read-only 2026-07-03: D-001 open in the spec
112-
→ blocking-TBD refusal fires by construction; the plan-producing
113-
run happens post-reinstall via the originating session)*
111+
*(refusal half executed live 2026-07-03 by session c887a6d4
112+
hand-running the landed SKILL.md against zhc/os m0a: the gate
113+
surfaced TWO blockers — D-001 and D-003 (artifact schema
114+
language), one more than this work order predicted; the
115+
"schema format" example in the blocking definition earned its
116+
place. Both blockers resolved same day via zhc/os DECISIONS.md
117+
(D-003 → JSON Schema, steering; D-001 → Go, Board). The
118+
plan-producing run happens post-reinstall.)*
114119

115120
## Review
116121

0 commit comments

Comments
 (0)