Repository navigation
fix(dx-scoreboard): retain bounded terminal evidence after cleanup - #13385
Conversation
Merge the reviewed bounded producer authority and hosted evidence contract.
* ci(release): pin server build toolchain and locked cargo * ci(release): pin toolchain action identity * feat(release): emit deterministic server build receipts * fix(release): inventory packaged archive members * fix(release): pass workflow version through environment * feat(release): bind server receipts to build identity * fix(release): keep server receipts in flat artifact staging
* fix(perl): exercise production oracle mapping * test(perl): discriminate production oracle mappings
* fix(release): reject duplicate server targets * fix(release): reject unsafe staging entries * fix(release): parse manifest receipts * style(release): format receipt validation * fix(release): bind receipt version to manifest * fix(release): verify staged archive checksums * fix(release): require configured server targets * fix(release): reject mixed server receipt identities * fix(release): bind receipts to archive bytes * fix(release): validate archive member inventories * fix(release): require one receipt per target * fix(release): reject extra staged subjects * fix(release): atomically write manifest outputs * fix(release): keep internal receipts out of public checksums * feat(release): expose validated server assembly identity * feat(release): retain server assembly receipt * docs(release): document assembly receipt boundary * fix(release): harden server manifest evidence boundaries * fix(release): preserve server assembly outputs on failure * fix(release): emit standard checksum manifest digests
* test(xtask): guard ambient cwd fixture lifetimes * test(xtask): avoid spinning while awaiting cwd writer
* fix(evidence): unify canonical review root identity * fix(evidence): cover binary producer and fallback root identity * fix(evidence): validate compatibility checkout identity
#1690) * fix(xtask): separate Windows driver from workspace rebuild outputs * policy(xtask): receipt the isolated Cargo driver fixture
…1693) * feat(dogfood): enable preview TypeScript producer analysis * test(dogfood): satisfy current fixture lint policy * test(config): isolate fixtures from repository language policy * test(cli): isolate default-policy fixture journeys * fix(fixtures): isolate corpus configuration from host policy
Construct the exact qualified reviewed tree with source as parent 1 and frozen W7 as parent 2. No release publication authority.
…w7-5a685687-j6 Promote: join ripr source with frozen W7 for 0.11.0 (J6)
Bumps the cargo-minor-patch group with 1 update in the / directory: [flate2](https://github.com/rust-lang/flate2-rs). Updates `flate2` from 1.1.9 to 1.1.10 - [Release notes](https://github.com/rust-lang/flate2-rs/releases) - [Commits](rust-lang/flate2-rs@1.1.9...1.1.10) --- updated-dependencies: - dependency-name: flate2 dependency-version: 1.1.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
# Conflicts: # docs/STATIC_EXPOSURE_MODEL.md
…-exposure-claim-boundary docs: propagate reviewed zero-gap and historical panel claim boundaries
Union policy allowlists onto the RIPR-SPEC-0177 renumber; keep the lane's network_policy_resolution rows. Adapt the resolve-network-policy catalog entry to the command_entry ci_enforced parameter (false: no CI workflow invokes it in an enforced lane, verified by check-command-catalog). Verified: check-process-policy, check-network-policy, check-command-catalog pass; fmt/clippy clean; source_promotion resolved-tree + workflow-contract suites green.
…o-minor-patch-820762e1e6 deps(deps): bump flate2 from 1.1.9 to 1.1.10 in the cargo-minor-patch group across 1 directory
…dmission-14d chore(deps): add 14-day Dependabot cooldowns
…e colon-bearing inventory patterns Address review findings on the lane: parse_decisions now returns the exact bytes it parsed and the receipt hashes those, closing the minutes-long re-read window between parse and rendering. Extract parse_inventory_line, which strips the known -o match suffix before splitting path and line number, so colon-bearing governed patterns no longer fail inventory with an invalid-line-number error. Both carry unit tests written in the gate's concat! style so the tests do not add governed literals. Verified: module suite 12/12, resolved-tree and workflow-contract suites green, check-network-policy/process-policy/ command-catalog pass, fmt/clippy clean.
…y-resolution-ad291d feat(promotion): resolve exact network policy
…anslations Port the #1696 hardening onto the current Out-String renderer instead of the superseded Start-Process rewrite: the compound-command scanner now withholds glob characters, brace expansion, subshell/grouping parens, splatting, tilde expansion, comments, any unquoted or double-quoted $, non-spaced > forms, unbalanced trailing quotes, and any other character outside the allowlist, so --%, KEY=value, and future unsupported tokens fail closed instead of shipping a line the shells read differently. Quoted forms stay data and keep translating. Both shell disclosures now state that unavailable variants are disclosed. Verified: ripr lib 5249 passed; goldens/fixtures/dogfood pass with zero drift; test-oracle advisory unchanged; fmt/clippy clean.
Same-text lines under one owner (e.g. repeated } closers) share a content-addressed probe id, which is deliberately line-independent so it survives line movement. The ordinal mechanism existed for exactly this but every producer passed 1, so repeated findings collided and failed the PR evidence contract (duplicate stable ids, seen on the #1670 range: 23 collision groups). Add dedup_finding_probe_ids next to the established dedup_probe_ids and apply it in the TypeScript and Python adapters: repeats gain .2/.3 suffixes in order, Finding.id follows the probe, and source_id evidence lines rebind. First occurrences keep bare ids, so golden churn is zero. Verified: new regression test; ids suite 9/9; analysis suite green; goldens 0 drift; ripr-pr --check on the #1670 range goes from contract failure to ok (220 unique ids, 16 collision families disambiguated).
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 29 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed the six-path source slice at749147876f1eb8ba490a980982bd72bf64c5a9ae, tree61e3122574a456577f6d4dcaf87ff3f724553fa5. The complete changed blobs equal reviewed82c285da; resource/phase parser and token/env helper regions also match. The remote composition has the same tree and only these six paths differ from its main basis.
Directed checks covered admission parity and population honesty; partial exit0 versus capture success; failed, terminated, deadline and unstarted accounting; scratch/source preservation; bounded privacy-safe projection; producer/parser vocabulary; additive consumer compatibility; and test-oracle discrimination. The current real-name positives, unknown phase/status negatives and unauthenticated line preceding the cap address the phase-vocabulary finding. Filtering loss and truncation remain explicit rather than promising a complete phase inventory.
Seven native production-route controls and scoped strict Clippy passed on the identical source blobs. Both the frozen-b51 missing-evidence discriminator and prior-fd6 phase discriminator reject their old implementations. No raw-output retention, new collector, admission relaxation or speed claim is introduced. The binary hash remains an observation with its stated bound. Current integration/native and required hosted evidence are tracked separately in the PR body.
Keep main's pilot_reason_suffix format fed by the bounded pilot_reason vocabulary. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
|
Claim: Branch: codex/dx-scoreboard-terminal-evidence-b51 | PR: #13385 | State: resolved the one conflict in the scoreboard pilot detail (main added a reason suffix helper; the branch retains only the bounded reason vocabulary), pushed head d8002a7, marking ready, review then merge-ready qualification. Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed exact head d8002a7. One conflict with main in the pilot sample detail: main introduced a suffix helper fed by the raw summary reason, while this branch retains only a bounded reason vocabulary. The resolution keeps main's rendered format and test but feeds it the bounded value, so an unrecognized producer string is never copied into the report. Checked the existing tests against that choice: the timeout case still renders the reason and the sentinel-string case retains only the bounded unrecognized marker. Inspected the diagnostics module, measure wiring and integration test file; metric admission and gate decisions are untouched. No review threads exist.
Generated by Claude Code
ripr static exposure checkCommit Took 23s. |
The shared capture reader decodes lossily, so byte counts and digests identify the decoded UTF-8 text. State that in the report, README and a regression test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed exact head d818d8c. Since the previously reviewed head the only changes are the stream identity label in the diagnostics module, the README sentence that matches it, and a regression test with an invalid UTF-8 byte. The review thread about decoded stream identities is replied to and resolved; the repair discloses what the digests identify without altering the shared capture reader or metric admission. Hosted gates run on this head.
Generated by Claude Code
…us row Main moved the measured corpus row into measured_corpus_entry; the merge left the terminal_evidence fields in that helper without their locals. Keep the helper's signature and attach the evidence in measure_corpus_entry where the locals live. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed exact head 65ccc06. The prior hosted run found that the merge with main left the terminal evidence fields inside the helper that main extracted for the measured corpus row, where their locals are out of scope. The repair keeps that helper's signature, which its workload tests call, and attaches the evidence object in measure_corpus_entry where the binary digest, subject and invocation list live. Fields and values are unchanged from the earlier reviewed head. No open review threads.
Generated by Claude Code
…rtial case The standalone invalid-UTF-8 case produced no stream object in hosted CI, so pin the label where streams are observed instead. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Reviewed exact head 5e6168e. The hosted shard run on the previous head showed that the standalone invalid-UTF-8 case produced no stream object, so that test was removed and the stream identity label is pinned on the existing exit-zero partial case, where streams are observed. Compile, lint and golden gates passed on the previous head and every other shard passed. The remaining change set and its earlier review are unchanged and the review thread stays resolved.
Generated by Claude Code
Summary
An exit-zero partial pilot lost its reason when the DX scoreboard deleted scratch output. Retain bounded ordered pilot/check diagnostics in the existing report, so capture success cannot conceal partial analysis. Metric admission, thresholds and gate decisions stay unchanged.
Swarm / Source Boundary
Source-of-truth Links
Proposal: #12947 representative performance evaluation.
Spec: benchmarks/dx_scoreboard/README.md, existing scoreboard v1 contract.
ADR: none; existing producer receipts and parser retained.
Plan item: #12947 terminal diagnostic retention.
Governing issue or accepted claim: #12947.
Acceptance delta (one sentence): Pilot partial reasons and ordered invocation status survive production scratch cleanup without admitting incomplete measurements or retaining arbitrary process output.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): codex/dx-scoreboard-terminal-evidence-b51, head 7491478.
Stack parent or prerequisite PR (if any): none; reviewed stack82c285da was scoped onto main2a86f7c16 without importing the frozen release composition.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): none.
Accepted winner and losing candidate disposition (when decided): one scoped candidate; current all-state and branch searches found no equivalent PR. Separate from the large-workspace analyzer optimization and central release composition.
Scope
Six paths: existing measurement owner, bounded diagnostic projection, production-route tests, README, test-process allowlist fragment and changelog.
Scope Classification
Production delta: additive corpus terminal_evidence diagnostic schema1; ordered pilot, warmup and intended measured slots; separate capture/analysis status; safe summary reason/budget; existing authenticated CPU/RSS and phase receipts; observed binary/root identities and stream digests.
Evidence/support delta: seven Unix integration controls invoking the actual xtask command, local nonempty Git corpus and deterministic producer fixture.
Single acceptance criterion: bounded diagnostic evidence survives cleanup without changing admission.
Non-goals: raw-stream archive, exhaustive phase inventory, LSP diagnostics, new resource collector, performance improvement, release qualification or a new release gate.
Support-tier Impact
Additive diagnostic object documented; v1 metrics and older reports remain compatible. No support-tier promotion.
Policy Impact
Two exact test-only process allowlist rows, one shared command builder; local Git/fixture/xtask only. No network, workflow or permission change.
Proof
cargo test --locked -p xtask --test dx_scoreboard_terminal_evidence -- --nocapture cargo clippy --locked --no-deps -p xtask --bin xtask --test dx_scoreboard_terminal_evidence -- -D warnings cargo fmt --all --checkOn reviewed82c285da, seven controls passed (zero ignored/failures), including exit0 partial, complete pilot, nonzero check, failed exit/not_run order, deadline, failed launch, signal termination, cleanup and privacy. Scoped strict Clippy passed. Formatting and diff whitespace checks passed. The current discriminator fails against frozen b51 with missing ordered terminal evidence after actual cleanup. The strengthened phase test also fails against preceding fd6d80f.
Process and CLI-exit policy checks passed on identical production/policy blobs before the phase-only repair. Full ci-policy static checks passed, then its 300-second bound expired during the second covered_by driver build: incomplete, not pass. Unscoped Clippy's three cmp_owned failures and the old 12010 changelog-fragment failure were independently reproduced on exact b51; their current integration disposition remains to be established. Current composed-head seven-control native proof and scoped strict Clippy also pass. Required hosted proof is pending; the aggregate local attempts remain incomplete at their recorded bounds.
Claim Boundary
No speed or release claim. Raw streams are digests_only and cannot be recovered from this report. Unknown strings are withheld. First16 authenticated lines of at most512 bytes are considered before vocabulary filtering; the17th is lookahead only. Considered/withheld counts and cap metadata expose loss. Real diff_admission_query/core_files_N and diff_admit_dependents/main_files_N pairs are retained. Positive, unknown and unauthenticated controls are present. Binary hashing is an observation, not a concurrent-mutation guarantee.
Rollback
Revert this additive slice; no migration or analyzer/cache change.
Spec-Test-Code Traceability
Static Language Check
No analyzer verdict vocabulary changed.
CI Economics
No workflow/settings change or duplicate release suite. Existing required qualification only; no custom dispatch. Bounded native controls provide the cheaper source signal first.
Engineering Check
Gates
Current tree61e3122574a456577f6d4dcaf87ff3f724553fa5 has exactly six changed paths against main2a86f7c16, and all six complete blobs equal reviewed82c285da (tree348534cee9fee0f62347319eed3588e5a28c7a23). Shared resource/phase parser and token/env helper regions also match. Source reviewed for producer/parser vocabulary, admission parity, bounded retention/privacy, failed/cancelled/unstarted accounting and cleanup. Source conclusion: SOURCE_REVIEW_READY. Overall disposition: REVIEW_INCOMPLETE pending current integration and required hosted evidence. The inherited failures and incomplete policy run above are not passes.
Current continuation
Owner: same performance-evaluation delivery session. Parent explicitly selected separate ordinary PR delivery for this stack. The first Draft exposed frozen-release ancestry (653 paths); a forward two-parent composition repaired scope before any qualification request. GitHub now reports six files and mergeable=true. Remote mergefb7b49142bc2ad88ce72a4185f9cb6ec6a354525 has tree61e3122574a456577f6d4dcaf87ff3f724553fa5 and parents main2a86f7c16/current head749147876. Current native integration refresh: seven controls pass on749147876, zero ignored/failures; scoped strict Clippy passes in58.81s; formatting, process/exit and current changelog checks pass. The old three Clippy sites are absent from this main basis. Current check-fast selected exactly six paths at the recorded merge base, passed its static floor, then hit its300s bound during policy-driver preparation. Current ci-policy passed static checks, both combined driver builds and enumeration, then hit the unchanged12GiB memory guard while compiling the SCIP library target; all descendants were terminated and read back absent. These are unavailable local aggregate dimensions, not passes or semantic failures. The existing authorized required hosted route must establish them. Next: complete focused composed-head proof, inspect reviews/checks, repair findings and obtain one supported qualification request. Central release source and public release holds remain untouched.
Ready transition blocked
The attempted Ready transition for unchanged749147876 was rejected by automatic approval review: it considered authorization unclear while hosted proof and aggregate checks remain pending. Readback confirms Draft. No qualification label, retry, alternate transition route or merge occurred. Current source proof remains seven native controls plus scoped strict Clippy; unavailable local aggregates remain named above. Exact Ready/normal-qualification approval has been requested. Resume the same PR after this authorization blocker is resolved; do not create a duplicate or change enforcement.