validation-methodology
Reusable validation and review methodology for staged validation, failure triage, and prosecution-depth setup. Use when running validation ladders, triaging failures, or executing adversarial review passes. DO NOT USE FOR: CE Gate orchestration, specialist dispatch ownership, or step execution flow (keep those in Code-Conductor).
- License 许可
- MIT
- 最近更新
- 2026-08-16
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- validation-methodology
- description
- Reusable validation and review methodology for staged validation, failure triage, and prosecution-depth setup. Use when running validation ladders, triaging failures, or executing adversarial review passes. DO NOT USE FOR: CE Gate orchestration, specialist dispatch ownership, or step execution flow (keep those in Code-Conductor).
02 资源文件 4
- 参考文档references/observability-checklist.md849 B
- 参考文档references/post-judgment-routing.md4.5 KB
- 参考文档references/review-reconciliation.md23.3 KB
- 参考文档references/review-state-persistence.md1.9 KB
03 SKILL.md 正文
<!-- platform-assumptions: markdown skill guidance for VS Code custom agents in Agent Orchestra; assumes the owning agent already controls routing, step order, and specialist handoffs. --> <!-- markdownlint-disable-file MD041 MD003 -->
Validation Methodology
Reusable entryway for staged validation and extracted review-reconciliation references.
When to Use
- When an agent needs a graduated validation sequence from cheap automated checks to independent review
- When validation failures need a consistent triage rule before re-delegation
- When a review cycle needs the shared review-reconciliation contract without re-reading Code-Conductor
- When an agent needs reusable review heuristics but must keep specialist routing, express-lane ownership, and CE Gate ownership in the agent
Purpose
Run validation in increasing-cost tiers, classify failures before rework, and point callers at the canonical review-reconciliation references. The owning agent still decides who speaks next, when CE Gate runs, and how accepted fixes are routed.
Validation Ladder
Validation runs in this graduated 4-tier order:
- Tier 1 — Build & Validate: run quick-validate commands, lint/typecheck, and the full test suite together when practical so all failures are visible before fixing. Prefer lint/typecheck before tests when the project supports it. For migration-type issues, also run the migration completeness scan required by the owning workflow. Projects with slow test suites can override in
copilot-instructions.mdby adding<!-- slow-test-suite: true -->, which splits Tier 1 into: (a) quick-validate, lint/typecheck, and targeted tests, then (b) the full test suite. - Tier 2 — Structural validation: run project architecture or structural validation commands defined by the repository.
- Tier 3 — Strength validation: run configured coverage, robustness, or deeper confidence checks defined by the repository.
- Tier 4 — Independent review lane: load references/review-reconciliation.md after the lower tiers pass. The owning agent keeps any CE Gate orchestration, post-fix routing, and specialist-dispatch authority that follows this tier.
Do not skip ahead when an earlier tier fails. Resolve failures at the current tier before advancing.
Failure Triage Rule
When a validation tier fails, classify first, then route:
code defect→ route to the implementation specialist with failing evidencetest defect→ route to the testing specialist with failure analysisharness/env defect→ route to the responsible tooling or environment pathrc-divergence→ run one dedicated correction cycle outside the main convergence budget: dispatch implementation first with the divergent acceptance-criteria items, re-run Tier 1, re-evaluate all acceptance-criteria items, then dispatch testing only if divergence persists and the assertions must be re-derived from the Requirement Contract rather than the corrected implementation
Always include the failure evidence, attempted diagnosis, and the next action in the handoff prompt. Avoid blind retries.
Composite References
- references/review-reconciliation.md: pre-review gate, prosecution-depth setup and use, fixed 3-pass review mechanics, non-GitHub review mode, improvement-first rule, AC cross-check, R4 batch dispatch, and the R2 post-fix review loop
- references/review-state-persistence.md: review-state persistence shape, lookup precedence, completion gate, and resume evidence rules
- references/post-judgment-routing.md: post-judgment prosecution-depth re-activation detection and the paired routing index
- ../code-review-intake/references/express-lane.md: canonical R6 express-lane gate, scope restriction, and Tier 1 re-validation requirement
Review Heuristics At A Glance
- Complete the full prosecution to defense to judgment cycle before fix routing.
- Avoid blind retries; carry forward the failure evidence and current hypothesis with each re-delegation.
- Preserve the change-type classification and any prosecution-depth exclusions in every prosecution prompt.
- Keep merged-ledger deduplication evidence-based: same evidence at the same file and line collapses; materially different evidence remains additive.
Boundaries
This skill does not decide:
- which agent speaks next
- when a step begins or ends
- how accepted findings are routed to specialists
- whether express-lane routing is available or how it dispatches
- when CE Gate orchestration or PR creation runs
- when review-mode entry, post-fix prosecution entry, or post-judgment follow-up occurs
- whether durable handoff state is written
- whether calibration or other write-back side effects occur
Keep those decisions in the owning agent.
Gotchas
| Trigger | Gotcha | Fix |
|---|---|---|
| Copying specialist routing, CE Gate ownership, or step-order decisions into this skill | The skill stops being reusable methodology and starts stealing orchestration authority from the agent | Keep routing, step execution flow, durable handoff ownership, and CE Gate orchestration in the owning agent; move only reusable validation and review method text here |
04 同仓库更多 Skills
webapp-testing
Playwright end-to-end testing guidance for web apps, with practical patterns and setup steps. Use when creating or improving browser-based E2E coverage, test stability, and CI execution. DO NOT USE FOR: React component tests (use ui-testing), canvas game interaction (use browser-canvas-testing), TDD workflow (use test-driven-development), debugging failures (use systematic-debugging), or randomized property tests (use property-based-testing).
verification-before-completion
Evidence-based verification checklist before marking work complete. Use before PRs, releases, marking tickets done, or any "I'm finished" declaration; also when naming a baseline commit for a differential suite claim, when designing a mutation campaign or red-run evidence, when making an absence claim, a universal claim, or a one-time demonstration offered as a standing guarantee, when attributing a measurement or claiming a sweep or verification loop is complete, and when stating what a check or a CI suite will do about a change. DO NOT USE FOR: post-merge cleanup or archival (use post-pr-review) or processing GitHub review comments (use code-review-intake).
upstream-onboarding
Shared opening-phase protocol for upstream agents (Experience-Owner, Solution-Designer, Issue-Planner) and Code-Conductor when invoked on an existing GitHub issue. Renders a scaled context brief and runs a standards check on inherited work at each phase boundary. Use when a user-invocable agent receives a request referencing an existing GitHub issue and must load solution-authoring and upstream-onboarding at the opening phase. DO NOT USE FOR: subagent dispatches (which already operate within an assessed session context); post-merge review (use post-pr-review); research or non-tree subagents.
ui-testing
Resilient React component testing strategies focusing on user behavior. Use when writing or reviewing component-level React tests, fixing flaky component tests, or establishing React testing patterns. DO NOT USE FOR: Playwright E2E tests (use webapp-testing), canvas game interaction (use browser-canvas-testing), TDD workflow (use test-driven-development), debugging failures (use systematic-debugging), UI component design (use frontend-design), or randomized property tests (use property-based-testing).
ui-iteration
Reusable screenshot-driven UI polish workflow for iterative visual refinement. Use when improving layout, hierarchy, spacing, feedback, or Tailwind-based presentation through repeated review-and-adjust passes. DO NOT USE FOR: functional bug fixing, accessibility-only audits, or major redesign strategy work (use Code-Smith or frontend-design).
tracking-format
Tracking-file frontmatter and coordination format guidance. Use when creating or reviewing local tracking files and related handoff conventions. DO NOT USE FOR: session-memory plan authoring rules outside the documented references here.