Problem
basectl workspace onboarding currently reports what is missing — repos not cloned, projects not set up, health issues found. But it does not tell the user what to do first or in what order. A new teammate or returning contributor faces a wall of status output rather than a guided path to a ready workspace.
The current output is a diagnostic inventory. What users actually need is a prescription: "run these commands, in this order, and you will reach a ready workspace."
Proposed solution
Add a "next actions" section to workspace onboarding output that:
- Determines the correct ordered remediation sequence based on what's missing (clone missing repos → run
basectl setup for each unconfigured project → run basectl trust for new manifests → run basectl check to verify).
- Emits those steps as a human-readable numbered list with copyable shell commands.
- Exposes the same steps in
--format json as a next_actions array, consumable by workspace agent-brief or onboarding automation.
Example human-readable output
Workspace onboarding — next actions (3 steps to ready):
1. Clone missing repos:
basectl workspace pull
2. Set up unconfigured projects:
basectl setup api-service
basectl setup auth-service
3. Verify workspace health:
basectl workspace check
Example JSON (next_actions field)
{
"next_actions": [
{ "order": 1, "description": "Clone missing repos", "commands": ["basectl workspace pull"] },
{ "order": 2, "description": "Set up unconfigured projects", "commands": ["basectl setup api-service", "basectl setup auth-service"] },
{ "order": 3, "description": "Verify workspace health", "commands": ["basectl workspace check"] }
]
}
Acceptance criteria
Problem
basectl workspace onboardingcurrently reports what is missing — repos not cloned, projects not set up, health issues found. But it does not tell the user what to do first or in what order. A new teammate or returning contributor faces a wall of status output rather than a guided path to a ready workspace.The current output is a diagnostic inventory. What users actually need is a prescription: "run these commands, in this order, and you will reach a ready workspace."
Proposed solution
Add a "next actions" section to
workspace onboardingoutput that:basectl setupfor each unconfigured project → runbasectl trustfor new manifests → runbasectl checkto verify).--format jsonas anext_actionsarray, consumable byworkspace agent-briefor onboarding automation.Example human-readable output
Example JSON (next_actions field)
{ "next_actions": [ { "order": 1, "description": "Clone missing repos", "commands": ["basectl workspace pull"] }, { "order": 2, "description": "Set up unconfigured projects", "commands": ["basectl setup api-service", "basectl setup auth-service"] }, { "order": 3, "description": "Verify workspace health", "commands": ["basectl workspace check"] } ] }Acceptance criteria
workspace onboardinghuman output includes a "next actions" section with ordered, executable shell commands.workspace onboarding --format jsonincludes anext_actionsarray withorder,description, andcommandsfields.next_actionsarray.workspace agent-briefincorporatesnext_actions(or an equivalent derived field) for agent consumers.