Dogfood 2026-09-05: npx tickets resolves locally, CLI tests drop the daemon's AGENT_ID, two SKILL.md phrases - #1759
Merged
Merged
Conversation
…e daemon's AGENT_ID, two SKILL.md phrases The root depends on both skill packages, so `npx tickets` and `npx branches` resolve to the checkout's own bins instead of falling through to the registry. cli.test.ts drops AGENT_ID at load; the daemon sets it for every agent. SKILL.md says `list` prints one JSON array and that `--ticket` takes the link's label. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LnZR6mRrKS1fB5GoJrkSGX
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.
Three fixes from the 2026-09-05 dogfood on the real daemon.
npx ticketsran a stranger's package. The tickets SKILL.md says the command is a dependency of the repository. This repository broke that rule: onlypackages/frameworkdepended on the skills, so the root had noticketsorbranchesbin. In an agent's checkout,npx ticketsfell through to the npm registry and rantickets@0.2.2, a JIRA lookup tool, without failing. The root now depends on both skill packages.npx ticketsandnpx branchesresolve to the checkout's own bins. A checkout without a build fails loudly on the missingdist/instead of running someone else's tool. The daemon's PATH, which carries the main checkout's built bins, is unchanged.The CLI tests inherited the daemon's
AGENT_ID.cli.test.tscalls the CLI in-process, and the CLI readsAGENT_IDfrom the real environment. The daemon sets it for every agent it starts, sopnpm testin an agent run failed three tests with the agent's id as holder. The test file now drops the variable at load. The one test that needs it still sets it on purpose. Verified by removing the line and running withAGENT_IDset: 3 of 6 fail; with it, 58 of 58 pass.Two SKILL.md phrases that the agent guessed wrong.
listprints one JSON array, not an object holding one. With--ticket,<text>becomes the label of the link to the ticket; the agent passed a link and got a double-wrapped entry. Both phrases say what the code does today. The CLI usage line forlistsays the same.🤖 curated · Fable 5.1, effort high