skip to main content
Atharv Kulkarni

Jarvis · 04Workspace harness for coding agents

Jarvis

A personal operating layer that tells several AI coding assistants where things live, what was decided before, and how to hand work to each other safely.

A workspace-level harness layered over off-the-shelf agent loops (Claude Code, Codex, OpenCode): routing, skills, decision memory, tiered delegation, generated interfaces and checkpoint contracts.

Claude CodeCodexOpenCodePythonTypeScriptNext.jsSwift 6MLX SwiftGit submodules
current statusverified
Private, in daily use. A private workspace in daily personal use. It has no users, customers or sales, and no public deployment.
intended user
One engineer who runs several coding agents every day and wants them to share the same rules, memory, delegation paths and verification habits.

where to look

  • Workspace and repository

    Private; it holds personal material and is not published.

    privateverified

  • Console and trading desk

    Local-only interfaces bound to the Mac; not reachable publicly.

    privateverified

  • VPS observatory

    A local, read-only dashboard; the server exposes no metrics port.

    privateverified

decision records
21
delegation tiers
3
surface primitives
11
cloud task timeout
1 h

02

How it works

Off-the-shelf agent loops run inside shared routing, memory, delegation and checkpoint rules.

Jarvis workspace harnessOff-the-shelf agent loops run inside shared routing, memory, delegation and checkpoint rules.delegation tiershumanAtharvspeaks, asks, approvesinterfaceJarvis Voicelocal speech + cleanupinterfaceConsoleJSON surfaces, fixedprimitivesserviceRouting layerAGENTS.md tree + skillsdataMemorydecision records + GitagentOpenCode workersQwen, isolated worktreesagentSubagentsparallel, scoped promptssandboxCloud tasksCodex on a VPS, 3 workersinterfaceObservatoryread-only VPS viewcontrolCheckpointreview, verify, commitspeakcaptured ideadecidesurfacerecalldelegatedelegatedelegatesanitized metricsdiffdiff + evidenceresultcommit trailers
Jarvis workspace harnessOff-the-shelf agent loops run inside shared routing, memory, delegation and checkpoint rules.delegation tiershumanAtharvspeaks, asks,approvesinterfaceJarvis Voicelocal speech +cleanupinterfaceConsoleJSON surfaces,fixed primitivesserviceRouting layerAGENTS.md tree +skillsdataMemorydecision records+ GitagentOpenCodeworkersQwen, isolatedworktreesagentSubagentsparallel, scopedpromptssandboxCloud tasksCodex on a VPS, 3workersinterfaceObservatoryread-only VPSviewcontrolCheckpointreview, verify,commitspeakcaptured ideadecidesurfacerecalldelegatedelegatedelegatesanitized metricsdiffdiff + evidenceresultcommit trailers

Components:

  • Atharv (human): speaks, asks, approves
  • Jarvis Voice (interface): local speech + cleanup
  • Console (interface): JSON surfaces, fixed primitives
  • Routing layer (service): AGENTS.md tree + skills
  • Memory (data): decision records + Git
  • OpenCode workers (agent): Qwen, isolated worktrees
  • Subagents (agent): parallel, scoped prompts
  • Cloud tasks (sandbox): Codex on a VPS, 3 workers
  • Observatory (interface): read-only VPS view
  • Checkpoint (control): review, verify, commit

Connections:

  • Atharv to Jarvis Voice (human): speak
  • Jarvis Voice to Routing layer: captured idea
  • Atharv to Console (human): decide
  • Routing layer to Console (return): surface
  • Routing layer to Memory: recall
  • Routing layer to OpenCode workers (control): delegate
  • Routing layer to Subagents (control): delegate
  • Routing layer to Cloud tasks (control): delegate
  • Cloud tasks to Observatory: sanitized metrics
  • OpenCode workers to Checkpoint (return): diff
  • Subagents to Checkpoint (return): diff + evidence
  • Cloud tasks to Checkpoint (return): result
  • Checkpoint to Memory: commit trailers

Boundaries:

  • delegation tiers: OpenCode workers, Subagents, Cloud tasks

steps

03

Harness anatomy

The code around the model: what keeps calling it, what it may run, what reaches it, and what bounds it.

01 · loop
Each request starts from a human turn, by voice, console or chat, and runs in an off-the-shelf agent loop that Jarvis wraps.
02 · tools
Skills, a single launcher for local interfaces, delegation helpers for local workers and cloud tasks, and a CLI that pushes surfaces to the console.
03 · context
A hierarchy of AGENTS.md files routes to the owning system; decision records and Git history are the memory; handoff files carry unfinished work.
04 · controls
Isolated worktrees, read-only defaults, a three-worker and one-hour cap on cloud tasks, fixed-primitive surfaces, and checkpoint and verification contracts.
agentsClaude CodeCodexOpenCode

