mas-modes-v0.1-spec/ (contract, message + gateway-event schemas, transition table, message fixtures, statute) vendored into mas_modes. EmailMode implements the master role over the reference ticket service (MasterStore): handoff, negotiation by email, statuses in the thread, timeouts, resume by email, principle 10 shared via mas_modes.mailer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 5787@bnt-lap001 Assistant-Session: 5db26b82-138b-40cc-9856-4d5eb0f752fd
59 lines
1,015 B
JSON
59 lines
1,015 B
JSON
{
|
|
"description": "Handoff status machine (CONTRACT.md section 4). Statuses not listed as keys are terminal.",
|
|
"transitions": {
|
|
"(new)": [
|
|
"requested"
|
|
],
|
|
"requested": [
|
|
"negotiating",
|
|
"scheduled",
|
|
"running",
|
|
"refused",
|
|
"failed",
|
|
"cancelled",
|
|
"timed-out"
|
|
],
|
|
"negotiating": [
|
|
"negotiating",
|
|
"scheduled",
|
|
"refused",
|
|
"expired",
|
|
"cancelled",
|
|
"timed-out"
|
|
],
|
|
"scheduled": [
|
|
"running",
|
|
"attempted",
|
|
"expired",
|
|
"cancelled",
|
|
"timed-out"
|
|
],
|
|
"attempted": [
|
|
"scheduled",
|
|
"failed",
|
|
"expired",
|
|
"cancelled",
|
|
"timed-out"
|
|
],
|
|
"running": [
|
|
"completed",
|
|
"failed",
|
|
"cancelled",
|
|
"timed-out"
|
|
]
|
|
},
|
|
"terminal": [
|
|
"completed",
|
|
"failed",
|
|
"expired",
|
|
"refused",
|
|
"cancelled",
|
|
"timed-out"
|
|
],
|
|
"recorded_only_by_timeout_owner": [
|
|
"timed-out"
|
|
],
|
|
"recorded_by_email": [
|
|
"requested"
|
|
]
|
|
}
|