Skip to content

Deepen Security finding record description operations - #624

Merged
JacobStephens2 merged 7 commits into
mainfrom
issue-622
Oct 10, 2026
Merged

JacobStephens2 merged 7 commits into
mainfrom
issue-622

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

Security finding descriptions now belong to the record module. Stored text, Day shift grades, disclosure, selection, and retry behavior stay compatible with existing records.

Security audit/review → typed draft → Security finding record
Security reproduction → pinned commit + evidence → record update
Security fix publishing → public text check → record
Collection gates + GitHub writes → same private description implementation

Closes #622

Evidence

  • Before: The new record-seam tests failed to compile because shared draft construction, commit lookup, reproduction replacement, typed fix transitions, and public-text validation were absent from the record interface.
    After: 14 record tests pass, including literal existing-format fixtures, both storage formats, embedded fences, trailing Day shift edits, lazy validation, and joined writers/readers.
  • cargo test --test security_run --test security_review: 104 passed, including later consumption of review-created records, pinned reproductions, duplicate fingerprints, grade/fix-link preservation, and failed-fix pauses.
  • cargo fmt --check and cargo clippy --all-targets -- -D warnings: passed.
  • cargo test: 1678 passed, 1 existing ignored test; no failures.

Test seams

  • Typed draft construction and SecurityRecord operations, joined to SecurityRecords reuse, selection, and gates through the existing native advisory/private-issue and InMemory adapters.
  • Existing GitHub transport and Security run/review end-to-end scenarios for private storage, reobservations, dispatch, and pinned reproduction.

Review coverage

Standards: 0 findings. Spec: 0 findings. Both reviewed all nine changed files against main (f488b67); neither axis left a changed file unread. Reports are saved in .thirdshift-review-FfUwBq/standards.md and spec.md.

Security: no introduced findings. Reviewed all nine changed files and supporting code against pinned merge base f488b670eff68dd42d77e505a81c35464e60acba, using the security skill in guidance mode and ADR 0015. Verified 24 focused HEAD regressions in an offline sandbox: 14 record tests and 10 Security run tests.

Unaddressed findings

Standards

None.

Spec

None.

Security

None.

Security review outcome

No unaddressed introduced findings.

Merge Danger

Door: two-way

Code refactor; no record migration or domain policy change.

Blast Radius: Security

Private finding construction, reproduction, fix dispatch history, and public fix-text validation.

Built with codex · gpt-6.1-sol · high

Resolve the overlapping Security finding description refactors by retaining issue-622's named draft inputs and typed fix transitions. Preserve issue-621's record and storage-adapter regressions against that interface.

Validation: cargo check --locked; cargo clippy --locked --all-targets -- -D warnings; cargo fmt --check; SYSTEMD_UNIT_PATH=/usr/lib/systemd/system cargo test --locked --no-fail-fast (1686 passed, 1 ignored).
@JacobStephens2
JacobStephens2 merged commit 04c8077 into main Oct 10, 2026
17 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-622 branch October 10, 2026 11:31
@JacobStephens2 JacobStephens2 mentioned this pull request Oct 10, 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 Security finding record text behind one interface

1 participant