Skip to content

fix(markup): retain provenance for composed watched fragments - #457

Closed
phall1 wants to merge 2 commits into
vercel-labs:mainfrom
phall1:upstream/source-identity-scope
Closed

phall1 wants to merge 2 commits into
vercel-labs:mainfrom
phall1:upstream/source-identity-scope

Conversation

@phall1

@phall1 phall1 commented Sep 19, 2026

Copy link
Copy Markdown

Composed watched fragments dropped their source identity, so automation and writeback could not tell copies apart. Keep provenance through composition and scope identities to the markup closure.

Capture authored source anchors for each installed primary and secondary view, including embedded baselines under automation. Keep root/import paths and hashes tied to their fragment, and retain owned source bytes across failed reloads so the last-good tree stays valid.
Keep resolver namespaces in the provenance file key so relative root stamps cannot alias fragment disk stamps with identical contents. Exercise the CLI's shared response-to-disk pipeline in runtime regressions, including wrong-file writes, invalid edits, and stale-hash refusal.
@vercel

vercel Bot commented Sep 19, 2026

Copy link
Copy Markdown

@phall1 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@phall1

phall1 commented Sep 20, 2026

Copy link
Copy Markdown
Author

This is larger than a focused patch. Closing; will reopen once it's smaller or split.

@phall1 phall1 closed this Sep 20, 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.

1 participant