FloodgateLock 01 · Codegeist 2026

Forge app for Jira Service Management

One approval folds the storm. Every refusal says why.

164fold·23refused

0 false folds in 24 simulated storms. A person approves every fold.

Staff gauge and recorder trace for Login and SSO on seed A: requests in the last 90 seconds rise from 1 to a peak of 129 against a flood line of 12; the storm is detected at +0:13.5 seconds.050100150−1:000:00+1:00+2:00+3:00+4:00FLOOD LINE 12DETECTED+13.5 S12 in 90 sPEAK 129STORM129peak · in 90 sseed A · settled
  1. +0:13.5SUP-140SSO login fails with AUTH-502 · line crossed
  2. +0:13.2SUP-139All our users are locked out, AUTH-502
  3. +0:12.2SUP-138Sign-in loop ends in AUTH-502
Plate 01 of 11Figures from evidence/ at 8ed3954
FloodgateThe storm · seed A

One outage.

170

near-identical requests, and each one is answered by hand.

  • Agents link, reply and close them one at a time.
  • A real billing question drowns in the flood.
  • JSDCLOUD-4685: over 1,200 votes to consolidate duplicates.
Plate 02 of 11Figures from evidence/ at 8ed3954
FloodgateThe storm · detected
Staff gauge and recorder trace for Login and SSO on seed A: requests in the last 90 seconds rise from 1 to a peak of 129 against a flood line of 12; the storm is detected at +0:13.5 seconds.050100150−1:000:00+1:00+2:00+3:00+4:00FLOOD LINE 12DETECTED+13.5 S12 in 90 sPEAK 129STORM129peak · in 90 sseed A · settled

The flood line is crossed.

Line = max(12, 5 × the normal rate). Login & SSO hits 12 in 90 s at +13.5 s, peaks at 129. The other types stay quiet:

  • Billing4
  • General question3
  • Integrations3
  • Invoices & PDF export3

→ steps the storm: quiet · crossing · peak · passing

Plate 03 of 11Figures from evidence/ at 8ed3954
FloodgateThe gate

A gate that never bends.

Each candidate is refused by the first rule it fails. Nothing outside the gate can be folded, by the scorer, by Rovo, or by anyone.

12 refused by rule on seed A

  1. Same request type (or one the lead ticks)SERVICE2
  2. Created inside the storm windowBEFORE_STORM7
  3. Still openCLOSED1
  4. Not already linkedLINKED2
  5. Not marked do-not-foldOPTED_OUT0
  6. Raised by a customerNOT_CUSTOMER0
Plate 04 of 11Figures from evidence/ at 8ed3954
FloodgateThe score

The score can only refuse.

Inside the gate, similarity can split or refuse. It never adds. Every decoy in the fixture is caught, with the queue page’s own reason:

0 decoys folded. 6 true members it doubted stay in the queue.

  • SUP-158Please send the RCA for last month's AUTH-502 outageShares the error code auth-502 but not the symptom (text 0.12 needed)0.18
  • SUP-180Is the October AUTH-502 incident covered by an SLA credit?Shares the error code auth-502 but not the symptom (text 0.12 needed)0.17
  • SUP-159How do I add a new user to our SSO?Reads as a how-to question, not this outage (0.08 < 0.22)0.08
  • SUP-170Where do I find SAML metadata for our IdP?Reads as a how-to question, not this outage (0.05 < 0.22)0.05
  • SUP-181How do I reset my password?Reads as a how-to question, not this outage (0.00 < 0.22)0.00
Plate 05 of 11Figures from evidence/ at 8ed3954
FloodgateThe review

One screen. One approval.

Local previewThe shipped queue page. Simulated clock, not a Jira site.
The queue page review: 164 fold, 23 refused, lowest scores first, refusals grouped by reason.

The confirm dialog, word for word

Fold 164 requests under a new internal incident?

164 requests from 3 organizations get the reply on their own request. 23 refused stay in your queue.

Approve foldBack

Nothing is linked or sent before this press.

Plate 06 of 11Figures from evidence/ at 8ed3954
FloodgateAfter Approve

Each reply lands on the customer’s own request.

Awaiting first reply · seven captures of one run

164
150
120
90
60
35
5
0
Folded164 done · 0 skipped · 0 failed

What every folded customer reads, on their own request

Thanks for reporting this. We know about the problem, several customers are affected, and we are working on a fix now. You don't need to send more details: we will update this request when it is fixed.

Default reply text, static/queue-page/src/App.tsx. One variant per organization is available.

Plate 07 of 11Figures from evidence/ at 8ed3954
FloodgateBest Rovo agents

Rovo proposes. A person approves.

The agent answers “is there a storm?”, explains a refusal, drafts the reply and stores a proposal. The proposal shows as a banner on the queue page.

It cannot approvepostadd a request
  • get-stormvelocity per request type, and whether it is over the line
  • draft-repliesthe facts of one storm, for the reply
  • explain-refusalwhy a request was refused: rule and score
  • list-weakest-foldsthe ten lowest-scoring folds
  • propose-foldstores a reply and exclusions as a proposal
Plate 08 of 11Figures from evidence/ at 8ed3954
FloodgateProof, from the repo

Every number reruns.

0 / 24

false folds in decoy-storm simulations

npm run sim -- --check
94.1–96.5 %

recall on the storm type, every coded run

evidence/sim-check-run.txt
80.6 / 65.3 %

recall with the error code stripped, still 0 false folds

nocode rows
287

tests passing in 20 files

evidence/test-run.txt
89.9 ms

review compute p50 on in-process fakes, not a fold time

evidence/bench-offline.md
164 / 170

storm requests folded on seed A

evidence/sim-seed-a.json
Plate 09 of 11Figures from evidence/ at 8ed3954
FloodgateHonest by design

What is not measured yet.

  • Live fold timeNo fold has been timed on a real Jira site yet, so no live time is claimed anywhere.
  • ThresholdsTuned on the fixture. Seed B and the live storm are the independent checks.
  • The benchCompute cost on fakes: no network, no Jira rate limits.

Next measurement: the live storm on a real Jira site.

Plate 10 of 11Figures from evidence/ at 8ed3954
FloodgateTry it

Try it on your site.

  1. InstallInstall on a Jira Service Management site (the link is added here once published).
  2. Open the queue pageSix onboarding checks, each with pass or fail and its fix.
  3. Seed a demo storm3 demo organizations, 56 customers, 213 requests. Review, approve, resolve.

edycutjong.github.io/floodgate/judge.html

Plate 11 of 11Figures from evidence/ at 8ed3954

← → keys · N notes · F full screen · landing page · judge page