Unmarketed Labs
Case study · 2025

CR News

Full-stack buildNewsroom CMSSecurity architecture

A full-stack publication and a secure newsroom CMS for Cockroach Republic News, built for content integrity under legal pressure.

Full-stackNewsroom CMSSecurity architectureInfrastructure
The public site: a story, the corrections log, the charter and How we workcrnews.in · Phone

Not a website. Infrastructure built for content integrity.

Cockroach Republic News is an independent Indian digital newsroom focused on power accountability: the stories powerful people would rather not see published. CR Desk, the internal CMS, was built alongside the public site in a single Next.js application on Supabase and Vercel.

It needed a system that could survive a legal notice without panicking, maintain an unalterable revision record, and stay online through the failure modes that knock small newsrooms offline. The CMS had to behave as though a hostile actor was already looking for a way in.

What it had to do
  1. 01

    Survive a legal notice without panicking.

  2. 02

    Keep an unalterable revision record.

  3. 03

    Stay online through the failure modes that knock small newsrooms offline.

  4. 04

    Behave as though a hostile actor was already looking for a way in.

CR News

Built for journalism that will not back down.

The story page

How it was verified

Every story says how it was verified: the documents behind it and the right of reply, on the page.

The story body

Sources inline

Every claim carries its source inline, in the body of the story.

The publish gate

Two keys to publish

Publishing takes two keys, and the database enforces it. The person who clears the gate can never be the story's author.

CR Desk · the publish path

One editor should never be the only lock.

The two-key publish gate is enforced by a database trigger, not by policy. Publishing requires a cleared charter checklist and a second person who is not the author.

  1. 01

    The author files

    The story is written and filed in CR Desk.

  2. 02

    Charter checklist

    A 6-of-6 charter checklist must be cleared.

  3. 03 · Second key

    Cleared by someone else

    The person who clears the gate can never be the story's author.

  4. 04

    Database trigger

    The gate is enforced by the database, not by policy.

  5. 05

    Archived on publish

    Archived to the Wayback Machine on publish, and again on every update.

RevisionsInsert-only history

No record can be overwritten, only appended: a timestamped chain of evidence.

PublicMedia bucket

For published assets.

PrivateEvidence locker

Source materials stay private until publication, behind MFA-mandatory sign-in for every desk user.

Three decisions
  1. 01

    A legal notice is a test of the archive

    Every published story is archived to the Wayback Machine automatically on publish, and again on every update. The revision history is insert-only at the database level: no record can be overwritten, only appended. A legal challenge meets a timestamped chain of evidence it cannot unravel.

    Infrastructure
  2. 02

    A single editor cannot be the only lock

    The two-key publish gate is enforced by a database trigger, not by policy. Publishing requires a 6-of-6 charter checklist to be cleared, and the person who clears the gate can never be the story's author.

    Data architecture
  3. 03

    Evidence private until publication, then permanent

    Two storage systems: a public media bucket for published assets, and a private evidence locker for source materials, behind MFA-mandatory authentication for every desk user.

    Security
Design system
CR NEWS

When the lights come on, they scatter.

Archivo Expanded, 125 width, 900 · masthead and headlines

Aa Aa

Investigation · Courts & Law

Source Serif 4 · article body / IBM Plex Mono · kickers, labels, documents

Chitin black
#110C08
Newsprint
#F9F6F2
Signal
#F2D42D
Oxide
#983D1F
Verdict: true
#2B7440
Verdict: false
#B3241F
Misleading
#AD7300
Correction
#2A669F
Investigation✕ False~ Misleading✓ True§ Correction

A claim in the body of a story, with its source set inline (document, page, date).

How we verified this
  • Primary document, with page reference
  • Right of reply: when it was sent, when it was answered

Components · verdict badges, inline citation, verification box

Hairline
Section 3px
Radius 0
4px 4px 0

Rules, not boxes · square corners · one hard offset shadow

§ CorrectionDated
We said

What the story said.

Correct

What is correct, and when it was fixed.

Newsprint

§ CorrectionDated
We said

What the story said.

Correct

What is correct, and when it was fixed.

Blackout, the dark theme

By design
2 keysto publish a story, enforced by a database trigger.
6 of 6charter checklist items cleared before the gate opens.
2 storesa public media bucket and a private evidence locker.

Up next

Building something similar? Tell us about it.