Sovereign relationship platform • acmedevUS/bahalaka • Cloudflare Pages
Build a mobile-first app for cross-cultural support relationships (Philippines focus) where every message, transaction, promise, and agreement is permanent, cryptographically signed, and tamper-proof.
Replace trust-on-faith with trust-by-math. Forward-only communication, transparent finances, structured agreements, GPS-verified status — so both parties have an immutable shared record that neither can alter.
Currently: a single-page proposal website live at bahalaka.com on Cloudflare Pages. The proposal defines the full product — chat, status, schedule, finance, agreements, concern detection, stories. The app itself (C/WASM + vanilla JS + Capacitor) is planned but not yet built.
| Path | What |
|---|---|
| index.html | Main proposal website — 1,497 lines, single-file vanilla HTML/CSS/JS. Five tabs: Proposal, Roadmap, Activity, Dev Artifacts, Release Notes. Comment system built in (localStorage). |
| site/index.html | Older version of the site (1,381 lines) — appears to be pre-nav-dropdown. |
| deploy.json | Cloudflare Pages config: static deploy, no auth gate. |
| be/ | Be folder — boards, plans, builds, tests, ships, retros, telemetry. |
| be/board.md | 17 boards. Board 1 done. Boards 2–4 cancelled. Board 5 ready. Boards 6–17 blocked. |
| be/plans/ | 18 plan/estimate/inspect artifacts. |
| Layer | Technology |
|---|---|
| Website (current) | Vanilla HTML/CSS/JS — single file, no frameworks, no build tools |
| Hosting | Cloudflare Pages — custom domain bahalaka.com |
| App (planned) | C → WASM via Emscripten + vanilla JS UI |
| Native shell | Capacitor (iOS + Android) |
| Security engine | NOUS C SDK (wire.c, crypt.c, journal.c, store.c, policy.c, reason.c) |
| Transport | WebSocket (RFC 6455) via NTRP0001 wire protocol |
| Backend | NOUS relay servers (3 regions) + prime atom verb handlers |
| Auth | Ed25519 key pairs + TOTP — no email/phone/password |
| Storage | IDBFS (IndexedDB via Emscripten) on client, encrypted blobs on server |
The proposal is comprehensive — every feature is defined with clear rules, forward-only semantics, and cryptographic enforcement. The agreement template system (3-part: Her Ask + His Declaration + His Structure) is unusually well-thought-out for a proposal stage.
Pure vanilla HTML/CSS/JS for the website. The planned app follows the same pattern: C compiled to WASM, no React/Vue/Angular. Consistent with Joey's "roll your own" philosophy.
Plan v2 correctly routes everything through atom verb handlers on prime, not HTTP endpoints. Single channel pattern (from NOUS Desktop). SDK vendored from kastil, not rebuilt.
208 remaining points across 13 boards. Features span: WASM compilation, WebSocket transport, registration, chat (text + photo + voice), GPS status, scheduling, financial engine, sponsorships, agreements with mismatch detection, concern detection, stories, and native app builds. This is a full product.
The site/ folder contains an older 1,381-line index.html that appears to be a pre-refactor copy. If deploy is root-level, this file isn't served but adds dead weight to the repo.
The proposal site has a built-in comment system with replies, edit, and threading. Currently localStorage-backed. Board 17 includes a migration item to move comments to NOUS triple storage.
| Board | Name | Pts | Status |
|---|---|---|---|
| 1 | Deploy to Cloudflare Pages | 21 | Done |
| 2–4 | Auth Infrastructure + UI + Comments | 58 | Cancelled |
| 5 | SDK Vendor + WASM Core + App Structure | 21 | Ready |
| 6 | WASM Storage + Auth + Config | 16 | Blocked |
| 7 | Server Infra | 18 | Blocked |
| 8 | Registration + Pairing | 13 | Blocked |
| 9 | Chat Core | 18 | Blocked |
| 10 | Chat Features | 16 | Blocked |
| 11 | Status + Schedule | 21 | Blocked |
| 12 | Finance Core | 18 | Blocked |
| 13 | Sponsorships | 16 | Blocked |
| 14 | Agreements | 18 | Blocked |
| 15 | Concern Detection | 18 | Blocked |
| 16 | Stories + Onboarding | 13 | Blocked |
| 17 | Ship | 20 | Blocked |
Next up: Board 5 — vendor NOUS C modules, create app/ folder structure, set up Emscripten Makefile, compile wire.c + crypt.c to WASM, build bahalaka.js relay client bridge.
site/index.html still needed? If the root index.html is the live version, site/ could be removed.