From 1f9268506d0f1602a3439f2cfe02c3be5d8e8488 Mon Sep 17 00:00:00 2001 From: darrenhinde <107584450+darrenhinde@users.noreply.github.com> Date: Wed, 1 Oct 2025 21:13:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20chore:=20remove=20AGENT?= =?UTF-8?q?S.md=20and=20README.md=20files=20to=20streamline=20documentatio?= =?UTF-8?q?n=20and=20eliminate=20redundancy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .opencode/AGENTS.md | 37 ------------------------------------- .opencode/README.md | 27 --------------------------- 2 files changed, 64 deletions(-) delete mode 100644 .opencode/AGENTS.md delete mode 100644 .opencode/README.md diff --git a/.opencode/AGENTS.md b/.opencode/AGENTS.md deleted file mode 100644 index 2270ffd..0000000 --- a/.opencode/AGENTS.md +++ /dev/null @@ -1,37 +0,0 @@ - - -This repository defines task-focused agents to streamline planning, implementation, review, documentation, and testing. - -Agents: - -- `general`: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks -- `reviewer`: Code review, security, and quality assurance agent -- `subagents/codebase-pattern-analyst`: TypeScript implementation agent for modular and functional development -- `subagents/coder-agent`: Executes coding subtasks in sequence, ensuring completion as specified -- `subagents/build-agent`: Type check and build validation agent -- `subagents/tester`: Test authoring and TDD agent -- `subagents/documentation`: Documentation authoring agent -- `@task-manager`: Task planning and management agent -- `@tester`: Test execution and validation agent -- `@documentation`: Documentation generation and updates agent - -Usage: - -```bash -# Launch a task with a specific agent -task --description "Short task description" --prompt "Detailed task instructions" --subagent_type general - -# Example for code review -task --description "Review code" --prompt "Review the changes in pull request #123" --subagent_type reviewer -``` - -Safety: - -- Repo-level `permissions.json` sets baseline rules; per-agent `permissions` apply tighter, task-specific restrictions. - -Approval-first workflow: - -- Each agent begins by proposing a short plan and asks for approval before proceeding. -- Per-agent `permissions` enforce tighter rules than repo defaults. - - diff --git a/.opencode/README.md b/.opencode/README.md deleted file mode 100644 index c08f964..0000000 --- a/.opencode/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# OpenCode Setup for Mastra RAG Template - -## Install - -1. Install OpenCode CLI (see official docs) - -## Agents - -See `AGENTS.md` for roles and usage. Configure defaults via `.opencode/config.json`. - -## Permissions - -Repository guardrails live in `.opencode/permissions.json`. You can also scope rules per-agent inside each agent file under `permissions`. - -By default: -- Risky bash commands like `rm -rf *` are set to `ask` -- Sensitive paths (`.env`, `.key`, `.secret`, `node_modules`, `.git`) are denied - -## Commands - -Custom commands live in `.opencode/commands/`. Example: `/feature-setup`. - -## Plugins - -Notifications are enabled via `.opencode/plugin/notification.js`. On macOS this uses `osascript` to display alerts for session completion and approval-required events. - -