Repository navigation
docs(agents): skip the nsl targets of make ci in a pocketd session - #115
Merged
Merged
Conversation
pocketd's sandbox hides the user systemd bus that nsl needs (frostyard/pocketgo#96), so an agent there runs make verify race cross, names client-check, ui-check and shell-check as skipped, and leaves them to CI.
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.
Summary
Adds 1 rule to the Gates section of
AGENTS.md: a pocketd agent session cannot runnsl, so an agent there runsmake ciwithout its nsl targets and says so in its report.pocketd (frostyard/pocketgo) runs every command of an agent's session in a sandbox that hides
/run/user, and with it the user systemd bus that nsl drives its machines through (pocketgo's ADR-0012).make client-check,make ui-checkandmake shell-checkrun throughIN_NSL, so they stop there. The owner chose to keep the sandbox as it is and leave these targets CI-only (option 1 of frostyard/pocketgo#96).The rule says:
make verify race cross;IN_NSL='sh -c'there, since that runs pnpm and node on the host;client-check,ui-check,shell-check), which then run only in CI;make mcp-e2ecannot run there either, and no CI job runs it, so a change that needs it says it is still owed.No Makefile, workflow or test changes.
Refs frostyard/pocketgo#96
Risk tier
Risk tier: 1 — docs only: 1 bullet in
AGENTS.md, which matches no path in.github/risk-paths.json.Verification
make verifygreen (host),internal/repocheckandinternal/workflowcheckincludedmake race crossgreen: withmake verify, the command the new rule namesmake client-check,make ui-check,make shell-check: not run, no change underclient/,ui/orshell/; CI runs them