claude/lib
Bastien Chanot fb1f359da5 feat(doc-syncer): PATCHED_FILES newline output for doc-commit handoff
doc-syncer now emits PATCHED_FILES — every public-doc file created/modified this run, ONE PATH PER LINE — in both STEP 9 OUTPUT (full audit) and AUTO MODE STEP A4 (the path orchestrators call). NONE stays silent (no line → doc-commit sees empty → no-ops). Additive: detection/patching logic and the `auto-mode scope:` input contract are unchanged → callers unaffected.

Separator contract, producer↔consumer aligned + proven: newline is doc-syncer's OUTPUT format (paths carry no newlines); the agent splits on newline and passes EACH path as a SEPARATE argv element to lib/doc-commit.sh. The helper takes argv (no in-band separator) → a path with spaces survives as one argument. lib/doc-commit.md spells this out (never flatten to a space-joined string + re-split, which would mis-split a spaced path the helper then silently drops). New test T7 PROVES it on real git: 'docs/My Guide.md' → committed as one file (28/28, shellcheck clean).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ho5EQCFTSvYamuRtVZpp2d
2026-06-27 01:07:03 +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(doc-syncer): PATCHED_FILES newline output for doc-commit handoff 2026-06-27 01:07:03 +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 feat(doc-syncer): PATCHED_FILES newline output for doc-commit handoff 2026-06-27 01:07:03 +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