Skip to content

Re-sync proxy properties from the source and follow embeds - #194

Merged
codekiln merged 3 commits into
mainfrom
claude/193-proxy-resync-properties
Oct 6, 2026
Merged

codekiln merged 3 commits into
mainfrom
claude/193-proxy-resync-properties

Conversation

@codekiln

@codekiln codekiln commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Closes #193.

Re-sync brings source properties. logseq:entity:proxy:page:sync now adds properties the source gained, updates changed ones, and removes ones the source dropped. The destination keeps tags::, the proxy keys, and any property an entity definition names in the new entity-proxy-destination-properties:::

A property only the destination has, and no definition claims, is removed on re-sync. The preview lists every property it adds, updates or removes, so a removal shows up before --apply. The rule is stated on the Proxy Page definition, the sync task page, and Logseq/Entity/Definition.

--follow-embeds syncs every page the page embeds, recursively, in one batch. gitpa's episode:sync did this, so gitpa can drop it. GitP/mise/Task/episode/sync is deleted; GitP/How To/Prepare Podcast Metadata and the Mise Task naming example now point at the garden task. The journal and plan pages that mention it as history are left as they are.

Verification:

  • python3 tests/test_core.py: 18 pass, 2 of them new (property merge with destination-owned keys, embed following).
  • Re-syncing all 24 gitpa proxies from this branch left every session and asset page unchanged. The definition pages gained entity-proxy-destination-properties::, and a second run wrote nothing.
  • vale words-to-avoid: clean. Wikilink checker: no new unresolved links.

Merge order: this PR first, then codekiln/gitpa#15 Retire episode:sync in favor of the garden proxy sync task, which vendors this branch's sync task. gitpa#15 targets the branch of codekiln/gitpa#12.

🤖 Generated with Claude Code

codekiln and others added 3 commits October 6, 2026 06:43
Re-sync now adds, updates and removes page properties to match the source,
keeping tags::, the proxy keys, and the properties entity definitions name
in entity-proxy-destination-properties::. --follow-embeds syncs embedded
pages in the same batch.

Refs #193

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…perties

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gitpa re-syncs episodes with logseq:entity:proxy:page:sync --follow-embeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

Re-sync proxy properties from the source and follow embeds

1 participant