Skip to content

feat(runtime): preserve owned citation metadata - #1158

Merged
blove merged 3 commits into
mainfrom
codex/owned-citations
Sep 24, 2026
Merged

blove merged 3 commits into
mainfrom
codex/owned-citations

Conversation

@blove

@blove blove commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

The staged shared runtime dropped LangGraph citation metadata before either native binding could observe it. Messages now expose readonly, owned citation data with source alias normalization, explicit empty-list replacement, canonical clearing, and generation isolation. Equal metadata reuses its existing references, including when answer text changes.

The private adapter keeps citation projection separate from execution authority. Exact checkpoint ownership, tool admission, the legacy Angular adapter and public package roots are unchanged. Installed React and Angular fixtures read the real snapshot and cover history retention/clearing and resumed approval completion.

Verification:

  • 859 runtime tests, runtime/public types; core test/type/lint/build and public LangGraph test/type/build.
  • 329 parity script tests; 27 installed browser scenarios per framework, strict declaration probes and production builds.
  • Production-omission negative control failed the new citation assertion in both consumers; exact source restored and both reran green.
  • Independent compliance and quality reviews approved; parent independently reran runtime/types and reviewed citation lifecycles in Chrome MCP and the in-app browser with clean consoles.
  • Inventory, source boundaries, version consistency and diff checks passed. Scoped source/log evidence is recorded in the fixture.

This is staged message-data support. Rich content, reasoning/timing, citation UI and public backend cutover remain separate. Plain checkpoint ingress still rejects unsupported instances/cycles. No release or dependency change.

@vercel

vercel Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadplane Ignored Ignored Preview Sep 24, 2026 6:49pm UTC

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove enabled auto-merge (squash) September 24, 2026 18:45
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 0s —— View job


I'll analyze this and get back to you.

@blove
blove merged commit a4a0c7b into main Sep 24, 2026
77 of 78 checks passed
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