Severity: 🟡 Medium (CLI hygiene)
agora.py:117–118:
except Exception as exc:
print(f"> ⚠ Mnēmē update failed: {exc}")
Defaults to stdout. cmd_memory_update_silent is called as a side effect of cmd_checkpoint, whose stdout may be piped to other tooling. The error message contaminates stdout.
Suggested fix
except Exception as exc:
workspace_str = str(workspace) if workspace else "<unknown>"
print(f"> ⚠ Mnēmē update failed for {workspace_str}: {exc}", file=sys.stderr)
Acceptance criteria
- Test: monkeypatch
_memory_do_update to raise; capture stdout vs stderr; assert error is on stderr.
Severity: 🟡 Medium (CLI hygiene)
agora.py:117–118:Defaults to stdout.
cmd_memory_update_silentis called as a side effect ofcmd_checkpoint, whose stdout may be piped to other tooling. The error message contaminates stdout.Suggested fix
Acceptance criteria
_memory_do_updateto raise; capture stdout vs stderr; assert error is on stderr.