Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

I3198 — A peer is offered an assignment by capability under a fenced lease, and accepts or refuses it with a reason

Add assignment offer, accept, refuse and return as mesh events and capabilities: the offer names the issue, the required capabilities and the lease; a peer whose declared capabilities do not satisfy it refuses with the missing one; a lease lost mid-run returns the work and says so; nothing executes yet.

BLOKOVÁNO wave 1 · p3 · deep-work profile · parallel safe

Part of mesh-peers-execute-assigned-work — Work is offered to a peer by capability under a fenced lease, and runs there as an execution.

Blocked. This issue cannot start until I3174, milestone:mesh-peers-execute-assigned-work are done. The status is derived from that, not declared.

Cíl

Add assignment offer, accept, refuse and return as mesh events and capabilities: the offer names the issue, the required capabilities and the lease; a peer whose declared capabilities do not satisfy it refuses with the missing one; a lease lost mid-run returns the work and says so; nothing executes yet.

Proč

Release R3 of the 10-13 plan: distributed execution without a second workflow database. The mesh today carries claims, handovers and reviews and executes nothing (docs/MESH.md). Proposed in ADR 0202 (The mesh routes work to an identity, never an address, and selects among proven transports instead of implementing NAT traversal); ADR 0205 (What a runtime can do is a set of separately evidenced facts, and detection never authorises) (proposed; it carries no authority until the owner accepts it). Sources: chatgpt-majordomus:c245#2.

Aktuální stav

Verified: no assignment kind in mesh/cooperation.rs; ADR 0167 seats are claims.

Cílový stav

assignment.* capabilities and events; mesh lab scenario for offer and loss.

Rozsah

  • apps/majordomus-cli/src/mesh/cooperation.rs
  • apps/majordomus-cli/src/capability/builtin/mesh.rs
  • test/mesh-lab/run

Mimo rozsah

  • Running the work on the peer (a second issue, after its decision)

Závislosti

Co na tom čeká

Kritéria přijetí

  • A peer lacking the capability is never assigned and says why
  • Cancellation reaches the holder
  • A duplicate completion is harmless

Validace

  • majordomus plan validate
  • cargo test --lib mesh::cooperation

Požadované důkazy

  • mesh_lab_assignment

Důkazy

Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.

Časová osa

zahájeno
—
ověřeno
—
dokončeno
—

Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.

Canonical record: .ai/repo/project/issues/I3198.yaml. Read it back with majordomus plan show I3198.

Prohledává názvy a popisy všech stránek, které tento web publikuje.