Skip to content

Engine lays out the five shipped system members (Part of #5649) - #7713

Merged
squid-shepherd[bot] merged 5 commits into
mainfrom
churn/5649-20261104T1622Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 5 commits into
mainfrom
churn/5649-20261104T1622Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5649.

What

The engine now lays out the five system members the translator ships (DFHAID, DFHBMSCA, DFHEIBLK, SQLCA, SQLDA). core/copy_libraries.system_member_text supplies the shipped text, _attach_stand_ins reads it as flagged stand-in#<MEMBER> files, and EngineRecords / EngineLayouts.rel() index them. The five records are now consumed, not own, on the burned CICS+SQL programs; check mode still compares against the translator's own arithmetic at both POINTER widths. stand_in_registers() (the W1/L4 register) is unchanged.

Class / Sibling gaps

Class: record layouts the translator computes alone. Closed here: the five system members.
Sibling gaps: a bare COPY that opens a section with no data entry above it is not in data_items, so no stand-in is attached and the translator keeps its layout. Still own: generated BMS symbolic maps, GG-RETURN-CODE, index items.

Plan deviation

The plan missed that EngineLayouts.rel() returned None for files in the shipped dir, so engine_layout.py needed a change (still 5 hand-written code/doc files). test_det_system_member_burned.py also had to flip its OWN expectation (now empty): a necessary follow-on, a sixth hand-written file.

File-cap exception: the engine_layout.py change and the flipped OWN pin in test_det_system_member_burned.py are atomic with the change; leaving either out fails existing tests.

Remaining slices

  1. After the next release tag: delete the translator's own layout computation and check mode (det/layout.py, det/engine_layout.py, det/program.py).
  2. Records still own: decide engine-side or translator-defined after measuring with det_survey.

Gates

  • pr_gates --fast: all pass after regenerating docs_read_by_tests.txt
  • pr_gates --ratchets: 9/9 (fact-crosscheck, ground-truth, estate, ports, time ...); the offsets ledger is untouched
  • audit_check: clear
  • det_port.py check vs origin/main: 269/269 ports byte-identical, so no re-proof is needed
  • Golden: not re-blessed (record_data is untouched; the crucible leg was not run)

Facts checked: system members absent from the engine before this (stand_in_text("DFHAID") is None still holds); SQLDA SQLVAR 44 at width 4 vs 52 at width 8 (check mode raises); COCRDUPC, COUSR01C, COTRN02C, UPDACC lay out with own == [] in both modes; the estate's own SQLCA.cpy wins over the shipped one.

Lessons for agents

  • A bare COPY with no data entry above it in its section never reaches copy_members, so the engine attaches no stand-in.
  • EngineLayouts.rel() returned None for shipped dirs; any new shipped-text source needs an index entry there.
  • Duck-typed file stubs in test_fact_crosscheck.py lack newer attributes: use getattr.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits November 4, 2026 11:30
DFHAID, DFHBMSCA, DFHEIBLK, SQLCA and SQLDA are read by the engine from the
shipped text as flagged stand-in#<MEMBER> files, so the translator consumes
the engine's layout of every record on the burned CICS+SQL programs.

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 Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 16:50
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 16:52
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot disabled auto-merge November 4, 2026 17:11
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

PR #7713 @ b4efbbd: 2 failed check(s)

== full-suite (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41871516679/job/126731808425
repro: python -m pytest -q tests
errors:
##[error]Process completed with exit code 1.
log tail:
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {cf522d12-4f73-47e5-96dc-7a3db8801cc1}
Region: westus2
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
24.04.5
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-24.04
Version: 20261025.353.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20261025.353/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20261025.353
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: full-suite
##[group]Run echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
echo "full-suite parts: $PARTS (tested-tree skip: $SKIP, suite plan: $PLAN)"
# #4935: "skipped" is a pass only when the gate proved this tree green on the PR; otherwise it is a failure.
# #6278: or when the suite plan proved the PR changes only prose no test or engine code opens (mode skip).
test "$PARTS" = "success" || { test "$PARTS" = "skipped" && { test "$SKIP" = "true" || test "$PLAN" = "skip"; }; }
shell: /usr/bin/bash -e {0}
env:
PARTS: failure
SKIP:
PLAN: select
##[endgroup]
full-suite parts: failure (tested-tree skip: , suite plan: select)
##[error]Process completed with exit code 1.
Cleaning up orphan processes

== full-suite part 1/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41871516679/job/126724062432
repro: python -m pytest -q tests/tools/test_evidence_report.py::test_the_inputs_cover_what_the_translator_imports
failing tests: tests/tools/test_evidence_report.py::test_the_inputs_cover_what_the_translator_imports
errors:
fail-on-cache-miss: false
[--ai-guardrails] [--fail-on-secrets]
[--fail-on-malware]
--fail-on-secrets CI/CD Gate: Fail build if hardcoded secrets are
--fail-on-malware CI/CD Gate: Fail build if ML threat inference flags
CI/CD Gate: Fail build if any file exceeds this risk
CI/CD Gate: fail the build if any file's structural
E AssertionError: gitgalaxy.core.copy_libraries is read by the translator but not fingerprinted
tests/tools/test_evidence_report.py:757: AssertionError
FAILED tests/tools/test_evidence_report.py::test_the_inputs_cover_what_the_translator_imports - AssertionError: gitgalaxy.core.copy_libraries is read by the translator but not fingerprinted
##[error]Process completed with exit code 1.
log tail:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 2 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 846703
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is d93732822339a91da8e3b07bdeaf2cff27627418633fcba89186af604524689e
Finalizing artifact upload
Artifact test-times-part-1 successfully finalized. Artifact ID 13345583304
Artifact test-times-part-1 has been successfully uploaded! Final size is 846703 bytes. Artifact ID is 13345583304
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41871516679/artifacts/13345583304
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/7767b395-f2ec-4076-9db8-6c7c72807aa9' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 4, 2026
squid-protocol and others added 2 commits November 4, 2026 12:13
det/engine_layout now reads the system-member text through it.

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

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (852cd29) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 4, 2026 17:25
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 4, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 4, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 17:30
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 17:33
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 4, 2026
@squid-shepherd
squid-shepherd Bot merged commit 5539664 into main Nov 4, 2026
125 of 169 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/5649-20261104T1622Z branch November 4, 2026 19:02
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