plateprocess.dev · PLATE release v0.12.0

Copilot Cli Verification Harness

Copilot CLI Verification Harness Strategy

Historical: akasper/plate_template is retired; new repositories use starting-a-new-repository.md.

Research Question

What is the most reliable way to verify the baseline agents and skills from CI, including discovery and simple delegation through Copilot CLI plugin surfaces?

Sources

Findings

What is already reliable

The current plate_core tests already prove the stable parts of the runtime:

That pattern is strong because it asserts the contract at the API boundary instead of depending on fragile transcript matching.

What is risky

Directly automating an interactive Copilot CLI session is inherently more brittle than testing the runtime surfaces:

Layer Purpose Why it belongs
Unit tests Validate catalog loading, CLI rendering, and MCP JSON payloads Fast, deterministic, easy to keep green
Integration tests Exercise repo-level feature discovery and plugin bundle wiring Catches surface regressions
Interactive smoke tests Optional sanity check for the Copilot CLI plugin persona and delegated tool access Confirms the human-facing experience
Playwright-style artifact capture Use only when the session is interactive and artifact-rich enough to justify it Good for evidence, but not the primary correctness tool for a CLI session

Recommendation for the epic

  1. Keep the authoritative tests in Python unittest/integration form for the runtime surfaces.
  2. Add a small smoke harness for plugin install/discovery once the baseline catalog exists.
  3. Capture transcripts/artifacts for the plugin experience, but do not make the entire feature depend on brittle transcript strings.
  4. If Playwright is used, keep it at the orchestration layer and assert on structured outcomes, not loose human text.

Recommendation

Use unit and integration tests as the primary verification path, then add a thin interactive smoke layer for the Copilot plugin experience. That balance gives the epic durable proof without overfitting the verification harness to transient CLI output.