fix(discovery): inline deferred-backend rationale, drop dead ADR path#461
Conversation
The setup skill cited a marketplace-repo ADR by bare path (docs/adr/0001-defer-gitbook-as-knowledge-vault-backend.md) at both gitbook-deferral call sites. That file is not bundled in the plugin, so in the cache-isolated installed form the reference resolves to nothing. Inline the one-sentence rationale (git remains the storage layer because GitBook offers no concurrency-safe, lossless write path) at both sites, keeping the installed skill text self-contained per PLUGIN-PHILOSOPHY cache-isolation. Behavior is unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Claude finished @kyle-sexton's task in 1m 50s —— View job PR Review — fix(discovery): inline deferred-backend rationale, drop dead ADR path
SummaryClean, focused fix that correctly addresses a cache-isolation violation. The dead bare-path ADR reference ( Blocking CriteriaAll "always check" items from Findings🟡 Nit 1 — Wording inconsistency between the two call sites Site 1 (L47):
Site 2 (L64):
The two sites explain the same architectural decision; "vault's" appears in one but not the other. Should be identical for a reader who encounters both. Fix this → 🟡 Nit 2 — Version skips 0.7.1
🟡 Nit 3 — Em-dash + colon structure at Site 2 reads awkwardly
The colon immediately follows the inline rationale em-dash clause, producing a File-by-file verdict
Overall: approve with the Nit 1 wording alignment worth a quick fixup — the two sites should be verbatim-identical since they describe the same decision. |
Addresses the PR review nits on the deferred-backend rationale. Nit 1: the `check` site read "git remains the vault's storage layer" while the `apply` site and the commit-message rationale both omit the possessive. Drop "vault's" from the `check` site so both sites are verbatim-identical, matching the canonical phrasing. Nit 3: split the run-on at the `apply` site — the em-dash rationale clause was followed by a colon, chaining two independent statements. A sentence break reads cleaner. Behavior is unchanged.
|
Claude finished @kyle-sexton's task in 1m 10s —— View job
Re-review — commit
|
| File | Status |
|---|---|
plugins/discovery/.claude-plugin/plugin.json |
✅ Unchanged from original PR — version bump correct |
plugins/discovery/CHANGELOG.md |
✅ Unchanged from original PR — format correct |
plugins/discovery/skills/setup/SKILL.md |
✅ Both call sites now verbatim-identical; sentence break at apply site resolves the flow issue |
Overall: all review nits addressed. PR is clean and ready to merge (modulo the #458 stacking note in the PR body, which is the author's responsibility to track).
|
Thanks for the review. Per-finding classification:
Fixed in 4ceda07 (Nits 1 and 3, both wording-only). Nit 2 needs no change. |
Summary
/discovery:setupcited a marketplace-repo ADR by bare path(
docs/adr/0001-defer-gitbook-as-knowledge-vault-backend.md) at bothvault_backend: gitbookdeferral call sites (
skills/setup/SKILL.md:47and:63). That ADR is a publisher-repo file — notbundled in the plugin and not present in the consumer repo — so in the cache-isolated installed
plugin form the reference resolves to nothing, leaving a consumer reading the setup skill on a dead
path. This violates PLUGIN-PHILOSOPHY cache-isolation and the never-cross-reference-file-names rule.
Change
because GitBook offers no concurrency-safe, lossless write path — replacing the bare ADR path.
The existing "deferred and non-writable; durable writes target
docs" wording is preserved.plugins/discovery0.7.0→0.7.2and added a Keep-a-Changelog## [0.7.2]Changedentry. (
0.5.1's historical CHANGELOG entry citing the same ADR path is intentionally left as-is.)Closes #407
Related