claude/lib
Bastien Chanot 4a54a65dd4 chore(lib): doc-commit include protocol
lib/doc-commit.md — TAIL of the doc-sync step, twin of capitalize-commit.md. Tells an orchestrator how to commit ONLY the docs doc-syncer patched (PATCHED_FILES), surgically, BEFORE FINISH so they reach the merge/PR.

Centerpiece: a report-by-(rc, hash) table covering ALL four exits — rc 0 visible surface (files + agent-composed change summary, NOT a bare count), rc 0/empty no-op, rc 3 unsafe-state manual fallback, and rc 4 SCOPE VIOLATION relayed LOUDLY as an upstream BDR-022 anomaly (name the offender, do not swallow or hand-commit the rest — the refusal IS the alarm).

Attribution locked in 3 places: the rc 0 <one-line> summary comes from the AGENT (in-thread patch context), the helper returns only the hash — otherwise the surface degenerates to the bare count that the gate-replacement was meant to avoid. Two conscious acknowledgments inline: MINOR non-gated-by-choice (surface replaces gate); partial init-project fix linking BLK-010.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ho5EQCFTSvYamuRtVZpp2d
2026-06-27 00:51:42 +02:00
..
profiles refactor(skill): rename validate → web-validate 2026-06-25 01:29:36 +02:00
project-archetypes refactor(onboard,init-project): migrate file paths to .claude/ 2026-04-23 16:06:14 +02:00
tests feat(lib): surgical doc-commit helper + real-exec scope/exclusion tests 2026-06-27 00:38:18 +02:00
analyze-before-plan.md feat(analyze-before-plan): read-before bookend — scan memory (+code) before planning 2026-06-26 23:46:41 +02:00
animation-lib-check.sh feat(animation): auto-install motion lib + detection across init/onboard/advisor 2026-04-27 15:32:46 +02:00
archetype-detector.md feat(archetypes): add project archetype library + detection algorithm 2026-04-21 22:37:07 +02:00
capitalize-commit.md chore(lib): capitalize-commit include protocol 2026-06-26 12:46:51 +02:00
design-gate.md feat(design-gate): §4 anim-lib suggestion — suggest-only, non-blocking, stateless 1-line 2026-06-26 00:11:01 +02:00
design-tool-gate.sh fix(design-gate): resolve claude on a sanitized PATH (real cause of unknown) 2026-06-21 12:12:49 +02:00
detect-plugins.sh chore(caveman): purge plugin + always-on integration 2026-06-19 19:08:40 +02:00
doc-commit.md chore(lib): doc-commit include protocol 2026-06-27 00:51:42 +02:00
doc-commit.sh feat(lib): surgical doc-commit helper + real-exec scope/exclusion tests 2026-06-27 00:38:18 +02:00
memory-commit.sh feat(lib): emit memory-commit hash on stdout + T6/T7 (stdout contract, idempotence) 2026-06-26 12:45:06 +02:00
profile.sh feat(profile): activate gstack skills on-demand per profile 2026-06-24 14:22:36 +02:00
toggle-external.sh feat(secrets): .env source-of-truth in ~/.claude + repo symlink 2026-06-21 11:44:47 +02:00