Add track to fix up opencode further cause the setup is terrible
This commit is contained in:
@@ -117,7 +117,11 @@ This file tracks all major tracks for the project. Each track has its own detail
|
|||||||
*Link: [./tracks/agent_personas_20260309/](./tracks/agent_personas_20260309/)*
|
*Link: [./tracks/agent_personas_20260309/](./tracks/agent_personas_20260309/)*
|
||||||
*Goal: Consolidate model settings, prompts, and tool presets into a unified "Persona" model with granular MMA assignment.*
|
*Goal: Consolidate model settings, prompts, and tool presets into a unified "Persona" model with granular MMA assignment.*
|
||||||
|
|
||||||
5. [ ] **Track: Advanced Workspace Docking & Layout Profiles**
|
5. [ ] **Track: OpenCode Configuration Overhaul**
|
||||||
|
*Link: [./tracks/opencode_config_overhaul_20260310/](./tracks/opencode_config_overhaul_20260310/)*
|
||||||
|
*Goal: Fix critical gaps in OpenCode agent configuration: remove step limits, disable auto-compaction, raise temperatures, expand thin MMA tier command wrappers into full protocol documentation.*
|
||||||
|
|
||||||
|
6. [ ] **Track: Advanced Workspace Docking & Layout Profiles**
|
||||||
*Link: [./tracks/workspace_profiles_20260310/](./tracks/workspace_profiles_20260310/)*
|
*Link: [./tracks/workspace_profiles_20260310/](./tracks/workspace_profiles_20260310/)*
|
||||||
*Goal: Expand layout preset logic to allow users to save and switch between named workspace configurations.*
|
*Goal: Expand layout preset logic to allow users to save and switch between named workspace configurations.*
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"id": "opencode_config_overhaul_20260310",
|
||||||
|
"title": "OpenCode Configuration Overhaul",
|
||||||
|
"type": "fix",
|
||||||
|
"status": "planned",
|
||||||
|
"priority": "high",
|
||||||
|
"created": "2026-03-10",
|
||||||
|
"depends_on": [],
|
||||||
|
"blocks": []
|
||||||
|
}
|
||||||
22
conductor/tracks/opencode_config_overhaul_20260310/plan.md
Normal file
22
conductor/tracks/opencode_config_overhaul_20260310/plan.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Implementation Plan: OpenCode Configuration Overhaul
|
||||||
|
|
||||||
|
## Phase 1: Core Config and Agent Temperature/Step Fixes
|
||||||
|
Focus: Remove step limits, adjust temperatures, disable auto-compaction
|
||||||
|
|
||||||
|
- [ ] Task 1.1: Update `opencode.json` - set `compaction.auto: false`, `compaction.prune: false`
|
||||||
|
- [ ] Task 1.2: Update `.opencode/agents/tier1-orchestrator.md` - remove `steps: 50`, change `temperature: 0.4` to `0.5`, add "Context Management" section
|
||||||
|
- [ ] Task 1.3: Update `.opencode/agents/tier2-tech-lead.md` - remove `steps: 100`, change `temperature: 0.2` to `0.4`, add "Context Management" and "Pre-Delegation Checkpoint" sections
|
||||||
|
- [ ] Task 1.4: Update `.opencode/agents/tier3-worker.md` - remove `steps: 20`, change `temperature: 0.1` to `0.3`
|
||||||
|
- [ ] Task 1.5: Update `.opencode/agents/tier4-qa.md` - remove `steps: 5`, change `temperature: 0.0` to `0.2`
|
||||||
|
- [ ] Task 1.6: Update `.opencode/agents/general.md` - remove `steps: 15`, change `temperature: 0.2` to `0.3`
|
||||||
|
- [ ] Task 1.7: Update `.opencode/agents/explore.md` - remove `steps: 8`, change `temperature: 0.0` to `0.2`
|
||||||
|
- [ ] Task 1.8: Conductor - User Manual Verification 'Phase 1: Core Config and Agent Temperature/Step Fixes' (Protocol in workflow.md)
|
||||||
|
|
||||||
|
## Phase 2: MMA Tier Command Expansion
|
||||||
|
Focus: Expand thin command wrappers into full protocol documentation
|
||||||
|
|
||||||
|
- [ ] Task 2.1: Expand `.opencode/commands/mma-tier1-orchestrator.md` - add full Surgical Methodology, limitations, context section
|
||||||
|
- [ ] Task 2.2: Expand `.opencode/commands/mma-tier2-tech-lead.md` - add TDD protocol, Pre-Delegation Checkpoint, delegation patterns
|
||||||
|
- [ ] Task 2.3: Expand `.opencode/commands/mma-tier3-worker.md` - add key constraints, task execution, blocking protocol
|
||||||
|
- [ ] Task 2.4: Expand `.opencode/commands/mma-tier4-qa.md` - add key constraints, analysis protocol, structured output format
|
||||||
|
- [ ] Task 2.5: Conductor - User Manual Verification 'Phase 2: MMA Tier Command Expansion' (Protocol in workflow.md)
|
||||||
54
conductor/tracks/opencode_config_overhaul_20260310/spec.md
Normal file
54
conductor/tracks/opencode_config_overhaul_20260310/spec.md
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# Track Specification: OpenCode Configuration Overhaul
|
||||||
|
|
||||||
|
## Overview
|
||||||
|
Fix critical gaps in OpenCode agent configuration that cause MMA workflow failures. Remove step limits that prematurely terminate complex tracks, disable automatic context compaction that loses critical session state, raise temperature for better problem-solving, and expand thin command wrappers into full protocol documentation.
|
||||||
|
|
||||||
|
## Current State Audit (as of HEAD)
|
||||||
|
|
||||||
|
### Already Implemented (DO NOT re-implement)
|
||||||
|
- OpenCode MCP integration working (`opencode.json:17-25`)
|
||||||
|
- Agent persona files exist for all 4 MMA tiers (`.opencode/agents/tier*.md`)
|
||||||
|
- Conductor commands exist (`.opencode/commands/conductor-*.md`)
|
||||||
|
- MMA tier commands exist but are thin wrappers (`.opencode/commands/mma-tier*.md`)
|
||||||
|
|
||||||
|
### Gaps to Fill (This Track's Scope)
|
||||||
|
|
||||||
|
1. **Step Limits**: All agents have restrictive `steps` limits:
|
||||||
|
- tier1: 50, tier2: 100, tier3: 20, tier4: 5
|
||||||
|
- These terminate complex track implementations prematurely
|
||||||
|
|
||||||
|
2. **Auto-Compaction**: `opencode.json` has `compaction.auto: true` which loses session context without user control
|
||||||
|
|
||||||
|
3. **Temperature Too Low**:
|
||||||
|
- tier2: 0.2, tier3: 0.1, tier4: 0.0
|
||||||
|
- Reduces creative problem-solving for complex tracks
|
||||||
|
|
||||||
|
4. **Thin Command Wrappers**: `mma-tier*.md` commands are 3-4 lines, lacking:
|
||||||
|
- Pre-delegation checkpoint protocol
|
||||||
|
- TDD phase confirmation requirements
|
||||||
|
- Blocking protocol
|
||||||
|
- Context management guidance
|
||||||
|
|
||||||
|
## Goals
|
||||||
|
- Remove all step limits from agent configurations
|
||||||
|
- Disable automatic compaction, enforce manual-only via `/compact`
|
||||||
|
- Raise temperatures to 0.2-0.5 range for better reasoning
|
||||||
|
- Expand MMA tier commands with full protocol documentation
|
||||||
|
|
||||||
|
## Functional Requirements
|
||||||
|
- All 6 agent files updated with removed `steps` and adjusted `temperature`
|
||||||
|
- `opencode.json` updated with `compaction.auto: false, prune: false`
|
||||||
|
- All 4 MMA tier commands expanded with context, protocols, and patterns
|
||||||
|
|
||||||
|
## Non-Functional Requirements
|
||||||
|
- No functional changes to MCP tool usage or permissions
|
||||||
|
- Maintain backward compatibility with existing workflow
|
||||||
|
|
||||||
|
## Architecture Reference
|
||||||
|
- `docs/guide_mma.md` - 4-tier architecture, worker lifecycle, context amnesia
|
||||||
|
- `docs/guide_meta_boundary.md` - Application vs Meta-Tooling distinction
|
||||||
|
|
||||||
|
## Out of Scope
|
||||||
|
- Model tiering (using different models per tier)
|
||||||
|
- Changes to Gemini CLI configuration
|
||||||
|
- Changes to conductor workflow itself
|
||||||
Reference in New Issue
Block a user