feat: delegate composite checkpoints to glossdoc#27
Open
jyliang wants to merge 1 commit into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 singleNN-<doc-type>.md.Changes
templates/protocol-step.md/protocol-spike.md— capture is now format-aware:markdown→NN-<doc-type>.md(as before);html→ hand the content to the glossdoc skill and capture a composite directoryNN-<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/flow—flow resumenow recognizes directory checkpoints (NN-*/), not justNN-*.md.README.md— companion-plugin note.Tests
make test: allflow resumetests pass, including resume onto a directory checkpoint (smoke-verified). The 2 failingflow newwizard tests are pre-existing on main and unrelated to this diff (count unchanged: 66 passed, 2 failed before and after).🤖 Generated with Claude Code