A convention for agent work

Give your agents a paper trail.

A small set of files that makes agent work organized and traceable. Readable by you and your agents, versioned in git, with no install and no service.

The folder

Everything lives in one directory, committed alongside the code.

 .epheme/
   rules/       # one file per rule — the intent
   claims/      # one file per change — the record
   links.yaml   # rule → code → test edges
   log.jsonl    # append-only event log
   manifest.md  # generated index of rules and open claims

Three files do the work

1. The rule: intent, written first

A rule states what should be true before the work starts. grounding records where it came from: source is free text (a product decision, legacy behavior, an external spec), rationale is why, and evidence points at the code.

id: R-001
title: Timer keeps running while screen sleeps
when: "the screen locks mid-countdown"
then: "the countdown must continue, not reset"
grounding:
  source: product decision
  rationale: Timers must be trustworthy while cooking away from the device.
  evidence: [src/timer.js:14]

2. The claim: record, written after

A claim records what changed and which rule it satisfied.

# CH-001: Persist timer state

rule: R-001
files:
  - src/timer.js
  - test/timer.test.js
status: approved

3. The links: the trace

Links connect every rule to the code and tests that carry it.

- rule: R-001
  code: [src/timer.js]
  test: [test/timer.test.js]

The workflow

1
Write the ruleState the intent before the work.
2
Do the workIn whatever way you work: an agent, a person, or both.
3
Write the claimRecord what changed, and which rule it satisfied.
4
Add the linksConnect the rule to the code and tests it touched.
5
CommitRegenerate the manifest and commit. Git is the audit trail.

Why files, not a tool

Agents can read it

The convention is a document an agent can follow on its own. That readability is the product.

Git is the audit trail

History, provenance, and signed commits give you the record. Nothing extra to install or trust.

It travels with the repo

Clone it anywhere. No accounts, no service, no lock-in.