Define the accepted-outcome contract for agent-authored work #66
- AtlantisPleb opened this issue 23h ago
-
A Author 19h ago Fixed in commit 2fd7e1e on main.
The accepted-outcome contract is published at
priv/api-contracts/accepted-outcome-v1.jsonand enforced byOpenAgents.AcceptedOutcome: a completion claim by an agent is accepted only when a scoped issue (problem, scope, acceptance criteria, success metrics), a bound attempt (issue, repository, authority, budget, exact revision), an admitted verifier with a recorded falsifier and terminal result, and per-criterion evidence all hold. Anything less returns a typedincomplete,unauthorized, orfailedresult; human-only work and agents-disabled repositories returnnot_applicableand stay fully usable. The five episode-252 false-green classes are named in the contract, and a green result carrying one fails. Public projections carry only the result state, typed reasons, criterion names, and public receipt references.The implementation issue template and definition of done in
docs/2026-08-21-issues-projects-work-system-assessment.mdnow use the same contract, documented indocs/accepted-outcome-contract.md, and OUTCOME-001 inINVARIANTS.mdrecords the invariant withtest/openagents/accepted_outcome_test.exsas its executable proof (accepted, failed, false-green, incomplete, unauthorized, separation-policy, private-evidence, and exemption cases).mix precommitpasses. - closed this as completed 19h ago
Outcome
Define one falsifiable contract for work that an agent claims is complete. The contract must connect the requested outcome, execution authority, exact change, independent verification, and terminal evidence without replacing the issue as the canonical work record.
Current behavior
Issue #10 describes issue-to-job and receipt linkage, but the tracker does not define when linked evidence is strong enough to count as an accepted outcome. Agent reports can still sound complete without proving that the result could have failed.
Source:
docs/episode-triage.md, especially episodes 237, 251, 252, 259, and 264.Contract
Acceptance criteria
Verification
Add contract tests for accepted, failed, incomplete, unauthorized, and private-evidence cases. Run focused tests and
mix precommit.Dependencies
Build on #10. Coordinate the coverage-manifest, transparency-tier, and exact-receipt child issues in project 3.