Repository navigation
feat: a second demo scenario so reviewers can click through every path - #49
Merged
Merged
Conversation
… takes shared-outages adds 15 simulated labs beside the training event: a license-server outage (a recheck that runs and fails verification, then its cooldown), a quota exhaustion (escalated to a person), and two lookalike timeouts too far apart in time to merge. Both scenarios share one provisioning event helper; the training event's output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The incident page now says how close the nearest other failure came to joining, which correlation already recorded. The local demo button runs both scenarios, as the live demo seeds them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The live demo only showed three outcomes: an approved retry that resolves, a retry blocked by policy, and "not enough evidence". A reviewer never saw a dependency recheck, an escalation, a failed verification, a cooldown block, or two lookalike failures kept apart.
What
shared-outagesscenario (15 simulated labs, seeded beside the training event; 55 in total):RECHECK_DEPENDENCY→ policy passes → approval with countdown → runs → verification fails (a recheck changes no lab) → manual review. Investigating again within 5 minutes is blocked atrate_limit.ESCALATE_MANUAL→ straight to manual review, nothing to approve.PROVISION_TIMEOUTfailures on one cache, 25 minutes apart → two incidents, near-miss score 0.60 < 0.70.No policy, executor or fixture-model logic changed. The training event's output is byte-identical (hashed before and after for three seeds).
Verification
npm ci): same.clean-db-check.sh). New:shared-outages.int.test.ts, plus a demo-route case.deploy-image-smoke.sh): two containers at once, 55 labs, idle reset works, 147 MiB of 512.🤖 Generated with Claude Code