10 Commits (473761b4af7b23aa0c91995c4d832174721ab267)

Author SHA1 Message Date
Elijah Voigt 7fda9905c8 feat(quotesdb): add admin verify endpoint, remove reset-auth-code UI
- Add GET /api/admin/verify — side-effect-free code check used by the
  admin unlock flow; registered before reset-auth-code in the router
- Remove "Reset auth code" section from admin panel (UI + dead API code);
  rotation is now CLI-only via `wrangler secret put ADMIN_AUTH_CODE`
- Add rotate-admin-code justfile recipe using pwgen for local key rotation
- Add pwgen to Nix dev shell
- Update OpenAPI spec with /api/admin/verify definition

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago
Elijah Voigt 2ede2869e9 refactor(quotesdb): move db/handlers to lib modules, upgrade worker to 0.7, update infra
- Move src/bin/api/db/ and src/bin/api/handlers/ to src/db/ and
  src/handlers/ so they compile as library modules accessible to both
  the native binary and the Cloudflare Workers entry point
- Upgrade worker crate 0.5 → 0.7; add workers-api feature flag and
  cdylib/rlib crate-type to Cargo.toml
- Update flake.nix: add worker-build and just to the dev shell; bump
  flake.lock (nixpkgs + rust-overlay)
- Consolidate rate limit rules to one (Free plan allows only 1 rule
  per zone in the http_ratelimit phase)
- Update infra/worker.tf to deploy via wrangler rather than Terraform
  (Cloudflare provider v4 can't upload ES module + wasm bundles)
- Extend .gitignore to exclude *.wasm build artifacts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago
Elijah Voigt cfcddefc80 flake and quotesdb misc change 3 months ago
Elijah Voigt 8232946b6e Merge development flakes 3 months ago
Elijah Voigt 75876988e0 claude generated openapi spec 3 months ago
Elijah Voigt ce48ffac5a build: add nbd to nix devshell
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 months ago
Elijah Voigt 8e2fdb5796 Closing tickets, adding jq 3 months ago
Elijah Voigt 3e703a1659 Initial commit 3 months ago
Elijah Voigt e9e8d33856 Add beads package 4 months ago
Elijah Voigt b980ef8ee6 chore: initial repo scaffolding
Set up mono-repo foundation with CLAUDE.md conventions, base Nix flake
(Rust + wasm32 target, Trunk, OpenTofu, wrangler, SQLx, Turso), shared
common library crate, dual Apache-2.0/MIT licenses, .gitignore, and
repo-level README.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
4 months ago