Loading...
Loading...
Autonomous-safe architecture deepening loop. Performs ONE mechanical, behavior-preserving deepening per invocation, test-first on an isolated wt branch, and never merges. Use when driven by /goal or /loop to repeatedly improve codebase architecture without human design decisions. Design-heavy candidates are written up as design docs and skipped, not implemented. The non-interactive sibling of /improve-codebase-architecture.
npx skill4agent add lancetw/skills improve-loop/improve-codebase-architecture/goal/loop/grilling/codebase-designmergepushwtgit rev-parse --abbrev-ref HEADmaingit commit -agit diff --cached --name-onlyExplore/improve-codebase-architectureExploreopen/goal/scheduleIMPROVE-LOOP RESULT/improve-codebase-architectureHTML-REPORT.md<article>divwt switch --create refactor/<slug>docs/architecture/<slug>.md/goalIMPROVE-LOOP RESULT
- did: <slug> on branch refactor/<slug> | design-doc docs/architecture/<slug>.md | none
- suite: <pass>/<total> green | reverted (could not reach green)
- remaining auto-safe (A) candidates: <comma list, or "none">/goal/goalremaining auto-safe (A) candidates: none/goal Repeatedly run the improve-loop skill. Each cycle implement the single highest-value
auto-safe deepening test-first on its own wt branch and PRINT the IMPROVE-LOOP RESULT block.
Never merge, push, or open a PR; design-heavy candidates get a doc and are skipped. Revert and
stop if a cycle can't reach green. Met when a cycle prints "remaining auto-safe (A) candidates:
none", or after 5 cycles./schedule weekly claude -p "/goal <the condition above>"codebase-designtddworktrunkwtgrilling