dev-tests · git:20261016.3e48a93 · 2026-10-16 · sha256 22b879765d542c84
dev-tests git:20261016.3e48a93A
Immutable. This exact content never changes and is served at /api/v1/blob/22b879765d542c84.
--- name: dev-tests description: "Plan risk-based coverage and execute functional acceptance across backend, APIs, pages, UI, business logic and end-to-end journeys. Run existing scoped checks; route source fixes to their owner." --- # Dev Tests ## Entry Gate Own a bounded test-coverage and evidence decision for a declared feature, change, or journey. During product/design work, identify risks, testability gaps and provisional checks without waiting for implementation. Resolve applicable authorities, their acceptance status, target basis, environment and permission before execution; only settled oracles support acceptance verdicts. Reuse the project test plan and its IDs. When asked to execute functional acceptance, run the reachable authorized cases; a checklist alone does not complete the run. ## Route Map | Request condition | Read | Result | | --- | --- | --- | | Design early checks or reconcile risk-based coverage against contracts | [coverage](references/coverage.md) | Requirement-to-layer matrix and qualified gaps | | Run existing checks, rerun failures, or choose regression scope | [execution](references/execution.md) | Reproducible scoped runs and evidence-bound outcomes | | Execute a functional acceptance campaign or resume its case inventory | [functional workflow](references/workflow.md) | Real journeys, correlated results, retest and cleanup | | API or business-state behavior participates | [API and logic](references/api-and-logic.md) | Wire, business status and independent persistence assertions | | Pages, UI or clicks participate | [page walkthrough](references/page-walkthrough.md) | Reachability, real interaction and visible outcomes | | Record functional cases, defects or recovery | [test record](references/test-record.md) | Finite coverage, case evidence and recovery queue | | Role isolation, concurrent users, load or performance applies | [roles and performance](references/roles-and-performance.md) | Authorized scenarios, metric interpretation and comparable measurements | | Compose a result for review or another owner | [result contract](references/result-contract.md) | Versioned basis, coverage, evidence and handoff | ## Invariants - Product behavior belongs to `product-spec`, visual behavior to `ui-spec`, and wire semantics to `api-spec`. Test ambiguity cannot silently decide those contracts. - Select and run existing project tests within scope. Missing tests, harness changes, fixtures requiring source edits, and fixes belong to the matching implementation owner. Browser/client mechanics belong to `ops-browser`/`ops-client`; these names are handoff targets, not automatic invocation or granted capabilities. - Read current project commands and their effects before execution. Use isolated test state and authorized resources; preserve safety stops, denied routes and scope limits. A failure does not authorize another identity, mechanism, or environment to bypass them. - Preserve `passed`, `failed`, `blocked`, `not-run`, and `excluded` separately. A mock, fixture, static check or lower layer proves only its observed boundary, never a real integration or complete E2E. Missing access is a blocker, not an exclusion. - Rebind evidence after requirement, UI, code, configuration or environment changes. Reuse unaffected evidence only with an explicit impact rationale; old green results cannot approve a new basis by default. - Produce test evidence, not a competing task ledger or a release verdict. `to-task` owns durable work reconciliation, `repo-review` the fixed-basis review, and `repo-delivery` separately authorized Git actions. No deployment, installation, publication, production load, or implicit promotion follows from testing. ## Output Map Return the [result contract](references/result-contract.md): frozen basis and authority versions, layer matrix, executed checks and evidence, failures and blockers, justified exclusions, remaining acceptance gaps and smallest owner-specific next action. State whether a first real E2E was observed and its exact boundary. Never flatten the matrix into “all tests passed” when required cells remain unresolved. ## Reference Map - Read [coverage](references/coverage.md) when deriving or reconciling the acceptance matrix. - Read [execution](references/execution.md) before running checks or making regression claims. - Read [functional workflow](references/workflow.md) for functional campaigns and resumed case inventories. - Read [API and logic](references/api-and-logic.md) for network, business status and persistence. - Read [page walkthrough](references/page-walkthrough.md) for real UI journeys and browser evidence. - Read [test record](references/test-record.md) for functional plans, defects, coverage and recovery. - Read [roles and performance](references/roles-and-performance.md) only for relevant multi-user, authorization or performance requirements. - Read [result contract](references/result-contract.md) when consuming results or returning evidence. - Maintainers only: read [eval cases](references/eval-cases.md); do not load it during ordinary execution.