Skip to content
View scottcochran's full-sized avatar

Highlights

  • Pro

Block or report scottcochran

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
scottcochran/README.md

Scott Cochran

I work on AI Safety using formal methods, policy as code, and assisted development.

I use AI to make AI safer and easier to work with.

Agentic AI, safe by design

  • TOPAK is an architecture pattern for "Safe by Design" agentic AI collaboration. It treats every agent as Byzantine and keeps models out of the trusted computing base using TLA+, OPA, Cedar, and Paxos.

    • TLA+ specs and proofs, using mutations, witnesses and hypothesis flipping
    • A policy floor in Cedar, narrowed per request by an OPA/Rego bundle that can deny but never grant
    • Multi-Paxos ordering the control-plane log; Kafka as transport only
    • A Rust reference implementation of the admit path, with its admit decision proved in Lean 4
    • Agent orchestration via promoted workflows and a tree of narrowing control planes (Proposed)

TLA+

  • tla-kit: the TLA+ tools in one container image, with an MCP server for agents. Docker is the only dependency.

    • TLC, SANY, PlusCal and TLAPS with Z3, Zenon, Isabelle and LS4, every tool held to a sha256 digest
    • Reproducible builds: base image by digest, packages from a dated Ubuntu snapshot, attested releases
    • 14 MCP tools: parse, symbols, evaluate, TLC runs, simulation, coverage, state graphs, proofs, flip tests and proof sync
    • prove by theorem, step or line, reporting each failed obligation and why each backend failed
    • Paired with the writing-tla-specs-and-proofs plugin; the same setup runs locally and in GitHub Actions
    • tla-kit-selftest checks the image against itself in about 30 seconds

Proof posters

These are click-navigable posters of Lean and TLA proofs. They adapt to light and dark themes, are pinned to source, and reproducibly generated. Each one is released by version tag with checksums.

Writing

The Gripping Hand: thesis, antithesis, synthesis.

Pinned Loading

  1. TOPAK TOPAK Public

    TOPAK is an architecture pattern for agentic AI collaboration inspired by safe by design principles.

    Python 3

  2. tla-kit tla-kit Public

    tla-kit: One container image of the TLA+ tool family, so that the checker and the prover are the same build on a laptop and in CI, and an MCP server over those tools.

    Python 1 1

  3. riemann-diagrams riemann-diagrams Public

    Some visualizations of the Anthropic proof of the Riemann Hypothesis

    Python

  4. riemann-masullo-diagrams riemann-masullo-diagrams Public

    diagrams for the Masullo proof of the Riemann hypothesis

    Python

  5. gov-tla gov-tla Public

    TLA+ models of the procedural core of the U.S. Constitution, checked with TLC and proved with TLAPS

    TLA 1

  6. TLAPS-issues TLAPS-issues Public

    Minimal reproductions of two soundness defects in the TLA+ Proof System (tlapm)

    SMT