From 215afddfa785c8f9643e1b0b5106c1db921997dc Mon Sep 17 00:00:00 2001 From: vitya Date: Wed, 6 May 2026 22:36:02 +0300 Subject: [PATCH] =?UTF-8?q?feat(project-discipline):=20add=20Rule=205=20?= =?UTF-8?q?=E2=80=94=20transit-zone=20workspaces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Artifacts go to .brainstorm/ or global wiki only via explicit user direction, never auto-promote by analogy. Fixes gap where brainstorm outputs in meeting-room/. were incorrectly promoted to .wiki/concepts/ without user command. Version 0.1.0 → 0.1.1 (MINOR — adds rule). Co-Authored-By: Claude Opus 4.7 (1M context) --- skills/project-discipline/SKILL.md | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/skills/project-discipline/SKILL.md b/skills/project-discipline/SKILL.md index 44a0304..4c787ac 100644 --- a/skills/project-discipline/SKILL.md +++ b/skills/project-discipline/SKILL.md @@ -1,8 +1,8 @@ --- name: project-discipline -version: 0.1.0 +version: 0.1.1 description: > - Codifies four cross-project discipline rules: (1) project CLAUDE.md / + Codifies five cross-project discipline rules: (1) project CLAUDE.md / .wiki/CLAUDE.md / .tasks/ override defaults from any other skill (specs go to .wiki/concepts/, not docs/superpowers/specs/; tasks to .tasks/, not docs/superpowers/plans/); (2) all work on master/main, no feature @@ -12,8 +12,10 @@ description: > (4) commit freely, never push without explicit per-session user approval — grant via "разреши автопуш" / "allow auto-push", revoke via "отзови" / "revoke", session end resets to ask-mode; force/delete/non-ff push - always asks. Activated by "follow project discipline" trigger in - CLAUDE.md (added by project-bootstrap v1.5.0+). + always asks; (5) transit-zone / brainstorm workspaces — artifacts + go to .brainstorm/ or global wiki only via explicit user direction, + never auto-promote by analogy. Activated by "follow project discipline" + trigger in CLAUDE.md (added by project-bootstrap v1.5.0+). --- # project-discipline @@ -107,6 +109,20 @@ A grant covers ordinary fast-forward push to the configured upstream. Anything e **What counts as "push":** only `git push` family commands. Local commits, `git stash push`, etc. are not push; the grant does not apply. +## Rule 5 — Transit-zone / brainstorm workspaces + +Some workspaces are **transit zones** — discussion areas with no `.tasks/`, where brainstorm artifacts are explicitly NOT auto-promoted to project wikis. + +**Default destination for brainstorm artifacts:** +- **In-progress brainstorm outputs** → `.brainstorm/.md` (or whatever the workspace's README/CLAUDE.md declares) +- **Mature, cross-cutting outputs** → `~/projects/.wiki/concepts/-design.md` via `mcp__projects-meta__knowledge_ingest` — **only** when user explicitly directs this + +**Agent must NOT auto-promote** brainstorm artifacts to global wikis by analogy with Rule 1. Convergence-moment (move from workspace to permanent wiki) is a user decision, not an automatic action. + +**Example:** `~/projects/.meeting-room/` is a transit zone. Its CLAUDE.md explicitly states "no `.tasks/`, transit zone, artifacts go to `.brainstorm/` or global wiki via user command." Rule 1's "project conventions override" applies, but the override is explicit in the workspace contract — auto-promotion by analogy would violate that contract. + +**When in doubt:** ask the user "this goes to `.brainstorm/`, or should I promote to shared wiki?" rather than assuming. + ## Out of scope The skill **does not**: