Skip to content

UTP testnet alpha: consolidated auth, DAO reader, local legislation coverage - #23

Draft
samtheloanman wants to merge 31 commits into
masterfrom
claude/utp-w2-legistar
Draft

samtheloanman wants to merge 31 commits into
masterfrom
claude/utp-w2-legistar

Conversation

@samtheloanman

Copy link
Copy Markdown
Owner

Consolidated MVP branch. Supersedes #22 (its head 23f70bf is an ancestor of this branch); #22 gets closed once checks here are green.

What is in it

  • Everything from First cycle: Supabase auth, hardened votes/proposals, verified wallet linking, sourced bills #22 plus the Codex staging work up to 785b023: Supabase auth replacing Privy, wallet-link API, DAO reader and /governance, canonical schema migrations, contract fixes.
  • 7ea594f Legistar local-government adapter (33 US cities and counties, Open Civic Data IDs), Testnet Alpha PRD and execution plan.
  • 131a6fe /legislature?local=<place>, /api/legislature?local=, /coverage.
  • 4bb8e91 Forgejo staging CI now runs on agent branches.

Verification

  • Forgejo staging PR [Jules] Create Supabase migrations #2: UTP staging / verify (push) success on 4bb8e91 (npm ci, ci:fast, next build).
  • Local on 131a6fe: ci:fast exit 0 (139 web tests, 181 contract tests), build exit 0, next start smoke of the three new routes.
  • Review: the Hermes webhook is not wired on staging, so by council decision each part was reviewed by the other model. Codex approved the Claude commits; a Claude reviewer approved the Codex part. Record is on staging PR [Jules] Create Supabase migrations #2.

Before merging

  • Draft on purpose: merging to master may trigger a Vercel production deploy to unitingthepeople.org, and the branch carries Supabase migrations that are not applied. Both are Sam's call.
  • Known gaps, not in this PR: wallet-link UI, sentiment vote from the UI (all issues are still samples), civic-proposal UI, storing ingested bills.

🤖 Generated with Claude Code

claude and others added 30 commits November 3, 2026 21:08
…ect guard

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
…am access)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
… fixtures

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
…sposable-DB tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
…proposer_id on GET

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
…the database

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SSjN64Ve8j6CJk4iVbbJJV
…erpowers-civic-auth

# Conflicts:
#	docs/testnet-readiness-2026-10-31/MERGE-AND-IMPLEMENTATION-LOOP.md
…ader port, and Server-Component governance UI
Adds a SourceAdapter for any Legistar (Granicus) Web API client, keyed by
Open Civic Data division ids. Registry seeds 33 jurisdictions (13 CA,
20 other US) that answered a live census probe on 2026-11-17; a live
smoke fetched 3 matters from each.

Also commits the MVP PRD, execution plan and Codex handoff.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wires the Legistar adapter into the app:
- getLocalLegislature(client) returns the same envelope as getLegislature
  plus the place's OCD jurisdiction; unknown places are not_integrated
  and never fetch.
- GET /api/legislature?local=<client>.
- /legislature?local=<client> shows the place name, freshness badge and
  source-linked items.
- /coverage lists the 33 integrated cities and counties by state.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The workflow only matched feat/** and chore/**, so fleet-convention
branches (<agent>/<issue>-slug) never got a staging CI run.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
utp Ready Ready Preview Nov 19, 2026 1:59am UTC

This branch was successfully deployed

1 active deployment
Preview — 4bb8e91e Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants