docs: add first-place-overhaul work plan and draft
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
This commit is contained in:
1 parent
75bfc82d19
commit
55d14508d9
3 files changed
+395
-12
No files matched your search
+14
-12
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"schema_version": 2,
|
||||
"active_work_id": "promo-video-redesign",
|
||||
"active_work_id": "first-place-overhaul",
|
||||
"works": {
|
||||
"the-commons-hollow": {
|
||||
"work_id": "the-commons-hollow",
|
||||
@@ -60,15 +60,17 @@
|
||||
"status": "completed",
|
||||
"worktree_path": null,
|
||||
"completed_at": "2026-11-19T05:30:00.000Z"
|
||||
},
|
||||
"first-place-overhaul": {
|
||||
"work_id": "first-place-overhaul",
|
||||
"active_plan": ".omo/plans/first-place-overhaul.md",
|
||||
"plan_name": "first-place-overhaul",
|
||||
"session_ids": [
|
||||
"senpi:01a1fa79-4a0d-7644-ad70-270a9557a2f9"
|
||||
],
|
||||
"status": "active",
|
||||
"worktree_path": null,
|
||||
"session_origins": {}
|
||||
}
|
||||
},
|
||||
"session_ids": [
|
||||
"senpi:01a1ef22-67d1-7464-a97c-273e1b9638cc"
|
||||
],
|
||||
"session_origins": {},
|
||||
"task_sessions": {},
|
||||
"active_plan": ".omo/plans/fix-miniapp-gaps-and-demo-video.md",
|
||||
"plan_name": "fix-miniapp-gaps-and-demo-video",
|
||||
"status": "completed",
|
||||
"worktree_path": null
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
---
|
||||
slug: first-place-overhaul
|
||||
status: awaiting-approval
|
||||
intent: unclear
|
||||
review_required: true
|
||||
plan_path: .omo/plans/first-place-overhaul.md
|
||||
plan_sha256: 8f5a677a93b5f9675555a862fd8c4f1caf01a147764d8be4716c2d6c9252f662
|
||||
review_round_id: round-mwpdi288-du95f3
|
||||
review_round_limit: 5
|
||||
round_status: approved
|
||||
pending-action: review .omo/plans/first-place-overhaul.md
|
||||
review:
|
||||
plan_reviewer:
|
||||
status: approved
|
||||
workspace_root: /home/athapa/patriothacks
|
||||
runtime_home: null
|
||||
target: .omo/plans/first-place-overhaul.md
|
||||
round_id: round-mwpdi288-du95f3
|
||||
plan_sha256: 8f5a677a93b5f9675555a862fd8c4f1caf01a147764d8be4716c2d6c9252f662
|
||||
launch_id: launch-mwpdi288-du95f3
|
||||
session: st_01a1fa6f
|
||||
result: OKAY - unconditional approval, round 1, zero blockers, zero notes. Live-plan sha256 re-validated identical to the reviewed digest immediately before handoff. No further rounds needed (bounded-convergence contract: round 1 already produced unconditional approval).
|
||||
approach: Close every remaining concrete, evidenced gap between the current THE COMMONS submission and a 1st-place-caliber one (reachability, one known security gap, video polish, docs accuracy, fresh visual QA), then produce the two requested artifacts (demo-video script + a slides-playable version of the promo video) and the final submission-form answers, prioritized so a user who runs out of wall-clock time before 11:59 PM EST still has a strictly better submission at every stopping point.
|
||||
---
|
||||
|
||||
# Draft: first-place-overhaul
|
||||
|
||||
## Affected user and ideal state
|
||||
<!-- Who this output touches -->
|
||||
- Primary: the PatriotHacks judges (Nov 21-24 async judging window) who will (a) read the 4 written-answer fields + optional live link, (b) watch the demo video, (c) possibly click a live URL or run the repo locally, (d) possibly skim the README/code.
|
||||
- Secondary: Aaron (the user), who must physically submit the form before 11:59 PM EST tonight (2026-11-20) and who executes this plan.
|
||||
- IS-1 | A judge who only watches the video and reads the 4 form answers comes away with a complete, accurate, impressive picture of the project in under ~2 minutes | video is the single highest-leverage artifact; most judges will not read all source code
|
||||
- IS-2 | A judge who clicks "the live link" (if offered) reaches a working, seeded, non-dead app within 2 clicks | a dead/expired link actively HURTS vs. not offering one at all
|
||||
- IS-3 | A judge who skims the code/README finds zero contradictions between claimed and actual behavior | README.md/DEMO.md/ECONOMY.md must be byte-accurate to current code (partially already true per earlier fixes this session)
|
||||
- IS-4 | A judge who pokes at the "trust/signed event log" claim (the project's core differentiator) cannot find a forgeable value | EDGE-CASES.md documents one still-open forgery (Assembly QV credit value)
|
||||
- IS-5 | Aaron has an unambiguous, ordered, already-drafted checklist of the few things only he can do (submit form, choose/execute deployment option, press go on anything needing his login) | he is not a developer-in-the-loop for anything scriptable
|
||||
- GAP-1 | no permanent reachable URL exists today (README.md:20-28: temp Vercel preview, admits "may already be dead") | violates IS-2 directly | closed by todo: permanent vercel --prod deploy
|
||||
- GAP-2 | a cold/empty Event Log shows "no balance yet"/"No allocation yet" everywhere until a resident manually visits /admin | violates IS-1/IS-2 (first impression) | closed by todo: auto-seed on empty log
|
||||
- GAP-3a | CRITICAL, newly reachable since the live sync relay shipped: \`wallet.transfer\` never binds \`payload.from\` to \`authorPubkey\` (src/lib/ledger.ts:163-181) - any peer can sign a transfer draining ANY known account (account ids are public, visible on every synced entry) and the relay/appendEntry happily accept and apply it (confirmed by ultrabrain's own hand-traced repro against computeBalances). This is a live fund-theft hole that a real `vercel --prod` deploy would expose to the internet the moment /api/sync goes live (vercel.json routes /api/* to serverless functions, so it deploys together with the static app). MUST fix before the deploy todo, not after. | violates IS-4 severely | closed by todo: bind transfer.from to toAccountId(authorPubkey), same pattern extractQvBallots already uses for ballots
|
||||
- GAP-3b | MEDIUM: Housing's replayed `fairnessDebt` values are never validated for finiteness at the Event-Log boundary (src/lib/housing.ts:583-594) - a synced foreign `housing.assignment` with `NaN`/`Infinity`/huge debt poisons the fairness ledger permanently (self-propagates into every future honest cycle) | violates IS-4 | closed by todo: require Number.isFinite on every fairnessDebt value in isHousingAssignmentPayload
|
||||
- GAP-3c | MEDIUM, needs a bounded-not-identity-authority fix: `wallet.issue` has no cap, so a peer can self-mint any amount, violating ECONOMY.md's own stated "only the bounded welcome credit is net issuance" invariant | violates IS-3 (docs/code contradiction) and IS-4 | closed by todo: reject any wallet.issue whose amount exceeds a generous documented MAX_SINGLE_ISSUE_AMOUNT bound (covers the concrete 1e9-self-mint exploit without touching any legitimate bounded issuance path - welcome grant/housing credit/fairdraw prize all stay well under it)
|
||||
- GAP-3-refuted | the previously-believed-open "QV credit-value forgery" (EDGE-CASES.md's own stated follow-up) is ACTUALLY ALREADY FIXED and was mis-stated as open: ultrabrain hand-traced computeQvTally (governanceEvents.ts:303-336) and confirmed vote weight is derived only from the signed-Event-Log ballot's own clamped credits, never the unsigned CRDT value. This is a stale/incorrect claim inside a COMMITTED file (EDGE-CASES.md) - itself a small docs-accuracy fix (correct the claim from "remains open" to "verified fixed", with the trace as evidence) | violates IS-3 (a judge who reads EDGE-CASES.md is told something false) | closed by todo: correct EDGE-CASES.md's claim
|
||||
- GAP-4 | README.md and DEMO.md point at two DIFFERENT videos as "the" demo; the newest (full-v6.mp4) is uncommitted; README asserts an unsourced "180s/3min limit" | violates IS-3 | closed by todo: video/docs reconciliation + commit
|
||||
- GAP-5 | the Assembly two-device clip in the promo video never received the OpenMotion decorative treatment every other beat got (promo-video-deferred-fixes.md, confirmed still open) | violates IS-1 (visual inconsistency within the flagship artifact) | closed by todo: Assembly scene decorative pass
|
||||
- GAP-6 | the current video's pacing/beat order was never checked against a researched best-practice structure (outcome-first open, named hard-technical-part, connected-impact close) | partially serves IS-1, could serve it better | closed by todo: targeted re-sequence pass (not a full redesign)
|
||||
- GAP-7 | 16 files + 2 untracked paths sit uncommitted in the working tree right now (git status, confirmed this session) | violates IS-3 for anyone who clones a fresh checkout - the submitted repo must equal the demoed app | closed by todo: incremental commit+push sweep
|
||||
- GAP-8 | no demo-video script, no slides deck, no drafted submission-form answers, no final manual-steps checklist exist yet | explicit user deliverables, directly requested | closed by todos: script doc, Marp slides deck, form-answer draft, final checklist
|
||||
|
||||
## Components (topology ledger)
|
||||
- deploy-reachability | judges can reach a live, working instance (or a deliberate, well-justified video-only path) | active | README.md:20-40 (temp Vercel, expires ~1h)
|
||||
- wallet-transfer-auth-fix | HIGH severity: a wallet.transfer can no longer move funds out of an account the signer doesn't own | active | ultrabrain lane, hand-traced exploit against src/lib/ledger.ts:163-181
|
||||
- wallet-issue-cap-fix | MEDIUM severity: a single wallet.issue event can no longer self-mint an unbounded amount | active | ultrabrain lane, src/lib/ledger.ts:157-161
|
||||
- housing-fairnessdebt-finiteness-fix | MEDIUM severity: a replayed housing.assignment can no longer poison the fairness-debt ledger with non-finite values | active | ultrabrain lane, src/lib/housing.ts:583-594
|
||||
- edge-cases-doc-correction | EDGE-CASES.md's QV-forgery "remains open" claim is corrected to "verified already fixed" (it was stale/wrong) | active | ultrabrain lane refutation with its own code trace
|
||||
- docs-accuracy-sweep | README/DEMO/ECONOMY match current code 1:1 | active | this session's own earlier fixes (population framing) as precedent
|
||||
- fresh-visual-qa | no mini-app looks half-finished to a cold judge | active | last visual QA was 2026-11-18 (F3), stale
|
||||
- video-assembly-scene-polish | the Assembly two-device clip gets the same decorative treatment as every other beat | active | promo-video-deferred-fixes.md (confirmed still outstanding by this session's own full-v6 work)
|
||||
- demo-video-script | written script artifact for the recorded video | active | explicit user ask
|
||||
- slides-deck | a PowerPoint/Marp-compatible slide-by-slide version of the promo video | active | explicit user ask ("played through like slides... powerpoint or whatever")
|
||||
- submission-form-answers | drafted text for the 4 x 200-word fields | active | explicit user ask, pasted form in request
|
||||
- final-todo-checklist | ordered list of Aaron-only manual steps | active | explicit user ask ("leave me with the last things that I need to do")
|
||||
|
||||
## Open assumptions (announced defaults)
|
||||
| assumption | adopted default | rationale | reversible? |
|
||||
| --- | --- | --- | --- |
|
||||
| No official PatriotHacks numeric judging rubric is published (librarian lane: searched patriothacks.org, GMU pages, Devpost ecosystem conventions) | Plan against the cross-hackathon consensus rubric (impact/usefulness, technical execution, originality, completion/polish, presentation - each ~15-30% informally) and the packet's own stated preference for "one well-connected solution addressing several problems" | repo-external fact, evidence-grounded default, not invented | yes - swap weighting if a real rubric surfaces |
|
||||
| Project is architecturally feature-complete (13 apps / all 15 problems, 792 passing tests, 3 completed adversarial hardening campaigns) | Do NOT add a 14th mini-app or any new flagship capability; spend every remaining hour on reachability, first-impression risk, one known security gap, and presentation | architect advisory lane, independently corroborated by direct reads of README.md's own "What this does NOT do" section and EDGE-CASES.md | yes - this is a recommendation surfaced loudly at the gate, not a silent cut |
|
||||
| Demo video length | Keep the current 89.9s cut (already well inside the ~90-120s best-practice window the librarian lane found; no confirmed hard platform limit was found anywhere in the actual pasted submission form) | librarian research; the "180-second/3-minute" limit asserted in README.md's own prose traces to NO cited source anywhere in this repo or research - treat as unverified, soften the wording rather than assert a specific unconfirmed number | yes |
|
||||
| Video submission mechanism | The pasted submission form the user supplied shows only 4 text fields (200 words each) + optional sponsor tracks - no explicit video-upload field is visible in what was pasted. Default: the video is submitted as a LINK pasted inside the technical-depth or a dedicated field (common Devpost/hackathon pattern); flag this as something Aaron should double check against the actual live form (it may have a field below what he copied) | can't be resolved by research - the user's own form is the only source, and the paste may be incomplete | yes - stated plainly as a check-this-yourself item in the final checklist, not guessed away |
|
||||
| Live-deploy auth | User-provided (logged into Vercel CLI themselves, this session) - a real `vercel --prod` deploy is now a planned, ready-to-run todo | direct user action, not a default | n/a - already decided |
|
||||
|
||||
## Findings (cited - path:lines)
|
||||
- Direct fresh visual QA (performed directly, not via the flaky subagent backend - see Decisions): seeded /admin demo fixture, then screenshotted home grid + Fair Share + Housing + Assembly + Mentor + The Climb + Sky + Tunnel Safety at both 1280px desktop and 390px mobile widths (/tmp/qa/*.png, this session). ALL PASS: legible contrast, consistent spacing/type/icon language, honest non-fabricated empty states (e.g. The Climb: "No schedule yet. Enter shafts..."), no tofu-box/broken icons, no overflow at mobile width. No new visual defects found - corroborates architect lane's "already polished" conclusion. (Narrower sample than the originally-dispatched 13-app sweep because the explore subagent backend hit a persistent 429 rate limit across 2 retries; the sample deliberately covered the structurally riskiest screens - forms, CRDT sync UI, gradient/non-standard theming.)
|
||||
- README.md:47 asserts demo video is "well under the 180-second / 3-minute limit" - grep across the entire repo + .omo/ research finds NO cited source for this number; it does not appear in the official packet text (fetched fresh earlier this session) or the user's pasted submission form. Likely an unverified assumption from an earlier session (possibly conflating with Devpost's common convention). Minor finding, not a blocker - soften the claim.
|
||||
- All markdown relative links in README.md/DEMO.md/ECONOMY.md resolve to real files on disk (checked programmatically this session) - no broken links, confirming the architect lane's finding is specifically about the two docs pointing at DIFFERENT videos (a content/framing conflict), not a broken link.
|
||||
- Hackathon judging research (librarian lane, cited sources in its full output): no universal numeric rubric exists; cross-event consensus categories are impact/usefulness, technical execution/complexity, originality, completion/polish, presentation - each roughly 15-30%; "wow factor" is usually implicit rather than a separate line item. PatriotHacks' own packet explicitly rewards "one well-connected solution addressing several problems" - exactly this project's existing structural thesis. Best demo-video structure: outcome-first open (0-8s), problem (8-25s), one complete real workflow (25-70s), the hard technical part named + evidenced (70-95s), connected-impact breadth (95-110s), memorable close (110-120s). Submit both a recorded video (primary, deterministic) AND a live link (supporting) when possible - never only a live link.
|
||||
- Architect advisory lane (full output filed in task history st_01a1fa58): verdict is polish/reliability/presentation over new features; the existing honesty-anchor chain (Water Watch corroboration -> real Fair Share CEEI re-solve) IS the flagship "wow" moment already in code/video - the risk is a judge never reaching it. Named 7 ranked moves (deploy permanence, cold-load empty-app risk, video/docs conflict, lead with cross-app integration story not the 13-tile grid, engineer video's first 30s, de-fragilize the live Assembly partition-heal demo, clean+push the working tree) and an explicit do-NOT-add list (no 14th app, no sandboxing/personhood/consensus layer, no unifying "allocator kernel" abstraction, no dark mode/Lighthouse chase) - all already-cut scope in README.md's own "does NOT do" section, confirming the cuts are deliberate and correct, not neglect.
|
||||
- ultrabrain deep adversarial pass (st_01a1fa59, COMPLETE, 11 core files read, 2.3M tokens, 52 tool calls): found 3 real NEW defects the sync relay going live made newly reachable (F1 wallet.transfer unauthenticated = HIGH/fund-theft; F2 wallet.issue unbounded self-mint = MEDIUM/invariant violation; F3 Housing fairnessDebt non-finite replay poisoning = MEDIUM), all with exact file:line + hand-traced repro + fix sketch, none overlapping EDGE-CASES.md's closed items. It also REFUTED the EDGE-CASES.md "QV credit-value forgery remains open" claim with its own code trace (computeQvTally only reads the signed-ballot's clamped credits, never the unsigned CRDT value) - that claim is stale and should be corrected in the committed file. This is now the single highest-priority finding of the whole research phase: F1 specifically means the live sync relay (which a real vercel --prod deploy would expose, since vercel.json routes /api/* to serverless functions alongside the static app) currently has a real, reachable fund-drain hole - it MUST be fixed before, not after, the permanent-deploy todo.
|
||||
- src/lib/identity.ts:40-52 - the StrictMode double-init race documented in strictmode-identity-race.md and fairdraw-wave-polish-f3-qa-results.md is ALREADY FIXED: `init()` now memoizes an in-flight promise (`inFlightInit`) so two concurrent StrictMode-effect callers await the same promise instead of racing `db.identity.add()`. No further todo needed here; this is a CLOSED item, verified fresh this session, not inherited from stale memory.
|
||||
- EDGE-CASES.md:~75 (Assembly/governance section) - explicitly confirms the QV credit-value-forgery follow-up "remains" open: `putResidentCredit` accepts any credit VALUE via the unsigned P2P CRDT; documented fix direction = move credit grants onto the signed Event Log (same pattern postQvBallot already uses for ballots).
|
||||
- `git remote -v` - origin is a self-hosted Gitea at git@git.ggrks.moe:2222/yoyoyonono/patriothacks.git (per gitea-ggrks-ssh-setup.md), matching the user's stated self-host preference; SSH push already configured and working.
|
||||
- promo-video-deferred-fixes.md - two items the user previously asked to defer: (1) "Act I/II/III" framing - SUPERSEDED this session: user just explicitly praised "the card" (the chapter-card design, which still carries the Act I/II/III labels) with no objection, so this is treated as resolved/withdrawn, not re-opened. (2) Assembly two-device scene lacks the same decorative treatment as every other beat - CONFIRMED STILL OPEN by this session's own full-v6 redesign work (explicitly left untouched, noted as out of scope at the time).
|
||||
- the-commons-decisions.md (2026-11-19 entries) - user does not want backend capability built against managed third-party cloud; self-host only; not expecting to deploy, and if deployed wants self-hosting instructions. Superseded for THIS deploy by the user's own just-taken Vercel login action (see Decisions) - he opted in to a real prod deploy for the submission specifically.
|
||||
|
||||
All 5 research lanes now closed: librarian (complete), architect (complete), ultrabrain (complete), the 2 explore lanes hit a persistent 429 on their backend after 2 retries each and were superseded by direct verification performed in this session (identity.ts read, git status, link-check script, Playwright visual sweep) - research is sufficient per the retrieval-budget rule ("stop exploring a question once collected evidence answers it"); no further exploration needed before the gate.
|
||||
|
||||
## Decisions (with rationale)
|
||||
- Permanent live deployment: RESOLVED (not an open question) - the user logged into the Vercel CLI themselves this session specifically so the plan can include a real `vercel --prod` deploy (account: aaron-thapas-projects, confirmed via `vercel project ls` showing an existing unrelated project under that account). The plan's deploy-reachability todo is therefore "run `npm run build && npx vercel --prod`, capture the stable production URL, update README.md's 'Live demo' section and DEMO.md to point at it, remove the 'may already be dead' temporary-preview framing" - not a question. This is an execution-phase todo (category: quick), never run by the planner itself.
|
||||
- Cold-load empty-app risk (surfaced independently by the architect advisory lane, corroborating DEMO.md's own "terrible first impression" admission): a judge who opens the live link cold sees "no balance yet" / "No allocation yet" everywhere unless they manually find /admin and click "Load Hollow demo." Decision: auto-seed the bundled demo fixture on first load when the Event Log is empty (same idempotent, clearly-labeled "Demo data" path already used by /admin - never silently presented as live activity), so the live link is never a judge's first bad impression. Reversible (one conditional call at shell boot).
|
||||
- Flagship video / docs conflict (independently found by direct git-status read AND the architect lane): `e2e/openmotion/renders/full-v6.mp4` is untracked, and README.md now points to it while DEMO.md's fallback section still points to a different, older video (`.omo/evidence/full-feature-demo/the-commons-hollow-full-demo.mp4`). Decision: commit full-v6.mp4 (or the latest re-render after the Assembly-scene polish todo), and make README.md + DEMO.md agree on which video is "the" demo vs. an optional longer fallback walkthrough.
|
||||
- Commit-as-you-go, not a single end-of-work commit: per explicit user instruction this turn ("rather than committing once the work is done, you should commit as you go") - the execution plan's Commit strategy mandates one commit per completed todo (git-master skill, `quick` category), pushed to the existing `origin` (git.ggrks.moe self-hosted Gitea) after each commit or each wave, never batched at the end. Matches the existing recorded preference in system/human.md.
|
||||
- No sponsor tracks exist for this event (user-confirmed this turn) - the submission form's optional sponsor-track section is correctly left unselected; this is not a gap to plan around.
|
||||
- Ordering principle: because the real-world deadline (11:59 PM EST tonight) is a hard external constraint no planning effort can move, every wave is ordered highest-leverage-first so a partial run still improves the submission monotonically; the final waves (video re-render, slides deck, form answers) are scheduled so they can be produced even if earlier polish waves get cut short.
|
||||
|
||||
## Scope IN
|
||||
Ordered by dependency + priority (security MUST precede the public deploy, everything else is independent and parallelizable):
|
||||
- Wave 0 (MUST run before Wave 1's deploy todo): GAP-3a/b/c close - fix wallet.transfer authentication, cap wallet.issue, validate Housing fairnessDebt finiteness, correct EDGE-CASES.md's stale QV claim
|
||||
- Wave 1: GAP-1 close - real `vercel --prod` deploy (only after Wave 0 lands) + README/DEMO link reconciliation; GAP-2 close - auto-seed the demo fixture on a genuinely empty Event Log at shell boot, same idempotent clearly-labeled "Demo data" path
|
||||
- Wave 2 (independent of 0/1): GAP-4 close: commit the canonical promo video (full-v6.mp4 or its post-polish successor); make README.md + DEMO.md agree on which video is "the" demo vs. an optional longer fallback walkthrough; soften the unsourced "180-second/3-minute limit" claim
|
||||
- GAP-5 close: bring the Assembly two-device clip into the same decorative treatment (gradient field, device bezel/shadow) as every other beat in the OpenMotion composition, closing the last item from promo-video-deferred-fixes.md
|
||||
- GAP-6 close: re-sequence/lightly re-cut the promo video against the researched best-practice structure (outcome-first open already roughly true; verify/tighten the "name the hard technical part" beat and the close) - NOT a full redesign, a targeted pacing/ordering pass
|
||||
- GAP-7 close: commit the current uncommitted working tree (README.md, DEMO.md, e2e/*, seedEvents.ts, wall PNGs, full-v6.mp4, this draft) incrementally per the user's commit-as-you-go instruction, pushed to origin (git.ggrks.moe)
|
||||
- Deliverable: demo-video script document (timestamped shot list matching the researched structure)
|
||||
- Deliverable: Marp-based slide deck mirroring the promo video's beats, exported to .pptx (PowerPoint-openable) + .pdf
|
||||
- Deliverable: drafted text for all 4 submission-form fields (<=200 words each), grounded in the researched templates and this project's real facts
|
||||
- Deliverable: final "last things only Aaron can do" checklist
|
||||
|
||||
## Scope OUT (Must NOT have)
|
||||
- No new mini-app / new official-problem coverage: all 15 problems are already covered by 13 mini-apps (README.md's problem-mapping table); adding a 14th app would dilute, not strengthen, the breadth story.
|
||||
- No managed third-party cloud backend (explicit standing user preference, the-commons-decisions.md 2026-11-19).
|
||||
- No reduction of any already-shipped feature to "simplify" - Must-NOT-Have guards against unrequested additions AND unrequested removals.
|
||||
|
||||
## Open questions
|
||||
- None remaining as blocking questions. The one owner-decision-shaped item (deploy distribution) is already resolved by the user's own action (Vercel login, this session). The 2-3 contrasting approach options go to the user at the gate as a CRITIQUE opportunity (cold-start + UNCLEAR stance calibration), not because any of them block drafting - see approach options below.
|
||||
|
||||
### Approach options for the gate (examples-first, cold-start + UNCLEAR stance)
|
||||
1. **RECOMMENDED - Comprehensive-but-evidenced**: close every concretely-found gap above (3 security fixes, deploy, cold-load seed, video/docs reconciliation, Assembly scene polish, video re-sequence, commit sweep) + all 4 explicit deliverables (script, slides, form answers, checklist). Nothing speculative added beyond what evidence or the user's own explicit ask surfaced.
|
||||
2. **Security-fixes-only-as-disclosure**: skip code-fixing F1/F2/F3 and instead honestly document them as known limitations in ECONOMY.md (matching its existing disclosure style), same as the project already does for Sybil resistance and offline double-spend. Faster, zero engineering risk, but ships with a live, undisclosed-until-now fund-theft hole reachable the moment the relay deploys live - NOT recommended given F1 is a clean, small, well-understood fix and the user said not to worry about time.
|
||||
3. **Maximal-plus**: everything in option 1, PLUS re-running a full fresh 6-domain adversarial campaign from scratch (not just the targeted ultrabrain pass) and building a one-command script for the live two-device Assembly partition-heal demo (currently a multi-step manual console procedure) in case a judge wants to see it live rather than via the recorded video. Most thorough, but the fresh full campaign has sharply diminishing returns (ultrabrain already re-covered the core engines and found only 3 new issues after a mature 24-break campaign), and the live-demo script is speculative polish for a path the video already covers - both cost real hours against the 11:59 PM deadline for low marginal judging impact.
|
||||
|
||||
Recommendation: **Option 1.** Option 3's two extras are each individually available as an "if time allows" stretch todo at the end of the plan rather than gating the whole plan on them.
|
||||
|
||||
## Plan Consultant gap analysis (mandatory, run after approval)
|
||||
st_01a1fa65, completed. Key findings folded into the plan: (1) F1 fix verified NEEDS NO demo-exemption (every real wallet.transfer producer already sets from=signer, traced in src/shell/walletTransfer.ts:18 and seedEvents.ts:167-176) - de-risks todo 2. (2) The "deploy exposes F1 live" urgency framing was FALSE AS STATED - vercel.json's rewrite rule doesn't by itself deploy api/ as functions, but more importantly api/'s node:sqlite + top-level vitest-importing integration-test files make including api/ in the Vercel deploy a genuine BUILD-BREAKING risk on its own, independent of F1 - RESOLVED by defaulting to a static-only deploy (excludes api/ entirely), which also moots the F1-exposure question and matches the standing self-host-only-backend preference. Did not re-ask the user (both owner-questions plan-consultant raised resolve cleanly to a strictly-better default with no real downside - UNCLEAR path says default, don't re-interrogate, when the evidence makes the right answer clear). (3) F2/F3 disclosure had no GAP row and ECONOMY.md's own existing invariant language (lines 22, 35-36) would be contradicted by the new disclosure if left unchanged - promoted to GAP-10, folded into todo 3. (4) GAP-6 (video re-sequence) rescoped from "re-cut" to "verify-first, re-cut only on a named defect" - avoids scope-inflation on an artifact the user already praised. (5) Added a Must-have for a fresh-clone green-gate check (build/test/lint on the final committed tree) - the "judge who runs it locally" affected-user path had no QA before. (6) Embedded the verbatim 4 submission-form prompts into todo 11 (executor has no interview context).
|
||||
|
||||
## Approval gate
|
||||
status: approved
|
||||
|
||||
### Final scope resolution (user's own words, this session)
|
||||
- Approach: user's own reply to the 3-option critique: "if there are functionality bugs, fix them. security doesn't matter." Classified RESOLVED_BUT_UNINFORMED on F1 specifically (its consequence - a live, public, money-moving bug under the user's own deployed identity, directly contradicting the shipped video's own integrity claim - is not generic "security hardening"); corrected in one line, then asked one informed yes/no on F1 alone.
|
||||
- F1 (wallet.transfer has no signer-to-account binding - a functional correctness bug in money movement, not hardening): user said "Yes, fix it." IN SCOPE.
|
||||
- F2 (wallet.issue unbounded self-mint) and F3 (Housing fairnessDebt non-finite replay poisoning): per the user's explicit "security doesn't matter" instruction, these are OUT OF SCOPE for a code fix. Disclose-only instead: add both as known, disclosed limitations in ECONOMY.md's existing "What this system does NOT guarantee" section (matching its established honest-disclosure style), same treatment as Scope-Option-2 would have given all three - just narrowed to only F2/F3, since F1 was pulled back in by name.
|
||||
- EDGE-CASES.md's stale "QV forgery remains open" claim: still IN SCOPE regardless (it's a functionality/accuracy bug in a committed doc, not a security hardening ask - fix the claim to match reality, with the trace as evidence).
|
||||
- Approval: "Approve" (not "skip review") - the mandatory plan-reviewer high-accuracy loop runs automatically after Plan Consultant, per the UNCLEAR path's default-on review.
|
||||
|
||||
next workflow action per pending_action_policy: write .omo/plans/first-place-overhaul.md, then Plan Consultant, then plan-reviewer to convergence.
|
||||
@@ -0,0 +1,245 @@
|
||||
# first-place-overhaul - Work Plan
|
||||
|
||||
## TL;DR (For humans)
|
||||
|
||||
**Who this is for and what changes for them:** PatriotHacks judges, and you (Aaron), submitting tonight. Judges get a submission with no dead links, no self-contradicting documentation, and no forgeable money-movement in its signature-based trust story; you get a ready-to-paste checklist for everything only you can do.
|
||||
|
||||
**What you'll get:** one real money-movement bug fixed (anyone could currently forge a transfer draining an account they don't own - this is closed); a permanent live link that works the moment a judge opens it instead of a dead temporary preview; every doc (README, DEMO, ECONOMY, EDGE-CASES) telling the same true story as the code; the Assembly scene in the promo video getting the same visual polish as the rest of it; a written demo-video script; a PowerPoint/PDF slide deck that mirrors the video, clickable slide by slide; drafted text for all 4 submission-form answers; and a final numbered checklist of only the things you personally have to do before clicking submit.
|
||||
|
||||
**Why this approach:** the project is already feature-complete (13 apps, all 15 official problems, a mature test suite, three earlier hardening passes) - independent research converged on "polish and reachability win more points than a new feature would," so this plan closes concrete, evidenced gaps rather than building anything new. The one code fix (the forgeable transfer) stays in because you called it a functionality bug, not security theater - and it was. The live deploy ships the static app only (no backend) because that matches how you already run this project and avoids a real risk of the deploy breaking outright.
|
||||
|
||||
**What it will NOT do:** no 14th mini-app or new capability; no managed cloud backend; no code fix for two lower-stakes issues you said not to bother with (documented honestly instead); no full video re-edit unless a real problem turns up in it.
|
||||
|
||||
**Effort:** Large
|
||||
**Risk:** Low - every step either edits docs, mirrors an existing in-repo pattern, or uses a toolchain already proven working this session; the one real code change has a named, traced, zero-ambiguity fix.
|
||||
**Decisions I made for you:** ship the live deploy as static-only (frontend only, no backend) rather than ask you - it's strictly safer and matches how you already run this project, with no real downside; keep the video's existing structure unless an actual problem is found in it, rather than re-editing it on spec.
|
||||
|
||||
Your next move: approve, or ask for the high-accuracy review first (it runs automatically either way, since this was an open-ended request). Full execution detail follows below.
|
||||
|
||||
---
|
||||
|
||||
> TL;DR (machine): Large effort, Low risk, 12 todos + 4 final-verification tasks delivering 1 security fix, 1 permanent deploy, 4 doc corrections, 2 video-pipeline fixes, and 4 requested deliverables (script, slides, form answers, checklist).
|
||||
|
||||
## Scope
|
||||
### Affected user and ideal state
|
||||
**Affected user:** PatriotHacks judges (Nov 21-24 async judging window) reading the 4 submission-form answers, watching the demo video, and possibly clicking a live link or skimming the repo/code - and Aaron (the user), who must submit the form before 11:59 PM EST tonight (2026-11-20) and who is not a developer-in-the-loop for anything scriptable.
|
||||
|
||||
| Row | Statement | Reason |
|
||||
| --- | --- | --- |
|
||||
| IS-1 | A judge who only watches the video and reads the 4 form answers comes away with a complete, accurate, impressive picture in under ~2 minutes | video is the single highest-leverage artifact; most judges will not read all source code |
|
||||
| IS-2 | A judge who clicks the live link reaches a working, seeded, non-dead app within 2 clicks | a dead/expired link actively hurts vs. not offering one |
|
||||
| IS-3 | A judge who skims the code/README finds zero contradictions between claimed and actual behavior | every doc must be byte-accurate to current code and to each other |
|
||||
| IS-4 | A judge (or anyone) who pokes at the "signed event log, nothing is forgeable" claim - the project's core differentiator and the one functional bug class the user asked to still fix - cannot drain funds from an account they don't own | wallet.transfer currently has no signer-to-account binding; this is a functional correctness bug in money-movement logic (the ledger debits the wrong account on replay), not optional hardening - worth fixing on its own merits regardless of which deploy topology ships (see GAP-1's static-only resolution below, which independently removes any live-relay exposure from THIS deploy) |
|
||||
| IS-5 | Aaron has an unambiguous, ordered, already-drafted checklist of the few things only he can do | he is not a developer-in-the-loop for anything scriptable |
|
||||
| GAP-1 | No permanent reachable URL exists today (README.md's "Live demo" section: temp Vercel preview, admits "may already be dead") | violates IS-2 directly |
|
||||
| GAP-2 | A cold/empty Event Log shows "no balance yet"/"No allocation yet" everywhere until a resident manually visits /admin | violates IS-1/IS-2 (first impression) |
|
||||
| GAP-3 | `wallet.transfer` (src/lib/ledger.ts:163-181) never checks that `payload.from` belongs to `authorPubkey` - any signed transfer drains the named `from` account regardless of who signed it | violates IS-4 directly - a correctness bug independent of deployment topology |
|
||||
| GAP-4 | README.md and DEMO.md point at two DIFFERENT videos as "the" demo; the newest (full-v6.mp4) is uncommitted; README asserts an unsourced "180s/3-minute limit" | violates IS-3 |
|
||||
| GAP-5 | The Assembly two-device clip in the promo video never received the same decorative treatment (gradient field, device bezel/shadow) as every other beat | violates IS-1 (visual inconsistency in the flagship artifact) |
|
||||
| GAP-6 | The video's beat pacing/order was never verified against the researched best-practice structure (outcome-first open, named hard-technical-part beat, connected-impact close) | partially serves IS-1; verify first, re-cut only if a concrete defect is found (plan-consultant: the video is already 89.9s and the user already praised its chapter-card design - a mandatory re-edit without a named defect is scope-inflation risk) |
|
||||
| GAP-7 | 16 modified files + 2 untracked paths sit uncommitted in the working tree right now | violates IS-3 - the submitted/cloned repo must equal the demoed app |
|
||||
| GAP-8 | EDGE-CASES.md (a committed file) falsely claims the Assembly QV credit-value forgery "remains" open; it is actually already fixed | violates IS-3 - a committed doc tells a judge something false |
|
||||
| GAP-9 | No demo-video script, no slides deck, no drafted submission-form answers, no final manual-steps checklist exist yet | explicit user deliverables |
|
||||
| GAP-10 | ECONOMY.md's "does NOT guarantee" section will disclose F2 (wallet.issue unbounded self-mint) and F3 (Housing fairnessDebt poisoning) as known limitations per the user's "security doesn't matter" instruction - but ECONOMY.md:22 ("This is the ONLY deliberate net issuance") and :35-36 ("The only net issuance is the bounded welcome credit... a stated, stable invariant") currently assert the OPPOSITE as settled fact, which the new F2 disclosure would directly contradict if left unchanged (plan-consultant finding) | violates IS-3 - an internally self-contradicting doc is worse than an undisclosed gap |
|
||||
|
||||
### Must have
|
||||
- Fix GAP-1 through GAP-10 exactly as scoped above, in dependency order (the one real code fix, F1/GAP-3, lands before the public deploy as good practice, independent of the deploy's now-static-only topology).
|
||||
- Every doc (README.md, DEMO.md, ECONOMY.md, EDGE-CASES.md) reconciled to current code and to each other, including ECONOMY.md's own internal consistency (GAP-10).
|
||||
- All 4 requested deliverables produced as real files/text, not placeholders.
|
||||
- Every commit lands incrementally (one per completed todo), pushed to the existing self-hosted `origin` (git.ggrks.moe) - never batched at the end.
|
||||
- A fresh clone of the final committed tree passes `npm run build && npm run test && npx oxlint` green (plan-consultant finding: "the judge who runs it locally" is a named affected-user path with no prior QA check).
|
||||
|
||||
### Must NOT have (guardrails, anti-slop, scope boundaries)
|
||||
- No new mini-app / new official-problem coverage: all 15 problems are already covered by 13 mini-apps; adding a 14th would dilute, not strengthen, the breadth story.
|
||||
- No managed third-party cloud backend (standing user preference). The Vercel deploy ships the STATIC FRONTEND ONLY (api/* excluded - see todo 6's resolved default); this both matches the self-host-only backend preference and sidesteps a real build-breaking risk plan-consultant found (api/'s node:sqlite usage and top-level vitest-importing integration-test files are not compatible with Vercel's serverless convention as-is).
|
||||
- No code fix for F2 (wallet.issue unbounded self-mint) or F3 (Housing fairnessDebt non-finite replay poisoning) - per the user's explicit instruction ("security doesn't matter"), these are disclose-only (GAP-10): documented as known limitations in ECONOMY.md's existing "does NOT guarantee" section, matching its established style, WITH its own pre-existing "only net issuance" claim corrected so it no longer contradicts the new disclosure. F1 (wallet.transfer) is explicitly carved back IN by the user as a functionality bug, not hardening - do not conflate the two, and do not add a `demoFixture`-style exemption to the F1 fix (plan-consultant verified, by reading every real wallet.transfer producer in src/, that none of them need one).
|
||||
- No re-running a full adversarial campaign from scratch (Scope-Option-3, explicitly not chosen) and no scripting of a one-command live two-device Assembly demo (same) - both are "if time allows" stretch ideas, never required for completion.
|
||||
- No mandatory video re-cut without a concretely-named defect (GAP-6 is verify-first, not re-cut-by-default).
|
||||
- No reduction of any already-shipped feature "to simplify."
|
||||
|
||||
## Verification strategy
|
||||
> Zero human intervention - all verification is agent-executed.
|
||||
- Test decision: tests-after for the one real code change (todo 2's wallet.transfer fix - a regression test accompanies the fix in the same todo, framework: Vitest, existing src/lib/ledger.test.ts); none for every other todo (doc edits, video/slides rendering, text drafting) - those are verified by direct inspection/tooling (grep, ffprobe, hyperframes lint, curl, Playwright screenshot) rather than a test framework, since there is no new application logic to unit-test.
|
||||
- No ulw-loop goal is active for this plan (this was a plain ulw-plan session, not a goal loop) - evidence path is `.omo/evidence/first-place-overhaul/task-<N>-first-place-overhaul.<ext>` for every todo (not the agentToolkit/goalId path, which only applies inside an active ulw-loop goal).
|
||||
- Every todo's QA scenario names the exact tool/command to run and the exact evidence file it produces; the Final verification wave (F1-F4) re-runs the full gate (`npm run test`, `npm run build`, `npx oxlint`) once at the end regardless of per-todo evidence, to catch any cross-todo regression.
|
||||
|
||||
## Execution strategy
|
||||
### Parallel execution waves
|
||||
> Size each wave to the todos that are independent of each other.
|
||||
- **Wave 0** (todo 1): commit the pre-existing session work first - every later todo wants a clean baseline to diff/commit against.
|
||||
- **Wave 0b** (todos 2, 3, 4 - parallel): the three doc/code corrections that only depend on Wave 0's clean baseline, independent of each other.
|
||||
- **Wave 1** (todos 5, then 6): todo 5 (auto-seed) can start as soon as Wave 0 lands; todo 6 (the real deploy) is explicitly blocked by BOTH todo 2 (security fix must ship first) and todo 5 (so the live deploy is never cold).
|
||||
- **Wave 2** (todos 7, 8 - parallel): the Assembly video polish and the demo-video script are independent of each other and of Wave 1.
|
||||
- **Wave 3** (todo 9): the re-sequence/final-render/commit pass needs BOTH todo 7 (decorative fix) and todo 8 (the script defining the target structure) landed first, so the video is rebuilt exactly once, not twice.
|
||||
- **Wave 4** (todos 10, 11 - parallel): the slides deck needs todo 9's final video/content; the submission-form answers do not strictly need it and can start as soon as Wave 0 lands, but are scheduled here to pick up the freshest test-count/fact citations.
|
||||
- **Wave 5** (todo 12, LAST): the final Aaron-only checklist needs every URL/artifact (todos 6, 9, 10, 11) to exist first.
|
||||
- If wall-clock time runs out before a later wave, the submission is still strictly better at every wave boundary than before it (Wave 0b alone closes the live fund-theft + 2 stale-doc gaps; Wave 1 alone adds a working permanent deploy; everything after is additive polish/deliverables).
|
||||
|
||||
### Dependency matrix
|
||||
| Todo | Depends on | Blocks | Can parallelize with |
|
||||
| --- | --- | --- | --- |
|
||||
| 1 | none | 2,3,4,5,6,7,8,9 | none (runs first, alone) |
|
||||
| 2 | 1 | 6 | 3, 4 |
|
||||
| 3 | 1 | none | 2, 4 |
|
||||
| 4 | 1 | none | 2, 3 |
|
||||
| 5 | 1 | 6 (partial - see todo 6) | 2, 3, 4 |
|
||||
| 6 | 2, 5 | 12 | 3, 4, 7, 8 |
|
||||
| 7 | 1 | 9 | 8 |
|
||||
| 8 | none | 9 | 7, 1-6 |
|
||||
| 9 | 7, 8 | 10, 12 | 11 |
|
||||
| 10 | 9 | 12 | 11 |
|
||||
| 11 | none | 12 | 9, 10 |
|
||||
| 12 | 6, 9, 10, 11 | none | none (runs last, alone) |
|
||||
|
||||
## Todos
|
||||
> Implementation + Test = ONE todo. Never separate.
|
||||
<!-- APPEND TASK BATCHES BELOW THIS LINE WITH edit/apply_patch - never rewrite the headers above. -->
|
||||
- [ ] 1. Commit the pre-existing uncommitted working tree in scoped atomic commits
|
||||
What to do: `git status --short` currently shows 16 modified files + 2 untracked paths (README.md, DEMO.md, e2e/demoVideoFull.e2e.mjs, e2e/openmotion/{buildComposition.mjs,tour.mjs,compositions/promo.html,assets/wall/*.png}, src/admin/seedEvents.ts, e2e/openmotion/renders/full-v6.mp4, .omo/drafts/first-place-overhaul.md) - all genuine completed work from earlier this session (the "population 4,200" scenario-scale fix + the ledger-panel video redesign), none of it committed yet. Group into logically-scoped commits using the git-master skill: (a) docs/scenario-scale fix (README.md, DEMO.md, src/admin/seedEvents.ts, e2e/demoVideoFull.e2e.mjs, e2e/openmotion/tour.mjs - the "one shelter, not the whole Hollow" population-framing correction), (b) the openmotion ledger-panel video redesign (e2e/openmotion/buildComposition.mjs, compositions/promo.html, assets/wall/*.png, renders/full-v6.mp4), (c) this plan's own draft/plan files under .omo/. Must NOT: squash unrelated changes into one commit; must NOT revert or alter any of this content - it is already-reviewed, working output from earlier this session.
|
||||
Closes: GAP-7
|
||||
Parallelization: Wave 0 | Blocked by: none | Blocks: 2,3,4,5,6,7,8,9 (every later todo wants a clean, committed baseline to diff against)
|
||||
References (executor has NO interview context - be exhaustive): repo root for `git status --short`/`git add -p`/`git log --oneline -5`; git-master skill for commit message conventions; origin remote already configured at git@git.ggrks.moe:2222/yoyoyonono/patriothacks.git (confirmed working SSH this session).
|
||||
Acceptance criteria (agent-executable): `git status --short` returns empty (clean tree) after the commits; `git log --oneline -5` shows the new scoped commits; `git push origin master` (or current branch) succeeds (exit 0).
|
||||
QA scenarios: happy - run `git status --short` post-commit, assert empty string, evidence saved to .omo/evidence/first-place-overhaul/task-1-first-place-overhaul.txt; failure - attempt to push with a deliberately stale local ref first to confirm the push error surfaces clearly rather than silently failing (then fetch/rebase and push for real), evidence in same file.
|
||||
Commit: Y | multiple, see execution log | chore(repo): commit pending docs/video-redesign work in scoped commits
|
||||
Recommended task executor category: quick - mechanical git hygiene, git-master skill covers the exact mechanics, zero remaining judgment calls
|
||||
|
||||
- [ ] 2. Fix wallet.transfer to bind payload.from to the signer's own account id
|
||||
What to do: in src/lib/ledger.ts's computeBalances (the isTransferPayload branch, currently lines 163-181), before applying a transfer, drop/ignore it unless `entry.payload.from === toAccountId(entry.authorPubkey)` - import toAccountId from ../shell/accountId.ts (already imported the same way by src/lib/governanceEvents.ts's extractQvBallots at governanceEvents.ts:140-143, which does the exact same signer-binding check for ballots: `toAccountId(entry.authorPubkey) === payload.voterId`). A rejected transfer must land in the same `rejected`/ignored bucket computeBalances already uses for other invalid entries (follow the existing pattern for e.g. a NaN/overdraft transfer at ledger.ts, do not invent a new rejection channel). Plan Consultant VERIFIED this fix needs NO demo-fixture exemption, by reading every real wallet.transfer producer in src/: src/shell/walletTransfer.ts:18 sets `from = toAccountId(await getPublicKey())` (the signer IS always the sender, by its own doc comment); src/admin/seedEvents.ts:167-176's buildDemoWalletPayloads sets `from: agent` where `agent` IS the demo-loading identity's own account id, appended via the local-signing `append()`; the communal `hollow-commons-fund` account is only ever a transfer DESTINATION (`to`), never a `from` - no code path anywhere pays FROM a fund the signer doesn't own. Add a regression test confirming the demo fixture's own transfer still applies correctly post-fix (not just that forged ones are rejected) - do not merely assume it from this note. Must NOT touch wallet.issue (todo covered separately, scoped out of code-fix per user decision) or any other payload type's validation.
|
||||
Closes: GAP-3 (F1)
|
||||
Parallelization: Wave 0 | Blocked by: 1 | Blocks: 6 (the public deploy must not ship before this lands) | Can parallelize with: 3,4
|
||||
References: src/lib/ledger.ts (isTransferPayload guard + computeBalances's transfer branch), src/lib/governanceEvents.ts:140-143 (extractQvBallots - the exact pattern to copy), src/shell/accountId.ts (toAccountId), src/lib/ledger.test.ts (existing transfer tests - note they currently use `from:"A"` with an unrelated authorPubkey, which is what let this slip through; these tests must be updated to reflect the new binding, not deleted), src/admin/seedEvents.ts (buildDemoWalletPayloads, to confirm the demo fixture still works).
|
||||
Acceptance criteria (agent-executable): a new regression test in ledger.test.ts asserts that `computeBalances([issue to victim by author 1, transfer from:victim to:attacker signed by author 2])` leaves victim's balance UNCHANGED (the forged transfer lands in rejected/is ignored, never applied) - this exact scenario (mirroring ultrabrain's hand-traced repro) must go from failing to passing; `npm run test` and `npm run build` both exit 0 afterward with no regression in the existing ~792-test baseline.
|
||||
QA scenarios: happy - run the new regression test directly (`npx vitest run src/lib/ledger.test.ts`), assert PASS, evidence .omo/evidence/first-place-overhaul/task-2-first-place-overhaul.txt (full vitest output); failure - seed the Hollow demo fixture through the real /admin UI in a real browser (Playwright, chromium at /home/athapa/.cache/ms-playwright/chromium-1255/chrome-linux64/chrome) and confirm the wallet still shows the expected 50 -> issue -> -10 transfer -> 40 flow exactly as before (no regression in the legitimate path), screenshot evidence in the same evidence dir.
|
||||
Commit: Y | fix(ledger): reject wallet.transfer not signed by the from-account's own key
|
||||
Recommended task executor category: deep-low - correctness fix with real replay-semantics reasoning (what "reject" means for an already-committed entry on replay), but the exact pattern to copy and the exact file are both named, so the worker can settle it from what it reads
|
||||
|
||||
- [ ] 3. Disclose wallet.issue unbounded self-mint and Housing fairnessDebt poisoning as known limitations, and reconcile ECONOMY.md's own contradicted invariant claim (no code fix, per explicit user instruction)
|
||||
What to do: add two new bullets to ECONOMY.md's existing "## What this system does NOT guarantee (disclosed honestly)" section (starts at ECONOMY.md:73, existing bullets include "Personhood / Sybil resistance" at :74 and "Offline double-spend" at :80 - match their exact prose style: plain statement of the gap, why it exists, what bounds the damage if anything). Bullet 1 (wallet.issue): a peer can sign an arbitrary-amount wallet.issue to their own account; nothing authenticates "issuer" identity the way extractQvBallots authenticates voter identity, so the stated "only the bounded welcome credit is net issuance" invariant is not code-enforced today - disclosed as a known limitation, not fixed, per an explicit scope decision (do not claim it will be fixed later). Bullet 2 (Housing fairnessDebt): a synced housing.assignment event's fairnessDebt values are not validated for finiteness at the replay boundary, so a malformed/malicious synced event could poison the fairness ledger for future cycles - disclosed as a known limitation. THEN (plan-consultant finding, GAP-10): ECONOMY.md:22 ("This is the ONLY deliberate net issuance") and ECONOMY.md:35-36 ("The only net issuance is the bounded welcome credit, so at steady state Sigma(balances) = residents x welcome - a stated, stable invariant, not unbounded inflation") currently assert this as SETTLED FACT - directly contradicted by the new wallet.issue disclosure above. Soften both to something like "by design, the only INTENDED net issuance is the bounded welcome credit (see the disclosed limitation below: this is not yet code-enforced against a peer self-issuing an arbitrary amount)" - do not delete the aspirational/design statement, just stop asserting it as already-guaranteed fact. Must NOT modify any code path, only ECONOMY.md's prose - this todo is documentation-only by explicit user instruction.
|
||||
Closes: GAP-10
|
||||
Parallelization: Wave 0 | Blocked by: 1 | Can parallelize with: 2,4
|
||||
References: ECONOMY.md:22, ECONOMY.md:35-36, ECONOMY.md:73-90 (the exact sections + exact existing bullet prose style to match), src/lib/ledger.ts:157-161 (isIssuePayload branch, for an accurate one-line technical description), src/lib/housing.ts:583-594 (isHousingAssignmentPayload, same).
|
||||
Acceptance criteria (agent-executable): ECONOMY.md contains two new bullets under the "does NOT guarantee" heading, each naming the specific file/mechanism and the concrete risk in one paragraph, matching the existing bullets' tone; ECONOMY.md:22 and :35-36 no longer assert the invariant as unconditionally-already-true, now cross-referencing the disclosed limitation.
|
||||
QA scenarios: happy - `grep -c "wallet.issue\|fairnessDebt" ECONOMY.md` returns >=2 after the edit, evidence .omo/evidence/first-place-overhaul/task-3-first-place-overhaul.txt; failure (prevented) - re-read ECONOMY.md's lines 1-90 in full after editing and confirm no sentence anywhere still asserts the now-contradicted invariant as settled fact, evidence as a note in the same file.
|
||||
Commit: Y | docs(economy): disclose wallet.issue and Housing fairnessDebt as known limitations; reconcile the contradicted issuance-invariant claim
|
||||
Recommended task executor category: writing - pure prose addition/softening matching an established style, zero code risk
|
||||
|
||||
- [ ] 4. Correct EDGE-CASES.md's stale "QV credit-value forgery remains open" claim
|
||||
What to do: EDGE-CASES.md:79's sentence "Follow-up (off-limits root): putResidentCredit accepts any credit value via unsigned P2P CRDT — single-row value forgery remains; real fix = move credit grants onto the signed Event Log." is FALSE as written - this session's ultrabrain adversarial pass hand-traced computeQvTally (src/lib/governanceEvents.ts:303-336) and confirmed vote weight is derived ONLY from the signed Event Log's own clamped ballot credits (via extractQvBallots), never the unsigned CRDT `.credits` field, which is used solely as a membership marker. Rewrite that sentence to state the item is VERIFIED ALREADY FIXED, with a one-line trace citing governanceEvents.ts:303-336/313/323, and note the residual (still-real, still-disclosed-elsewhere) gap is Sybil/self-enrollment buying one extra vote at the clamped honest weight (ECONOMY.md's Personhood bullet already covers this - do not duplicate, just cross-reference it). Must NOT alter any other row/claim in EDGE-CASES.md - this is a single-sentence correction.
|
||||
Closes: GAP-8
|
||||
Parallelization: Wave 0 | Blocked by: 1 | Can parallelize with: 2,3
|
||||
References: EDGE-CASES.md:79 (exact sentence to replace), src/lib/governanceEvents.ts:290-336 (extractQvBallots + computeQvTally, the trace to cite), ECONOMY.md's Personhood/Sybil bullet (cross-reference target).
|
||||
Acceptance criteria (agent-executable): EDGE-CASES.md no longer contains the word "remains" in that sentence; it instead states the item is verified fixed with a file:line citation.
|
||||
QA scenarios: happy - `grep -n "credit.*forgery\|single-row value forgery" EDGE-CASES.md` shows the corrected text, evidence .omo/evidence/first-place-overhaul/task-4-first-place-overhaul.txt; failure (prevented) - `git diff --stat` confirms only EDGE-CASES.md changed.
|
||||
Commit: Y | docs(edge-cases): correct the stale QV credit-forgery claim - verified already fixed
|
||||
Recommended task executor category: quick - single-sentence factual correction with the exact replacement text and citation already specified
|
||||
|
||||
- [ ] 5. Auto-seed the Hollow demo fixture on a genuinely empty Event Log at shell boot
|
||||
What to do: extract the full body of AdminSeedPanel.tsx's `handleLoadDemo` (lines ~92-..., ends before the next function - read the whole function first) into a new exported async function (e.g. `loadHollowDemoFixture(assemblyDbName?: string): Promise<void>` in a new src/admin/loadHollowDemo.ts, or inline in seedEvents.ts if that fits better - executor's call, but it must be a single shared function, not copy-pasted logic) that does NOT touch React state (no setDemoStatus/setDemoLoading calls - those stay in AdminSeedPanel's thin wrapper which now just calls the extracted function and sets its own UI state around it). Call this same function from src/shell/ShellLayout.tsx's existing useEffect (ShellLayout.tsx:27-33, which already runs trySyncWithBackend() once on mount) - BEFORE calling it, check `hasDemoFixtureBeenLoaded(await readAll())` (same idempotency marker /admin already uses) and only call the seeding function when the Event Log is genuinely empty of the marker; never call it unconditionally, never call it a second time, never present it as anything other than the same clearly-labeled "Demo data" the /admin panel already discloses (do NOT remove or weaken the "Demo data" badge/disclaimer anywhere in AdminSeedPanel.tsx). Must NOT change AdminSeedPanel's own UI/behavior/tests beyond calling the extracted function instead of inlining the logic - all of AdminSeedPanel.test.tsx's existing assertions must still pass unchanged.
|
||||
Closes: GAP-2
|
||||
Parallelization: Wave 1 | Blocked by: 1 | Can parallelize with: 2,3,4,6(partially - see todo 6's own Blocked-by)
|
||||
References: src/admin/AdminSeedPanel.tsx (handleLoadDemo, the function to extract, currently lines 92 onward), src/shell/ShellLayout.tsx:22-34 (the useEffect to extend), src/admin/seedEvents.ts (hasDemoFixtureBeenLoaded, DEMO_FIXTURE_MARKER), src/lib/eventlog.ts (readAll), src/admin/AdminSeedPanel.test.tsx (existing tests that must keep passing), src/shell/ShellLayout.test.tsx if one exists (check `ls src/shell/*.test.tsx`) - add a new test there for the auto-seed behavior if none exists yet.
|
||||
Acceptance criteria (agent-executable): a fresh IndexedDB (fake-indexeddb in test, or a genuinely new browser profile in a real-browser check) that mounts ShellLayout/HomePage ends up with `hasDemoFixtureBeenLoaded(await readAll())` true and a non-"--"/non-zero wallet balance WITHOUT visiting /admin; a SECOND mount (simulating a reload) does not duplicate any seed.* events (idempotent, same guarantee /admin already has).
|
||||
QA scenarios: happy - real-browser Playwright test: clear IndexedDB (new context), navigate to `/` (not /admin), wait for wallet balance to leave "--", assert it is non-zero and the 13-tile grid shows populated tiles (e.g. Fair Share allocation non-"No allocation yet"), screenshot evidence .omo/evidence/first-place-overhaul/task-5-first-place-overhaul-cold-load.png; failure - reload the same profile a second time, assert `readAll()`'s seed.population count is still exactly 1 (no duplicate), evidence in the same dir as a JSON dump of entry counts by type.
|
||||
Commit: Y | feat(shell): auto-seed the Hollow demo fixture on a genuinely empty Event Log
|
||||
Recommended task executor category: unspecified-high - a real shared-code extraction touching two call sites (admin panel + shell boot) with an idempotency/test-preservation constraint, not a single mechanical edit
|
||||
|
||||
- [ ] 6. Ship a permanent, STATIC-ONLY production deployment and update the Live-demo link
|
||||
What to do: plan-consultant found that `api/`'s serverless functions are NOT safely deployable as-is (api/_lib/eventRelayStore.ts uses node:sqlite writing to a filesystem path under cwd - Vercel's serverless filesystem is read-only outside `/tmp`, and `/tmp` is per-instance/ephemeral; worse, api/sync.integration.test.ts, api/blob.integration.test.ts, api/admin.integration.test.ts sit at the TOP LEVEL of api/, where Vercel's zero-config convention treats every top-level api/*.ts as a function - these import vitest and would either break the whole build or ship as broken routes). RESOLVED DEFAULT (not asked as a question - matches the user's standing self-host-only-backend preference and carries no downside since the app is explicitly local-first): deploy STATIC-ONLY. Exclude the entire api/ directory from this Vercel deployment - either via a `functions` override in vercel.json set to `{}` plus a `.vercelignore` entry for `api/`, or simplest: temporarily `git mv api .api-excluded` is NOT acceptable (must not touch the committed api/ directory's location/contents) - use vercel.json/.vercelignore exclusion only, verified by checking the Vercel build/deploy log shows zero functions deployed. Then run `npm run build` followed by `npx vercel --prod` (Vercel CLI is already authenticated this session as account aaron-thapas-projects - do NOT attempt `vercel login` again). Capture the resulting stable production URL (not a preview URL - confirm no random preview hash, the account's canonical production domain for this project). Update README.md's "## Live demo" section (currently lines ~20-38) to state the real permanent URL and remove the "may already be dead"/"planned separately" language entirely. Note explicitly in README (one line) that the live deploy is the static frontend only - the self-hosted sync/blob/admin backend (api/) remains a separate, self-hosted-only component per standing project convention, not part of this public URL. Must NOT deploy before todo 2 lands (good practice/correctness ordering, not a live-exposure emergency now that this deploy excludes api/ entirely).
|
||||
Closes: GAP-1
|
||||
Parallelization: Wave 1 | Blocked by: 2, 5 (ships only once both the security fix and the cold-load auto-seed are in, so a judge's very first click is both correct and populated) | Can parallelize with: 3,4
|
||||
References: README.md:20-38 ("## Live demo" section, exact prose to replace), vercel.json (current SPA rewrite rule - ADD a `functions` override or create `.vercelignore`, do not remove the existing rewrite), package.json's "build" script (`tsc -b && vite build`), api/ directory (the 3 top-level *.integration.test.ts files + _lib/eventRelayStore.ts's node:sqlite usage - the exact incompatibility plan-consultant identified), the-commons-decisions.md's 2026-11-19 self-host-only-backend entry (the preference this default matches).
|
||||
Acceptance criteria (agent-executable): `curl -sI <the-new-url>` returns HTTP 200; the URL is NOT the prior temporary `agile-citrine-45o1qv9.tmp.now` string; README.md no longer contains the words "may already be dead" or "planned separately" in the Live-demo section; the Vercel deploy log shows zero serverless functions deployed (confirming the static-only exclusion worked, not merely assumed).
|
||||
QA scenarios: happy - `curl -sI <url>` capturing the 200 status + headers to .omo/evidence/first-place-overhaul/task-6-first-place-overhaul-curl.txt, then a real-browser Playwright visit to `<url>/` confirming the home grid renders with a populated (non "--") wallet (proves todo 5 shipped together correctly on the live deploy) and that `trySyncWithBackend()` failing against the now-absent `/api/sync` is a silent no-op (no visible error toast/crash), screenshot evidence in the same dir; failure - visit `<url>/admin` and confirm "Load Hollow demo" still correctly reports "already loaded" (idempotency holds on the fresh prod deploy after the auto-seed already ran).
|
||||
Commit: Y | build(vercel): deploy the static frontend only, exclude api/; docs(readme): point Live-demo at the permanent production URL
|
||||
Recommended task executor category: quick - the deploy command, exclusion mechanism, and doc edit are all fully specified; the only judgment is confirming the build log shows the exclusion took effect, which is a report-back, not a decision
|
||||
|
||||
- [ ] 7. Bring the Assembly two-device clip into the OpenMotion composition's decorative treatment
|
||||
What to do: in e2e/openmotion/buildComposition.mjs, the Assembly segment currently renders as a bare full-bleed video with zero decorative chrome: the markup `const asmEl = \`<video class="assembly" ... ></video>\`` and CSS `.assembly { position:absolute; inset:0; ...; object-fit:cover; ... }` - contrast every other beat (stage segments), which sit on a per-act gradient .field background with device bezel/shadow framing, or the data/wall sections' own padded, bordered decorative treatment. Give the Assembly clip the SAME visual family: a gradient field background (reuse or add a new COLORS entry, e.g. a plum/indigo blend consistent with the Epilogue's field just before it in the timeline), inset the video inside a padded, bordered/shadowed frame (not full-bleed edge-to-edge) so it reads as "the same video" as the rest, and add a short caption/eyebrow (GSAP-driven fade-in, matching the existing .st-eyebrow/.ledger-head pattern established elsewhere in this file, NOT a native CSS @keyframes animation - this file's whole timeline is one paused GSAP timeline scrubbed frame-by-frame for deterministic rendering, see this session's own ledger-panel work for the exact pattern to copy) naming the beat, e.g. "Two devices. One signed log. A real network partition, and a real heal." Must NOT touch the underlying assembly.mp4 asset itself (that is a separately-captured two-device scene, out of scope) or any other segment's styling.
|
||||
Closes: GAP-5
|
||||
Parallelization: Wave 2 | Blocked by: 1 | Blocks: 9 | Can parallelize with: 8
|
||||
References: e2e/openmotion/buildComposition.mjs (asmEl markup + .assembly CSS class + the COLORS object + the GSAP script's "ASSEMBLY (full canvas)" section - all in this one file), this session's own ledger-panel redesign in the same file (the .ledger-panel/.entry CSS + the GSAP "Live blinking cursor, driven by the same paused timeline" comment) as the exact precedent for "animate via the GSAP timeline, never CSS @keyframes".
|
||||
Acceptance criteria (agent-executable): `bun e2e/openmotion/buildComposition.mjs` runs clean; `hyperframes lint .` (from e2e/openmotion/, with the HYPERFRAMES_* env vars documented at the top of buildComposition.mjs) returns 0 errors; a `hyperframes snapshot` at a timestamp inside the assembly segment visually shows a gradient field + framed/padded video + caption, not a full-bleed bare clip.
|
||||
QA scenarios: happy - `hyperframes snapshot . --at <assembly-segment-start+1> -o /tmp/qa-assembly` then read the PNG and visually confirm gradient field + frame + caption are present, evidence copied to .omo/evidence/first-place-overhaul/task-7-first-place-overhaul-assembly.png; failure - re-run `hyperframes lint .` and confirm 0 errors (same 6 pre-existing nested_media_start_basis_ambiguous warnings are acceptable, no NEW errors), evidence in the same dir as lint output.
|
||||
Commit: Y | feat(promo-video): give the Assembly two-device clip the same decorative treatment as every other beat
|
||||
Recommended task executor category: visual-engineering - motion-graphics/CSS composition work with a concrete existing pattern to copy
|
||||
|
||||
- [ ] 8. Write the demo-video script document
|
||||
What to do: create docs/DEMO-VIDEO-SCRIPT.md (new file) - a timestamped shot list for the promo video, structured per this session's own hackathon-judging research: 0:00-0:08 outcome-first open (show a real number moving, e.g. the data-open segment's "4,200" counter + resource bars - already exists), 0:08-0:25 problem statement (the Act I chapter card + its signed-event-log panel beats), 0:25-1:10 one complete real workflow (the Water Watch -> Fair Share honesty-anchor chain specifically - name it as the single most important beat), 1:10-1:35 the hard technical part named + evidenced (the signed Event Log / Ed25519 signature verification - point at the Epilogue's wallet-signature beat), 1:35-1:50 connected-impact breadth (the result wall of 13 real screenshots), 1:50-end memorable close (the "THE COMMONS" lockup). For each beat: exact timestamp range in the CURRENT full-v6.mp4 (or its post-todo-7/9 successor - note both), what is on screen, the one-sentence caption/narration point, and which mini-app/mechanism it proves. This script is also the reference the re-sequence pass (todo 9) checks itself against.
|
||||
Closes: part of GAP-9 (deliverable)
|
||||
Parallelization: Wave 2 | Blocked by: none | Blocks: 9 (its structure guides the re-sequence pass) | Can parallelize with: 7
|
||||
References: this session's hackathon-judging research synthesis (librarian lane output, filed in this session's task history st_01a1fa57) for the exact beat-timing structure; e2e/openmotion/buildComposition.mjs's TITLE_CARDS import from tour.mjs for the real chapter-card copy to quote; DEMO.md's "honesty-anchor chain" section for the exact Water Watch -> Fair Share beat description already written and verified accurate.
|
||||
Acceptance criteria (agent-executable): docs/DEMO-VIDEO-SCRIPT.md exists, has one row/section per beat with a timestamp range, on-screen description, and caption text, totaling a runtime consistent with the actual video's duration (within +/-5s).
|
||||
QA scenarios: happy - `test -f docs/DEMO-VIDEO-SCRIPT.md` plus a line count / section count check (>=6 beats), evidence .omo/evidence/first-place-overhaul/task-8-first-place-overhaul.md (copy of the file); failure (prevented) - cross-check every quoted caption string against the actual TITLE_CARDS/chapter copy in tour.mjs via grep, so the script never quotes dialogue the video doesn't actually say.
|
||||
Commit: Y | docs: add the demo-video script (docs/DEMO-VIDEO-SCRIPT.md)
|
||||
Recommended task executor category: writing - a structured document grounded in already-gathered research and existing video copy
|
||||
|
||||
- [ ] 9. Re-sequence the promo video's pacing against the script, commit the final render, and reconcile the remaining doc claims
|
||||
What to do: STEP 1 (verify, per plan-consultant's scope-inflation-risk finding - GAP-6 is verify-first, NOT re-cut-by-default): using docs/DEMO-VIDEO-SCRIPT.md (todo 8) as the target structure, watch/inspect the CURRENT video (post-todo-7's Assembly fix) beat by beat and check whether it already roughly matches the researched best-practice shape (outcome-first open, problem, one complete workflow, named hard-technical-part, connected-impact, memorable close - all within +/-10s of the script's suggested ranges). If YES: make NO pacing/ordering changes, record "verified, matches best-practice structure, no re-cut needed" with the beat-by-beat comparison as evidence, and skip straight to re-rendering ONLY to pick up todo 7's Assembly fix (rebuild + render to a new renders/full-v7.mp4, do not re-edit buildTimeline() at all). If NO (a concrete beat is out of order or a beat is missing/badly paced): make ONLY the minimal targeted buildTimeline() adjustment needed to fix that specific named defect - this is explicitly NOT a full redesign (Scope-Option-3's "full re-cut" was not chosen). Either way: rebuild (`bun e2e/openmotion/buildComposition.mjs`) and render (`hyperframes render` per the exact command documented at the top of buildComposition.mjs) to a new renders/full-v7.mp4 (or the next unused version number). Commit the new render (do NOT delete full-v6.mp4 or any earlier version - they are git-tracked history). Update README.md's "## Demo video" section to point at the new canonical file and reconcile the duration claim; soften README.md's unsourced "well under the 180-second / 3-minute limit" phrase (no confirmed source exists anywhere in the official packet or the user's own pasted submission form - replace with something like "well within a short hackathon demo window" that doesn't assert an unverified specific number).
|
||||
Closes: GAP-4, GAP-6
|
||||
Parallelization: Wave 3 | Blocked by: 7, 8 | Can parallelize with: 10(no - 10 depends on this), 11
|
||||
References: e2e/openmotion/buildComposition.mjs (buildTimeline(), the exact render command block at the top of the file documented this session), docs/DEMO-VIDEO-SCRIPT.md (todo 8's output, the target structure), README.md:41-58 ("## Demo video" section, current full-v6.mp4 reference + the "180-second" phrase to soften).
|
||||
Acceptance criteria (agent-executable): the new render's total duration (ffprobe) matches docs/DEMO-VIDEO-SCRIPT.md's stated runtime within +/-5s; `git log --oneline` shows the new render committed; README.md no longer asserts an unsourced specific second-count limit.
|
||||
QA scenarios: happy - `ffprobe -v error -show_entries format=duration` on the new render, compare to the script doc, evidence .omo/evidence/first-place-overhaul/task-9-first-place-overhaul-ffprobe.txt; failure - `hyperframes lint .` 0 errors on the rebuilt composition before committing (never commit a render that fails lint), evidence in the same dir.
|
||||
Commit: Y | feat(promo-video): re-sequence pacing to match the demo-video script, commit the new render
|
||||
Recommended task executor category: visual-engineering - video composition/render work requiring the hyperframes toolchain this session already exercised successfully
|
||||
|
||||
- [ ] 10. Build a Marp-based slides deck mirroring the promo video, exported to .pptx and .pdf
|
||||
What to do: install/use `@marp-team/marp-cli` (via `npx @marp-team/marp-cli`, no persistent install needed) to build a Marp markdown deck at docs/promo-slides.md, one slide per beat from docs/DEMO-VIDEO-SCRIPT.md (todo 8/9's final structure): the data-open stats slide (4,200/power/water/food/cooling numbers, pulled from src/admin/seedEvents.ts's HOLLOW_DEMO_FIXTURE so they can never drift from the real demo data), one slide per chapter card (Act I/II/III/Epilogue titles + taglines, quoted verbatim from tour.mjs's TITLE_CARDS), one slide per signed-event-log panel's real payload example (quoted verbatim from buildComposition.mjs's ledger entries, e.g. the waterwatch.reading.report/fairshare.contribution examples), a slide reproducing the result-wall's 13 app screenshots (use the existing PNGs in e2e/openmotion/assets/wall/), and a closing "THE COMMONS" slide. Render with `npx @marp-team/marp-cli docs/promo-slides.md --pptx -o docs/promo-slides.pptx` and `... --pdf -o docs/promo-slides.pdf` (both openable in PowerPoint/Keynote/Google Slides - .pptx natively, .pdf as a universal fallback). This deck is explicitly a SLIDE-ADVANCE-ABLE stand-in for the video (per the user's own request: "played through like slides... powerpoint or whatever"), not a new creative redesign - mirror the video's actual beats and copy, do not invent new content.
|
||||
Closes: part of GAP-9 (deliverable)
|
||||
Parallelization: Wave 4 | Blocked by: 9 | Can parallelize with: 11
|
||||
References: docs/DEMO-VIDEO-SCRIPT.md (todo 8, the beat structure), src/admin/seedEvents.ts's HOLLOW_DEMO_FIXTURE (the real numbers), e2e/openmotion/tour.mjs's TITLE_CARDS (the real chapter copy), e2e/openmotion/buildComposition.mjs (the ledger entry examples per act, written this session), e2e/openmotion/assets/wall/*.png (the 13 result-wall screenshots), Marp CLI docs (bundled README/help via `npx @marp-team/marp-cli --help`) for the exact pptx/pdf export flags.
|
||||
Acceptance criteria (agent-executable): docs/promo-slides.pptx and docs/promo-slides.pdf both exist and are non-empty valid files (`file docs/promo-slides.pptx` reports a valid OOXML/zip container; `file docs/promo-slides.pdf` reports valid PDF); the deck has one slide per beat in docs/DEMO-VIDEO-SCRIPT.md (same count, +/-1 for a title/closing slide).
|
||||
QA scenarios: happy - `file docs/promo-slides.pptx docs/promo-slides.pdf` output captured, plus a screenshot of each slide via `npx @marp-team/marp-cli docs/promo-slides.md --images png -o /tmp/marp-slides/` and a visual read of a few slides to confirm the real numbers/copy appear correctly (not placeholder text), evidence .omo/evidence/first-place-overhaul/task-10-first-place-overhaul/; failure - deliberately check that no slide shows a number that doesn't match HOLLOW_DEMO_FIXTURE (grep cross-check), evidence in the same dir.
|
||||
Commit: Y | feat(docs): add a Marp slides deck mirroring the promo video (pptx+pdf)
|
||||
Recommended task executor category: visual-engineering - a new rendering pipeline (Marp) producing a visual artifact, grounded in already-written real content
|
||||
|
||||
- [ ] 11. Draft the 4 submission-form answers
|
||||
What to do: create docs/SUBMISSION-ANSWERS.md with 4 sections, each <=200 words, matching the exact 4 fields the user pasted this session (verbatim prompts, for an executor with no interview context): Field 1 - "Explain it directly, but with as much detail as possible. Explain your project without technical depth, and include how it impacts people." (0/200 words). Field 2 - "Explain the product in technical depth. How did you build it, what is it built with, tech stack, etc." (0/200 words). Field 3 - "Explain your thought process." (0/200 words). Field 4 - "If you worked solo, feel free to write N/A" (0/200 words). There is also an optional "Sponsor tracks" section - leave unselected (user confirmed this session: none exist for this event). (1) plain-language impact, following the researched template (who/pain/failure-of-alternatives/what-changes/evidence/connected-benefit), grounded in the real Hollow/underground-shelter scenario and the real honesty-anchor chain; (2) "Explain the product in technical depth... tech stack" - architecture in plain language, the hardest engineering constraint (the F1 fix is a GREAT concrete example: "every claim is a signed event, and we found and closed a gap where a transfer wasn't bound to its signer" - a credible, specific technical-depth signal), the key design decision (CEEI/local-first/one signed event log), working scope, test evidence (cite the real passing-test count from a fresh `npm run test` run at the time of writing, not a stale number), known limitation (cite the disclosed F2/F3 items from todo 3, honestly); (3) "Explain your thought process" - the researched decision-story template (initial observation, hypothesis, a real pivot/prioritization the project actually made - e.g. merging 3 problem pairs into one mechanism per README's own problem-mapping table - why the final scope fits a weekend build, next step); (4) "If you worked solo... N/A" - this project was built solo (confirm against the pasted team roster: "1 / 4 members... Aaron Thapa - Owner - You") - write "N/A" plus one honest sentence about AI-assisted development (the hackathon's own rules explicitly welcome AI tools), not a generic disclaimer. Must NOT exceed 200 words per field (count and report the exact word count for each). Must NOT invent impact numbers/user testimonials - every claim must trace to something real in the repo.
|
||||
Closes: part of GAP-9 (deliverable)
|
||||
Parallelization: Wave 4 | Blocked by: none (can run fully parallel with 9/10, informed by but not strictly dependent on the final video) | Can parallelize with: 10
|
||||
References: the pasted submission form in the user's own request this message (field labels + word limits, verbatim); this session's hackathon-judging research (librarian lane, task history st_01a1fa57) for the exact answer templates; README.md's problem-to-mini-app mapping table (the "merged pairs" evidence for the thought-process field); the final `npm run test` pass count at time of writing (re-run it fresh, do not reuse a number from earlier in this plan).
|
||||
Acceptance criteria (agent-executable): docs/SUBMISSION-ANSWERS.md has exactly 4 labeled sections; a word-count check (e.g. `wc -w` on each section's extracted text) confirms every section is <=200 words.
|
||||
QA scenarios: happy - word-count script output per section, evidence .omo/evidence/first-place-overhaul/task-11-first-place-overhaul-wordcounts.txt; failure - grep every factual claim in the draft (test count, "all 15 problems", "solo") against its real source (package.json/test output/README/team roster) and flag any unsupported claim before finalizing, evidence in the same dir.
|
||||
Commit: Y | docs: draft the 4 submission-form answers (docs/SUBMISSION-ANSWERS.md)
|
||||
Recommended task executor category: writing - structured persuasive copy grounded in real, already-gathered facts
|
||||
|
||||
- [ ] 12. Write the final "last things only Aaron can do" checklist
|
||||
What to do: create docs/FINAL-CHECKLIST.md (or append to this plan's own TL;DR, executor's call) listing, in order: (1) open the real PatriotHacks submission portal and verify whether a separate video-upload/video-link field exists beyond the 4 text fields pasted this session (this could not be verified from the pasted text alone - explicitly flagged as an open assumption in this plan's draft); (2) paste the drafted answers from docs/SUBMISSION-ANSWERS.md into the 4 form fields; (3) attach/link the final video (todo 9's render) - if the portal needs a hosted link rather than a file upload, upload it to a host of Aaron's choice (YouTube unlisted, Google Drive, etc. - his call, not scriptable); (4) confirm the project link field (if one exists on the real portal) points at the new permanent URL from todo 6; (5) confirm "Sponsor tracks" stays unselected (already confirmed by Aaron this session - none exist for this event); (6) do one final personal watch-through of the video end to end as a human sanity check; (7) click Submit before 11:59 PM EST tonight (2026-11-20).
|
||||
Closes: GAP-9 (deliverable) / IS-5
|
||||
Parallelization: Wave 5 (LAST) | Blocked by: 6, 9, 10, 11 (needs every other artifact/URL finalized first)
|
||||
References: the user's own pasted submission-form text (this session's request); docs/SUBMISSION-ANSWERS.md (todo 11), the permanent URL from todo 6, the final video from todo 9, the slides deck from todo 10.
|
||||
Acceptance criteria (agent-executable): docs/FINAL-CHECKLIST.md exists with exactly 7 ordered, Aaron-actionable items, each referencing a concrete artifact/URL produced by an earlier todo (no vague "finish up" items).
|
||||
QA scenarios: happy - `test -f docs/FINAL-CHECKLIST.md` + a line-count check for 7 numbered items, evidence .omo/evidence/first-place-overhaul/task-12-first-place-overhaul.md; failure (prevented) - cross-check every item against an actual artifact path/URL produced earlier in this plan (no checklist item may reference something that doesn't exist yet at this point in the dependency graph).
|
||||
Commit: Y | docs: add the final submission checklist (docs/FINAL-CHECKLIST.md)
|
||||
Recommended task executor category: quick - a short, fully-specified document assembled from already-produced artifacts
|
||||
|
||||
## Final verification wave
|
||||
> Runs in parallel after ALL todos. ALL must APPROVE. Surface results and wait for the user's explicit okay before declaring complete.
|
||||
- [ ] F1. Plan compliance audit
|
||||
Scope: re-read every todo's "Must NOT do" clause against the actual diff (e.g. todo 2 touched ONLY ledger.ts + its test; todo 3 touched ONLY ECONOMY.md; todo 6 excluded api/ from the deploy, did not delete/move it) and confirm no Scope-OUT item (no 14th mini-app, no managed cloud backend, no F2/F3 code fix, no speculative full video re-cut without a named defect) was added.
|
||||
Recommended task executor category: unspecified-high
|
||||
- [ ] F2. Code quality review
|
||||
Scope: the one real code change (todo 2's ledger.ts fix) read for correctness, naming, and consistency with the existing codebase's conventions (typed errors over bare throws, the AGENTS.md anti-patterns for src/lib); confirm the new regression test is a genuine behavioral assertion, not a prose/source-grep pin (programming skill's test-authoring gate).
|
||||
Recommended task executor category: deep-low
|
||||
- [ ] F3. Real manual QA
|
||||
Scope: a fresh real-browser Playwright pass (not a re-read of earlier evidence) hitting the live production URL cold (new profile, no prior IndexedDB) and confirming: home grid loads populated within 2 navigations with zero manual /admin visit; the legitimate demo wallet.transfer still applies; attempting to replay a forged transfer (author key 2 signing a transfer from account 1) via a small throwaway script against the live app's IndexedDB/eventlog module is rejected; the docs/promo-slides.pptx opens cleanly in a check (e.g. via `unzip -l` confirming valid OOXML structure, or an actual office-compatible viewer if available).
|
||||
Recommended task executor category: deep-low
|
||||
- [ ] F4. Ideal-state fidelity
|
||||
Scope: check the delivered behavior against every IS-1..IS-5 row 1:1 (not just that its todo ran) - per the Success criteria table below; any IS row that does not actually hold after all todos land becomes a NEW `- [ ] N.` todo appended to this plan, never a note.
|
||||
Recommended task executor category: unspecified-high
|
||||
|
||||
## Commit strategy
|
||||
Per the user's explicit instruction this session ("rather than committing once the work is done, you should commit as you go"): every todo above ends with its own commit(s) immediately on completion - never a single end-of-plan batch commit. Use the git-master skill for exact mechanics (atomic, scoped diffs; conventional-commit-style messages as drafted in each todo's "Commit:" line). Push to the existing origin (`git@git.ggrks.moe:2222/yoyoyonono/patriothacks.git`, self-hosted Gitea, SSH already configured and working) after each commit or at minimum after each wave completes - never held back to the end. Todo 1 specifically must land as multiple scoped commits (see its own description), not one.
|
||||
|
||||
Commit sequence (12 todos, in dependency order): 1 (multi-commit baseline) -> 2,3,4 (3 commits, any order) -> 5 -> 6 -> 7,8 (2 commits, any order) -> 9 -> 10,11 (2 commits, any order) -> 12. Expect roughly 15-20 total commits by the end.
|
||||
|
||||
## Success criteria
|
||||
> One row per IS row. The plan is complete only when every IS row has a delivering todo and a proving QA scenario; F4 checks the delivered behavior against these rows 1:1, and a shortfall becomes new `- [ ] N.` rows, never a note.
|
||||
| IS | Delivering todo(s) | Proving QA scenario | Evidence |
|
||||
| --- | --- | --- | --- |
|
||||
| IS-1 | 5, 7, 8, 9, 10 | cold-load Playwright screenshot (todo 5); hyperframes snapshot of the decorated Assembly beat (todo 7); the script doc's beat-by-beat structure (todo 8); ffprobe duration match to the script (todo 9); slide-count/content match to the script (todo 10) | task-5/7/8/9/10-first-place-overhaul.* |
|
||||
| IS-2 | 5, 6 | real-browser visit to the live production URL showing a populated (non-"--") wallet with zero manual steps (todo 6's QA, which depends on todo 5 shipping) | task-5-first-place-overhaul-cold-load.png, task-6-first-place-overhaul-curl.txt |
|
||||
| IS-3 | 1, 4, 6, 9 | clean `git status`, EDGE-CASES.md correction, README Live-demo section no longer containing "may already be dead", README/DEMO video reconciliation | task-1/4/6/9-first-place-overhaul.* |
|
||||
| IS-4 | 2 | the new ledger.test.ts regression test (forged transfer rejected) going from failing to passing, plus the real-browser legitimate-transfer-still-works check | task-2-first-place-overhaul.txt |
|
||||
| IS-5 | 12 | docs/FINAL-CHECKLIST.md's 7 ordered items, each citing a concrete artifact from an earlier todo | task-12-first-place-overhaul.md |
|
||||
Reference in new issue
Block a user