v0.20260818.1843
Syncs packages/cli from the monorepo through today's memory-layer work.
The repo-context block reached one agent turn three times — the SessionStart hook payload, the UserPromptSubmit payload, and the always-loaded rules file — so the same ~450-word digest was paid for three times per turn, every turn. The running agent's own rules file now carries only the durable half (tracking notice, policies, authoring framework) when that agent already receives the block over the hook channel; sibling files keep the full text, because for a file-driven agent that file is the only channel. UserPromptSubmit no longer re-sends a block SessionStart already delivered to the same conversation.
The memory record stops misinforming its reader:
- Session windows can no longer exclude the commits they claim — a session reporting an 89-second window was credited with a commit made 14 hours earlier, and a reader couldn't tell which half was wrong.
- Commit timestamps come from git rather than the hook's wall clock, so a late-firing hook (backfill, queued write, rebase replay) doesn't invent a time.
- Note telemetry is omitted when it wasn't measured instead of being written as
0, so an absent field and a real measurement are distinguishable. - Injected text truncates on a word boundary and says so — a digest that ended
The branch is two commits aread as a finished thought while dropping the fact worth carrying. - The memory pointer names the query commands (
origin why,origin ask,origin prompts,origin todo list) instead of only three ways to dump the whole store, andorigin --helpnow lists subcommands of grouped parents soorigin context memoryis discoverable.
Also in this range: the LLM continuation brief, marker repair, the get_repo_memory MCP tool, Cursor dual-hook collision handling and subagent capture, and session/start always advertising the repo remote.
187 test files, 1648 tests green. (cli-docs-parity is excluded from the mirror — it imports a monorepo-root script.)
Install is unchanged and does not come from this repo:
npm i -g https://getorigin.io/cli/origin-cli-latest.tgz