@oathe/oathe 0.4.6 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@
4
4
  "name": "Oathe",
5
5
  "url": "https://oathe.ai"
6
6
  },
7
- "description": "The Oathe marketplace: one plugin, the claim loop over the local cell substrate.",
7
+ "description": "The Oathe marketplace: one plugin, the claim loop over the local database.",
8
8
  "plugins": [
9
9
  {
10
10
  "name": "oathe",
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
- # oathe
1
+ # Oathe
2
2
 
3
- **Auto save across your harnesses.**
3
+ **Everyone already has an agent. Oathe is a way for them to work together.**
4
4
 
5
- Make sure your agent actually **DID** what it **SAID** it did.
5
+ An agent network for your team: agent-to-agent handoff between your AI assistant and your coworkers', checked when it comes back.
6
6
 
7
7
  ![Claude Code hits its usage limit mid-fix; Codex opens in the same repo and continues the task — progress, statements, and verification target intact.](assets/oathe-hero.png)
8
8
 
9
9
  You're mid-refactor in Claude Code when it hits a usage limit. You open Codex, say `continue`, and it picks up the same task — what's done, what's left, and a test that decides whether it's actually finished. Nothing pasted, nothing retyped, and the new agent doesn't have to take the old agent's word for anything because models are very good at being wrong AND confident.
10
10
 
11
- That's the product. Below is exactly how much of it works today, because a reliability project that overstates its own status would be a joke.
11
+ That's the product. Here is exactly how much of it works today. Overstating that would be a joke.
12
12
 
13
13
  <img width="800" height="519" alt="Live UI/UX. Picking up a chatgpt app task in Claude code" src="https://github.com/user-attachments/assets/be275ab6-ea90-412a-8cea-0eb4f8f17eac" />
14
14
 
@@ -16,28 +16,28 @@ That's the product. Below is exactly how much of it works today, because a relia
16
16
 
17
17
  ## Quickstart
18
18
 
19
+ You need Node 22.13 or newer and a running Postgres.
20
+
19
21
  ```bash
20
22
  npm install -g @oathe/oathe@latest
21
- oathe init # once per machine, from anywhere: local substrate up (createdb + schema),
22
- # every detected harness pre-selected — space toggles, Enter installs
23
+ oathe init # once per machine, from anywhere: local database up (createdb + schema),
24
+ # every detected agent pre-selected — space toggles, Enter installs
23
25
 
24
26
  cd your-project
25
27
  claude # a normal session — the board is in it; nothing auto-resumes
26
28
  ```
27
29
 
28
- Ctrl-C anytime. Open `codex` in the same folder — same board, same claims, other harness.
29
- When a session dies, the notch's continue reopens the task where it lived in your default
30
- agent; `oathe claude` is the command it runs, and yours if you want a session tracked as one
31
- attempt (`--hermetic` for a curated environment). On macOS, init also seats the notch: a quiet glass on the camera housing that
32
- pulses verdicts and answers a click with the board (`oathe notch --welcome` replays its
33
- tour).
30
+ Ctrl-C anytime. Open `codex` in the same folder and it's the same board and the same claims.
31
+ When a session dies, continue reopens the task where it lived in your default agent. On macOS,
32
+ init also adds a small bar at the top of your screen. It shows verdicts, and a click shows
33
+ your tasks (`oathe notch --welcome` replays its tour).
34
34
 
35
35
  What Oathe reads, stores, and sends: [docs/PRIVACY.md](docs/PRIVACY.md). The full
36
36
  technical reference: [docs/PACKAGE.md](docs/PACKAGE.md).
37
37
 
38
38
  ## What gets saved
39
39
 
40
- most harnesses save transcripts today.
40
+ most agent tools save transcripts today.
41
41
  when projects are getting bigger and bigger this is insufficient.
42
42
  long-running systems are juggling so many tasks that the model loses attention.
43
43
  oathe goes up a layer of abstraction:
@@ -74,25 +74,25 @@ Two rules carry most of the weight:
74
74
 
75
75
  ## What Oathe is not
76
76
 
77
- - **Not a harness.** Claude Code, Codex, OpenClaw and friends keep their own prompts, tools, subagents, and UX. Oathe sits underneath.
77
+ - **Not an agent.** Claude Code, Codex, OpenClaw and friends keep their own prompts, tools, subagents, and UX. Oathe sits underneath.
78
78
  - **Not a model router.** Routers pick where a turn runs. Oathe preserves what work exists, what already happened, and what would finish it.
79
79
  - **Not transcript sync.** No copying hidden state between vendors.
80
- - **Not a sandbox.** Oathe bounds and attributes attempt processes; compose it with your harness's sandbox or VM isolation for filesystem security.
80
+ - **Not a sandbox.** Oathe bounds and attributes attempt processes; compose it with your agent tool's sandbox or VM isolation for filesystem security.
81
81
  - **Not a memory product.** Transcripts are evidence, never the source of truth.
82
82
 
83
83
  ## Status
84
84
 
85
85
  Honest labels, kept current in [ROADMAP.md](ROADMAP.md):
86
86
 
87
- - **Working:** durable tasks and attempts, death-and-recovery (the task survives the session; the next session opens on it), non-author verification, cross-harness handoff (`continue`: same board, same claims, either harness), workspace checkpoints, effect receipts.
88
- - **Designed:** teammate handoff, the reliability benchmark, per-harness drift monitors (docs, install, and live lanes — proven on a developer machine against Claude Code, Codex, and Cursor; the scheduled workflows run in this repository).
87
+ - **Working:** durable tasks and attempts, death-and-recovery (the task survives the session; the next session opens on it), non-author verification, cross-harness handoff (`continue`: same board, same claims, either harness), teammate handoff, workspace checkpoints, effect receipts.
88
+ - **Designed:** the reliability benchmark, per-harness drift monitors (docs, install, and live lanes — proven on a developer machine against Claude Code, Codex, and Cursor; the scheduled workflows run in this repository).
89
89
  - **Planned:** automatic pickup of interrupted work, cloud continuation, third-party conformance.
90
90
 
91
91
  Known limitations are disclosed in the roadmap, including the ones that are semi-embarrassing.
92
92
 
93
93
  ## Under the hood
94
94
 
95
- A small runtime plus a Postgres schema that carries the invariants. The database is deliberately load-bearing: the rules that keep work safe (one current attempt per task, receipts before effects, verification before settlement) are enforced where no caller can route around them. Harness adapters are thin; the substrate is strict.
95
+ A small package plus a Postgres schema that carries the invariants. The database is deliberately load-bearing: the rules that keep work safe (one current attempt per task, receipts before effects, verification before settlement) are enforced where no caller can route around them. Adapters for each agent tool are thin; the database is strict.
96
96
 
97
97
  ## CLI and MCP
98
98
 
package/bin/oathe.mjs CHANGED
@@ -12,20 +12,20 @@ const VERBS = ['init', ...launchable(), 'claim', 'ls', 'note', 'amend', 'done',
12
12
  const USAGE = `usage: oathe <verb> [args]
13
13
 
14
14
  verbs:
15
- init [--harness a,b] [--yes] bring up the local cell substrate + wire the harnesses you pick
16
- ${launchable().map((name) => ` ${name.padEnd(6)} [--hermetic] [args…] ${byName(name).displayName} here as one tracked attempt (what the notch's continue runs; plain ${byName(name).launch.bin} works too)`).join('\n')}
15
+ init [--harness a,b] [--yes] create the local database and set up the agents you pick (needs Postgres)
16
+ ${launchable().map((name) => ` ${name.padEnd(6)} [--hermetic] [args…] ${byName(name).displayName} here as one tracked attempt (what continue runs; start your agent with plain ${byName(name).launch.bin})`).join('\n')}
17
17
  claim <task-id> [objective] claim a task (minting it when new — objective required then)
18
18
  ls [--all] this workspace's board (--all: every workspace)
19
19
  note <task-id> <text> [ref] record a progress statement against your active claim
20
20
  amend <task> "<objective>" "<why>" change what done means, on the record (active claim only)
21
- done <task-id> <what> [ref] assert completion (a completion statement + the substrate's terminal)
21
+ done <task-id> <what> [ref] assert completion (records a completion statement)
22
22
  verify [task] [--all] [--engine ${verifierCapable().join('|')}] run the verification lane (non-author seat settles)
23
- engine update <harness> [--then-verify [task]] update an engine's CLI in place, as the claim update:<harness> (what the glass's update ↗ runs); --then-verify re-judges what its old version failed
23
+ engine update <harness> [--then-verify [task]] update an engine's CLI in place, as the claim update:<harness> (what the update ↗ button runs); --then-verify re-judges what its old version failed
24
24
  trace <task-id> [--out dir] export the claim's linked session traces as ATIF trajectories
25
- notch [--welcome] the whole machine's board + breach digest, pure JSON (only shows); --welcome replays the one-time welcome on the glass
25
+ notch [--welcome] the whole machine's board + breach digest, pure JSON (only shows); --welcome replays the one-time welcome
26
26
  yield <task-id> <note> yield: the task goes back on the board, unowned
27
27
  doctor [--surface] verify every managed surface (--surface: the resolution report only)
28
- status the substrate half of doctor
28
+ status the database half of doctor
29
29
  version the package version on PATH
30
30
  update [--yes] [--harness a,b] the upgrade as one verb: npm i -g @oathe/oathe@latest through this node's npm, then init through the new bin
31
31
  config <key> [value] [--global] read or write a config key (workspace scope by default)
package/docs/PRIVACY.md CHANGED
@@ -11,16 +11,16 @@ Oathe does not crawl arbitrary files. It reads exactly these declared surfaces:
11
11
  the current session's own transcript to learn which tasks the session acted on
12
12
  (`plugin/hooks/heartbeat.mjs`), and `oathe verify` / `oathe trace` read the transcript
13
13
  files linked to a claim. Codex thread indexes are read through `node:sqlite`.
14
- - **Harness configuration it manages**: `~/.claude/settings.json` (two owned keys),
14
+ - **Agent tool configuration it manages**: `~/.claude/settings.json` (two owned keys),
15
15
  `~/.codex/config.toml` (via the codex CLI), and `~/.cursor/mcp.json` + `~/.cursor/hooks.json`
16
16
  (owned entries), plus the project's `CLAUDE.md`/`AGENTS.md` fenced sections.
17
17
  - **Its own state**: the install manifest, backups, artifact store, the workspace registry
18
- (`workspaces.json` — folder path, git identity, when each harness last opened it), the
19
- session registry (`sessions.json` — which local process embodies which harness session,
18
+ (`workspaces.json` — folder path, git identity, when each agent tool last opened it), the
19
+ session registry (`sessions.json` — which local process embodies which agent session,
20
20
  while it lives), and the device identity (`device.json`) under `~/.oathe/`, and the
21
21
  workspace config (`.oathe.json`).
22
22
  - **Process ancestry** (`ps` on macOS, `/proc` on Linux: pids and executable paths of the
23
- writing process's parents) to resolve which harness session a speech act belongs to. Never
23
+ writing process's parents) to resolve which agent session a speech act belongs to. Never
24
24
  sent anywhere.
25
25
  - **Git metadata** of the working directory (root, origin) to derive the workspace identity.
26
26
 
@@ -29,9 +29,9 @@ SessionStart hook (or your first `oathe_claim` there) records the folder in the
29
29
  registry and pins the board's fenced section into that folder's `CLAUDE.md`/`AGENTS.md`,
30
30
  disclosing the write in the session banner. `oathe config autoActivate false --global`
31
31
  turns the file writes off (registration stays); `oathe uninstall` removes every recorded
32
- write. On macOS, `oathe init` also materializes the notch app under `~/.oathe/notch/` and
33
- writes its LaunchAgent (`~/Library/LaunchAgents/ai.oathe.notch.*.plist`); the glass reads
34
- your local substrate and nothing else. Everything stays on your machine.
32
+ write. On macOS, `oathe init` also installs Oathe's macOS app under `~/.oathe/notch/` and
33
+ writes its LaunchAgent (`~/Library/LaunchAgents/ai.oathe.notch.*.plist`); it reads
34
+ your local database and nothing else. Everything stays on your machine.
35
35
 
36
36
  ## Stores (locally, in YOUR Postgres)
37
37
 
@@ -40,7 +40,7 @@ Transcript contents are not copied into the database.
40
40
 
41
41
  ## Attributes (who spoke)
42
42
 
43
- Every speech act records the surface it was spoken from, the app bundle above it, the harness
43
+ Every speech act records the surface it was spoken from, the app bundle above it, the agent
44
44
  session it belongs to, and this install's device id. The session is resolved by walking the
45
45
  speaking process's ancestry and matching it against `sessions.json`; over the local daemon's
46
46
  socket the daemon walks the pid the session's forwarder named — the walk is measured, the
@@ -63,7 +63,7 @@ and passes that rendering to the verification engine you configured (`claude`, `
63
63
  provider (Anthropic, OpenAI, or Cursor) under YOUR account and their terms. If you never run `verify`,
64
64
  nothing leaves your machine. Oathe has no telemetry and phones home to no one. The only server
65
65
  it runs is on your machine: `oathe serve`, a daemon on a unix socket under `~/.oathe/` (mode
66
- 0600 — reachable only by your OS user) that your harness sessions forward to; it opens no port
66
+ 0600 — reachable only by your OS user) that your agent sessions forward to; it opens no port
67
67
  and accepts nothing from the network.
68
68
 
69
69
  Two disclosed sharp edges:
@@ -6,7 +6,7 @@
6
6
  <key>CFBundleName</key><string>Oathe Notch</string>
7
7
  <key>CFBundleExecutable</key><string>OatheNotch</string>
8
8
  <key>CFBundlePackageType</key><string>APPL</string>
9
- <key>CFBundleShortVersionString</key><string>0.4.6</string>
9
+ <key>CFBundleShortVersionString</key><string>0.4.7</string>
10
10
  <key>LSMinimumSystemVersion</key><string>14.0</string>
11
11
  <key>LSUIElement</key><true/>
12
12
  </dict>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oathe/oathe",
3
- "version": "0.4.6",
4
- "description": "Oathe is auto save for AI coding agents: an open-source runtime that moves a task between Claude Code, Codex and Cursor and checks the work was actually done. D0 preview.",
3
+ "version": "0.4.7",
4
+ "description": "Handoff and verification for teams running their own AI agents.",
5
5
  "author": "Oathe Inc. (https://oathe.ai)",
6
6
  "type": "module",
7
7
  "engines": {
@@ -39,6 +39,18 @@
39
39
  "url": "git+https://github.com/oathe-ai/oathe.git"
40
40
  },
41
41
  "homepage": "https://oathe.ai",
42
+ "keywords": [
43
+ "oathe",
44
+ "agent-network",
45
+ "agent-to-agent",
46
+ "a2a",
47
+ "mcp",
48
+ "handoff",
49
+ "ai-agents",
50
+ "claude-code",
51
+ "codex",
52
+ "cursor"
53
+ ],
42
54
  "files": [
43
55
  ".claude-plugin/",
44
56
  "assets/",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oathe",
3
3
  "displayName": "Oathe",
4
- "version": "0.4.6",
4
+ "version": "0.4.7",
5
5
  "description": "Claims are speech acts: your session opens on this folder's board, records progress as statements, and yields what it cannot finish. Horizons move only by deliberate acts — never by session liveness.",
6
6
  "author": {
7
7
  "name": "Oathe",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oathe",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Claims are speech acts: your session opens on this folder's board, records progress as statements, and yields what it cannot finish. Horizons move only by deliberate acts — never by session liveness.",
5
5
  "author": {
6
6
  "name": "Oathe"
@@ -6,7 +6,7 @@ argument-hint: <task-id> [engine]
6
6
  Run verification for the named task with the `oathe_verify` MCP tool.
7
7
 
8
8
  Arguments: `$ARGUMENTS` — the first word is the task id; the optional second word is the
9
- engine to judge with (`claude`, `codex`, or `cursor` — any harness CLI present on this
9
+ engine to judge with (`claude`, `codex`, or `cursor`; any of these on this
10
10
  machine can verify). Passing an engine is how you retry a STALLED verification on a
11
11
  different engine after an outage (e.g. a usage limit): the failed run already released its
12
12
  claim and recorded the failure, so the retry claims cleanly.
@@ -1,12 +1,12 @@
1
1
  ---
2
2
  name: oathe-work
3
- description: Use when working in a workspace with an Oathe board (the SessionStart context shows one) — before starting any substantive task, when reporting progress, when picking prior work back up, and when stopping. Claims are speech acts recorded in the cell substrate via the oathe_* MCP tools.
3
+ description: Use when working in a workspace with an Oathe board (the SessionStart context shows one) — before starting any substantive task, when reporting progress, when picking prior work back up, and when stopping. Claims are speech acts recorded through the oathe_* MCP tools.
4
4
  ---
5
5
 
6
6
  # Working the Oathe board
7
7
 
8
8
  The board in this session's opening context is the durable record of this folder's work.
9
- The substrate refuses dishonesty by construction — work with it, not around it.
9
+ Oathe refuses dishonesty by construction. Work with it, not around it.
10
10
 
11
11
  ## The loop
12
12
 
@@ -23,8 +23,8 @@ The substrate refuses dishonesty by construction — work with it, not around it
23
23
  lease of yours), call `oathe_pickup {task_id}`: the successor sequence returns the compiled
24
24
  frame for the obligation. The obligation, not the conversation, is what comes back.
25
25
  4. **Say done when it is done.** Finished work closes with
26
- `oathe_done {task_id, proposition, evidence_ref}` — a completion statement plus the
27
- substrate's own terminal. Completion is ASSERTED, not settled: verification is still owed.
26
+ `oathe_done {task_id, proposition, evidence_ref}` — a completion statement plus
27
+ Oathe's own terminal. Completion is ASSERTED, not settled: verification is still owed.
28
28
  5. **Yield what you cannot finish.** Stopping without finishing means
29
29
  `oathe_yield {task_id, note}` — the task goes back on the board, unowned, with a declared
30
30
  cause. Walking away silently leaves a lease to expire, which the board will show.
package/src/init.mjs CHANGED
@@ -43,7 +43,7 @@ export async function runInit({
43
43
  const detect = await substrate.detect();
44
44
  if (!detect.reachable) {
45
45
  throw new OatheInitError('OATHE_SUBSTRATE_UNREACHABLE',
46
- 'Postgres is not reachable, so there is no substrate to onboard onto. Install and start '
46
+ 'Oathe needs Postgres and cannot reach it. Install and start '
47
47
  + 'it first ('
48
48
  + (process.platform === 'darwin'
49
49
  ? 'macOS: `brew install postgresql@17 && brew services start postgresql@17`'
@@ -50,9 +50,9 @@ export function makeToolDefs() {
50
50
  {
51
51
  name: 'oathe_claim',
52
52
  description:
53
- 'Claim a task on the cell board (minting it if new — with plan_status honestly "unknown", '
53
+ 'Claim a task on the board (minting it if new — with plan_status honestly "unknown", '
54
54
  + 'never a fabricated plan). A claim is a speech act: it takes responsibility, it does not '
55
- + 'do the work. A second claimant is refused by the substrate. Args: {task_id, objective, parent?}.',
55
+ + 'do the work. A second claimant is refused. Args: {task_id, objective, parent?}.',
56
56
  inputSchema: {
57
57
  type: 'object',
58
58
  properties: {
package/src/setup.mjs CHANGED
@@ -335,7 +335,7 @@ class SetupScreen {
335
335
  text: ` ${label} ${radio}`,
336
336
  fixed: false,
337
337
  kind: 'agent',
338
- hint: '← → choose · who picks your work back up (the notch\'s continue opens this agent)',
338
+ hint: '← → choose · who picks your work back up (continue opens this agent)',
339
339
  };
340
340
  }
341
341
 
package/src/successor.mjs CHANGED
@@ -22,8 +22,8 @@ export async function buildSuccessor({ substrate, identity, paths }) {
22
22
  seam = await import('oathe-runtime/seam');
23
23
  } catch (e) {
24
24
  throw new RuntimeError('OATHE_PICKUP_UNAVAILABLE',
25
- 'the successor sequence needs the oathe runtime, which does not resolve on this machine '
26
- + '— pickup cannot pretend; this is a preview limitation until oathe-runtime lands.'
25
+ 'Oathe cannot rebuild the context for this task on this machine yet '
26
+ + '(a preview limitation).'
27
27
  + ' Continue the task directly instead: its objective and recorded progress are on the board (oathe_board), so inspect the workspace, keep working, record progress with oathe_statement, and assert completion with oathe_done — the claim is already yours.',
28
28
  { cause: String(e?.message || e) });
29
29
  }