fix(impeccable): global-scope install with agents, pin fallback, output-read failure check
make plugin never installed impeccable. The 3.2.0 pin had rotted upstream
(the CLI fetches its skill dist at install time; that release's zip is
gone), the --scope=project staging moved the skill dir alone and dropped
the 4 impeccable-* subagents, and /impeccable init was never announced.
Step 8d now installs at --scope=global straight through the
~/.claude/{skills,agents} symlinks into the repo (both paths gitignored),
guards on those symlinks existing, keeps a profile-parked copy parked,
falls back to @latest on a pin failure with a bump-the-lock warning, and
prints the per-project init hint. update-all.sh mirrors the shape.
Found while probing: with a copy already installed a rotted pin exits 0
("Could not check for skill updates ... left unchanged"), byte-identical
on disk to an up-to-date rerun, so imp_install reads the installer output
instead of trusting the exit code. Harness 4/4 in a sandbox HOME with the
real installer.
plugins.lock.json: impeccable 3.2.0 -> 4.1.0 (CLI only). link.sh drops
impeccable from EXTERNAL_SKILLS. lib/design-gate.md section 5: suggest-only
/impeccable init check when a frontend project has no PRODUCT.md.
This commit is contained in:
@@ -139,6 +139,33 @@ count:
|
||||
toolchain check handles the skill; this step handles the lib. Don't conflate
|
||||
them when talking to the user.
|
||||
|
||||
### 5. Impeccable design context — suggest-only (one check, one line)
|
||||
|
||||
Same class as §4: a PROJECT-side prerequisite, not a tool. `impeccable`
|
||||
installs globally, but every one of its verbs reads a per-project `PRODUCT.md`
|
||||
that only `/impeccable init` writes. Without it the skill runs on invented
|
||||
context, which is worse than not running it — and nothing else in the process
|
||||
says so, because init has to happen in the agent chat, not in an installer.
|
||||
|
||||
**Fires when BOTH hold** — else stay silent:
|
||||
|
||||
1. impeccable is active (`skills/impeccable` present, i.e. it did not trip §3).
|
||||
2. The project has no `PRODUCT.md` at its root.
|
||||
|
||||
Evaluate it on the same path as §4: after the toolchain resolves, never on the
|
||||
INCOMPLETE stop path. One line, non-blocking:
|
||||
|
||||
🧭 impeccable has no project context here (no PRODUCT.md) — run `/impeccable init` first? (optional)
|
||||
|
||||
**Rules:**
|
||||
|
||||
- Non-blocking, and never run `init` unprompted: it interviews the user about
|
||||
the product, so it needs their attention, not their absence.
|
||||
- One line per session at most. A refusal is an answer; do not re-ask inside
|
||||
the same task.
|
||||
- Skip entirely for a review/audit of a single component and for any non-UI
|
||||
work. This is for Build and design-system tiers.
|
||||
|
||||
### Other toolchains
|
||||
|
||||
The script defaults to the `design` profile. A task needing another profile's
|
||||
|
||||
Reference in New Issue
Block a user