Skip to content

guidestar: remove orphaned README execution-trigger scanner (Part of #513) - #5438

Merged
squid-protocol merged 1 commit into
mainfrom
churn/513-20261018T0836Z
Oct 18, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/513-20261018T0836Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #513. Takes the "remove" option from the issue; the issue stays open for the owner's wire-vs-remove call.

What

  • Delete GuideStarLens.README_TARGET_HEADERS and _extract_execution_triggers (never called outside their own isolation test).
  • Delete the EXEC_PREFIX_MAP config key (GUIDESTAR_CONFIG, GUIDESTAR_CONFIG_SPEC); its only reader was the removed method.
  • Replace the isolation test with test_readme_command_examples_mint_no_locks.

Why remove, not wire

Locks are keyed by basename, so one README line like python build.py would lock every build.py in the repo at 0.85, and ./foo adds unknown locks that can override language detection. That changes scan output and goldens, and no burned estate needs it.

Evidence

  • guidestar and config tests pass; audit_check.py (ruff, format, mypy, dead-key, ast-accuracy) clean.
  • Golden: crucible_check.py not run here (language-crucible sibling checkout absent on this box). The removed code was unreachable from scan_project_config, so no output can change; CI crucible-audit should show zero diff.

Sibling gaps

No burned-estate program needs these: _parse_makefile also mints unknown basename locks from bare target names; _calculate_documentation_coverage never reads README content. A user YAML override of EXEC_PREFIX_MAP is now an unknown key.

Cross-repo

None.

🤖 Generated with Claude Code

… of #513)

README_TARGET_HEADERS and _extract_execution_triggers were never called, and
EXEC_PREFIX_MAP was read only by that method. Wiring it in would mint
basename-keyed intent locks from README prose, re-labelling every same-named
file in the repo, so the dead code and its config key are removed. A new test
pins that README command examples mint no locks.

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.

@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 f638a34 into main Oct 18, 2026
69 checks passed
@squid-protocol
squid-protocol deleted the churn/513-20261018T0836Z branch October 18, 2026 09:22
squid-protocol added a commit that referenced this pull request Oct 24, 2026
…Part of #513) (#6358)

The key was removed from the real config with the README execution-trigger scanner (#5438); this mock still carried it.

Co-authored-by: Claude Sonnet 5.5 <[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