fix(install): handle 8.3 source paths, bound plugin delegation, check skill contracts

Sync-ManagedDestination and Copy-Directory cut relative paths by the
length of $Source. With an 8.3 short path such as JULIAN~1, Get-ChildItem
returned long paths, so files landed under a truncated directory name.
Both now expand $Source with Get-Item first.

PowerShell tests now pass -ExecutionPolicy Bypass, tolerate non-UTF-8
console output, and give the Git Bash quick update 300 seconds.

The orchestration rule now covers plugin workflows. A plugin default
alone never authorizes subagents, per-task reviews stay proportional,
parallel writers get disjoint files, and plugin agents keep to their
specialty inside the shared handoff format.

doctor warns when an installed Impeccable or Apple Design skill no
longer names the commands and sections plugin-workflow relies on.
Prompt budget baselines are refreshed to the current values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Julian LechnerandClaude Opus 5.5 committed 2026-11-18 09:31:00 +01:00
1 parent abc9ae8e1b
commit b8b4438275
15 files changed
+146 -28

No files matched your search

+9
View File
@@ -10,6 +10,15 @@ Each assignment contains only: concrete task, allowed scope/ownership, success c
Start at supplied references. Retrieve additional symbols, callers, tests, configuration, or applicable rules only to resolve a concrete question. Reuse reliable findings; reread when code changed or evidence is insufficient. Return unresolved business decisions to the main agent.
## Plugin workflows and agents
These rules bound every delegation, including delegation that plugin workflows suggest. A plugin default alone never authorizes subagents. Delegate when the user asks for it, or when the main agent judges under the rules above that independent work outweighs the duplicated context and tool cost.
- Plugin delegation workflows such as Superpowers `subagent-driven-development` or `dispatching-parallel-agents` keep their structure, with these limits: one implementer per independent, non-trivial task; trivial tasks stay with the main agent or the same implementer; per-task review is proportional (one combined spec and quality review for risky tasks, self-review otherwise) plus one final review of the whole change.
- Parallel writers need disjoint file ownership, stated in each assignment. Never let two writers edit the same files; run overlapping tasks one after another.
- Choose the agent by purpose. Prefer the shared roles: `researcher` for evidence and external sources, `architect` for design choices, `implementer`, `reviewer`, and `verifier`. Use a client's built-in read-only search agent for broad location searches that need only a conclusion. Use plugin agents only for their own specialty, such as Impeccable's agents inside an Impeccable workflow or Caveman's crew agents for narrow one- or two-file tasks while Caveman is active. The same ownership, tool limits, and no-spawning rules apply to every agent.
- The handoff protocol below is the envelope for every agent. Plugin-specific content, such as a required status line, findings in a plugin's own format, or compressed wording, goes inside its sections. Evidence, paths, commands, and errors stay verbatim.
## Handoff
Use these headings; omit empty optional sections:
+1 -1
View File
@@ -13,7 +13,7 @@ MUST load `using-superpowers` for development tasks and the matching skill befor
- Features/behavior changes: `brainstorming`; multi-step plans: `writing-plans`.
- Bugs/failures: `systematic-debugging` before fixing.
- Accepted plans: `executing-plans`; delegate only when authorized and useful.
- Accepted plans: `executing-plans`. Delegation, including Superpowers' subagent workflows, follows the orchestration rules (`rules/orchestration.md` / `rules-orchestration`); a plugin default alone never authorizes subagents.
- Behavior requiring regression coverage: `test-driven-development`.
- Review requests/feedback: `requesting-code-review`/`receiving-code-review`.
- Completion claims: `verification-before-completion`, with matching evidence.