Files
git.stella-ops.org/opencode.json

125 lines
4.6 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"default_agent": "stella-orchestrator",
"permission": "allow",
"instructions": [
"CLAUDE.md",
"docs/qa/feature-checks/FLOW.md"
],
"mcp": {
"playwright": {
"type": "local",
"command": ["npx", "-y", "@playwright/mcp@latest"],
"enabled": false
}
},
"tools": {
"playwright_*": false
},
"agent": {
"stella-orchestrator": {
"mode": "primary",
"model": "github-copilot/claude-opus-4.6",
"temperature": 0.1,
"prompt": "{file:.opencode/prompts/stella-orchestrator.md}"
},
"stella-feature-checker": {
"mode": "subagent",
"model": "github-copilot/claude-opus-4.6",
"temperature": 0.1,
"prompt": "{file:.opencode/prompts/stella-feature-checker.md}"
},
"stella-issue-finder": {
"mode": "subagent",
"model": "github-copilot/claude-sonnet-4.5",
"temperature": 0.1,
"prompt": "{file:.opencode/prompts/stella-issue-finder.md}"
},
"stella-issue-confirmer": {
"mode": "subagent",
"model": "github-copilot/claude-opus-4.6",
"temperature": 0.1,
"prompt": "{file:.opencode/prompts/stella-issue-confirmer.md}"
},
"stella-fixer": {
"mode": "subagent",
"model": "openai/gpt-5.3-codex",
"temperature": 0.0,
"prompt": "{file:.opencode/prompts/stella-fixer.md}"
},
"stella-retester": {
"mode": "subagent",
"model": "github-copilot/claude-opus-4.6",
"temperature": 0.1,
"prompt": "{file:.opencode/prompts/stella-retester.md}"
}
},
"command": {
"flow-init": {
"description": "Initialize per-module state files from docs/features/unchecked/<module>/*.md",
"agent": "stella-orchestrator",
"template": "Initialize the feature-check state ledger. Scan docs/features/unchecked/ for all module subdirectories. For each module, create docs/qa/feature-checks/state/<module>.json so each feature has status=queued. Do not run any checks."
},
"flow-init-module": {
"description": "Initialize state for a single module: /flow-init-module <module>",
"agent": "stella-orchestrator",
"template": "Initialize state for module '${1}'. Scan docs/features/unchecked/${1}/ for *.md files and create docs/qa/feature-checks/state/${1}.json with each feature set to status=queued."
},
"flow-status": {
"description": "Show current ledger status across all modules",
"agent": "stella-orchestrator",
"template": "Read all files in docs/qa/feature-checks/state/*.json and print a compact summary table: module -> queued/passed/failed/done/blocked/skipped counts. Then list features currently in-progress or blocked."
},
"flow-status-module": {
"description": "Show detailed status for one module: /flow-status-module <module>",
"agent": "stella-orchestrator",
"template": "Read docs/qa/feature-checks/state/${1}.json and print a detailed table: feature -> status -> tier -> retryCount -> lastRunId -> lastUpdatedUtc."
},
"flow-next": {
"description": "Process exactly one feature through the pipeline",
"agent": "stella-orchestrator",
"template": "Run exactly ONE unit of work. Pick the next actionable feature from any module state file based on priority rules in FLOW.md. Execute the full pipeline per FLOW.md stages."
},
"flow-next-module": {
"description": "Process one feature from a specific module: /flow-next-module <module>",
"agent": "stella-orchestrator",
"template": "Run exactly ONE unit of work from module '${1}'. Pick the next actionable feature from docs/qa/feature-checks/state/${1}.json and execute the full pipeline per FLOW.md."
},
"flow-run-module": {
"description": "Process all features in a module: /flow-run-module <module>",
"agent": "stella-orchestrator",
"template": "Process all actionable features in module '${1}' sequentially per FLOW.md. Stop on hard blocks or when human decision is required."
},
"flow-tier0": {
"description": "Run Tier 0 (source file existence check) across all modules",
"agent": "stella-orchestrator",
"template": "Run Tier 0 only (source file existence verification) for ALL features across ALL modules per FLOW.md. Do NOT build or run tests."
},
"flow-tier0-module": {
"description": "Run Tier 0 for one module: /flow-tier0-module <module>",
"agent": "stella-orchestrator",
"template": "Run Tier 0 (source file verification) for module '${1}' only per FLOW.md. Update docs/qa/feature-checks/state/${1}.json."
}
}
}