Repository navigation
feat(aidd-context): generate host-native options - #1424
Draft
blafourcade wants to merge 7 commits into
Draft
blafourcade wants to merge 7 commits into
blafourcade wants to merge 7 commits into
Conversation
Keep native options attached to the selected tool and preserve installed writer behavior. Update rule configuration without rewriting existing JSONC text. Refs #914
Pin the native rule option and command validation contracts carried by installed context hooks.
Keep generation actions focused on their workflow. Put host-specific instructions in references and let writers serialize requested options while protecting managed fields.
1 task done
Create the default config under .kilo and list ambiguous existing candidates by Kilo precedence. Refuse unwritable updates before any rule files change. Refs #914
16 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
Let all five context generators carry host-native options through to the files users run. This covers the remaining Kilo generation cases discussed in #914.
🛠️ How it works
.kilocode/triggers detection and generation still uses.kilo/. The shared rule writer keeps flat rules and one glob. It adds the glob to JSONC while preserving comments and existing instruction order, and asks the user to choose when several config files qualify. Rule config selection🧪 How to verify
node scripts/check-tests-leave-git-alone.js -- node --test 'scripts/__tests__/**/*.test.js'for generator and contract regressions. It passed 2,811 tests.pnpm --dir cli exec vitest run tests/contexts/tools/hooks-routes.integration.test.tsto compare the installed contracts with their fixtures. All 63 cases passed.For hosts other than Kilo, verification covers generated files and distribution fixtures. Runtime behavior remains unverified.
🔗 Linked issue
Refs #914
✅ I certify