feat: stabilize WOR-105 legacy WorkBundle - #33
Conversation
|
Reviewed current head Overall direction is materially better than the historical flow. In particular, the evaluator freeze/completion split, precise invalidation, execution-binding ownership, reviewer sandbox, stage telemetry, canonical accumulating I would not yet treat this head as the accepted WOR-105 native baseline, though. I see three blocking issues:
Two secondary reconciliation items are worth resolving while touching this area:
I am deliberately not asking this PR to absorb WOR-108's post-WOR-105 work: mandatory subagent task ownership / Once the three blocking items above are closed, this looks much closer to the baseline WOR-105 was intended to freeze: stronger evidence identity with less redundant execution, exact ownership, stage-level independent review, and preserved parallelism rather than added orchestration serialization. |
Address PR #33 review findings: reserve observation identities without holding the shared lock during execution, enforce current-target lifecycle reviews, close reviewer capabilities and evidence-access acceptance, and traverse typed capability relations with depth bounds. Keep WOR-108 ownership and review-frontier work out of scope.
|
Re-review of current head The prior three blocking findings are now closed in the implementation, not just in prose:
The exact new-head PR CI run I see one remaining native-review integrity blocker before I would treat this as the accepted WOR-105 baseline: Stage-review acceptance is still self-attested rather than bound to reviewer execution provenance
That is weaker than WOR-98/WOR-106's accepted requirement that the three stage gates use a fresh capable independent worker and that reviewer isolation become native/capability-enforced rather than advisory. Suggested smallest fix: bind an accepting stage review to an immutable reviewer execution receipt (or equivalent native run identity) and validate at the lifecycle gate that:
A compact receipt reference/digest is enough; do not inject the full reviewer event/history payload into the stage-review envelope. Please add a negative fixture showing that a syntactically valid, manually authored Separately, I agree the richer WOR-105 evidence/provenance model creates a real context-weight risk, but I do not think this PR should absorb that optimization. I added a bounded compiled context and evidence projection section to WOR-108: semantic authority stays lossless, while duplicated requirement/evidence text, full provenance histories, capability trees, raw traces and successful observation payloads remain runtime-side and are projected to subagents/reviewers as compact exact references. That keeps this PR focused on finishing WOR-105 native correctness rather than mixing in the next orchestration-efficiency gate. With the reviewer-run provenance binding closed, I would consider the earlier PR findings resolved and the WOR-105 implementation materially ready for its remaining integrated release review / knowledge closure sequence. |
Bind the exact review result, target, reviewer profile and execution boundary to immutable native run receipts. Reject missing, stale or mismatched provenance and known author/repair execution overlap. Retain compact receipt references after workspace cleanup; keep WOR-108 context optimization out of scope.
|
Re-review of current head The prior reviewer-run provenance blocker is now substantially closed. Lifecycle admission no longer trusts an accepted stage envelope by itself: I do see one remaining load-bearing evidence-capability blocker in the repaired review boundary: A receipt now proves that a reviewer process ran, but not that the process actually had the evidence access claimed by the accepted stage review
However, That is weaker than WOR-98's evidence-access contract: packet-only evidence cannot masquerade as accepting direct-source review when it cannot establish source completeness, exact diff/source identity, or claim-relevant validation capability. Suggested smallest correction:
Please add at least these fixtures:
I am treating this as part of the current PR, not WOR-108: it is review correctness/evidence capability, whereas WOR-108's context work is about projecting the same accepted evidence more compactly after correctness is established. Exact-head CI run Aside from this evidence-access completeness issue, the receipt-binding repair is a meaningful improvement and resolves the previous self-attestation defect. |
|
Follow-up on the exact-head release result: CI run The canonical runner is doing the intended complete diagnosis: 36/37 isolated test modules pass and skill validation passes; the only failing module is This does not look like a workspace-migration product defect. The first-broken cause is the new global test fixture in @pytest.fixture(autouse=True)
def isolated_reviewer_receipt_store(tmp_path, monkeypatch):
monkeypatch.syspath_prepend(... / "scripts/orchestration")
monkeypatch.setattr("review_runtime.reviewer_runtime_root", ...)That
The later migration failures are cascading from that namespace collision ( Please repair the test/runtime import isolation, not migration behavior. The reviewer receipt store fixture should not alter global module resolution for unrelated tests. Prefer importing/loading Add a regression proving that reviewer-receipt test setup cannot change unrelated WorkBundle module resolution, e.g.:
This CI blocker is separate from the evidence-access completeness blocker in my preceding review comment. Both should be resolved before treating this head as the accepted WOR-105 baseline. |
Derive snapshot access from stage-required evidence instead of caller labels. Recheck source-tree and authority closure at publication and admission, and preserve migration import isolation through core-independent artifact parsing. Addresses PR #33 comments 5552691522 and 5552679676. Focused local validation: 387 tests passed across five isolated modules.
|
Re-review of current head The two blockers from my previous review are now closed, and I do not see a new blocking implementation defect in this repair.
The full-tree reproducible snapshot is intentionally evidence-side and can be heavy; I would still keep prompt/context projection, semantic deduplication, lazy evidence expansion, repair-frontier packaging, and subagent ownership in WOR-108 as already recorded rather than reopening this PR for optimization. Current review verdict: the blocking code findings I raised on PR #33 are resolved. From this review perspective, the implementation is ready to proceed through WOR-105's remaining integrated stage review, governed knowledge closure, final release identity/freeze, and migration-impact handoff. Those lifecycle steps should establish the accepted WOR-105 baseline; this comment is not a substitute for them, and WOR-108 remains the next post-WOR-105 gate before WOR-107. |
Summary
PR review revisions
Addressed the review comment in commit
d86a31aa64f10721a7b232eeec0d25537f08fd2f:standard | judgmentin runtime and schema.Reviewer-run provenance repair
Addressed the follow-up comment in
143e6503545932ef0c7c6932104788e1477a1b65:reviewer_run: {run_id, sha256}provenance, not a self-authored accepted envelope alone.Current candidate validation
Commit:
143e6503545932ef0c7c6932104788e1477a1b65Tree:
aab10e1ca25ab6dd16b37aecf30c00674428916fgit diff --checkpassed. Tracked patch and new fixture checksums matched the tested handoff before committing.Previous revision validation
Commit:
d86a31aa64f10721a7b232eeec0d25537f08fd2fTree:
67db7f468cd01c859c12ef2501a0587c4a7e24a7git diff --checkpassed. The committed patch matched the tested handoff checksum exactly.Historical baseline validation
The following results belong only to predecessor
79e2258d8bd975bc644b72435d35870793ac5eed, tree2fc261d90f3f0dc90dd27a1bc91a5bb2e6a9ec9d:Review and boundaries
Contributor review is requested before merge. No auto-merge is enabled. Integrated release review, governed knowledge closure and the migration handoff remain pending; this PR does not claim the entire WOR-105 workflow complete.
Native stage admission requires fresh matching semantic-identity records; historical raw-checksum/bootstrap records are not automatically promoted. Final admission fails closed for dirty or ambiguous source candidates. Stage credit now requires native reviewer-run provenance in addition to evidence-access disclosures. The controller/runtime store remains a trusted OS boundary, not a cryptographic defense against a compromised same-user host; undeclared author/repair identities are not inferred.
WOR-108 mandatory subagent ownership and initial-versus-repair frontier work remain excluded. No work-bundle-mcp, WOR-66, WOR-79 or WOR-107 execution is authorized by this change.