Per Opus pre-release verdict on PR #1843: the four handle_kanban_* entry points declare '-> bool' but actually return True | None | False (after PR #1843 made the False-vs-None distinction load-bearing for the caller's '_kanban_unknown_endpoint' decision). Update the type annotations to 'bool | None' and add a docstring on handle_kanban_get (with cross-references on the three siblings) so a future contributor adding a new return path doesn't accidentally produce a 0/'' value that would silently revert the double-404 fix. Test-only verification: kanban tests pass (49/49). Production behavior unchanged. Cheap defensive cleanup per Nathan's standing absorb-in-release default for ≤20-LOC documentation/type-annotation fixes. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_health.py | ||
| agent_sessions.py | ||
| auth.py | ||
| background.py | ||
| clarify.py | ||
| commands.py | ||
| config.py | ||
| dashboard_probe.py | ||
| extensions.py | ||
| gateway_watcher.py | ||
| helpers.py | ||
| kanban_bridge.py | ||
| metering.py | ||
| models.py | ||
| oauth.py | ||
| onboarding.py | ||
| profiles.py | ||
| providers.py | ||
| rollback.py | ||
| routes.py | ||
| session_ops.py | ||
| session_recovery.py | ||
| startup.py | ||
| state_sync.py | ||
| streaming.py | ||
| system_health.py | ||
| terminal.py | ||
| updates.py | ||
| upload.py | ||
| workspace.py | ||