Skip to content

[codex] Add Telegram manifest contract tests#2

Draft
mimeding wants to merge 1 commit into
osaurus-ai:masterfrom
mimeding:codex/telegram-test-contracts
Draft

[codex] Add Telegram manifest contract tests#2
mimeding wants to merge 1 commit into
osaurus-ai:masterfrom
mimeding:codex/telegram-test-contracts

Conversation

@mimeding
Copy link
Copy Markdown

Summary

Adds Telegram manifest contract tests and updates stale test fixtures to match the current task event and stream state models.

Business Rationale

Telegram is a public-facing interaction surface, so regressions in route, tool, or payload contracts can directly break user conversations. Executable contract coverage keeps the integration stable as host and plugin schemas evolve.

Coding Rationale

The existing runtime behavior already expects the current model shapes. Updating tests and adding manifest assertions makes the supported contract explicit without adding new host behavior.

Expected LLM Performance Improvement

A stable tool and route contract reduces malformed tool usage, improves message handoff reliability, and keeps model-driven Telegram interactions from drifting across schema changes.

Changes

  • Behavior change
  • UI change
  • Refactor / chore
  • Tests
  • Docs

Test Plan

  • swift test
  • swift build -c release
  • swift-format lint --strict Tests/osaurus_telegram_tests/ManifestContractTests.swift Tests/osaurus_telegram_tests/ModelsTests.swift Tests/osaurus_telegram_tests/StreamingTests.swift
  • git diff --check

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