Estimate — Auth Update for bahalaka.com
Board Overview
| Board | Name | Items | Points |
| 2 | Auth Infrastructure — Wire + Functions | 4 | 16 |
| 3 | Auth UI — Login + Session + Comment Guard | 4 | 18 |
| 4 | Comment Backend — Server-Side Writes + Test | 4 | 16 |
Total: 12 items, 50 pts across 3 boards.
Board 2 — Auth Infrastructure (16 pts)
| Item | Command | Pts |
| {wire.js + nous.js, add to, site/js} | ~a | 3 |
| {wrangler.toml, add to, project root} | ~a | 3 |
| {wire proxy function, add to, functions/api} | ~a | 5 |
| {NOUS_PSK secret, add to, Cloudflare Pages} | ~a | 5 |
Board 3 — Auth UI (18 pts)
| Item | Command | Pts |
| {login.html + auth-gate.css, add to, site} | ~a | 5 |
| {login-gate.js, add to, site/js} | ~a | 5 |
| {session timer + auth nav, update with, site/index.html} | ~u | 5 |
| {deploy.json, update with, auth config} | ~u | 3 |
Board 4 — Comment Backend (16 pts)
| Item | Command | Pts |
| {comments proxy function, add to, functions/api} | ~a | 5 |
| {comment engine, update with, session-aware posting + editing} | ~u | 5 |
| {Firestore security rules, update with, server-write-only} | ~u | 3 |
| {auth + comments end-to-end, plan tests for, bahalaka.com} | ~t | 3 |
Dependencies
Board 2 → Board 3 → Board 4 (linear). Auth infra must exist before UI can use it. UI must exist before comment backend can integrate with sessions.
Value Rationale
Board 2 first: unblocks everything — wire protocol and proxy are the foundation. Board 3 next: gives users the login experience. Board 4 last: hardens the comment system with server-side writes.