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:
2026-08-12 16:33:04 +03:00
parent 42ed5ea8a4
commit d7903c399d
2 changed files with 4 additions and 9 deletions

Binary file not shown.

View File

@@ -1,7 +1,7 @@
---
name: project-discipline
author: ours
version: 0.2.0
version: 0.2.1
description: >
Codifies five cross-project discipline rules: (1) project CLAUDE.md /
.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)
overrides per project; force/delete/non-ff always ask;
(5) transit/brainstorm workspaces — artifacts to .brainstorm/ or global wiki
only via explicit user direction.
— 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"
only via explicit user direction. Activated by "follow project discipline"
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
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 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.
**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