René's URL Explorer Experiment


Title: pkgs/id: .identity.db/.identity.redb only gitignored under pkgs/id/ — a serve run from any other in-repo directory leaves the identity DB one git add -A from recommit · Issue #420 · developing-today/code · GitHub

Open Graph Title: pkgs/id: .identity.db/.identity.redb only gitignored under pkgs/id/ — a serve run from any other in-repo directory leaves the identity DB one git add -A from recommit · Issue #420 · developing-today/code

X Title: pkgs/id: .identity.db/.identity.redb only gitignored under pkgs/id/ — a serve run from any other in-repo directory leaves the identity DB one git add -A from recommit · Issue #420 · developing-today/code

Description: Problem The identity database created by id serve --web is protected from accidental commit only inside pkgs/id/, but the path it is created at is CWD-relative — it lands wherever the command is run. Evidence (verified on main bec9735) p...

Open Graph Description: Problem The identity database created by id serve --web is protected from accidental commit only inside pkgs/id/, but the path it is created at is CWD-relative — it lands wherever the command is ru...

X Description: Problem The identity database created by id serve --web is protected from accidental commit only inside pkgs/id/, but the path it is created at is CWD-relative — it lands wherever the command is ru...

Opengraph URL: https://github.com/developing-today/code/issues/420

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pkgs/id: .identity.db/.identity.redb only gitignored under pkgs/id/ — a serve run from any other in-repo directory leaves the identity DB one git add -A from recommit","articleBody":"## Problem\n\nThe identity database created by `id serve --web` is protected from accidental commit only inside `pkgs/id/`, but the path it is created at is CWD-relative — it lands wherever the command is run.\n\n## Evidence (verified on main bec97355)\n\n- `pkgs/id/src/commands/serve.rs:1104`: `Path::new(KEY_FILE).with_file_name(\".identity.redb\")` — the DB path is derived from the key file path.\n- `pkgs/id/src/lib.rs:284`: `pub const KEY_FILE: &str = \".iroh-key\";` — a bare relative filename, so the DB is created in the process current working directory.\n- `pkgs/id/.gitignore:3-4` lists `.identity.db` and `.identity.redb` — patterns anchored to `pkgs/id/` only.\n- Root `.gitignore:117` has unanchored `.iroh*`, so the key-file family is protected repo-wide — the DB family is not.\n- `git check-ignore -v .identity.redb` at the repo root: exit 1 (not ignored). Same for a subdirectory path (`sub/.identity.db`: exit 1). Only the `pkgs/id/` paths match.\n\nSo running `id serve --web` from the repo root (or any other in-repo directory) leaves `.identity.redb` untracked-and-visible, one `git add -A` away from being recommitted — exactly the hazard #372 fixed for `pkgs/id/` (stale `.identity.db` databases with local identity rows were tracked in git). The identity DB schema holds `identities(client_id, name, created_at, updated_at)` rows per #372 — local identity data that should never be committed.\n\nNo live exposure today: no `.identity.db`/`.identity.redb` is currently tracked outside (or inside) `pkgs/id/` on main. This is a guard-completeness gap, found as a REVIEW-FINDING during pr-diff-review of PR #373 and promoted now that the evidence is re-verified.\n\n## Suggested fix\n\nAdd the two unanchored patterns to the root `.gitignore` beside `.iroh*` (line 117):\n\n```\n.identity.db\n.identity.redb\n```\n\nUnanchored patterns match at every depth, covering any in-repo CWD a serve run might use. The `pkgs/id/.gitignore` entries become redundant but harmless; they may be left or removed.\n\n## Acceptance criteria\n\n- `git check-ignore -v .identity.redb` and `.identity.db` succeed at the repo root and in an arbitrary subdirectory.\n- `pkgs/id/` paths remain ignored.\n- No `.identity.*` file becomes tracked; a serve run from the repo root leaves `git status` clean of identity DB files.\n- Single-repo: the `serve.rs`/`KEY_FILE` code exists only in developing-today/code.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-20T15:04:56Z","url":"https://github.com/developing-today/code/issues/420"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a49b7c39-4285-9ca3-2d7c-b34edb29fee0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEA28:335506:6DF063:92F893:6B062D9B
html-safe-nonce722f85fc06805f8124502f7eb86a54f547d943469252a01382b4973b3bb70d5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTI4OjMzNTUwNjo2REYwNjM6OTJGODkzOjZCMDYyRDlCIiwidmlzaXRvcl9pZCI6IjU4NTM3MzE0Njc3NzExMjkyNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdf9e7d31310b85d9b6623079b527ee36ed543f932da6182663f13444ce855ebf
hovercard-subject-tagissue:5944098785
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/420/issue_layout
twitter:imagehttps://opengraph.githubassets.com/463863afa08ef1c8a1a6be6a59ae554aa8542ccae89a9a668b968300f7379ddb/developing-today/code/issues/420
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/463863afa08ef1c8a1a6be6a59ae554aa8542ccae89a9a668b968300f7379ddb/developing-today/code/issues/420
og:image:altProblem The identity database created by id serve --web is protected from accidental commit only inside pkgs/id/, but the path it is created at is CWD-relative — it lands wherever the command is ru...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/420#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F420
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F420
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/420
Reloadhttps://github.com/developing-today/code/issues/420
Reloadhttps://github.com/developing-today/code/issues/420
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/420
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/420
#421https://github.com/developing-today/code/pull/421
pkgs/id: .identity.db/.identity.redb only gitignored under pkgs/id/ — a serve run from any other in-repo directory leaves the identity DB one git add -A from recommithttps://github.com/developing-today/code/issues/420#top
#421https://github.com/developing-today/code/pull/421
https://github.com/dezren39
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 20, 2026https://github.com/developing-today/code/issues/420#issue-5944098785
bec9735https://github.com/developing-today/code/commit/bec973552f863f5a1325b6443c05d149e24ac3c2
#372https://github.com/developing-today/code/issues/372
#372https://github.com/developing-today/code/issues/372
#373https://github.com/developing-today/code/pull/373
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 20, 2026https://github.com/developing-today/code/issues/420#event-33754739575
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#421https://github.com/developing-today/code/pull/421
on Oct 20, 2026https://github.com/developing-today/code/issues/420#event-33755109781
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/420
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/420
dezren39https://github.com/dezren39
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.