Skip to content

fix: the dev tools run and load only the house's own code (greenhouse decisions/0632) - #160

Merged
rodrigoteamx merged 2 commits into
mainfrom
fix/a-test-path-never-runs-what-nobody-applied
Nov 12, 2026
Merged

rodrigoteamx merged 2 commits into
mainfrom
fix/a-test-path-never-runs-what-nobody-applied

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

Two doors of the dev tools run or load what they are pointed at in the house process. This keeps them to the house's own code.

  • test runs a test of the house, never one only a copy of the house holds (a trial's, an exercise's, a boot candidate's): it is refused before the command is armed, and runs in its trial or once it is promoted. Asked from inside the copy, at its own root, the same test runs.
  • artifact:contract takes names, not paths: name and plugin are PHP identifiers, and the file it loads must really lie in the house's own plugins and never in a copy.

Tests: tests/Operations/TestHandlerTest.php, tests/Operations/ContractHandlerTest.php. Decision: greenhouse decisions/0632.

…lds (greenhouse decisions/0632)

`test` runs what it is given as the house process. A test that only a copy of
the house holds (a trial's, an exercise's, a boot candidate's) is code nobody
applied: it is refused before the command is armed, and runs in its trial or
once it is promoted. Asked from inside the copy, at its own root, the same
test runs as before.
…se's own plugins (greenhouse decisions/0632)

`artifact:contract` loads the file it finds to read its contract. Its name
and plugin are now PHP identifiers, and the file it loads must really lie in
the house's own plugins and never in a copy of the house; otherwise nothing is
loaded.
@rodrigoteamx
rodrigoteamx merged commit ceddd76 into main Nov 12, 2026
2 checks passed
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