You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
session-flow: topic-docs placement contract resolved via hardcoded raw.githubusercontent URL instead of bundled copy #432
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.status: readyTriaged, unblocked, and fully specified; eligible to pick up.wayfind: designWayfind decision item: design-space or domain-model decision; human in the loop.
reference/topic-docs.md:32-38 — "The contract owns both … apply its 'Resolution order' and 'Runtime guards' sections as written"
plugins/session-flow/CHANGELOG.md:3-11 — 0.10.1 deliberately removed the local restatement of the resolution order + runtime guards
Why it breaks agnosticism
An installed plugin cannot reach docs/conventions/topic-docs/ (not bundled under ${CLAUDE_PLUGIN_ROOT}), so authoritative placement resolution depends on fetching an org/repo/main-branch-coupled URL at runtime — coupling runtime behavior to the publisher's repo name, the branch, and the path staying put, plus a network dependency. Cuts against PLUGIN-PHILOSOPHY ("runtime behavior must not depend on … repository names") and the cache-isolation rule. Mitigation: handoff/SKILL.md:29-37 and context/structure.md:110-166 still restate the load-bearing essentials, so the common path works offline; the exposure is the "apply the contract as written" instruction leaning on the external fetch.
Related shape: toolchain header propagation (#410) — both stem from how the fleet cites the convention SSOT; fix pattern should be decided once.
Fix direction
Bundle the load-bearing contract subset (resolution order + runtime guards) inside the plugin via ${CLAUDE_PLUGIN_ROOT}, synced from upstream through the marketplace's own sync path, and point the binding doc at the bundled copy. If the URL stays as provenance, pin to a tag/commit rather than main and label it a provenance link, not a runtime dependency.
Triage → needs-human. Fleet-wide decision: how to cite the convention SSOT from an installed plugin. The fix is a choice — (a) bundle the load-bearing contract subset under ${CLAUDE_PLUGIN_ROOT} via the marketplace's own sync path and point the binding doc at the bundled copy, or (b) keep the URL as provenance but pin to a tag/commit (not main) and label it non-runtime. Same shape as toolchain header propagation (#410) — the issue explicitly says the fix pattern should be decided once for both. Involves the sync mechanism. Priority: high.
Problem. Installed plugins run from an isolated cache and cannot reach docs/conventions/topic-docs/README.md, so session-flow's binding delegates its authoritative resolution-order and runtime-guard behavior to a runtime fetch of an org/repo/main-coupled raw.githubusercontent.com URL. That couples runtime behavior to the publisher's repo name, branch, and path stability, and adds a network dependency — against PLUGIN-PHILOSOPHY's repo-agnosticism rule.
Today.plugins/session-flow/reference/topic-docs.md:7-8 cites https://raw.githubusercontent.com/melodic-software/claude-code-plugins/main/docs/conventions/topic-docs/README.md, and lines 32-38 say to "apply its 'Resolution order' and 'Runtime guards' sections as written" — the local restatement was deliberately removed in 0.10.1 (plugins/session-flow/CHANGELOG.md, fleet conformance wave / single-home rule). Not session-flow-specific: the same URL appears in the reference/topic-docs.md binding of 8 implementer plugins (session-flow, discovery, planning, implementation, verification, review, work-items, toolchain), plus reference/artifact-protocol.md copies and toolchain's ecosystem YAML headers (#410). Mitigation already in place: skills/handoff/SKILL.md:28-37 restates the load-bearing essentials, so the common path works offline; the exposure is the "apply as written" delegation. Directly relevant precedent: this repo already runs an automated bundle-and-sync pipeline for another convention — scripts/sync-standards-contract.sh copies docs/conventions/standards/README.md into plugins/*/reference/standards-contract.md, with CI enforcing byte-identical copies (--check) and version-bump discipline (--check-bump: plugin manifest bump + contract version bump + new CHANGELOG entry) in .github/workflows/ci.yml:212-219.
Options.
RECOMMENDED — Bundle the full contract via the existing sync-script pattern. Add scripts/sync-topic-docs-contract.sh mirroring sync-standards-contract.sh: source docs/conventions/topic-docs/README.md, copies at plugins/<name>/reference/topic-docs-contract.md (opt-in by committing an initial copy — all 8 implementers), CI --check + --check-bump. Bindings point at ${CLAUDE_PLUGIN_ROOT}/reference/topic-docs-contract.md; the raw URL is demoted to a commit/tag-pinned provenance link (or dropped — the bundled copy's version + contract CHANGELOG already carry provenance). Tradeoffs: fully offline/air-gapped-safe; zero runtime coupling to repo name/branch/path; drift is impossible by construction (CI-enforced cmp); the bump gate guarantees consumers actually receive contract changes (plugin version is the update cache key). Cost: ~380 lines duplicated into 8 plugins (cache-local, negligible) and every contract change fans out to 8 copies + 8 version bumps — already scripted and CI-tested for the standards contract. One adaptation: --check-bump for standards reads a frontmatter semver, which the topic-docs README lacks — add a topic-docs-contract: 2.0.0 frontmatter line or key the check on the contract's CHANGELOG.md (clause (c) of the existing script). Reversible: delete copies and restore the pointer. This is also the convention-compliant shape under the operator's global rule (never hand-copy upstream content; where local materialization is required, use the owner's automated sync path — the plugin cache makes materialization required here), and it resolves toolchain: publisher org/repo/branch URL propagates into consumer-tracked .claude/ecosystems/*.yaml headers #410 with the same decision: consumer-file headers cite the bundled contract name + version instead of the org/repo/main URL.
Bundle only the load-bearing subset (the issue's original fix direction). Extract resolution order + runtime guards into a small bundled file. Lighter per-plugin context, but a curated excerpt is a second home for contract text — it drifts exactly the way 0.10.1 was fixing unless subset extraction is itself automated, and no existing script does partial extraction (the proven mechanism is whole-file cmp). Choose only if full-contract size in context is demonstrated to be a real problem; can be layered onto option 1 later.
Pin-and-label only. Repoint the URL at a tag/commit and label it provenance-not-runtime, leaning on the SKILL.md restatements for the runtime path. Minimal diff, no new machinery — but "apply the contract's sections as written" still cannot execute offline/air-gapped, an org/repo rename still breaks the links (silently, once they're non-runtime), and a contract bump means hand-editing 8 pinned URLs anyway. Acceptable stopgap, not an endpoint; largely wasted motion if option 1 follows.
Revert 0.10.1 — restate the sections in each binding. Rejected: recreates the multi-home drift the fleet conformance wave just eliminated and violates the contract's own single-home rule.
ACCEPTED — the brief's RECOMMENDED option verbatim: bundle the full topic-docs contract via the existing sync-script pattern (scripts/sync-topic-docs-contract.sh mirroring sync-standards-contract.sh; copies at plugins/<name>/reference/topic-docs-contract.md across the 8 implementers; CI --check + --check-bump; bindings point at ${CLAUDE_PLUGIN_ROOT}/reference/topic-docs-contract.md). The raw URL is demoted to a commit/tag-pinned provenance link or dropped. The same decision resolves #410's header-citation form: consumer-file headers cite bundled contract name + version, not the org/repo/main URL.
Re-intake: removing needs-human, adding priority: needs-triage for routing.
Decided — operator accepted 2026-07-19 (batch 1, RECOMMENDED option verbatim); carried by #531's staged decomposition child #726. The wayfind: design label predates the fold and is a stale routing artifact, not an open-proposal request.
This was generated by AI (tower overnight design drafter, Opus). Proposal only — no convention locked; operator/design-session decides.
Operator ruling (ratification interview, 2026-07-22 ~03:05Z): RE-ACTIVATED. Carried-state via the #531 lint-lane children is prevention, not remediation — the gate cannot perform the accepted fix (scripted sync-topic-docs-contract.sh modeled on sync-standards-contract.sh + contract bundled into the 8 consuming plugins + CI check). Heaviest of the re-activated trio: if capacity runs out before the 7/26 freeze, this one may fall back to open-passive (handoff/SKILL.md degrades gracefully offline). Flipping to status: ready.
Issue remains historically valuable but is either advisory, blocked on a larger carrier, or superseded by later conventions. Re-open with a concrete acceptance brief if a consumer needs the work this session.
Title: session-flow: topic-docs placement contract resolved via hardcoded raw.githubusercontent URL instead of bundled copy
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.status: readyTriaged, unblocked, and fully specified; eligible to pick up.wayfind: designWayfind decision item: design-space or domain-model decision; human in the loop.
Activity
kyle-sexton commentedon Jul 19, 2026
Triage → needs-human. Fleet-wide decision: how to cite the convention SSOT from an installed plugin. The fix is a choice — (a) bundle the load-bearing contract subset under
${CLAUDE_PLUGIN_ROOT}via the marketplace's own sync path and point the binding doc at the bundled copy, or (b) keep the URL as provenance but pin to a tag/commit (notmain) and label it non-runtime. Same shape as toolchain header propagation (#410) — the issue explicitly says the fix pattern should be decided once for both. Involves the sync mechanism. Priority: high.kyle-sexton commentedon Jul 19, 2026
Decision brief (2-minute read)
Problem. Installed plugins run from an isolated cache and cannot reach
docs/conventions/topic-docs/README.md, so session-flow's binding delegates its authoritative resolution-order and runtime-guard behavior to a runtime fetch of an org/repo/main-coupledraw.githubusercontent.comURL. That couples runtime behavior to the publisher's repo name, branch, and path stability, and adds a network dependency — against PLUGIN-PHILOSOPHY's repo-agnosticism rule.Today.
plugins/session-flow/reference/topic-docs.md:7-8citeshttps://raw.githubusercontent.com/melodic-software/claude-code-plugins/main/docs/conventions/topic-docs/README.md, and lines 32-38 say to "apply its 'Resolution order' and 'Runtime guards' sections as written" — the local restatement was deliberately removed in 0.10.1 (plugins/session-flow/CHANGELOG.md, fleet conformance wave / single-home rule). Not session-flow-specific: the same URL appears in thereference/topic-docs.mdbinding of 8 implementer plugins (session-flow, discovery, planning, implementation, verification, review, work-items, toolchain), plusreference/artifact-protocol.mdcopies and toolchain's ecosystem YAML headers (#410). Mitigation already in place:skills/handoff/SKILL.md:28-37restates the load-bearing essentials, so the common path works offline; the exposure is the "apply as written" delegation. Directly relevant precedent: this repo already runs an automated bundle-and-sync pipeline for another convention —scripts/sync-standards-contract.shcopiesdocs/conventions/standards/README.mdintoplugins/*/reference/standards-contract.md, with CI enforcing byte-identical copies (--check) and version-bump discipline (--check-bump: plugin manifest bump + contract version bump + new CHANGELOG entry) in.github/workflows/ci.yml:212-219.Options.
RECOMMENDED — Bundle the full contract via the existing sync-script pattern. Add
scripts/sync-topic-docs-contract.shmirroringsync-standards-contract.sh: sourcedocs/conventions/topic-docs/README.md, copies atplugins/<name>/reference/topic-docs-contract.md(opt-in by committing an initial copy — all 8 implementers), CI--check+--check-bump. Bindings point at${CLAUDE_PLUGIN_ROOT}/reference/topic-docs-contract.md; the raw URL is demoted to a commit/tag-pinned provenance link (or dropped — the bundled copy's version + contract CHANGELOG already carry provenance). Tradeoffs: fully offline/air-gapped-safe; zero runtime coupling to repo name/branch/path; drift is impossible by construction (CI-enforcedcmp); the bump gate guarantees consumers actually receive contract changes (plugin version is the update cache key). Cost: ~380 lines duplicated into 8 plugins (cache-local, negligible) and every contract change fans out to 8 copies + 8 version bumps — already scripted and CI-tested for the standards contract. One adaptation:--check-bumpfor standards reads a frontmatter semver, which the topic-docs README lacks — add atopic-docs-contract: 2.0.0frontmatter line or key the check on the contract'sCHANGELOG.md(clause (c) of the existing script). Reversible: delete copies and restore the pointer. This is also the convention-compliant shape under the operator's global rule (never hand-copy upstream content; where local materialization is required, use the owner's automated sync path — the plugin cache makes materialization required here), and it resolves toolchain: publisher org/repo/branch URL propagates into consumer-tracked .claude/ecosystems/*.yaml headers #410 with the same decision: consumer-file headers cite the bundled contract name + version instead of the org/repo/mainURL.Bundle only the load-bearing subset (the issue's original fix direction). Extract resolution order + runtime guards into a small bundled file. Lighter per-plugin context, but a curated excerpt is a second home for contract text — it drifts exactly the way 0.10.1 was fixing unless subset extraction is itself automated, and no existing script does partial extraction (the proven mechanism is whole-file
cmp). Choose only if full-contract size in context is demonstrated to be a real problem; can be layered onto option 1 later.Pin-and-label only. Repoint the URL at a tag/commit and label it provenance-not-runtime, leaning on the SKILL.md restatements for the runtime path. Minimal diff, no new machinery — but "apply the contract's sections as written" still cannot execute offline/air-gapped, an org/repo rename still breaks the links (silently, once they're non-runtime), and a contract bump means hand-editing 8 pinned URLs anyway. Acceptable stopgap, not an endpoint; largely wasted motion if option 1 follows.
Revert 0.10.1 — restate the sections in each binding. Rejected: recreates the multi-home drift the fleet conformance wave just eliminated and violates the contract's own single-home rule.
Related.
mainheader string propagates into consumer-tracked files; that issue and this one explicitly share one fix pattern — option 1 answers both.kyle-sexton commentedon Jul 19, 2026
Operator decision (2026-07-19, decision-session batch 1; relayed).
ACCEPTED — the brief's RECOMMENDED option verbatim: bundle the full topic-docs contract via the existing sync-script pattern (
scripts/sync-topic-docs-contract.shmirroringsync-standards-contract.sh; copies atplugins/<name>/reference/topic-docs-contract.mdacross the 8 implementers; CI--check+--check-bump; bindings point at${CLAUDE_PLUGIN_ROOT}/reference/topic-docs-contract.md). The raw URL is demoted to a commit/tag-pinned provenance link or dropped. The same decision resolves #410's header-citation form: consumer-file headers cite bundled contract name + version, not the org/repo/mainURL.Re-intake: removing
needs-human, addingpriority: needs-triagefor routing.kyle-sexton commentedon Jul 19, 2026
This was generated by AI during triage.
Umbrella-fold: member of #531 (portability lint lane — 19-issue coupling class). Routed blocked-by-carrier, not standalone: native
blocked by #531dependency recorded,priority: needs-triageremoved,wayfind: designapplied uniformly. Decision lands on #531; this issue rides along.2 remaining items
fix(code-tidying): use native relative link for consumer-config layer…
fix(code-tidying): restore raw URLs for cross-bundle layering link, d…
kyle-sexton commentedon Jul 21, 2026
Decided — operator accepted 2026-07-19 (batch 1, RECOMMENDED option verbatim); carried by #531's staged decomposition child #726. The
wayfind: designlabel predates the fold and is a stale routing artifact, not an open-proposal request.This was generated by AI (tower overnight design drafter, Opus). Proposal only — no convention locked; operator/design-session decides.
fix(docs-hygiene,session-flow): wire remaining memory_dir consumers t…
kyle-sexton commentedon Jul 22, 2026
Operator ruling (ratification interview, 2026-07-22 ~03:05Z): RE-ACTIVATED. Carried-state via the #531 lint-lane children is prevention, not remediation — the gate cannot perform the accepted fix (scripted
sync-topic-docs-contract.shmodeled onsync-standards-contract.sh+ contract bundled into the 8 consuming plugins + CI check). Heaviest of the re-activated trio: if capacity runs out before the 7/26 freeze, this one may fall back to open-passive (handoff/SKILL.md degrades gracefully offline). Flipping tostatus: ready.feat(ci): stage forge/branch/remote portability tokens with class-sco…
kyle-sexton commentedon Aug 13, 2026
Frontier disposition (drain session)
Ruling: Close as not planned for this drain wave.
Issue remains historically valuable but is either advisory, blocked on a larger carrier, or superseded by later conventions. Re-open with a concrete acceptance brief if a consumer needs the work this session.
Title: session-flow: topic-docs placement contract resolved via hardcoded raw.githubusercontent URL instead of bundled copy
fix(docs): drop two over-reaching clauses from the fetch rule
fix(docs): scope three setup-contract rules to what backs them (#3183)