Repository navigation
Description
Part of #84.
Owner: Anders (@andersalm).
For 0.8.0, follow #84 item 1: Runtime confirms local Stop, replaces an idle engine safely and preserves an active run until it settles. #99 confinement and content-only Get/Keep are deferred after 0.8.0 by #84.
Done means
Release acceptance: Each exposed feature works clearly from start to end, including recovery. Keep unfinished or confusing features hidden until their complete journey passes. Hiding a feature does not complete its task; source checks alone do not establish installed acceptance.
- Get → Use works when idle, after warm use and while another reply is active. Proof: G4 AI on your device: Local AI on seed, Mac and Jetson #84 (comment) (alpha.16 Linux x86/ARM: Get → reply, then Get after Stop → reply, one Home process),
pending_model_status_retries_activation_without_repreparing_content - Model replacement waits for confirmed engine exit, renews file grants and rechecks memory. Moved to 0.8.1 (0.8.1: Local AI recovery, catalogue and offline checks moved from 0.8.0 #379).
- Failed shutdown, orphan children, cancellation and stale activation state recover without duplicate work or lost run ownership. Moved to 0.8.1 (0.8.1: Local AI recovery, catalogue and offline checks moved from 0.8.0 #379).
After 0.8.0 scope retained from the earlier plan
Get obtains and verifies model content; Keep protects retained content; Use requests local execution. Extend the existing inventory and typed operations for those meanings. The current preparation entry point requires local-use authority and checks execution memory before content acquisition.
- A storage-authorized Home can Get and Keep a verified package that exceeds its execution capacity. It can serve that package through authorized Content delivery. Execution-fit checks run at activation and run start; storage/trust limits still govern Get.
- Content-only ownership participates correctly in Keep/Remove, shared-owner protection and reclaim. Successful Get can end as retained with local execution unavailable.
- Use/switch renews grants and rechecks current resources. Replacement waits for observed old-engine/descendant exit; active and uncertain runs keep their original identity and authority.
- More than 64 terminal preparation cycles remain usable. Terminal history releases live capacity while active owners, aliases and uncertain work remain protected. Define request-identity retention and safe stale/changed-ID refusal before compaction; old IDs cannot silently dispatch fresh work. LA-07: Make model state and recovery clear #101 verifies the visible recovery result.
- Crash, timeout, cancel and stale activation reconcile before a retry can dispatch. Source lifecycle changes retain the durable barriers and retention semantics checked by LA-07: Make model state and recovery clear #101.
Avoid a second download API, model store or provider-selection path. #98 owns resource decisions, #101 owns the common presentation/recovery and #103 proves the non-executing holder.
Any added route or capability follows the scoped approval recorded under #173; prefer the existing typed operations and narrowly bound grants.
Acceptance record
Candidate and checks: see #84.
Activity
andersalm commentedon Oct 14, 2026
Item 1 ticked: alpha.16 Linux x86/ARM runs Get, reply, Stop, then Get and reply again in one Home process (#84 (comment)), plus #348's activation test. Items 2 and 3 have no named test or installed run yet; moved to 0.8.1 in #379.
andersalm commentedon Oct 15, 2026
Moved to After 0.8.0 (audit 15 Oct): item 1 done (#84 6169389408, preparation.rs:7244); items 2-3 moved (6169405179) and are also listed in #379; keep one copy there.
andersalm commentedon Oct 19, 2026
The lines here marked "Moved to 0.8.1 (#379)" are tracked only in #379; tick them there, not here. This issue keeps its other open lines, so it stays open.