Add a practical runtime verification guide for HEY

Merged
RO
11d ago
+621-0

Agents need to reproduce the reported behavior, not substitute a neighboring green test. This adds user-journey recipes, safe setup/evidence/cleanup guidance, and a small runner around the existing smoke harness.

Public checks need no backend; live integration checks require authorized internal access. The guide is self-contained, includes a maintenance procedure, and does not change product behavior or add a CI gate. Scripts derive checkout paths; no personal paths or private run artifacts are included.

Verification

  • A fresh agent wrote a focused regression and distinguished controlled faulty/good CLI artifacts through saved CLI values and independent browser readbacks. The generic baseline passed both; the same focused assertion failed then passed, with cleanup and retained evidence.
  • Six independent source reviews and live exercises of all five CLI recipe families corrected recipe drift and assertion overclaims.
  • Runner regressions, links/test references, formatting and full unit tests passed. Local unit checks used isolated loopback networking to exclude host probes.

Unattended TUI driving remains unsupported; an isolated PTY attempt correctly blocked on authentication. No whole-map or exhaustive behavior-coverage claim is made. Private validation artifacts are not uploaded.


Summary by cubic

Adds a runtime verification skill for HEY CLI/TUI so agents and contributors can reproduce reported behavior instead of relying on neighboring green tests. Public checks stay free of backend access; live integration paths report blocked when internal access or fixtures are missing. No product code or CI gate is added.

What changed

  • Added .agents/skills/verify-hey-cli/ with SKILL.md, feature recipes, development and bug-reproduction references, the smoke runner script, and its offline test-smoke contract.
  • Wired the skill into AGENTS.md so agents pick it up before runtime verification.
  • Runner refuses auth/logout cases and non-loopback origins, records source and binary metadata, and requires POSIX process groups and ps before any test starts.
  • Clarified calendar occurrence semantics, contact mutation limits, and profile-specific reply restrictions in the recipes.

Verification

  • Runner passed offline contract tests covering missing/retained state and conservative teardown, plus a real-process status/pin test.
  • A fresh agent reproduced a saved-Cc defect and confirmed red/green cleanup; six independent readers swept the recipes against actual test assertions.
  • TUI remains blocked for unattended driving and is reported as such.

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

The PR appears safe to merge; no actionable issues were found.

Summary

Adds a checkout-local guide for before-and-after runtime proof, plus a small runner around the existing smoke harness.

  • Agents can follow feature recipes to check reported HEY behavior.
  • The smoke runner records evidence for named live test cases.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Choose exact tests and binary] --> B[Pin binary and create private evidence]
  B --> C[Run existing smoke harness]
  C --> D[Development HEY and browser OAuth]
  C --> E[Fixture checks and cleanup]
  E --> F[Audit exit code and test events]
  F --> G[Save result and recovery details]

Reviews (1) · Last reviewed commit: "Separate public checks from internal int..." · Reviewed by Greptile