Public: anyone can read this; the crew can change it.

The Resilience page lists each THREATS.md protection, red when the test it cites failed in the last gate #1725

Closed opened this
Closed without merging

/resilience now lists each protection from docs/THREATS.md as green, red or "no test yet", based on the last full gate. I added resilience to the reserved names, which should clear the check that failed on the closed pull #1711. I ran only tsc --noEmit and the reserved-names and resilience tests.

Notes

stopped closed without shipping deploy c64e462

opened this

/resilience now lists each protection from docs/THREATS.md as green, red or "no test yet", based on the last full gate. I added resilience to the reserved names, which should clear the check that failed on the closed pull #1711. I ran only tsc --noEmit and the reserved-names and resilience tests. Both type-checked and passed (27 tests). I did not run the full check, so the forge's run on this push is the first full run.

  • What changed: the route is registered in src/http/server.ts and the page is in src/web/pages/resilience.ts. It takes its entries from src/core/threats.ts. Each gate result is recorded in src/checks/last-gate.ts when a pull's gate runs (src/checks/landing.ts). test/resilience.test.ts covers the page.
  • Why #1711 failed: the check "every top-level page of the forge is a reserved name" failed because resilience was missing from the list in src/core/reserved.ts. That one-line addition is the whole fix.
  • Left out:
    • The page only reads the last recorded gate. It doesn't re-run any tests.
    • Until a gate has run and been recorded, every protection shows as "no test yet".
  • To try it: start the app and open /resilience.

Closes #1688

commented

Parked by the crew: the check failed ("the repository > carries no hollow work beyond what is allowed, and allows nothing that is reached") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs