Plan todo 11 evidence: docs/SUBMISSION-ANSWERS.md
Generated: 2026-11-20
Worktree: /home/athapa/patriothacks-wt/first-place-overhaul-todo11

============================================================
1. REAL npm run test OUTPUT (run fresh this session, not reused from an
   earlier todo in the plan)
============================================================

First run (no dist/ yet, before `npm run build`):
  Test Files  1 failed | 89 passed (90)
       Tests  1 failed | 795 passed (796)
  The single failure was src/miniapps/waterwatch/fixtureIsolation.test.ts
  ("the production vite build output (dist/) does not contain the fixture's
  content"), which explicitly requires `npm run build` to have run first
  (its own error message: "dist/ does not exist - run `npm run build`
  first so this check exercises the real build artifact.").

`npm run build` was then run (fresh this session):
  tsc -b && vite build -> exit 0, dist/ produced (292 modules transformed,
  PWA precache generated, "built in 530ms").

Second run (with dist/ present):
  Test Files  1 failed | 89 passed (90)
       Tests  2 failed | 794 passed (796)
  FAIL src/shell/ShellLayout.test.tsx > ShellLayout - boot-time Hollow demo
  auto-seed (plan todo 5) > two sub-assertions:
    1. "fixtureMarkerPresent(await readAll())" expected true, got false
    2. "hasDemoFixtureBeenLoaded" expected 2 calls, got 1
  These are both inside the SAME test file introduced by plan todo 5 (the
  auto-seed feature, commit 21319b3), which this todo (11) did not touch.
  `git status --short` was clean before this test run (confirmed below),
  so these 2 failures are pre-existing in the current committed tree, not
  caused by this todo's work. They read as test-isolation/timing flakiness
  in fake-indexeddb across the two mounts in that spec, not a functional
  regression in the shipped app (the real browser Playwright QA for todo 5
  passed per its own evidence).

CITED PASS COUNT USED IN docs/SUBMISSION-ANSWERS.md Field 2:
  "794 of 796 tests pass; two known, disclosed limitations ... remain"
  -> sourced directly from the second (dist/-present) `npm run test` run
     above, the more accurate state since it reflects the full gate
     (build + test) rather than the test-only run that skips one real
     assertion for want of a build artifact.

git status --short before the test run (confirms no edits of mine caused
the ShellLayout failures):
  (empty - clean tree)

git log --oneline -5 before this todo's work:
  6e54fcf chore(ulw-execute): close todo 5, record gate-review evidence and ledger
  21319b3 feat(shell): auto-seed the Hollow demo fixture on a genuinely empty Event Log
  d34a56d chore(ulw-execute): close todo 7, record gate-review evidence and ledger
  6065a64 feat(promo-video): give the Assembly two-device clip the same decorative treatment as every other beat
  ae2f920 chore(ulw-execute): close todos 2-4, record gate-review evidence and ledger

============================================================
2. WORD COUNTS PER SECTION (computed directly from the written
   docs/SUBMISSION-ANSWERS.md file, not from the draft in this prompt)
============================================================

Field 1 ("Explain it directly... without technical depth... impacts people"):
  194 words  (<=200: PASS)

Field 2 ("Explain the product in technical depth... tech stack"):
  199 words  (<=200: PASS)

Field 3 ("Explain your thought process"):
  196 words  (<=200: PASS)

Field 4 ("If you worked solo, feel free to write N/A"):
  83 words   (<=200: PASS)

Word counts were computed by splitting each field's prose (the text
between its blockquoted prompt and its "**Word count**" line) on
whitespace and counting non-empty tokens, run directly against the file
on disk after writing it (not against the draft text).

============================================================
3. FACT-CHECK: every factual claim in docs/SUBMISSION-ANSWERS.md grepped
   against its real source
============================================================

Claim: shelter population 4,200
  Source: src/admin/seedEvents.ts:79 -> `population: 4200,`
  Verified: PASS

Claim: "honesty-anchor chain" (Water Watch -> Fair Share)
  Source: DEMO.md:33 -> "### 1. The honesty-anchor chain (Water Watch ->
  corroboration -> Fair Share re-solve)"
  Verified: PASS

