You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds MiniMax Code (an AI coding assistant CLI, binary mcode) as a supported Spec Kit integration under the canonical key mcode.
MiniMax Code discovers project skills natively at .minimax/skills/<skill-name>/SKILL.md (runtime source workspace-minimax, priority 65) and invokes them via its slash shortcut (/speckit-<command>). This wires it up as a SkillsIntegration with its own isolated .minimax/skills layout (multi_install_safe=True).
Headless dispatch uses mcode exec "<prompt>", with optional --model and --output-format json support, verified against mcode exec --help.
Setup: specify init ... --integration mcode --non-interactive --script sh
PASS — mcode executable detected on PATH (no --ignore-agent-tools needed); scaffolded 10 skills under .minimax/skills/speckit-*/SKILL.md; next steps correctly rendered dash-notation slash commands /speckit-constitution, /speckit-specify, /speckit-plan, etc.
Runtime skill discovery: mcode exec "What skills are available in this project?"
PASS — MiniMax Code actively scanned .minimax/skills/ and listed all local Spec Kit workflow skills (speckit-specify, speckit-clarify, speckit-plan, speckit-tasks, etc.) as project-local skills.
T1: mcode exec --permission full "/speckit-specify Add health check endpoint with uptime and memory metrics"
PASS — Full agent workflow execution verified: MiniMax Code discovered /speckit-specify, ran the feature allocation script, generated specs/001-health-check-endpoint/spec.md, completed checklists/requirements.md, and persisted feature state to .specify/feature.json.
T2: specify integration search mcode
PASS — found MiniMax Code (mcode) v1.0.0 with tags cli, skills.
The single failure, test_ps_variant_prefixed_with_powershell_launcher, is unrelated to this PR and is caused by the absence of pwsh/powershell on macOS.
AI Disclosure
I did not use AI assistance for this contribution
I did use AI assistance (fill in the disclosure below)
AI disclosure: Prepared with AI assistance. ChatGPT (GPT-5.6 Sol) was used to review the integration design, validate the Spec Kit and MiniMax Code architecture, and identify the relevant integration surfaces. Antigravity (Gemini 3.8 Flash, High, autonomous) was used on behalf of @philo-x for implementation, test authoring, end-to-end mcode workflow verification, and documentation alignment.
…b#4644)
MiniMax Code is an AI coding assistant (binary: mcode). It discovers
project skills from .minimax/skills/<skill-name>/SKILL.md and invokes them
via the /speckit-<command> slash shortcut, so wire it up as a
SkillsIntegration with its own isolated .minimax/ directory
(multi_install_safe=True).
Closesgithub#4644
Includes registry wiring, invocation-style mapping, init next-steps,
discovery catalog, integrations doc, agent-context default (AGENTS.md),
issue templates, and a dedicated test module.
Assisted-by: Antigravity (model: Gemini 3.8 Flash (High), autonomous)
Follow-up commit 45afe5ac adds mcode to the existing hook-rendering matrix for both ai_skills=True and False, bumps agent-context to 1.0.1 in both its manifest and catalog, and removes the trailing blank line.
Validation: 140 passed, 1 skipped across the slash matrix/Zed, mcode, agent config consistency, and extension version guard contract tests. The extension version guard and git diff --check against the PR base also pass. Ruff was unavailable locally.
Please re-run Copilot review on 45afe5ac. The pending CI workflows are currently awaiting approval.
Posted on behalf of @philo-x by Codex (model: GPT-6, autonomous). This follow-up implementation, validation, and comment were AI-generated; comment fully AI-drafted.
The new mcode self-seeding path is not exercised by the agent-context tests: the existing defaults-map tests use only codex/claude. Add mcode to the self-seed parity coverage and assert that the Bash, Python, and PowerShell implementations select AGENTS.md; otherwise a typo in this entry can pass the reported suite while leaving the extension with no target file.
Use a valid provider/model reference for MiniMax Code
tests/integrations/test_integration_mcode.py:54
Use a valid MiniMax Code model reference here. mcode exec --model requires provider/model (or provider/model#variant), so MiniMax-Text-01 would be rejected by the CLI; this test currently proves only string passthrough rather than usable model dispatch.
This branch has not been deployed
No deployments
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
triage-can-waitVerdict: valid and in-scope but deprioritized; held behind the evidence gate
3 participants
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.
Description
Adds MiniMax Code (an AI coding assistant CLI, binary
mcode) as a supported Spec Kit integration under the canonical keymcode.MiniMax Code discovers project skills natively at
.minimax/skills/<skill-name>/SKILL.md(runtime sourceworkspace-minimax, priority 65) and invokes them via its slash shortcut (/speckit-<command>). This wires it up as aSkillsIntegrationwith its own isolated.minimax/skillslayout (multi_install_safe=True).Headless dispatch uses
mcode exec "<prompt>", with optional--modeland--output-format jsonsupport, verified againstmcode exec --help.Closes #4644
Test selection reasoning
src/specify_cli/integrations/mcode/__init__.py(+ registry wiring)mcodeintegration,specify initscaffolding/speckit.specifysrc/specify_cli/_invocation_style.pysrc/specify_cli/commands/init.pyspecify initnext-steps outputintegrations/catalog.jsonspecify integration search/infodiscoverydocs/reference/integrations.md, issue templates,agent-context-defaults.jsonRequired tests
/speckit.specify(invoked as/speckit-specify) — newmcodeintegration install path + init scaffolding + live agent skill executionspecify integration search mcode— catalog discoveryspecify integration info mcode— catalog metadataManual test results
Agent: MiniMax Code (
mcode0.4.12 via@minimax-ai/code@latest) | OS/Shell: macOS 15.6 / zshspecify init ... --integration mcode --non-interactive --script shmcodeexecutable detected on PATH (no--ignore-agent-toolsneeded); scaffolded 10 skills under.minimax/skills/speckit-*/SKILL.md; next steps correctly rendered dash-notation slash commands/speckit-constitution,/speckit-specify,/speckit-plan, etc.mcode exec "What skills are available in this project?".minimax/skills/and listed all local Spec Kit workflow skills (speckit-specify,speckit-clarify,speckit-plan,speckit-tasks, etc.) as project-local skills.mcode exec --permission full "/speckit-specify Add health check endpoint with uptime and memory metrics"/speckit-specify, ran the feature allocation script, generatedspecs/001-health-check-endpoint/spec.md, completedchecklists/requirements.md, and persisted feature state to.specify/feature.json.specify integration search mcodeMiniMax Code (mcode) v1.0.0with tagscli,skills.specify integration info mcodeMiniMax Code (mcode) v1.0.0, authorspec-kit-core,Built-in integration.Log excerpt: MiniMax Code execution of /speckit-specify (T1)
Automated test results
Ran with
.venv/bin/python -m pytestper CONTRIBUTING guidance.Integration & consistency suites
Result: 896 passed in 48.11s.
Full test suite
Result: 8,079 passed, 207 skipped, 1 failed.
The single failure,
test_ps_variant_prefixed_with_powershell_launcher, is unrelated to this PR and is caused by the absence ofpwsh/powershellon macOS.AI Disclosure
AI disclosure: Prepared with AI assistance. ChatGPT (GPT-5.6 Sol) was used to review the integration design, validate the Spec Kit and MiniMax Code architecture, and identify the relevant integration surfaces. Antigravity (Gemini 3.8 Flash, High, autonomous) was used on behalf of @philo-x for implementation, test authoring, end-to-end
mcodeworkflow verification, and documentation alignment.