Skip to content

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.

fix(api): give settings refusals explicit recovery steps [O5,O6]

Corey Olson9905f594f689
diff --git a/src/next-steps.js b/src/next-steps.js
index dca2c6b7..21f28bb3 100644
--- a/src/next-steps.js
+++ b/src/next-steps.js
@@ -160,6 +160,7 @@ export const NEXT_STEPS = Object.freeze({
BAD_CHECK: 'ask your coordinator to set the check: pullboard edit <id> --check "<command>"',
BAD_CHECK_BASELINE: 'the coordinator sets the check again: pullboard edit <id> --check "<command>"',
CHECK_MASKS_EXIT: 'set the check to run its proof alone, or capture the output first and test it, then retry: pullboard edit <id> --check "<command>"',
+ BAD_SETTINGS: 'restore the named setting to its documented type in its source file, then retry GET /api/v1/settings',
BAD_CONFIG: 'fix pullboard.json as the message says, then commit it: git commit -m "chore: fix pullboard config" pullboard.json',
BAD_CURSOR: 'pass a nonnegative integer from the last response you received',
BAD_DECISION: 'choose accept or reject with a supported reason: pullboard verify <id> reject --reason TEST_FAILURE --note "<what failed>"',
@@ -387,6 +388,8 @@ export const NEXT_STEPS = Object.freeze({
NO_CHECK: 'run the project gate: pullboard gate',
NO_COMMIT: 'commit your work, or name a commit that exists: git log --oneline',
NO_CONFIG: 'run pullboard init in the main checkout and commit pullboard.json',
+ READ_ONLY: 'read settings with GET /api/v1/settings; use pullboard settings for supported machine-setting changes',
+ SETTINGS_NOT_AVAILABLE: 'use the authenticated local API address printed by pullboard serve to read machine and repository settings',
NO_ENDPOINT: 'use a path under /api/v1/boards',
NO_EVIDENCE: 'cite the row id in a test name, or build it first',
NO_FACT: 'name a fact id from pullboard show <id> --json',