Skip to main content
Compendium / Governance & Risk / Thresholds / Red Zone Stamp
#565

Red Zone Stamp

Rubber-stamp marking a metric as having entered the red zone — autonomy must halt.

STABLE GO
#stamp #real-content #dark-mode-tested #responsive
Live

THR-014 / error-rate

Error rate breached its red threshold at 14:02. Autonomous promotions are suspended until the metric returns under amber.

RED ZONE
error-rate · 4.7%
Spec

Intent

The framework treats colour zones as governance contracts: red means stop. This stamp records that verdict against a metric and a snapshot value.

Acceptance Criteria

  • [ ] Diagonal stamp at -10deg
  • [ ] Danger-coloured double border
  • [ ] Verdict text + metric + value
  • [ ] Negative: pointer-events-none

Constraints

  • Pure CSS
  • Theme-aware
// red-zone-stamp.astro
---
import type { CompendiumMeta } from '../../../data/types';

export const meta: CompendiumMeta = {
  id: 565,
  slug: 'red-zone-stamp',
  name: 'Red Zone Stamp',
  category: 'governance-risk',
  subcategory: 'thresholds',
  pillar: 'go',
  description: 'Rubber-stamp marking a metric as having entered the red zone — autonomy must halt.',
  spec: `## Intent
The framework treats colour zones as governance contracts: red means stop. This stamp records that verdict against a metric and a snapshot value.

## Acceptance Criteria
- [ ] Diagonal stamp at -10deg
- [ ] Danger-coloured double border
- [ ] Verdict text + metric + value
- [ ] Negative: pointer-events-none

## Constraints
- Pure CSS
- Theme-aware`,
  tags: ['stamp', 'real-content', 'dark-mode-tested', 'responsive'],
  status: 'stable',
  health: { ics: 90, a11y: 'aa', themed: true, animated: false },
};
---

<section data-this-component class="w-full bg-paper text-black border-4 border-black p-4 relative overflow-hidden">
  <div class="opacity-60">
    <p class="font-mono text-[9px] uppercase tracking-widest mb-1">THR-014 / error-rate</p>
    <p class="text-[11px] leading-snug">
      Error rate breached its red threshold at 14:02. Autonomous
      promotions are suspended until the metric returns under amber.
    </p>
  </div>
  <div class="absolute top-1/2 start-1/2 -translate-x-1/2 -translate-y-1/2 rotate-[-10deg] pointer-events-none">
    <div
      class="border-4 border-danger text-danger bg-paper/40 px-3 py-2"
      style="box-shadow: inset 0 0 0 2px var(--color-danger), 0 0 0 1px var(--color-paper);"
    >
      <div class="font-black text-[16px] uppercase tracking-[0.14em] leading-none">RED ZONE</div>
      <div class="font-mono text-[8px] uppercase tracking-widest mt-1 text-center opacity-90">error-rate &middot; 4.7%</div>
    </div>
  </div>
</section>