Repository navigation
Evidence: role sweep, auth-route and server-action results (sanitized, stale parts re-run) - #671
NewWorldVenture wants to merge 1 commit into
Conversation
…e parts re-run Evidence only; no code and no finalaudit.md change. Preserves this session's raw results behind ledger entries already on main (page audit B7 second pass, B14 axe, the plan gate, kid login, MAIN-F-E09, AUTH-005 and SEC-023), sanitized: no storage states, PINs, passwords, env files, cookie values or page text. Each result names its source commit and command, maps to existing audit ids (UI-ROUTE, API, ACTION, MAIN, P and finding rows), and says what later changes made stale. The affected checks were re-run locally on 2026-09-30 against a build of main's web code: B7's role-redirect subset (82/82 as the teen and the child), the plan gate (21/21), kid login, the admin marketing routes and the signed-out API answers; the 51 guard files pass on main at bc147c7. Local only; no production acceptance is claimed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DXw2nu25BjyRfA6Fg3YiMS
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
[P3, evidence accuracy] Retain the missing-heading exception in the historical B14 summary. At exact head dcd4b11, filtering b14-axe-2026-09-27.jsonl to crawl="re-crawl on the fixed build" gives 628 loads: 627 have h1=1 and one has h1=0. All 628 still have zero axe violations. I independently repeated that count against exact blob ae3d579fede737931f625a34ca2cd59e54873759. The exception is raw line 830: the Family+ parent vacation-detail fixture load returns 200, retains the requested finalPath, and records h1:0, violations:[]. README line 77 says every route has exactly one h1. Suggested wording: “The historical re-crawl recorded zero axe violations across 628 loads; 627 recorded one h1, while the parent vacation-detail load recorded zero.” The exception maps to existing UI-ROUTE-0281 at route-rows.jsonl line 275. The unchanged raw blob and universal claim also remain in the integrated evidence/main ledger, including MAIN-F-D05; please preserve the exception there when reconciling the evidence. This is a historical-summary correction, not a new browser run, present UI defect, production failure or reason to reopen every heading fix. Current import freshness is not established by a page-only changed flag. Other reviewed totals reconcile: 1,470 B7 loads; 1,256 B14 rows = 628 initial + 628 re-crawl; 164 rerun redirect checks = 82 routes x two roles; 351 distinct mapped route IDs. The older swapped action mappings were already corrected by #676. AUTH-002 correctly excludes persistence acceptance, and the stale-page, role, provider and local-only limitations remain explicit. No browser, sweep, SQL or provider execution; no shared/author source, ledger or configuration changes, new audit IDs, or closure credit. The evidence reviewer used in-memory reads only and wrote no files. |
Draft, evidence only: one new directory,
docs/audit/evidence/2026-09-30-role-auth-server-action/. No code, no migrations, nofinalaudit.mdchange. Everything ran on a local stack, and no production acceptance is claimed. SEC-001 is out of scope (the owner keepsfamily-mediapublic).What it preserves
The raw results behind ledger entries this session already put on main, sanitized. Each result names its source commit, the command, the audit ids it supports, and what later changes made stale.
/kid-loginchild, 354 signed-in routescfa20b7b4(1280 px);11410c9fa(plan-gated and 390 px, the B7 fixes that reached main as1d992562f,5402f873c,277238195)/adminroute and/auth/step-upsend both roles to/dashboard, and family-access sends them to/home. P-19 to P-22 fixed./kid-loginchild, super admin877d9a5eb(first pass);934219b5d(re-crawl)877d9a5eb877d9a5eb8f6155a378f6155a37; fixed ina9ded47c6{"code":"unauthenticated"}; navigation gets a 307 to/loginbe9df6045, ported as418be2008describeActionError; a ratchet holdsapp/at zerode5763140(2026-09-13)Stale, and what was re-run (2026-09-30, local, a build of main's web code)
Only the affected checks were re-run; the full sweeps were not repeated. Staleness was measured as each check's import closure against the files changed since its source commit.
cfa20b7b4. Its role-redirect closure changed (isSuperAdmingained an optional client argument).934219b5d. The axe results for those are stale and were not re-crawled; B14's guard tests pass.kid-login-form.tsx,otp.ts). Re-run:maya%andmayarive_aget only a PKCE-initiation cookie and no session; the real username signs in.a9ded47c6. Re-run anyway:/login.bc147c761.Audit rows the evidence supports
Each row is supported for the named dimension only; statuses are left to the ledger writer.
sec-023-actions.tsv).route-rows.jsonl, stale where marked).middleware.ts, signed-out branch);Sanitized, and limits
Sec-Fetch-Modenor JSONAcceptstill follows the redirect to a 200 login page, by design.POST /api/autopilot/scanchecks the plan but not the member's role. A teen's call answered 200 (scanned: 0). No finding is raised.Checks: the 87 test files that scan the tracked tree pass with this directory present. Lint and typecheck do not cover
docs/.🤖 Generated with Claude Code
https://claude.ai/code/session_01DXw2nu25BjyRfA6Fg3YiMS
Generated by Claude Code