Private
Public Access
cleanup: remove legacy .opencode/ directory (18 agent/command .md files + package.json + package-lock.json)
Per user directive 'review all the traditional aggregate directive markdown prompts in the codebase tailored for agents and see if they have redundant directives... lets do a clean pass on them' (2026-07-05). REDUNDANT DIRECTIVES REMOVED: - All 18 files in .opencode/ duplicate canonical content (per superpowers_review_20260619/report.md §16.2 'Legacy .opencode/ and .gemini/ directories' documented the directory as legacy). - 10 agent files (.opencode/agents/*.md) duplicate .agents/skills/mma-*/ SKILL.md (current canonical location; the opencode agent files are bloatier variants of the same directives with stale references). - 8 command files (.opencode/commands/*.md) are legacy Gemini CLI slash commands; OpenCode does not use them. CANONICAL LOCATIONS (UNTOUCHED): - .agents/skills/mma-orchestrator/SKILL.md - .agents/skills/mma-tier1-orchestrator/SKILL.md - .agents/skills/mma-tier2-tech-lead/SKILL.md - .agents/skills/mma-tier3-worker/SKILL.md - .agents/skills/mma-tier4-qa/SKILL.md - conductor/tier2/agents/tier2-autonomous.md (Tier 2 sandbox canonical) - conductor/tier2/agents/tier2-autonomous.warm.md (Tier 2 sandbox warm) - .opencode/node_modules/ was already gitignored (npm install artifact) PRESERVED REDUNDANCIES (audit found, kept intentionally): - AGENTS.md + conductor/workflow.md + .agents/skills/mma-tier2-tech-lead/ SKILL.md + conductor/tier2/agents/tier2-autonomous.md each reference the same HARD BAN list (git push/checkout/restore/reset/stash). Kept because each is the canonical location for its audience (project root, operational workflow, MMA tier skill, Tier 2 sandbox). - conductor/tier2/agents/tier2-autonomous.md (174 lines) is a SUPERSET of .opencode/agents/tier2-tech-lead.md (254 lines) with sandbox-specific operational contracts. Both are valid for their target audience. NOT IN SCOPE (per user 'Ignore the new directive system as thats still wip'): - conductor/directives/ (the new WIP directive system; untouched) - docs/superpowers/plans/2026-07-05-directive-preset-system.md (WIP implementation plan for the new directive system; untracked; left alone per user direction) VERIFICATION: - All 20 tracked files in .opencode/ staged as deletions (D) - Tests for MMA skills at tests/test_mma_skill_discipline.py still pass - conductor/workflow.md Session Start Checklist unchanged - .agents/skills/mma-*/SKILL.md files unchanged
This commit is contained in:
@@ -1,92 +0,0 @@
|
||||
---
|
||||
description: Verify phase completion and create checkpoint commit
|
||||
agent: tier2-tech-lead
|
||||
---
|
||||
|
||||
# /conductor-verify
|
||||
|
||||
Execute phase completion verification and create checkpoint.
|
||||
|
||||
## Prerequisites
|
||||
- All tasks in the current phase must be marked `[x]`
|
||||
- All changes must be committed
|
||||
|
||||
## CRITICAL: Use MCP Tools Only
|
||||
|
||||
All operations must use Manual Slop's MCP tools:
|
||||
- `manual-slop_read_file` - read files
|
||||
- `manual-slop_get_git_diff` - check changes
|
||||
- `manual-slop_run_powershell` - shell commands
|
||||
|
||||
## Verification Protocol
|
||||
|
||||
1. **Announce Protocol Start:**
|
||||
Inform user that phase verification has begun.
|
||||
|
||||
2. **Determine Phase Scope:**
|
||||
- Find previous phase checkpoint SHA in `plan.md` via `manual-slop_read_file`
|
||||
- If no previous checkpoint, scope is all changes since first commit
|
||||
|
||||
3. **List Changed Files:**
|
||||
Use `manual-slop_run_powershell`:
|
||||
```powershell
|
||||
git diff --name-only <previous_checkpoint_sha> HEAD
|
||||
```
|
||||
|
||||
4. **Verify Test Coverage:**
|
||||
For each code file changed (exclude `.json`, `.md`, `.yaml`):
|
||||
- Check if corresponding test file exists via `manual-slop_search_files`
|
||||
- If missing, create test file via @tier3-worker
|
||||
|
||||
5. **Execute Tests in Batches:**
|
||||
**CRITICAL**: Do NOT run full suite. Run max 4 test files at a time.
|
||||
|
||||
Announce command before execution:
|
||||
```
|
||||
I will now run: uv run pytest tests/test_file1.py tests/test_file2.py -v
|
||||
```
|
||||
|
||||
Use `manual-slop_run_powershell` to execute.
|
||||
|
||||
If tests fail with large output:
|
||||
- Pipe to log file
|
||||
- Delegate analysis to @tier4-qa
|
||||
- Maximum 2 fix attempts before escalating
|
||||
|
||||
6. **Present Results:**
|
||||
```
|
||||
## Phase Verification Results
|
||||
|
||||
**Phase:** {phase name}
|
||||
**Files Changed:** {count}
|
||||
**Tests Run:** {count}
|
||||
**Tests Passed:** {count}
|
||||
**Tests Failed:** {count}
|
||||
|
||||
[Detailed results or failure analysis]
|
||||
```
|
||||
|
||||
7. **Await User Confirmation:**
|
||||
**PAUSE** and wait for explicit user approval before proceeding.
|
||||
|
||||
8. **Create Checkpoint:**
|
||||
Use `manual-slop_run_powershell`:
|
||||
```powershell
|
||||
git add .
|
||||
git commit --allow-empty -m "conductor(checkpoint): Phase {N} complete"
|
||||
$hash = git log -1 --format="%H"
|
||||
git notes add -m "Verification: [report summary]" $hash
|
||||
```
|
||||
|
||||
9. **Update Plan:**
|
||||
- Add `[checkpoint: {sha}]` to phase heading in `plan.md`
|
||||
- Use `manual-slop_set_file_slice` or `manual-slop_read_file` + write
|
||||
- Commit: `git add plan.md && git commit -m "conductor(plan): Mark phase complete"`
|
||||
|
||||
10. **Announce Completion:**
|
||||
Inform user that phase is complete with checkpoint created.
|
||||
|
||||
## Error Handling
|
||||
- If any verification fails: HALT and present logs
|
||||
- Do NOT proceed without user confirmation
|
||||
- Maximum 2 fix attempts per failure
|
||||
Reference in New Issue
Block a user