Repository navigation
v6.9.0 #27
REPOZY
announced in
Announcements
v6.9.0
#27
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v6.9.0 (2026-10-02)
The routing guide and your project memory now actually reach the model. Until this release, both arrived as a 2,000-character preview.
Fixes
The router and all injected memory were invisible. Claude Code caps each hook's injected context at 10,000 characters. Anything longer is saved to a file, and the model gets the file path plus a 2,000-character preview it is never told to read. The session-start hook sent the routing guide and the whole memory stack as one block of up to ~29,000 characters. In every session the model saw the opening lines of the router and nothing else: no complexity classification, no routing table, no red flags, no
project-map.md,state.md, known issues or snapshot. Memory is now injected by a separate hook,hooks/session-memory.js, so each hook has its own limit. The router is about 8,200 characters and guards its own size. Memory fills a ~9,500-character budget in priority order:state.md, map staleness, the map's Critical Constraints, open known issues, the latest session-log entries, the rest of the map, then the snapshot. Anything that does not fit is named in the output, so the model knows to open the file rather than assume there was nothing there.A finished task was injected as "ACTIVE TASK STATE — resume from here".
state.mdwas framed as active whenever it was recent, even when you had committed the work it described a minute later. It is now framed as possibly stale whenever a commit is newer than the file. A wrong "possibly stale" costs one confirmation; a wrong "resume from here" pulls the session back onto finished work.The snapshot claimed files were "Changed since last commit". They were committed changes, never uncommitted work. The label now states which they are: everything committed since your last session, or the last commit.
context-snapshot.jsonrecords the difference in a newchanged_files_sincefield.The stop hook counted edits from other projects. Edits outside the current project, such as files in another repository or a scratch directory, triggered its TDD and decision-log reminders. Edits are now scoped to the project directory.
Code review could take its scope from the snapshot. The snapshot covers changes since the last session, not the change under review. Review scope is now always the
BASE..HEADcommit range. The snapshot's blast radius only adds callers of files in that range, and only when the snapshot matches HEAD.The prompt hint contradicted the router. Every skill hint said "invoke using-superpowers FIRST", while session start said the router was already loaded. In headless runs, v6.8.1 loaded the router a second time in 4 of 6 sessions; v6.9.0 did not in 6 of 6.
Codex injected memory without any of these safeguards. It had no stale-state check, injected fixed known issues, and used the false snapshot label. The Codex adapter now builds memory with the same code as Claude Code.
Recall surfaced unrelated history.
condition-based-waiting-example.tsand alone decided a recall. A keyword now matches only words it begins./compact, entries recalled earlier can surface again, because the conversation now holds only a summary of them.Replayed on 19 real prompts, about 11 of 14 recalled entries were relevant, up from about 7 of 11.
Changes
The router drops sections that cannot apply. A project with a
project-map.mdno longer gets the fresh-project gate; one without a map no longer gets the map-staleness procedure. The router no longer asks the model to re-readstate.md,known-issues.mdorproject-map.mdwhen their content was just injected.Self-consistency says what it is.
self-consistency-reasoner,systematic-debuggingPhase 3 andverification-before-completionreason along several paths in one context. Those paths are not independent samples, so agreement between them is weak evidence. Disagreement is a real signal and stops the diagnosis. Agreement only earns a test, never a confidence percentage.The README's research section reports what the sources measured. The figures for context files, context compression, self-consistency and multi-agent deliberation now match the papers. A note says none of these effects has been measured on this plugin.
claude-md-creatoruses the same corrected figures.tools/memory-health.jsshows what a session actually receives. It reports the injected size against the 10,000-character limit and lists what the budget cut.Map guidance covers size in characters, not only lines.
context-managementexplains the shared budget. A long Critical Constraints section pushes the latest session-log decisions out of every session, so each constraint should stay to one line.Measured
Memory A/B, 3 runs per scenario, v6.8.1 against v6.9.0. The scenarios: resume a task recorded in
state.md, follow a rule recorded only inproject-map.md, and fix an error documented inknown-issues.md.A rule nothing in the code hints at, 5 runs per version. The scenario asks for a 30-second request timeout, while
project-map.mdrecords that production's load balancer drops connections at 25 seconds.project-map.mditself in 4 runs. In the one run where it didn't, it set the timeout to 30 seconds.Five runs cannot show a significant difference in pass rate.
These fixtures are small, so read the numbers as a direction, not a size.
Tests
tests/memory-ab. Scenario fixtures, outcome checks, andrun-ab.sh <baseline-dir>to compare any older version against the current checkout.PLUGIN_DIRselects the version under test.--verbose, which the CLI now requires with stream-json output.tests/codex/test-session-start.js. It covers router size, router/memory separation, state framing, snapshot labels, the memory budget, and the recall ledger.This discussion was created from the release v6.9.0.
All reactions