Define class-specific transport alert policy #103
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log!103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/61-alert-policy"
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?
Tracks the alert-policy acceptance of #61 as a separate bounded slice, stacked on #89.
What changed
log_only/info/ no notification allowance and never become provider alerts;alertdecisions with a 900-secondaccount_gatewayrate window and model attribution remains absent;alert_if_unrecoveredwith the existing 10-second retry-correlation grace and a 60-second rate window;protocol_integrityrate class with a 300-second window;suppress_recoveredevidence linked to the original failed event;alert-decisions.jsonlprojections containing safe policy metadata only—no request SHA and no router-attempt provider details;AlertPolicyActorwith policy failures swallowed so capture/routing/recovery/forwarding cannot be blocked;Downstream client disconnects intentionally bypass the completed-request correlation path established in #88; their deterministic policy is
log_onlyand the typed client error remains inerrors.jsonl. No external notification transport exists in this slice.RED evidence
API contract head
3c3bf00eac16655c9307d961fee00ef21ef581c3: 127 tests ran. Exactly six new alert-policy tests errored becausellm_log.alert_policydid not yet exist; every inherited #86-#89 contract stayed green. This is an executed missing-module RED, not a behavioral RED.Behavioral wiring head
bfae8fb3e864c71e21aa5e7f063b6e77c7eff07e: 128 tests ran. All six policy API tests passed and exactly one new live test failed becausealert-decisions.jsonlwas not produced. The existing suite remained green, isolating live wiring from policy semantics.GREEN evidence
Live wiring head
a9a8134cff36e4322f0bbf99d26d6fffa14c16a2passed both exact-head workflows:Final exact head
935fc1954f1b85cff1ea4579a8886e66c1df3addpassed after Prolog/Org knowledge promotion:Boundary
This is a policy/decision stream, not a notification dispatcher. It does not send email, Discord, webhook, pager, desktop, or other external notifications and it does not own persistent notification-rate counters. A future dispatcher may enforce the emitted grace/rate policy. Model/structured-output anomaly detection remains separate #58 work.
No merge is performed here.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.