a7f33fcb032664f3d2c97c42818a380a2c6f9004
Part of #452 (task-observability epic #450). A task's real work happens in an ephemeral archie-agent container; currently nothing persists what it logs once the container exits (AutoRemove: true). Adds TaskSink: a per-task, per-attempt JSONL log destination sharing the exact on-disk format the daemon-wide logger already writes (see Entry/Tail/Query/Components in reader.go), so a task's history is readable with the same reader rather than a second format to keep in sync. Backed by the existing rotatingFile, so it gets the same size-based rotation and retention as the daemon-wide log for free. Deliberately does not fall back to stderr on open failure the way the daemon-wide New does: that fallback exists because losing the daemon over a broken log path is worse than losing the durable copy, and there is no equivalent daemon-level fallback for one task's log. This lands only the sink primitive and its own tests. Wiring an agent-side publisher and a daemon-side NATS consumer into it is tracked separately in #453 and #454.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.8%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%