Skip to content

chore: align Sinapsis with Claude Opus 4.8 (v4.6.0)#19

Merged
Luispitik merged 1 commit into
mainfrom
chore/opus-4.8-alignment
Jun 1, 2026
Merged

chore: align Sinapsis with Claude Opus 4.8 (v4.6.0)#19
Luispitik merged 1 commit into
mainfrom
chore/opus-4.8-alignment

Conversation

@Luispitik

Copy link
Copy Markdown
Owner

Opus 4.8 alignment (v4.6.0)

Opus 4.8 keeps the same 1M context as 4.7 but holds long context with fewer compactions and better recovery, lowers the minimum cacheable prompt to 1,024 tokens, and accepts mid-conversation system messages — the exact shape of Sinapsis's per-turn systemMessage injection.

Changed

  • Hot-path caps re-tuned: MAX_INSTINCTS_INJECTED 6 → 8, TOKEN_BUDGET 4000 → 6000, learner window 5000 → 8000 lines. Justified by 4.8's better long-context handling, not a bigger window (1M unchanged).
  • RFC docs/rfc-v5-adaptive-thinking.md retargeted to claude-opus-4-8 with adaptive thinking + effort; corrected the cache note (an ~800-token block is below 4.8's 1,024-token cache minimum and would not cache).
  • Docs: v4.6.0 in README (header + badge + What's New), CHANGELOG entry, FEATURES note.

Not changed

  • Hot path stays pure bash/node — no model dependency. Opus 4.8's effort defaults to high in Claude Code; Sinapsis never calls the model itself.

Tests

  • New tests/test-v46-opus48.sh (8 tests: caps, model-ID alignment, version bump).
  • All suites green: v46 8/8 · v45 11/11 · security 11/11 · gstack 18/18 · v433 14/14 · dream 25/25.

🤖 Generated with Claude Code

Opus 4.8 keeps the same 1M context as 4.7 but holds long context with fewer
compactions and better recovery, lowers the minimum cacheable prompt to 1,024
tokens, and accepts mid-conversation system messages -- the exact shape of the
per-turn systemMessage injection Sinapsis already does.

- Re-tune deterministic hot-path caps: MAX_INSTINCTS_INJECTED 6 -> 8,
  TOKEN_BUDGET 4000 -> 6000, learner observation window 5000 -> 8000 lines.
- Retarget docs/rfc-v5-adaptive-thinking.md to claude-opus-4-8 with adaptive
  thinking + effort (budget_tokens returns 400 on 4.7+); fix the cache note
  (an ~800-token block is below the 1,024-token cache minimum on 4.8).
- Bump to v4.6.0 (README header + badge), add CHANGELOG and README entries,
  note v4.6 caps in FEATURES.
- Add tests/test-v46-opus48.sh (8 tests). All suites green: v46 8/8, v45 11/11,
  security 11/11, gstack 18/18, v433 14/14, dream 25/25.

Hot path stays model-free; effort default is high in Claude Code, no change needed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Luispitik Luispitik merged commit 999acee into main Jun 1, 2026
@Luispitik Luispitik deleted the chore/opus-4.8-alignment branch June 1, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant