You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/update no longer overwrites a configured technical-preferences.md. In plugin mode the skill had no seeding command, so a session copied docs/ wholesale (cp -r <cache>/docs/* .claude/docs/) and replaced a filled stack — type, pinned versions, the rationale for rejected upgrades, the ADR log — with the template; the run then reported "project data unchanged". Seeding is now a single command, install.sh <project> --seed-only (docs/ and rules/ only, agents/skills/hooks come from the plugin update), and Phase 3 verifies the result with git diff --quiet before it may claim the file was untouched, restoring it when it was not. The installer's own guard was broken as well: it looked for TO BE CONFIGURED anywhere in the file, while the template's header comment mentions the placeholder — so every configured file looked unconfigured and was overwritten in copy mode too. "Configured" now means the **Type** field is filled, the same predicate workflow-catalog.yaml uses, and the installer prints technical-preferences.md: kept (configured). Without rsync the exclusion is real instead of a warning after the fact. Installer tests cover a fixture that keeps the header comment, the no-rsync path and --seed-only; spec case update 9. (WS-082)
/update Phase 2 updates the plugin in the scope where it is installed: claude plugin update web-studio --scope <scope>, taken from the claude plugin list --json output Phase 1 already reads (-y in a non-interactive run). The bare command assumes user scope and stops the run with Plugin "web-studio" is not installed at scope user in every project installed with --scope local. Spec case update 10. (WS-108)
/update recognises a third mode: a copy-mode install left in place under the plugin. Plugin and copy mode were described as exclusive, so a project could run last month's skills from .claude/skills/ for weeks — project copies shadow the plugin by name, and only the web-studio: prefix reached the current version. Phase 1 now reports HYBRID INSTALL, establishes the copy's real version by comparing it with the cached plugin versions instead of believing .claude/.web-studio-version, and lists the files that match no version — those are local edits and the project's own kit, everything else is removable without loss. Phase 3 offers the removal as its own gate, moves agent memory from <agent> to web-studio-<agent> (appending MEMORY.md pointers), checks whether .claude/settings.json wires the copied hooks at all, and ends with "restart the session" — removing .claude/skills empties the skill registry of the running session. The stamp is written only in copy mode: in plugin mode claude plugin list --json is the source of truth, and a stamp naming a version whose files are not in the project is worse than none. /help prints one line when project copies shadow the plugin. Observed on a real project: a stamp reading 0.5.8 over files from 0.4.3, then 0.10.1 while only docs/ and rules/ had been reseeded. Spec case update 11. (WS-109)
validate-commit no longer passes everything in silence when the staging happens in the same Bash call. The hook read the index, and git add secrets.env && git commit -m "…" — the form the studio's own skills use — leaves the index empty at the moment the hook runs, so the secret-file block, the secret-string block, the lockfile and TODO warnings and the branch checks all did nothing. The hook now resolves what the command's git add segments would stage (git add --dry-run) and reads the content from the working tree, so a staged-in-the-same-call .env or a leaked token is blocked exactly as before. (WS-101)
validate-commit accepts a story ID as the Conventional Commits scope: the class [a-z0-9/_-] rejected capitals, so feat(S-019): … — the message /dev-story itself generates — always warned, which is how a warning becomes noise. A capitalised type (Feat: …) is still flagged. (WS-102)
validate-push knows about the documents lane. Pipeline documents live on the default branch by design and validate-commit lets them through, but every push then warned "pushing directly to 'master'", including the push that carried exactly those documents. The push hook now checks the commits that would travel: all of them docs: and touching documents only → no warning; anything else, or a range it cannot establish → the warning stands. The lane is defined once, in hooks/docs-lane.sh, so the two hooks cannot drift apart. (WS-103)
log-agent stops calling built-in tooling a lost agent: a Stop event with no agent type is logged as builtin rather than unknown, so Start/Stop pairs in agent-audit.log stay countable and an unpaired studio agent is visible again. (WS-089)
/help stops inventing commands. The hand-off named /dev-story complete S-007, which does not exist — a story is closed by /story-done — and a command shape invented by the studio's own orientation skill sends the user to a dead end with the studio's authority behind it. Every command in the answer now comes from the catalog or from a skill's argument-hint, and the session-start context (merged branch, template placeholder, stale stack reference, an open Gate:) is repeated as one line each instead of being left in the startup block the user already scrolled past. (WS-052)
Calibration is one sample with one name. /sprint-plan scaled the next sprint by a ratio over "every closed story" while /retrospective computed its own over one sprint, and the plan's text claimed the two were the same number. Both now read the last six closed stories of the roadmap that carry ~Nh and ⏱ Nh; the retrospective additionally prints the sprint's own ratio, labelled, so the two are never confused. (WS-086)
/sprint-plan moves the selected stories out of the Backlog block instead of copying them into the sprint: a story listed in both places made every <summary> count on the roadmap wrong from then on. The write step recalculates both counts and states them (Backlog: N → M, Sprint: 0 → K, overlap none). (WS-107)
A reviewer now gets something it can actually read. /architecture-decision required that "each reviewer receives the full draft text", which does not fit a Task prompt and was never once done: the draft goes to a session file and the reviewer receives its path plus the requirement to quote the ADR title and the two Decision lines back — the quote being the evidence of reading. A verdict with no quote is returned once, then reported as unread rather than counted. The same rule is in coordination-rules § Subagents for every skill that reviews a draft. (WS-097)
subagent_type is always a studio agent. A three-round "final assessment" of an ADR draft was performed by a generic agent with a model override: no project rules, no agent memory, no role in the audit log. Wanting a stronger opinion changes the model of a roster agent, never the agent itself. (WS-104)
A FAIL that was edited is reviewed again. A product spec went out as FAIL with four blocking factual errors, was rewritten "according to all eight comments" and recorded as done — checked by nobody. The same verifier now gets a short second pass, the document's verdict is the last review's, and a skipped re-review is written down as FAIL (edits unverified) instead of quietly becoming a pass. Same rule in /feature-spec. (WS-098)
An idea that leaves the backlog sideways is closed anyway. /impact run directly on a backlog entry left I-003 open for weeks while the work was already done, because only /backlog promote marked entries. /impact now writes its verdict back into the entry under the same write gate, and backlog review recognises an entry whose text matches a spec, ADR or verdict written later. (WS-099)
/story-done proves the roadmap carries the numbers. For three closed stories in a row the ⏱ time and the 🔗 PR link travelled only as far as the chat answer: neither the sprint line nor the ## Docs row received them. The skill now re-reads both places after the edit and reports a mismatch as an open DoD item. (WS-092)
go-engineer leaves a trace of the stack reference. "Read stack-reference/go.md first" was followed in about half of the runs, and nothing could tell the difference. The result now starts with Reference: stack-reference/go.md (updated: YYYY-MM-DD), carrying the date from the file that was opened; no line means the reference was not read. (WS-105)
Spec cases for all of the above: help, sprint-plan (2), retrospective, architecture-decision, product-spec, impact, story-done, and the go-engineer agent spec.
The hooks see what the skills actually do. consent-guard, secret-guard, impact-guard and the document-format part of post-edit-check were registered on Write|Edit only, while the skills author documents with cat > file <<EOF and python3 - <<PY — so the entire guard lane watched a tool nobody used. Measured on one real day in a project: 588 Bash calls, 15 Writes (all into a scratchpad), 0 Edits, 0 guard lines of any kind, and touch .claude/.write-consent executed 176 times with nothing left to check it. The four hooks now also run on Bash, and hooks/written-paths.sh is the single place that answers "what would this command write" — redirections, tee, cp/mv/install, sed -i, and a heredoc body that writes a file itself (open('f','w'), writeFileSync). A configured .env written through a heredoc is blocked, a token pasted into a heredoc body is blocked, a roadmap written without a fresh consent marker warns, and a document written that way gets its format check. Code formatters stay on the Write/Edit path, where the call names one file and means it. coordination-rules rule 7 now says documents are written with Write/Edit: the Bash lane is a safety net for literal paths, not a licence — a path built from a variable is still invisible. Nine hook tests, six of which fail against the previous hooks. (WS-085)