Skip to content

feat: delegate composite checkpoints to glossdoc#27

Open
jyliang wants to merge 1 commit into
mainfrom
wire-glossdoc
Open

feat: delegate composite checkpoints to glossdoc#27
jyliang wants to merge 1 commit into
mainfrom
wire-glossdoc

Conversation

@jyliang

@jyliang jyliang commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Wires flow to its companion plugin, glossdoc, so a step bound to a composite (format: html) doc-type actually produces a composite — closing the gap where the orchestrator only ever wrote a single NN-<doc-type>.md.

Changes

  • templates/protocol-step.md / protocol-spike.md — capture is now format-aware: markdownNN-<doc-type>.md (as before); html → hand the content to the glossdoc skill and capture a composite directory NN-<doc-type>/ (HTML host + sections/*.md, served over HTTP). Falls back to markdown if glossdoc isn't installed. Adjust/resume prose updated for directory checkpoints.
  • bin/flowflow resume now recognizes directory checkpoints (NN-*/), not just NN-*.md.
  • README.md — companion-plugin note.

Tests

make test: all flow resume tests pass, including resume onto a directory checkpoint (smoke-verified). The 2 failing flow new wizard tests are pre-existing on main and unrelated to this diff (count unchanged: 66 passed, 2 failed before and after).

🤖 Generated with Claude Code

When a flow step binds a doc-type with format: html, the orchestrator now
hands the checkpoint to the glossdoc skill and captures it as a composite
directory (NN-<doc-type>/) instead of a single .md — with a markdown
fallback when glossdoc isn't installed.

- protocol-step / protocol-spike: format-aware capture + adjust/resume notes
- bin/flow resume: recognize directory checkpoints (NN-*/ as well as NN-*.md)
- README: glossdoc companion-plugin note

Pre-existing wizard tests (2) still fail on main, unrelated to this change;
all flow-resume tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant