fix(project-discipline): v0.2.1 — repair broken description + rebuild dist
Reviewer findings (sovereign-catalog-wave2-review, inbox 2026-08-12T13:30Z): F1 dist/project-discipline.skill was stale (0.1.2 vs 0.2.0) — rebuilt, now 0.2.1. F2 description contradiction — leftover old Rule-4 text («grant via разреши автопуш…» + duplicate (5)) survived my v0.2.0 edit; removed, kept the 'Activated by' activation line. Body Rule 4: dropped stale 'any grant' / 'the grant does not apply' references (no grant concept in free-push rule). lint 0/0.
This commit is contained in:
BIN
dist/project-discipline.skill
vendored
BIN
dist/project-discipline.skill
vendored
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: project-discipline
|
name: project-discipline
|
||||||
author: ours
|
author: ours
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
description: >
|
description: >
|
||||||
Codifies five 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 other skills (specs →
|
.wiki/CLAUDE.md / .tasks/ override defaults from other skills (specs →
|
||||||
@@ -12,12 +12,7 @@ description: >
|
|||||||
a local push-gate skill (e.g. books — auto-deploy)
|
a local push-gate skill (e.g. books — auto-deploy)
|
||||||
overrides per project; force/delete/non-ff always ask;
|
overrides per project; force/delete/non-ff always ask;
|
||||||
(5) transit/brainstorm workspaces — artifacts to .brainstorm/ or global wiki
|
(5) transit/brainstorm workspaces — artifacts to .brainstorm/ or global wiki
|
||||||
only via explicit user direction.
|
only via explicit user direction. Activated by "follow project discipline"
|
||||||
— grant via "разреши автопуш" / "allow auto-push", revoke via "отзови"
|
|
||||||
/ "revoke", session end resets to ask-mode; force/delete/non-ff push
|
|
||||||
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+).
|
trigger in CLAUDE.md (added by project-bootstrap v1.5.0+).
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -91,7 +86,7 @@ Gitea Actions auto-deploy. Respect the local gate over this rule: if the project
|
|||||||
has a `push-gate` skill, its semantics win for that project; this rule's
|
has a `push-gate` skill, its semantics win for that project; this rule's
|
||||||
free-push default does not apply there.
|
free-push default does not apply there.
|
||||||
|
|
||||||
**Always ask, regardless of any grant:**
|
**Always ask:**
|
||||||
|
|
||||||
- `git push --force` / `--force-with-lease` (history rewrite);
|
- `git push --force` / `--force-with-lease` (history rewrite);
|
||||||
- `git push origin --delete <branch>` (branch deletion);
|
- `git push origin --delete <branch>` (branch deletion);
|
||||||
@@ -100,7 +95,7 @@ free-push default does not apply there.
|
|||||||
|
|
||||||
Anything else is an ordinary fast-forward push and proceeds without a gate.
|
Anything else is an ordinary fast-forward push and proceeds without a gate.
|
||||||
|
|
||||||
**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.
|
||||||
|
|
||||||
## Rule 5 — Transit-zone / brainstorm workspaces
|
## Rule 5 — Transit-zone / brainstorm workspaces
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user