feat(subagents): add Reasonix native subagents adapter#2249
Open
dyoshikawa wants to merge 1 commit into
Open
Conversation
Reasonix supports native subagents as Skill profiles: directory-layout `.reasonix/skills/<name>/SKILL.md` files whose frontmatter declares `invocation: manual` and `runAs: subagent`. Add a ReasonixSubagent adapter (modeled on the directory-per-agent Devin adapter), register it in the subagents tuple/factory map, and wire the e2e project + global matrices, tables, and docs. The reasonix tool-specific block passes through model/effort/allowed-tools/color; the loose schema preserves unknown upstream keys on round-trip. Primary source: https://github.com/esengine/DeepSeek-Reasonix/blob/main-v2/docs/SUBAGENT_PROFILES.md Closes #2235 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
Reasonix stores skills and subagents in the same directory/filename ( The adapter itself is complete and CI-green, but it needs marker-aware discovery + orphan-deletion on both this adapter and |
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.
Background
Reasonix supports native subagents, exposed as Skill profiles: directory-layout
.reasonix/skills/<name>/SKILL.mdfiles whose YAML frontmatter declaresinvocation: manualandrunAs: subagent. rulesync already had Reasonix adapters for rules, commands, MCP, permissions, hooks, and skills, butreasonixwas absent from the subagents feature, sorulesync generate --features subagentsskipped it.Primary source: SUBAGENT_PROFILES.md. The documented frontmatter is
name,description,color,invocation: manual,runAs: subagent,model,effort,allowed-tools.Change
ReasonixSubagentadapter (src/features/subagents/reasonix-subagent.ts), modeled on the directory-per-agent Devin adapter since the<name>/SKILL.mdlayout matches Devin's<name>/AGENT.md.invocation: manual/runAs: subagentmarkers on generate.model/effort/allowed-tools/colorthrough thereasonix:tool-specific block;z.looseObjectpreserves unknown upstream keys on round-trip..reasonix/skills/directory for project and global scope (supportsGlobal: true).toolSubagentFactoriesmap, e2e project + global matrices, processor test target lists, tables (README / supported-tools), andfile-formats.md(synced toskills/rulesync/).Verification
pnpm cicheck(code + content) green.src/e2e/e2e-subagents.spec.tsgreen (project + global generate paths produce.reasonix/skills/planner/SKILL.md).Closes #2235