Remove misplaced file — belongs in knowledge-base not zlh-grind

This commit is contained in:
jester 2026-03-14 22:30:47 +00:00
parent 8203c8a6e0
commit 3a63662049

View File

@ -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.