Claim: "All 15 official problems are covered across 13 mini-apps"
  Source: README.md:8 -> "Thirteen mini-apps answer all 15 official
  problems between them"; README.md:71-72 -> "The official packet poses
  15 numbered problems. THE COMMONS answers all 15 with 13 mini-apps,
  merging three pairs of connected problems..."
  Verified: PASS

Claim: tech stack (React 19 + React Router 7 + TypeScript + Vite 8 +
Dexie/IndexedDB + Ed25519 via @noble/ed25519, local-first, one signed
event log replayed into a wallet ledger)
  Source: AGENTS.md:8 (OVERVIEW) -> "an installable, local-first PWA
  'super-app': one Ed25519 identity, one signed event log, and one
  replay-derived wallet ledger ... Stack: React 19 + React Router 7 +
  TypeScript (strict) + Vite 8 + Dexie (IndexedDB) + `@noble/ed25519`"
  Verified: PASS

Claim: the F1 wallet.transfer signer-binding fix landed in this plan run
  Source: `git log --oneline --all | grep "wallet.transfer not signed"`
  -> "6d5740c fix(ledger): reject wallet.transfer not signed by the
  from-account's own key"
  Verified: PASS (commit exists in this worktree's history)

Claim: wallet.issue self-minting disclosed as a known limitation in
ECONOMY.md
  Source: ECONOMY.md:114 -> "- **Unauthenticated `wallet.issue` issuer:**
  `ledger.ts`'s `isIssuePayload` ..."
  Verified: PASS

Claim: Housing fairnessDebt poisoning disclosed as a known limitation in
ECONOMY.md
  Source: ECONOMY.md:125 -> "- **Unvalidated Housing `fairnessDebt` on
  sync:** `housing.ts`'s `isHousingAssignmentPayload` ..."
  Verified: PASS

Claim: CEEI (Competitive-Equilibrium-from-Equal-Incomes) is the key
fair-division design decision (Fair Share)
  Source: ECONOMY.md:49 -> "using CEEI (Competitive Equilibrium from
  Equal Incomes)"; README.md:77 -> "Competitive-Equilibrium-from-Equal-
  Incomes (CEEI) allocator across power, water, food, and cooling"
  Verified: PASS

Claim: project was built solo (no team-roster/credits section anywhere
in README.md, DEMO.md, or ECONOMY.md)
  Method: `grep -rni "credits\|team roster\|contributors" README.md
  DEMO.md ECONOMY.md` across the whole repo's top-level docs
  Result: only incidental uses of the word "credits" (the wallet's
  "Commons Credit" currency: "Send credits to another resident",
  "credits a resident ONCE") - zero matches for an actual team-roster or
  contributors section
  Verified: PASS (no team-roster file exists; solo claim is supported by
  absence of any contrary evidence)

Claim: README's problem-mapping table merges 3 pairs of official problems
into one mechanism each (cited as evidence of deliberate scope-fitting in
Field 3)
  Source: README.md:77 (P1,P2,P3 -> Fair Share), README.md:81 (P7,P13 ->
  Assembly), README.md:83 (P9,P10 -> Health Post)
  Verified: PASS (three merged rows found, matching README.md:71-72's own
  "merging three pairs of connected problems" claim)

============================================================
4. NO INVENTED NUMBERS / TESTIMONIALS
============================================================

No impact numbers (e.g. "saves X liters," "helps Y residents") or user
testimonials were used anywhere in docs/SUBMISSION-ANSWERS.md beyond the
real, sourced 4,200-population figure and the real 794/796 test count,
both grepped and verified above. The Water Watch -> Fair Share mechanism
description matches DEMO.md's own walkthrough exactly (two-sensor
corroboration gate, no self-corroboration, real CEEI re-solve), not an
invented workflow.
