Failure recovery sublayer in Log #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following discussion in weforge/ideas#11 on error reporting, failure context should be first-class memory.
Problem
When an agent crashes and restarts, it needs to know:
Currently stacks has no structured way to persist failure context. The Log layer is designed for append-only history, but doesn't distinguish between normal operations and failures.
Proposal
Add a Failure sublayer to the Log with structured fields:
Integration with boot sequence
When an agent boots, it should load recent failures and adjust behavior:
Machine-readable format
Alongside markdown, consider JSON schema:
This would enable:
Related: rook's structured error reporting proposal (weforge/ideas#11)