Profiles S1 — Profile registry + provisioning ×3 #134

Closed
opened 2026-10-26 11:52:19 +01:00 by AlexKucera · 0 comments
Owner

Part of #125 (wayfinder map — all decisions closed; this is a build slice of the profiles topology).

Profiles S1 — Profile registry + provisioning ×3

Grounding: ADR-0014, #126 (surface inventory + data model), #128 (architecture), #129 (gate/provisioning UX), #132 (defaults), #133 (skills).

Scope

  • Static surface→profile map in code: Pass 1 → museion-pass1, Pass 2 → museion-pass2, Chat → museion (adopted in place — sessions/memory/transcripts survive). Sessions rides Chat. No app-side settings store; state.json untouched.
  • Gate stays binary-only; provisioner ×3 runs at onPass (#129): museion-pass1/museion-pass2 provision fresh; museion is adopted, never re-created.
  • Pass profiles get explicit per-surface model blocks via hermes -p <profile> config set — NOT create-time inheritance (profile create inherits from the ACTIVE profile and never carries keys; both probed, #128). Defaults per #132: claude-sonnet-5-5 on all three, reasoning_effort unset. Do NOT copy from museion (it runs glm-5.3-max).
  • 24k output budget at provisioning time: extra_body.max_tokens via --force — a guardrail, never a Settings control.
  • museion-tools registers per profile (ADR-0008 amendment).
  • Skills ×3 per #133: ONE master copy at ~/Library/Application Support/Museion/skills/, symlinked into each profile (per-surface curation: P1 9 · P2 8 · Chat 10). Migration swaps copy-era dirs to symlinks only on payload byte-match; additive-only (G3a).
  • Backup widens (#129): one stamp with three profile subdirs, any-live-skip-all, never the profiles root.
  • Failure card (#48 pattern) names the failing profile.

Acceptance

  • Gate pass on a machine with hermes + keys provisions all three idempotently; re-pass is a no-op.
  • A failing provision surfaces the profile by name.
  • Backup stamp covers three dirs; skip-all works when engines are live.
  • MuseionTests: registry mapping, provisioner idempotency against a fake hermes binary (Real-Process pattern), symlink migration byte-match gate.

[Generated by AI]

Part of #125 (wayfinder map — all decisions closed; this is a build slice of the profiles topology). ## Profiles S1 — Profile registry + provisioning ×3 Grounding: ADR-0014, #126 (surface inventory + data model), #128 (architecture), #129 (gate/provisioning UX), #132 (defaults), #133 (skills). ### Scope - **Static surface→profile map in code**: Pass 1 → `museion-pass1`, Pass 2 → `museion-pass2`, Chat → `museion` (adopted in place — sessions/memory/transcripts survive). Sessions rides Chat. No app-side settings store; `state.json` untouched. - **Gate stays binary-only; provisioner ×3 runs at onPass** (#129): `museion-pass1`/`museion-pass2` provision fresh; `museion` is adopted, never re-created. - **Pass profiles get explicit per-surface model blocks via `hermes -p <profile> config set`** — NOT create-time inheritance (`profile create` inherits from the ACTIVE profile and never carries keys; both probed, #128). Defaults per #132: `claude-sonnet-5-5` on all three, `reasoning_effort` unset. Do NOT copy from `museion` (it runs glm-5.3-max). - **24k output budget at provisioning time**: `extra_body.max_tokens` via `--force` — a guardrail, never a Settings control. - **museion-tools registers per profile** (ADR-0008 amendment). - **Skills ×3 per #133**: ONE master copy at `~/Library/Application Support/Museion/skills/`, symlinked into each profile (per-surface curation: P1 9 · P2 8 · Chat 10). Migration swaps copy-era dirs to symlinks only on payload byte-match; additive-only (G3a). - **Backup widens** (#129): one stamp with three profile subdirs, any-live-skip-all, never the profiles root. - **Failure card** (#48 pattern) names the failing profile. ### Acceptance - Gate pass on a machine with hermes + keys provisions all three idempotently; re-pass is a no-op. - A failing provision surfaces the profile by name. - Backup stamp covers three dirs; skip-all works when engines are live. - MuseionTests: registry mapping, provisioner idempotency against a fake hermes binary (Real-Process pattern), symlink migration byte-match gate. [Generated by AI]
AlexKucera added the ready-for-agent label 2026-10-26 11:52:34 +01:00
Sign in to join this conversation.