Housing minted a wallet.issue to every assigned resident on every cycle run (button-spam inflation), and the resident-run cycle used a flat score of 1 so shortfall was always 0 and the fairness-debt ledger never moved. Credit now fires only when a resident's slot actually changes (idempotent one-time settlement grant), and a signed housing.preference event + ranked fit-scores make debt genuinely rotate (loser cycle 0 wins the contested slot cycle 1).
The trend-hide filter (only render a trend for resources with cycle history) broke waterwatch/coreLoopHonestyAnchor which asserts fairshare-trend-water renders after a water re-solve. A 'No trend yet' card is an honest empty state, not fake, so render all four unconditionally; the resident need form stays.
Light Clock now reads the device motion sensor as actigraphy (rest/activity), never claiming to measure light (the Hollow has none); the old 'light exposure logs' and 'No hardware of any kind / never a simulated sensor' lines were inaccurate. Reworded to: no fabricated data, readings come from resident reports or the device's own motion sensor (Light Clock, labeled as actigraphy), no dedicated hardware.
Fair Share was a read-only dashboard: fairshare.need was admin-only, so a resident could not report a need, and all four trend cards showed a permanent 'No trend yet' (power/cooling have no allocation-cycle writer at all). Adds postFairshareNeed (resident write path, agent = caller) + a Report your need form so the CEEI allocation re-solves live from a resident's own reported need, and renders a trend card only for resources that actually have allocation-cycle history.
Commons Credit could only ever be minted (welcome grant, housing, fair draw) with no spend, no sink, and no send UI, so the ledger's transfer + credit-limit + double-spend machinery was exercised only by tests. Adds postWalletTransfer (a signed wallet.transfer where the signer is the sender) and a Send credits form in WalletCard (recipient id + amount) that pre-validates amount <= balance, blocks self-send, and surfaces the ledger's over-spend rejection. This activates the dormant economy into a real contribution-exchange time-bank (see ECONOMY.md).
States the four separate accounting circuits (Commons Credit time-bank, Fair Share equal-incomes modeling device, Assembly QV voting budget, Housing fairness-debt), the unit, the conservation invariant, and the disclosed local-first limits (Sybil, offline double-spend detected-not-prevented), so everything is accounted for.
Presence joined one fixed PUBLIC WebRTC room, counting internet strangers as residents under this sky and broadcasting raw account ids. The room is now derived per cohort code (like Assembly) with an ephemeral handle, so cohorts are isolated and no account id leaks. The morale aggregate is windowed to the current cycle instead of counting every pulse ever.
The device-motion path showed the model's seed constant (always Strong/0.820) as a computed result and mapped movement to 250 lux daylight in a sunless world. Re-scoped the signal as actigraphy (rest/activity, an explicitly-labeled model-input inference, never measured light), gated the UI on a full-circadian-window guard (honest need-more-data instead of the seed constant), and persist timestamped samples as signed lightclock.actigraphy events so a multi-day log accumulates across reloads.
A febrile child with no other sign was shown a green Home care badge (the engine omitted fever), a false reassurance contradicting the fever symptom tally. Added the WHO-IMCI fever assessment and a neutral Not fully assessed state so a febrile child is never home_care. Added a signed healthpost.referral.resolve event + Mark handled so the clinician queue can close cases.
respondToSearch returned every entry's cleartext id (name-bearing) to any query, breaking the PSI privacy premise. Each id is now sealed with AES-256-GCM under HKDF(H(name)); only a genuine matcher can derive the key and decrypt the single matching id; the response is shuffled + padded to hide roster size. Seed ids are opaque handles.
The Sensor-corroborated badge fed a binary 0/250 lux proxy in as accelerometer data and RMS-thresholded it, so any movement corroborated and a handheld phone can't sense a flooded corridor anyway. Removed it; a hazard segment is now Confirmed by N residents only when >=2 distinct signer pubkeys report the same unresolved segment, replay-derived from the signed log.
Farms->Fair Share credited food via seed.resource.food (latest-wins), so the demo's 20kg forecast OVERWROTE the 410 baseline (food 410->20, the farm starved the settlement). Farms now appends a signed fairshare.contribution that Fair Share SUMS onto the baseline per-contributor-latest, so growing food only raises the pool and multiple growers sum. Also wires the advertised-but-inert grow-light power budget into FarmsScreen + shows energy vs budget in ForecastPanel.
Real-browser screenshots: history surviving a backend restart, a fresh device
pulling accumulated history, and three mini-apps published with install QR/URL.
Self-contained XHTML bundles (Shift Log, Tool Library, Gratitude Wall) that
mount through the real upload/publish path and use the window.commons SDK.
Published to /api/blob and verified mounting + executing in a real browser.
A mounted mini-app's fire-and-forget window.commons append/getPublicKey could
still be in flight after beforeEach wiped the DB, throwing an unhandled
IdentityMissingError that flipped the suite exit code ~1 in 3 runs despite all
tests passing. Seeding an identity makes that late signed call resolve against
the fresh DB. 8/8 runs green.
The event relay was an in-memory array that started empty on every process, so
synced history vanished on every API-server restart. Persist it to a gitignored
.data/events.sqlite3 via node:sqlite like the blob store (EVENT_DB_PATH override;
seq rowid pull cursor; UNIQUE(authorPubkey,signature) push idempotency), keeping
the exact exported API. Synced history now survives restarts and keeps growing,
and a fresh device pulls the whole lived-in history on load; ShellLayout adds a
light 6s poll for live cross-device reflection. Adds a dev:all script, isolates
the two integration tests to a temp EVENT_DB_PATH, documents EVENT_DB_PATH.
trySyncWithBackend's pulled-entry dedup is a non-atomic read-modify-write (read
the existing (authorPubkey,signature) set, then appendEntry in a loop). Several
mini-app mounts plus the shell poll can fire it at once; two overlapping runs
both saw a remote entry as absent and ingested it twice, duplicating it locally
and corrupting the replayed ledger (a real-browser pull of 26 relay events
produced 156 = 6x local rows). Chain all calls on one promise so only one runs
at a time, making the dedup atomic. Adds a 4-concurrent-sync regression test.
Records every adversarial case (HELD/BREAK), and for all 24 fixed breaks the
repro, root cause, fix, and re-verification, plus the known-limitations
follow-ups (credit-value forgery, ceeiSpike solver guard, test hygiene).
An exhaustive adversarial stress-test pass (6 parallel domain adversaries +
in-kernel engine probing + a real-browser adversary) tried to BREAK every
feature. 24 genuine breaks were found and fixed at root cause, each with a
regression test; the dominant class (15/24) was a NaN/Infinity slipping past
a typeof/isNaN-only guard at a trust boundary and poisoning a derived value.
- Water Watch: blank value stored as fabricated 0; a single NaN reading
permanently killed a channel baseline (and survived replay). Reject
non-finite at the form, the gate, and the replay matcher.
- Fair Share: a floor consuming the pool emitted an Infinity clearing price;
Infinity need/supply/trend -> NaN. Finiteness guards + residual-only CEEI
sub-market.
- Housing: NaN/Infinity score/capacity signed a NaN fairness-debt that
poisoned all future cycles. Validate finiteness at the input boundary.
- Tunnel Safety: A* returned suboptimal routes when coord scale != weight
scale (inadmissible heuristic). Scale the heuristic to be provably
consistent; verified vs brute-force Dijkstra.
- Assembly QV: duplicate P2P-synced credit rows double-counted a resident.
Collapse per (proposal,resident) before tallying.
- Fair Draw: empty participants committed a draw it could never resolve
(stuck). Refuse empty draws.
- Light Clock: negative/huge/NaN lux -> NaN circadian output; non-finite
hours -> unbounded RK4 loop (hang/OOM). Finite light-drive + step bound.
- Farms: NaN baseTemp/crop fields -> NaN GDD/yield (NaN-leak into Fair
Share's signed ledger); overflow temps -> Infinity GDD. Finiteness +
overflow-safe mean.
- The Climb: Infinity capacities -> self-contradictory schedule; non-integer
readyPeriod -> silent 0-delivered. Finiteness + integer guards.
- Upload/manifest: an extra unknown field leaked into the stored manifest and
onto the share wire; duplicate permissions and 200k names accepted. Reject
unknown keys and return a reconstructed manifest; dedupe + length caps.
Combined gate green: 689 tests pass (+21 regression over 668 baseline),
tsc build exit 0, oxlint exit 0. No test skipped or weakened.
Every feature tested live through the real shipped UI and documented with
captured evidence: all 13 mini-apps + the 10 platform features (identity,
signed event log, replay wallet, home grid, persistent shell, admin seed,
upload, install-by-QR, mounted package SDK, cross-device sync), each with
what/how/how-to-use + a validation row citing a screenshot under
.omo/evidence/feature-validation/.
Validation: a Playwright walkthrough (repo-native engine) seeded the demo
then drove each surface and asserted a concrete observable (16/17 automated
PASS; the one miss was a test-selector bug, not the app - home grid
confirmed by screenshot). Platform gate green: 668 tests, build, lint all
pass. Honest about headless limits (Health Post full triage, Light Clock
sensor path validated render+partial, engines unit-tested) rather than
overclaiming.
Includes a what/how summary and a grounded 'How to present it' section
(60-90s pitch, live demo script, rubric mapping, pitfalls, scope-cut
framing) for the hackathon submission.
Found by actually uploading and opening a mini-app end-to-end in a real
browser: the whole 'upload a mini-app and it runs with SDK access' feature
was silently broken for real users. mountMiniapp parsed the HTML with
DOMParser and carried each node over with document.importNode - but a
<script> produced by a parser keeps the 'already started' flag, so
appending it to the live document does NOT execute it in a real browser.
The code comment even asserted the opposite. happy-dom DOES run such
scripts, so the existing test suite passed while the feature was dead in
Chromium - a false-confidence gap.
Also surfaced a second, latent parse bug: the bundled 'Hollow Welcome'
sample (installed for everyone via 'Load Hollow demo') had a bare '&&' in
its inline script, which the strict application/xhtml+xml mount parser
rejects with xmlParseEntityRef - so even once scripts executed, that
sample failed to parse. Both the demo sample and anyone copying it would
hit this.
Fixes:
- mountMiniapp now re-creates every parsed <script> as a fresh
document.createElement('script') with attributes + text copied over. A
freshly-created script has no 'already started' flag and executes on
insertion, exactly as a real page's inline script does. Verified in a
real Chromium browser: the sample's balance now resolves (50), the
greeting count increments 0->1 on click, and persists across reload
through the real signed Event Log.
- Escaped the bare '&&' in the Hollow Welcome sample to '&&' so it
parses under the strict XHTML mount parser.
- Made both the shipped sample and the test fixture guard their async SDK
callbacks (element-exists + window.commons-present checks). This is the
correct robust pattern for an unsandboxed mini-app: a real browser would
otherwise throw an unhandled error if the user navigates away while an
SDK call is in flight. It also makes the tests deterministic (the newly-
executing async callbacks no longer land on a torn-down DOM).
Verified: all 668 tests pass with zero unhandled errors (previously the
newly-running scripts caused 3 unhandled rejections and a non-zero exit),
build passes, lint clean. Confirmed end-to-end in a real browser with both
the bundled sample and a freshly-uploaded custom mini-app.
The prior commit seeded two hardcoded sensorId strings ("kiosk-1",
"kiosk-2") reporting through the real corroboration gate - technically
real engine logic, but the sensorId label implies a hardware sensor
network that doesn't exist anywhere in this project. Water Watch has no
actual device integration; its real design is a resident typing a reading
into ReportReadingForm, and corroboration specifically requires a second,
genuinely independent report - something an admin seed step cannot
honestly produce without inventing a second reporter.
Removes the seeded readings entirely. Water Watch now starts at its
honest "No sensor readings yet" empty state, same as it would with zero
fabricated starting data. The real corroboration mechanism is meant to be
demonstrated by actually using the form, not by injected fixture data
standing in for equipment that was never built.
Tunnel Safety's hazard report, Farms' planting forecast, Assembly's votes,
and Mentor's skill review are unaffected - each represents an action a
real person could take through the app's own real form, with no claim
about external hardware, consistent with this fix's standard.
"Load Hollow demo" already populated Fair Share, Housing, Mentor's at-risk
list, the wallet, and Assembly's roster - but Water Watch, Tunnel Safety,
Farms, Assembly's votes, and Mentor's review history stayed completely
empty, so a cold visitor saw several apps with nothing to look at.
Extends the same one-click load to drive real outcomes through each app's
actual engine - never a fabricated or hand-set state:
- Water Watch: two independent sensors (kiosk-1/kiosk-2) each report a
baseline reading, then both report the same contaminated value - run
through the real createCorroborationGate()/reportWaterReading() the live
resident form uses. The exact sequence was verified by executing the
real gate directly before writing this: readings 1-2 establish each
sensor's baseline, reading 3 flags "corroborating", reading 4 (the
second independent sensor agreeing) genuinely reaches "alert" - the
gate's own state machine decides this, not a hardcoded status.
- Tunnel Safety: one real hazard report (reportHazard()) closes a segment
so the map shows a genuine closure and rerouted path.
- Farms: a real, provably-feasible temperature/plot/crop input reaches an
"optimal" solve via solveFarmsPlantingOptimizer() + settleFarmsForecast(),
which also feeds Fair Share's food resource through the same real edge a
live grower's forecast would use.
- Assembly: the two founding residents cast real votes (castVote()) on the
seeded proposal, so the tally is non-zero instead of "No vote cast yet".
- Mentor: one real skill review (postSkillReview()) on well-repair (already
seeded as at-risk) gives it a genuine next-due-date instead of no history.
AdminSeedPanel.test.tsx's hardcoded expected Event Log count is updated to
account for the 10 new real entries (4 water readings + 2 water settlement
+ 1 hazard report + 2 farms settlement + 1 mentor review), with the same
itemized-comment style the existing formula already used.
Verified: the exact corroboration sequence was run against the real gate
in isolation to confirm it reaches "alert" before relying on it here;
npm run build passes; all 668 tests pass (including the exact
AdminSeedPanel integration test that clicks the button and inspects the
resulting Event Log); lint is clean with zero new warnings.
This reviewer started before the first one finished, hit a slow filesystem
search, and completed well after the faster parallel reviewer's APPROVE had
already landed on master. Keeping both reports: this one independently
confirms the same result (confirmed/APPROVE), reproduced from the already-
committed state rather than the pre-commit working tree, with one fair
process note about the review completing after the commit.
Every chapter tagline and per-mini-app chip now explicitly states the real
Hollow problem (drawn from the actual PatriotHacks Fall 2026 'Life
Underground' problem doc, not a paraphrase) immediately followed by what
that mini-app concretely does about it - replacing the prior internal-
proof-style copy (e.g. commit/reveal details) that explained the mechanism
without ever stating the problem it solves.
Also fixes a real usability issue: the captured interactions (typing,
form-filling) played back too fast to follow. The fix is targeted, not
uniform - simple taps/toggles stay near-normal speed, and the real
slowdown goes into character-by-character typing on the form-heavy beats
(Assembly's proposal, Farms, Health Post, The Climb), which is where the
complaint actually applied. An earlier attempt that slowed every
interaction uniformly produced a 161s video (more than double); this
version lands at 89.9s, a reasonable increase that keeps every click
readable without losing a viewer's attention.
README's opening now leads with the doc's own framing of the premise and
what the project answers, instead of a generic project description.
Independently verified (fresh reproduction, including an independent
fetch of the source doc): every problem statement matches the doc's actual
numbered items, every solution statement matches what the mini-app
actually does, all 15 chips plus 5 chapter cards are legible on screen,
and a direct before/after frame comparison confirms the click-speed fix
(instant-fill in the old render vs visible character-by-character typing
in the new one). Every existing protection re-verified: 1920x1080/30fps,
zero white-flash frames across all 2696 frames, audio in the proven band
with no clipping, zero generic/town references.
Two prior passes only changed decoration (lighting, a gradient, a device
bezel) while keeping the exact same skeleton as the original video: one
background for the whole runtime, one centered same-size phone throughout,
identical dark title cards between acts. That structural sameness is what
read as the same video regardless of paint. This rebuilds the structure,
grounded in two real OpenMotion templates (Cash App: per-chapter
full-screen color switches, capsule typography, phone-less beats; Emergent:
data-first opening, device-switch moment, a result-wall ending):
- data-first opener (0-7s, no phone) - a counting 4,200-residents stat and
real resource bars, straight from HOLLOW_DEMO_FIXTURE
- full-screen solid-color chapter cards, a different bold hue each
(azure/amber/teal/violet) with kinetic capsule headlines
- per-act phone framing and field color that actually varies - right-
anchored, a text-dominant phone-secondary beat, left-anchored, centered -
not one consistent position the whole time
- a result-wall ending: 13 real per-mini-app screenshots fan in, then a
bold brand lockup, replacing the single-phone-plus-dark-card close
All footage is reused real Playwright captures; no fabrication. Every
protection re-verified: 1920x1080/30fps/66.034s, audio -38.3dB (in band,
no clipping), zero white-flash frames across all 1981 frames, a genuinely
moving (non-frozen) end hold, zero cursor, zero content clipping,
in-universe copy throughout.
Independently verified via a fresh gate reviewer's own three-way frame
comparison against both the original ffmpeg video and the first OpenMotion
redesign, confirming this reads as a structurally distinct video, not a
re-skin.
Node labels were placed at a fixed y-offset regardless of local edge
geometry, so hub nodes with multiple fanning segments (Market Junction,
South Gate) had connector lines running straight through the label glyphs.
Added a white stroke halo behind the text (the standard SVG technique for
legibility over crossing graph edges) - works regardless of exact layout
geometry, independent of how many lines converge on a given node.
Found via a real-browser visual audit (Playwright + a real vite dev server,
real seeded demo data) across all 13 mini-apps plus the home grid, admin
panel, and upload-mini-app flow at mobile and desktop widths - the only
genuine defect found. Confirmed fixed via before/after screenshots and
independently reproduced (including a zoomed A/B comparison) by a fresh
gate reviewer. Build, test (668/668), and lint all stay green.
The committed video read as the same as the old ffmpeg-based one despite
the new pipeline, because the composition itself was still a flat frame
with two permanent text-wall sidebars - the real motion-graphics problem,
not a rendering-engine problem. Rebuilt the treatment grounded in real
references (OpenMotion's own Linear Agent and Orbit Launch templates;
current Screenhance/Screen Studio device-mockup conventions):
- flat solid background -> layered dark gradient with an off-center accent
glow, a faint dot grid, and a vignette - real depth, not a flat color
- bare pasted footage rectangle -> a real device bezel with inset
highlights, a drop shadow, a floor contact shadow, and a soft reflection
- two permanent always-on text sidebars -> compact callout panels that
fade in only during the specific mini-app beat they describe, anchored
to the real recorded beat timestamps (not a generic clip-midpoint split)
- stronger title-card typography with a continuously breathing glow and a
build-to-claim close
The decorative scene/lighting/reflection is a legitimate, honest
device-mockup convention (the real screen capture inside stays completely
unaltered and fully readable) - this is not fabricating app content.
Fixed one real defect found during verification: callout panels were
originally timed from a generic clip-midpoint split, so several displayed
over the wrong mini-app's footage. Root-caused to beat-anchor timing
(capture-manifest.json offsets, corrected for the wall-clock-to-webm-time
scale) and the dwell-window boundary (each topic's own last beat, not the
next topic's first beat, which fires after extra navigation/compute
latency). Fixed and re-verified across all 6 callout panels individually.
Independently verified end to end: 1920x1080/30fps/62.834s, zero
white-flash frames across all 1885 frames, audio -38.4dB (in band, no
clipping), zero generic/town references, no cursor, zero content
clipping, and a genuine side-by-side comparison confirming this is
substantially distinct from the prior committed version.
Migrates the promo video's compositing/motion-graphics layer (title cards,
margins, transitions, audio mix) to OpenMotion (Hyperframes 0.9.7), built
and verified across 3 independently-gated stages:
- e2e/openmotion-poc/: proof-of-concept proving real footage composites
correctly with live-sourced margins and a flash-free title card
- e2e/openmotion/: the full video - intro, Act I/II/III, Epilogue, outro,
and the real two-device Assembly sync scene, with continuous ambient
audio, rendered to e2e/openmotion/renders/full.mp4 (1920x1080, 62.8s)
The existing e2e/demoVideoFull.e2e.mjs is untouched and remains the
production fallback (byte-for-byte unmodified, confirmed by every stage's
independent review). Real Playwright screen-recording of the actual app is
preserved as the footage source throughout - OpenMotion replaces only the
post-capture compositing, never the capture itself.
Every protection carried forward and independently re-verified at each
stage: no cursor overlay, 16:9 landscape with live-data margins, in-universe
copy (zero generic 'town' references), audible background audio (~-38dB,
no clipping), zero content clipping at any beat including the Assembly
two-device letterboxing, and the pacing fixes already proven in the ffmpeg
pipeline (no white-flash frames, graceful fade-to-black ending).
- act-card transitions now overlay the live app via an iframe srcdoc instead
of page.setContent()+goto('/'), which destroyed and reloaded the React app
and painted ~0.28s of pure-white dead frames at every act boundary
- card fade-in uses an ease-out curve (landing decelerates), fade-out uses a
faster ease-in curve (leaving accelerates), per measured motion-design timing
- assembly-scene holds tightened (no captions there, so these are glance
beats); longest freeze run down from 3.12s to 2.28s
- assembly composite now fades in from black (masks the white app-boot) and
fades out to black at the end, replacing a hard stop on a frozen frame
Independently verified via a fresh gate review (dense 1804-frame scan with a
crop-based white-flash detector, direct before/after comparison against the
prior master render): zero white-flash frames remain, graceful fade-to-black
ending, no regression in audio (-37.3dB), 16:9 margins, in-universe copy,
cursor-free rendering, or content clipping.