Skip to content

fix(gateway): mirror background deliveries into sessions - #21750

Closed
Abuarchiv wants to merge 1 commit into
NousResearch:mainfrom
Abuarchiv:fix/cron-live-session-mirroring
Closed

fix(gateway): mirror background deliveries into sessions#21750
Abuarchiv wants to merge 1 commit into
NousResearch:mainfrom
Abuarchiv:fix/cron-live-session-mirroring

Conversation

@Abuarchiv

Copy link
Copy Markdown

Summary

  • mirror /background completions into the active gateway transcript
  • mirror successful cron deliveries back into the matching gateway session, gated by cron.mirror_deliveries_to_session
  • preserve accurate summaries for media-only and failed media delivery paths
  • add gpt-5.3-codex-spark to Codex model discovery defaults

Verification

  • python -m py_compile gateway/mirror.py cron/scheduler.py gateway/run.py hermes_cli/config.py hermes_cli/codex_models.py
  • python -m pytest tests/gateway/test_background_command.py tests/cron/test_scheduler.py tests/hermes_cli/test_codex_models.py -q -o 'addopts='
  • git diff --check
  • codex read-only re-review: PASS

Note: a broader local run of tests/cron surfaced 3 failures in unrelated pre-existing paths (cron script empty output and MCP init auth ordering), outside this diff.

- mirror /background completions and cron deliveries into matching gateway transcripts
- preserve delivery accuracy for media-only and failed attachment sends
- add cron.mirror_deliveries_to_session and gpt-5.3-codex-spark default model

Verified: python -m py_compile changed files
Verified: python -m pytest tests/gateway/test_background_command.py tests/cron/test_scheduler.py tests/hermes_cli/test_codex_models.py -q -o addopts=
Verified: git diff --check
Reviewed: codex re-review PASS
@alt-glitch alt-glitch added type/feature New feature or request comp/gateway Gateway runner, session dispatch, delivery comp/cron Cron scheduler and job management P3 Low — cosmetic, nice to have labels May 8, 2026
@Abuarchiv Abuarchiv closed this May 14, 2026
@Abuarchiv
Abuarchiv deleted the fix/cron-live-session-mirroring branch May 14, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cron Cron scheduler and job management comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants