Skip to content

docs: make the library loop discoverable from the served skill - #117

Merged
TheAmericanMaker merged 1 commit into
mainfrom
docs/library-guide-topic
Aug 18, 2026
Merged

docs: make the library loop discoverable from the served skill#117
TheAmericanMaker merged 1 commit into
mainfrom
docs/library-guide-topic

Conversation

@TheAmericanMaker

Copy link
Copy Markdown
Member

Third 0.15.0 field-test finding: the analysis → publish → synthesis loop was unreachable by discovery. codecarto_publish, codecarto_library_init, codecarto_library_list, and codecarto_library_reindex appeared in zero files outside server registration; the guide had no library topic; the served overview never said the words. Both full field-test runs produced specs that were never published.

Change

  • New guide topic references/library.md: what a library is (marker, entries/, generated index.yaml/INDEX.md), the four tools with their real contracts (content-hash idempotent publish, required source_repo/headline/spec, namespace rules, provenance fields, reindex-for-merge-conflicts), when to publish (the moment the spec validates, with cwd so provenance rides along), publish_confirm, and how it differs from carrying-results-forward.md's product-repo snapshot.
  • SKILL.md: the references list gains the topic, and the "when the run drives a rewrite" section now states the publish step — a spec that only lives in its workspace helps exactly one repository.
  • tests/guide.test.mjs: the expected-topic pin includes library.

Terminal next_actions routing to publish lands separately in #114's PR.

Suite green (the topic list is derived from the references directory, so the new file is served with no server change).

Closes #113.

🤖 Generated with Claude Code

The library is the bridge between analysis runs and synthesis - publish a
finished reimplementation-spec, and later runs consume it - yet no served
text mentioned it: no guide topic, no overview sentence, and the four
library tools appeared nowhere outside server registration. Both full
field-test runs finished specs that were never published (issue #113).

New references/library.md guide topic covers the anatomy (marker, entries,
generated index), all four tools with their contracts (content-hash
idempotent publish, provenance fields, namespaces, reindex-after-merge),
the publish moment at pipeline completion, and the distinction from the
carrying-results-forward product-repo snapshot flow. SKILL.md links the
topic and states the flow where rewrites are discussed; the guide test pins
the topic's presence.

Closes #113.
@TheAmericanMaker
TheAmericanMaker merged commit 8ef16b7 into main Aug 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Library/publish loop is unreachable by discovery: no guide topic, no overview mention, no terminal routing

1 participant