Skip to content

Backport status fast-path and CLI plain-text render handling#25

Merged
bitifirefly merged 2 commits intodevelopfrom
backport/upstream-20260322-final-batch4
Mar 22, 2026
Merged

Backport status fast-path and CLI plain-text render handling#25
bitifirefly merged 2 commits intodevelopfrom
backport/upstream-20260322-final-batch4

Conversation

@bitifirefly
Copy link
Copy Markdown

Summary

  • fast-path /status handling in the agent run loop so status replies can be returned immediately without entering normal message processing
  • add explicit metadata={"render_as": "text"} for /status and /help command responses
  • update CLI rendering to honor response metadata and keep command-style output in plain text even when markdown mode is enabled
  • add regression coverage for status fast-path interception and CLI render selection

Testing

  • ruff check opencane/agent/loop.py opencane/cli/commands.py tests/test_agent_loop_status_command.py tests/test_cli_input.py
  • pytest -q tests/test_agent_loop_status_command.py tests/test_cli_input.py tests/test_cron_run_command.py
  • pytest -q (434 passed)

@bitifirefly bitifirefly merged commit 7f49b63 into develop Mar 22, 2026
2 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