Commit 045f65f
refactor(plugin): collapse three host bundles into one shared plugin/ tree
Merge the byte-duplicated claude-plugin/, codex-plugin/, and cursor-plugin/
trees into a single shared plugin/ tree with per-host manifest overlays,
and route all three installers through a new composed embed registry
(src/agents/plugin_bundle.rs). Each host still deploys a byte-for-byte
identical tree to before — verified by installing every host from the new
layout and diffing sha256 hashes against the pre-refactor deploy.
Layout (plugin/):
- skills/ 17 shared model-invocable skills + 13 canonical
(claude/codex form) tracedecay-* workflow dispatchers
- overlays/cursor/skills/ 13 Cursor dispatcher slugs (disable-model-invocation
form) — deployed by Cursor in place of the canonical
dispatchers at the same skills/ deploy path
- overlays/cursor/agents/ Cursor-form subagents
- agents/ Claude-form subagents
- commands/ 13 Claude slash commands
- rules/ 2 Cursor .mdc rules
- hooks/hooks-<host>.json per-host hook wiring (each deploys as hooks/hooks.json)
- .{claude,cursor,codex}-plugin/ host manifests (unchanged deploy contents)
- .mcp.json shared Claude/Codex MCP config (byte-identical)
- mcp-cursor.json Cursor MCP config (deploys as mcp.json)
- README-<host>.md per-host README (deploys as README.md)
src/agents/plugin_bundle.rs owns CANONICAL_PLUGIN_FILES plus the per-host
manifest slices and composes each installer's deploy set as
CANONICAL ∪ <HOST>_MANIFEST. Each PluginFile.relative is the deploy path
(unchanged from the legacy bundles); contents are include_str!'d from the
shared plugin/ source, whose path may differ (e.g. Cursor's hooks/hooks.json
is sourced from plugin/hooks/hooks-cursor.json).
cursor.rs/codex.rs/claude.rs drop their per-host EMBEDDED_PLUGIN_FILES tables
and consume plugin_bundle::{cursor,codex,claude}_files(); deploy/render/
migrate/doctor logic is unchanged. steering.rs bootstrap include repoints to
plugin/skills/using-tracedecay/SKILL.md.
Track plugin/.mcp.json past .gitignore; add /plugin/** to the Cargo publish
include list (replacing the cursor/codex bundle globs).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent cbc1a12 commit 045f65f
148 files changed
Lines changed: 1024 additions & 3711 deletions
File tree
- .github/workflows
- codex-plugin
- skills
- assessing-impact
- code-health
- curating-project-memory
- editing-safely
- exploring-code
- fixing-build-and-type-errors
- inspecting-managed-skills
- managing-session-context
- recalling-project-memory
- recalling-session-context
- retrieving-cached-context
- retrieving-project-memory
- reviewing-changes
- storing-project-memory
- tracedecay-audit-safety
- tracedecay-check-health
- tracedecay-clean-dead-code
- tracedecay-compare-branches
- tracedecay-curate-memory
- tracedecay-draft-commit
- tracedecay-find-impact
- tracedecay-fix-build
- tracedecay-map-architecture
- tracedecay-port-code
- tracedecay-recall-memory
- tracedecay-review-diff
- tracedecay-test-changes
- tracing-functions
- using-the-cli
- using-tracedecay
- cursor-plugin/skills
- assessing-impact
- code-health
- curating-project-memory
- editing-safely
- exploring-code
- fixing-build-and-type-errors
- inspecting-managed-skills
- managing-session-context
- recalling-project-memory
- recalling-session-context
- retrieving-cached-context
- retrieving-project-memory
- reviewing-changes
- storing-project-memory
- tracing-functions
- using-the-cli
- using-tracedecay
- docs
- plugin
- .claude-plugin
- .codex-plugin
- .cursor-plugin
- agents
- commands
- hooks
- overlays/cursor
- agents
- skills
- tracedecay-audit-safety
- tracedecay-check-health
- tracedecay-clean-dead-code
- tracedecay-compare-branches
- tracedecay-curate-memory
- tracedecay-draft-commit
- tracedecay-find-impact
- tracedecay-fix-build
- tracedecay-map-architecture
- tracedecay-port-code
- tracedecay-recall-memory
- tracedecay-review-diff
- tracedecay-test-changes
- rules
- skills
- assessing-impact
- code-health
- curating-project-memory
- editing-safely
- exploring-code
- fixing-build-and-type-errors
- inspecting-managed-skills
- managing-session-context
- recalling-project-memory
- recalling-session-context
- retrieving-cached-context
- retrieving-project-memory
- reviewing-changes
- storing-project-memory
- tracedecay-audit-safety
- tracedecay-check-health
- tracedecay-clean-dead-code
- tracedecay-compare-branches
- tracedecay-curate-memory
- tracedecay-draft-commit
- tracedecay-find-impact
- tracedecay-fix-build
- tracedecay-map-architecture
- tracedecay-port-code
- tracedecay-recall-memory
- tracedecay-review-diff
- tracedecay-test-changes
- tracing-functions
- using-the-cli
- using-tracedecay
- src
- agents
- automation
- hooks
- tests/agent_suite
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
| 75 | + | |
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments