Compare commits

...

3 Commits

Author SHA1 Message Date
5d9d2f88f9 meta(tasks): close [bootstrap-fix-tdd-recommend-template] + [bootstrap-upgrade-canonical-triggers]
Both tasks done. v1.10.1 fix shipped (aac9088), upgrade tested on claude-skills (ac0fa57).
Unblock ready — mass-rollout of 5-string group can proceed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 12:07:29 +03:00
ac0fa570ad chore(bootstrap): upgrade CLAUDE.md — add tdd-criteria, recommend-dont-menu triggers
project-bootstrap v1.10.1 upgrade. 2 missing canonical triggers added:
- follow tdd-criteria
- recommend, don't menu

Bootstrap manifest: 1.2.0 → 1.10.1

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 12:06:34 +03:00
aac9088091 fix(project-bootstrap): v1.10.1 — add missing tdd-criteria + recommend-dont-menu to CLAUDE.md template + prose
Bug: v1.10.0 bump + Step 5.6 map added these 2 canonical triggers, but the
CLAUDE.md template literal (lines 339-342) and corresponding prose paragraphs
were not updated. Symptoms: upgrade-mode on repos missing these 2 triggers
detected "already canon" and skipped insertion, leaving gaps.

Fix:
- Template: added `follow tdd-criteria` after `follow project discipline`,
  added `recommend, don't menu` after `delegate to interns when allowed`
