Close five CLI gaps: license --instance, preflight --no-aigw, dev_source, ai_workflows, budget hold

Five gaps in the CLI surface a hosted caller hits.

  • just lab license takes --instance NAME (the recipe fixed two positionals).
  • preflight accepts --no-aigw; it has no gateway check to skip, so the flag only stops the usage error.
  • status --json reports dev_source; schema_version is 18.
  • --license-addon ai_workflows on a lab with the gateway (not --no-aigw, not CE) resolves as self_hosted_dap; an explicit --addon still names the seat.
  • up --budget D sets a hold for D through cmd_hold, clamped to the expiry; without --budget nothing changes.
flowchart LR
  up[up --budget D] --> exp[record_expiry]
  exp --> hold[cmd_hold --for D]
  hold --> clamp{past expiry?}
  clamp -- yes --> cut[hold = expiry]
  clamp -- no --> set[hold = now + D]
  cut --> idle[idle-delete sees the hold]
  set --> idle

Tests: each check failed before the change and passes after (preflight-selftest, recipe-arguments, engine-selftest sections for status, license catalog and budget). Provider selftest passes. No live rig.

Closes #68, #69, #70, #71, #72

Merge request reports

Loading
Loading