Title: pkgs/id: stale runtime .identity.db databases tracked in git (4 + 22 local identity rows); successor .identity.redb not gitignored · Issue #372 · developing-today/code · GitHub
Open Graph Title: pkgs/id: stale runtime .identity.db databases tracked in git (4 + 22 local identity rows); successor .identity.redb not gitignored · Issue #372 · developing-today/code
X Title: pkgs/id: stale runtime .identity.db databases tracked in git (4 + 22 local identity rows); successor .identity.redb not gitignored · Issue #372 · developing-today/code
Description: Problem Two stale runtime identity databases are tracked in git: pkgs/id/.identity.db — SQLite 3 database, identities table with 4 rows pkgs/id/e2e/.identity.db — SQLite 3 database, identities table with 22 rows Evidence (verified on mai...
Open Graph Description: Problem Two stale runtime identity databases are tracked in git: pkgs/id/.identity.db — SQLite 3 database, identities table with 4 rows pkgs/id/e2e/.identity.db — SQLite 3 database, identities tabl...
X Description: Problem Two stale runtime identity databases are tracked in git: pkgs/id/.identity.db — SQLite 3 database, identities table with 4 rows pkgs/id/e2e/.identity.db — SQLite 3 database, identities tabl...
Opengraph URL: https://github.com/developing-today/code/issues/372
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pkgs/id: stale runtime .identity.db databases tracked in git (4 + 22 local identity rows); successor .identity.redb not gitignored","articleBody":"## Problem\n\nTwo stale runtime identity databases are tracked in git:\n\n- `pkgs/id/.identity.db` — SQLite 3 database, `identities` table with 4 rows\n- `pkgs/id/e2e/.identity.db` — SQLite 3 database, `identities` table with 22 rows\n\n## Evidence (verified on main `a00dd292`)\n\n- `git ls-files -s pkgs/id/.identity.db pkgs/id/e2e/.identity.db` — both tracked as regular files.\n- Schema is runtime state, not a fixture: `identities(client_id TEXT, name TEXT, created_at INTEGER, updated_at INTEGER)` — locally registered identities accumulated by running the server.\n- No current code reads either file. `git grep -F \".identity.db\"` finds only a design ledger (`thoughts/ledgers/CONTINUITY_ses_2b82.md`) describing the old libsql design: \"Store in encrypted Turso/libsql DB (`.identity.db` next to `.iroh-key`)\".\n- The current code uses a different filename: `pkgs/id/src/commands/serve.rs:1098` constructs `.identity.redb` (`Path::new(KEY_FILE).with_file_name(\".identity.redb\")`).\n- The e2e suite does not use it as a seed/fixture: no reference in `pkgs/id/e2e/` (Playwright config starts ephemeral servers: `../target/debug/id serve --web --ephemeral`).\n- Nothing ignores the pattern: `pkgs/id/.gitignore` contains only `.iroh*` and `test.*`; `git check-ignore pkgs/id/.identity.db` returns nothing. The neighbouring runtime key material is ignored via `.iroh*`, but the identity DB escapes that pattern — and the current `.identity.redb` runtime file is not ignored either, so it is one accidental `git add -A` away from the same problem.\n- History: the files arrived in bulk April commits (`c0a30175` \"idk stuff from april\").\n\nThis is the same class as #367 (`.opencode/` runtime state) and #370 (`.claude/settings.local.json`), but a distinct location those issues do not cover. Single-repo: no `.identity.db` is tracked in developing-today/opencode, developing-today/openchamber, or dezren39/nix (checked `git ls-files` in all three).\n\n## Why it matters\n\n- Local identity registrations (names/client IDs and timestamps from whoever ran the server) leak into the shared repo and go stale immediately.\n- A stale DB checked out fresh can be mistaken for a seed/fixture, and if the old libsql path is ever revived it would silently load April's identities.\n- The un-ignored `.identity.redb` successor is the live version of the same hazard.\n\n## Acceptance criteria\n\n- [ ] `git ls-files pkgs/id/.identity.db pkgs/id/e2e/.identity.db` is empty (both untracked).\n- [ ] `git check-ignore` matches `.identity.db` and `.identity.redb` under `pkgs/id/` (including the `e2e/` subdirectory) so neither runtime DB can be re-committed.\n- [ ] No code, test, or e2e configuration references either tracked file (already verified — please re-check before removing).\n- [ ] Local copies may stay on disk for whoever uses them; this is an untrack + gitignore change only, like #370 / #473.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-19T23:44:47Z","url":"https://github.com/developing-today/code/issues/372"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:365b0a87-146e-b4ac-87f0-5e2e40803a8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9980:1A09C8:6718E6:85F39E:6B06259F |
| html-safe-nonce | 13ebd11f2beb48974ca0cffa702e42a4d9dd4eeff5b27a399733dd21d0fa585f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTgwOjFBMDlDODo2NzE4RTY6ODVGMzlFOjZCMDYyNTlGIiwidmlzaXRvcl9pZCI6IjMxNzY4MjQ5MzUxMTMxNzIzODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8dd35b162ceb1f2ec86446c9e0927ed71e0a768894d53a7fbe76434be4124f70 |
| hovercard-subject-tag | issue:5933342759 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/372/issue_layout |
| twitter:image | https://opengraph.githubassets.com/858197e7e426864508b25f013c97f4191060d5410f8374968306eaf1f5913499/developing-today/code/issues/372 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/858197e7e426864508b25f013c97f4191060d5410f8374968306eaf1f5913499/developing-today/code/issues/372 |
| og:image:alt | Problem Two stale runtime identity databases are tracked in git: pkgs/id/.identity.db — SQLite 3 database, identities table with 4 rows pkgs/id/e2e/.identity.db — SQLite 3 database, identities tabl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32e57d5cc2ce6ce92ec6dceb65858344750c27c2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width