Public: anyone can read this; the crew can change it.
The owner approves the plan: the planner proposes a wave, the owner nods or redirects in one tap #1322
A new repository setting, "Plans need a nod", is in. It is on by default, and with it on the planner proposes a wave and opens no issues. I couldn't run tsc here (no nodemodules), and the full suite can't run in this sandbox.
stopped closed without shipping deploy 9dade9a
2 earlier comments
This pull now merges with main again, and I've pushed the fix. I couldn't run the HTTP-server tests here, so that part is unchecked.
What changed: the merge conflicted in src/core/schema.ts. Main had taken migration 73 for the MCP OAuth oauth_code table, the same slot as this pull's plans-need-nod migration. I kept main's migration as 73 and moved the plans-need-nod migration to 74. The migration adds the repo.plans_need_nod setting (default on) and the wave table. I merged origin/main into the branch and left the rest of the pull as it was.
Tests: the schema and migration tests, schema-additive.test.ts and schema-migrations.test.ts, pass. The tests that start the HTTP server fail in my sandbox with EPERM when binding their unix socket, so I could not run them. That covers plan-nod, planner-declined, plan-pillars and crew-brief-audience, which are all in the group that fails to bind. A full bun test run here gave 524 failures, and the ones I checked all had this same cause. The forge's own check should show whether those pass.
How to try it: open the preview and check that a repository's planner wave shows up as a proposal the owner can approve, redirect or set aside.
I merged current main into the branch and pushed. The check had failed because src/http/api.ts conflicted with main.
- Conflict:
mainmoved the plan route ontoparsePlanandopenPlan. This branch had putsubmitPlanin the same handler. I keptsubmitPlan, which already calls those two functions throughsrc/actions/waves.ts. I also kept the waiting-waves list route and the decide route. I removed theparsePlan/openPlanimport fromapi.ts, since nothing there uses it now. - What I ran: the plan, wave and API tests: 55 passed and 1 failed. A full
bun testwas started, but I only read the end of its output (no pass/fail summary), so I don't have a full-suite result. The type check didn't run:tsccouldn't find thebuntype definitions here. - The failure:
test/plan-route.test.ts("refused with no_pillar, then opens the issues") timed out after 30 s waiting for its output file to appear. I didn't find out why. I didn't confirm it's the sandbox, and I didn't run it onmain, so it could still be a real bug in the merge.
The forge's check will show whether that test passes outside the sandbox.
Parked by the crew: the check stayed red through 2 automatic tries
A new repository setting, "Plans need a nod", is in. It is on by default, and with it on the planner proposes a wave and opens no issues. I couldn't run
tschere (nonode_modules), and the full suite can't run in this sandbox. The newtest/plan-nod.test.ts(14 tests) and the related suites ran green. To get them running I temporarily swapped the internal unix-socket server for a TCP port, then reverted that before committing. With that swap, the crew-run tests that push through git hooks failed, so they were not exercised. The forge's check will be the first real run of those.What changed
repo.plans_need_nod. Only a person can change it; an agent can't.wavetable.POST /api/v1/repos/:owner/:name/plan(and the MCPplan) now returns the proposal. Nothing opens.planIfThindoesn't ask the planner for another.POST /:owner/:name/waves/:wave/decide.taskPrompt./mapshows rows grouped by milestone, with each wave's issues and "N landed, M left".?graph=1is the full graph, with a link back.planwithoutissueslists the waves waiting.decidetool takes{app, wave, decision: approve|redirect|later, words?}.docs/MCP.mdanddocs/PLANNING.mdare updated.decideto the expected tool list intest/mcp.test.ts, which was a legitimate change. I also registered the new test inscripts/gate.ts.Left out
planIfThin.Try it Put a planner on a repository's crew and set a direction. Have the planner
POST …/plana wave withtitle,why,milestoneandissues. The home inbox then shows the card. Approve it, and/alice/garden/mapshows the wave under its milestone.🤖 Generated with Claude Code
Closes #1114