Repository navigation
refactor(aidd-refine): lean the brainstorm skill for small models - #1072
Merged
Merged
Conversation
Merge probe and integrate into explore, rename finalize to conclude, fold the single-use references into their action, drop the point labels from the discovery map, and give the brief a Clear / Assumed / Open template saved with status: approved. The skill goes from 13 files and 1506 words to 8 files and about 940. Extend the router citation guard to fenced blocks, which covers the mermaid routers and drops the 10-batch exception. Refs #1071 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015M5pyeN9UkURg1E85cHMU5
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015M5pyeN9UkURg1E85cHMU5
Contributor
5 tasks
3 tasks
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.
🎯 What & why
Lean
aidd-refine:01-brainstormfrom 13 files and 1506 words to 8 files and about 940, so it runs on Mistral small and medium under opencode as well as on Claude models, at a lower token cost.🛠️ How it works
probeandintegratebecomeexplore: take stock, decide whether to conclude, pick one point, ask, wait, repeat. A skill that alternates between two files forces a re-read on every turn.capture(once),explore(loop),conclude(once). The router in SKILL.md is one mermaid whose nodes carry the file paths. The action table is gone: it repeated each file's goal.discovery-map(what to explore, points in order, no labels so the model has nothing to quote),probing(how to ask, 7 techniques),persistence(where the brief lives). Single-use references moved into their action.SKILL.md, not in an action read once: a stop or a summary request produces the brief; never talk about the skill's steps or files.Clear/Assumed/Open. A summary can no longer present a guess as a decision. A persisted brief carriesstatus: approved.10-batchexception.🧪 How to verify
pnpm exec lefthook run pre-commitnode scripts/check-tests-leave-git-alone.js -- node --test 'scripts/__tests__/**/*.test.js'(477 tests)haiku/sonnet/opuscost -29% / -47% / -19%; on "stop" the new skill produces the brief with headings on 3 of 3 models, the original on 0 of 3.mistral-medium-2604holds the loop over 22 turns with no exit from the skill and no empty reply.mistral-small-2603asks a question on the first turn in about 60% of runs, whatever the wording (20 runs per variant), and does not always produce the brief on "stop".mistral-medium-2604asks more questions per message than the original (5.4?against 2.1). Four fixes were tested over 30 messages each, none helped, none is kept.automode ofaidd-orchestrator:01-sdlcis untouched:brainstormstill waits for an answer.🔗 Linked issue
Closes #1071
✅ I certify
🤖 Generated with Claude Code