- Prose: added 2 new paragraphs describing each trigger with install hints
- Version: 1.10.0 → 1.10.1 (PATCH — completing what 1.10.0 claimed)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 12:05:35 +03:00
5 changed files with 34 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
# Task Board
_Updated: 2026-05-07 (tdd-criteria-review done → v0.2.0)_
_Updated: 2026-05-07 (bootstrap-fix-tdd-recommend-template + bootstrap-upgrade-canonical-triggers done)_
<!--
Canonical layout. One block per task. Per-task deep context lives in
@@ -564,13 +564,12 @@ Pre-commit hooks have `--no-verify`. Per `project-discipline` Rule 4 («never sk
---
## 🔵 [bootstrap-upgrade-canonical-triggers] — Прогнать `project-bootstrap` v1.10.0 в upgrade-режиме на этом проекте. Цель — дописать в `CLAUDE.md` 2 недостающих канонических триггера: `follow tdd-criteria`, `recommend, don't menu`. Уже присутствуют: `pull remote before work`, `follow project discipline`, `delegate to interns when allowed`, `we're on Windows`. Аудит 2026-05-07 через `bulk_text_read`. Контекст — координатор `[bootstrap-rollout-canonical-triggers]` в `_meta` (commit dd933fd). Пилот на `books` подтвердил идемпотентность (158fc95).
## 🟢 [bootstrap-upgrade-canonical-triggers] — Прогнать `project-bootstrap` v1.10.0 в upgrade-режиме на этом проекте. Цель — дописать в `CLAUDE.md` 2 недостающих канонических триггера: `follow tdd-criteria`, `recommend, don't menu`. Уже присутствуют: `pull remote before work`, `follow project discipline`, `delegate to interns when allowed`, `we're on Windows`. Аудит 2026-05-07 через `bulk_text_read`. Контекст — координатор `[bootstrap-rollout-canonical-triggers]` в `_meta` (commit dd933fd). Пилот на `books` подтвердил идемпотентность (158fc95).
**Status:** blocked
**Where I stopped:** Создана 2026-05-07. Blocked — ждёт разблокировки от координатора `bootstrap-rollout-canonical-triggers` (mass-unblock после первого успешного прогона в группе).
**Next action:** 1) `upgrade project` в `~/projects/claude-skills/`. **Запустить скил `project-bootstrap` v1.10.0** — не делать ручной Edit (incident на `pilonuxt` 2026-05-07: агент пропустил скил, манифест остался stale). 2) Подтвердить план: 2 файла — `CLAUDE.md` (+2: `follow tdd-criteria`, `recommend, don't menu`) + `.wiki/concepts/bootstrap-manifest.md` (manifest 1.x → 1.10.0 + апдейт skills-таблицы). 3) Прогнать. 4) **Verify:** `git diff --stat` после прогона показывает 2 файла. Если 1 — скил не запускался, переоткрыть upgrade. Reference коммит: `books@5ca16d9`. 5) Коммит `chore(bootstrap): upgrade CLAUDE.md — add tdd-criteria, recommend-dont-menu triggers` + body со скилами (см. ref). 6) Повторный прогон — no-op. 7) `tasks_close`.
**Blocker:** bootstrap-rollout-canonical-triggers
**Branch:** n/a
**Status:** done
**Where I stopped:** Shipped в `ac0fa57 chore(bootstrap): upgrade CLAUDE.md — add tdd-criteria, recommend-dont-menu triggers`. 2 файла изменены: CLAUDE.md (+2 triggers), manifest 1.2.0→1.10.1. Verify подтверждён — `git diff --stat` показывал 2 файла. Unblock готов — можно продолжить mass-unblock 5-string группы.
**Next action:** (none — kept until merged)
**Branch:** master
<!-- created-by: OpeItcLoc03@DESKTOP-NSEF0UK / from: meeting-room / 2026-05-07T06:57:11.004Z -->
---
@@ -609,8 +608,10 @@ Cross-platform: PowerShell-ветка + bash-ветка (как у `install.ps1`
Корень: bootstrap-add-tdd-trigger task (closed `7bde0cd`) была реализована **частично** — version bump + Step 5.6 update сделан, template-литерал и prose не тронуты. Скил остался в неконсистентном состоянии.
**Status:** ready
**Where I stopped:** Created 2026-05-07 после неудачного шага 1 в раскатке canonical-triggers. Все пилоты других групп (3-string `pilonuxt`, 6-string `O_C-Phazerville`) отработали потому, что **обе их новых для них строки были и в template-литерале** (`delegate to interns when allowed` для 3-string, и весь набор 4 + плюс ручная вставка для 6-string greenfield-bootstrap). Только в 2-string группе (claude-skills, missing именно `tdd-criteria` и `recommend-dont-menu`) баг проявился чисто — там нечем было закрыть gap из template.
**Status:** done
**Where I stopped:** Shipped в `aac9088 fix(project-bootstrap): v1.10.1`. Template + prose updated, 2 canonical triggers added. Upgrade tested on claude-skills — `ac0fa57` confirms 2-file change (CLAUDE.md +2, manifest 1.2.0→1.10.1).
**Next action:** (none — kept until merged)
**Branch:** master
**Next action:** 1) В `skills/project-bootstrap/SKILL.md`, lines 339-342 — добавить две строки в template-литерал в правильном порядке (соответствует канон-порядку из `books@5ca16d9`):
```

View File

@@ -1,8 +1,8 @@
---
title: Bootstrap Manifest
type: concept
updated: 2026-04-30
generator: project-bootstrap@1.2.0
updated: 2026-05-07
generator: project-bootstrap@1.10.1
---
# Bootstrap Manifest
@@ -11,7 +11,7 @@ Skills used to initialize this project's `.wiki/` and `.tasks/` layout, with the
| Skill | Version | Role |
|---|---|---|
| `project-bootstrap` | 1.2.0 | orchestrator |
| `project-bootstrap` | 1.10.1 | orchestrator |
| `setup-wiki` | 1.0.0 | wiki canonical layout |
| `setup-tasks` | 1.0.0 | tasks canonical layout |

View File

@@ -8,5 +8,7 @@ use task management system
check across all projects
pull remote before work
follow project discipline
follow tdd-criteria
delegate to interns when allowed
recommend, don't menu
we're on Windows

Binary file not shown.

View File

@@ -1,6 +1,6 @@
---
name: project-bootstrap
version: 1.10.0
version: 1.10.1
description: >
Initializes or upgrades a project in the current folder: git, .gitignore, README.md,
.wiki/ using Karpathy's method, .tasks/ for task tracking, CLAUDE.md with skill triggers.
@@ -338,7 +338,9 @@ use task management system
check across all projects
pull remote before work
follow project discipline
follow tdd-criteria
delegate to interns when allowed
recommend, don't menu
we're on Windows
```
@@ -365,6 +367,14 @@ push only after explicit per-session approval. Install the skill on the host
if `project-discipline` is not in `~/.claude/skills/`; otherwise the trigger is
silently dead like any other absent skill.
The `follow tdd-criteria` line activates the `tdd-criteria` skill, which enforces
test-driven development by default with four bright-line carve-outs (visual CSS,
spike exploration, oneshot scripts, pure wrappers) and four anti-loophole rules
(including test-immutability: modifying assertions requires a `[test-modify: ...]`
marker in the commit subject). Full rationale at `.wiki/concepts/tdd-criteria-design.md`
in the `claude-skills` repo. Install the skill on the host if `tdd-criteria` is not
in `~/.claude/skills/`; otherwise the trigger is silently dead like any other absent skill.
The `delegate to interns when allowed` line activates the `using-interns` skill,
which lets Claude offload predictable bulk I/O and summarization tasks
(reading 3+ files, distilling long transcripts) to cheap intern LLMs via the
@@ -378,6 +388,14 @@ server is registered — install via `setup-interns` on a fresh machine if
`mcp__interns__*` tools are missing. Full design at
`.wiki/concepts/interns-design.md` in the `claude-skills` repo.
The `recommend, don't menu` line activates the `recommend-dont-menu` skill,
which overrides the default `superpowers:brainstorming` behavior: in design
discussions, architecture reviews, or "what should we do" questions, the agent
gives **one argued recommendation with explicit trade-offs**, not a multiple-
choice menu. User instructions always take precedence over skill defaults.
Install the skill on the host if `recommend-dont-menu` is not in `~/.claude/skills/`;
otherwise the trigger is silently dead like any other absent skill.
The `we're on Windows` line activates the `active-platform` skill and pins the
project's default platform to Windows / PowerShell — so generated commands and
README quick-starts use PS-native syntax. Bootstrapping on a Linux or macOS