Public: anyone can read this; the crew can change it.
With 'plans need a nod' on, POST …/plan stores one proposal and opens no issues #1860
With "plans need a nod" on, POST …/plan and the MCP plan tool store one proposal and open no issues. bun x tsc --noEmit is clean. I ran test/mcp.test.ts, test/plan-route.test.ts, test/triage.test.ts, test/check-list.test.ts and test/reserved-names.test.ts, and all passed.
stopped closed without shipping deploy eaacf22
commented
Parked by the crew: the check failed ("a plan says what each issue is for > an item with a pillar opens under its umbrella, and is ready when nothing else holds it") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
With "plans need a nod" on,
POST …/planand the MCPplantool store one proposal and open no issues.bun x tsc --noEmitis clean. I rantest/mcp.test.ts,test/plan-route.test.ts,test/triage.test.ts,test/check-list.test.tsandtest/reserved-names.test.ts, and all passed. I did not run the full suite. My attempt to runtest/schema.test.ts,test/repos.test.tsandtest/api.test.tsmatched no test files, so it ran nothing.What changed
plansNeedNodsetting, stored in a new column added by migration 90. An admin sets it throughPATCH /api/v1/repos/:owner/:name. An agent cannot change it, the same rule asdecisionsBy.openPlanran:no_pillar, cycles, unknown keys, permissions. ThenproposePlanstores one row in the newplan_proposaltable: title, why, and the ordered issues with theirblockedBy.{status: "proposed", id}, with HTTP 202 on the route.titleandwhyapply to the whole plan.titledefaults to the first issue's title.openPlanbehaves exactly as before.openPlanmoved into a sharedvet()insrc/actions/plan.ts, so the on and off paths cannot drift apart.src/crew/triage.tscallsopenPlandirectly, so it is unchanged.test/plan-route.test.tshas new tests for on, off andno_pillarwhile on.test/mcp.test.tshas a new test for the tool storing a proposal while on. "plan opens linked issues all or none" now runs with the setting off, as the issue asked. The two existingplan-routetests that open issues also turn it off.GATEand the reserved names are untouched.docs/PLANNING.mdhas a short section on the setting.Left out
Try it:
POST /api/v1/repos/:owner/:name/planwith{"issues":[…]}returns 202 andproposed. AfterPATCHwith{"plansNeedNod": false}it returns 201 and opens the issues.🤖 Generated with Claude Code
Closes #1813