Skip to content

charter_brief reports scaffold-generated routes as implemented endpoints, and its evaluator still passes #449

Backlog

Description

@stackbilt-admin

Problem

On Charter's own repo (pinned 5412100), charter_brief / charter context reports "Stack: frontend", "17 routes… hono" (including POST /auth/login) and "Hotspots: analysis unavailable" for a CLI monorepo. All 17 routes come from three files that generate or illustrate code for scaffolded projects; the login handler is a string the generator emits.

The structural brief evaluator (scripts/eval-brief-coverage.mjs) still passes 11/11, because a Surface heading satisfies its route check and "analysis unavailable" satisfies its hotspot check. So a brief can pass its own evaluation while pointing an agent at the wrong subsystem. Found by one reviewer; the 17-route symptom was reproduced independently.

Expected

  • Routes and other scan results carry their source file, and those found in generator, fixture, example or template code are scoped (or excluded) as such.
  • "Analysis unavailable" fails the hotspot check instead of satisfying it.
  • Stack detection doesn't label a CLI monorepo "frontend".

Acceptance

  • On this repo, the brief lists no scaffold-emitted routes as implemented endpoints, and each listed route shows its source path.
  • The evaluator fails when hotspots are unavailable, or reports them as a separate, explicit gap.

Works on its own. Part of #437 (first-contact correctness).

Activity

  1. added
    bug
    priority:p2
    epic:preflight
    on Nov 28, 2026
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

    bugepic:preflightpriority:p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions