# Project 3 — Autonomous Vehicle Fleet Operations Command Center

**Scope:** Los Angeles AV fleet operations **simulation**. All vehicles, coordinates, incidents, providers, response times, costs, and performance measures are synthetic portfolio assumptions. No confidential HONK, Waymo, Zoox, or partner information. Do not present the simulation as a live fleet feed.

**Guardrails:** Do not change Project 1 (`ai-dispatch-project.html`) or Project 2 (`la-service-operations.html`) except a critical site-breaking fix. Maintain the existing portfolio studies and clearly distinguish this *new* AV Command Center from existing Project 03 EV Network Expansion and Project 04 Fleet Operating Review.

## Roadmap (update after every verified delivery)
### Phase 1 — Foundations
- [x] Create durable roadmap and scope/disclosure.
- [x] Create responsive, accessible dark command-center UI at `project3-av-command-center.html`.
- [x] Add homepage portfolio navigation without removing existing work.
- [x] Render schematic LA fleet map, selectable vehicles, and detail panels.
- [ ] Verify deployed page and mobile navigation.

### Phase 2 — Dispatch MVP
- [x] Generate immobilized AV, door-ajar, flatbed-recovery, and depot-transport incidents.
- [x] Show severity, queue, elapsed simulated time, and SLA status.
- [x] Filter compatible providers and support assignment.
- [x] Advance dispatch → en route → on scene → completed, with escalation handling.
- [x] Acceptance: select vehicle → create incident → assign provider → complete → KPIs update.

### Phase 3 — Analytics
- [x] Snapshot fleet availability and fleet-minute incident downtime/service-ready exposure with explicit denominators. Commercial trip utilization is not modeled; remains pending Phase 4 trip/demand model.
- [x] Mean/nearest-rank p90 completed response, completed recovery costs, provider assignment/completion/SLA/spend, incident counts by type and area.
- [x] Geographic and incident-type breakdowns; completed-stage mean/p90 and largest observed mean bottleneck (descriptive only).

### Phase 4 — Planning
- [x] Compare existing four fictional providers with one additional staged crew at LAX/Westside, Valley, or San Pedro/Harbor; capability-compatible earliest-on-scene dispatch with deterministic cost/ID tie-breaks.
- [x] Fleet size (12–240), synthetic incident demand (2–30 incidents per 100 AVs/day), and maximum incremental 30-day cost controls; modeled queue time, mean/p90 response, SLA share, and cost.
- [x] Baseline/alternative before-and-after comparison using identical seeded synthetic incidents, a fixed 30-day horizon, one-crew-per-provider capacity, and explainable budget-constrained recommendation. Fleet-size control scales incident workload, not the 12 vehicle markers; passenger-trip utilization is still not modeled.

### Phase 5 — Quality and deployment
- [x] CI regression coverage for planning determinism, identical incident cohorts, capacity queueing, capability checks, recommendation budget, cost reconciliation, and invalid inputs (18 total Project 3 tests).
- [x] Unit tests for state transitions, provider eligibility, KPI formulas, edge cases, fleet-minute denominators, provider metrics, SLA and bottleneck summaries (11 synthetic tests in GitHub Actions).
- [ ] Keyboard navigation, semantic status, focus behavior, mobile responsive checks.
- [ ] Clearly disclose synthetic data, scenario assumptions, limitations.
- [ ] Publish executive summary and methodology.
- [ ] Verify production deployment and key workflow.

## Phase 6 — Scale the simulation (next active milestone)
- [x] Inspect existing state initialization and test fixtures before changing fleet size.
- [x] Introduce a fixed-seed generator for 100 fictional vehicles across Central LA, Westside/Venice, Valley, South LA/LAX, and Harbor/San Pedro; fixed internal seed `20261102`, LCG parameters `1664525`/`1013904223`, and approximate zone-coordinate jitter. Still synthetic and not street-snapped.
- [x] Expand from four to six fictional recovery teams, with equipment/capabilities and one-active-assignment-per-team capacity.
- [x] Add deterministic 24-marker representative view (selected and incident AVs always shown; search and unavailable-only view show all matches). The full fleet remains in the keyboard-accessible vehicle selector. This is visual density control, not geographic clustering or actual telemetry.
- [ ] Ensure vehicle selectors, incident creation, provider eligibility, response metrics, reset, and the separate 30-day scenario planner remain consistent.
- [x] Verify engine/analytics/planning regression tests for 100 unique vehicles, deterministic reset, six providers, assignment capacity and KPI formulas: 38 tests passed in run `41570001039` (the separate static-integration step failed).
- [x] Document distinct simulation scales: interactive workbench defaults to 100 deterministic synthetic vehicles and six fictional teams (optional engine fixture count 12–240 and unsigned 32-bit seed); the separate planning slider controls a 30-day synthetic incident cohort and does not resize the workbench or imply real telemetry. The default seed is 20261102; LCG uses unsigned 32-bit state, multiplier 1664525, increment 1013904223, and five approximate LA area centers with jitter. The initial 12 demonstration points remain fixed; neither they nor generated points are road-snapped.\n- [ ] Expose seed and fixture-size controls in the UI only after confirming map/selector performance, reset semantics and keyboard behavior at 240 vehicles.
- [x] Repaired inline-script CI static integration; GitHub Actions run 41658312327 passed and Pages deployment run 41658311783 succeeded at dd732645. Browser/mobile interaction verification still pending.\n- [x] Verify CI for configurable fixture commit `7ab836b8`: run `41764186668` passed both regression and static-integration steps.\n- [ ] Verify GitHub Pages deployment for latest roadmap commit and perform live browser/mobile acceptance checks.

**Exit criteria:** A fixed seed reliably creates 100 selectable vehicles and six recovery teams; a user can dispatch and complete an incident; KPIs update; existing tests pass; and the page remains usable on mobile.

## Current prioritized next steps (2026-11-04)
1. Confirm Project 3 CI and Pages deployment for map-density changes; run actual mobile/keyboard browser checks when available.
2. Source and attribute a public Los Angeles geographic basemap. The existing schematic now uses explicit WGS84 bounds and tested coordinate projection; it is NOT a street map, real telemetry, or road-snapped geometry.
3. Validate a road-network routing provider and its usage constraints; preserve clearly labeled deterministic straight-line fallback.
4. [x] Rank eligible, unoccupied crews by capability, modeled on-scene ETA, estimated initial recovery charge and stable ID; add deterministic capacity/eligibility regression. [ ] Replace straight-line estimate with validated road-network routing; test traffic and SLA assumptions separately.
5. Reconcile scenario and operational denominators, add regression tests for accessibility and extreme workloads.


### Geographic projection milestone (2026-11-04 evening)
- [x] Inspect existing schematic SVG, 100-vehicle generator, map density filter and CI before editing.
- [x] Add `scripts/project3-geo.js`: deterministic WGS84 latitude/longitude projection into the existing 900×610 schematic, declared bounds west −118.60/east −118.15/south 33.68/north 34.30, clipping with an explicit out-of-bounds flag, and a fleet coordinate audit. These are **illustrative service-area extents**, not official LA city boundaries.
- [x] Integrate projection in existing vehicle-marker renderer without recreating the page or changing incident workflows. Clearly label the result a schematic with synthetic WGS84 positions, not live GPS or road-snapped positions.
- [x] Add five geography regression cases (orientation, edge clipping, invalid coordinates, 100-vehicle/six-team audit, 240-vehicle seeded reproducibility) and include in CI.
- [ ] Confirm full post-integration CI and latest GitHub Pages deployment; browser/mobile acceptance still pending.
- [ ] Source an actual, attributed public LA basemap and determine a compatible accessible rendering strategy. **Not yet implemented:** real street geometry, routing, traffic or verified on-road travel times.

## Phase 4 planning methodology (explicitly fictional)