04Architecture

The component inventory behind the diagram: system boundaries and the paths between them.
  1. stage

    Stage 01

    A root AGENTS.md routes each request to the owning system's nested AGENTS.md and its skills; Claude Code reads the same files through one-line overlays.

  2. stage

    Stage 02

    Decision records are the memory, searched together with parent and child Git histories through commit trailers.

  3. stage

    Stage 03

    Delegation runs in three tiers: local OpenCode workers in isolated worktrees, parallel subagents, and isolated Codex tasks on a VPS.

  4. stage

    Stage 04

    A console renders agent-generated JSON surfaces from a fixed set of primitives, and a native voice app captures speech with local models.

  • Stage 01 → Stage 02
  • Stage 02 → Stage 03
  • Stage 03 → Stage 04

05Evidence boundary

What this case study establishes, and what it deliberately does not claim.

verified

  • Decision-record memory

    Durable choices live in numbered decision records, and commits that implement them carry a trailer that links the two.

    basis · Private workspace decision catalog and Git history

  • Bounded cloud delegation

    Cloud tasks run in isolated checkouts with a three-worker cap and a one-hour execution timeout.

    basis · Accepted decision record for parallel cloud tasks

  • Fixed-primitive generated UI

    Agent surfaces are validated against a schema of eleven primitives and cannot carry HTML, CSS, scripts or external URLs.

    basis · Console schema and generated-surface contract

  • Local-only voice capture

    Speech-to-text and text cleanup run on-device; audio never leaves the machine.

    basis · Voice system instructions and its decision record

not claimed

  • Single user

    It is built for one person's workflow and has not been used by anyone else.

  • No outcome metrics

    There are no measured productivity, quality or cost figures for the harness.

  • Private implementation

    The source and its contents are private; only architecture is presented here.

06

Engineering decisions

The design choices, reasoning, and tradeoffs that shaped the system.

  1. One instruction source, many agents

    Keep AGENTS.md canonical and give Claude Code a sibling file that only imports it and adds deltas.

    rationaleTwo agents reading two copies of the rules would drift; one source keeps them aligned.

    tradeoffAgent-specific features need a small overlay and a check script to keep links current.

  2. Delegate by tier, review always

    Route command-verifiable work to cheap local workers, parallel judgment work to subagents, and long jobs to isolated cloud tasks.

    rationaleEach tier costs less where it fits, and isolated worktrees keep parallel writes apart.

    tradeoffThe coordinator must write self-contained prompts and review every result.

  3. Surfaces as data

    Agents emit JSON documents from fixed primitives; the console renders them and records requests instead of acting.

    rationaleA generated screen cannot drift in style or perform an unreviewed action.

    tradeoffUnusual layouts need a new primitive in code rather than ad hoc markup.

  4. Read-only observation

    Watch the VPS through a fixed collector over an existing SSH connection, with no remote agent or open metrics port.

    rationaleVisibility should not widen the server's attack surface or leak prompt content.

    tradeoffThe dashboard can report problems but cannot fix them; fixes stay deliberate.

07Reliability & safety

Controls that make failures visible, bounded, and recoverable.
  • Safety boundary

    Isolated delegate worktrees

    Write delegates work in their own worktree and branch; concurrent writers never share a checkout.

  • Safety boundary

    Console write boundary

    The console writes only its own state and records requests; agents fulfil them under the owning system's rules.

  • Privacy

    Local-only dictation

    Audio and ordinary dictation stay on the device; only an explicitly spoken idea may reach a shaping runner.

  • Observability

    Sanitized telemetry

    The observatory reports host, service and token-count signals, never prompts, responses or credentials.

  • Testing

    Honest verification

    Agents report the checks they actually ran; a skipped test is not a pass and a clean exit is not proof.

08State, material, next

Where the project stands, what can be shown publicly, and what comes next.

current state

  • Used daily as a private workspace; it is not packaged for anyone else.
  • There are no users, customers, sales or adoption metrics.
  • The repository is private; this page describes architecture only.

demo & public material

  • Architecture overviewavailable

    The harness anatomy, diagram and walkthrough on this page.

  • Interface screenshotsavailable

    Fixture-mode screenshots with synthetic data, reviewed before publication; the trading desk is on this page and the console follows.

  • Source repositorynot public

    The workspace holds private material, so the repository stays private.

next steps

  1. 01Measure delegation outcomes per tier: review time, rework and verification failures.
  2. 02Extract the routing and overlay checks into a reusable template for other workspaces.
  3. 03Carry the voice core to the iPhone client already planned in its design record.