Pinky MM: plan-selectable spawns (v1.43.0) #72

Merged
ClaudiuSchuster merged 1 commit from oss-oo/pinky-mm-plans into main 2026-10-02 13:58:51 +00:00
Owner

Plan-selectable spawns in the 🌱 genesis dialog (steer #32; rides zcode-dispatch v1.0.25 --provider).

  • D1 picker grouped BY PLAN: /api/genesis/models gains a plans feed joined from three read-only sources — the registry snapshot (the dispatcher exit-2 validation set), the builtin provider config (display names + enabled models), and the credential store PRESENCE probe (key names only). One selection = a (provider, model) pair; the review step shows BOTH; default = the station config provider. Group labels derive from the data — never hardcoded plan names.
  • D2 provider rides the spawn: POST /api/session/create takes an optional provider (account: shape — anything else is an honest 400 before any spawn); it rides the fixed systemd-run script as a NINTH argv positional behind [ -n "$9" ] guards; absent/empty omits --provider (back-compat).
  • Honest declines: a failed chosen-plan spawn carries providerDecline (credential exit 6 / unknown-id exit 2) in the status feed — an amber chip decorating the verbatim dispatcher text, exit-7 style.
  • D3 quota plan split: the ledger (v1.0.25+) stamps providers per usage entry; the quota panel renders a compact plan split under the lane table, availability-gated (nothing on ledgers without the dimension).

Validation: 423-test suite green (+29 new), Super-Linter station recipe green (all lanes), fake-HOME rig — all 27 legs green (grouped feed from fixture registry data, two-plan E2E with per-result actualProvider + per-plan ledger entries + the credential seam serving the CHOSEN plan key, honest exit-6/exit-2 declines), fixture CDP smoke green (picker, hint, review plan row). Live station untouched.

Plan-selectable spawns in the 🌱 genesis dialog (steer #32; rides zcode-dispatch v1.0.25 `--provider`). - **D1 picker grouped BY PLAN**: `/api/genesis/models` gains a `plans` feed joined from three read-only sources — the registry snapshot (the dispatcher exit-2 validation set), the builtin provider config (display names + enabled models), and the credential store PRESENCE probe (key names only). One selection = a (provider, model) pair; the review step shows BOTH; default = the station config provider. Group labels derive from the data — never hardcoded plan names. - **D2 provider rides the spawn**: `POST /api/session/create` takes an optional `provider` (`account:` shape — anything else is an honest 400 before any spawn); it rides the fixed systemd-run script as a NINTH argv positional behind `[ -n "$9" ]` guards; absent/empty omits `--provider` (back-compat). - **Honest declines**: a failed chosen-plan spawn carries `providerDecline` (credential exit 6 / unknown-id exit 2) in the status feed — an amber chip decorating the verbatim dispatcher text, exit-7 style. - **D3 quota plan split**: the ledger (v1.0.25+) stamps providers per usage entry; the quota panel renders a compact plan split under the lane table, availability-gated (nothing on ledgers without the dimension). Validation: 423-test suite green (+29 new), Super-Linter station recipe green (all lanes), fake-HOME rig — all 27 legs green (grouped feed from fixture registry data, two-plan E2E with per-result `actualProvider` + per-plan ledger entries + the credential seam serving the CHOSEN plan key, honest exit-6/exit-2 declines), fixture CDP smoke green (picker, hint, review plan row). Live station untouched.
ClaudiuSchuster deleted branch oss-oo/pinky-mm-plans 2026-10-02 13:58:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
OSS-Singularity/zcode-dispatch-observatory!72
No description provided.