I4007 — An idle serve exits by itself after a bound
An idle serve that holds no lease, has no peers and no executions exits by itself after a bound read from policy.
PŘIPRAVENO vlna 0 · p1 · profil implementation · bezpečné paralelně
Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I4007 bude přijato.
Cíl
An idle serve that holds no lease, has no peers and no executions exits by itself after a bound read from policy.
Proč
Idle servers accumulate across worktrees and keep their claims live; each costs memory and a port on a shared machine.
Aktuální stav
Not built: this issue is planned by the milestone a-session-proceeds-through-the-mesh and nothing of it exists.
Cílový stav
The acceptance criteria below hold and case 4007 proves them.
Rozsah
- apps/majordomus-cli/src/serve
- docs/SERVE.md
- test/cases/4007_an_idle_serve_exits_by_itself.sh
- .ai/repo/project/issues/I4007.yaml
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- A serve with a lease, a peer or a running execution never exits
- An idle one exits after the bound and says why on stderr
- The bound is policy data
Validace
- env -u MAJORDOMUS_SHARE -u MAJORDOMUS_HTTP_HOST -u MJ_ROOT bash test/run.sh 4007_an_idle_serve_exits_by_itself
Požadované důkazy
- case_4007_an_idle_serve_exits_by_itself
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/I4007.yaml. Read it back with majordomus plan show I4007.