Skip to content

Add coveredElsewhere audit waiver (refs #264) - #302

Merged
jimhoyd merged 1 commit into
mainfrom
feat/264-covered-elsewhere-waiver
Sep 20, 2026
Merged

jimhoyd merged 1 commit into
mainfrom
feat/264-covered-elsewhere-waiver

Conversation

@jimhoyd

@jimhoyd jimhoyd commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Refs #264 (does not close it).

Implements the maintainer decision: a per-route, per-method coveredElsewhere: {POST: "reason"} in urlcode.yaml. Reason required and non-empty (schema + router validation), method must be one of the route's methods, no CLI flag.

  • audit adds waivedRouteMethods (pair + reason, shown even when ready: true), ignoredWaivers and redundantWaivers (pair already has a passing fixture; never blocks ready). Waived pairs leave uncovered.
  • A waiver is honored only when the route has another passing normal-response fixture, so it cannot hide an error-only function route or a route with no fixture (pair stays in uncovered).
  • Schema, YAML-REFERENCE, docs/READINESS.md, llms-full.txt, tests, new examples/coverage-waiver (registered in the example catalog), [Request]: Let audit treat methods covered by other tests as intentionally covered #264 row removed from OPEN-DECISIONS.

Open decision: the honoring rule blocks a waiver on a route whose only method is the waived one (e.g. POST-only). Loosening it would let an error-only function route be hidden, which the decision forbids.

Verified: npm run verify (613 tests pass), check:docs.

🤖 Generated with Claude Code

@jimhoyd
jimhoyd force-pushed the feat/264-covered-elsewhere-waiver branch from e436afe to 1b6fdc0 Compare September 20, 2026 15:32
@jimhoyd
jimhoyd enabled auto-merge (squash) September 20, 2026 15:32
@jimhoyd
jimhoyd merged commit 276e7c4 into main Sep 20, 2026
20 checks passed
@jimhoyd
jimhoyd deleted the feat/264-covered-elsewhere-waiver branch September 20, 2026 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant