Skip to content

docs(agents): skip the nsl targets of make ci in a pocketd session - #115

Merged
bketelsen merged 1 commit into
mainfrom
docs/nsl-in-pocketd-sessions
Nov 23, 2026
Merged

bketelsen merged 1 commit into
mainfrom
docs/nsl-in-pocketd-sessions

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

Adds 1 rule to the Gates section of AGENTS.md: a pocketd agent session cannot run nsl, so an agent there runs make ci without 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-check and make shell-check run through IN_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:

  • the Makefile has no variable that skips the nsl targets, so an agent in such a session runs the others by name: make verify race cross;
  • it never sets IN_NSL='sh -c' there, since that runs pnpm and node on the host;
  • its report names each skipped target (client-check, ui-check, shell-check), which then run only in CI;
  • make mcp-e2e cannot 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 verify green (host), internal/repocheck and internal/workflowcheck included
  • make race cross green: with make verify, the command the new rule names
  • make client-check, make ui-check, make shell-check: not run, no change under client/, ui/ or shell/; CI runs them

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.
@github-actions github-actions Bot added the level:L3 Skim label Nov 22, 2026
@bketelsen
bketelsen merged commit 6217d07 into main Nov 23, 2026
9 checks passed
@bketelsen
bketelsen deleted the docs/nsl-in-pocketd-sessions branch November 23, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant