Repository navigation
chore: sync latest dev into epic #1671 - #1700
neuromechanist merged 4 commits into
Conversation
NEMAR has no password sign-in any more. POST /auth/signup and POST /auth/retrieve-key answer 410 with a sentence naming nemar auth login, nemar auth retrieve-key is a hidden stub that does the same, and the bcrypt service and bcryptjs are removed. Mail, pages and hints that named retrieve-key now name nemar auth login. regenerate-key tells people to use login -k and exits non-zero on failure. Migration 0093 sets every stored users.password_hash to NULL. The column stays, nullable and classified secret. API keys, /auth/login, email verification, emailed key regeneration and the device flow are untouched. ADR 0095 records the decision and amends ADR 0047.
|
Independent review record (2026-10-09): the contract review found no remaining ADR or branch-ancestry issue; the latest Validation: full backend suite (6,183 passed, 0 failed; 138,999 expectations), root auth/ADR suite (79 passed), focused migration/tier-email suite (15 passed), typecheck, lint, Biome on changed tests, and local real-D1 migration replay (96 migrations; schema catalog matches bun:sqlite). No live D1 migration or deployment was run. |
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1700Version: 🤖 Updated on each push. |
41188e9
into
feature/issue-1671-epic-bru-upload-fixes
Syncs the current
origin/devsnapshot (6271fa79, including the CI-owned0.10.16-dev4bump and password-sign-in retirement) into epic #1671 while preserving the epic's ADR numbering: upload-save remains ADR 0094, stable manifest URLs ADR 0095, admin search/edit ADR 0096, and password retirement is ADR 0097. Cross-references now point to the correct decisions.Adds migration 0094 to close the migration-first password-hash window. It installs a replay-safe guard for the prior Worker's pending, unverified CLI-signup insert before clearing any hash written between migrations 0093 and 0094. No live D1 migration or deployment was run.
Validation passed: backend
bun test(6,183 passed, 0 failed; 138,999 expectations), root auth/ADR tests (79 passed; 263 expectations), focused migration/tier-email tests (15 passed; 60 expectations),bun run typecheck,bun run lint, Biome on changed test files,bun run migrations:d1-check(96 migrations; D1 catalog matches bun:sqlite), andgit diff --check.Three independent reviewers found and resolved the migration-first write gap, ADR cross-reference collision, test fixture break, and replay-safety gap. Final reviews found no remaining actionable findings. This PR updates the epic branch only; epic-to-dev finalization remains deferred.