Repository navigation
Description
Parent / responsibility
#840; #1334 source admission; #1013/#1014 canonical judgment and public selection; #929/#1001 substantive input; #1003 private-audit boundary; #765/#959 delivery; #1277 non-interference. #1338 supplies the standalone producer, em-ci#218 operates it and em-ci#215 handles transport. Planning revision 2026-10-10 consolidates the October 9 description.
This is the pure agent-facing review-result projection, not #943/#1016's deterministic GateDecisionSummary or #935/#1046's optional hygiene/repair action list. It cannot generate a second verdict by scraping Markdown or using another model.
Immutable source and derived view
Keep three persisted objects distinct:
immutable verified ReviewJudgment
+ immutable PublicReviewPlan derived from it
+ append-only DeliveryAttempt / remote observation receipts
-> versioned AgentReviewResult view at a named observation watermark
The judgment contains review findings, admitted coverage, residual questions and exact evidence references. The public plan contains selected claim IDs, locations/body digests and intended delivery subject. Delivery receipts record what actually happened. Updating the derived view after a retry must not modify either immutable source object or erase an earlier failed/unknown attempt.
Contract
- Exact repository/source/PR-head delivery subject, review-spec/pass/attempt identities, judgment and public-plan digests.
- Analysis result and coverage/availability separately; material findings can coexist with limited scope. A missing/malformed final lead cannot be rendered as no material findings.
- Structural claim IDs, materiality/severity, evidence and contrary-evidence dispositions, source anchors, remaining questions and bounded next evidence needed.
- Accepted-intent/goal-alignment projection only when contract(review-intent): bind accepted task and specification authority independently of PR claims #1336 authority exists. Absent intent remains not-requested/unresolved; do not infer accepted scope from author prose.
- Delivery outcome and currentness separately: a historical operation may be remotely confirmed but no longer current. An ambiguous POST outcome stays unknown/reconciling rather than failed-and-safe-to-repeat. Use a versioned extension/mapping if existing delivery schemas lack that state.
- View source watermark/version so consumers detect stale or rolled-back views. Model/provider/transport operational detail remains behind references, not public prose.
- Source-only mode owns no CI result. Imported CI evidence remains independently bound read-only context. No source-only clean implies tests passed, CI PASS or merge permission.
Acceptance
- One verified judgment produces consistent human and machine claim/disposition projections without a second model call.
- Material summary-only finding survives absent an inline anchor; rendering/suppression cannot silently delete an accepted material claim or make the machine result clean.
- Clean supported review may be silent on GitHub while retaining a useful terminal machine result.
- Missing/unsupported mandatory review evidence and invalid final lead are explicit; optional irrelevant exclusions do not fabricate whole-repo review failure.
- Delivery retry changes only delivery/view state; judgment, public plan and imported deterministic CI bytes/digests remain unchanged.
- Pending, partial, ambiguous, failed, confirmed and later-superseded delivery remain distinguishable; no absence of a receipt is interpreted as proof of no remote side effect.
- Wrong repo/head/pass, forged evidence, unknown schema, malformed watermark and stale view fail or limit explicitly.
- Fresh same-head review has a separate pass; an older clean result cannot replace or suppress its later adverse judgment.
- Suggested next evidence carries no argv, proof dispatch, source mutation, automatic repair, Requiredness or merge authority.
- Raw private audit and unauthorized source/credential material are absent from public and cross-tenant output.
Proof / phase order
Pure contract and projector first, using recorded judgment/transport fixtures. Cover finding, quiet clean, limited, unavailable lead, summary-only, duplicates, failed/ambiguous/partial delivery, moved head, fresh same-head review, stale view, conflicting event, and imported CI non-interference. Independently recompute view source digests and byte-invariance rather than comparing two producer strings.
Production input depends on the qualified canonical judgment producer. #1349 governs any proposed earlier standalone qualification, without bypassing existing integrated activation law. No HTTP service, App credential, live post, check publication or branch protection in this PR.
Exit / rollback
A bounded versioned export usable by an implementing agent, independently verifiable from immutable review and delivery receipts. Disable the export/transport on failure; preserve original judgment and attempt history. Existing integrated CI authority is unchanged.
Recorded-review implementation and evidence reconciliation — 2026-10-23 UTC
The current coordinating PR is #1398, still Draft at b377fcc866ecab826cb3ff650b990ac0b5ba631b, tree 56f7dac392f23160d02348feef39348bc13ddde2, base 8c23c004a961bd34ea6191da056fd40721cddba7. Its prepared-payload/observation composition and the following tests remain unmerged. Source-only recorded consistency is a bounded precursor to this issue's full production contract.
Completed independent test review; owner adoption still pending
These are retained independent executions from 2026-10-21 on Linux/Rust 1.95, freshly recovered and checked against unchanged published refs during this investigation. They are not new 2026-10-23 executions, formal GitHub approval or hosted qualification.
| Published test subject | Independent result | Limit / next action |
|---|---|---|
Authority correction 0c2badf, tree 891cbdb2e9a949b68440c2f23c2e6edfb87e2155 |
The 20-line identity re-linking correction passes pristine narrow controls. Removing ReviewJudgment unknown-field rejection makes the actual answer acceptance test fail; removing those 20 lines lets the same weakened production decoder pass through stale-pin masking. Independent PublicReviewPlan decoder weakening also fails. Restored complete authority test passes. |
Existing #1335/#1398 owner selects/adopts the complete dependency chain and validates its resulting composition. No production decoder change is proposed by the mutation experiment. |
Observer correction e651261, parent 4f76bf239eb92af35b790e6b518cea21739130f7, tree 5dcaa70690be6a9fbbd223567e311e90975cafff |
All 23 observer cases pass. A replay-only transient payload write after observation is detected through openat/write/unlink despite identical final filesystem state. The predecessor fixture lets that same witness survive; the corrected fixture kills it. Restored successor passes cleanly. |
Linux synthetic observer evidence establishes this bounded consumer path. It does not establish every adverse CI path, production sandboxing or hosted behavior. |
The authority command was cargo test --locked --offline --test recorded_review_cli forged_execution_and_ci_fields_fail_through_real_file_and_replay_boundaries -j2 -- --nocapture; temporary narrowing and decoder mutants were restored. Preserve the complete published series 6f31190 → dc77a28 → 0c2badf → 4f76bf → e651261, rather than applying the last patch alone. The original independent-review obligation can now consume these bounded independent results; integration remains with the existing owner.
Separate production defect
#1547 tracks the independently demonstrated PlanAbsent diff/revision mismatch from review 5593548906. Re-pinning changed diff bytes and intake while retaining the old canonical revision can make source export/replay accept the old view. This concerns mandatory source admission, is inherited in the pending series and is not a shipped-main finding. Completing the two test reviews above does not clear it.
Finite next outcomes
-
Existing source-admission owner adopts the selected test series with explicit resulting base/head/tree and reviews its composition with feat(review): compose a recorded agent result at a pinned prefix #1398; do not add a parallel writer.
-
Resolve the new diff/revision regression in the existing shared C5.6 review(final): make ReviewJudgment the compiler and public-review authority #1014/file-admission boundary, preserving absent/invalid states and both real source-export/replay rejection controls.
-
Retain independent intake pins, mandatory source bindings, event/observation/watermark identities and CI byte invariance through the real file/CLI consumers.
-
Keep source review, bounded synthetic execution, hosted required checks, normal integration and later operated-service acceptance as separate receipts. Requalify only a selected changed candidate under the currently effective rules.
#1338 production invocation parity and the full #1013/#1014 authority migration remain distinct. #1349 remains unadopted; no issue amendment grants source-service activation, live posting, check authority, Ready, merge or release.
Activity
EffortlessSteven commentedon Oct 11, 2026
#1013 prerequisite delivered for review as draft PR #1387: #1387
Head 8cf90cd; tree 9044d922e93a1e8cf18fc778b1e12e2f9ed72942; base 777d86a.
Exact local/mutant receipt: #1387 (comment)
The pure Rust
review_judgment::validate_recorded_judgmententrypoint validates a separately pinned recorded answer against canonical RevisionIdentity, repository/spec/pass/attempt, existing ClaimGraph references, byte-verified claim-bound evidence and a recomputed source manifest. It returns Absent, Invalid or shadow Validated; missing/invalid lead never becomes clean. Imported CI stays opaque and byte-identical, or explicitly absent. Forbidden CI/delivery/dispatch authority and unsupported anchors/suggestions/prose are rejected. No runtime/compiler/public authority moved.Next #1335 handoff: use this canonical owner seam, retain its immutable answer/source digests and source scope/gaps; do not create another judgment schema or scrape Markdown. Independently qualified source admission and completeness remain upstream obligations. #1014 still owns immutable public-plan compilation; keep append-only delivery observations separate, with absent/ambiguous delivery remotely unknown and historical confirmation distinct from currentness. Then add the real recorded export/replay command and observation-watermark view through these source objects. This PR supplies only the bounded source-object validation prerequisite; #1335 export and full #1013/#1014/#1277 acceptance remain open.
Seven local baseline checks pass, all four new controls pass, and a compiled binding-removal mutant is killed. Staged precommit passes on the exact tree with cargo-allow/RIPR/unsafe-review/ast-grep explicitly missing. Hosted gate/independent review remain pending. #1349 stays UNADOPTED; all live integrated/standalone activation constraints and other owners are preserved. Parent owns independent review; draft only, no Ready/merge.
EffortlessSteven commentedon Oct 11, 2026
Bounded recorded export continuation stopped at its precise producer contract gap; no new branch, schema, source change or rerun.
Current main remains 777d86a. Dependency PR #1387 remains draft/unmerged at 8cf90cd (tree9044d922e93a1e8cf18fc778b1e12e2f9ed72942). Its independent adversarial source review passed (#1387 (review)); strict product gate38143923336/job114483218782 remains FAIL: RIPR124/max0. Source review does not clear that gate.
Missing #1014 owner contract: the recorded immutable PublicReviewPlan wire object and pure validator that bind its exact repository/head/spec/pass subject and judgment digest to lead-selected structural claims, public locations/body digests, summary-only selections, quiet silence and explicit withholding. The owner must define which recorded bytes constitute that plan and how completeness/derivation are validated; a caller-provided hash alone cannot prove this.
Source evidence:
The refreshed open-PR inventory found no separate implementation of that boundary; #1014 has no posted owner decision/comments. A new #1335 envelope around arbitrary plan bytes, or fake inline locations for summary findings, would invent the missing contract. Per the delegated stopping rule, I did not do so.
Next bounded owner action: define/authorize #1014's narrow pure recorded public-plan value/validation seam, or explicitly designate an existing artifact plus its exact judgment/subject/summary mapping as that contract. Then #1335 can implement the real non-publishing replay/export command over #1387 + that seam + append-only observations/watermark. This is a missing shared contract, not a demand for live model activation or adoption of #1349, which remains UNADOPTED.
EffortlessSteven commentedon Oct 11, 2026
Coordinated #959 observation owner continuation is preparing a pure, test-compiled delivery_transaction child module stacked on unchanged #13954279e19, with no edits to your CLI/source exporter/validators/policy files. Canonical source input and exported byte view remain unchanged; observation projection is a separate machine object at an independently pinned named ordered-prefix watermark. Complete inline reconcilations reuse existing delivery types; summary correspondence is explicitly unverified. Remote ambiguity, distinct retries and historical confirmation are retained. No live writer or new publication authority. Exact API/source-pin/watermark/file admission handoff will follow for your future consumer; default binary integration remains yours, not activated by this draft.
EffortlessSteven commentedon Oct 11, 2026
Review head available: draft #1397, exact e9da9b7 / tree 622291dfb399091e4626fd3a8ec91d71d343eb48, based on #1395 4279e19. File-disjoint contract proposal except the isolated cfg(test) child declaration in delivery_transaction.rs; no runtime activation or shared owner implementation edits. Eight focused controls pass; compiled previous-link bypass mutant is killed and restored controls pass. Baseline checks continue. docs/RECORDED_DELIVERY_OBSERVATIONS.md specifies #1335's pinned intake + named independent watermark + later pure consumer promotion and actual CLI validation. Inline relationships only; summary correspondence unverified / whole-review not_qualified. Held ancestor/finalizer heads unchanged. Review can begin now; no readiness request.