fix(ci): resolve all test failures + complete rename compat layer

Sisyphus-authored fixes across 15 files:

- plugin-identity: align CONFIG_BASENAME with actual config file name
- add-plugin-to-opencode-config: handle legacy→canonical name migration
- plugin-detection tests: update expectations for new identity constants
- doctor/system: fix legacy name warning test assertions
- install tests: align with new plugin name
- chat-params tests: fix mock isolation
- model-capabilities tests: fix snapshot expectations
- image-converter: fix platform-dependent test assertions (Linux CI)
- example configs: expanded with more detailed comments

Full suite: 4484 pass, 0 fail, typecheck clean.
This commit is contained in:
YeonGyu-Kim
2026-03-26 18:04:31 +09:00
parent e86edca633
commit 4efc181390
17 changed files with 635 additions and 308 deletions
+71 -33
View File
@@ -1,50 +1,88 @@
// oh-my-openagent coding-focused configuration
// Optimized for hands-on coding: Sisyphus + Hephaestus as primary workers.
// Uses stronger models for implementation, lighter models for support agents.
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json",
// Optimized for intensive coding sessions.
// Prioritizes deep implementation agents and fast feedback loops.
"agents": {
// Sisyphus with GPT 5.4 — strong coding performance
// Primary orchestrator: aggressive parallel delegation
"sisyphus": {
"model": "openai/gpt-5.4",
"variant": "high"
"model": "kimi-for-coding/k2p5",
"ultrawork": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"prompt_append": "Delegate heavily to hephaestus for implementation. Parallelize exploration.",
},
// Hephaestus with GPT-5.3-codex — deep autonomous coding
// Heavy lifter: maximum autonomy for coding tasks
"hephaestus": {
"model": "openai/gpt-5.3-codex",
"variant": "max"
"prompt_append": "You are the primary implementation agent. Own the codebase. Explore, decide, execute. Use LSP and AST-grep aggressively.",
"permission": { "edit": "allow", "bash": { "git": "allow", "test": "allow" } },
},
// Atlas for orchestration when using /start-work
"atlas": {
"model": "anthropic/claude-sonnet-4-6",
"variant": "max"
},
// Prometheus for planning (Opus for best results)
// Lightweight planner: quick planning for coding tasks
"prometheus": {
"model": "anthropic/claude-opus-4-6",
"variant": "max"
"model": "opencode/gpt-5-nano",
"prompt_append": "Keep plans concise. Focus on file structure and key decisions.",
},
// Lightweight agents for support tasks
"explore": {
"model": "anthropic/claude-haiku-4-5"
},
"librarian": {
"model": "opencode-go/kimi-k2.5"
}
// Debugging and architecture
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
// Fast docs lookup
"librarian": { "model": "github-copilot/grok-code-fast-1" },
// Rapid codebase navigation
"explore": { "model": "github-copilot/grok-code-fast-1" },
// Frontend and visual work
"multimodal-looker": { "model": "google/gemini-3.1-pro" },
// Plan review: minimal overhead
"metis": { "model": "opencode/gpt-5-nano" },
// Code review focus
"momus": { "prompt_append": "Focus on code quality, edge cases, and test coverage." },
// Long-running coding sessions
"atlas": {},
// Quick fixes and small tasks
"sisyphus-junior": { "model": "opencode/gpt-5-nano" },
},
"categories": {
"quick": {
"model": "anthropic/claude-sonnet-4-6",
"description": "Fast implementation tasks"
// Trivial changes: fastest possible
"quick": { "model": "opencode/gpt-5-nano" },
// Standard coding tasks: good quality, fast
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
// Complex refactors: best quality
"unspecified-high": { "model": "openai/gpt-5.3-codex" },
// Visual work
"visual-engineering": { "model": "google/gemini-3.1-pro", "variant": "high" },
// Deep autonomous work
"deep": { "model": "openai/gpt-5.3-codex" },
// Architecture decisions
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
},
// High concurrency for parallel agent work
"background_task": {
"defaultConcurrency": 8,
"providerConcurrency": {
"anthropic": 5,
"openai": 5,
"google": 10,
"github-copilot": 10,
"opencode": 15,
},
"deep": {
"model": "openai/gpt-5.4",
"variant": "high",
"description": "Complex multi-file changes"
}
}
},
// Enable all coding aids
"hashline_edit": true,
"experimental": { "aggressive_truncation": true, "task_system": true },
}
+54 -42
View File
@@ -1,59 +1,71 @@
// oh-my-openagent default configuration
// Copy this file to your project root as .opencode/oh-my-openagent.jsonc
// or to ~/.config/opencode/oh-my-openagent.jsonc for global config.
//
// The legacy name oh-my-opencode.jsonc is also supported.
{
// Agent model overrides
// Each agent can be configured with a specific model, variant, and prompt.
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json",
// Balanced defaults for general development.
// Tuned for reliability across diverse tasks without overspending.
"agents": {
// Sisyphus: Main worker agent. Handles coding, debugging, refactoring.
// Best with: Opus (strongest), Sonnet (good), GPT 5.4 (officially supported)
// Main orchestrator: handles delegation and drives tasks to completion
"sisyphus": {
"model": "anthropic/claude-sonnet-4-6"
"model": "anthropic/claude-opus-4-6",
"ultrawork": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
},
// Hephaestus: Deep autonomous worker, optimized for GPT models.
// Best with: GPT-5.3-codex (primary), GPT 5.4
// Deep autonomous worker: end-to-end implementation
"hephaestus": {
"model": "openai/gpt-5.3-codex"
"model": "openai/gpt-5.3-codex",
"prompt_append": "Explore thoroughly, then implement. Prefer small, testable changes.",
},
// Atlas: Orchestrator agent. Reads plans and delegates tasks to Sisyphus-Junior.
// Best with: Opus (recommended), GPT (has optimized prompt)
"atlas": {
"model": "anthropic/claude-sonnet-4-6"
},
// Prometheus: Strategic planner. Creates detailed work plans.
// Best with: Opus (recommended)
// Strategic planner: interview mode before execution
"prometheus": {
"model": "anthropic/claude-opus-4-6"
"prompt_append": "Always interview first. Validate scope before planning.",
},
// Explore: Codebase explorer (grep, file listing). Lightweight and fast.
"explore": {
"model": "anthropic/claude-haiku-4-5"
},
// Architecture consultant: complex design and debugging
"oracle": { "model": "openai/gpt-5.4", "variant": "high" },
// Librarian: External documentation and code search.
"librarian": {
"model": "anthropic/claude-haiku-4-5"
}
// Documentation and code search
"librarian": { "model": "google/gemini-3-flash" },
// Fast codebase exploration
"explore": { "model": "github-copilot/grok-code-fast-1" },
// Visual tasks: UI/UX, images, diagrams
"multimodal-looker": { "model": "google/gemini-3.1-pro" },
// Plan consultant: reviews and improves plans
"metis": {},
// Critic and reviewer
"momus": {},
// Continuation and long-running task handler
"atlas": {},
// Lightweight task executor for simple jobs
"sisyphus-junior": { "model": "opencode/gpt-5-nano" },
},
// Category configurations for Sisyphus-Junior tasks
// Categories control which model is used when Atlas delegates work.
"categories": {
"quick": {
"model": "anthropic/claude-sonnet-4-6",
"variant": "normal",
"description": "Fast tasks: scaffolding, simple fixes, file moves"
"quick": { "model": "opencode/gpt-5-nano" },
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
"unspecified-high": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"writing": { "model": "google/gemini-3-flash" },
"visual-engineering": { "model": "google/gemini-3.1-pro", "variant": "high" },
"deep": { "model": "openai/gpt-5.3-codex" },
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
},
// Conservative concurrency for cost control
"background_task": {
"providerConcurrency": {
"anthropic": 3,
"openai": 3,
"google": 5,
"opencode": 10,
},
"deep": {
"model": "anthropic/claude-sonnet-4-6",
"variant": "max",
"description": "Complex tasks: architecture, multi-file refactoring"
}
}
},
"experimental": { "aggressive_truncation": true },
}
+96 -40
View File
@@ -1,56 +1,112 @@
// oh-my-openagent planning-focused configuration
// Optimized for large projects: Prometheus planning → Atlas orchestration.
// Uses Opus for planning and review, Sonnet for implementation.
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json",
// Optimized for strategic planning, architecture, and complex project design.
// Prioritizes deep thinking agents and thorough analysis before execution.
"agents": {
// Sisyphus with Sonnet — reliable implementation
// Orchestrator: delegates to planning agents first
"sisyphus": {
"model": "anthropic/claude-sonnet-4-6",
"variant": "max"
},
// Hephaestus as alternative worker
"hephaestus": {
"model": "openai/gpt-5.3-codex"
},
// Atlas with Opus — strong orchestration and task decomposition
"atlas": {
"model": "anthropic/claude-opus-4-6",
"variant": "max",
"prompt_append": "Leverage quick & deep agents in parallel when tasks are independent."
"ultrawork": { "model": "anthropic/claude-opus-4-6", "variant": "max" },
"prompt_append": "Always consult prometheus and atlas for planning. Never rush to implementation.",
},
// Prometheus with Opus — best planning quality
// Implementation: uses planning outputs
"hephaestus": {
"model": "openai/gpt-5.3-codex",
"prompt_append": "Follow established plans precisely. Ask for clarification when plans are ambiguous.",
},
// Primary planner: deep interview mode
"prometheus": {
"model": "anthropic/claude-opus-4-6",
"variant": "max",
"prompt_append": "Leverage quick & deep agents in parallel when tasks are independent."
"thinking": { "type": "enabled", "budgetTokens": 160000 },
"prompt_append": "Interview extensively. Question assumptions. Build exhaustive plans with milestones, risks, and contingencies. Use deep & quick agents heavily in parallel for research.",
},
// Support agents
"explore": {
"model": "anthropic/claude-haiku-4-5"
// Architecture consultant
"oracle": {
"model": "openai/gpt-5.4",
"variant": "xhigh",
"thinking": { "type": "enabled", "budgetTokens": 120000 },
},
"librarian": {
"model": "anthropic/claude-haiku-4-5"
}
// Research and documentation
"librarian": { "model": "google/gemini-3-flash" },
// Exploration for research phase
"explore": { "model": "github-copilot/grok-code-fast-1" },
// Visual planning and diagrams
"multimodal-looker": { "model": "google/gemini-3.1-pro", "variant": "high" },
// Plan review and refinement: heavily utilized
"metis": {
"model": "anthropic/claude-opus-4-6",
"prompt_append": "Critically evaluate plans. Identify gaps, risks, and improvements. Be thorough.",
},
// Critic: challenges assumptions
"momus": {
"model": "openai/gpt-5.4",
"prompt_append": "Challenge all assumptions in plans. Look for edge cases, failure modes, and overlooked requirements.",
},
// Long-running planning sessions
"atlas": {
"prompt_append": "Preserve context across long planning sessions. Track evolving decisions.",
},
// Quick research tasks
"sisyphus-junior": { "model": "opencode/gpt-5-nano" },
},
"categories": {
"quick": {
"model": "anthropic/claude-sonnet-4-6",
"description": "Scaffolding, config changes, simple fixes"
},
"deep": {
"model": "anthropic/claude-sonnet-4-6",
"variant": "max",
"description": "Core module implementation, refactoring"
},
"quick": { "model": "opencode/gpt-5-nano" },
"unspecified-low": { "model": "anthropic/claude-sonnet-4-6" },
// High-effort planning tasks: maximum reasoning
"unspecified-high": {
"model": "anthropic/claude-opus-4-6",
"variant": "max",
"description": "High-stakes tasks requiring maximum quality"
}
}
"model": "openai/gpt-5.4",
"variant": "xhigh",
},
// Documentation from plans
"writing": { "model": "google/gemini-3-flash" },
// Visual architecture
"visual-engineering": { "model": "google/gemini-3.1-pro", "variant": "high" },
// Deep research and analysis
"deep": { "model": "openai/gpt-5.3-codex" },
// Strategic reasoning
"ultrabrain": { "model": "openai/gpt-5.4", "variant": "xhigh" },
// Creative approaches to problems
"artistry": { "model": "google/gemini-3.1-pro", "variant": "high" },
},
// Moderate concurrency: planning is sequential by nature
"background_task": {
"defaultConcurrency": 5,
"staleTimeoutMs": 300000,
"providerConcurrency": {
"anthropic": 3,
"openai": 3,
},
"modelConcurrency": {
"anthropic/claude-opus-4-6": 2,
"openai/gpt-5.4": 2,
},
},
"sisyphus_agent": {
"planner_enabled": true,
"replace_plan": true,
},
"experimental": { "aggressive_truncation": true },
}