Make Zara CLI use daemon-owned timers by default #296

Closed
nsaspy wants to merge 1 commit from codex/default-daemon-cli into master
Owner

Summary

  • Switches the Zara CLI to daemon-owned timers by default
  • Extends protocol/runtime/backend/server plumbing (ZMQ transport, events)

Changes

  • zara/runtime/backend.py, zara/runtime/events.py, zara/protocol*.py, zara/server*.py, zara/zmq_transport.py
  • 27 files changed, +1383/-73

Merged from local worktree Zarathushtra-default-daemon-cli.

## Summary - Switches the Zara CLI to daemon-owned timers by default - Extends protocol/runtime/backend/server plumbing (ZMQ transport, events) ## Changes - `zara/runtime/backend.py`, `zara/runtime/events.py`, `zara/protocol*.py`, `zara/server*.py`, `zara/zmq_transport.py` - 27 files changed, +1383/-73 Merged from local worktree `Zarathushtra-default-daemon-cli`.
Make Zara CLI use daemon-owned timers by default
Some checks failed
CI / test (pull_request) Failing after 10s
CI / shared mic / Arch Linux (pull_request) Failing after 10m51s
CI / shared mic / Ubuntu 24.04 (pull_request) Failing after 14m13s
6d704b0892
Author
Owner

Review triage (2026-08-29): the timer-lifecycle work is serious and well-tested (typed TimerLifecycleRecord with strict shape validation, daemon-owned timer pump, 196-line backend test), and daemon-owned timers align with the client-migration direction of #133.

Blocking merge: (1) conflicts with the RAGE-reviewed daemon runtime contracts (zara/protocol.py, runtime/backend.py, zmq_transport.py) — the rebase must reconcile with ZARA/1 protocol versioning from #129/#130; adding SERVER_MESSAGE_TYPES is a contract-surface change that needs that review; (2) zara/prolog_engine.py +130 lines — AGENTS.md makes this the canonical Prolog access layer, so the timer-event drain design needs review against the module boundary rules; (3) AGENTS.md edits are doc-alignment and acceptable, flake.nix changes need separate verification. Keeping open as queued feature work behind P0 #134; it maps under daemon epic #127.

Review triage (2026-08-29): the timer-lifecycle work is serious and well-tested (typed TimerLifecycleRecord with strict shape validation, daemon-owned timer pump, 196-line backend test), and daemon-owned timers align with the client-migration direction of #133. Blocking merge: (1) conflicts with the RAGE-reviewed daemon runtime contracts (zara/protocol.py, runtime/backend.py, zmq_transport.py) — the rebase must reconcile with ZARA/1 protocol versioning from #129/#130; adding SERVER_MESSAGE_TYPES is a contract-surface change that needs that review; (2) zara/prolog_engine.py +130 lines — AGENTS.md makes this the canonical Prolog access layer, so the timer-event drain design needs review against the module boundary rules; (3) AGENTS.md edits are doc-alignment and acceptable, flake.nix changes need separate verification. Keeping open as queued feature work behind P0 #134; it maps under daemon epic #127.
Author
Owner

Closing this stale implementation while preserving the timer requirement. The branch predates the current typed intent/capability plane, RuntimeHost ownership, principal isolation, long-horizon task runtime, and recent hook/backend work, so reviving its 27-file daemon/protocol patch would reintroduce obsolete wiring. set a timer ... remains required and should be implemented/recovered from current master through the canonical daemon-owned timer/service path under the current semantic/runtime contracts, not by merging this head.

Closing this stale implementation while preserving the timer requirement. The branch predates the current typed intent/capability plane, RuntimeHost ownership, principal isolation, long-horizon task runtime, and recent hook/backend work, so reviving its 27-file daemon/protocol patch would reintroduce obsolete wiring. `set a timer ...` remains required and should be implemented/recovered from current `master` through the canonical daemon-owned timer/service path under the current semantic/runtime contracts, not by merging this head.
nsaspy closed this pull request 2026-09-05 01:42:23 +00:00
Some checks failed
CI / test (pull_request) Failing after 10s
CI / shared mic / Arch Linux (pull_request) Failing after 10m51s
CI / shared mic / Ubuntu 24.04 (pull_request) Failing after 14m13s

Pull request closed

Sign in to join this conversation.
No description provided.