Skip to content
CognaWorks

AI-Assisted Engineering Review: Sentinel

An independent second opinion on software built with AI assistance. Whoever generates the work never approves it.

FOUR REVIEWERS,KEPT APARTTHE WORKUNDER REVIEWA FIFTH ROLEWEIGHS THEMONE VERDICTOF FOURHANDED TOA PERSON
Fig. 07Concept illustration. The idea behind Sentinel: four reviewers examine the same work, each kept apart from the others; a fifth weighs them and gives one verdict of four. The fourth hands the decision to a person.

The problem

The system that wrote the work tends to approve it.

Software produced with AI assistance can look finished and be wrong. Asked to check its own work, one model in every role shares one set of blind spots, and agrees with itself.

Sentinel answers the way institutions that must be trusted have always answered: by separating the roles, limiting what each one sees, and treating easy agreement as a warning.

Five roles

Five views of the same work.

A Sentinel review is not one opinion asked five times. Each role has its own position, its own evidence and its own test, and the fifth answers for the verdict.

  1. 01

    Architect

    Analyses the work: what it is meant to do, and how it is put together.

  2. 02

    Adversary

    Attacks it: looks for the ways it fails.

  3. 03

    Oracle

    Judges whether it survives the conditions it will really meet.

  4. 04

    Auditor

    Checks it against what was decided and established before.

  5. 05

    Governor

    Weighs the other four and issues the verdict.

Four verdicts

Every review ends in a decision.

A review that ends in a list of remarks leaves the decision to whoever is in a hurry. Sentinel ends in one of four verdicts, and the fourth belongs to a person.

  1. 01

    Proceed

    The work stands as it is.

  2. 02

    Revise

    It goes back to its author, with what to change.

  3. 03

    Hold

    It does not go forward until a stated problem is resolved.

  4. 04

    Escalate

    The decision is handed to a person.

From scan to verdict

How a review runs.

  1. 01 · Scan

    Read the whole of it

    Sentinel reads a codebase or a change and maps where to look.

  2. 02 · Triage

    Risk first

    Files are ranked by risk, so that attention goes where an error would cost most.

  3. 03 · Review

    Five positions

    The five roles examine the work in turn, each from its own position and with its own test.

  4. 04 · Verdict

    One of four, with reasons

    The review ends in a decision, and the decision is kept with its findings.

Principles

Structure, not trust.

01

Separated roles
Each role is given only what it needs to see, so that no role can simply repeat another.

02

A different test for each
Each role is judged on something different, so that agreement has to be earned.

03

Agreement is examined
When every role agrees, Sentinel treats the agreement itself as something to check.

04

Untrusted by default
Code can carry text written to mislead its reader. Sentinel handles everything it reviews as data, never as instruction, and checks it for planted instructions before any role sees it.

05

Before acceptance, or after
Sentinel reviews a change before it is accepted, and audits a codebase that already exists.

06

A record that learns
Every review is kept. A verdict marked wrong is recorded as wrong, and the record shows the trend.

Applied at CognaWorks

Used first on our own work.

Sentinel’s review method has been applied across the control software of ReliefSense, our environmental-control program, and its findings went into the work.

Sentinel is also the review step of Forge, our system for building software in planned stages: a build is assembled, and Sentinel rules on it before anything is delivered.

Applications

Wherever software is built faster than it can be checked.

Sentinel is designed for engineering teams that use AI assistance and still have to answer for what they ship.

Teams adopting AI assistance
A second opinion that does not share the author’s blind spots.
Safety-critical software
Where an error is expensive: review that is recorded and can be repeated.
Technical due diligence
An audit of an existing codebase before it is relied on.
Research in AI-assisted engineering
A review structure that can be studied, measured and improved.

Development

Reviewers that differ in more than their instructions.

The work ahead seats different AI models in different roles, keeps watch on a codebase continuously, and packages review standards for particular fields.

From the Journal

Why AI-Written Code Needs an Independent Reviewer

Read the article

Engineering discussions

Reviewing software built with AI assistance? Compare methods with us.