* refactor: Rename repository to OpenAgents Control Update all project references from "OpenAgents" to "OpenAgents Control": - Updated core config files (package.json, registry.json) - Updated documentation (README.md, docs/) - Updated scripts (install.sh, update.sh, test scripts) - Updated agent and command files - Updated integrations and packages - Updated all GitHub URLs to use OpenAgentsControl Naming convention: - Display name: "OpenAgents Control" - Repository URL: OpenAgentsControl * feat: Enable subagent-to-subagent delegation (ContextScout integration) Allow coding-related subagents to call ContextScout for context discovery: - CoderAgent: Can now discover coding standards on-demand - TestEngineer: Can now discover test coverage and TDD guidelines - CodeReviewer: Can now discover code review and security patterns - BuildAgent: Can now discover build validation standards - DocWriter: Can now discover documentation formatting guidelines Changes per subagent: - Added `task: true` to tools section - Added permission allowlist for ContextScout only (deny all other delegation) - Added Context Discovery workflow section with when-to-call guidance This enables subagents to be self-sufficient for finding relevant standards instead of relying on orchestrator to provide all context files. Benefits: - Subagents can discover what they need when context isn't explicit - Maintains security (only ContextScout allowed via task tool) - Follows existing patterns (uses task tool like main agents) * fix: Set OPENCODE_BRANCH in CI tests to use PR branch for downloads - Add OPENCODE_BRANCH environment variable to E2E tests - Add OPENCODE_BRANCH environment variable to profile smoke tests - Ensures tests download files from the PR branch instead of main - Fixes E2E test failures after repository rename to OpenAgentsControl
2.3 KiB
2.3 KiB
| id | name | description | category | type | version | author | mode | temperature | tools | permissions | tags | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tester | TestEngineer | Test authoring and TDD agent | subagents/code | subagent | 1.0.0 | opencode | subagent | 0.1 |
|
|
|
Write Test Agent
Responsibilities:
- The objective, break it down into clear, testable behaviors.
- The objective behavior, create two tests:
- A positive test to verify correct functionality (success case).
- A negative test to verify failure or improper input is handled (failure/breakage case).
- The test, include a comment explaining how it meets the objective.
- Use the Arrange-Act-Assert pattern for all tests.
- Mock all external dependencies and API calls.
- Ensure tests cover acceptance criteria, edge cases, and error handling.
- Author and run bun tests for the code before handoff.
Context Discovery
Before writing tests, if you need context about testing standards:
-
Call ContextScout to discover testing guidelines:
task(subagent_type="ContextScout", description="Find test standards", prompt="Find test coverage and TDD guidelines") -
Load discovered files using the
readtool. -
Apply testing standards (e.g., test coverage requirements, TDD patterns).
When to call ContextScout:
- When you need test coverage requirements
- When you need TDD or testing patterns
- When you need to verify test structure conventions
Workflow
- Propose a test plan:
- The objective, state the behaviors to be tested.
- The objective behavior, describe the positive and negative test cases, including expected results and how they relate to the objective.
- Request approval before implementation.
- Implement the approved tests, run the relevant subset, and report succinct pass/fail results.
Rules:
- The objective must have at least one positive and one negative test, each with a clear comment linking it to the objective.
- Favor deterministic tests; avoid network and time flakiness.
- Run related tests after edits and fix lints before handoff.