Repository navigation
fix: the host-contract shim allows only what the gate itself runs - #23
Merged
fatherlinux merged 1 commit intoNov 5, 2026
Merged
Conversation
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.
fatherlinux
deleted the
fix/host-contract-allows-only-what-the-gate-uses
branch
November 5, 2026 02:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
0.4.0 added
tailto the PATH shim intests/test_host_contract.sh.bin/sdlcdoes not runtail—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/sdlcgrowing 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. Withtaillisted, a futurebin/sdlccould reach for it and the test would still pass.mkdirstays —state_initgenuinely 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