Aegis

Putting checks around AI-assisted development.

Aegis — illustrated portfolio cover.

Categories

GenAI / Developer Tools

Deliverables

CLI · workflow verification

Timeline

v0.10.0 · open source


Source, evidence & PRD

Public CLI · v0.10.0 release verified 16 October 2026

Aegis repository

Documentation and project site

Versioned releases

Product view

Public Aegis project site, captured 30 October 2026.

Public Aegis project site, captured 30 October 2026.

An AI coding agent can skip a required step, lose context, or report success without enough evidence. Instructions alone do not enforce a workflow.

My contribution

I built a command-line workflow tool that records state, checks transitions, retains checkpoints, and requires recorded approvals for defined gates. Written procedures guide judgment while executable checks enforce their own rules.


Key decisions

Keep machine state separate from guidance. Make recovery check integrity. Record what was measured, and leave unmeasured outcomes explicit.


What exists

A public TypeScript/JavaScript repository, tests, documentation, release assets, and a public project site. GitHub confirms v0.10.0 was released on 16 October 2026.


Limit

A workflow checker is not a security sandbox. Passing its checks does not prove the resulting application is correct, nor establish a measured improvement in cost or quality across models.


Explore the work

Aegis repository

Aegis project website

Product requirements document

Portfolio PRD, written 30 October 2026. This retrospective describes the public workflow tool and proposes an explicit acceptance and measurement plan. It does not claim that an application is correct merely because its workflow checks passed.


Product and current state


Aegis is a command-line tool for AI-assisted software work. It records machine-readable workflow state, refuses invalid transitions, retains checkpoints, and requires recorded approvals for defined gates. Written procedures guide judgment; executable checks enforce their own rules.


Shreyash built the tool and its public documentation. The public repository includes implementation, tests, release material, and version-bound evidence. The portfolio previously verified release v0.10.0, dated 16 October 2026. That is a dated release observation, not a statement that no later release exists.


Users and problem


The main user is an engineer working with a coding agent over a long task. A reviewer needs a concrete state and the evidence behind a completion claim. The owner needs control over consequential approvals. These users need to recover the work without trusting a confident narrative alone.


The failure to prevent is a workflow claiming that required work is complete when a required transition, check, or approval has not been recorded.


Scope and boundaries


  • In scope: deterministic transitions, approval records, scoped work state, checkpoints, recovery, validation receipts, and small-change paths.

  • Out of scope: sandboxing an agent with shell access, guaranteeing secure application code, proving every written procedure was followed, or claiming a measured advantage across models without a comparative evaluation.

  • Existing repositories, hooks, and owner instructions must be preserved. The workflow tool supports project authority; it does not replace it.


Core journey


Initialise a repository, inspect the current stage, complete the required work, record the relevant checks, and request the appropriate gate decision. Move to the next permitted stage. During an interruption, save a checkpoint; on return, verify its integrity and reconstruct the work context. Small fixes take an audited short path when eligible rather than bypassing checks by pretending they are large releases.


Functional requirements and acceptance


  • AE-01, essential: the transition graph owns allowed state changes. Acceptance: an attempt to skip a required stage returns a failure and leaves the valid state unchanged.

  • AE-02, essential: a protected gate requires the correct approval record. Acceptance: agent-written prose or a stale approval cannot silently approve a new ship candidate.

  • AE-03, essential: a checkpoint binds the required machine state and evidence to recorded hashes. Acceptance: changing a protected file after the checkpoint causes recovery to report an integrity mismatch.

  • AE-04, essential: interrupted writes and concurrent operations do not silently corrupt state. Acceptance: a defined concurrency and interrupted-write test checks the supported lock and recovery behaviour for the release under review.

  • AE-05, essential: validation records the actual command and result, or says unmeasured. Acceptance: a missing performance measurement cannot become a passing performance claim.

  • AE-06, essential: per-application scope is explicit in a multi-application repository. Acceptance: a receipt from one application cannot satisfy an unrelated application’s required check.

  • AE-07, essential: existing hooks and hand-written guidance survive installation or synchronisation. Acceptance: marker-based updates preserve unrelated owner content and remain repeatable.

  • AE-08, next: a small-change route records eligibility and required test results. Acceptance: the route cannot be used to silently approve a release that still requires an owner gate.


Data, states, and recovery


The relevant records are stage, transition, application scope, gate decision, source revision, validation receipt, checkpoint manifest, and recovery result. Machine state and explanatory documents have different jobs. A missing receipt is not a failed test, and neither is a successful test. Recovery must say whether state is valid, incomplete, or changed, with enough context to choose the next action.


Metrics and evidence


The repository and a released CLI are inspectable outputs. Passing a test suite supports its tested assertions only. This portfolio does not claim a current universal test count, security certification, model-cost saving, or productivity uplift.


  • Proposed invalid-transition rejection: invalid transitions refused divided by invalid transitions attempted in a release-bound adversarial suite. The acceptance target is complete rejection within that declared suite, not proof against every possible attack.

  • Proposed recovery integrity: modified protected fixtures detected divided by deliberately modified fixtures, with untouched fixtures reported separately to expose false alarms.

  • Proposed evidence completeness: completion claims with a matching command receipt and source revision divided by completion claims requiring such evidence, within an audited task set.

  • Proposed operator friction: median time and interventions required to recover a real interrupted task, recorded alongside task type and repository size. No current baseline or target is claimed.

  • Proposed comparative evaluation: matched tasks with the same acceptance rubric, reviewer independence, model settings, source snapshot, and total workflow cost. Measure accepted outcomes and rework together before claiming an efficiency benefit.


Trade-offs and release criteria


Strict transitions can expose missing evidence early, but create friction when the workflow is too coarse. A small-change path reduces that friction while retaining a record. Hashes can show that content changed; they cannot decide whether its meaning is good. Procedure quality therefore remains a review responsibility.


Before a release, run the repository’s required build, tests, and release checks, inspect negative cases, verify the packaged CLI in a clean supported environment, and retain exact revision and artifact records. This portfolio update is documentation work and does not itself perform or certify a new Aegis software release.


Public material


Aegis repository


Documentation and project site


Versioned releases


Create a free website with Framer, the website builder loved by startups, designers and agencies.