Skip to content

feat: add support exchange retrieval - #15

Merged
igorrendulic merged 2 commits into
mainfrom
feat/support-exchange-retrieval
Jun 26, 2026
Merged

feat: add support exchange retrieval#15
igorrendulic merged 2 commits into
mainfrom
feat/support-exchange-retrieval

Conversation

@igorrendulic

Copy link
Copy Markdown
Owner

Summary

Telegram support search can now return Support Exchange evidence instead of collapsing nearby multi-author chat into one raw message result. Indexing derives requester/operator/peer/unanswered exchange records from source Telegram messages, keeps raw message evidence intact, and exposes authority labels so draft context can use prior operator answers without treating peer replies as support truth.

What changed

  • Support profiles can store configured operator identities, which are used to label authoritative exchange responses.
  • index now rebuilds Support Exchanges, chunks them as exchange documents, and includes exchange counts in CLI output.
  • Search and draft context preserve requester/operator/peer roles, boost operator-answered exchanges, and surface sufficiency reasons for peer-only, ambiguous, or unanswered exchanges.
  • Codex, Claude, setup docs, and workflow references now tell agent surfaces to present exchange roles instead of inferring authority themselves.

Validation

  • uv run pytest passed: 172 tests.
  • uv run ruff check could not run because ruff is not installed in the current environment; uv run --extra dev ruff check also failed to spawn ruff.

Compound Engineering
GPT-5

Derive role-labeled support exchanges from Telegram replies so requester, operator, peer, and unanswered messages are indexed separately. Add operator identity setup, exchange-aware retrieval boosts, and draft evidence gates that prevent peer-only or unresolved exchanges from becoming support truth.
@igorrendulic
igorrendulic merged commit d13e5a2 into main Jun 26, 2026
4 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