From 3a63662049f56d58b7ddd90237fafe45e5adb825 Mon Sep 17 00:00:00 2001 From: jester Date: Sat, 14 Mar 2026 22:30:47 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20misplaced=20file=20=E2=80=94=20belongs?= =?UTF-8?q?=20in=20knowledge-base=20not=20zlh-grind?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2026-03-10_Agent_Observability_Update.md | 57 ------------------- 1 file changed, 57 deletions(-) delete mode 100644 Session_Summaries/2026-03-10_Agent_Observability_Update.md diff --git a/Session_Summaries/2026-03-10_Agent_Observability_Update.md b/Session_Summaries/2026-03-10_Agent_Observability_Update.md deleted file mode 100644 index 58e42ed..0000000 --- a/Session_Summaries/2026-03-10_Agent_Observability_Update.md +++ /dev/null @@ -1,57 +0,0 @@ -# Agent Observability Update - -Date: 2026-03-10 - -This session improved agent observability without altering crash semantics or restart behavior. - ---- - -## Structured Logging - -Operational logs now use component tags: - -- `[process]` -- `[http]` -- `[files]` -- `[console]` -- `[state]` - -Each log entry includes the VMID when available. - ---- - -## Crash Metadata - -The agent now records and exposes via `/status`: - -- `lastCrashTime` -- `lastCrashExitCode` -- `lastCrashSignal` -- `lastCrashUptimeSeconds` -- `lastCrashLogTail` - ---- - -## Readiness Timeout - -A constant was introduced: - -```go -const ReadinessTimeout = 60 * time.Second -``` - -This centralizes the readiness policy and allows tuning without searching for hardcoded values. - ---- - -## Crash Semantics - -Crash classification unchanged: - -``` -unexpected exit → crashed -intentional stop → idle -readiness failure → error -``` - -This ensures crash metrics remain accurate and are not inflated by intentional operations.