Skip to content

[codex] Add Telegram Workbench action cards - #27

Merged
acoastalfog merged 5 commits into
mainfrom
codex/workbench-mobile-action-rail
Jun 1, 2026
Merged

[codex] Add Telegram Workbench action cards#27
acoastalfog merged 5 commits into
mainfrom
codex/workbench-mobile-action-rail

Conversation

@acoastalfog

Copy link
Copy Markdown
Owner

Summary

  • Renders Telegram proposal queue Action Cards from kb-engine descriptors with preview-before-confirm callbacks.
  • Adds descriptor-backed publication preview/confirm buttons that re-preview before commit/push.
  • Adds read-only dashboard/Situation descriptor buttons for mobile context review.

Issues

Part of #23, #24, #25, #26.

Verification

  • python -m pytest tests/plugins/test_kb_journeys.py tests/gateway/test_telegram_kb_callbacks.py -q
  • python -m py_compile plugins/kb_journeys/__init__.py tools/kb_callback_registry.py gateway/platforms/telegram.py

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown

🔎 Lint report: codex/workbench-mobile-action-rail vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8444 on HEAD, 8421 on base (🆕 +23)

🆕 New issues (5):

Rule Count
invalid-argument-type 3
no-matching-overload 1
not-subscriptable 1
First entries
run_agent.py:14031: [invalid-argument-type] invalid-argument-type: Argument to function `_is_oauth_token` is incorrect: Expected `str`, found `str | dict[Unknown | str, Unknown | str | dict[str, str]] | Any | ... omitted 3 union elements`
plugins/kb_journeys/__init__.py:1858: [no-matching-overload] no-matching-overload: No overload of `dict.__init__` matches arguments
run_agent.py:14034: [invalid-argument-type] invalid-argument-type: Argument to function `len` is incorrect: Expected `Sized`, found `(str & ~AlwaysFalsy) | (dict[Unknown | str, Unknown | str | dict[str, str]] & ~AlwaysFalsy) | (Any & ~AlwaysFalsy) | ... omitted 3 union elements`
tests/plugins/test_kb_journeys.py:1210: [not-subscriptable] not-subscriptable: Cannot subscript object of type `object` with no `__getitem__` method
run_agent.py:7736: [invalid-argument-type] invalid-argument-type: Argument to function `build_anthropic_client` is incorrect: Expected `str`, found `str | dict[Unknown | str, Unknown | str | dict[str, str]] | Any | ... omitted 3 union elements`

✅ Fixed issues (3):

Rule Count
invalid-argument-type 3
First entries
run_agent.py:7736: [invalid-argument-type] invalid-argument-type: Argument to function `build_anthropic_client` is incorrect: Expected `str`, found `str | dict[Unknown, Unknown] | Any | ... omitted 3 union elements`
run_agent.py:14031: [invalid-argument-type] invalid-argument-type: Argument to function `_is_oauth_token` is incorrect: Expected `str`, found `str | dict[Unknown, Unknown] | Any | ... omitted 3 union elements`
run_agent.py:14034: [invalid-argument-type] invalid-argument-type: Argument to function `len` is incorrect: Expected `Sized`, found `(str & ~AlwaysFalsy) | (dict[Unknown, Unknown] & ~AlwaysFalsy) | (Any & ~AlwaysFalsy) | ... omitted 3 union elements`

Unchanged: 4410 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@acoastalfog
acoastalfog marked this pull request as ready for review June 1, 2026 08:48
@acoastalfog
acoastalfog merged commit 0ee8c1d into main Jun 1, 2026
16 checks passed
@acoastalfog
acoastalfog deleted the codex/workbench-mobile-action-rail branch June 1, 2026 08:48
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