Skip to content

Deepen Scoring's confirmed Bug-origin reads - #1314

Merged
JacobStephens2 merged 2 commits into
mainfrom
issue-1313
Oct 25, 2026
Merged

JacobStephens2 merged 2 commits into
mainfrom
issue-1313

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Scoring now owns confirmed Bug-origin reads and shares ordered checkpoint storage with full sample reads. Metrics joins the resulting PR URLs and optional exact local Ticket run identities to its captured Commands.

Run metrics → Scoring confirmed origins → shared ordered checkpoint reader
            → retained pull-request attribution → captured Commands

Closes #1313

Test seams

  • Scoring's confirmed-origin read operation over private temporary checkpoint storage.
  • Existing metrics CLI and CLI/Console Command-details interfaces for retained attribution and late decisions.
  • Existing Scoring retained-file commit and publication interfaces.

Evidence

  • Before: metrics separately discovered, decoded and ordered Scoring checkpoints. The new confirmed-origin test failed at the unimplemented operation; the supersession test then failed with four confirmations instead of two before reduction was added.
    After: cargo test --bin thirdshift scoring::store passes all 11 tests, including seven tests through the confirmed-origin operation and the four existing storage regressions.
  • cargo test --test metrics bug_origin: 6 passed; covers Continuations, dispatched names, correction/rejection, weekly accounting and unchanged Command records.
  • cargo test --test console metrics::: 3 passed; CLI/Console details refresh from minimal retained records through proposed, confirmed, rejected and unknown states.
  • cargo check --bin thirdshift, cargo fmt --check, and cargo clippy --all-targets -- -D warnings: passed.
  • First /usr/bin/time -p scripts/affected-tests main: failed after 728 passed because otlp_endpoint::a_stalled_receiver_cannot_delay_a_session_by_its_span_count exceeded its baseline-plus-two-seconds timing bound (3.93s baseline; 7.65s stalled). Wall time 1067.99s, including compilation and an initial build-lock wait; 2,282 tests were not reached.
  • That exact OTLP test subsequently passed both cargo test --test otlp_endpoint a_stalled_receiver_cannot_delay_a_session_by_its_span_count -- --exact --nocapture and cargo nextest run --test otlp_endpoint -E 'test(=a_stalled_receiver_cannot_delay_a_session_by_its_span_count)' in isolation.
  • Final validation: CI run 40191701060 passed for the exact reviewed head cc392243: the full Linux Rust suite, macOS gate, Console browser tests and site checks. Release builds and smoke checks also passed. Reused that successful full-suite evidence as docs/testing.md directs, and stopped the redundant two-worker local rerun after 508 passing tests; its remaining tests were interrupted deliberately.

Merge Danger

Door: two-way

Blast Radius: metrics

The shared reader serves retained sample writers and the read-time counts in metrics, show --json and Console Command details.

Unaddressed findings

Standards

None. Independent review found 0 findings.

Spec

None. Independent review found 0 findings.

Security

None. Guidance-mode security review of the issue-1313 diff against merge base bd4b3e72 found 0 introduced findings. The change moves confirmed Bug-origin reads into Scoring behind one read-only operation over shared ordered checkpoint storage; metrics keeps its existing retained pull-request attribution join. Verified: no new file, network, process or lock sinks in the changed modules (only pre-existing writer paths remain), stored local record paths are compared lexically and never opened, stable chronological ordering and issue normalization are byte-identical to the removed metrics reader, and malformed data still fails visibly. cargo test --bin thirdshift scoring::store (11 passed) and cargo test --test metrics bug_origin (6 passed) confirm preserved behavior.

Security review outcome

No unaddressed introduced findings.

Review coverage

Both independent reviewers inspected all seven changed files against main pinned at cff9109e6ba567ee720c823fc4598e283a0d94e2 (merge-base bd4b3e72460f16f33cc365798fe9cca1f0b409b5). No changed files were left unread by either axis; no generated-output exclusions. Reports and each axis's final supporting-file list are saved alongside the Session trace as .thirdshift-review-6OztlO/standards.md and .thirdshift-review-6OztlO/spec.md.

Standards: 0 findings; Spec: 0 findings; no worst issue on either axis.

Built with codex · gpt-6.1-sol · xhigh

@JacobStephens2
JacobStephens2 merged commit 8fbcf1a into main Oct 25, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1313 branch October 25, 2026 12:43
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deepen Scoring's confirmed Bug-origin reads

1 participant