Skip to content

v0.32.0

Choose a tag to compare

@MarkKropf MarkKropf released this 07 Jun 04:22
a334ee3

Two-axis provider model — P3 daemon prerequisite

Daemon plumbing for the fail-closed per-machine model-access gate (P3 S1 → S3).

  • Config.ModelAccess *access.ModelAccessConfig — host-scoped, policy-only model-access narrowing config (no credentials).
  • modelAccess.set / modelAccess.clear daemon mutation cases (org-admin gated upstream; applied via mutation_apply).
  • SessionSpec / SessionResolvedProfile surface the gate inputs to OnPreSpawn: PlatformAllowed, AuthMode, WorkType, Mode, Company, Model, Workload.
  • PollItemToSessionSpec copies the gate inputs through (platformAllowed by-reference, no transform).

Pure plumbing — OnPreSpawn signature unchanged, no enforcement yet (the rensei-tui S3 gate consumes these inputs). Additive and nil-identity: a nil ModelAccess block is a no-op.

Built and tested with GOWORK=off.