Skip to main content

Proof capsule

Media Monitor

AI workflows and reliability engineering

A governed AI-assisted news workflow with versioned contracts, deterministic tests, and an explicit publication boundary.

Problem

News monitoring becomes fragile when sources, generated drafts, editorial notes, and public output share hidden assumptions. The system needs stable data ownership, observable stages, and a clear boundary between a model suggestion and something fit to publish.

What I built

I built a modular workflow from source ingestion and immutable sensing runs through contract-backed indexes, editorial briefs and drafts, revision branches, publication-aware snapshots, and request-time freshness checks. A draft can only become published_article.v1 through an explicit promotion path.

My role and ownership

  • Designed contracts and stage boundaries across ingestion, editorial generation, publication, and deployment.
  • Implemented the guarded editorial workflow, deterministic contract checks, telemetry, and public health contract.
  • Defined the evidence boundary: model output is a draft; publication authority remains outside the model.

Key decisions

Keep model output in a draft/revision lane instead of letting it write a publication record.

Tradeoff: Adds an explicit handoff, but makes authority and failure handling inspectable.

Use versioned contract buses and deterministic read models between stages.

Tradeoff: Requires schema discipline, but reduces hidden coupling.

Expose freshness and deployment identity through a health contract.

Tradeoff: Health is more than a reachable URL, but still needs current observation.

Reliability & testing

The repository defines tests for structured model outputs, rejection/revision branches, adopter-acceptance gating, and operator telemetry. These use simulated outputs; they are not a model benchmark or evidence of sustained production success.

  • test_editorial_ai_workflow.py: simulated accept, reject, and revise paths.
  • test_adopter_acceptance.py: prevents synthetic records from establishing adoption.
  • test_operator_stage_telemetry.py: redacted stage failures and timelines.

Recovery: Rejected or revised drafts remain outside the publication contract; stage failures are represented in operator telemetry.

What this proves

  • Design AI-assisted workflows with explicit data and authority boundaries.
  • Separate simulated/model-produced drafts from durable contracts and publication state.
  • Treat tests, telemetry, and freshness checks as operational evidence without calling them model-quality benchmarks.

Key principles

  • A generated draft is not published analysis.
  • Publication authority is an explicit boundary.
  • Test-defined behavior is not the same as measured model quality.