I4004 — The executor takes the issue's mesh claim in the handler and releases it when the run ends
The executor takes the issue's mesh claim in the handler of an execution and releases it when the run ends, however it ends; fencing is deferred to I3174 (Mission Control B6).
BLOCKED wave 1 · p1 · implementation profile · runs alone
Blocked. This issue cannot start until I4000 is done. The status is derived from that, not declared.
Objective
The executor takes the issue's mesh claim in the handler of an execution and releases it when the run ends, however it ends; fencing is deferred to I3174 (Mission Control B6).
Why
A claim taken by the caller outlives a caller that died and is not tied to the run that holds the work.
Current state
Not built: this issue is planned by the milestone a-session-proceeds-through-the-mesh and nothing of it exists.
Desired state
The acceptance criteria below hold and case 4004 proves them.
Scope
- apps/majordomus-cli/src/execution
- apps/majordomus-cli/src/mesh
- docs/MESH.md
- test/cases/4004_the_executor_holds_the_issues_claim_while_it_runs.sh
- .ai/repo/project/issues/I4004.yaml
Dependencies
What waits on this
Acceptance criteria
- The claim exists exactly while the run does, and is released on completion, failure, cancellation and an unknown outcome
- A second start for a claimed item is refused naming the holder
- Fencing is not written here: it is I3174's, and this issue records the dependency
Validation
- env -u MAJORDOMUS_SHARE -u MAJORDOMUS_HTTP_HOST -u MJ_ROOT bash test/run.sh 4004_the_executor_holds_the_issues_claim_while_it_runs
Evidence required
- case_4004_the_executor_holds_the_issues_claim_while_it_runs
Evidence
None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.
Timeline
- started
- —
- verified
- —
- completed
- —
Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.
Canonical record: .ai/repo/project/issues/I4004.yaml. Read it back with majordomus plan show I4004.