- **30-day demand:** Round(fleet size × synthetic incidents per 100 AVs/day × 30 / 100). A seeded generator distributes incidents across the existing 12 synthetic LA area proxies and the four incident categories (30% door ajar, 35% immobilized, 20% flatbed, 15% depot transport). These percentages are invented for demonstration.
- **Dispatch:** For each incident, choose a compatible fictional provider with the earliest modeled on-scene arrival, then lower variable cost, then provider ID. One crew per provider can work on only one response at a time; later incidents queue until that crew finishes. Travel uses the original synthetic straight-line estimator; there is no traffic, live routing, safety approval, shift schedule, or real contract data.
- **Cost:** Fictional base charge + synthetic category surcharge + $0.65 per straight-line kilometer, rounded per incident. Each additional staged crew adds a synthetic $3,200 fixed cost per 30 days. Scenario total = all incident variable charges + fixed cost. These are illustrative dollars, not vendor quotes or actual costs.
- **Comparison:** Every staging option receives the same generated event set within one selected configuration. Nearest-rank p90 and mean include crew queue, dispatch preparation, and travel. Recommend the lowest p90 option whose incremental 30-day cost does not exceed the selected budget; tie by mean response, total cost, then ID. This is not a production routing recommendation or forecast.
- **Separation:** Planning runs independently of the interactive incident workbench and does not change its incident history or map markers. No commercial passenger-trip utilization or actual fleet telemetry is inferred.

## Verification log
- 2026-11-01 evening: Phase 4 staging and demand comparison delivered in `scripts/project3-planning.js`, `scripts/project3-planning-ui.js`, `scripts/test-project3-planning.cjs`, `project3-av-command-center.html`, and `.github/workflows/project3-checks.yml`. **GitHub Actions passed 18 tests** (11 prior + 7 planning), syntax checks and static integration at commit `babc2473`, run `41381037833`. A temporary inline-script corruption in an intermediate commit was corrected by restoring the original dispatch UI and isolating the planner as an external module; the final CI run passed. GitHub Pages deployment of the final commit was still pending; direct production browser/mobile verification was blocked by network access. Project 1 and Project 2 files were not changed.
- 2026-11-01: Phase 3 analytics delivered in `scripts/project3-analytics.js`, `scripts/test-project3-analytics.cjs`, and `project3-av-command-center.html`; workflow `.github/workflows/project3-checks.yml` updated. New responsive tables show provider performance, SLA attainment, incident type and vehicle-area trends, stage bottlenecks, and time-weighted incident downtime. **Not commercial utilization**; trip utilization remains unavailable until a trip-demand model exists. CI Project 3 checks passed (11 tests and static wiring) at commit `167ac9b8`, run `41314537777`. Live browser/mobile visual verification not performed. GitHub Pages deployment for `167ac9b8` was in progress at the time of this entry. No changes to Project 1 or Project 2.

- 2026-10-31: Roadmap initialized. Implemented initial dark responsive command center, 12 synthetic AVs, 4 synthetic providers, incident queue, workflow, SLA clock, escalation, fleet and response KPIs. Added homepage link. GitHub Actions Project 3 MVP checks passed at commit `cab0f264`. Production URL / mobile visual verification pending; CI tests validate state machine and static wiring, not a browser interaction test. Project 1 and Project 2 files untouched.

- 2026-11-02: Phase 5 executive briefing and guided 60-second walkthrough added to `project3-av-command-center.html` at commit `a4ef186bb57fcf57cb221efab24a5dc0a5b2ac82`. Source change committed to `main`; production deployment, visual/mobile QA and automated browser testing remain unverified. Project 1 files were not modified in this commit.

- 2026-11-02: Fleet engine expanded to 100 deterministic synthetic AVs and six providers (commits `c3751908`, `aa212fc7`). Added map search/status filters and fixed an uninitialized variable in customer-safety rendering (commit `1016de5b`). Existing planning model still has four-provider baseline assumptions; end-to-end browser QA and CI not yet verified. Next: six-team capacity enforcement, planner reconciliation, vehicle health, shift handoff, and real geographic basemap.

- 2026-11-02: Added `providerBoard` and active-assignment capacity checks in `scripts/project3-engine.js` (commit `68cc63c2`); added six-team resource table and disabled empty eligible-provider selection in `project3-av-command-center.html` (commit `2f1198e4`); added a double-booking regression test (commit `a13cbb6`). Corrected earlier malformed 100-vehicle assertions (commit `827ec2b4`). CI and live deployment have not been verified. Planning scenarios still require reconciliation with six-team dispatch baseline.

- 2026-11-02 evening: Audited current 100-AV/6-team engine and existing regression suite. Added fixture identity/reset and six-concurrent-team capacity tests (`f0834528`). Prior Project 3 CI at `495bc58a` failed four tests: two stale 12-vehicle analytics expectations, one safety-SLA state bug after passenger transfer, and one outdated scorecard coverage expectation. Corrected the safety SLA (`43f7275e`) and test expectations (`6c24f9bc`, `2c8c8f15`). CI for final changes must be checked; no claim of successful deployment. Project 1 and 2 untouched. Next: confirm CI; align planning baseline with six teams; expose seeded configuration; replace schematic geography with a sourced public basemap and labeled modeled routing assumptions.

- 2026-11-03 morning: Reviewed failed CI run `41570001039`: all **38 engine, analytics, and planning tests passed**, but static integration failed because its greedy `<script>` regex captured external script tags and threw `SyntaxError: Unexpected token '<'`. Replaced with independent inline-script extraction in `.github/workflows/project3-checks.yml` (commit `bd8cea40`; follow-up `bba7528e` was a no-op content-wise). Awaiting new full CI result. Current planning source already uses six baseline providers and optional seventh crew; older Phase 4 roadmap wording is historical. No Project 1/2 changes.
\n- 2026-11-03 evening: Inspected Project 3 engine, workflow, roadmap and recent GitHub Actions. Previous CI `41658312327` and Pages `41658311783` succeeded at `dd732645`. Added optional validated seed/count configuration to `seededFleet` and `initialState` while preserving the existing 100-AV/6-team default (`9c309541`), plus reproducibility, bounds, identity and isolation regression test (`7ab836b8`). CI passed for `7ab836b8` in run `41764186668`; Pages for later commits pending. No changes to Project 1 or Project 2. Next: validate CI, introduce sourced geographic basemap with clear synthetic telemetry disclosure; preserve existing accessible list/filter controls.\n
- 2026-11-04: Added deterministic representative map-marker density selection (`scripts/project3-map-density.js`), four regression tests, UI integration and CI wiring. All 100 default vehicles remain available in the full vehicle selector and explicit search; selected and incident markers are retained even above the 24-marker visual cap. This is not geographic clustering. Commits `d1d05a51`, `e87b7ab2`, `943b7dec`, `5de232ee`. CI and deployment status to be confirmed separately. No Project 1/2 modifications.

