Serve log history from the store to the CLI#1486
Part of the observe stack. Base: obs/2-harvest.
ployz logs now reads each Machine's Log Store, so removed containers and old Deployments print, not only running ones.
| 1 | ployz logs ──► ployzd (3 s deadline) ──► observe.sock ──► ployz-observe query |
| 2 | │ merge by ts across Servers (page + cursor, gaps, exit) |
| 3 | │ failed Server: named, exit 3 |
| 4 | └─ -f: live from last printed ts + 1 ns |
ployz.logs.history.v2/ployz.logs.forget.v1; old Docker-backedlog_history.rsdeleted.log_levelin ployz-core, applied at read time by the CLI and SDK.--jsonkeeps the existing fields and addsmachine,container,deployment,ts,level,line, andgap/exitobjects.-nnow counts lines across all Servers, not per container.--sinceon its own reads the whole window.destroy_namespacesends forget to every Machine; one that misses it ages out under the cap.compensatestops and then removes a health-failed replacement.- SDK
before_nanosis replaced by a since/until/cursor window. OBS-4 adapts.
Verification: unit tests and gates pass. Live lanes and perf receipts will be posted before this is marked ready.