From 21bdeb0c0e88425055c8e8664b465074859f6d7b Mon Sep 17 00:00:00 2001 From: Paul O'Reilly Date: Wed, 29 Apr 2026 09:32:46 +1200 Subject: [PATCH] Add MiniMax test-writing composite and template Co-Authored-By: Claude Sonnet 4.6 --- .../test-writing-minimax-repo/v1/harness.yaml | 11 ++++++++++ task-templates/minimax-test-writer.yaml | 20 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 harnesses/composites/test-writing-minimax-repo/v1/harness.yaml create mode 100644 task-templates/minimax-test-writer.yaml diff --git a/harnesses/composites/test-writing-minimax-repo/v1/harness.yaml b/harnesses/composites/test-writing-minimax-repo/v1/harness.yaml new file mode 100644 index 0000000..927044d --- /dev/null +++ b/harnesses/composites/test-writing-minimax-repo/v1/harness.yaml @@ -0,0 +1,11 @@ +kind: composite +name: test-writing-minimax-repo +version: 1 +description: "Test writing agent with MiniMax + repo clone via SSH" + +layers: + - context: test-writing/v1 + - context: minimax-code-methodology/v1 + - context: minimax/v1 + - context: gitea-ssh/v1 + - context: agent-repo/v1 diff --git a/task-templates/minimax-test-writer.yaml b/task-templates/minimax-test-writer.yaml new file mode 100644 index 0000000..3f08ea5 --- /dev/null +++ b/task-templates/minimax-test-writer.yaml @@ -0,0 +1,20 @@ +name: minimax-test-writer +description: "MiniMax test writing agent — comprehensive tests with edge cases" +model: minimax +harness: test-writing-minimax-repo/v1 +requires_tags: [claude-code, test-writer, best-practices, git-access, project-repo] +required_params: [repo_url, agent_repo_url] +defaults: + timeout: 3600 +pre_actions: + - type: clone + repo: "{{ repo_url }}" + branch: main + depth: 1 +blocked_combinations: + - field: on_success + contains_type: commit_pr + message: "Use agent_repo instead of commit_pr — avoids F77 SSH alias URL bug" +warnings: + - "MiniMax agents work best with tightly scoped tasks — keep prompts directive and specific" + - "MiniMax does NOT support web search or interactive tools — prompts must be self-contained"