aid-create-testing-strategy
Frontmatter
Section titled “Frontmatter”name— aid-create-testing-strategydescription— Realize a ready testing-strategy seed from.aid/design/testing-strategy.mdinto the project’s quality (C6) documents — the test landscape (levels, coverage expectations, CI lane mapping, known gaps) and the gate policy (what blocks a merge, the thresholds, who may waive one). Use this skill when a testing-strategy seed is ready and the project has no record of its test lanes or merge gates yet. Creates the gate document on first use and registers it in.aid/settings.ymland.aid/knowledge/README.mdin the same run, which opts that document into the Conformance Lane permanently — a choice you are making by running this skill. To revise C6 content this lifecycle already committed, use/aid-update-testing-strategy; to author or revise test CODE rather than the strategy, use/aid-create-testor/aid-update-test. Produced by the aid-architect agent and independently verified by aid-reviewer (full verify). Allocates a work-NNN folder.allowed-tools— Read, Glob, Grep, Bash, Write, Edit, Agentargument-hint— [<direction>] — which parts of the testing-strategy seed to realize
Definition: canonical/skills/aid-create-testing-strategy/SKILL.md
flowchart TB classDef aidNode color:#fff classDef aidEntry fill:#166534,stroke:#14532d,color:#fff classDef aidExit fill:#991b1b,stroke:#7f1d1d,color:#fff classDef aidDecision fill:#92400e,stroke:#78350f,color:#fff classDef aidLoopBack fill:#1e3a8a,stroke:#1e3a8a,color:#fff classDef aidStep fill:#1a2035,stroke:#d4a853,color:#f1f5f9 n1(["INTAKE"]) n2["CREATE"] n3["VERIFY"] n4["PRESENT<br/>hard stop -- the user decides"] n5(["DONE"]) n1 --> n2 n2 --> n3 n3 -.-> n2 n3 --> n4 n4 --> n5 class n1 aidEntry class n2 aidStep class n3 aidLoopBack class n4 aidStep class n5 aidExit class n1 aidNode class n2 aidNode class n3 aidNode class n4 aidNode class n5 aidNode
Source fragments
Section titled “Source fragments”Every node in the chart above, in chart order, with the exact canonical/ text it was derived from.
## State: INTAKE
1. **Allocate** through the Work Initiation Gate exactly as the contract's Allocation rule requires (`canonical/skills/aid-design/SKILL.md` INTAKE step 4 is the shape), with `initiator: aid-create-testing-strategy`. `phase` is not driven.2. **Read the seed** at `.aid/design/testing-strategy.md`.3. **Resolve the destinations by concern, not filename.** This skill binds concern **C6** (quality & testing, `canonical/aid/templates/kb-authoring/concern-model.md`) and owns **two** documents. The seed's `## Destination` names both halves; where it does not, resolve C6 against `.aid/settings.yml` `knowledge.doc_set`, falling back to the C6 row of `canonical/aid/templates/kb-authoring/domain-doc-matrix.md`, and confirm with the user. An ambiguous realization is **asked**, never picked silently.4. **Read both destinations** whole where they exist, and note each one's `source:` field.5. **Classify complexity** for the `aid-architect` dispatch (verifier tier >= producer).Source: canonical/skills/aid-create-testing-strategy/SKILL.md#L39-L52 · full step: canonical/skills/aid-create-testing-strategy/SKILL.md#L39-L54
## State: CREATE
**Exactly three conditions refuse. There is no fourth.**Source: canonical/skills/aid-create-testing-strategy/SKILL.md#L58-L60 · full step: canonical/skills/aid-create-testing-strategy/SKILL.md#L58-L92
## State: VERIFY
**Full verify**, as `design-lifecycle.md` defines it. Not clean -> loop to CREATE; the3-cycle circuit breaker there escalates to IMPEDIMENT + `lifecycle: Blocked`.Source: canonical/skills/aid-create-testing-strategy/SKILL.md#L96-L99 · full step: canonical/skills/aid-create-testing-strategy/SKILL.md#L96-L101
4 · PRESENT — hard stop — the user decides · step
## State: PRESENT (hard stop -- the user decides)
Set `lifecycle: Paused-Awaiting-Input`. Present both realized documents and assert: whichhalf went where; on a creation path both registration surfaces were written; and anythingrouted to `/aid-update-testing-strategy` is named.Source: canonical/skills/aid-create-testing-strategy/SKILL.md#L105-L109 · full step: canonical/skills/aid-create-testing-strategy/SKILL.md#L105-L111
## State: DONE
Set `lifecycle: Completed`, `updated` now, append a `## Lifecycle History` row.Source: canonical/skills/aid-create-testing-strategy/SKILL.md#L115-L117 · full step: canonical/skills/aid-create-testing-strategy/SKILL.md#L115-L117