Skip to content

assess: regenerate CardDemo inventory fixture, sequence-number guard, offline guard in spawn workers (Part of #5235) - #5435

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5235-20261018T0815Z
Oct 18, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5235-20261018T0815Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5235 (slice 1; the SOAPFAULT options item remains).

Class

Readiness scanner (assess) input fidelity and portability: stale inventory fixtures carrying sequence-area keys, and the no-network guard not reaching spawn-start scan workers.

Member Status
Item 1: CardDemo sequence numbers in the inventory code fixed in #5106 (program_text()); fixture was stale, regenerated. Only CardDemo changed; the other five estate fixtures are unchanged
Fixture-wide guard (any estate, key matching \b\d{6,8}\b) new test in test_feature_inventory.py
Item 3: guard in spawn-start workers _init_worker(offline=...), flag from GITGALAXY_ASSESS_OFFLINE set by guarded_scan
Item 2: SOAPFAULT CREATE options deferred (spec entry, IBM citations, register, spec-status regen exceed the 5-file limit)

Changes

  • galaxyscope.py: _init_worker gains an offline arg; the pool's initargs pass the env flag. Default off, so no scan output moves (golden check: both legs PASS, no re-bless).
  • offline.py: OFFLINE_ENV, set in the scan child; stale "follow-up" docstring updated.
  • test_assess.py: spawn-context worker test (flag on: refused; off: allowed), env test; the two tests that relied on the stale raw keys now plant them.
  • CardDemo fixture regenerated (feature_inventory.py --all-burned --write); CICS command total unchanged at 240.

Gates

pr_gates --fast 6/6, --ratchets 8/8, crucible_check both legs PASS, tree-wide guards 176 passed, test_assess + test_feature_inventory pass (nightly ones skipped). Spawn test is Linux only; macOS / Windows not run locally.

Lessons for agents

  • golden-lock.sh run in a background shell lost LANGUAGE_CRUCIBLE_PATH: pass it explicitly (.../gitgalaxy/language-crucible).

🤖 Generated with Claude Code

…ber keys, install the offline guard in spawn-start workers (Part of #5235)

- CardDemo feature_inventory fixture was stale (held `02750012 029200`-style keys that program_text() since #5106 no longer
  produces); regenerated. A new test fails if any committed estate fixture holds a 6-8 digit key.
- The two assess tests that relied on the stale keys now plant them.
- _init_worker takes an `offline` flag (from GITGALAXY_ASSESS_OFFLINE, set by guarded_scan) and installs the guard, so a
  spawn-start worker (macOS / Windows) is covered as well as a forked one.

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 18, 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 18, 2026 08:33
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5435 @ 956c98e: 1 failed check(s)

== Small audits (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39111715292/job/117629078421
repro: no local equivalent; read the check page
errors:
##[error]Process completed with exit code 1.
log tail:
{
echo "## ⚠️ This PR modifies a golden-crucible fixture"
echo ""
echo "Files changed ($(echo "$CHANGED" | wc -l) golden-master part(s)):"
echo '' echo "$CHANGED" | head -n 100 echo ''
echo ""
echo "These files should only ever change via `tests/tools/update_golden_master.py`,"
echo "and the PR description should explain why GitGalaxy's output was expected to"
echo "change. Reviewers: confirm the description covers this before approving."
echo "For the semantic diff: `python tests/tools/bless_scope.py --from-head tests/golden_master_audit`."
} >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
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
BASE_REF: main
##[endgroup]
No golden master fixture changes in this PR.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/28ec8042-83ac-4211-a8bb-f11488f5d73a' 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-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 18, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (5352f2b) 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).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 18, 2026
def test_no_committed_inventory_key_is_a_sequence_number(): # #5235 (item 1 of the #5106 class)
"""A key carrying a 6-8 digit run is a card's sequence area leaking into a feature name (`ASKTIME 03430012`):
every committed estate fixture, not one, is free of it."""
import re
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 08:41
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 7e58855 into main Oct 18, 2026
48 checks passed
@squid-protocol
squid-protocol deleted the churn/5235-20261018T0815Z branch October 18, 2026 09:20
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.

2 participants