refactor(aidd-context): 00-onboard resolves its providers at runtime
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript
- Domain
- tooling
Research direction
Start with docs/ARCHITECTURE.md and the five reference locations listed in the issue, then inspect the runtime description-matching mechanism used by other recipe skills. Trace the exemption constant and comment in scripts/lib/architecture-rules.js and the guard's tree check. Done means menus resolve and render runnable addresses, missing providers degrade usefully, and the exemption is removed without guard findings.
Written by the indexing model from the issue text.
Description
docs/ARCHITECTURE.md says a recipe skill never hardcodes a sibling provider: it discovers cross-plugin capabilities at runtime through description matching. aidd-context:00-onboard does the opposite — its reference menus name seven sibling addresses outright.
plugins/aidd-context/skills/00-onboard/references/flow.md:27
plugins/aidd-context/skills/00-onboard/references/order/idle-menu.md:7 (two on one line)
plugins/aidd-context/skills/00-onboard/references/state/zones.md:39,40,41
plugins/aidd-context/skills/00-onboard/references/run/tiers.md:12
They are there for a reason: those addresses are what the skill hands a person to type. Replacing them with concept names does not read worse, it stops the menu working. So the fix is not a reword — it is making 00-onboard resolve each menu entry at runtime, by description matching, and render the address it resolved.
Why now
#250 shipped a PreToolUse guard that refuses an edit leaving a plugin's dispatch surface naming a sibling. 00-onboard is exempt from it by a named constant in scripts/lib/architecture-rules.js, carrying a comment that points here. That exemption is the only hole in rule one, and it should close when this lands.
Done when
-
00-onboardnames no sibling plugin address in any of its own files. - Its menus still show the user a runnable command, resolved at run time.
- A menu entry whose provider is not installed degrades to something useful rather than a dead address.
- The exemption constant and its comment are gone from
scripts/lib/architecture-rules.js, and the guard is still silent on the tree.
- Dominant language
- TypeScript
- Stars
- 481
- Forks
- 45
- Avg merge
- 17h 40m
- Merged PRs (30d)
- 106
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ai-driven-dev/framework
-
refactor(aidd-orchestrator): the check zone says when to stop, and reviews its axes in one round Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ai-driven-dev/framework#887 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ai-driven-dev/framework#873 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ai-driven-dev/framework#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ai-driven-dev/framework#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ai-driven-dev/framework#467 · 1 comment ·
All issues in ai-driven-dev/framework
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·