Repository navigation
Description
Current remaining scope — exact-binary smoke evidence
The parser/adapter implementation merged through PR #915 at 4dde1d9250f56be6f71782a7a1962a3a54f980f2. The 2026-08-24 reconciliation leaves only the producer/consumer smoke receipt unproven. Do not create a second parser implementation PR or infer smoke completion from fixture tests.
- Search retained artifacts for the exact unsafe-review 0.3.8 /
raw_pointer_alignmentmodel-off run. Reuse only a receipt that binds the actual source/binary hashes, complete argv, exit statuses, and bounded output hashes. - If absent, build or resolve the specified binary pair and execute the original bounded smoke:
ub-review run --model-mode off --posting artifact-only --fail-on-gate false --tools unsafe-review, with explicit fixture/base/head/output arguments from the current CLI contract. Record those resolved arguments and binary paths/hashes. Use no credentials or posting. - Retain the expected candidate/card ID, path/line, advisory trust boundary, operation family, and exact repair join, with malformed/unsupported-shape behavior covered by the existing tests. Do not substitute a different analyzer version without explicitly reconciling the original acceptance.
- Link the reproducible receipt, then close only when it satisfies the original exact-binary obligation. If the smoke reveals a code defect, capture a bounded trigger-backed repair and preserve the failure evidence.
Target surfaces: src/sensors/unsafe_review.rs, existing sensor tests and retained fixture/receipt conventions. No code change is presumed. The claim remains consumer routing and receipt provenance, not safety, UB absence, or witness execution. Remove smoke-only scratch/worktrees after retaining the receipt; preserve original failures and public issue history.
Historical implementation work packet
The original diagnosis, contract, and acceptance below remain as provenance for the merged implementation. The remaining execution instruction is the smoke-only scope above.
Problem
The exact producer/consumer smoke for
unsafe-review-swarm #2116
found that ub-review retains and routes the unsafe-review 0.3.8 gate bundle but
silently loses its comment candidates.
At unsafe-review commit
672a4c259dd9ddf8e4fa81d861b57d0d5e1254e1 (0.3.8),
comment-plan.json is an object envelope containing comments. At ub-review
commit 9de43c5215c8e4278cce9421b55991ced4f66065, the consumer attempts to
deserialize the whole file as Vec<UnsafeReviewCommentPlanEntry> and applies
unwrap_or_default() on failure. The producer selected one exact ReviewCard,
but the model-off consumer run reported Comment-plan candidates: 0 without a
typed artifact gap. Consequently the card-id repair join was not reached, and
operation_family was only present in raw retained JSON/diff text.
This is a follow-up to the structured routing delivered for #359, not a request
to restore the obsolete top-level array producer shape.
Target seam
- Route the supported unsafe-review 0.3.x comment-plan object envelope by its
declared schema and parsecommentsfallibly. - Treat malformed or incompatible structured input as an explicit typed
evidence gap; never silently convert it to a valid empty candidate set. - Preserve the exact
card_idand join its repair-queue context by that ID. - Bind and propagate
operation_familyas an opaque, nonempty typed value.
Do not impose a closed vocabulary on future producer families. - Preserve the producer's advisory trust boundary through the candidate and
repair projection.
Acceptance criteria
- A fixture using the real unsafe-review 0.3.8 object envelope with one comment
yields exactly one semantic consumer candidate with the same card ID, path,
line, trust boundary, and operation family. - The same card ID joins the intended repair-queue entry; a missing or
mismatched repair entry is explicit rather than silently attached to another
card. - Additive unknown object fields are accepted.
- A malformed comment-plan, wrong top-level type, missing
comments, malformed
entry, or missing required pointer file produces a typed artifact/field/reason
disposition and no candidate. - Unsupported gate schema
unsafe-review-gate/v999continues to produce a
typed artifact gap, no structured candidate, no Markdown fallback, and an
advisory command exit when--fail-on-gate falseis used. - A consistent nonempty future
operation_familyvalue is retained; empty or
inconsistent values are rejected/degraded explicitly.
Proof
- Focused unit tests for the real object envelope, additive fields, malformed
and missing shapes, repair card-ID match/mismatch, opaque operation family,
and unsupported gate schema. - An exact-binary smoke using unsafe-review 0.3.8 and the
raw_pointer_alignmentfixture throughub-review run --model-mode off --posting artifact-only --fail-on-gate false --tools unsafe-review, with no
credentials or posting. Record source/binary hashes, argv, exits, and bounded
output hashes. - Run the repository's focused test target,
cargo fmt --check, Clippy with
warnings denied, and the normal deterministic PR gate.
Non-goals
- No producer downgrade or adapter that emits the obsolete top-level
Vec. - No unsafe execution, witness execution, analyzer changes, calibration,
safety/UB/Miri claims, automatic repair, posting, or blocking-default change. - No global artifact registry, ingestion framework rewrite, release, or Action
installer/version change in this slice.
Risk and rollback
The risk is silently accepting a partially parsed candidate. Keep schema/type
validation and the exact card-ID join local to the unsafe-review sensor adapter.
Rollback is removal of that narrow parser/projection and its fixtures; existing
gate-envelope routing and advisory behavior remain intact.
Activity
EffortlessSteven commentedon Aug 24, 2026
State reconciliation — implementation merged in PR #915
PR #915 (
4dde1d9250f56be6f71782a7a1962a3a54f980f2) merged the core issue seam:operation_family;(card_id, operation_family)repair join;unsafe_reviewandcomment_plantests.Do not open a second implementation PR for this issue.
Before closing, reconcile the one acceptance item not clearly receipted in the PR body: the exact-binary unsafe-review 0.3.8 model-off smoke with source/binary hashes, argv, exits, and bounded output hashes. If an existing hosted/local artifact proves it, attach the receipt and close as completed. If not, narrow this issue to that smoke-only proof rather than reopening parser/adapter code.
#963 will also reconcile the canonical product-state documentation against this merged result.
[-]unsafe-review: ingest 0.3.x comment-plan object without silent empty fallback[/-][+]proof(unsafe-review): retain the remaining 0.3.8 comment-plan smoke receipt[/+]