Skip to content

refactor(core): extract transcript projection - #53122

Open
Dante-dan wants to merge 1 commit into
anomalyco:v2from
Dante-dan:transcript-persistence
Open

Dante-dan wants to merge 1 commit into
anomalyco:v2from
Dante-dan:transcript-persistence

Conversation

@Dante-dan

Copy link
Copy Markdown

Issue for this PR

Partially addresses #36473 (transcript persistence only). Adapted from HOYALIM’s earlier, unmerged #36811.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Moves the database-backed transcript adapter and durable message insertion into session/projection/transcript.ts. SQL, transaction ownership, event registrations, and transition ordering stay unchanged. Fork, usage, and other projection families remain for later slices.

How did you verify your code works?

  • 19 focused transcript/projector tests passed through the real database and events.publish.
  • Core typecheck, changed-file oxlint, and git diff --check passed.
  • Repository pre-push lint and all 36 typecheck tasks passed (Node type stripping and Astro telemetry disabled via loose Turbo environment). Unrelated Wrangler log-directory writes were denied by the local sandbox.

Screenshots / recordings

N/A; internal refactor.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Adapt the transcript-only extraction previously proposed in anomalyco#36811 to current v2 agent, model and location lookups. Keep transaction and registration ordering unchanged.
@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

This branch has not been deployed

No deployments
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