Skip to content

Fact channels: LLM brief section 13 as FACT_LINES / FACT_SUMMARIES tables (Part of #3383) - #6260

Merged
squid-protocol merged 2 commits into
mainfrom
churn/3383-20261023T1530Z
Oct 23, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/3383-20261023T1530Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3383 (slice 5).

LLMRecorder._mainframe_facts_lines (brief section 13) iterates two tables, FACT_LINES (21 FactLine(key, render, volume) rows) and FACT_SUMMARIES (5 repo-wide bullets), instead of ~20 hand-written branches and a 19-term volume sum. A new channel adds a row. how_to_add_a_fact_channel.md updated.

Evidence

  • Differential against the old method on 3000 randomized payloads: 41,962 lines identical; where the old method raised (a None sort key), the new one raises too.
  • tests/tools_recorders + fact-channel tests pass; new test_fact_lines_table_drives_the_section.
  • pr_gates --fast 7/7. Not run: --ratchets, golden (the LLM brief is not golden-mastered).

Class / Sibling gaps

Class: recorder fact sections hand-written per channel. Done: audit_recorder (#6198), llm_recorder (this PR). Sibling gaps / Remaining slices: galaxy_ir SCOPE/readers, recipe channel table check, custom-insert channels (per the #3383 checklist); no other llm_recorder fact section is hand-written.

Lessons for agents

  • heavy-run.sh pr_gates --fast can queue past a 10 min background timeout: start it with timeout 3600000.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 23, 2026 11:35
…bles (Part of #3383)

_mainframe_facts_lines iterates a table instead of ~20 hand-written branches. Output is
byte-identical against the old method on 3000 randomized payloads.

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 16:15
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 16:22
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 51724c2 into main Oct 23, 2026
75 checks passed
@squid-protocol
squid-protocol deleted the churn/3383-20261023T1530Z branch October 23, 2026 16:30
squid-protocol added a commit that referenced this pull request Oct 23, 2026
…ts (Part of #4443) (#6269)

* Split the CICS harness's conditions family into its own module (Part of #5274) (#6250)

* Split the CICS harness's conditions family into its own module (Part of #5274)

HANDLE CONDITION / AID / ABEND, PUSH / POP HANDLE, ASSIGN, the AID transfer after an input command and handler_labels move verbatim into equivalence_cics_conditions.py; the harness dispatches to it and re-exports handler_labels. Registered with the evidence harness inputs and trial.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* crucible_events.EVENTS: the four WEB events cics-crucible v0.10.0 added (Part of #5274)

The v0.10.0 pin bump (#6230) added WEB-WRITE-HTTPHEADER, WEB-OPEN, WEB-CONVERSE and
WEB-CLOSE to schema/expected.schema.json, but EVENTS was not updated. That left
test_crucible_case red on main and on every PR. The rows are copied from the
pinned schema.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test_cics_spec: list equivalence_cics_conditions.py as a spec importer (Part of #5274)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* carddemo cotrtupc, acctupdate: PF3 XCTL-fails scenario reaches ABEND-ROUTINE (Part of #6072) (#6259)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* DL/I command code Q (enqueue) on gets, both runtimes (Part of #5233) (#6258)

Q is accepted on GU/GHU/GN/GHN/GNP/GHNP as no effect (one program, nobody to
wait); refused by name on ISRT. DLICMD Q40-Q45 prove it on the C twin and the
Java runtime; register I5 updated.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* Fact channels: LLM brief section 13 as FACT_LINES / FACT_SUMMARIES tables (Part of #3383) (#6260)

* Fact channels: LLM brief section 13 as FACT_LINES / FACT_SUMMARIES tables (Part of #3383)

_mainframe_facts_lines iterates a table instead of ~20 hand-written branches. Output is
byte-identical against the old method on 3000 randomized payloads.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* llm_recorder: ruff format and ISC004 parenthesisation (Part of #3383)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* port_blockers: backfill the multi-estate / no-estate rows P065-P071 (Part of #5051) (#6264)

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* C stub records READ update/length/data/RESP2, REWRITE and UNLOCK events (Part of #4443)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* z/OS calibration probes for the remaining MATCHED entries A1, L1, L6 (Part of #4702) (#6263)

Six probes (CEEDAYS x3, CEEDYWK, CEEQCEN, COBDATFT) with oracle_expected measured on the pinned cobc
image (module not found, rc=1) and each note stating the answer z/OS should give. MATCHED_NO_COBC_FORM
is now empty: every MATCHED entry is probed or sorted out.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* Regenerate the CICS crucible baseline: four hc-file-unlock cobol-stub cells run again (Part of #4443)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Stub file-event test: format, and the #6261 stub-unsupported test expects the stub to record READ/REWRITE/UNLOCK (Part of #4443)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Joe Esquibel <[email protected]>
squid-protocol added a commit that referenced this pull request Oct 23, 2026
…4443) (#6261)

* WIP cics-crucible: Java-leg READ / REWRITE / UNLOCK file events (Part of #4443)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* WIP cics-crucible: regenerate the baseline, coverage and report for the full READ key set (Part of #4443)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* C stub records READ update/length/data/RESP2, REWRITE and UNLOCK events (Part of #4443) (#6269)

* Split the CICS harness's conditions family into its own module (Part of #5274) (#6250)

* Split the CICS harness's conditions family into its own module (Part of #5274)

HANDLE CONDITION / AID / ABEND, PUSH / POP HANDLE, ASSIGN, the AID transfer after an input command and handler_labels move verbatim into equivalence_cics_conditions.py; the harness dispatches to it and re-exports handler_labels. Registered with the evidence harness inputs and trial.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* crucible_events.EVENTS: the four WEB events cics-crucible v0.10.0 added (Part of #5274)

The v0.10.0 pin bump (#6230) added WEB-WRITE-HTTPHEADER, WEB-OPEN, WEB-CONVERSE and
WEB-CLOSE to schema/expected.schema.json, but EVENTS was not updated. That left
test_crucible_case red on main and on every PR. The rows are copied from the
pinned schema.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test_cics_spec: list equivalence_cics_conditions.py as a spec importer (Part of #5274)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* carddemo cotrtupc, acctupdate: PF3 XCTL-fails scenario reaches ABEND-ROUTINE (Part of #6072) (#6259)

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* DL/I command code Q (enqueue) on gets, both runtimes (Part of #5233) (#6258)

Q is accepted on GU/GHU/GN/GHN/GNP/GHNP as no effect (one program, nobody to
wait); refused by name on ISRT. DLICMD Q40-Q45 prove it on the C twin and the
Java runtime; register I5 updated.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* Fact channels: LLM brief section 13 as FACT_LINES / FACT_SUMMARIES tables (Part of #3383) (#6260)

* Fact channels: LLM brief section 13 as FACT_LINES / FACT_SUMMARIES tables (Part of #3383)

_mainframe_facts_lines iterates a table instead of ~20 hand-written branches. Output is
byte-identical against the old method on 3000 randomized payloads.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* llm_recorder: ruff format and ISC004 parenthesisation (Part of #3383)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* port_blockers: backfill the multi-estate / no-estate rows P065-P071 (Part of #5051) (#6264)

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* C stub records READ update/length/data/RESP2, REWRITE and UNLOCK events (Part of #4443)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* z/OS calibration probes for the remaining MATCHED entries A1, L1, L6 (Part of #4702) (#6263)

Six probes (CEEDAYS x3, CEEDYWK, CEEQCEN, COBDATFT) with oracle_expected measured on the pinned cobc
image (module not found, rc=1) and each note stating the answer z/OS should give. MATCHED_NO_COBC_FORM
is now empty: every MATCHED entry is probed or sorted out.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>

* Regenerate the CICS crucible baseline: four hc-file-unlock cobol-stub cells run again (Part of #4443)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

* Stub file-event test: format, and the #6261 stub-unsupported test expects the stub to record READ/REWRITE/UNLOCK (Part of #4443)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Joe Esquibel <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Joe Esquibel <[email protected]>
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