Skip to content

feat(cli): add Kilo Code support - #745

Draft
waewoo wants to merge 1 commit into
ai-driven-dev:nextfrom
waewoo:feat/kilo-code-support
Draft

feat(cli): add Kilo Code support#745
waewoo wants to merge 1 commit into
ai-driven-dev:nextfrom
waewoo:feat/kilo-code-support

Conversation

@waewoo

@waewoo waewoo commented Sep 2, 2026

Copy link
Copy Markdown

🎯 What & why

Add native Kilo Code support so AIDD can be installed and released for Kilo instead of relying on the OpenCode layout that Kilo no longer discovers.

🛠️ How it works

The new Kilo tool adapter maps skills, agents, commands, rules, MCP configuration, and flat plugins to .kilo/ and kilo.json. A dedicated flat build contract namespaces skills and subagents, merges MCP servers, and feeds a new kilo:flat release cell. The README documents the generated archive and installation flow.

🧪 How to verify

  • pnpm --dir cli typecheck
  • pnpm --dir cli lint
  • Run the 128 targeted unit tests covering Kilo, registries, assets, catalogs, and setup.
  • pnpm --dir cli test:e2e tests/golden/framework-build-golden.e2e.test.ts
  • Build kilo:flat, then run Kilo CLI debug skill and agent list; the smoke project discovers 47 skills and both AIDD subagents.

🔗 Linked issue

Closes #744

✅ I certify

  • I DO CERTIFY I READ EACH LINE OF THE PULL REQUEST BECAUSE I AM A SOFTWARE ENGINEER, NOT A AI PUPPY.

@waewoo
waewoo force-pushed the feat/kilo-code-support branch from 7b4d03b to ec67353 Compare September 2, 2026 12:03
@waewoo

waewoo commented Sep 2, 2026

Copy link
Copy Markdown
Author

Hi, and apologies for opening this pull request prematurely.
I realize now that I should have waited for the related issue to be reviewed and validated by a Certified Member or Maintainer, and for its status to be moved to Todo, before opening a PR.
I will of course wait for the issue to be validated and moved to Todo before proceeding further. Please consider this PR as an early draft opened ahead of the expected process.
Sorry for not following the contribution workflow, and thank you for your understanding.

@waewoo
waewoo force-pushed the feat/kilo-code-support branch from ec67353 to 2fa0688 Compare September 6, 2026 07:18
@waewoo

waewoo commented Sep 6, 2026

Copy link
Copy Markdown
Author

Follow-up scope: rules and commands

This draft only adds Kilo as a flat-build target. It deliberately retains the existing global framework-build decision for plugin rules/ and commands: every target currently warns and skips them.

That was an intentional YAGNI choice, recorded in the flat-build design: at the time, the framework shipped no plugin source in either directory. It was therefore not an omission specific to Kilo.

The situation is worth revisiting separately because aidd-context now guides users to generate rules and commands. Two follow-up issues will cover (1) Kilo/current-OpenCode guidance in those generators and (2) emitting those artifacts from OpenCode/Kilo flat archives.

This PR remains a draft and has not been reviewed, approved, or merged; neither follow-up assumes that it will be accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants