JT / SAGE IDEAS Work with me

03 Evidence

Developer tooling · Open-source project

Results that carry a receipt.

Sage Kernel is a local MCP server for engineering work: inspect a repo, run gates, record what happened. This page counts what is in the repo and says what is not proven.

Public repo · MITCounted from origin/main on 2026-11-21github.com/JasonTeixeira/sage-kernel

FinishedThe 140-tool MCP server and its hash-chained proof ledger are public under MIT.NextPublish a recorded session from a real MCP client next to the simulator.

MCP tools in apps/mcp-server/tools.json
140
safe / mutating / approval-required tools
117 / 21 / 2
test files (tests/*.test.mjs)
122
architecture decision records
4

The problem

When an AI coding agent says a task is done, the claim is only as good as whatever backs it. I wanted one local surface where an agent or a person can run a check and get back a record of what actually ran, with the input and output hashed and each record chained to the one before it.

Sage Kernel is that surface: a stdio MCP server, usable from any MCP-capable client. It is my own project, not a client engagement.

Constraints

  • The product surface is a terminal MCP server over stdio (ADR 0002); there is no GUI to maintain.
  • The deep analysis engines target JavaScript and TypeScript; other languages get profile detection and repository meta-checks (the README says so up front).
  • Tools that change state are labelled by risk, and two require an approval before they run.
  • Runtime dependencies stay small: five in package.json.

Architecture

request path / sage-kernelPublic repo · MIT
One tool call, from client to proof record1. MCP client: Claude Code, Cursor, others. 2. stdio JSON-RPC: tools/call. 3. Tool handler: risk and permission checks. 4. Proof ledger: canonical JSON, SHA-256, prevHash. 5. Verify: recompute hashes, check links01MCP clientClaude Code, Cursor, others02stdio JSON-RPCtools/call03Tool handlerrisk and permission checks04Proof ledgercanonical JSON, SHA-256, prevHash05Verifyrecompute hashes, check links
One tool call, from client to proof record

Each record stores the hash of its input and output and the hash of the previous record. Editing any field breaks its own hash; editing and re-hashing it breaks the next record link. An optional head anchor catches truncation. The ledger source states that without a secret key (SAGE_LEDGER_KEY) it is tamper-evident against accidents, not tamper-proof against someone who can rewrite the files.

What shipped

  • 140 MCP tools across project profiling, review, security, testing, workflows, jobs, approvals and proof.
  • A proof ledger with canonical JSON hashing, a hash chain, optional HMAC seal and head anchor.
  • 4 ADRs recording the hard-to-reverse decisions, such as the stdio-only surface and the enforced coverage floor.
  • An in-browser explorer on this site that reads the real tool catalog and re-implements the hash-chain check so you can tamper with a record.

Evidence and receipts

  • Owned

    Source repository

    MIT licensed. Tool catalog at apps/mcp-server/tools.json, ledger at packages/proof/ledger.mjs.

    Codegithub.com/JasonTeixeira/sage-kernel

  • Simulated

    MCP tool explorer

    Search the 140 tools, fill a schema-generated form, run a simulated call, then tamper with its proof record.

    Inspect/lab/mcp-explorer.html

What I would do differently

  • Publish a recorded session from a real MCP client next to the simulator, so the difference between simulated and real output is visible side by side.
  • Move the public repo workflows off GitHub-hosted runners, or document why they stay, so the CI setup matches my other repos.
  • Report the executed test count from a CI run instead of a static count of test declarations.

Honest limitations

01 Input

Next step

Bring an AI feature or workflow that has to keep working. We scope the first verifiable step on a 15-minute call, and I give an honest answer on fit either way.

Book a 15-minute call Not sure what you need? Answer 3 questions

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions