Skip to content

Project build: a declared command may require paths of the tree - #59

Merged
daniel-rossier merged 1 commit into
mainfrom
build-requires-paths
Nov 29, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
build-requires-paths

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

OpenCN's declared build starts with cd linux/linux (the attached kernel), which a git worktree does not have. Run after every change, it failed on the missing directory and the turn was told its edit broke the build; a SPEAR session then spent its rounds trying to download a kernel.

projects.json may now list build_requires. When one is absent, the project's commands are not run and nothing is judged by them: the turn stays unverified unless it checked its change itself. Test: test_a_tree_without_what_the_build_requires_is_not_judged.

OpenCN's declared build starts with cd linux/linux, the attached kernel,
which a git worktree does not have. Run there after every change, it
failed on the missing directory, and the turn was told its edit broke
the build: it spent the rest of its rounds trying to download a kernel.

projects.json may now list build_requires. When one is absent, the
project's commands are not run and nothing is judged by them; the turn
stays unverified unless it checked its change itself.
@daniel-rossier
daniel-rossier merged commit e3f66ba into main Nov 29, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the build-requires-paths branch November 29, 2026 18:48
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