Skip to content

Support message context and transcript provenance - #98

Merged
marcelsamyn merged 1 commit into
mainfrom
fix/message-source-provenance
Sep 19, 2026
Merged

marcelsamyn merged 1 commit into
mainfrom
fix/message-source-provenance

Conversation

@marcelsamyn

Copy link
Copy Markdown
Owner

What changed

  • Accept sourceKind: "message" and participants identified by email or a stable providerId.
  • Apply request direction, suppression, evidence, thread matching, and revision locking to person messages. Provider IDs remain case-sensitive.
  • Accept an optional transcript sourceKind and store it on the parent transcript source.
  • Document the contracts and add regression tests for message identity, request evidence, source identity, and transcript input.

Why

Slack messages and Google Meet transcripts need source context that is not email-shaped. This closes #97 and lets clients send those sources without dropping direction or origin.

Validation

  • pnpm run build:check — passed.
  • pnpm run build-sdk — passed.
  • pnpm run build — passed.
  • pnpm run lint — passed.
  • pnpm run format — passed.
  • Focused Vitest suites — 54 passed. Database-backed extraction tests remain skipped by the local test environment.
  • git diff --check — passed.

Release

A package version has not been published. After merge and publication, record the published version in issue #97 so Petals can pin it.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-19T07:26:59.855475Z 04d0bae New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 62f9c68a93

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/email-request-extraction.ts Outdated
Comment thread src/lib/extract-graph.ts
@marcelsamyn
marcelsamyn force-pushed the fix/message-source-provenance branch from 62f9c68 to dc31a18 Compare September 19, 2026 07:03

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dc31a18c40

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/extract-graph.ts
@marcelsamyn
marcelsamyn force-pushed the fix/message-source-provenance branch from dc31a18 to aa1bf9c Compare September 19, 2026 07:09

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aa1bf9c943

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/schemas/source-context.ts
@marcelsamyn
marcelsamyn force-pushed the fix/message-source-provenance branch from aa1bf9c to 41cf2db Compare September 19, 2026 07:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 41cf2db860

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/schemas/source-context.ts
@marcelsamyn
marcelsamyn force-pushed the fix/message-source-provenance branch from 41cf2db to fb2341e Compare September 19, 2026 07:19

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fb2341e22e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/ingestion/source-identity.test.ts Outdated
@marcelsamyn
marcelsamyn force-pushed the fix/message-source-provenance branch from fb2341e to 04d0bae Compare September 19, 2026 07:23
@marcelsamyn
marcelsamyn merged commit 81e54fe into main Sep 19, 2026
1 check passed
@marcelsamyn
marcelsamyn deleted the fix/message-source-provenance branch September 19, 2026 10:01
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.

Support a message source kind, participants without an email, and transcript provenance

1 participant