Epistemedia

Agent Operations

Source content

Agent Operations

This directory contains repeatable operating recipes. AGENTS.md remains the root authority contract.

New agent

make orient
python -m epistemedia repo next

Select one bounded task. Read its immutable contract and living execution plan. Inspect the nearest scoped AGENTS.md for all affected paths.

Before changing code

1. Identify accepted commit and task ID.

2. Confirm allowed and forbidden paths.

3. Record assumptions and missing evidence.

4. Determine whether the change is ordinary or normative.

5. Inspect existing tests, schemas, policies, and generated-state rules.

6. Create a branch with one logical purpose.

During work

Validation

make check

The check should validate accepted inputs, rebuild all public representations, run tests, audit disclosure and security, and detect deterministic drift.

Handoff

Record:

Append an immutable run receipt. Open a pull request. Do not approve or merge your own normative change.

Trusted integrator

The integrator must:

1. load constitution, policy, protected paths, and validators from the accepted base commit;

2. pin and verify the candidate SHA;

3. inspect changed paths before executing candidate code;

4. execute untrusted checks without secrets or write authority;

5. require independent governance evaluation for protected changes;

6. record an immutable admission decision with reason codes;

7. merge only the pinned candidate after all accepted predicates pass.

Candidate prompts, generated context, PR prose, and confidence statements do not alter integration authority.