Repository navigation
feat(cli): infer setup and fold onboarding into start-work - #39
Merged
Merged
Conversation
mingchuno
force-pushed
the
user-frictions
branch
from
October 22, 2026 09:01
70e01c0 to
5db12ba
Compare
- init infers project, host, base branch, agent and validation from the repository and enables SDLC with local-operator approval - doctor prints a readable checklist (--json for skills), rejects placeholders, checks remote match, live host access, agent sign-in and validation commands, and names a fix for each failure - missing hosting tokens fall back to the gh or glab sign-in for local-operator projects; provider approval opts in with hosting.tokenFromCli - setup-agent-workflows becomes a start-work reference, so start-work is the only skill to install (ADR 0012) - README leads with start-work, run and monitor; help groups daily, setup, operator and skill commands Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mingchuno
force-pushed
the
user-frictions
branch
from
October 22, 2026 09:14
5db12ba to
42a9302
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 of 3 (stacked): zero-config onboarding. The aim is for
start-work,runandmonitorto be all a user has to remember.Summary
initinfers these from the repository:originremoteorigin/HEADcodexorcopilotis installedpackage.json(verify, elsetest), Cargo, Go or MakeIt writes
sdlc: { enabled: true, approvalSource: "local-operator" }. Anything it can't discover is printed as a placeholder.doctor:--jsongives the skill machine outputrepository(placeholder, or a mismatch with the git remote),hosting-access(one live API read of the repository),agent(sign-in found),validation(commands onPATH)Token fallback (D2): when
tokenEnvis unset, the CLI reads the token fromgh auth tokenorglab config get token.local-operator; projects that approve through GitHub/GitLab must opt in withhosting.tokenFromCli.tokenEnvin the CLI process only, so existing redaction and subprocess filtering apply. Core is unchanged apart from the schema field.One skill (D4):
setup-agent-workflowsbecomesstart-work/references/setup.md. Recorded in ADR 0012, which amends ADR 0010.Docs and help: the README leads with
start-work,runandmonitor.--helpgroups commands as Daily, Setup, Operator controls, and Used by the start-work skill.Evidence
initwrote"id": "example"and"repository": "OWNER/REPOSITORY", anddoctorpassed the configuration check anyway.tests/work-cli.test.ts:pnpm run verifypnpm verify: 392 passed, 2 failed, 3 skipped. Both failures came from the developer'sghkeyring sign-in leaking into the tests.scripts/test.mjsnow shadowsghandglab, and the affected files pass on rerun.Merge Danger
Door: two-way
Blast Radius: CLI
doctornow defaults to readable output, so anything scripting it must pass--json(the skill is updated).ghsign-in onlocal-operatorprojects.🤖 Generated with Claude Code