feat(project-discipline): add Rule 5 — transit-zone workspaces
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) <noreply@anthropic.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: project-discipline
|
name: project-discipline
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
description: >
|
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
|
.wiki/CLAUDE.md / .tasks/ override defaults from any other skill (specs
|
||||||
go to .wiki/concepts/, not docs/superpowers/specs/; tasks to .tasks/,
|
go to .wiki/concepts/, not docs/superpowers/specs/; tasks to .tasks/,
|
||||||
not docs/superpowers/plans/); (2) all work on master/main, no feature
|
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
|
(4) commit freely, never push without explicit per-session user approval
|
||||||
— grant via "разреши автопуш" / "allow auto-push", revoke via "отзови"
|
— grant via "разреши автопуш" / "allow auto-push", revoke via "отзови"
|
||||||
/ "revoke", session end resets to ask-mode; force/delete/non-ff push
|
/ "revoke", session end resets to ask-mode; force/delete/non-ff push
|
||||||
always asks. Activated by "follow project discipline" trigger in
|
always asks; (5) transit-zone / brainstorm workspaces — artifacts
|
||||||
CLAUDE.md (added by project-bootstrap v1.5.0+).
|
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
|
# 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.
|
**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/<topic>.md` (or whatever the workspace's README/CLAUDE.md declares)
|
||||||
|
- **Mature, cross-cutting outputs** → `~/projects/.wiki/concepts/<topic>-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
|
## Out of scope
|
||||||
|
|
||||||
The skill **does not**:
|
The skill **does not**:
|
||||||
|
|||||||
Reference in New Issue
Block a user