Skip to content

release: 1.3.3 — the card anchor falls back to last_message_id; system notices start no kit cycle; manual 2.3.4 fixtures - #25

Merged
sanctrl merged 5 commits into
mainfrom
fix/notices-and-fixtures-2.3.4
Nov 13, 2026
Merged

sanctrl merged 5 commits into
mainfrom
fix/notices-and-fixtures-2.3.4

Conversation

@sanctrl

@sanctrl sanctrl commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Patch release 1.3.3, the number you confirmed on 2026-11-12. It catches the Python SDK up with the server's migration 104, which is live, and matches TS 1.3.2.

Fixed:

  • InboxCard.anchor_message_id falls back to last_message_id (types/inbox.py:132).
    • Before, it returned None whenever the card had no preview. Since 104, that's every card with only notices. A verdict anchored with it then went out with no anchor and read through "now", including messages the gate never saw.
    • It now gives the preview's id, else last_message_id, else None. That's the same answer as gate.anchor_of and TS gate.anchorOf.
  • A system notice no longer starts a kit cycle. A message.new whose message has type: "system" (a member joined or left, a rename, a group deleted) is still acked on receipt. It starts no cycle, gate call or run (contract v1 §4).
    • This applies to live frames and the reconnect drain.
    • A real message in the same burst still wakes.
    • New: a notice event and counters["notices"] (integration/receive_loop.py:902).

Docs and types:

  • The tray and verdict docstrings follow 104. A card with only notices has no preview and owes nothing.
  • A foreign or unknown anchor gets 404 MESSAGE_NOT_FOUND. It already raised NotFoundError; tests now pin that, sync and async, for reply, dismiss and defer.

Conformance: texts.sample.json and manifest.sha256 are copied byte-identical from the contract (manual 2.3.4), and they match agentchat.me.

Tested locally: ruff and mypy are clean (41 files), and pytest passes 792 with 2 skipped on 3.9, 3.10, 3.11, 3.12 and 3.13. The new notice and anchor tests fail without the fix.

After merge: tag v1.3.3; you approve the PyPI publish. Then OpenClaw (on TS 1.3.2) and Hermes (floor 1.3.3).

…ontract v1 section 4)

A message.new whose message has type "system" (a member joined or left, a
rename, a group deleted) no longer wakes the ReceiveLoop: no tray read, no
gate call, no run. The socket still acks it (delivered). A real message in
the same burst still wakes. Each notice emits a "notice" event and counts
in status().counters["notices"].
…erdict docs for the server's migration 104

The card property returned None for a card with no preview (since 104, every
card whose only unread messages are system notices), unlike gate.anchor_of
and the TypeScript gate.anchorOf. It now gives the same anchor. Tests: a
notices-only card and a preview whose sender is not last_sender parse; a
verdict whose anchor is not a message of the conversation surfaces as
NotFoundError (MESSAGE_NOT_FOUND), one attempt, sync and async, for reply,
dismiss and defer.
…ray docs, manual 2.3.4 fixtures (Unreleased)
@sanctrl
sanctrl merged commit 60c0bb6 into main Nov 13, 2026
11 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