mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-11 21:57:14 +03:00
Let routing's general-work branch honor scoped-refinement directives
Setup step 1 tells the agent to follow context.mjs's directives, and the no-PRODUCT.md-with-existing-code directive explicitly permits a narrow refinement to proceed on the incumbent implementation and offer init afterward. Routing's "Otherwise" branch said missing PRODUCT.md routes through init, with no carve-out, so the two instructions disagreed on the same request and the agent could block work context.mjs had cleared. Rule 3 now splits the way the directive does: a new surface or replacement world goes through init then new-work, a narrow refinement proceeds and offers init afterward. Explicit and implied commands were never affected; they route one rule earlier, which is what skill-behavior scenario 10 already covers. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ Routing: <!-- rule:skill-routing -->
|
||||
|
||||
- **No argument:** read [routing.md](reference/routing.md) and present its context-aware menu; never auto-run a command.
|
||||
- **Explicit or clearly implied command:** load its reference (native variant on native platforms) and follow it. Ask once if two commands fit.
|
||||
- **Otherwise:** treat the request as general design work. Missing PRODUCT.md routes through init; new surfaces and replacement worlds use new-work.
|
||||
- **Otherwise:** treat the request as general design work. Missing PRODUCT.md routes a new surface or replacement world through init, then new-work; a narrow refinement of existing code proceeds on the incumbent implementation as context.mjs directs, offering init afterward rather than blocking on it.
|
||||
- `teach` aliases `init`. `craft` is a deprecated alias for ordinary new-work and adds nothing. `shape` owns task discovery, then enters new-work only for visual-world and surface-concept decisions.
|
||||
|
||||
After init writes PRODUCT.md, resume without rerunning `context.mjs`; init loads the native platform reference itself when the platform it recorded is `ios`, `android`, or `adaptive`.
|
||||
|
||||
Reference in New Issue
Block a user