Active project

Jarvis Engine

A supervised, audit-gated automation engine for my own workstation. One AI built it, another audited it 14 times, and the release gate refused two of my own releases. Not live yet, on purpose.

Status, plainly: as of October 26, 2026, Jarvis is not live. The engineering underneath is built and heavily tested. Every AI provider ships switched off with a $0 cap, and the prospecting team has only ever run on simulated data. Jarvis goes live when v1.0.2 passes its final independent audit, deploys, and passes seven checks on the real machine. Not before.

What it is

Jarvis is an always-on supervisor for my AITOOLS workspace and my own PC. It:

  • watches my projects without ever writing to them
  • starts, supervises, and restarts approved helper processes
  • alerts me by email and phone push, and checks in with an outside dead-man’s switch
  • backs up its own database, encrypted, every night
  • deploys only releases that passed an independent audit and their own tests
  • explains all of it on a dashboard in plain English

The rule the whole design hangs on:

AI may assist with decisions and work, but it must not silently acquire control of the engineering environment.

Where it started

In May 2026 Jarvis was a small prototype: 16 Python files, 432 lines, a text-in/text-out loop, and a rule-based router with exactly one skill (adding a row to a test spreadsheet). The voice scripts were manual hardware checks. There were no tests, no supervision, and no alerts. Errors like a corrupt workbook escaped as unhandled exceptions, and no dependencies were pinned.

On October 17 I started over with a goal: an always-on engine that watches AITOOLS without driving it, runs supervised services, tells me when something breaks, and explains itself the way a person would.

Planning before code

The first day produced documents, not features.

  • Ground truth. Every file in the old prototype was inventoried and compile-checked, and that report went through its own independent audit before anything was built on it. It also killed a myth: no Alexa code had ever lived in this project. My Alexa skill was always a separate track.
  • A feature map against OpenJarvis. I used the open-source OpenJarvis project as an outline, not a codebase. All 34 of its components plus 21 of my own got a verdict: keep 2, adapt 24, drop 7, new 22. One deliberate drop: an agent that writes and runs its own code.
  • Where it runs. I weighed a VM, a Raspberry Pi, the cloud, and my own PC. The cloud lost immediately, because it can’t see the drive AITOOLS lives on.
  • Watch, don’t drive. I pushed back on calling AITOOLS an “agent” anywhere in the design, so automation couldn’t creep in through the wording. Jarvis never writes to the AITOOLS drive, and its own database lives somewhere else entirely.

Two trust domains

The development tools (Claude Code, under my direction) can change AITOOLS projects. The running Jarvis watcher cannot. It can look, run approved read-only Git checks, and report. It doesn’t treat seeing a repository as permission to run code in it, and it doesn’t “fix” things it notices.

These are separate trust domains on purpose, not contradictory rules.

What’s in it

AreaRecorded status
Read-only project watcherImplemented and tested
Dashboard: project pages, search, filters, activity feed, decision inboxImplemented and tested
Helper health checks and restartsImplemented and tested
Persistent approvals and pause controlImplemented and tested
Release and rollback toolingTested with fixtures
Encrypted nightly backup and restoreTested with fixtures
Email and push alerts, external watchdogTested with fakes
AI provider routing and budgetsImplemented; every provider off, capped at $0
Website prospecting teamImplemented; simulated data only
Local AI laneImplemented; off
Memory staging and redactionImplemented and tested
Skills intakeQuarantined; execution disabled
Read-only Google connectorsFake-tested; not signed in
Holosphere visualizationImplemented; visual check pending
Voice, phone-to-PC control, trainingNot built

Design decisions worth showing

The architecture is governed by 36 numbered decisions (D1 to D36) in a separate AITOOLS-PROTOCOL project. A few that shape the system:

Approvals bind to exact content

A vague “yes” can’t be applied to something else. Approvals are tied to the exact proposal and files, expire, can’t be replayed, and an unanswered one stays held. Pause survives restarts.

Without a new approval, Jarvis may only send its own health check-ins, alert me on channels I already authorized, use an AI provider inside an approved budget, and restart already-approved helpers. Contacting anyone, publishing, spending, starting a new program, or writing outside its own state all require me.

Alerts that match the urgency

  • INFO goes into a digest.
  • WARN comes by email.
  • CRITICAL comes as a phone push.

An outside dead-man’s switch is required, not optional: if Jarvis stops checking in, something that isn’t Jarvis notices. For go-live that’s a hosted service. I’d rather self-host it later than depend on someone else’s servers for the one alarm that has to work.

Helpers get supervised, not trusted

  • Checked every five minutes.
  • Restarted only on their already-approved version.
  • Six crashes in an hour and automatic restarts stop.
  • Jarvis never edits its own code or config to recover.
  • A failure produces a plain-language suggested fix, without an AI call.

Known limit: a process being alive doesn’t mean it’s healthy. A hung helper can look fine.

Outbound connections are capped

At most four simultaneous outbound connections for email, push, watchdog, digests, and AI calls. A connection holds its slot until the underlying operation actually ends, because a Python timeout doesn’t reliably kill a stuck DNS lookup. One audit found stalled lookups could pile up threads. That finding is where this cap came from.

In testing, 20 stalled DNS operations never produced more than four worker threads; the other 16 were refused immediately instead of piling up.

Honest limits: the pool is per process; a send that timed out may still have arrived, so exactly-once delivery isn’t assumed; and if all four slots stall, even the heartbeat waits, which is exactly when the external watchdog should notice.

Privacy-aware AI routing, off by default

General work goes to free-tier providers first (Groq, then Cerebras, then OpenRouter’s free models), then a local model, and Claude last, through one logged wrapper with a daily cap. There’s no Anthropic API key in the system at all.

Sensitive material, including AITOOLS code, work data, and private memory, never goes to free providers automatically. And every provider ships disabled, capped at $0, until I turn it on.

Credentials go into Windows Credential Manager through a one-time script, never into source or prompts.

Filesystem guards

Jarvis’s own state writes are checked against junctions, symlinks, redirected folders, unsafe database paths, and paths that lead back into AITOOLS, including AITOOLS mounted on an unexpected drive letter.

Releases you can roll back

Each release is an immutable versioned folder, with a current junction pointing at the active one. Backups are nightly, encrypted with a key I control, keeping the last 14, and verified on restore: wrong keys, modified backups, and disallowed paths are all rejected in testing. The crypto was checked against known test vectors.

The website prospecting team

A Jarvis subsystem built on October 20–21, 2026: find candidate websites, score their weaknesses in an explainable way, generate an example page and a draft pitch, and drop it in my approval queue.

It never contacts anyone. Sending was never built. Approving a draft only marks it approved. Every pitch is labeled as a concept and carries placeholders for the address and opt-out that anti-spam law requires. In the end-to-end test on simulated data, three sites were flagged, three drafts were produced, I approved one on the dashboard and rejected one from the command line, and zero messages went anywhere.

Real search, page fetching, rendering, and AI connections stay stubbed out until I decide on sources, budgets, target area, and wording.

How it gets built

Architecture + decisions
        ↓
Claude Code builds + tests + handoff
        ↓
Codex independent audit ──NEEDS CORRECTIONS──→ fix, re-audit
        ↓ READY (unqualified)
Release tag → staged deploy → real-machine go-live checks

“READY WITH MINOR FIXES” doesn’t count. The same agent never gets to be both author and judge. The two agents never talk to each other. They only share files (a status file, handoff notes, and audit reports), all tracked in Git.

What the audits caught

Codex audited the work 14 times. 13 of those 14 audits came back NEEDS CORRECTIONS before the re-audit on October 22 finally said READY.

Across them it filed 59 numbered findings: 10 high, 36 medium, 13 low, none critical. 58 were fixed. One high finding was formally accepted as a documented risk, with the reasoning written down as its own decision, rather than quietly ignored.

The kind of thing it caught, in every case code that had passed the builder’s own tests:

  • newly added code that could run without approval
  • a deploy that could write through an existing redirect
  • a pause during sending that didn’t stop the remaining sends
  • stalled DNS lookups that could pile up threads

That’s the whole argument for the process. The builder’s tests passed every time. The independent auditor still found real problems in 13 rounds out of 14.

The release gate held

The first real deploy, v1.0.0, failed at its own built-in test stage. Twice: on the laptop rehearsal on October 24, and again on the PC on October 25 (922 tests, one failure). That was a real bug, and the gate did exactly what it was built to do. The full story is in A release that failed on a dot.

Then the AI tools ran out of usage mid-fix. I verified the fix by hand with ChatGPT’s help (the full suite passed: 931 tests, 16 skipped) and tagged v1.0.1 against that manual report.

But the gate only accepts releases that passed an independent audit, and a manual check isn’t one. A one-time bypass was drafted to let v1.0.1 through. I never applied it. The gate files are unchanged. v1.0.1 stays in the history as a release that was never allowed to ship, and the real release will be v1.0.2.

The gate refused my own release. That’s the gate working.

One more surprise: on October 26 a test started failing because of the calendar, not the code. A hard-coded date meant 272 tests passed on the 25th and failed from the 26th on. It’s fixed, and it’s one more reason the final audit comes before go-live.

Test history

Date (2026)Automated tests
Oct 170
Oct 18102 → 152
Oct 19193 → 232 → 385
Oct 20587 → 659 → 701
Oct 21904
Oct 22922 (audit-cleared)
Oct 24–25931: 915 passed, 16 skipped, 0 failed

Codex reran the full suite itself on every audit. There are also PowerShell 5.1 and 7 script checks, 200-iteration CLI stress runs, and a 30-minute soak test: 14 watched repositories and 109,474 files unchanged afterward, zero attempts to reach anything outside the PC, and every watcher run, self-check, and heartbeat OK.

Passing tests is development evidence. It isn’t production acceptance.

Results so far

Jarvis hasn’t run live, so there are no production results yet. What can be measured:

  • 0 → 931 automated tests
  • 59 audit findings: 58 fixed, 1 formally accepted as a documented risk
  • About a week from the first commit (October 17) to an audit-cleared v1 (October 22)
  • 2 releases refused by the gate: v1.0.0 (failed its tests) and v1.0.1 (not audited)
  • 0 files changed in the watched workspace across the soak test
  • From a 432-line prototype to about 50 engine modules, plus the dashboard and services

Who did what

  • Me: the AITOOLS method, the product direction, all 36 decisions, every gate approval or waiver, the pushback on scope, every real-world step (setup, tagging, deploy rehearsals, the manual verification), and keeping the gate intact when it blocked me.
  • Claude Code: wrote essentially all of the code, tests, design docs, and handoffs.
  • Codex: 14 independent audits, with its own test runs and attempts to break the work.
  • Claude (chat): architecture planning, the OpenJarvis comparison, and the build and audit prompts.
  • ChatGPT: helped with the manual verification.

I didn’t write this code by hand. I designed the system, made the decisions, and built the process that checked every line of it.

Timeline

Date (2026)Milestone
May 24–25The original prototype: 6 commits, a skeleton
June7 architecture constraints locked
Oct 17Fresh start: ground-truth report; first audit says NEEDS CORRECTIONS
Oct 18Feature map against OpenJarvis; read-only dashboard; plain-English layer
Oct 19Supervisor, kill switch, alerts, heartbeat, deploy and rollback
Oct 20Audit fixes; nightly encrypted backups; capped outbound connections
Oct 20–21Prospecting team on simulated data; the full roadmap run
Oct 22Re-audit: READY, 922 tests
Oct 24v1.0.0 tagged; laptop deploy rehearsal fails at the test stage; fix written (A1-06)
Oct 25PC deploy fails the same way; manual verification; v1.0.1 tagged, never allowed to ship
Oct 26Back on track; the calendar-date test fixed

What I took from it

  • An independent auditor finds what the builder’s tests miss. It happened in 13 of 14 rounds.
  • A gate is only real if it holds against you. This one refused a shortcut I’d approved myself.
  • Run the deploy’s tests from the deployed folder. That’s how the dot-folder bug got caught before it mattered.
  • Tests need fixed dates.
  • AI usage limits are an operational risk for an AI-built project. There’s now a rule for swapping roles when one tool runs out.

What’s next

  1. The final Codex audit of the fixes, needing an unqualified READY.
  2. Tag v1.0.2, deploy, and set up the logon task.
  3. The seven go-live checks on the real machine, including: acknowledging an urgent alert on my phone, getting notified when the watchdog misses a check-in, a real backup and restore, and unplugging the AITOOLS drive to see what Jarvis does.
  4. A separate full audit of the newer features before any of them gets switched on.

Until those pass, Jarvis is a well-tested release candidate, not a running service.