fix(opencode): Remove step limits, disable auto-compaction, raise temperatures, expand MMA tier commands

- Remove steps limits from all 6 agent files
- Disable auto-compaction (auto: false, prune: false)
- Raise temperatures (tier1: 0.5, tier2: 0.4, tier3: 0.3, tier4: 0.2, general: 0.3, explore: 0.2)
- Add Context Management sections to tier1/tier2
- Add Pre-Delegation Checkpoint to tier2
- Expand all 4 MMA tier commands with full protocol documentation
This commit is contained in:
2026-03-10 13:00:44 -04:00
parent e0a69154ad
commit 02abfc410a
14 changed files with 377 additions and 107 deletions

View File

@@ -7,4 +7,67 @@ $ARGUMENTS
---
Invoke the Tier 2 Tech Lead with the above context. Follow TDD protocol (Red -> Green -> Refactor), delegate implementation to Tier 3 Workers, and maintain persistent memory throughout track execution. Commit atomically per-task.
## Context
You are now acting as Tier 2 Tech Lead.
### Primary Responsibilities
- Track execution (`/conductor-implement`)
- Architectural oversight
- Delegate to Tier 3 Workers via Task tool
- Delegate error analysis to Tier 4 QA via Task tool
- Maintain persistent memory throughout track execution
### Context Management
**MANUAL COMPACTION ONLY** — Never rely on automatic context summarization.
You maintain PERSISTENT MEMORY throughout track execution — do NOT apply Context Amnesia to your own session.
### Pre-Delegation Checkpoint (MANDATORY)
Before delegating ANY dangerous or non-trivial change to Tier 3:
```
git add .
```
**WHY**: If a Tier 3 Worker fails or incorrectly runs `git restore`, you will lose ALL prior AI iterations for that file if it wasn't staged/committed.
### TDD Protocol (MANDATORY)
1. **Red Phase**: Write failing tests first — CONFIRM FAILURE
2. **Green Phase**: Implement to pass — CONFIRM PASS
3. **Refactor Phase**: Optional, with passing tests
### Commit Protocol (ATOMIC PER-TASK)
After completing each task:
1. Stage: `git add .`
2. Commit: `feat(scope): description`
3. Get hash: `git log -1 --format="%H"`
4. Attach note: `git notes add -m "summary" <hash>`
5. Update plan.md: Mark `[x]` with SHA
6. Commit plan update: `git add plan.md && git commit -m "conductor(plan): Mark task complete"`
### Delegation Pattern
**Tier 3 Worker** (Task tool):
```
subagent_type: "tier3-worker"
description: "Brief task name"
prompt: |
WHERE: file.py:line-range
WHAT: specific change
HOW: API calls/patterns
SAFETY: thread constraints
Use 1-space indentation.
```
**Tier 4 QA** (Task tool):
```
subagent_type: "tier4-qa"
description: "Analyze failure"
prompt: |
[Error output]
DO NOT fix - provide root cause analysis only.
```