### Dispatch ranking transparency (2026-11-05 morning)
- [x] Inspect current engine, dispatch interface, regression suite and previous Pages run; existing six-team capacity filtering preserved.
- [x] Eligible providers now expose estimated on-scene time (synthetic travel plus dispatch preparation), estimated initial incident charge and explicit fallback assumptions; sort by on-scene ETA, then lower modeled cost, then stable provider ID. Exclude occupied or incompatible teams. Display modeled on-scene minutes and initial cost in existing provider selector without duplicating dispatch UI.
- [x] Add regression test for compatible crews, deterministic sorting, ETA/cost formulas and occupied-team exclusion.
- [ ] Confirm post-change CI and Pages deployment; no actual road network or live traffic is used. Synthetic straight-line estimate assumes approximately 31 km/h and is NOT a verified arrival prediction. Tire handoffs and adjustments are excluded from initial quote.
- [ ] Next: attributed public LA basemap; independently verifiable road routing with a deterministic fallback; browser/mobile keyboard checks and scenario denominator audit.
\n### Public geography enhancement — 2026-11-05\n- [x] Inspected existing schematic map, geographic projection, dashboard and CI before modifying.\n- [x] Added opt-in Leaflet/OpenStreetMap street basemap with attribution and synthetic vehicle overlays, preserving existing schematic as default/fallback and existing 24-marker density behavior. Added tests for attribution, invalid coordinates and missing map library; wired into CI.\n- [ ] Verify latest CI and GitHub Pages deployment; visually test toggle, mobile sizing, keyboard operation and tile load in a real browser. Third-party Leaflet CDN and OSM tile availability are not guaranteed; fallback is intentionally retained.\n- [ ] Confirm OSM tile usage policy and production traffic suitability before promoting street basemap to default; consider self-hosted library and approved tile provider.\n- [ ] Obtain and verify road-network routing estimates from a permitted source; dispatch and scenario ETAs still use synthetic straight-line assumptions.\n- [ ] Test end-to-end interaction with map toggling during incident creation, dispatch and completion.\n
### 2026-11-05 evening — verification and regression coverage
- [x] Inspected live repository, existing 100-vehicle/six-crew engine, street-map integration, tests and CI after the inline-script repair. Both Project 3 checks and GitHub Pages deployment succeeded for commit `3a798c2a` (runs `42132747009` and `42132746801`). This confirms automated checks and deployment, **not** mobile browser interaction.
- [x] Added the previously omitted `test-project3-street-map.cjs` suite to the CI test invocation and added static assertions for the street-map module and accessible toggle. Commit `0ed001f5` passed Project 3 CI run `42154124475`.
- [ ] Verify latest Pages deployment and manually exercise the street/schematic toggle, keyboard selection, incident completion and 240-vehicle selector on a real mobile browser. GitHub Actions alone cannot establish those interactions.
- [ ] Verify the Leaflet/OpenStreetMap tile availability, attribution and acceptable-use limits before treating the optional public basemap as a dependable production service. Synthetic coordinates are not road-snapped or real telemetry.
- [ ] Add tested road-network travel estimates with an explicitly labeled deterministic fallback; do not imply real traffic or actual fleet dispatch ETAs.
- [ ] Audit accessibility focus and announcement behavior; add tests for incident workflows at configurable 240-vehicle size and six simultaneously occupied teams.

### 2026-11-06 — 240-vehicle stress regression
- [x] Inspected current engine, existing engine tests, CI workflow, and recent commits before editing; Projects 1 and 2 remain unchanged.
- [x] Added a 240-vehicle fixed-seed lifecycle regression exercising six simultaneous incidents, provider assignment/completion, fleet availability (240 → 234 → 235), active/completed denominators, response mean/p90, cost, queued incident count, and deterministic reset. Test commit: `36e0a860`.
- [ ] Confirm new CI run `42229450844` passes, including static integration; test was queued/in progress at writing. Earlier roadmap commit `99f9ef48` passed CI run `42154161064` and Pages run `42154161719`.
- [ ] Complete actual mobile/keyboard browser acceptance, live page navigation, and attribution checks. GitHub Pages deployment alone does not prove browser interactions work.
- [ ] Validate a verifiable routing source, permissions/quotas and deterministic labeled fallback before replacing synthetic straight-line estimates.
- [ ] Expose optional 240-vehicle fixture controls only after mobile selector and map density acceptance.

### 2026-11-06 evening — public street-map lifecycle regression
- [x] Inspected recent commits, deployed workflow statuses, Project 3 street-map module, existing tests, and roadmap. Homepage project renaming commit `b9c723bf` passed Project 3 CI but its Pages deployment run `42267270632` failed; preceding roadmap commit `efadb205` deployed successfully (run `42229486940`). Do not equate successful CI with a deployed homepage.
- [x] Added isolated mocked-Leaflet regression covering map initialization and OSM attribution, invalid-coordinate exclusion, synthetic marker positions, selected-marker emphasis, click-to-select, re-render clearing, resize and cleanup. Commit `2431afab`. This is a unit test, **not** a real browser, mobile, tile-availability, or live-geography verification.
- [ ] Verify CI run for `2431afab` and resolve the latest Pages failure before declaring current production deployed.
- [ ] Highest priority: actual browser keyboard/mobile map toggle, incident lifecycle, 240-vehicle selector and focus/status announcements.
- [ ] Next: confirm OSM tile usage/attribution policy and verify routing provider permission, reproducibility and clearly labeled straight-line fallback; no live fleet telemetry or traffic claims.


### 2026-11-07 — public basemap keyboard accessibility
- [x] Inspected latest repository commits, existing map integration and test workflow before editing.
- [x] Added focusable public-basemap vehicle marker controls with role, descriptive synthetic-data aria-label, Enter/Space selection and no Tab interception; the existing schematic and workflows remain unchanged.
- [x] Added mocked Leaflet regression covering accessible marker attributes and keyboard interaction.
- [ ] Confirm new GitHub Actions regression and Pages deployment results for commits 68bf2388 / 9ca0d865 and this roadmap update.
- [ ] Verify keyboard focus visibility and marker selection in an actual browser on desktop and mobile; mocked tests are not browser acceptance.
- [ ] Confirm public OSM tile loading and attribution in browser; third-party tiles may be unavailable.
- [ ] Validate road-network routing source, terms and availability before replacing synthetic distance-based ETA; retain documented deterministic fallback.
- [ ] Check mobile focus, map toggle, incident workflows and 240-vehicle performance in real browsers.

### 2026-11-07 evening — geographic boundary regression
- [x] Confirmed latest prior CI `42379296746` and Pages deployment `42379297591` succeeded for `ef0fe54f`.
- [x] Added public basemap WGS84 boundary regression: ±90° latitude, ±180° longitude, invalid out-of-range coordinates, missing/nonnumeric values, nonmutation and rejected non-array input (`1583ce0c`). All map coordinates remain synthetic and not street-snapped.
- [ ] Confirm CI and Pages for the newest test/roadmap commits; no live browser or mobile device acceptance has been performed.
- [ ] Next: browser-based focus visibility and mobile interaction acceptance; road-network routing requires a verifiable service, rate-limit/privacy assessment, and explicit deterministic fallback. Do not equate a successful Pages build with browser correctness.

### 2026-11-08 morning — visible focus for keyboard-operated public map markers
- [x] Inspected default-branch commits, current HTML, street-map module, regression suite, roadmap and Actions history. Latest preceding commit `f42cca49` passed both Project 3 checks and GitHub Pages deployment. Existing 100-vehicle/six-team synthetic engine, optional OSM basemap, incident workflows, provider ranking and scenario planning were retained.
- [x] Added explicit high-contrast `:focus-visible` outline and stroke emphasis for Leaflet SVG vehicle markers (`26006757`); added static regression for focus styling, map toggle state and status announcement (`1e0a6963`). No changes to Projects 1 or 2.
- [ ] Verify CI and Pages runs for the new changes before claiming they passed; the checks were queued when inspected. Confirm actual focus outline, marker selection, map tiles and incident lifecycle in real desktop/mobile browsers, which CI mocks cannot establish.
- [ ] Prioritize road-network travel estimates only after selecting a permitted, reproducible routing source and documenting cost/quotas, no live telemetry, and a deterministic labeled straight-line fallback.
- [ ] Continue checking 100-vehicle default/240-vehicle stress fixture performance, six-team dispatch eligibility, KPI denominators and scenario comparisons without duplicating existing controls.


### 2026-11-08 evening — preserve keyboard focus across public-map rerenders
- [x] Inspected default-branch Project 3 page, street-map module, regression suite, recent commits and Actions history. Prior commit `51810844` passed CI and Pages.
- [x] Leaflet markers are rebuilt after selection; keyboard focus could be lost when the selected marker was removed. Restore focus to the same synthetic marker after synchronous render using a microtask, without intercepting Tab or changing map coordinates. Commit `281a6e0b`.
- [x] Add mocked regression for Enter selection, redraw and focus restoration. Commit `9d69a8ea`.
- [ ] Confirm latest CI and Pages deployment for both code and documentation commits; passing mocked tests is not live mobile/desktop acceptance.
- [ ] In a real browser, verify keyboard Tab/Enter/Space, focus restoration, screen-reader announcements, map toggle, OSM tile attribution, and 100/240-vehicle performance.
- [ ] Continue verifiable road-network routing research with privacy/usage constraints and deterministic, clearly labeled synthetic fallback; do not claim live traffic, real telemetry or partner data.

### 2026-11-09 morning — selected-marker state for assistive technology
- [x] Inspected latest commits, Project 3 street-map module, mocked map regression, engine seed/configuration and GitHub Actions status. Previous commit `a692f2df` passed CI and Pages deployment.
- [x] Added `aria-pressed` to synthetic street-map vehicle buttons to distinguish selected and unselected markers for assistive technology (`bc791dc4`). Existing map rendering and dispatch remain unchanged.
- [x] Expanded mocked regression to assert `aria-pressed=false` initially and `true` after keyboard selection and synchronous redraw (`fd08b3fb`).
- [ ] Confirm CI and Pages results for the new commits; no claim of browser acceptance until actual browser checks. Live tile availability and mobile focus visibility remain unverified.
- [ ] Next: real browser/mobile keyboard and map-tile acceptance, map density with 240 vehicles, then evaluate permitted verifiable road-network routing with deterministic clearly labeled fallback. Synthetic positions are not live telemetry or road-snapped coordinates.

### 2026-11-09 evening — 240-vehicle map density regression
- [x] Confirmed preceding default-branch commit `43703aec` passed Project 3 checks and GitHub Pages deployment; inspected current density selector, test suite, workflow and recent commits.
- [x] Added 240-vehicle regression asserting deterministic bounded default rendering, incident/selected priority, stable source ordering, unique IDs and no mutation; explicit search and unavailable filters retain all matching markers even above the display cap (`b2a02be5`).
- [ ] Confirm CI for `b2a02be5` and latest Pages deployment before claiming this new regression passes. The mock/unit tests do not establish browser frame rate or mobile interaction.
- [ ] Next: browser/device acceptance (map tile loading, keyboard focus, touch, 100/240 markers); investigate verifiable public routing service, usage/privacy constraints, deterministic offline fallback and honest ETA labeling. Keep synthetic data and do not change Projects 1/2.

### 2026-11-10 morning — map filter fail-fast regression
- [x] Inspected recent commits, map-density implementation, existing regression tests, roadmap, and Actions status. Baseline `9b6b5300` CI and Pages deployment passed.
- [x] Reject unsupported status filter values rather than silently returning an empty fleet; accepted values remain `all`, `available`, `unavailable`. Existing dashboard uses the accepted values.
- [x] Added regression coverage for invalid values and valid status match counts. The initial test accidentally treated an omitted/defaulted `undefined` parameter as invalid; corrected in commit `254b58fb`.
- [x] Implementation-only commit `704a7ab9` passed Project 3 Actions run `42830225248`.
- [ ] Confirm CI and Pages for corrected test commit `254b58fb`; queued at time of this entry. Prior intermediate test commit `2f8ed0d3` failed.
- [ ] Actual mobile/browser acceptance, public tile availability and routing-source verification remain outstanding; synthetic modeled ETAs are not road-network routing.

**Priority next:** (1) Confirm corrected CI/deployment; (2) real browser/mobile and keyboard acceptance; (3) document routing source and terms, deterministic fallback; (4) expand end-to-end dispatch/KPI tests; (5) expose fixture controls only after 240-vehicle UI performance verification.

- 2026-11-10 evening: Added normalized case-insensitive/whitespace-trimmed search regression for seeded 100/240-vehicle fixtures, uncapped explicit area matches, and input nonmutation (`cc03509e`). CI/deployment pending verification. Next: browser/mobile acceptance, routing-source assessment, KPI end-to-end tests; no routing or telemetry claims.

- 2026-11-11 morning: Inspected current default-branch commits, Project 3 page/homepage linkage, density module, CI workflow and tests. Added map-density edge-case regressions for 35 concurrent incident markers exceeding the 12-marker cap while preserving a separately selected AV, and for zero-match/exact-cap counts. This deliberately documents the accessibility-versus-density tradeoff: critical markers are never hidden merely to enforce a visual cap. Test commit 8397a351b2d786e6ecc1cf6e732bbd1eb360f6b0; GitHub Actions and deployment confirmation pending. Project 1 and 2 files unchanged. Next: verify CI/Pages, browser/mobile performance under priority saturation, routing-provider feasibility and deterministic fallback methodology.

- 2026-11-11 evening: Added map-density regression for status-filter exclusion of a selected incident vehicle, deterministic available-only sampling, and explicit unavailable/search intersection (`dd8ff8b2`). **Test execution and Pages deployment not yet verified**. Priority: confirm CI; perform real desktop/mobile map acceptance; then validate routing-source terms and deterministic fallback. No Project 1/2 edits.

### Routing adapter milestone (2026-11-12 morning)
- [x] Inspected existing seeded engine, dispatch ranking, planning model, density tests, CI and latest commits before implementation. Latest pre-change main commit `28ba7691`: Project 3 checks run `43144805644` and Pages run `43144806129` both passed.
- [x] Added isolated `scripts/project3-routing.js` adapter for OSRM-compatible route-response validation (seconds→rounded-up minutes; meters→kilometers), coordinate guards, implausible-result rejection, and explicitly labeled deterministic straight-line fallback. Added four local Node regression tests and CI wiring.
- [ ] **Not yet connected to live dispatch or planner.** Road-network routing source, licensing/rate limits, service reliability and provenance have NOT been validated. Adapter output is labeled `road_network_unverified`; do not treat it as a verified ETA. Existing dispatch and planner still use the synthetic straight-line estimator, deliberately unchanged.
- [ ] Check latest CI/Pages runs and perform real mobile/browser acceptance; test complete safety/transfer workflow. No claims of live traffic or operational telemetry.

### 2026-11-12 evening — routing geometry validation
- [x] Inspected latest routing adapter, tests, CI configuration and recent commits before editing. Previous morning Pages deployment `43232792543` succeeded.
- [x] Reject OSRM-compatible responses whose reported road distance is shorter than great-circle endpoint separation (allowing 1% plus 100 m tolerance). Such responses fall back to explicitly labeled synthetic estimates; the adapter still does **not** authenticate routing provenance or fetch live routes.
- [x] Added impossible-distance regression fixtures and adjusted the existing valid route conversion fixture to a physically feasible distance.
- [ ] Verify new CI run and Pages deployment; run actual mobile/browser acceptance and permitted road-routing service integration. Do not represent unverified road responses as trusted ETAs.

### 2026-11-13 morning — routing validation and CI recovery
- [x] Inspected current Project 3 routing adapter, tests, CI configuration, recent commits and workflow logs. Latest prior run `43355985248` failed 1 of 70 tests: expected 22.35 km for 22,345 meters, but the adapter correctly rounds to 22.34 km. Corrected the test fixture.
- [x] Reject OSRM-compatible responses with modeled average speeds above 160 km/h (validation ceiling, **not** a traffic model); add regression covering implausibly fast routes and realistic slow routes. No live routing provider configured, and dispatch still uses explicitly labeled synthetic fallback.
- [ ] Verify latest GitHub Actions test/static-integration result and Pages deployment after these commits; perform actual browser/mobile acceptance checks.
- [ ] Prioritize permitted road-network provider integration, source provenance, request/response failure handling, and deterministic fallback; do not claim traffic-aware ETAs.
- [ ] Add browser-based dispatch → passenger safety → completion → KPI acceptance checks; then expose 100/240-vehicle seed controls only after performance/accessibility validation.


### 2026-11-13 evening — OSRM alternative-route validation
- [x] Inspected routing adapter, its tests, CI workflow, latest commits, and GitHub Actions status before editing. Previous baseline `71e27dc1` passed CI run `43439909937` and Pages run `43439910272`.
- [x] Validate each OSRM-compatible route independently; discard malformed, implausibly fast, or geometrically impossible alternatives and select the fastest feasible route with deterministic distance/index tie-breaks. If all routes fail, retain labeled synthetic fallback. No external service or live traffic is connected.
- [x] Add two regressions for invalid-first alternatives, deterministic route order, and all-invalid fallback.
- [ ] Confirm CI and Pages for `db1cd9cf` and `31c590f2`; perform actual browser/mobile acceptance. These are not verified at documentation time.
- [ ] **Highest priority:** integrate a permitted road-routing provider with explicit provenance, rate-limit/error handling, and fallback, then add browser-level dispatch and safety workflow tests. Do not present unverified OSRM-compatible JSON as a verified road ETA.

### 2026-11-14 morning — routing fallback geometry
- [x] Inspected latest routing module, routing tests, recent commits and workflow outcomes before editing. Previous baseline `026698df` passed Project 3 checks and Pages deployment (runs 43549649061 and 43549648407).
- [x] Replace the fixed 92-km-per-longitude-degree approximation in `scripts/project3-routing.js` with the existing WGS84-radius great-circle calculation for deterministic synthetic fallback. This improves consistency across latitudes; **not** a road-network estimate or traffic model.
- [x] Add regression for equatorial versus high-latitude longitude distances, approximate expected travel minutes, symmetry and synthetic labeling.
- [ ] Verify new CI and Pages runs; run Node tests and browser/mobile acceptance if execution is available. Do not mark passed before checking.
- [ ] **P0:** Complete incident-to-recovery end-to-end browser acceptance and keyboard/mobile accessibility.
- [ ] **P1:** Validate permissible road-routing source, request provenance, throttling and outages; only then wire verified results to dispatch with labeled deterministic fallback.
- [ ] **P1:** Validate public basemap rendering and map-tile attribution on deployed site; no live vehicle telemetry.
- [ ] **P2:** Review workbench fixture-size/seed controls, 240-vehicle performance, planning denominator consistency and executive demonstration.

### 2026-11-14 evening — routing boundary regression
- [x] Reinspect current repository head, existing page, routing adapter/tests, CI and roadmap; no modifications to Projects 1/2 or existing dashboard.
- [x] Add two routing regressions for antimeridian shortest-arc and identical-point deterministic fallbacks, plus explicit unverified-source/no-traffic labels; commit 2082d079.
- [ ] Confirm new GitHub Actions result and Pages deployment; no local Node/browser execution was available in this run. Committed tests are not verified passing tests.
- [ ] Next: prioritize end-to-end browser dispatch/recovery/KPI tests over adapter-only tests; integrate a permitted routing source with provenance and failure labels only after validation.


### 2026-11-15 morning — routing regression maintenance
- [x] Re-inspected recent commits, existing Project 3 HTML, routing adapter, regression suite and CI workflow before changes.
- [x] Added regression cases for deterministic tie-breaking without mutating OSRM-compatible input routes, and rejection of nonfinite/negative duration and distance values (`09cb5a6b`).
- [ ] Confirm CI for this commit and deployed Pages revision; direct local clone/test execution blocked by GitHub DNS resolution in execution environment. Do not claim passing tests from source inspection alone.
- [ ] **P0:** Browser-level dispatch, passenger-transfer, completion and KPI acceptance checks; keyboard and mobile audit.
- [ ] **P1:** Validate a permitted road-routing provider, provenance, attribution, request quotas, timeout and failure policy before wiring adapter into dispatch; keep synthetic fallback explicitly labeled.
- [ ] **P1:** Verify public LA basemap tiles/attribution and map keyboard accessibility on deployed page; generated positions remain synthetic and not road-snapped.
- [ ] **P2:** Expose seeded fixture controls only after performance/reset/keyboard verification; reconcile planner's four-team baseline with six-team workbench and clearly state KPI denominators.

### 2026-11-15 evening — routing validation edge cases
- [x] Inspected recent commits and current routing adapter, regression suite, simulation engine, CI wiring, and durable roadmap before editing.
- [x] Added two adapter regression tests for mixed invalid/valid route alternatives (including immutable input) and invalid destination coordinates despite an apparently valid response; commit `c99db02f`. No production routing service or live traffic integration claimed.
- [ ] Verify GitHub Actions result and Pages deployment for the latest commits; commit creation is not evidence of passing tests or deployed browser behavior.
- [ ] P0: browser-level lifecycle acceptance (incident, dispatch, passenger transfer, completion, KPI reconciliation) plus keyboard/mobile and 240-vehicle density checks.
- [ ] P1: validate public tile-provider usage, source attribution and permissible road-routing endpoint; wire dispatch only after source provenance, reproducibility, error handling and explicit fallback labeling are tested.
- [ ] P1: reconcile six-team interactive baseline against independent 30-day planning assumptions and document KPI denominators before publishing comparisons.
- [ ] P2: add accessible configuration controls for fixture seed/count only after reset and large-selector browser acceptance.
- Projects 1 and 2 unchanged. All positions, providers, costs and scenarios remain synthetic; no private partner data.


### 2026-11-16 morning — acceptance-test gate and prioritized delivery checklist
- [x] Read default-branch Project 3 page, durable roadmap and six most recent commit IDs before changes. Current head observed: `c0a9091f`. Project 3 HTML exists; Projects 1/2 are out of scope.
- [ ] **P0 — browser acceptance harness (next code milestone):** Use an actual DOM-capable browser runner to exercise the existing page rather than add more isolated routing-adapter tests. For each test, reset to fixed seed; select a vehicle; create an incident; verify one active assignment per recovery team; select only a compatible available team; advance en route → on scene → completed; verify vehicle readiness, incident status, provider capacity, and KPI numerators/denominators. Include a passenger-transfer/safety escalation path and a negative case for incompatible/unavailable teams. Assert state after every step and repeat with identical seed.
- [ ] **P0 — verify reproducibility:** Compare initial 100 vehicle IDs/coordinates, six crew IDs, initial incidents, and KPIs after two resets; repeat with alternate seed and count 240; ensure no duplicate IDs, selection remains usable, and display density remains bounded.
- [ ] **P0 — release evidence:** Record GitHub Actions run URL/conclusion and Pages run URL/conclusion for exact head SHA, then test deployed URL at desktop and 375px mobile width; check keyboard focus, controls, readable map alternative, map attribution, no console errors, and incident lifecycle. Do not equate deployment success with browser acceptance.
- [ ] **P1 — routing provenance:** Document endpoint operator, license/attribution, public usage limits, timeout and caching before connecting a provider. Validate OSRM-compatible responses and distinguish verified route geometry from synthetic positions, fallback minutes, and live traffic. No routing service is currently verified by this checklist.
- [ ] **P1 — planning consistency:** Explicitly separate four-provider 30-day planner baseline from six-team interactive workbench; publish denominators for fleet availability, incident response SLA, mean/p90 completion, and recovery cost. Do not imply observed operational performance.
- [ ] **P2 — portfolio narrative:** Add a three-minute guided scenario only after workflow acceptance; include methodology and limitations without implying real AV telemetry.
- [ ] No code, tests, or deployment status is marked complete by this checklist alone. Preserve existing features and avoid editing Projects 1/2.

