Skip to content

[Request]: --expect-routes counts the generated robots.txt route #290

Closed

Description

@jimhoyd

Got: with site.robots configured, urlcode audit --expect-routes counts the generated /robots.txt route, so the expected count is not the number of routes declared in routes: (agent-reported; 10 declared routes).
Suggestion: document the counting rule beside the flag, or exclude generated site routes / report declared and generated counts separately.

Evidence: A/B benchmark on URLCode 0.4.2, Sonnet 5 agent building a blog from the repo docs (n=1; the agent's own report, not independently reproduced). Artifacts: urlcode-benchmarks/blog-2026-09-20/ (local). The agent finished with 25/25 acceptance checks; the control used 58,773 tokens vs 125,443 for URLCode.

Activity

  1. added
    enhancement
    ai-first
    in-progress
    on Sep 20, 2026
  2. jimhoyd commented on Sep 20, 2026

    @jimhoyd
    CollaboratorAuthor

    Progress: an agent is working on this; a PR will be linked here when it opens.

  3. jimhoyd commented on Sep 20, 2026

    @jimhoyd
    CollaboratorAuthor

    Progress: PR #298 opened. --expect-routes semantics unchanged; the audit report's counts now also carries declared and generated, and docs/READINESS.md states the counting rule and lists generated site routes.

  4. removed
    in-progress
    on Sep 20, 2026
  5. jimhoyd commented on Sep 20, 2026

    @jimhoyd
    CollaboratorAuthor

    Fixed in #298: the counting rule is documented beside --expect-routes and the audit report's counts now carries declared and generated (they add up to configured). --expect-routes semantics are unchanged.

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

    ai-firstenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions