feat(review): preserve exact-head work memory and partition protocol - #2068
feat(review): preserve exact-head work memory and partition protocol#2068seonghobae wants to merge 1 commit into
Conversation
47 focused tests pass including four unchanged renderer regressions; scoped coverage 202/202 statements and 66/66 branches. Connect the protocol at the real OpenCode contract renderer. Automatic fresh-session execution and Noema/Strix adapters remain Proposed, not deployed.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Continuation status: a keyset-pagination repair and 14 focused behavioral tests were prepared and locally verified, but the subsequent Reproduced defect: Local source blob is Companion CO#1117 now contains the published post-checkpoint cancellation repair at |
|
New source-grounded integration finding on exact head
The actual Required owner repair: retain read-only reviewer permissions and Current implementation status remains Proposed/Draft; automatic integration is not completed. The previously security-blocked keyset commit is not retried or represented as published. CO #1117 has independently advanced to |
Current source and companion work
Head remains
b4dfcc994d1a147b2904406de8b6d0f776e26951. Proposed / Draft; no automatic whole-PR reviewer recovery, deployment, full CI success or independent approval is claimed. Preserve the six original files and their valid deltas. Companions: CO#1117 (2e7e1d128d13a0e22382ed4081b246f15c47be98) and CO#1119 (ea0166818ea2ad7c00874b284e613199c1722ad7, stacked on #1000).This branch supplies a review-local SQLite evidence/finding-reference ledger, bounded memory.md projection, CLI, tests and an insertion at the actual OpenCode prompt renderer. It does not yet provide an executable host-managed fresh-session loop for OpenCode, Noema or Strix.
Verified integration blocker: the instructions exceed the reviewer capabilities
Checked-in
opencode.jsonc, blob8946175a135d736116bd2b719bbffdecd81f23b6, has no MCP servers and denies edit/bash/task/external_directory access. The primaryci-review-prompt.md, blob73fa6377e7b9c714aef2f2d2dbb45c5f0dbc7654, explicitly says the reviewer cannot execute commands, mutate files or launch subagents; execution/CodeGraph evidence is supplied by the host.The appended memory protocol nevertheless asks the agent to persist memory and use
review_memory.py. A prompt cannot create those capabilities. The actualrun_opencode_review_model_pool.shblob80f57d1d43cfa176af8936296a7b4ae532a5131euses one-shot run/export/normalize, retains head/tail excerpt bytes and treats context overflow as candidate failure. These inspected source paths do not establish automatic packet continuation. A complete inventory of launch-time config overrides is not yet available.Owner repair must keep the existing read-only isolation and
orchestrator/free: the trusted host should admit the source/relationship manifest, prepare bounded packets, write validated checkpoint/finding references, invoke actual new sessions and enforce full-scope completeness before the existing final approval gate. Memory is an index and evidence journal, never approval authority. Noema structured output and Strix's stateful tool/stream path need distinct adapters preserving call origin and access topology.Previous keyset follow-up is not published
A prior local keyset continuation correction and 14 focused tests were prepared, but its
create_commitoperation was blocked by the tool's security determination. The source branch did not advance. That blocked mutation is not retried through another API and its local results are not treated as evidence for this branch. The original immutable source remains preserved.Verification boundary
The original full ledger had been reconstructed to blob
d8fdb0712a5b41079593ede83eefd004f2dd105b. Inherited commit/ADR test counts are historical; this continuation did not rerun the complete memory suite. New source inspection confirms the capability/protocol conflict above and is recorded in comment5613217341.CO #1117 now has independently executed 66 local partition tests, including layout/restart admission, but this does not count as central memory/session integration. CO #1119 has 26 focused effort/authority tests; it is not a reviewer rollout.
Remaining acceptance
Rust-owned production execution/state boundary and a released contract; complete trusted source/relationship inventory; effective model-payload counting; bounded memory reads and durable checkpoint writes; real fresh sessions; preservation of all findings; typed incomplete outcome instead of fabricated code defects or approval; current-head host/provider integration; private/ZDR and cancellation cases; independent review and required checks; immutable owner release and LineageWeave#983 consumer replay. A source manifest or prompt alone does not satisfy these conditions.
No arbitrary agent permission, provider/model/group fallback, paid route, secret scope, workflow permission, forced push or approval gate is expanded. The existing Python ledger remains a Proposed prototype, not authorization for a new Python production runtime.