### 2026-11-16 evening — engine lifecycle acceptance gate
- [x] Inspected current engine, routing adapter, regression suite, workflow and recent commits before changes.
- [x] Added `scripts/test-project3-lifecycle-acceptance.cjs` with synthetic end-to-end **engine-level** assertions: incident creation, danger flag, emergency escalation, replacement dispatch/arrival, explicit transfer clearance, team assignment, completion, safety SLA closure, response-stage sample denominators, costs, availability and deterministic 240-vehicle replay. Commit `9dcc699c`.
- [x] Wired the new test into Project 3 CI push paths, syntax validation and Node test runner. Commit `a29f7834`.
- [ ] Confirm GitHub Actions outcome for the CI wiring commit. Local checkout/test execution blocked by GitHub DNS resolution; these are not yet verified passing.
- [ ] Add actual browser-driven acceptance (click and keyboard controls), not merely engine-level tests; validate mobile, Leaflet tile load/attribution and Pages deployment.
- [ ] Verify permitted routing service before integrating road estimates; retain explicit synthetic fallback and separate planning/interactive denominators.
- [ ] Expose seeded fleet configuration only after selector/reset/240-vehicle browser performance checks.

### 2026-11-17 morning — lifecycle guard regression
- Added two engine-level tests in `scripts/test-project3-lifecycle-acceptance.cjs`: compatible team capacity (no double booking, equipment rejection, availability after completion) and passenger emergency/transfer guards (duplicate escalation, invalid replacement, clearance refusal without clock/KPI mutation). Commit `ed54ff2294e7ad597216c677e45c40364c08f014`.
- **Verification pending:** local checkout failed because github.com DNS could not resolve. GitHub Actions result must be checked; do not call these tests passing until verified. Browser/mobile behavior remains untested.
- **Priority:** (1) confirm CI and fix failures, (2) browser-level acceptance with real click/keyboard paths, (3) verify public basemap attribution and production tile behavior, (4) connect validated routing source to dispatch with explicit fallback, (5) reconcile six-team workbench versus four-team planning denominator and test responsive/accessibility behavior.


### 2026-11-17 evening — seeded fixture regression milestone
- Added engine-boundary regression tests for reproducible 100-vehicle generation, six-team default, unique vehicle IDs, 240-vehicle prefix stability, fixed 12 anchor points, changed-seed variation, state isolation/reset, and invalid seed/count rejection (`2c441db8744b5b8614bcaafa870296ca7742f891`).
- **Verification:** GitHub accepted the test commit; CI and Pages status must be checked separately. These tests do not constitute browser/mobile acceptance.
- **Priority 1:** Confirm CI results and browser-drive full incident/passenger-transfer/dispatch/KPI flow; do not infer browser correctness from engine tests.
- **Priority 2:** Verify synthetic street-map tile attribution and accessible fallback on deployed site; never describe generated coordinates as telemetry or street-snapped.
- **Priority 3:** Validate a permitted road-network route source and its licensing/availability before connecting ETA to dispatch; label deterministic fallback.
- **Priority 4:** Reconcile the six-team interactive baseline with the four-team planning baseline, denominators and comparative costs.
- **Priority 5:** Run 240-vehicle keyboard, responsive, and performance checks and confirm production Pages deployment.


### 2026-11-18 morning — interactive dispatch geographic fallback
- [x] Inspected current Project 3 engine, lifecycle acceptance tests, map density suite, CI workflow, dashboard and recent commits.
- [x] Replaced the interactive dispatch engine's fixed 92-km-per-longitude-degree approximation with latitude-aware great-circle distance. This aligns the geographic basis with the separate routing fallback while retaining a **synthetic** 31.2 km/h effective speed, 5-minute overhead and 6-minute floor. This is not road routing, traffic prediction or real vehicle telemetry.
- [x] Added regression coverage comparing the computed great-circle dispatch estimate, explicit synthetic labeling, and high-latitude versus equatorial longitude behavior.
- [ ] Verify GitHub Actions and Pages deployment for commits 7171126a and d78cfc94; browser/mobile behavior still needs direct acceptance testing.
- [ ] Priority 1: Browser-driven incident/dispatch/passenger-transfer/KPI checks and mobile keyboard acceptance.
- [ ] Priority 2: Verify public basemap tile accessibility and attribution in production; preserve schematic fallback.
- [ ] Priority 3: Obtain permitted verifiable road-network routing service; label unavailable-routing estimates synthetic and test failures.
- [ ] Priority 4: Reconcile six-team interactive dispatch with four-provider 30-day planning model and document comparable denominators.

### 2026-11-18 evening — static accessibility regression
- Added `scripts/test-project3-accessibility-static.cjs` to guard existing vehicle/incident select labels, queue identity, live status announcements, opt-in map toggle state/target, and synthetic geography disclosures. This is **static markup coverage**, not a substitute for keyboard, screen-reader, mobile or live-browser acceptance.
- Wired the new test into `.github/workflows/project3-checks.yml` (syntax check and Node test runner). Confirm CI outcome before marking passing.
- **Priority 1:** Browser-driven incident → dispatch → passenger transfer → recovery → KPI tests, including keyboard and focus behavior.
- **Priority 2:** Verify production Pages and public map attribution/tile loading on mobile; audit contrast and controls.
- **Priority 3:** Validate road-network routing source/usage and expose source provenance, with deterministic synthetic fallback.
- **Priority 4:** Reconcile four-provider 30-day planner with six-team interactive baseline and make KPI denominators explicit.
- **Priority 5:** Performance and accessible selection at 240 vehicles; maintain seeded fixture documentation.
- Do not infer live telemetry, traffic, confidential partner data, or operational forecasts from this synthetic simulation.

### 2026-11-19 morning — mobile/focus static regression
- [x] Added static test for mobile control/analytics/planner stacking, visible keyboard focus on controls and Leaflet markers, and opt-in street-map hidden state. Commit aa586d79. This protects existing CSS contracts; it is **not** a browser or screen-reader accessibility audit.
- [ ] Confirm CI run for aa586d79 and Pages publication; perform real 375px mobile, keyboard-only, and screen-reader smoke tests.
- [ ] Highest priority: browser-driven incident → safety escalation → passenger transfer → compatible provider dispatch → completion → KPI reconciliation, including failure states.
- [ ] Validate street tile attribution and routing-service terms; distinguish public geographic context from synthetic vehicle positions and modeled fallback ETAs.
- [ ] Reconcile six-team interactive workbench with four-provider 30-day planner, documenting distinct cohorts and denominators.
- [ ] Check 240-vehicle marker/selector performance, focus management, and deterministic resets.


### 2026-11-19 evening — dispatch offer ranking regression
- [x] Inspected current Project 3 engine, regression suite, accessibility tests, CI and recent commits. Existing 100-AV/six-team fixture, opt-in public street map, schematic map and 30-day four-provider planner are separate features; do not duplicate them.
- [x] Added `scripts/test-project3-dispatch-ranking.cjs` covering deterministic ETA/cost/ID ordering, capability compatibility, capacity exclusion/release, explicit synthetic ETA basis and initial modeled charges across five incident categories.
- [x] Registered the new test in `.github/workflows/project3-checks.yml` path filters, syntax checks and Node test runner.
- [ ] Confirm GitHub Actions pass for the new commits and deployed Pages build. Connector commit acknowledgments alone do not establish passing tests.
- [ ] Highest priority: real browser acceptance of incident creation → dispatch → passenger transfer → recovery → KPI reconciliation; keyboard/mobile QA at 100 and 240 vehicles.
- [ ] Validate public map tile loading, attribution, provider usage terms and a permitted road-network routing source; retain labeled synthetic fallback until verified.
- [ ] Reconcile the four-provider planning cohort with six-team operational workbench and document KPI denominators before comparing them.
- [ ] Verify production URL and cross-browser performance. No live telemetry or confidential partner data used.

