9 Commits

Author SHA1 Message Date
2cd52cfcec feat(session-inbox-monitor): close -test-trigger (PASS) + add CLAUDE.md trigger-line
test-trigger run in a clean session via 7 unprimed clean-context subagents.
Positives 4/4 -> session-inbox-monitor (incl. CLAUDE.md-line P4).
Negatives 2/3 clean (N2 multi-machine backend, N3 received-msg EN -> none);
N1 RU received-msg = borderline false-positive, self-corrects on body-load,
root cause = inter-session-peer-discipline sibling not installed in registry.
Filed follow-up session-inbox-monitor-received-msg-fp. -review unblocked
(needs a non-implementer session). Added `inbox monitor: raise on start` to
project CLAUDE.md (user-approved) -- discoverable opt-in + materializes P4.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:24:21 +03:00
75d70f3a4c wiki(claude): add session-handoff trigger line + close existing-projects-upgrade
claude-skills/CLAUDE.md gains `session handoff: read on start, write on end`
between `pull remote before work` and `follow project discipline` — mirrors
the canonical project-bootstrap template (v1.12.0) and .admin/CLAUDE.md.

Existing-projects-upgrade partial close (2/7):
- ✓ cwd (this commit)
- ✓ .admin/  (separate repo commit 29724d41, NOT pushed)
- ⏭ .workshop  skip (workspace-contract prose, flat trigger doesn't fit)
- ⏭ victor/books, pilorama98.ru, pilonuxt, OpeItcLoc03/common, board-viewer
  deferred — not on this machine, per-machine upgrade in respective sessions

Closes [session-handoff-existing-projects-upgrade] (partial — pattern mirrors
using-yt-tools-test-trigger split-out).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-24 23:43:55 +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
0eb7dd1d7c feat(interns-skills-mvp): ship setup-interns + using-interns v0.1.0; project-bootstrap 1.5.0 -> 1.6.0
setup-interns (v0.1.0) — 8-phase install of the local `interns` MCP server:
detect `.common/lib/interns-mcp/` source, `pip install -e`, write
`.common/secrets/interns.env` with endpoint API keys (gitignored), register
`mcpServers.interns` in `~/.claude.json` with absolute Python interpreter
path + `cwd` so the runtime resolves config relative to project root.
Mirrors setup-projects-meta / setup-context7 confirmation-gate shape.
Description 899 chars (under the 900 budget per
feedback_skill_description_length_limit).

using-interns (v0.1.0) — runtime policy for `mcp__interns__*`. Per-session
permission grant mirrors project-discipline Rule 4: ask-mode default,
conversational grant ("разреши интернов" / "allow interns"), conversational
revoke, always-ask paths for `**/.env`, `**/secrets/**`, `**/*.key`,
`**/.ssh/**`, `**/.aws/credentials` etc with transitive rule (Claude can't
bypass by reading the file with the local Read tool and forwarding content),
cost-cap >$0.10 always asks, session-end automatic reset. Routing hints for
`bulk_text_read` (3+ files or one file >400 lines) and `transcript_distill`
(before .wiki/log.md updates / session summaries). Description 814 chars.

project-bootstrap (1.5.0 -> 1.6.0, MINOR — capability added):
* assets/CLAUDE.md.template: insert `delegate to interns when allowed`
  between `follow project discipline` and `we're on Windows`.
* SKILL.md Step 5: same insertion in inline template + new commentary
  paragraph explaining the trigger, no-op semantics, install pointer.
* SKILL.md Step 5.5: bootstrap-manifest table extended with
  `setup-interns`, `using-interns`, `project-discipline` rows.
* README.md: Workflow Step 5.5 description + See also section both pick up
  the new skills.

Root CLAUDE.md dogfood: `delegate to interns when allowed` line added.
.wiki/log.md decision entry. .tasks/STATUS.md task moved to 🟢 done.
.tasks/interns-skills-mvp.md per-task file with goal / key-files /
decisions log / open questions.

Build + install verified: `dist/{setup-interns,using-interns,
project-bootstrap}.skill` rebuilt; `bash scripts/install.sh ...` succeeded;
harness skill listing shows full descriptions for all three (no H1
fallback) — confirms the description budget held.

Versioning per project-discipline Rule 3:
* setup-interns: 0.1.0 (first edit of unversioned artifact, MAJOR=0).
* using-interns: 0.1.0 (first edit of unversioned artifact, MAJOR=0).
* project-bootstrap: 1.5.0 -> 1.6.0 (MINOR — adds capability without
  breaking existing CLAUDE.md merge or manifest consumers).

Server runtime itself (`.common/lib/interns-mcp/`) is out of scope for this
task — the skills land lifecycle, policy, and bootstrap integration so any
machine where the MCP server is later installed already has Claude's
policy in place.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 17:41:11 +03:00
059cdf41e1 chore(claude-skills): dogfood 'follow project discipline' trigger 2026-05-01 11:34:31 +03:00
2bf640b6dc chore(claude-skills): dogfood 'pull remote before work' trigger 2026-05-01 10:33:58 +03:00
b12039720d feat(project-bootstrap): v1.2.0 — auto-load using-projects-meta in bootstrapped projects
CLAUDE.md template gains a fifth trigger line, `check across all projects`
(verbatim phrase from `using-projects-meta` description). Every new or
upgraded project now auto-loads cross-project task aggregation and shared
projects-wiki access without an explicit verbal trigger.

No Step 5.7 mirror of Step 5.6 (superpowers plugin recommendation):
`using-projects-meta` Prerequisites already self-corrects to
`setup-projects-meta` when MCP tools are missing.

Synced: assets/CLAUDE.md.template, inline copy in SKILL.md (Step 5),
README.md + README.ru.md trigger lists, this repo's local CLAUDE.md,
dist/project-bootstrap.skill, .wiki/concepts/projects-meta-skills.md
(Bootstrap trigger section), .wiki/log.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 01:02:06 +03:00
af94830fd5 feat(project-bootstrap): add we're on Windows to default CLAUDE.md template
Pin every newly-bootstrapped project to Windows / PowerShell out of the box
by adding a fifth trigger line to the CLAUDE.md template. The line activates
the active-platform skill, which then governs all command/example output.

- skills/project-bootstrap/assets/CLAUDE.md.template: append `we're on Windows`
- skills/project-bootstrap/SKILL.md: sync the embedded preview in Step 5 and
  document the Linux/macOS substitution
- CLAUDE.md (this repo): backfill the line — was created from old template
- dist/project-bootstrap.skill: rebuilt
- .wiki/source/active-platform-decision.md: append "Wired into project-bootstrap"

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-28 11:05:57 +03:00
782a00d6b8 chore: bootstrap project structure 2026-04-28 10:16:34 +03:00