ring/platforms/opencode/ring.jsonc
Gandalf f85aa61440
feat: add OpenCode platform integration (consolidate ring-for-opencode)
Move OpenCode runtime plugin and installer into Ring monorepo under platforms/opencode/.
The installer reads skills, agents, and commands directly from the Ring monorepo's
canonical directories (default/, dev-team/, pm-team/, etc.) — zero asset duplication.

What's included:
- installer.sh: reads from Ring dirs, applies frontmatter/tool transforms, installs to ~/.config/opencode/
- plugin/: TypeScript runtime (RingUnifiedPlugin) with hooks, lifecycle, loaders
- src/: CLI (doctor, config-manager)
- prompts/: session-start and context-injection templates
- standards/: coding standards (from dev-team/docs/)
- ring.jsonc: default config with full 86-skill/35-agent/33-command inventory

What's NOT included (intentionally):
- assets/ directory: eliminated, content comes from Ring monorepo
- scripts/codereview/: eliminated, replaced by mithril
- using-ring-opencode skill: uses canonical using-ring instead

Transforms applied by installer:
- Agent: type→mode, strip version/changelog/output_schema/input_schema
- Skill: keep name+description frontmatter, body unchanged
- Command: strip argument-hint (unsupported by OpenCode)
- All: normalize tool names (Bash→bash, Read→read, etc.)
- All: strip Model Requirement sections from agents

Replaces: LerianStudio/ring-for-opencode repository
Generated-by: Gandalf
AI-Model: claude-opus-4
2026-03-07 22:46:47 -03:00

40 lines
1.7 KiB
Text

{
"$schema": "./ring-config.schema.json",
// Hooks to disable. Allowed: "session-start", "context-injection".
"disabled_hooks": [],
// Agents to disable (35 total). Examples:
// "code-reviewer", "security-reviewer", "business-logic-reviewer", "test-reviewer",
// "nil-safety-reviewer", "consequences-reviewer", "codebase-explorer", "write-plan",
// "backend-engineer-golang", "backend-engineer-typescript", "frontend-engineer",
// "frontend-bff-engineer-typescript", "frontend-designer", "ui-engineer",
// "devops-engineer", "sre", "qa-analyst", "qa-analyst-frontend",
// "prompt-quality-reviewer", "product-designer", "best-practices-researcher",
// "framework-docs-researcher", "repo-research-analyst",
// "api-writer", "functional-writer", "docs-reviewer",
// "portfolio-manager", "resource-planner", "risk-analyst", "governance-specialist",
// "executive-reporter", "delivery-reporter",
// "finops-analyzer", "finops-automation", "infrastructure-cost-estimator"
"disabled_agents": [],
// Skills to disable (86 total). Examples:
// "using-ring", "test-driven-development", "requesting-code-review", "brainstorming",
// "dev-cycle", "dev-implementation", "dev-unit-testing", "dev-delivery-verification",
// "pre-dev-prd-creation", "pre-dev-research", "visual-explainer", "drawing-diagrams"
"disabled_skills": [],
// Commands to disable (33 total). Examples:
// "brainstorm", "codereview", "commit", "dev-cycle", "dev-refactor",
// "explore-codebase", "lint", "write-plan", "diagram", "visualize"
"disabled_commands": [],
"experimental": {
"preemptiveCompaction": false,
"compactionThreshold": 0.8,
"aggressiveTruncation": false
},
// Hook-specific overrides keyed by hook name.
"hooks": {}
}