internal/webui/api_control_plane.go:20 hardcodes controlPlaneActor = "operator:web" and
sends it as the actor on every Command. Every audit row a dashboard edit writes to
resource_history therefore names a constant, not the person who made the change.
The PRD (docs/prds/runtime-control-plane.md, "API") requires that a dashboard session or
channel sender map to an Archie identity before it can run a command.
Messaging is half done: the identity subcommand resolves the sender via
identity.Repository.ResolveLegacyName (internal/domain/messaging/settings.go:137), but the
generic set and replace paths only check that the actor string is non-empty
(settings.go:238, 104).
Scope: map the authenticated dashboard session to an identity and pass its ID as the
actor; apply the same mapping to the messaging set/replace paths. The server already
refuses an empty actor, so the remaining work is entirely on the two API adapters.
Close reason
Closed
Imported from beads archie-core-znqw · GitHub #962 · type bug · priority P1 · created 2026-09-20 · closed 2026-09-20
internal/webui/api_control_plane.go:20 hardcodes controlPlaneActor = "operator:web" and
sends it as the actor on every Command. Every audit row a dashboard edit writes to
resource_history therefore names a constant, not the person who made the change.
The PRD (docs/prds/runtime-control-plane.md, "API") requires that a dashboard session or
channel sender map to an Archie identity before it can run a command.
Messaging is half done: the identity subcommand resolves the sender via
identity.Repository.ResolveLegacyName (internal/domain/messaging/settings.go:137), but the
generic set and replace paths only check that the actor string is non-empty
(settings.go:238, 104).
Scope: map the authenticated dashboard session to an identity and pass its ID as the
actor; apply the same mapping to the messaging set/replace paths. The server already
refuses an empty actor, so the remaining work is entirely on the two API adapters.
### Close reason
Closed
---
_Imported from beads `archie-core-znqw` · GitHub #962 · type bug · priority P1 · created 2026-09-20 · closed 2026-09-20_
sam
added the highbug labels 2026-10-27 13:41:27 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
internal/webui/api_control_plane.go:20 hardcodes controlPlaneActor = "operator:web" and
sends it as the actor on every Command. Every audit row a dashboard edit writes to
resource_history therefore names a constant, not the person who made the change.
The PRD (docs/prds/runtime-control-plane.md, "API") requires that a dashboard session or
channel sender map to an Archie identity before it can run a command.
Messaging is half done: the identity subcommand resolves the sender via
identity.Repository.ResolveLegacyName (internal/domain/messaging/settings.go:137), but the
generic set and replace paths only check that the actor string is non-empty
(settings.go:238, 104).
Scope: map the authenticated dashboard session to an identity and pass its ID as the
actor; apply the same mapping to the messaging set/replace paths. The server already
refuses an empty actor, so the remaining work is entirely on the two API adapters.
Close reason
Closed
Imported from beads
archie-core-znqw· GitHub #962 · type bug · priority P1 · created 2026-09-20 · closed 2026-09-20