Repository navigation
Conversation
d5f1309 to
bbd194a
Compare
|
Quick progress update on #992:
I've opened #994 to track the underlying plugin resource-resolution limitation separately, without expanding the scope of this PR. I'll keep #992 in Draft until the remaining work is addressed. |
|
The implementation is ready for maintainer review. The shared rule publisher is now integrated (#979 is no longer blocking), and CI is green, including Kilo 7.7.5 Linux E2E, Windows CLI, mutation tests, and CodeQL. I'd appreciate your feedback on three points:
Beyond Kilo-native generation, this PR includes:
The first changes support Kilo integration and existing host compatibility. The "skill-eval" extensions are less directly related. Would you prefer to keep everything together or extract the independent changes into a follow-up PR?
AC16 requires an official source and the September 25, 2026 verification date for every Kilo path claim. I centralized the references in "official-sources.md" (https://github.com/ai-driven-dev/framework/blob/ccd32e3bd9075cce43be6bea4a7bb1c60a14e6dd/aidd_docs/tasks/2026_10/2026_10_10_kilo-native-generation-914/official-sources.md), recording the actual October 13 re-verification rather than claiming independent evidence for September 25. Does this centralized approach satisfy AC16's intent?
"CONTRIBUTING.md" requires testing with Claude and another tool. I don't have a Claude subscription or budget for paid API usage. However, an authenticated Codex CLI 0.162.1 run successfully generated a native Kilo skill using AIDD, and a subsequent Kilo 7.8.8 Linux runtime test verified discovery, loading, and payload consumption. This is a scoped validation, not a full "skill-eval" suite pass. Would you accept this Codex/Kilo evidence as an exception to the Claude requirement, or could a maintainer perform the Claude validation? Follow-up issues Three follow-up issues are tracked separately:
None of these issues is claimed as resolved here. Other validation limitations are documented in the PR description. Thanks for your guidance before merging! |
c0f51a1 to
5f2fcb0
Compare
|
Progress update PR #992 has been rebased onto Changes completed:
Validation: All applicable CI checks pass on the latest PR HEAD, including the targeted Kilo validations. The following maintainer decisions remain open:
The remaining acceptance-criteria gaps and follow-up issues are documented in the PR description. Thanks for reviewing! |
blafourcade
left a comment
There was a problem hiding this comment.
I think this PR is doing too much at once. Please keep it focused on Kilo support and move the unrelated skill-eval, memory and hook changes into separate PRs.
Project memory is currently being rewritten in full. Keeping another memory refactor here risks conflicts or losing some of your changes during integration. Please extract those changes and coordinate them with that rewrite, keeping only what is strictly required for Kilo in this PR.
Once the scope is reduced, please rebase on next so we can review the Kilo changes on their own.
3c5d574 to
37ae9aa
Compare
|
@blafourcade — PR #992 is ready for another review. Since your November 5 feedback, the implementation has been narrowed to Kilo-native support and synchronized with the An additional code review identified no outstanding blocking issues. It did catch a test-cleanup issue: temporary hook fixtures could be left behind when waiting for a hook process failed. That issue has been fixed, with deterministic regression tests covering cleanup and error propagation. Latest verification
The PR description now focuses on the implemented behavior and its documented limitations. The verification record explains the evidence for the issue's acceptance criteria and what still has only partial validation (in particular, fixture-based testing does not amount to a full real-LLM evaluation). Could you take another look when convenient? Thanks! |
Keep the shared agent support contract visible while documenting Kilo’s global agent location and removing redundant detection guidance. Refs ai-driven-dev#914
Heads-up: potential overlap with #1226 and #1233While reviewing the open PRs against #992, I noticed two upcoming refactors that overlap with the Kilo-native generation work:
Both refactors are valuable and their direction is compatible with #992. My concern is preserving the Kilo behavior and acceptance criteria when these changes converge. Since #992 is ready for review and both refactors are still in Draft, would it make sense to review and merge #992 first, then have #1226 and #1233 integrate its Kilo-specific contracts? Alternatively, I'm happy to coordinate another integration order if preferred. The goal is simply to avoid losing supported Kilo behavior during the refactors and minimize repeated conflict resolution. Thanks! |
|
Heads-up before a rebase: two open refactors replace files this PR edits.
So 🤖 Generated with Claude Code |
|
Thanks for the heads-up! I agree with the proposed approach. I'll wait for #1226 and #1233 to merge before rebasing #992. I'll then adapt the Kilo implementation to the new shared architecture, using #914's acceptance criteria to ensure existing functionality is preserved, including detection, native generation, configuration handling, and regression coverage. Thanks for coordinating! |
|
Hi @blafourcade, #992 is ready for another review. I've integrated #1226 and #1233 into the new lean generator architecture while preserving the Kilo-specific behavior required by #914. All CI checks are green, including CodeQL and Kilo runtime tests on Linux, Windows, and macOS. All review threads are resolved. The remaining validation limitations (AC1 and AC3) are documented in Thanks for taking another look! |
blafourcade
left a comment
There was a problem hiding this comment.
Thank you for this work, and especially for coordinating with the two generator refactors and folding Kilo into the new writers. The core is valuable: Kilo detection, AGENTS.md wiring, the native .kilo/agents and .kilo/commands paths, and well-tested agent and command fields.
Reviewed at head 36f196e8b against current next. The branch is based on an older next, so the green CI here does not yet say much about the merge. On this tree, the 8 touched scripts/__tests__ files pass and check-doc-duplication.js passes.
Before merge (blocking)
1. Rebase on next (8 conflicts, 2 of them against files next deleted). git merge-tree origin/next HEAD conflicts on .github/workflows/cli-ci.yml, cli/package.json, plugins/aidd-context/CATALOG.md, plugins/aidd-context/hooks/memory.cjs, 04-skill-generate/assets/scope-frame.md and scripts/__tests__/memory-sync.test.js. cli/tests/e2e/kilo-runtime.e2e.test.ts and scripts/__tests__/memory-skill-files.test.js no longer exist on next, which replaced test:e2e:kilo with smoke:kilo (cli/package.json, and CI runs pnpm smoke:kilo). Suggestion: drop the CLI e2e rewrite, the 3-OS matrix and cli/scripts/run-vitest-with-env.mjs, extend smoke-kilo.sh only if something is still missing, and take next's side for CATALOG.md before regenerating it.
2. Kilo hook generation is removed in the docs while it still works. 08-hook-generate/actions/01-frame.md now says not to generate hooks for Kilo, but write-hook.cjs renders Kilo gateways at .kilo/plugin/<name>.js, and the CLI's Kilo profile (cli/src/composition/tool-profiles/kilo.ts) ships session.created, tool.execute.after and session.idle with a loader in .kilo/plugin/. The same PR keeps the "OpenCode, Kilo" column in 08-hook-generate/references/hosts.md. Suggestion: revert both hook-generate edits.
3. Path-scoped rules regress for Kilo. write-rule.cjs now refuses paths when the targets include kilo, where next wrote a soft scope line for every config host. Because collectItems runs validateRule on every source during --publish, one scoped rule that targets kilo makes the whole publish refuse for every host. The existing tests were edited to strip paths ("a body without a final newline", "CRLF", "kilo gets rule copies"). Suggestion: keep Kilo on the shared config route with the scope line, and revert those test edits.
Keep Kilo on the shared routes
4. Two ways to register a rule in a host config. Next already handles Kilo through HOSTS.kilo.config consumed by planConfig. The PR adds a parallel route (planKiloConfigs, a Kilo-only branch in applyPlan, and kilo-config.cjs with its own JSONC parser), while OpenCode, which reads the same JSONC shape, keeps the shared route. If preserving JSONC comments is the goal, improving planConfig once for every config host would serve both.
5. The safe AGENTS.md write is duplicated and gated on Kilo. kiloProject, kiloSnapshot and writeKilo in hooks/memory.cjs, and wireKiloContext in project-memory.cjs, copy tryWrite and wireContext. AGENTS.md is shared by codex, cursor, opencode, antigravity and copilot too, so hardening belongs to all of them in its own PR, or to none. Suggestion: keep kilo: "AGENTS.md" in TOOL_FILES and drop the rest here.
6. Inputs nobody has observed. The dev/ino/mode/hash snapshots, nlink checks, mid-publish re-inspection, staged temp files, rollback and recovery copies handle cases no real run has shown, and the PR description notes they still do not give atomicity. The project rule (aidd_docs/memory/coding-assertions.md) is to state such cases as limits rather than code them.
7. Align with the CLI's Kilo contract.
- Config choice: the CLI prefers the
.kilo/tier, then the root, and fails only when json and jsonc sit at the same level (kilo.ts,mcp-section.ts). Using the same rule removes the need for--kilo-config. - Rule layout: the CLI places Kilo rules flat and registers one glob; the PR nests
.kilo/rules/<category>/<slug>.mdwith oneinstructionsentry per rule. - Fields: the CLI keeps
description,modelandvariantfor agents andname,descriptionfor commands. The addedtemperature,permission, commandvariantandsubtaskneed a Kilo doc citation each, and both sides aligned, or should be dropped.
8. Dates in shipped docs. "verified 2026-09-25" appears in 8 plugin files and is asserted by context-kilo-generation-contracts.test.js. The repository rule is no dates in code, docs or tests; the source URL is enough.
9. Kilo is hardcoded in about ten places (--kilo-config, the validateRule branch, planKiloConfigs, kilo-config.cjs, two memory scripts, the detection tables, two SIGNALS constants in tests). After 4 and 5, Kilo becomes one row per writer HOSTS table and one row per hosts.md, and Kiro and Kimi can follow the same way.
10. Tests that cannot fail on a writer change. context-kilo-generation-contracts.test.js matches regexes against doc wording, and context-kilo-native-artifacts.test.js checks hand-written fixtures against themselves. The cli/tests/e2e/fixtures/kilo-native-generation skills and agents duplicate scripts/__tests__/fixtures/context-generation. The writer tests for agent and command fields are the real proof and are good.
11. Scope. 108 files and +4602 lines, including task documents under aidd_docs/tasks/, the CI matrix and the memory hardening. A PR with the Kilo rows, TOOL_FILES and the agent and command fields with their tests would be much quicker to review and merge.
Smaller points
write-rule.cjsfailureOfnow maps any error toEIO; next rethrew programming errors.- Detection rows list
.kilo/kilo.jsonand.kilo/kilo.jsoncbeside.kilo/, which already covers them. - The "AGENTS.md alone does not identify Kilo" paragraph is repeated in 5 files and contradicts "every host reads AGENTS.md, so it signals none"; the table row is enough.
tool-write.mdrestates the 150-character limit thatcheck-skill.cjsowns.- Column-alignment churn in
tool-detect.mdand a trailing-line edit inskill-authoring.md.
Happy to help shape the smaller PR. Once Kilo sits on the shared routes, adding Kiro and Kimi to the generators becomes a short follow-up.
🤖 Generated with Claude Code
… kimi in the generators (#1371) * feat(aidd-context): write for kiro and kimi and detect kilo, kiro and kimi in the generators Takes over the intent of #992 on the shared routes: each host is one row in each writer's HOSTS table and in each hosts.md. The agent writer writes .kiro/agents/<name>.md and .kimi-code/agents/<name>.md, the memory wiring links kilo, kiro and kimi to AGENTS.md, and the agent contract scope covers Kimi agents beside Kiro's. Not carried from #992: the Kilo agent temperature and permission fields and the command variant and subtask fields. The CLI's Kilo profile carries only description, model and variant for agents, and no Kilo document was cited for the rest. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(aidd-context): keep the agent hosts table free of a new prose limit Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(aidd-context): write rules for kiro and kimi and agent tools for antigravity Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
Thank you @waewoo. Your work on Kilo in the aidd-context generators now ships in #1371, on the shared writer routes, and you are credited there. In that PR, Kilo is one row per writer HOSTS table and per hosts.md, and Kiro and Kimi were added the same way. The review posted here explains what was not carried over. Closing this one in favour of #1371. |
|
Thanks for integrating my Kilo contribution into #1371 and for the credit. I appreciate the move toward a simpler shared architecture. After comparing #1371 with #914, I noticed that several original acceptance criteria are no longer fully covered, particularly legacy ".kilocode/" detection, rule publication and JSONC configuration handling (AC6–AC8), and some optional agent/command fields. Since #914 is still open, could we clarify which requirements are intentionally superseded and which should be tracked as follow-up work? I also think this highlights an opportunity to improve the AIDD contribution workflow:
For example:
Ideally, such differences would be identified before implementation or during planning, rather than after several rounds of rework. Would it be worth tracking this improvement in one or more dedicated issues, potentially reusing the existing SDLC and review mechanisms? Thanks again for your work on the integration! |
|
Thanks, @waewoo. We should have made clear which parts of #914 still applied when we integrated your contribution in #1371. For AC6, I’d update #914 to reflect the flat Draft PR #1424 covers AC8 and part of AC7. The rule writer preserves JSONC comments, duplicate entries, order, trailing commas, and unrelated formatting. When several config files exist and none contains the glob, it asks which one to edit. Two details are still open under AC7. The candidates are listed root-first, and when there’s no config, the writer creates The draft also recognizes Thanks for opening #1421. I’d start with one change to the existing planning step. When a criterion conflicts with a current repo rule or architecture decision, cite both and get a maintainer decision before coding if resolving the conflict changes the agreed outcome. That would have surfaced both examples you raised. |
🎯 What & why
Adds native Kilo Code targets to
aidd-contextso Kilo projects can use AIDD onboarding, shared project memory, and rule, skill, agent, and workflow generation. Addresses #914.🛠️ What changes
.kilocode/, without treating sharedAGENTS.mdor OpenCode configuration alone as proof of Kilo use. Integrates Kilo with the shared project-memory script, targeting rootAGENTS.mdwhile preserving user content and idempotence..kilo/rules/<category>/<slug>.mdand registers exact relative paths in the selected project Kilo config'sinstructions. Preserves existing config content and order, rejects conflicting explicit--kilo-configselections, and refuses unsupported path-scoped Kilo rules..kilo/skills/<name>/content. Portable.agents/skills/<name>/output requires explicit user agreement. The shared AIDD validator restricts descriptions to 150 characters, even though Kilo itself supports up to 1,024..kilo/agents/<name>.mdand.kilo/commands/<name>.mdfollowing documented Kilo conventions.Relevant contracts: tool detection · rule publication · skill targets.
🧪 How to verify
cd cli pnpm test:e2e:kilo pnpm test:e2e:kilo:nativeCI also exercises the Kilo runtime smoke tests on Ubuntu, Windows, and macOS Intel, alongside the repository's validation, typecheck, security, and regression suites.
The verification record maps available evidence and limitations against the 16 acceptance criteria of #914. Its linked runs are historical; current results appear in the PR checks and review-handoff comments.
🔗 Linked issue
Refs #914
✅ I certify