Skip to content

Record the proxy source graph relative to its repository - #192

Merged
codekiln merged 1 commit into
mainfrom
claude/191-proxy-manifest-relative-graph
Oct 6, 2026
Merged

codekiln merged 1 commit into
mainfrom
claude/191-proxy-manifest-relative-graph

Conversation

@codekiln

@codekiln codekiln commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #191.

logseq:entity:proxy:page:sync --apply wrote imports.<key>.source_graph as the source checkout's absolute path. In codekiln/gitpa#12 that put a home-directory path into gitp-garden/.logseq-proxy/manifest.json, which gitpa's secretlint rule rejects, and a re-sync from a worktree instead of the main checkout rewrote every import record.

The field now holds the graph's path inside its repository (. for this garden). Nothing reads the field, so existing manifests keep working; their records change once on the next sync.

Verification: added test_manifest_records_repository_relative_graph. It fails on main and passes with the change; the other 15 sync tests pass.

gitpa#12 needs this merged before its committed manifest matches what a sync from garden main writes.

🤖 Generated with Claude Code

The sync manifest stored the source checkout's absolute path, which
leaked a home directory into committed manifests and changed every
import record when syncing from a different checkout.

Closes #191

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
codekiln added a commit to codekiln/gitpa that referenced this pull request Oct 6, 2026
Every gitpa proxy page now comes from logseq:entity:proxy:page:sync run
against logseq-encode-garden main plus codekiln/logseq-encode-garden#192,
which keeps the source checkout's path out of the manifest. Bodies were
already identical to the garden; the run refreshed the sync date, brought
the new Executable sync section of Logseq/Entity/Proxy/Page, and imported
the task, its entity definitions and the import manifest. Mise now
discovers the imported task from gitp-garden/mise-tasks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codekiln
codekiln merged commit 7adc267 into main Oct 6, 2026
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.

Proxy sync manifest records the source checkout's absolute path

1 participant