Spaces:
Running
Running
Stephen Lee Claude Opus 4.8 (1M context) commited on
Commit ·
55bb211
1
Parent(s): a1b9f05
docs: add backlog and handoff notes for next session
Browse filesCaptures what shipped 2026-06-15 (UI redesign + deploy), the open submission
backlog (demo video, social post, openai-codex integrity, openbmb/tiny-titan,
source-derived-qna UI reconciliation), and handoff context.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- BACKLOG.md +64 -0
BACKLOG.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CoastWise — Backlog & Handoff
|
| 2 |
+
|
| 3 |
+
Last updated: 2026-06-15. Picks up after the UI redesign + first deploy.
|
| 4 |
+
|
| 5 |
+
## Shipped (2026-06-15)
|
| 6 |
+
|
| 7 |
+
- **UI/UX redesign** ("Ocean & Trust"): custom teal/navy Gradio theme (Lexend +
|
| 8 |
+
Source Sans 3), branded header with offline-ready badge, status-badge answer
|
| 9 |
+
cards, "How CoastWise reached this answer" disclosure, example chips, embedded
|
| 10 |
+
Ask button inside the search field, top source bar ("Sources updated … ·
|
| 11 |
+
freshness") with a compact refresh icon button, light/dark pairing, responsive
|
| 12 |
+
+ WCAG-minded contrast/focus.
|
| 13 |
+
- **Gradio 6 correctness**: theme/css applied via `launch()` (ignored on
|
| 14 |
+
`gr.Blocks` in v6); answer text uses adaptive `--body-text-color` (Gradio
|
| 15 |
+
mangles `.dark` custom selectors and `.prose *` outranks single-class colors);
|
| 16 |
+
`sdk_version: 6.18.0` pinned so the Space can't fall back to v5.
|
| 17 |
+
- **Offline-first Refresh**: bounded, concurrent fetch (≤3s) that never hangs the
|
| 18 |
+
UI, with a "Checking…" state and graceful "using last-good cache" messaging.
|
| 19 |
+
- **Freshness**: re-stamped the seed cache to 2026-06-15 (reads "current"); the
|
| 20 |
+
freshness test is now deterministic relative to the seed time.
|
| 21 |
+
- **Copy**: dropped the "CDPH cached evidence:" prefix from advisory answers.
|
| 22 |
+
- **Deployed**: GitHub `Mr-Perfection/build-small-hack` (main) and the live HF
|
| 23 |
+
Space **build-small-hackathon/coastwise** (themed UI verified live).
|
| 24 |
+
|
| 25 |
+
## Backlog (next session)
|
| 26 |
+
|
| 27 |
+
Priority order for the 2026-06-15 23:59 UTC submission:
|
| 28 |
+
|
| 29 |
+
1. **Demo video** — record the ~90s demo path; link it in the README
|
| 30 |
+
("Demo And Public Evidence").
|
| 31 |
+
2. **Social post** — create one; link it in the README.
|
| 32 |
+
3. **`openai-codex` badge integrity** — the Space history is currently
|
| 33 |
+
Claude-co-authored, **not** Codex. Either drop the `openai-codex` tag from the
|
| 34 |
+
README frontmatter, or land genuine Codex-attributed commits before claiming it.
|
| 35 |
+
4. **`openbmb` / `tiny-titan` substantiation** — on `main`, MiniCPM is
|
| 36 |
+
"disabled/mocked." The real in-process MiniCPM integration lives on the
|
| 37 |
+
unmerged `source-derived-qna` branch (see below). Decide how to substantiate
|
| 38 |
+
these awards.
|
| 39 |
+
5. **Reconcile `source-derived-qna` with the new UI** — that branch has ~10
|
| 40 |
+
unmerged commits (in-process MiniCPM interpreter, seed expanded to ~47–78
|
| 41 |
+
source-verified species + dynamic refresh, location-asked-in-question UI that
|
| 42 |
+
**drops the Beach/coastal-area field**, fuzzy place matching, the "dungeness
|
| 43 |
+
crab rules" real-values fix). It has a **different `app.py`/UI**, so merging it
|
| 44 |
+
will conflict with the redesign shipped today. Plan the merge deliberately
|
| 45 |
+
(likely: take the branch's backend/data/model work, re-apply today's UI on top).
|
| 46 |
+
|
| 47 |
+
## Handoff notes
|
| 48 |
+
|
| 49 |
+
- **Current Spec Kit plan**: `specs/002-source-backed-qna/plan.md` (+ `tasks.md`).
|
| 50 |
+
- **Live Space**: https://huggingface.co/spaces/build-small-hackathon/coastwise
|
| 51 |
+
(creating it in the org IS the submission). `stephenlee` is now an org member.
|
| 52 |
+
- **HF push**: write token is in `.env` as `HF_WRITE_TOKEN` (gitignored — never
|
| 53 |
+
commit it). Push via a git credential helper reading the env var; do not embed
|
| 54 |
+
the token in the remote URL. The `space` remote is configured (plain URL).
|
| 55 |
+
Docs-only changes go to GitHub only (avoid pointless Space rebuilds).
|
| 56 |
+
- **Tests**: `PYTHONPYCACHEPREFIX=/private/tmp/coastwise-pycache .venv/bin/python -m pytest -q`
|
| 57 |
+
→ 100 passing. `.worktrees/` is skipped by pytest (dot-dir). `docs/` is gitignored.
|
| 58 |
+
- **Stale worktree**: `.worktrees/coastwise-implement` (branch merged into main) is
|
| 59 |
+
safe to `git worktree remove`. `.worktrees/source-derived-qna` is the unmerged
|
| 60 |
+
feature branch above — keep it.
|
| 61 |
+
- **Local preview**: `GRADIO_SERVER_PORT=7860 .venv/bin/python app.py`; verify
|
| 62 |
+
rendering with headless Chrome via Playwright (`channel="chrome"`, drive
|
| 63 |
+
`?__theme=light|dark`). Playwright + huggingface_hub are installed in `.venv`
|
| 64 |
+
(dev only — not in `requirements.txt`).
|