Appropriate use
Use before regression execution, release candidate testing, hotfix validation, or when deciding what existing automation must run.
Determines the smallest defensible regression set for a change by combining code impact, architecture, risk, historical failures, platform exposure, and operational behaviour.
This page defines the behaviour, controls, evidence, and outputs required from the skill. It does not claim that a language model can enforce security or correctness by wording alone.
Use before regression execution, release candidate testing, hotfix validation, or when deciding what existing automation must run.
Do not use to claim unaffected areas are impossible to break or to reduce scope without recording assumptions and evidence.
Each phase has explicit inputs and outputs. Approval gates are hard stops bound to exact versions and hashes.
Resolve the ticket, PR, diff, base and head commits, generated files, configuration, migrations, dependency updates, feature flags, and deployment topology.
Map changed components, functions, routes, schemas, permissions, UI surfaces, jobs, storage, and test files.
Trace shared libraries, consumers, events, caching, permissions, queues, APIs, rollout controls, upgrade paths, and cross-repository dependencies.
Add incident history, escaped defects, flaky areas, customer concentration, platform variance, data sensitivity, and rollback difficulty.
Select required smoke, direct regression, indirect regression, platform checks, negative cases, recovery tests, and automation suites.
Review equivalence assumptions, pairwise selections, skipped platforms, redundant tests, runtime cost, and parallelisation opportunities.
Present the regression map, priorities, estimates as bands, stop conditions, and residual risk. Bind approval to the change-set hash.
Generate stable test IDs, suite commands, manual scenarios, environment matrix, and a machine-readable manifest for downstream execution.
An approval cannot be reused after its environment, source, action plan, or approved document changes.
| Gate | Decision | Required binding |
|---|---|---|
| 1 | Gate 1 · approve change set | Approval stores approver, role, timestamp, context hash, approved document hash, expiry, and invalidation state. |
| 2 | Gate 2 · approve scope | Approval stores approver, role, timestamp, context hash, approved document hash, expiry, and invalidation state. |
| 3 | Gate 3 · publish scope | Approval stores approver, role, timestamp, context hash, approved document hash, expiry, and invalidation state. |
Attempt outcomes remain separate from these workflow results. Errors, cancellations, and invalid context are never silently converted into a pass.
A small, well-isolated change supports a narrow regression set with strong confidence.
Direct and selected indirect regression are required.
Shared components, data, permissions, or platform reach require wide regression.
Systemic, migration, release-platform, or highly uncertain change requires the full approved suite.
The change set or architecture evidence is insufficient to create a defensible scope.
Evidence has provenance, capture context, privacy classification, retention, and integrity metadata. A convenient artifact is not automatically sufficient proof.
| Claim | Primary evidence | Required validation |
|---|---|---|
| Change identity | Diff and deployment manifest | Generated and configuration changes are included. |
| Direct impact | Symbol, route, schema, and UI mapping | User-visible and service-visible effects are linked. |
| Indirect impact | Dependency and event graph | Shared consumers and operational paths are considered. |
| Historical risk | Defect and incident references | Past failures are relevant to the changed area. |
| Selection | Test-to-risk traceability | Every required test has a reason. |
| Exclusion | Explicit rationale | Skipped areas state evidence, assumption, and residual risk. |
These controls belong in the runtime, connector permissions, sandbox, renderer, storage layer, and review process.
Runtime configuration, migrations, generated assets, and dependency versions are part of scope.
Every supported platform not selected is listed.
Old risk signals are reviewed for relevance rather than copied forever.
Commands and test lists are versioned to avoid running a moving target.
New commits or config updates invalidate the approved scope.
Runtime savings never masquerade as risk elimination.
The first applicable high-severity outcome takes precedence. A manual override is recorded separately and never rewrites the calculated result.
The change or dependency evidence is insufficient.
Systemic or uncertain impact requires complete approved regression.
Multiple components, platforms, or operational paths require wide coverage.
Known direct and indirect risks support a focused set.
Isolation is strong and a narrow set is defensible.
The workflow documents what it cannot prove and what further evidence would change confidence.
Human summaries are generated from validated structured records. They are not maintained as separate, drifting sources of truth.
scope-context.jsonVersioned output produced by the workflow.
change-map.mdVersioned output produced by the workflow.
dependency-map.jsonVersioned output produced by the workflow.
risk-register.yamlVersioned output produced by the workflow.
regression-manifest.yamlVersioned output produced by the workflow.
manual-scenarios.mdVersioned output produced by the workflow.
suite-commands.shVersioned output produced by the workflow.
exclusions.mdVersioned output produced by the workflow.
regression-scope.htmlVersioned output produced by the workflow.
artifacts/qa/regression-scope/<run-id>/ ├── scope-context.json ├── change-map.md ├── dependency-map.json ├── risk-register.yaml ├── regression-manifest.yaml ├── manual-scenarios.md ├── suite-commands.sh ├── exclusions.md └── regression-scope.html
Scope regression for PR 9812. It changes shared authentication headers used by Studio and Pulse, with no UI diff.
Scope: BROAD Required: - Admin and Member authentication flows - Organisation switching - Direct API access - Cached sessions - Expired sessions - Studio and Pulse smoke suites - Cross-tenant denial checks Why: The diff is small, but the changed header is a shared permission boundary used across two products.
The written skill is only one layer. The repository, runtime, connectors, evidence storage, and publication path must implement these requirements.
Determines the smallest defensible regression set for a change by combining code impact, architecture, risk, historical failures, platform exposure, and operational behaviour.