Skip to content

Blocker report: ingest anonymized report, match signatures to issues (Part of #5054) - #6128

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5054-20261023T0157Z
Oct 23, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5054-20261023T0157Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5054. Slice 3: ingestion on our side (done-when 4 and the "ingestion" bullet).

tests/tools/blocker_ingest.py REPORT.anon.json --ledger FILE validates the anonymized report against the published schema (kind, version, no field outside the manifest, signature words only from the allow-list or KIND_xxxxxx hashes), then writes one row per blocker to a customer-side ledger shaped like #5051 rows (estate: customer:<EST hash>, side, class, counts, seen_in engine versions). A signature is matched to an issue through tests/cobol_mainframe/blocker_signatures.json (hashes normalised to KIND_*, so the salt does not matter); unmatched blockers get issue: null and a drafted issue body on stdout. Nothing is filed. Rows never go into the burned-only port_blockers.json. Re-ingest is idempotent.

Checklist: partial -- ingestion and signature matching done; cics_census feed, readiness-scanner run (#4725) and a CI run of ingest over each burned estate's report remain.

Cross-repo: none.

Gates: new tests (10) and test_blocker_report pass; audit_check.py all clear; port_blockers.py check valid; pr_gates.py --fast 7/7. No parser change, so no golden bless.

Lessons for agents

  • .gitignore ignores *.json: a new committed catalogue needs a !path line (done for blocker_signatures.json).

🤖 Generated with Claude Code

…er, match signatures to issues (Part of #5054)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 23, 2026 02:10
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 02:26
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit a4abf08 into main Oct 23, 2026
45 checks passed
@squid-protocol
squid-protocol deleted the churn/5054-20261023T0157Z branch October 23, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant