Commit Graph
197 Commits
Author SHA1 Message Date
OmO Orchestrator 38e4f0972d docs: ultrawork QA2 evidence (seed v2, all new features real-browser verified)
Assembly live tally 6.00, Tunnel Confirmed by 2, wallet Send form, Health->Fair Share water-floor interop end-to-end, food 430, need form.
2026-11-20 04:17:06 -05:00
OmO Orchestrator 6240ca40ce docs(features): add ultrawork hardening pass + fix the no-hardware honesty line
Documents the economy spend path, the root-cause fakeness fixes, Assembly QV integrity, the new features (Fair Share need form, Farms power budget, Mentor transitive, Fair Draw badge, Housing debt), the Health->Fair Share water-floor interop, and the privacy allowlist, each with QA evidence paths. Corrects the 'no hardware / never a simulated sensor' line to account for Light Clock's honest device actigraphy.
2026-11-20 04:12:45 -05:00
OmO Orchestrator b7a2c5bb6e fix(seed): demo the fixed Assembly/Housing/Tunnel/Mentor behavior via the real signed-log path
The demo seed predated the recent fixes: Assembly tally showed 0.00 (dead castVote path removed), Housing never rotated fairness-debt (identity-matrix prefs), Tunnel never corroborated (one signer), Mentor had no reachable match. Now: founding residents are enrolled with putResidentCredit + cast real signed QV ballots (yes 6.00); the demo identity and a neighbour contest one single-capacity slot so debt accrues then flips; a genuinely foreign-signed corroborating hazard (appendEntry, re-verified) makes seg-market-bypass Confirmed by 2; the local identity is a still-learning apprentice and a foreign-signed mentor Good review yields one real match. Fixture bumped to hollow-demo-v2.
2026-11-20 04:06:07 -05:00
OmO Orchestrator dba9afea8d fix(build): remove dead code failing tsc -b noUnusedLocals
npm run build (tsc -b) enforces noUnusedLocals, which tsc --noEmit did not surface, so two leftovers from the wave-1 lanes were silently failing the production build: findfamily.ts hashNameToPoint (orphaned by the AEAD-seal rewrite) and an unused test import. Removed both; npm run build is green again.
2026-11-20 04:00:18 -05:00
OmO Orchestrator e496fc27ac feat(interop): Health Post diarrhea cluster -> raise Fair Share water floor
First cross-mini-app interop for breadth: when the community symptom tally shows a diarrhea cluster (dispatch priority elevated/urgent, a waterborne-outbreak signal), the clinician gets a one-click action to raise the Fair Share water floor (postFairshareFloor water) so every resident is guaranteed enough water for oral rehydration. Real clinician decision, shared key = the water resource, no fabricated data; links Health Post + Fair Share + the water theme.
2026-11-20 03:56:37 -05:00
OmO Orchestrator 27e29caed6 fix(privacy): default-deny relay push allowlist + self-hostable WebRTC default
runSync pushed every local event type to the pubkey-stamped relay, letting a puller correlate healthpost/sky.morale/wallet under one identity. Push is now a default-deny allowlist (health/mood/lightclock/mentor/fairdraw/testimony stay strictly local; only merge-needing types sync). Default WebRTC signaling is now self-hostable (VITE_SIGNALING_URL -> ws://localhost:4444), public host opt-in only; DEPLOY.md documents self-hosting.
2026-11-20 03:49:44 -05:00
OmO Orchestrator 7551764d3d fix(mentor): rank skill criticality on transitive dependents
Criticality used raw direct in-degree, so a deep/leaf prerequisite the whole settlement transitively rests on could slip under the at-risk threshold. Added computeTransitiveDependentsCounts (DAG closure, GAP-15 edge normalization + cycle guard); kept the direct count for mentorMatching. A deep leaf prerequisite now flags at-risk.
2026-11-20 03:49:44 -05:00
OmO Orchestrator 480232838f feat(fairdraw): surface the validateReveal integrity verdict in the UI
RevealDraw claimed a re-roll after a published commit is auditable+rejected, but validateReveal had zero production callers. The reveal flow now replays the signed log and renders a Draw integrity: valid/rejected badge; a duplicate or pre-commit reveal flips it to rejected.
2026-11-20 03:49:44 -05:00
OmO Orchestrator d35d4a3772 docs: ultrawork batch-1 real-browser QA evidence
Screenshots confirming Fair Share food 430 (additive fix), Health Post fever UI, Farms power budget, Tunnel corroboration badge, Light Clock actigraphy.
2026-11-20 03:41:53 -05:00
OmO Orchestrator 8f1d54ac27 fix(assembly): weight QV from the signed ballot's credits + collapse the two vote widgets
computeQvTally weighed votes by the unsigned WebRTC-synced CRDT residentCredits, so a peer could set credits to 1e6 and dominate any tally. extractQvBallots now carries the signed tamper-evident credits and the tally weighs sqrt(min(ballot.credits, DEFAULT_QV_CREDITS)); residentCredits is used only as the enrolled-membership set. Also collapsed the inert direct-vote widget into the one signed QV ballot and moved delegation to a single global card with a Revoke button.
2026-11-20 03:41:52 -05:00
OmO Orchestrator 190f2d96f1 fix(theclimb): persist the return plan to the signed log + anchor the tie-break
The Climb held its plan in useState (wiped on reload, never collective) and its Fair Draw tie-break used Math.random with commit+reveal+verify in one call (self-theater, non-reproducible). The plan is now theclimb.plan.propose/commit signed events replayed on mount (survives reload, identical on a second identity); the tie-break seed is derived deterministically from signed log content, the commit is appended before the reveal, and verifyClimbTieBreakAudit re-checks it from the log. Plus inline input validation.
2026-11-20 03:41:30 -05:00
OmO Orchestrator cee6565525 fix(housing): idempotent credit + real slot preferences so fairness-debt rotates
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).
2026-11-20 03:41:30 -05:00
OmO Orchestrator 8667c49020 fix(fairshare): keep all four trend cards rendered
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.
2026-11-20 03:41:30 -05:00
OmO Orchestrator a76f74583e docs(readme): correct Light Clock to honest actigraphy, not light/no-hardware
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.
2026-11-20 03:29:10 -05:00
OmO Orchestrator 0088a7b625 feat(fairshare): resident need form + hide dead trend cards
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.
2026-11-20 03:28:00 -05:00
OmO Orchestrator 604843977a feat(wallet): resident-to-resident Commons Credit spend path
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).
2026-11-20 03:24:43 -05:00
OmO Orchestrator 39e6b25f4a docs: add ECONOMY.md (coherent accounting model + honest limits) + ultrawork plan
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator 40f3336385 fix(sky): scope presence to a cohort + window the morale gauge
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator 30561080e0 fix(lightclock): honest actigraphy, not a fake light sensor
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator 57ecfef2f0 fix(healthpost): add IMCI fever branch + closeable referrals
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator 278072195a fix(findfamily): stop leaking the directory roster to any searcher
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator 97b2ea1da1 fix(tunnelsafety): replace fake accelerometer badge with real multi-reporter corroboration
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator d21e2dfe34 fix(farms): additive food supply (no starvation) + wire grow-light power budget
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.
2026-11-20 03:14:49 -05:00
OmO Orchestrator 38c15c2919 docs: persistence proof + mini-app publish QA evidence
Real-browser screenshots: history surviving a backend restart, a fresh device
pulling accumulated history, and three mini-apps published with install QR/URL.
2026-11-20 02:30:03 -05:00
OmO Orchestrator 942ceda7e5 feat: add three sample uploadable mini-apps
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.
2026-11-20 02:30:03 -05:00
OmO Orchestrator 812cec5281 fix(test): seed identity in MountedMiniapp beforeEach to kill a flaky exit
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.
2026-11-20 02:30:03 -05:00
OmO Orchestrator d22361a613 feat: persist synced event-log history across server runs (SQLite relay)
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.
2026-11-20 02:30:03 -05:00
OmO Orchestrator afa29a70f3 fix: serialize concurrent event-log syncs to stop duplicate ingestion
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.
2026-11-20 02:30:03 -05:00
OmO Orchestrator 322ef20cad docs: add EDGE-CASES.md adversarial stress-test log + evidence
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).
2026-11-20 01:37:30 -05:00
OmO Orchestrator 1daa59c333 fix: harden every engine against adversarial/non-finite edge cases (24 breaks)
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.
2026-11-20 01:37:30 -05:00
OmO Orchestrator b01c15fb57 docs: add validated feature catalog + presentation guide (FEATURES.md)
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.
2026-11-20 01:02:33 -05:00
OmO Orchestrator 4e872c3b34 fix(miniapp): make uploaded mini-app scripts actually execute in real browsers
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 '&amp;&amp;' 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.
2026-11-20 00:39:55 -05:00
OmO Orchestrator 804bf4e4a2 fix(admin): stop seeding fake sensor readings into Water Watch
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.
2026-11-20 00:25:43 -05:00
OmO Orchestrator 1ec340da7f feat(admin): drive real outcomes for the still-empty mini-apps in the demo seed
"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.
2026-11-20 00:02:06 -05:00
OmO Orchestrator 7a33b01218 docs(demo): commit the second (originally-dispatched) copy-rewrite gate review
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.
2026-11-20 00:01:52 -05:00
OmO Orchestrator b0f9226d37 docs(demo): commit the promo video copy rewrite gate-review report 2026-11-19 22:52:21 -05:00
OmO Orchestrator 171f6d46ab feat(demo): rewrite promo video copy to pair problem with solution
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.
2026-11-19 22:52:18 -05:00
OmO Orchestrator 9fc118cfcb merge(demo): land structurally-redesigned promo video (track A) 2026-11-19 21:10:50 -05:00
OmO Orchestrator 2af9b2173a feat(demo): rebuild the promo video with genuine structural variation
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.
2026-11-19 21:10:33 -05:00
OmO Orchestrator 7cfad5798d docs(demo): commit the visual-glitch audit evidence and gate-review report 2026-11-19 20:41:01 -05:00
OmO Orchestrator f7176520ac fix(tunnelsafety): halo map labels so connector lines never slice through text
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.
2026-11-19 20:40:57 -05:00
OmO Orchestrator a76293523a docs(demo): commit the promo video redesign gate-review report 2026-11-19 17:45:01 -05:00
OmO Orchestrator 6e60e5d89b feat(demo): redesign the OpenMotion promo video's visual treatment
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.
2026-11-19 17:44:54 -05:00
OmO Orchestrator a5f4b2f5fa docs(demo): commit OpenMotion migration evidence and gate-review reports 2026-11-19 16:35:37 -05:00
OmO Orchestrator eb43d1c5c0 feat(demo): add OpenMotion-based promo video pipeline alongside the existing ffmpeg one
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).
2026-11-19 16:35:31 -05:00
OmO Orchestrator c177d35332 chore(demo): regenerate pacing-fixed promo video evidence 2026-11-19 15:01:40 -05:00
OmO Orchestrator 38b38923e2 fix(demo): eliminate white-flash dead frames and tighten assembly-scene pacing
- 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.
2026-11-19 15:01:39 -05:00
OmO Orchestrator 363bbed193 docs: commit the demo-video-harness research session and supporting senpi artifacts 2026-11-19 13:37:24 -05:00
OmO Orchestrator 7be367303b docs: commit the per-directory AGENTS.md knowledge-base files (admin/lib/shell) 2026-11-19 13:37:24 -05:00
OmO Orchestrator cd705d20fa docs(plans): commit remaining fix-miniapp-gaps-and-demo-video checkbox state and gate-review evidence 2026-11-19 13:37:24 -05:00