We Audited Our Own Lifecycle Hub and Caught It Lying Four Ways

Every quarter, somebody pastes a screenshot of the detection kanban board into the steering-committee deck. Eight tidy columns, coloured cards, a little counter in the corner that says Showing 15 of 16. Nobody in the room asks what the sixteenth thing is, where it went, or whether the card sitting in “Approved” was ever approved by anyone. The board looks like governance, so it gets treated as governance. We know this because we built one, pointed it at our own work, and caught it lying in four different ways.

TL;DR: A lifecycle board that merges several object types is a translation layer, not a source of truth, so reconcile its counts, its shared links, its freshness and its status mappings against the backend before anyone puts it in a deck.

What is actually broken: one board, five dialects

The HEFAISTOS Lifecycle Hub (the page literally says “Detection Lifecycle Hub”) shows eight columns: Idea/Hypothesis, In Research, In Development, Peer Review, Approved, Testing/Validation, Deployed and Tuning/Maintenance. Behind those columns sit five separate object families, each with its own status vocabulary: legacy detection playbooks, Workbenches, ACH analyses, AdvOps hunts and MVE drafts. The board fetches all five, squeezes them into one shape and renders cards.

Every one of those squeezes is a place where the board can say something the underlying object never said. A board that only displays one object type can be wrong about freshness. A board that merges five can be wrong about freshness, arithmetic, meaning and permissions, all at once, while still looking great in a screenshot.

Proof: the four lies, with receipts

Lie one: the counter could not count. The board hides legacy HUNT playbooks; the code calls them an “abandoned path”. The old counter’s denominator summed the raw result arrays anyway, so hidden HUNT items counted toward the total. The numerator ignored the Status filter, which only collapsed columns. Take the fixture we now pin in the regression test: 13 deployed detection rules, one rule in research, one abandoned hunt and one deployed Workbench. Select “Deployed” and the old board showed 14 cards under a counter reading “Showing 15 of 16”. Neither number described anything on screen. After the 14 October Kanban overview fix, the denominator is the list the board actually renders and the status filter applies to the cards, and the test asserts:

expect(screen.getByText('Showing 14 of 15 playbooks')).toBeInTheDocument();

Lie two: shared links opened your own opinion. Filters are persisted to both browser storage and the URL, so a link like ?status=DEPLOYED should show the recipient what the sender saw. In the old code, the effect that rewrote the URL from stored filters ran before the effect that read the URL on first load. The link was overwritten with the recipient’s last-used filters before anyone looked at it. You sent “here’s everything deployed”, your colleague saw “here’s everything in research”, and both of you were right about what your screens showed. The fix reads shared-link filters before any effect persists state, and the test plants exactly that trap: browser storage set to RESEARCH, URL set to DEPLOYED, expect the deployed items.

Lie three: yesterday’s board, served warm. All five datasets were fetched with Apollo’s cache-first policy. Come back to the page after someone moved cards in another session and you could be looking at cached statuses. All five now load network-only on mount, and a test checks that all five queries do.

Lie four, still open: the columns don’t mean the same thing for every family. This is the one a code fix doesn’t make go away, because it is semantics, not plumbing:

Legacy detection playbooks are left out of the table; they are the oldest family and the board’s original tenant. Read the ACH row twice. A finished-but-unapproved analysis sits in the Approved column, indistinguishable from one a reviewer signed. Drag an ACH card into Approved and the backend answers “Invalid status”, the optimistic move snaps back and you get a toast. The column title promises an approval that, for that family, nobody gave.

The AdvOps row is a code reading, not a runtime test, so treat it as a hypothesis to check: the model declares no Peer Review state, the update mutation does not validate, and Django’s own documentation is blunt that full_clean() “will not be called automatically when you call your model’s save() method”. The MGMT Cave statistics then count AdvOps by iterating over the seven declared statuses. If a hunt really can land in Peer Review from the board, it drops out of the per-status breakdown management reads.

The fix: refuse loudly, count from the list you draw

The three plumbing lies are fixed in the shipped Lifecycle Hub and pinned by regression tests: the counter uses the rendered list as its denominator and honours the status filter, shared-link filters win over local storage, and the board refetches on load. Dragging is limited to Admin and Reviewer roles on the frontend, and the Workbench mutation enforces the same roles on the backend.

The semantic lie gets the pattern we already ship in two places. The Workbench path validates every transition and refuses to fake a deployment; the MVE path refuses any column its engine can’t represent and says so in plain words instead of silently snapping back. That is the bar for every family on the board: a column either means the same thing for the object in it, or the board refuses the move and tells you why. Getting ACH and AdvOps over that bar means drawing Finished as Finished rather than Approved, and validating AdvOps transitions against the model’s own states. Neither has shipped. We’d rather say that here than let you find it in a quarterly review.

The board is also deliberately not where we count for management. MGMT Cave builds its numbers per object family on the backend. And an Approved column that nobody approved is a worse version of the rubber stamp we took apart in Nobody Can Read Your 400-Line Rule and Everyone Approved It Anyway: there, at least, somebody clicked the button.

Do this Today

  1. Reconcile your board against the backend: for each object type, count items per status with a direct query, add them up, and compare with the board’s totals under two or three filter combinations. Any gap is either a hidden item type or an arithmetic bug; find out which.
  2. Open a filtered board link in a clean browser profile and in your own browser. If the two views differ, your shared links are carrying the recipient’s opinion, not yours.
  3. Write the status vocabulary of every object family next to the board’s columns. Wherever a column has no native status for a family, make the board refuse the drag out loud, the way MVE does, instead of mapping something else onto it.

Count the cards yourself before you present them.


Featured image generated using Artificial Intelligence (EU AI Act transparency notice).