Skip to content

Oracle assumptions register (GnuCOBOL + models vs z/OS), det_port.py check, det-port skill - #4103

Merged
squid-protocol merged 1 commit into
mainfrom
docs/oracle-assumptions
Oct 2, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
docs/oracle-assumptions

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

  • docs/language_status/oracle_assumptions.md (Declared differences: equivalence except where a person approved a difference #4051): one register of every place our proof oracle may differ from IBM z/OS. The oracle is GnuCOBOL plus our CICS, Db2, LE and DISPLAY models. There are 30 entries across compiler, data, files, CICS, LE, Db2, the Java side and method. Each has a status (MATCHED / REFUSED / DIFFERS / ASSUMED), says whether a proven program reaches it, and says what would settle it.
  • New finding, Equivalence oracle runs IBM's default TRUNC(STD) as TRUNC(BIN) on both sides #4102. IBM's default TRUNC(STD) has been running as TRUNC(BIN) on both sides of every proof. GnuCOBOL -std=ibm doesn't truncate binary items; -fbinary-truncate gives STD's results (measured). CBSA's PROCESS cards ask for STD. The issue has the fix plan.
  • det_port.py check --work DIR: translates every case with the current code and with origin/main (in a throwaway worktree) and lists the ports that changed, which are the ones to re-prove. 34/34 unchanged on this branch, in about 2.5 minutes. Also adds run --all-cases, since --all-proven misses every case without a model-written port.
  • .claude/skills/det-port: the environment, the scenario-debugging recipe, and checklists for translator, runtime, harness, oracle and new-case changes. Linked from CLAUDE.md and the skills inventory in docs/ecosystem.md.

Tests

  • pr_gates.py --fast: 5/5 pass.
  • Full suite: 13,316 passed.
  • New: test_det_port_check.py.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ

- docs/language_status/oracle_assumptions.md: every known or suspected difference between our oracle (GnuCOBOL
  plus our CICS, Db2, LE and DISPLAY models) and IBM z/OS, with status (matched / refused / differs / assumed),
  whether a proven program reaches it, and what would settle it (#4051). Writing it found #4102: IBM's default
  TRUNC(STD) has run as TRUNC(BIN) on both sides of every proof.
- det_port.py check: every case translated with the current code and with a base (a git ref in a throwaway
  worktree, or an earlier work directory); lists the ports a change moves -- the ones to re-prove. run --all-cases.
- .claude/skills/det-port: environment, scenario debugging, and the checklists for translator, runtime, harness,
  oracle and case changes. CLAUDE.md and docs/ecosystem.md point at it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RZE6us7fUL6Hynk59rWLvZ
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 4dd6314 into main Oct 2, 2026
29 checks passed
@squid-protocol
squid-protocol deleted the docs/oracle-assumptions branch October 2, 2026 12:22
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.

1 participant