forked from bchanot/claude
fix(init-project,commit-change,tour): allowed-tools +Agent+Skill; conflict grep covers all unmerged codes; report-only never commits
This commit is contained in:
@@ -32,7 +32,7 @@ undo than not committing.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
git rev-parse --abbrev-ref HEAD # "HEAD" = detached
|
git rev-parse --abbrev-ref HEAD # "HEAD" = detached
|
||||||
git status --porcelain=v1 | grep -c '^UU\|^AA\|^DD' # unmerged conflicts
|
git status --porcelain=v1 | grep -c '^\(UU\|AA\|DD\|AU\|UA\|DU\|UD\)' # ALL unmerged porcelain codes
|
||||||
git status --porcelain=v1 | wc -l # nothing pending?
|
git status --porcelain=v1 | wc -l # nothing pending?
|
||||||
git config user.email
|
git config user.email
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
name: init-project
|
name: init-project
|
||||||
description: 'Use when initializing a brand-new project from scratch — needs interview, design, scaffold, and TDD implementation. Multi-agent orchestrator: plugin-advisor + interviewer + analyzer + scaffolder with two validation gates. Triggers: "init project", "new project", "start project from scratch", "scaffold project", "init-project".'
|
description: 'Use when initializing a brand-new project from scratch — needs interview, design, scaffold, and TDD implementation. Multi-agent orchestrator: plugin-advisor + interviewer + analyzer + scaffolder with two validation gates. Triggers: "init project", "new project", "start project from scratch", "scaffold project", "init-project".'
|
||||||
argument-hint: <project idea or description>
|
argument-hint: <project idea or description>
|
||||||
allowed-tools: Read, Write, Edit, Bash, Grep, Glob
|
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Agent, Skill
|
||||||
---
|
---
|
||||||
|
|
||||||
# ORCHESTRATOR: INIT PROJECT
|
# ORCHESTRATOR: INIT PROJECT
|
||||||
|
|||||||
@@ -218,7 +218,11 @@ order:
|
|||||||
(`.claude/audits/.tour-semgrep*` and similar) — their content is
|
(`.claude/audits/.tour-semgrep*` and similar) — their content is
|
||||||
folded into TOUR.md. A tree left dirty here forces the NEXT tour
|
folded into TOUR.md. A tree left dirty here forces the NEXT tour
|
||||||
into report-only: the skill must not self-block.
|
into report-only: the skill must not self-block.
|
||||||
3. Commit the report as the run's final commit (`docs(tour): report`).
|
3. Commit the report as the run's final commit (`docs(tour): report`) —
|
||||||
|
EXCEPT in `--report-only` mode: no chore branch exists there, so the
|
||||||
|
commit would land on the user's current branch (possibly develop — the
|
||||||
|
red flag below forbids that). Report-only leaves TOUR.md uncommitted
|
||||||
|
and says so in the summary.
|
||||||
4. Confirm `git status --porcelain` is clean (runtime junk the sandbox
|
4. Confirm `git status --porcelain` is clean (runtime junk the sandbox
|
||||||
cannot delete, e.g. `__pycache__/`, becomes a report residual line).
|
cannot delete, e.g. `__pycache__/`, becomes a report residual line).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user