Skip to content

fix: the host-contract shim allows only what the gate itself runs - #23

Merged
fatherlinux merged 1 commit into
mainfrom
fix/host-contract-allows-only-what-the-gate-uses
Nov 5, 2026
Merged

fatherlinux merged 1 commit into
mainfrom
fix/host-contract-allows-only-what-the-gate-uses

Conversation

@fatherlinux

Copy link
Copy Markdown
Member

0.4.0 added tail to the PATH shim in tests/test_host_contract.sh. bin/sdlc does not run tail — log_since, a helper in that same file, does, and helpers run with the real PATH rather than the shim's. So the entry bought nothing.

It is not free. Every name in that list is one tool this test stops checking for, and checking for them is its whole job: nothing upstream notices bin/sdlc growing a dependency on a program a developer's machine may not have, which is why this file exists rather than leaning on the validator's stated gap. With tail listed, a future bin/sdlc could reach for it and the test would still pass.

mkdir stays — state_init genuinely runs it.

No version bump: a test-only change, and the shipped gate is unaffected. 54 host-contract checks still pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01R7Y1jfBgAyvK9xarny6EHx

0.4.0 added `tail` to this test's PATH shim. bin/sdlc does not run `tail`.
`log_since`, a helper in this same file, does -- and that runs with the real
PATH, not the shim's, so the entry bought nothing.

It is not free. Every name in that list is one tool this test stops checking
for, and checking for them is its whole job: nothing upstream notices
bin/sdlc growing a dependency on a program a developer's machine may not have,
which is why this file exists rather than leaning on the validator's gap. With
`tail` listed, a future bin/sdlc could reach for it and the test would pass.

`mkdir` stays: `state_init` genuinely runs it.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gatehouse found no issues.

Full review.

@fatherlinux
fatherlinux merged commit f2646fb into main Nov 5, 2026
10 checks passed
@fatherlinux
fatherlinux deleted the fix/host-contract-allows-only-what-the-gate-uses branch November 5, 2026 02:28
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