Skip to content

fix(gemini): recover cwd for registered projects via projects.json#16

Merged
drewstone merged 1 commit into
mainfrom
fix/gemini-cwd-registry
Jul 2, 2026
Merged

fix(gemini): recover cwd for registered projects via projects.json#16
drewstone merged 1 commit into
mainfrom
fix/gemini-cwd-registry

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Inverts /projects.json ({cwd: projectName}) to resolve cwd for registered gemini projects (the session dir name IS the project name). Digest dirs for unregistered projects stay null (unavoidable). Additive; +regression test; tsc 0.

Gemini/Qwen-family sessions live at tmp/<projectHash>/chats/. For a registered
project the projectHash is the project NAME, reversible via <home>/projects.json
({cwd: name}) — invert it to restore cwd + repo labels. Unregistered/older dirs
are opaque cwd digests and stay null (unavoidable without a path corpus).
Additive, tsc 0, +regression test.
@drewstone drewstone merged commit 641a186 into main Jul 2, 2026
1 check passed

@tangletools tangletools left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — 4b836c7a

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-07-02T02:36:10Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants