Commit Graph

5 Commits

Author SHA1 Message Date
Ed_
cbe58936f5 feat(mcp): Add edit_file tool - native edit replacement that preserves indentation
- New edit_file(path, old_string, new_string, replace_all) function
- Reads/writes with newline='' to preserve CRLF and 1-space indentation
- Returns error if old_string not found or multiple matches without replace_all
- Added to MUTATING_TOOLS for HITL approval routing
- Added to TOOL_NAMES and dispatch function
- Added MCP_TOOL_SPECS entry for AI tool declaration
- Updated agent configs (tier2, tier3, general) with edit_file mapping

Note: tier1, tier4, explore agents don't need this (edit: deny - read-only)
2026-03-04 23:00:13 -05:00
Ed_
dccfbd8bb7 docs(post-mortem): Apply session start checklists and edit tool warnings
From gui_decoupling_controller track post-mortem:

workflow.md:
- Add mandatory session start checklist (6 items)
- Add code style section with 1-space indentation enforcement
- Add native edit tool warning with MCP alternatives

AGENTS.md:
- Add critical native edit tool warning
- Document MCP tool alternatives for file editing

tier1-orchestrator.md:
- Add session start checklist

tier2-tech-lead.md:
- Add session start checklist
- Add tool restrictions section (allowed vs forbidden)
- Add explicit delegation pattern

tier3-worker.md:
- Add task start checklist

tier4-qa.md:
- Add analysis start checklist
2026-03-04 22:42:52 -05:00
Ed_
696a48f7bc feat(opencode): Enforce Manual Slop MCP tools across all agents 2026-03-04 22:21:25 -05:00
Ed_
acce6f8e1e feat(opencode): complete MMA setup with conductor workflow
- Add product.md and product-guidelines.md to instructions for full context
- Configure MCP server exposing 27 tools (file ops, Python AST, git, web, shell)
- Add steps limits: tier1-orchestrator (50), tier2-tech-lead (100)
- Update Tier 2 delegation templates for OpenCode Task tool syntax
2026-03-04 16:03:37 -05:00
Ed_
c17698ed31 WIP: boostrapping opencode for use with at least GLM agents 2026-03-04 15:56:00 -05:00