Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
feat(core): name recovery steps for project decisions [N34]
Corey Olson58be42f95edb
diff --git a/src/next-step-defaults.js b/src/next-step-defaults.jsindex 30035576..dbac9019 100644--- a/src/next-step-defaults.js+++ b/src/next-step-defaults.js@@ -1,5 +1,8 @@/** General CLI recovery text; operation-owned codes live in src/moves/ [P4,C7]. */export const DEFAULT_NEXT_STEPS = Object.freeze({+ "DECISIONS_NOT_AVAILABLE": "read each board's state from the local API, which carries its own person decisions",+ "PROJECT_REPO_AMBIGUOUS": "run pullboard decisions --as person and answer with the repo name it prints before the #",+ "PROJECT_REPO_UNKNOWN": "run pullboard decisions --as person to see the repos of this project, then answer repo#id","SHOUT_SPACES": "rewrite the shout with spaces between words, then send it again","DECISION_HANDOFF_BINDING": "use the exact versioned handoff, namespaced source decision and original option set","DECISION_HANDOFF_AUTH": "obtain authority for this exact question, answer or source query",diff --git a/src/project-decisions.js b/src/project-decisions.jsindex 045d29b3..cd01a830 100644--- a/src/project-decisions.js+++ b/src/project-decisions.js@@ -42,7 +42,7 @@ export function projectSiblings(root, config, projects = listApiProjects) {export function resolveSibling(repo, siblings) {const found = siblings.filter((entry) => entry.name === repo || basename(entry.root) === repo);if (found.length === 1) return found[0];- throw new Refused(found.length ? 'REPO_AMBIGUOUS' : 'NO_REPO',+ throw new Refused(found.length ? 'PROJECT_REPO_AMBIGUOUS' : 'PROJECT_REPO_UNKNOWN',`${found.length ? 'more than one' : 'no'} repo of this project is named ${repo}; run pullboard decisions --as person to see each repo's name`);}diff --git a/test/team.test.js b/test/team.test.jsindex 471288f6..4129699e 100644--- a/test/team.test.js+++ b/test/team.test.js@@ -936,5 +936,5 @@ test("one decision list across a project's repos [N34]", { timeout: 180_000 }, aassert.deepEqual(listed().decisions.map(({ repo }) => repo), ['alpha']);const unknown = box.run(box.repo, 'answer', 'nowhere#1', 'x', '--as', 'person');assert.notEqual(unknown.code, 0);- assert.match(unknown.err, /NO_REPO/);+ assert.match(unknown.err, /PROJECT_REPO_UNKNOWN/);});