### 2026-11-20 morning — offer and cancellation lifecycle regression
- [x] Reviewed current engine, dispatch test, CI workflow, recent commits and roadmap before editing.
- [x] Added two regression cases to `scripts/test-project3-dispatch-ranking.cjs`: declined offers must leave incidents queued and crew capacity available; pre-arrival cancellation must record its reason, release capacity, and preserve simulation time. Commit `780d37de`.
- [ ] Confirm the latest Project 3 Actions test conclusion; a GitHub write acknowledgement is not a test pass.
- [ ] Highest priority: browser-driven end-to-end incident/safety/passenger transfer/dispatch/recovery/KPI checks, including keyboard and 375px mobile.
- [ ] Validate deployed public street-map attribution and tile loading, then permitted road-network routing source and fallback provenance.
- [ ] Reconcile four-provider planning with six-team interactive dispatch and clearly separate KPI cohorts and denominators.
- [ ] Verify 240-vehicle selector performance and accessible reset semantics.


### 2026-11-20 evening — cancellation-to-reassignment acceptance regression
- [x] Inspected current default-branch commits, engine, dispatch ranking tests, and Project 3 CI workflow before editing. Added an engine-level regression for an accepted offer cancelled while en route, re-offering to a different compatible team, completing recovery, and reconciling crew capacity, accepted-offer counts, cancellations, fleet availability and completed-job denominator. Test commit: `2e0906e330cf40bd8357bb3f93d9308b159af201`. The existing CI workflow already invokes this test file.
- [ ] Confirm CI for this commit; no passing result is asserted until the run completes. Confirm GitHub Pages publication and test the deployed interface in a real browser. No Projects 1/2 files were changed.
- **P0:** Browser automation of the existing incident, passenger-safety, reassignment and recovery workflows with KPI assertions.
- **P1:** Reconcile six-team interactive dispatch and separate planning scenario baselines and denominators; test 240-vehicle interaction and keyboard navigation.
- **P2:** Verify OSM/Leaflet tile usage and attribution in production, and validate a permitted road-network routing service before replacing labeled great-circle fallback ETAs.

### 2026-11-21 morning — timeout and invalid-offer regression
- [x] Inspected current default-branch commits, dispatch engine, ranking tests, dashboard and durable roadmap before editing. Added engine-level regression for timed-out offers (no crew reservation or clock movement; auditable outcome; alternative dispatch) and invalid offers (no state mutation). Test commit: `a164794d3af0afeeaed8e74efc4f6d501ed0495c`. Existing Project 3 CI references this test file.
- [ ] Verify this commit's GitHub Actions conclusion, production Pages deployment and real browser behavior. A successful commit API response is not a passing test.
- **P0:** Add browser-driven lifecycle and safety/passenger-transfer regression, including cancellation/reassignment and KPI assertions; test mobile and keyboard controls.
- **P1:** Reconcile the six-team interactive workbench with four-provider 30-day planning baseline; document cohort and denominator differences and verify 240-vehicle performance.
- **P2:** Verify attributed public LA street-map tiles and permitted road-network routing provenance; preserve explicitly synthetic straight-line ETA fallback.
- **P3:** Confirm latest Pages deployment and regression CI status before claiming operational readiness. Projects 1 and 2 remain untouched.


### 2026-11-21 evening — Offer KPI denominator regression
- [x] Inspected current Project 3 engine, existing offer regression tests, CI workflow, and latest commits before editing.
- [x] Added `scripts/test-project3-offer-denominators.cjs`: synthetic accepted/declined/timed-out offers contribute to the correct acceptance denominator; no-offer rate remains null; accepted-then-cancelled assignments remain counted as accepted, with cancellation rate based on accepted offers and on-time rate null when no arrivals exist.
- [x] Registered syntax validation and Node test execution in `.github/workflows/project3-checks.yml`.
- [ ] Verify new GitHub Actions run and live Pages deployment for commits `0a7b0d56` and `54187855`; connector write acknowledgement alone does not prove test success.
- [ ] Highest priority: real browser lifecycle acceptance, mobile keyboard/screen-reader checks, map tile/attribution validation, road-network routing source and fallback disclosure, 240-vehicle performance, and reconciliation of operational six-team versus four-provider planning cohorts.
- Guardrails unchanged: all operational positions, offers, rates and costs are synthetic; no telemetry or confidential partner information; Projects 1 and 2 untouched.


### 2026-11-22 morning — 240-vehicle capacity and KPI stress regression
- [x] Inspected default-branch recent commits, Project 3 dashboard, dispatch engine, existing ranking tests, CI workflow and backlog before editing. Existing deterministic 100-vehicle/six-team simulation, public opt-in map and separate 30-day planner are preserved.
- [x] Added engine-level 240-vehicle stress regression to `scripts/test-project3-dispatch-ranking.cjs` (commit `33fdce0e5d8cffa4cf2d174928eee53aadc56b6c`): six simultaneous immobilized incidents consume six distinct teams; seventh incident remains queued with no available offers; after completion capacity and fleet/KPI denominators reconcile; seeded reset clears the workload. Existing CI already runs this test file.
- [ ] Verify GitHub Actions conclusion for this commit, and Pages deployment and real browser/mobile behavior; commit acknowledgement is not a passing test.
- **P0:** Browser-driven safety/passenger-transfer/incident/dispatch/recovery acceptance, including keyboard and focus checks.
- **P1:** Confirm 240-vehicle UI responsiveness, deterministic reset, accessible selectors, and compare four-provider planning cohort versus six-team operational cohort with explicit denominators.
- **P2:** Validate public LA map tile loading and attribution, plus routing-service license/terms and route provenance; preserve labeled synthetic great-circle fallback.
- **P3:** Verify CI, production Pages and performance before asserting release readiness. Projects 1/2 unchanged; no real telemetry or confidential partner data.


### 2026-11-22 evening — seeded fixture boundary regression
- [x] Re-inspected current Project 3 engine, dispatch tests, CI, roadmap and latest seven commits before editing.
- [x] Added `scripts/test-project3-seeded-fixtures.cjs` covering 12/100/240 vehicle configurations, seeds 0/default/maximum unsigned 32-bit, stable unique IDs, six providers, fixed first 12 demonstration anchors, changed generated positions for changed seeds, rejected invalid seed/count inputs, and independent reset after incident/provider mutation.
- [x] Registered new test in `.github/workflows/project3-checks.yml` for syntax checking and Node test execution.
- [ ] Verify this commit's CI result; connector writes alone do not prove tests pass. Verify current GitHub Pages deployment and browser/mobile behavior independently.
- [ ] Priority 1: run real browser-driven incident → safety/transfer → dispatch/reassignment → recovery → KPI acceptance tests and keyboard/mobile checks.
- [ ] Priority 2: reconcile four-provider 30-day planning baseline with six-team operational simulation; document separate denominator and fleet-size assumptions.
- [ ] Priority 3: verify public LA street-map attribution, licensing, tile loading and accessible fallback; keep synthetic positions explicitly labeled.
- [ ] Priority 4: validate permitted road-network routing and caching, with clear deterministic fallback and no fabricated traffic ETA.
- [ ] Priority 5: measure UI responsiveness with 240 vehicles, then consider user-facing seed/fixture controls.
- No Project 1 or Project 2 files changed in this milestone. No real telemetry or confidential operational data used.


