modified google-oauth-migration.md

This commit is contained in:
2026-10-06 18:44:22 +02:00
parent 4d80af2925
commit 187fe49c3c
+11 -3
View File
@@ -716,9 +716,17 @@ Suggested messages, matching the repo's terse existing style:
- `docs: update AGENTS.md for the Google OAuth migration`
**Restore path for `ctp_blogr.sqlite`** (established in todo 2, required before todo 6):
`<backup path from todo 2>` restores the pre-migration database, and
`git checkout -- ctp_blogr.sqlite` restores the committed version. The database diff is a real
tracked change and must be inspected before any commit.
- Branch: `feat/google-oauth`, created from `master` at `3dcb88e`. No commits, no pushes.
- Verified backup (outside the working tree):
`/var/folders/cm/x5cx1bfd749gxd1x_zt6bvp40000gn/T/opencode/ctp_blogr-backup-20261005-202240.sqlite`
— `PRAGMA integrity_check` returns `ok`.
- Restore the pre-migration database:
`cp /var/folders/cm/x5cx1bfd749gxd1x_zt6bvp40000gn/T/opencode/ctp_blogr-backup-20261005-202240.sqlite ctp_blogr.sqlite`
- Restore the committed database: `git checkout -- ctp_blogr.sqlite`
- Abort the whole migration: `git checkout master`
The database diff is a real tracked change and must be inspected before any commit.
## Success criteria
- Signing in with `phuoc@caotek.fr` yields a session whose `authenticated_userid` is that email