AGENTS, docs, README, tools: mount grants read-only and explain new-app builds - #8
Merged
Merged
Conversation
…pp builds Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
make runlet apps write into fixtures/, while the script's header, AGENTS.md and docs/05-running.md all say the mounts are read-only. A probe app that writes into its granted path now fails with a permission error and leaves the fixtures untouched.APP=takes the folder name.sh tools/check.sh, as the Makefile and CI do, since none of the scripts under tools/ is executable. It also says a new Rust app commits its own Cargo.lock, since the build runs with --locked, and that one plaincargo buildwrites it.sh tools/run.sh path/to/app.wasm fixtures, and builds with the wasm-opt feature flags in tools/build.sh.ark help agentsfirst.Agents writing an app from an empty directory mostly built it outside a checkout and had to dig the wasm-opt flags out of tools/build.sh. One lost a build to the missing lock file, one tried
tools/check.shas written and found it not executable, and one noticed the mounts were writable.Every Rust and Go app still builds, runs against each fixture root and compares equal across languages through tools/check.sh. The C and Python apps were not run here, for lack of wasi-sdk. tools/build.sh still only builds apps inside apps/.