### 2026-11-23 morning — Fleet-size contract and next acceptance priorities
- [x] Inspected latest repository commits, existing seeded generator, dispatch lifecycle acceptance tests, CI workflow and roadmap before editing. Existing workbench remains 100 synthetic AVs / six fictional teams by default; no Project 1 or 2 edits.
- [x] Added `scripts/test-project3-fleet-size-contract.cjs` to verify **every integer fixture size from 12 through 240**, three edge/default seeds, contiguous unique IDs, finite WGS84 coordinate ranges, six distinct teams, and count-independent seeded prefixes. CI syntax and test execution wired in `.github/workflows/project3-checks.yml`. Commits: `f518f0fe`, `5d10a079`.
- [ ] Confirm new GitHub Actions result and Pages deployment. Until a run passes, do not claim the new regression is green; static tests do not replace browser/mobile testing.
- [ ] **P0:** Run actual browser acceptance (incident, safety flag, replacement AV, clearance, dispatch, cancellation, recovery, KPI reconciliation) and keyboard/screen-reader checks.
- [ ] **P1:** Reconcile historical four-provider planning descriptions with the current six-team baseline and optional seventh crew; explicitly distinguish planner workload from interactive fleet size and all KPI denominators.
- [ ] **P1:** Validate street-map public data attribution/usage and an authorized road-network ETA source; retain synthetic straight-line fallback labels until verified.
- [ ] **P2:** Measure 240-vehicle UI responsiveness, map marker density, and mobile controls before exposing fleet seed/count configuration.

### 2026-11-23 evening — planner baseline disclosure correction
- [x] Inspected latest six commits, dashboard, planning engine, planning regression and CI. Confirmed actual planner already uses six baseline teams and seven in staging alternatives; stale dashboard introduction incorrectly said four. Corrected copy and clarified independent demand slider (`f5c33a20`). Existing planning tests already assert six/seven provider counts.
- [x] Added static regression for the corrected disclosure (`9fcbdccf`); checked the three copy assertions against the retrieved committed HTML. Full Node CI and production browser verification remain pending.
- **P0:** Browser-driven lifecycle, safety, transfer, dispatch and KPI acceptance; keyboard/mobile and 240-vehicle performance. Confirm CI and Pages deployment.
- **P1:** Audit scenario KPI denominators and costs; validate public map attribution and permitted road-network routing with labeled synthetic fallback.
- **P2:** Expose fixture configuration only after performance and reset acceptance. Historical four-provider roadmap references describe superseded assumptions, not current planner behavior. No Projects 1/2 edits.


### 2026-11-28 — HTML integrity and independent status controls
- [x] Inspected five recent commits, dashboard, planning UI, CI and roadmap. Prior trailing corruption repair: `1dc38e7`.
- [x] Separated planner output from provider quality selector (`ce867b6b`, `003ab189`); verified retrieved committed sources have 135 unique static IDs, one terminal closing HTML tag and two dedicated planner status references.
- [x] Added CI static integrity assertions (`f1f744bd`); equivalent source checks passed during this run. Full Node CI and live browser behavior not yet verified.
- **P0:** Verify CI and Pages; browser acceptance for safety, transfer, dispatch, cancellation, recovery, KPI reconciliation and independent status controls.
- **P1:** Validate public LA geography/attribution, permitted routing source and labeled fallback; audit scenario costs and KPI denominators; mobile and keyboard accessibility.
- **P2:** Measure 240-vehicle UI performance and expose deterministic seed/count controls after reset acceptance. Existing 100-vehicle/six-team engine and planning features preserved. Projects 1/2 untouched; synthetic data only.


### 2026-11-30 — Digital twin expansion (approved)
- Verified main commit f3a15251: Project 3 CI run 46334460682 and Pages run 46334460693 both succeeded. Independent browser acceptance remains outstanding.
- P0: Browser-driven guided demo, incident lifecycle, passenger transfer, provider reassignment, KPI reconciliation, keyboard/mobile and 240-vehicle performance. Do not duplicate existing engine tests.
- P1: Audit planner cost and SLA denominators; implement same-cohort dispatch policy comparison (manual-style deterministic baseline versus ETA/cost optimization), report response, cost, SLA, queue and downtime with explicit assumptions. Keep six crews and identical seeded demand; do not claim real savings.
- P1: Add deterministic simulation clock and event scheduler, provider rejection/reassignment and SLA escalation; preserve manual controls and safety gates.
- P1: Verify permitted road-network routing, provenance and fallback; no live traffic claims.
- P2: Model charging, maintenance, shifts, vehicle exposure and downtime; only calculate trip utilization or per-mile KPIs after modeling trips and mileage.
- P2: Predictive staging, executive briefing/export, methodology and architecture; distinguish modeled outcomes from observed results.
- Preserve Projects 1/2, synthetic-only data, and existing twice-daily schedule. Each increment requires regression evidence and deployment checks.


### 2026-11-30 — Community-inspired operational depth (approved)
These are proposed synthetic portfolio features inspired by fleet-management and AV passenger discussions, not verified operator requirements or company performance claims. Inventory current code before each increment; extend existing controls instead of duplicating them. Earlier P0 reliability and P1 dispatch comparison remain prerequisites.
- [ ] P1: Append-only simulated incident decision audit trail and deterministic replay; record clock, actor/role, transition, reason and cost changes. Add vehicle digital passport linking incidents, maintenance, readiness and cost history.
- [ ] P1: Remote assistance triage (advisory only, never remote driving), engineering/safety escalation, passenger replacement versus roadside ETA comparison, accessibility accommodations, and return-to-service inspection clearance. Extend existing passenger safety/transfer gates; never bypass them.
- [ ] P1: Alert acknowledgement, severity/escalation, shift handover of unresolved incidents, telemetry freshness/disconnection and data quality validation; geofenced service/depot/restricted zones using clearly sourced public geography or explicitly fictional boundaries.
- [ ] P2: Mileage/time-based preventive maintenance, repair work orders, parts inventory, cleaning assignments, charging and readiness; simulated mileage must exist before mileage-based metrics. Separate vehicle lifecycle/TCO from incident COGS.
- [ ] P2: Vendor quote versus final invoice reconciliation, customer refunds/ride credits separately accounted for, lost-and-found case/item tracking, CSV exports and executive reporting. Use fictional identifiers and no personal data.
- [ ] P2: Model fictional roles for fleet response, rider support, field recovery, maintenance, fleet logistics, engineering/safety; queue capacity and shift staffing; preserve six recovery teams as baseline.
- [ ] P2: Scenario library with problem, assumptions, seeded inputs, response, cost/SLA/downtime outcomes and lessons: stadium surge, LAX passenger interruption, communications outage, provider no-show, simultaneous breakdowns, charger outage, software recall, complaint spike, budget cut, and 1,000-vehicle expansion. Treat 1,000 as a separate scale benchmark after 240-vehicle acceptance, not a supported interactive size until measured.
- [ ] Acceptance: deterministic replay and reset; no double-counted costs; explicit denominators; safe state transitions and return-to-service gates; role and queue consistency; keyboard/mobile accessibility; regression and deployment evidence. No confidential data or claims of real telemetry, savings or actual operator procedures.

### 2026-11-30 morning — browser acceptance increment
- Added separate Chromium CI workflow and real browser guided recovery test at desktop/mobile viewport sizes, including keyboard start, 100 vehicle selector, completion and session restoration. External requests blocked for reproducibility; street map/routing and full safety lifecycle still need separate browser checks.
- CI execution and production browser verification pending; no claim of passing new test until run evidence. Projects 1/2 unchanged.

### 2026-11-30 evening — browser CI compatibility repair
- Verified morning commit `15fadf0b`: engine/static CI `46434085803` and Pages `46434085461` passed. Browser run `46434085656` failed before tests: Playwright 1.51.1 cannot install Chromium on Ubuntu 26.04 (job `141901292017`).
- Pinned dedicated browser workflow to Ubuntu 24.04 in `e5ba06d7`, retaining the existing Playwright version and all assertions. Re-run result must be verified; no browser pass claimed. Projects 1/2 and application code unchanged.
- P0 next: verify browser run, fix any actual acceptance failures, extend safety/transfer/reassignment coverage and verify mobile/keyboard and production independently. P1 dispatch-policy comparison remains queued behind reliability.
