Kinds labelled live that do not apply live #68

Closed
opened 2026-10-27 13:34:49 +00:00 by sam · 1 comment
Owner

Goal

channel-settings and agent-profiles apply live, or are labelled restart-required.

Evidence

Gateway watches only provider, model and tool kinds (archiegateway/server.go:271) and reads channel-settings at start; agent-profiles is missing from runtimeResourceKinds (archied/control_plane.go:257); plugin-settings.skills_dir is always refused live (control_plane.go:363-380) but labelled live.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • Each kind's label matches its behaviour (watch added or label changed).
  • Page copy for plugin-settings matches its one field.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Closed


Imported from beads archie-core-4q28.16 · GitHub #1247 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal channel-settings and agent-profiles apply live, or are labelled restart-required. ## Evidence Gateway watches only provider, model and tool kinds (archiegateway/server.go:271) and reads channel-settings at start; agent-profiles is missing from runtimeResourceKinds (archied/control_plane.go:257); plugin-settings.skills_dir is always refused live (control_plane.go:363-380) but labelled live. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] Each kind's label matches its behaviour (watch added or label changed). - [ ] Page copy for plugin-settings matches its one field. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Closed --- _Imported from beads `archie-core-4q28.16` · GitHub #1247 · type bug · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highbug labels 2026-10-27 13:34:49 +00:00
sam self-assigned this 2026-10-27 13:34:49 +00:00
sam closed this issue 2026-10-27 13:34:49 +00:00
Author
Owner

sam wrote (originally 2026-10-05):

Implementation done in the working tree; blocked from the gate by the same concurrent checkout problem as .17 (details there), so commenting and stopping without committing.

  • agent-profiles: label stays live; the watch is added (control_plane.go runtimeResourceKinds now names AgentProfileKind). Consumer verified: daemon.pinTaskProfile resolves each task's profile per task from the published config (daemon.go:1731-1746), the same shape as the ContainerRuntimePoliciesKind entry. archie-messaging and archie-gateway never consume Containers.Profiles; their records keep reporting the boot-layered version.
  • channel-settings: label changed to restart-required (operational_settings.go), because this document cannot promise live apply everywhere it is reported: the Gateway's chat surfaces that read it (workspace tools, rate limit, model catalogs, telegram update-check) are boot-built, so its gateway record would stay permanently 'Behind' under a live label with no actionable cue. Nothing at the transport layer changed: archie-messaging still reconciles transports live and archied still re-layers; their rows show applied. The alternative (adding channel settings to gatewayRuntimeKinds) was rejected: wiring live rebuilds of the rate limiter, workspace tool providers and model catalogs is a much bigger change with real swap risk.
  • plugin-settings: label changed to restart-required. Its one field, skills_dir, is read at boot and always refused live (refuseSkillsDirChange), so the whole kind is restart-scoped. The archied watch stays: the refusal is the guard that keeps a stored skills_dir out of the republished config while the running consumers hold the boot value. PluginsPage copy now says 'Applies on restart.' and its stale comment about the banner is fixed; RestartPendingBanner's comment corrected to describe the mode-based banner.
    Files changed for this bead, uncommitted in the tree: internal/app/controlplane/operational_settings.go, internal/app/archied/control_plane.go (the watch addition), ui/src/settings/PluginsPage.vue, ui/src/settings/RestartPendingBanner.vue.
_sam wrote (originally 2026-10-05):_ Implementation done in the working tree; blocked from the gate by the same concurrent checkout problem as .17 (details there), so commenting and stopping without committing. - agent-profiles: label stays live; the watch is added (control_plane.go runtimeResourceKinds now names AgentProfileKind). Consumer verified: daemon.pinTaskProfile resolves each task's profile per task from the published config (daemon.go:1731-1746), the same shape as the ContainerRuntimePoliciesKind entry. archie-messaging and archie-gateway never consume Containers.Profiles; their records keep reporting the boot-layered version. - channel-settings: label changed to restart-required (operational_settings.go), because this document cannot promise live apply everywhere it is reported: the Gateway's chat surfaces that read it (workspace tools, rate limit, model catalogs, telegram update-check) are boot-built, so its gateway record would stay permanently 'Behind' under a live label with no actionable cue. Nothing at the transport layer changed: archie-messaging still reconciles transports live and archied still re-layers; their rows show applied. The alternative (adding channel settings to gatewayRuntimeKinds) was rejected: wiring live rebuilds of the rate limiter, workspace tool providers and model catalogs is a much bigger change with real swap risk. - plugin-settings: label changed to restart-required. Its one field, skills_dir, is read at boot and always refused live (refuseSkillsDirChange), so the whole kind is restart-scoped. The archied watch stays: the refusal is the guard that keeps a stored skills_dir out of the republished config while the running consumers hold the boot value. PluginsPage copy now says 'Applies on restart.' and its stale comment about the banner is fixed; RestartPendingBanner's comment corrected to describe the mode-based banner. Files changed for this bead, uncommitted in the tree: internal/app/controlplane/operational_settings.go, internal/app/archied/control_plane.go (the watch addition), ui/src/settings/PluginsPage.vue, ui/src/settings/RestartPendingBanner.vue.
sam added a new dependency 2026-11-14 14:45:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#68