* feat(#2454): PR 2 — kimi-code Agent Skills converter + install layout PR 1 registered the kimi-code EoS descriptor with empty artifactLayout (SKIP_INSTALL_CONTRACT excluded it from the end-to-end install test). PR 2 fills in the install surface: - src/runtime-artifact-conversion.cts: new convertClaudeCommandToKimiCodeSkill function. Today it delegates to convertClaudeCommandToKimiSkill (Python kimi-cli) because Kimi Code uses the same Agent Skills format + /skill: invocation per official docs. The distinct function name lets a future divergence land cleanly if Kimi Code's skill format evolves independently. - gsd-core/bin/lib/capability-validator.cjs: add to ALLOWED_SKILLS_CONVERTERS. - capabilities/kimi-code/capability.json: artifactLayout.global now declares the skills kind with converter='convertClaudeCommandToKimiCodeSkill' + home='.kimi-code' (auto-discovered at ~/.kimi-code/skills/ per Kimi Code docs: merge_all_available_skills = true default). - tests/installer-migration-install.integration.test.cjs: REMOVE the SKIP_INSTALL_CONTRACT exclusion — kimi-code now has a full install surface. - Regenerated capability-registry + capability-matrix + golden install parity + install tree fixtures for kimi-code. * fix(#2454): wire kimi-code converter into SKILLS_CONVERTER_REGISTRY + count bump - src/install-engine.cts: add convertClaudeCommandToKimiCodeSkill to SKILLS_CONVERTER_REGISTRY so the layout-driven skills install path can dispatch off the descriptor's converter string. - tests/capability-registry.test.cjs: bump VALID_CONVERTER_NAMES count 26 → 27 (added convertClaudeCommandToKimiCodeSkill). * fix(#2454): remove home override from kimi-code skills (inherit configDir) The home:'.kimi-code' override made the install plan resolve skills dest to ~/.kimi-code/skills instead of <configDir>/skills, causing the test's temp configDir to miss the install. Removing it lets skills inherit configDir like most runtimes. * fix(#2454): kimi-code install contract surface is flat-skills (no agents) Kimi Code has NO custom named subagents (per official docs: 3 built-in coder/explore/plan only). The kimi-skills-agents surface expects agents/ gsd.yaml + subagents/*.yaml which kimi-code does not produce. Changed to flat-skills which only checks for skills/gsd-* dirs. * docs(changeset): Phase 2 kimi-code install layout Added (#2509) * docs(changeset): backfill PR #2520 for Phase 2 (#2509)
This commit is contained in:
144
tests/fixtures/install-tree/kimi-code.json
vendored
144
tests/fixtures/install-tree/kimi-code.json
vendored
@@ -63,77 +63,6 @@
|
||||
"agents/gsd-ui-researcher.md",
|
||||
"agents/gsd-user-profiler.md",
|
||||
"agents/gsd-verifier.md",
|
||||
"commands/gsd-add-tests.md",
|
||||
"commands/gsd-ai-integration-phase.md",
|
||||
"commands/gsd-audit-fix.md",
|
||||
"commands/gsd-audit-milestone.md",
|
||||
"commands/gsd-audit-uat.md",
|
||||
"commands/gsd-autonomous.md",
|
||||
"commands/gsd-capture.md",
|
||||
"commands/gsd-cleanup.md",
|
||||
"commands/gsd-code-review.md",
|
||||
"commands/gsd-complete-milestone.md",
|
||||
"commands/gsd-config.md",
|
||||
"commands/gsd-debug.md",
|
||||
"commands/gsd-discuss-phase.md",
|
||||
"commands/gsd-docs-update.md",
|
||||
"commands/gsd-eval-review.md",
|
||||
"commands/gsd-execute-phase.md",
|
||||
"commands/gsd-explore.md",
|
||||
"commands/gsd-extract-learnings.md",
|
||||
"commands/gsd-fast.md",
|
||||
"commands/gsd-forensics.md",
|
||||
"commands/gsd-graphify.md",
|
||||
"commands/gsd-health.md",
|
||||
"commands/gsd-help.md",
|
||||
"commands/gsd-import.md",
|
||||
"commands/gsd-inbox.md",
|
||||
"commands/gsd-ingest-docs.md",
|
||||
"commands/gsd-manager.md",
|
||||
"commands/gsd-map-codebase.md",
|
||||
"commands/gsd-mempalace-capture.md",
|
||||
"commands/gsd-mempalace-recall.md",
|
||||
"commands/gsd-milestone-summary.md",
|
||||
"commands/gsd-mvp-phase.md",
|
||||
"commands/gsd-new-milestone.md",
|
||||
"commands/gsd-new-project.md",
|
||||
"commands/gsd-next.md",
|
||||
"commands/gsd-ns-context.md",
|
||||
"commands/gsd-ns-ideate.md",
|
||||
"commands/gsd-ns-manage.md",
|
||||
"commands/gsd-ns-project.md",
|
||||
"commands/gsd-ns-review.md",
|
||||
"commands/gsd-ns-workflow.md",
|
||||
"commands/gsd-onboard.md",
|
||||
"commands/gsd-pause-work.md",
|
||||
"commands/gsd-phase.md",
|
||||
"commands/gsd-plan-phase.md",
|
||||
"commands/gsd-plan-review-convergence.md",
|
||||
"commands/gsd-pr-branch.md",
|
||||
"commands/gsd-profile-user.md",
|
||||
"commands/gsd-progress.md",
|
||||
"commands/gsd-quick.md",
|
||||
"commands/gsd-resume-work.md",
|
||||
"commands/gsd-review-backlog.md",
|
||||
"commands/gsd-review.md",
|
||||
"commands/gsd-secure-phase.md",
|
||||
"commands/gsd-settings.md",
|
||||
"commands/gsd-ship.md",
|
||||
"commands/gsd-sketch.md",
|
||||
"commands/gsd-spec-phase.md",
|
||||
"commands/gsd-spike.md",
|
||||
"commands/gsd-stats.md",
|
||||
"commands/gsd-surface.md",
|
||||
"commands/gsd-thread.md",
|
||||
"commands/gsd-ui-phase.md",
|
||||
"commands/gsd-ui-review.md",
|
||||
"commands/gsd-ultraplan-phase.md",
|
||||
"commands/gsd-undo.md",
|
||||
"commands/gsd-update.md",
|
||||
"commands/gsd-validate-phase.md",
|
||||
"commands/gsd-verify-work.md",
|
||||
"commands/gsd-workspace.md",
|
||||
"commands/gsd-workstreams.md",
|
||||
"gsd-core/.gsd-runtime",
|
||||
"gsd-core/VERSION",
|
||||
"gsd-core/bin/check-latest-version.cjs",
|
||||
@@ -435,5 +364,76 @@
|
||||
"scripts/gen-capability-registry.cjs",
|
||||
"scripts/gen-loop-host-contract.cjs",
|
||||
"scripts/lib/allowlist-ratchet.cjs",
|
||||
"scripts/lib/cli-exit.cjs"
|
||||
"scripts/lib/cli-exit.cjs",
|
||||
"skills/gsd-add-tests/SKILL.md",
|
||||
"skills/gsd-ai-integration-phase/SKILL.md",
|
||||
"skills/gsd-audit-fix/SKILL.md",
|
||||
"skills/gsd-audit-milestone/SKILL.md",
|
||||
"skills/gsd-audit-uat/SKILL.md",
|
||||
"skills/gsd-autonomous/SKILL.md",
|
||||
"skills/gsd-capture/SKILL.md",
|
||||
"skills/gsd-cleanup/SKILL.md",
|
||||
"skills/gsd-code-review/SKILL.md",
|
||||
"skills/gsd-complete-milestone/SKILL.md",
|
||||
"skills/gsd-config/SKILL.md",
|
||||
"skills/gsd-debug/SKILL.md",
|
||||
"skills/gsd-discuss-phase/SKILL.md",
|
||||
"skills/gsd-docs-update/SKILL.md",
|
||||
"skills/gsd-eval-review/SKILL.md",
|
||||
"skills/gsd-execute-phase/SKILL.md",
|
||||
"skills/gsd-explore/SKILL.md",
|
||||
"skills/gsd-extract-learnings/SKILL.md",
|
||||
"skills/gsd-fast/SKILL.md",
|
||||
"skills/gsd-forensics/SKILL.md",
|
||||
"skills/gsd-graphify/SKILL.md",
|
||||
"skills/gsd-health/SKILL.md",
|
||||
"skills/gsd-help/SKILL.md",
|
||||
"skills/gsd-import/SKILL.md",
|
||||
"skills/gsd-inbox/SKILL.md",
|
||||
"skills/gsd-ingest-docs/SKILL.md",
|
||||
"skills/gsd-manager/SKILL.md",
|
||||
"skills/gsd-map-codebase/SKILL.md",
|
||||
"skills/gsd-mempalace-capture/SKILL.md",
|
||||
"skills/gsd-mempalace-recall/SKILL.md",
|
||||
"skills/gsd-milestone-summary/SKILL.md",
|
||||
"skills/gsd-mvp-phase/SKILL.md",
|
||||
"skills/gsd-new-milestone/SKILL.md",
|
||||
"skills/gsd-new-project/SKILL.md",
|
||||
"skills/gsd-next/SKILL.md",
|
||||
"skills/gsd-ns-context/SKILL.md",
|
||||
"skills/gsd-ns-ideate/SKILL.md",
|
||||
"skills/gsd-ns-manage/SKILL.md",
|
||||
"skills/gsd-ns-project/SKILL.md",
|
||||
"skills/gsd-ns-review/SKILL.md",
|
||||
"skills/gsd-ns-workflow/SKILL.md",
|
||||
"skills/gsd-onboard/SKILL.md",
|
||||
"skills/gsd-pause-work/SKILL.md",
|
||||
"skills/gsd-phase/SKILL.md",
|
||||
"skills/gsd-plan-phase/SKILL.md",
|
||||
"skills/gsd-plan-review-convergence/SKILL.md",
|
||||
"skills/gsd-pr-branch/SKILL.md",
|
||||
"skills/gsd-profile-user/SKILL.md",
|
||||
"skills/gsd-progress/SKILL.md",
|
||||
"skills/gsd-quick/SKILL.md",
|
||||
"skills/gsd-resume-work/SKILL.md",
|
||||
"skills/gsd-review-backlog/SKILL.md",
|
||||
"skills/gsd-review/SKILL.md",
|
||||
"skills/gsd-secure-phase/SKILL.md",
|
||||
"skills/gsd-settings/SKILL.md",
|
||||
"skills/gsd-ship/SKILL.md",
|
||||
"skills/gsd-sketch/SKILL.md",
|
||||
"skills/gsd-spec-phase/SKILL.md",
|
||||
"skills/gsd-spike/SKILL.md",
|
||||
"skills/gsd-stats/SKILL.md",
|
||||
"skills/gsd-surface/SKILL.md",
|
||||
"skills/gsd-thread/SKILL.md",
|
||||
"skills/gsd-ui-phase/SKILL.md",
|
||||
"skills/gsd-ui-review/SKILL.md",
|
||||
"skills/gsd-ultraplan-phase/SKILL.md",
|
||||
"skills/gsd-undo/SKILL.md",
|
||||
"skills/gsd-update/SKILL.md",
|
||||
"skills/gsd-validate-phase/SKILL.md",
|
||||
"skills/gsd-verify-work/SKILL.md",
|
||||
"skills/gsd-workspace/SKILL.md",
|
||||
"skills/gsd-workstreams/SKILL.md"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user