Repository navigation
Commit f2c3ebf
committed
docs(agents): say how a return-delivered durability seam is declared
The block on degradation log levels told the author of a durability seam to
declare how the catch delivers the failure, offering only the two propagation
maps of check-durability-degradation-log-level.mjs. Both key on the name of a
callee the catch reaches, so a catch that delivers by returning an outcome
object has nothing to put in either one, and the only two ways left to green
the gate are the two that gate's own header rejects: a baseline entry for
correct code, or a bolted-on logger.error.
Split the declaration rule by how the failure leaves the catch. A
call-delivered seam declares its callee as before. A return-delivered one has
no callee to declare, is added to neither map and to no baseline, is pinned by
its own file's test asserting the returned failure outcome, and has its
population read from the census script. The invariant is untouched: silent
data loss must be loud.
Claude-Session: https://claude.ai/code/session_017ef78bLdybu3AffehKkhfk
Co-authored-by: Claude <noreply@anthropic.com>1 parent 24d622b commit f2c3ebf
1 file changed
Lines changed: 20 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
944 | 954 | | |
945 | 955 | | |
946 | 956 | | |
| |||
0 commit comments