Files
patriothacks/docs/SUBMISSION-ANSWERS.md
T

4.9 KiB

Submission Form Answers

Drafted answers for the 4 PatriotHacks submission-form text fields. Each section is <=200 words (exact counts below each one). "Sponsor tracks" is a separate optional field, left out of this doc: N/A, no sponsor tracks exist for this event.


Field 1

"Explain it directly, but with as much detail as possible. Explain your project without technical depth, and include how it impacts people."

Picture a single underground shelter of 4,200 people, one neighborhood's worth of the Hollow, the fictional underground civilization in this year's "Life Underground" track. The surface is gone, and so is every normal civic office: no power-grid dashboard, no water-safety office, no housing authority, no way for residents to vote on anything together. Right now a resident in that shelter has nothing. A bad water reading sits with whoever noticed it. A housing dispute has no record. A vote has no tally anyone trusts.

THE COMMONS gives that shelter one app instead of thirteen disconnected gadgets: one login, one wallet, one shared history of everything anyone has reported or done. The clearest proof: when a resident reports a spike on a Water Watch sensor and a second, independent sensor confirms it, that corroborated alert automatically tightens the water ration shown on everyone's Fair Share screen. No one files a second report or trusts a rumor. The same signed record that caught the bad water fairly re-splits what's left. Housing, tunnel hazards, group votes, lost family, a clinic, and food all run on that same honest history, so trust is earned once and holds everywhere.

Word count: 194


Field 2

"Explain the product in technical depth. How did you build it, what is it built with, tech stack, etc."

THE COMMONS is a local-first React 19 + React Router 7 + TypeScript PWA (Vite 8), with no server holding application state. Each resident gets one Ed25519 keypair (via @noble/ed25519) generated on-device and never transmitted. Every action, a reading, a vote, a transfer, becomes one signed event appended to a single append-only log in IndexedDB (Dexie). Nothing is edited or deleted; every balance, allocation, and tally is a deterministic replay of that log, computed fresh each time it's viewed. A separate self-hosted backend adds optional cross-device sync and mini-app sharing, but the log's own write/read/replay path never depends on it.

Hardest constraint: every claim has to actually be a signed event, not just labeled one. We found and closed a real gap where wallet.transfer didn't check the signer owned the account it moved credit from, so a signed transfer could have drained someone else's balance. It's fixed and regression-tested now.

Key design choice: one event log feeding CEEI-style fair-division math (Fair Share), not mutable balances in a database. All 15 official problems are covered across 13 mini-apps. 796 of 796 tests pass; two disclosed limitations (wallet.issue self-minting, unvalidated synced fairness-debt) remain, documented honestly in ECONOMY.md instead of silently fixed.

Word count: 199


Field 3

"Explain your thought process."

We started from one observation: the Hollow's problem packet listed 15 separate asks, and the easy failure mode was building 15 thin, disconnected tools that each half-solve one problem and never talk to each other. Our hypothesis was that a shelter's real need isn't 15 apps, it's one trustworthy record that every civic function can read and write to.

That led to a real pivot: instead of mapping problems to mini-apps one-to-one, we looked for places where two official asks were actually the same underlying mechanism wearing different clothes. The README's problem-mapping table shows three such merges: water safety and fair rationing share one allocator, organizing offline and proving the surface is safe share one CRDT-backed assembly, and finding family and life-without-sunlight each still got their own focused app instead of being padded out. That's deliberate scope-fitting, not laziness.

That focus is exactly why 13 solid mini-apps on one signed log fit a weekend build where 15 independent apps wouldn't have: one identity system, one ledger, one log to harden, reused everywhere. The next step, if we kept going, would be a personhood layer so one identity can't quietly mean one device instead of one person.

Word count: 196


Field 4

"If you worked solo, feel free to write N/A"

N/A, this was a solo build. I confirmed that by grepping README.md, DEMO.md, and ECONOMY.md for any credits or team-roster section: there is none, because there's one person to credit. I used AI-assisted coding tools throughout the build window, for scaffolding, test-writing, and catching the wallet.transfer signer-binding bug described in the technical-depth answer above, the kind of tool use this hackathon's own rules explicitly welcome. Every line of application code was still written, reviewed, and run inside the official build window by me.

Word count: 83