Changelog

What shipped.

Concrete changes in the BrokenApp Rust CLI — verified by unit tests, live Chrome integration tests, and multi-app field runs.

Latest

v0.1.0 — Scoped CDP Fetch, Polling Filter & Auth Warm-Up

November 2026

First fixes closed directly from the live `brokenapp feedback` queue across Next.js 16 Turbopack and FastAPI SPA apps.

  • Scoped CDP `Fetch.enable` away from read-only static assets (`Script`, `Stylesheet`, `Image`, `Font`, `Media`) on local scans and skipped response-body reads on static bundles, eliminating 12–41s Next.js 16 dev chunk stalls.
  • Added two-layer background polling & heartbeat detection (`POST /api/session/renew`, repeated `on_load` / `setInterval` polls) so periodic background traffic no longer triggers false `REWIRED` / `ENDPOINT REMOVED` CI diffs.
  • Passed authenticated role cookies/tokens into route warm-up so auth-gated Next.js pages compile before crawling; collapsed `/login?next=<route>` redirect loops into a single canonical `/login` view.
  • Replaced misleading sandbox `File exists (os error 17)` registry errors with actionable `BROKENAPP_HOME` guidance (documented in `--help` and `init --help`), synced custom `--url` ports into auto-detected `dev_cmd`, and warned when `config.toml` records an absolute `codebase` path.
  • Honored `ready_timeout_secs` + 1 cold-compile retry on `login --check`, preserved `--state-dir` in `roles add` hints, aggregated `feedback --include-stats` across all mapped roles (`roles_mapped`), suppressed expected `ResetWithoutClosingHandshake` teardown errors, clarified warm-up caps + `next build && next start` tip, and added `--view-budget` hints for single-route tabbed SPAs.
Feedback Loop

v0.1.0 — Auth Write-Guard, Dynamic Priority & Opt-In Feedback

November 2026

Fixed real multi-role Next.js 16 / NextAuth edge cases surfaced by live coding-agent runs and added strictly opt-in agent feedback.

  • Allowed same-origin auth POST submissions (NextAuth `/api/auth/callback/credentials`, Better Auth, custom login routes) inside `AuthWriteScope` during form login while keeping logout and non-auth writes strictly guarded.
  • Suppressed app-wrapped `console.error(..., err)` carrying write-guard `Failed to fetch` / `w.fetch` aborts so `DEAD-UI.md` `Broken` stays 100% real app defects.
  • Boosted the first concrete URL discovered per unvisited dynamic `:id`/`:slug` template ahead of static routes, and deprioritized `anonymous`-visited public routes on authenticated roles while seeding each role's UI `--check` route.
  • Preserved DOM hit-test blockers in `obscured_by` and surfaced `top covers` across `UI-MAP.md`, `DEAD-UI.md`, `ui --compact`, and `dead`.
  • Folded dark/light `ThemeToggle` label pairs in `ROLE-ACCESS.md` and recorded `login_failed (<detail>)` directly in the `This run` column.
  • Exempted password-recovery UI routes (`/reset-password`, `/password-reset`, `/forgot-password`) from `GET_WRITE_MARKERS`, verified registry writability before writing `config.toml` in `init` (plus unregistered config recovery without `--force`), and silenced `chromiumoxide` enum warnings under `-vv`.
  • Added strictly opt-in `brokenapp feedback` (`--opt-in`, `--dry-run`, `--send`, `--include-stats`) backed by `https://brokenapp.io/api/feedback`.
Hardening

v0.1.0 — Field Hardening

November 2026

Hardened auth, crawling, RBAC gates, and agent ergonomics across four real multi-app Next.js, Supabase, and monorepo codebases.

  • Strictly non-interactive `brokenapp roles add` under `--json` or explicit `--*-env` flags; added `--anon-key-env` / `--api-key-env` and passwordless button-only dev-picker support.
  • `brokenapp login --role` now verifies every auth method (`form`, `cookie`, `bearer`, `supabase`, `firebase`, `session`, `manual`) with fast HTTP preflight and uniform exit-1 JSON error envelopes.
  • Broadened React form login submit auto-detection (`<button type="button">` + Enter fallback) with actionable failure diagnostics and `@supabase/ssr` cookie injection.
  • Replaced LIFO seed crawling with breadth-first priority FIFO scheduling; bounded Next.js dev warmup (`max_routes=20`, `concurrency=2`, `45s` budget) and filtered SSE/HMR/CSP telemetry streams.
  • Scoped form-state recovery per `form_index` while preserving unsupported-control submit guards; rejected React 19 / Radix `useId()` churn and suppressed false Broken states on write-guarded Server Actions.
  • Hardened `init` against `/usr/bin/env` secret leaks and staging/prod `.claude/launch.json` configs; surfaced monorepo workspaces directly in errors and added `cwd` registry auto-discovery.
Core

v0.1.0 — Opt-In Exhaustive SPAs & Customer Journeys

November 2026

Added opt-in `--full` mode for state-heavy SPAs and opener-aware multi-step customer journeys without bloating default runs.

  • Added `brokenapp map --full` (`--depth`, `--max-interactions`, `--view-budget`) with convergence stopping disabled, pinned `extra_routes`, attribute-revealed DOM snapshots, and a 15s nested pass floor.
  • Upgraded `brokenapp journey` to trace both route hops and in-page modal/drawer/tab/wizard chains with step counts, per-kind breakdowns, endpoint status, and `path_evidence`.
  • Added `--inventory <PATH>` across `ui`, `dead`, and `journey` to query isolated `map --route` snapshots directly.
  • Added `init --agent claude-code|agents-md|all|none` and strict `INCONCLUSIVE` exit-1 CI gating on missing or rebaselined baselines.
Foundation

v0.1.0 — Focused OSS Core Architecture

November 2026

Consolidated BrokenApp into a single zero-dependency Rust binary with 11 focused commands, zero databases, and zero MCP/Node sidecars.

  • 11 focused commands: `init`, `roles`, `login`, `map`, `changes`, `parity`, `dead`, `ui`, `journey`, `doctor`, `projects`.
  • Greppable committed artifacts in `.brokenapp/map/`: `UI-MAP.md`, `ui-map.tsv`, `endpoints.tsv`, `DEAD-UI.md`, `ROLE-ACCESS.md`, `CHANGELOG.md`, `UI-MAP.html`.
  • Mechanical CDP write guard (`block` by default) and local-only target policy.