协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
test-team-coordination【开发与工程】Execute a test scenario against a team, observing coordination pattern behaviors, evaluating acceptance criteria, and generating a structured RESULT.md. Use when validating that a team's coordination pattern produces the expected behaviors during a realistic task, comparing coordination patterns on equivalent workloads, or establishing baseline perfo…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Execute test scenario from tests/scenarios/teams/ against target
team. Observe coordination pattern behaviors, evaluate acceptance criteria,
score rubric, produce RESULT.md in tests/results/.
tests/scenarios/teams/test-opaque-team-cartographers-audit.md)YYYY-MM-DD-<target>-NNN auto-generated)1.1. Read the test scenario file specified in the input.
1.2. Parse YAML frontmatter and extract:
target — the team to testcoordination-pattern — the expected patternteam-size — number of members to spawn1.3. Verify the scenario file has all required sections:
Got: Scenario file loads, parses, contains all required sections.
If fail: File missing or unparseable? Abort with error message identifying missing file or malformed section. Optional sections (Rubric, Ground Truth, Variants) absent? Note absence, continue.
2.1. Walk through each pre-condition checkbox in the scenario.
2.2. For file-existence checks, use Glob to verify.
2.3. For registry count checks, parse the relevant _registry.yml and compare total_* against actual file counts on disk.
2.4. For branch/git state checks, run git status --porcelain and git branch --show-current.
Got: All pre-conditions satisfied.
If fail: Any pre-condition fails? Record as BLOCKED in results. Decide whether to proceed (soft pre-condition) or abort (hard pre-condition like missing target team file). Document decision.
3.1. Read tests/_registry.yml and locate the coordination_patterns entry matching the scenario's coordination-pattern value.
3.2. Extract the key_behaviors list for this pattern.
3.3. These behaviors become the observation checklist — each must be watched for during execution and recorded as observed/not observed.
Got: Pattern key behaviors loaded, ready for observation.
If fail: Coordination pattern not defined in registry? Use scenario's Expected Behaviors section as sole observation source. Log warning.
4.1. Create the result directory: tests/results/YYYY-MM-DD-<target>-NNN/.
4.2. Record T0 (task start timestamp).
4.3. Read the target team's definition from teams/<target>.md, extract the CONFIG block, and activate the team: call TeamCreate with the team name, spawn teammates using each member's subagent_type, and create tasks from the CONFIG tasks list. Use the team-size from the scenario. Pass the Primary Task prompt verbatim from the scenario's Task section.
4.4. Observe the team's execution phases. Record timestamps for:
4.5. If the scenario defines a Scope Change Trigger and skip-scope-change is false:
4.6. Continue observing until the team delivers its output.
4.7. Capture the team's complete output.
Got: Team executes task through coordination pattern phases. Timestamps recorded for all transitions. Scope change (if applicable) injected and absorbed.
If fail: Team fails produce output? Record failure point and any error messages. Team stalls? Note last observed phase and timeout. Proceed to evaluation with partial results.
5.1. For each key behavior from Step 3, determine whether it was observed during execution:
5.2. For each task-specific behavior from the scenario's Expected Behaviors section, apply the same evaluation.
5.3. Record findings in the observation log.
Got: All or most pattern-specific and task-specific behaviors observed.
If fail: Unobserved behaviors are findings, not failures of test procedure. Record accurately — they indicate coordination pattern did not fully manifest.
6.1. Walk through each acceptance criterion from the scenario.
6.2. For each criterion, assign a determination:
6.3. If the scenario includes Ground Truth data, verify reported findings against it:
6.4. If the scenario includes a Scoring Rubric, score each dimension 1-5 with brief justification.
6.5. Calculate summary metrics:
Got: All acceptance criteria have determination. Summary metrics calculated.
If fail: Fewer than half criteria can be evaluated (too many BLOCKED)? Test run inconclusive. Document why, recommend re-running after fixing pre-conditions.
7.1. Create tests/results/YYYY-MM-DD-<target>-NNN/RESULT.md using the Recording Template from the scenario's Observation Protocol.
7.2. Populate all sections:
7.3. Include the team's raw output as an appendix or in a separate file (team-output.md) in the same result directory.
7.4. Add a summary verdict at the top:
**Verdict**: PASS | FAIL | INCONCLUSIVE
**Score**: X/N criteria (Y/Z rubric points)
**Duration**: Xm
Got: Complete RESULT.md with all sections populated and clear verdict.
If fail: Result file cannot be written? Output results to stdout as fallback. Evaluation data should never be lost.
review-codebase — deep codebase review complements team-level testingreview-skill-format — validates individual skill format (this skill validates team coordination)create-team — creates team definitions that this skill testsevolve-team — evolves team definitions based on test findingstest-a2a-interop — similar testing pattern for A2A protocol conformanceassess-form — morphic assessment that opaque team lead uses internal