mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
64a81e28e7
Intent snapshots and verdict artifacts now default to
.agents/ao/{intents,verdicts}/sha256/ so all session/evidence state lives
under .agents/ as the single agent-state root. Updates validate.py defaults,
ao init/status/demo, the cathedral conformance probe, craft_score.py digest
resolution, and every doc/skill mention. Existing artifacts migrated in
place; .agentops/ retains only the tracked project config.yaml.
Co-authored-by: Cursor <cursoragent@cursor.com>
63 lines
2.6 KiB
Markdown
63 lines
2.6 KiB
Markdown
# Agent workflow reference
|
|
|
|
This document expands the repository contract in [AGENTS.md](../AGENTS.md).
|
|
|
|
The public AgentOps workflow has one pass:
|
|
|
|
```text
|
|
RPI -> Plan -> Implement -> fresh Validate -> durable verdict -> report and stop
|
|
```
|
|
|
|
## 1. Plan
|
|
|
|
Resolve one active behavior in the caller-owned tracker, issue, or conversation.
|
|
Keep acceptance, important non-goals, required evidence, write scope, and the
|
|
first useful check in that source. Do not create a second planning artifact.
|
|
|
|
The runtime snapshots the exact resolved source bytes under
|
|
`.agents/ao/intents/sha256/<digest>.intent`. This is derived identity, not a
|
|
model-authored packet, and makes conversation-only intent readable by a fresh
|
|
validator. The pure helper accepts a file or stdin:
|
|
|
|
```bash
|
|
python3 skills/validate/scripts/validate.py snapshot-intent --source PATH # use - for stdin
|
|
```
|
|
|
|
## 2. Implement
|
|
|
|
Run one bounded RED-GREEN-refactor experiment when the behavior supports it.
|
|
The runtime derives factual check receipts, actual changed paths, author context
|
|
ID, and `subject-manifest.v1`; the model does not transcribe them into a
|
|
candidate packet. Implement does not commit, claim, repair, retry, close, push,
|
|
or deliver.
|
|
|
|
## 3. Validate
|
|
|
|
An author-distinct context judges the exact subject against acceptance and
|
|
writes one content-addressed `verdict.v2`. Validate is the only verdict writer.
|
|
It returns `PASS`, `FAIL`, or `NOT_PROVEN`, lists checked and unchecked scope,
|
|
and stops. PASS requires nonempty checked scope, top-level evidence, and evidence
|
|
for every criterion. A `NOT_PROVEN` finding states the concrete missing runtime
|
|
precondition or examined uncertainty; it does not manufacture a next action.
|
|
Validate does not repair, re-plan, choose a next action, or authorize Git.
|
|
|
|
## 4. Caller continuation
|
|
|
|
The caller receives the RPI report and decides what happens next. A revision
|
|
updates the caller-owned intent source and starts a new invocation. RPI creates
|
|
no parallel revision artifact. Changing acceptance changes the intent digest.
|
|
|
|
## Optional surfaces
|
|
|
|
Premortem, postmortem, councils, idea genies, runtime adapters, research tools,
|
|
and factory dispatch are caller-selected. They never become hard dependencies
|
|
or lifecycle authorities. `dispatch_once` executes only explicitly supplied,
|
|
disjoint work once and performs no selection, retry, validation, integration,
|
|
Git, closure, or delivery.
|
|
|
|
## Repository mechanics
|
|
|
|
Git branches, worktrees, trackers, pull requests, merge queues, CI, pushing,
|
|
rollback, and release are repository or caller policy. `ao gate check` may run
|
|
deterministic checks; it conveys no semantic verdict.
|