Skip to content

[Gap]: urlcode audit reports ready:false without saying why #249

Closed

Description

@jimhoyd

Found while building a Todo app with URLCode 0.4.1 (evaluation task).

Tried: urlcode audit --project . --expect-routes 5 on a valid project (validate OK, 14/14 fixtures pass, route count matches).
Expected: a ready: true, or a named reason when false.
Got: "ready":false,"failed":0,"countMatches":true, plus uncovered (route/method pairs with no fixture) and unassertedCases:[8], but nothing states which condition makes ready false. I inferred it is uncovered methods; the docs (docs/OPERATIONS.md, READINESS.md) do not define it.
Workaround: none needed; documented in the app README.
Category: discoverability / AI-agent usability.
Suggestion: add notReadyReasons: [...] to the audit output and document the exact rule. Note fixtures for stateful function routes (create/update/delete) mutate whatever store the function uses, so "uncovered" is hard to satisfy for CRUD apps; consider a way to mark methods intentionally covered by other tests.

Activity

  1. jimhoyd commented on Sep 20, 2026

    @jimhoyd
    CollaboratorAuthor

    Second independent occurrence (A/B benchmark, Sonnet 5, 0.4.1). urlcode audit --expect-routes 5 on a valid 5-route app: 22/22 checks passed, ready:false, uncovered listed 7 route/method pairs and unassertedCases:[14,15], with no stated reason. The agent left it unresolved because success fixtures for mutating routes would change the real data file. Same conclusion as the original report: name the condition, and give stateful CRUD apps a way to mark methods as covered elsewhere.

  2. jimhoyd commented on Sep 20, 2026

    @jimhoyd
    CollaboratorAuthor

    Fixed in #250: the audit report now includes notReadyReasons and docs/READINESS.md documents each code. The issue's second suggestion (marking methods as intentionally covered by other tests, for stateful CRUD routes) was not implemented; it changes the readiness gate's semantics and can be opened as its own issue if wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions