Workflow 'Runs as' identity is a picker of the org's identities #318

Closed
opened 2026-10-27 13:35:50 +00:00 by sam · 0 comments
Owner

Goal

The workflow settings panel's "Runs as" Identity is a select of real identities instead of free text.

Context

  • ui/src/workflows/WorkflowSettings.vue, the "Runs as" section: an <input> writing the workflow YAML field identity via set('identity', ...).
  • Identities store: ui/src/stores/identities.ts (useIdentitiesStore, watch()), already used by ui/src/tasks/NewTaskForm.vue:52-54 (filters out system, keeps active).
  • Empty value means "runs as whoever starts it".

Steps

  1. Replace the input with a native <select>: first option "Whoever starts it" (value ""), then active non-system identities (display name, value id).
  2. If the YAML holds an id not in the list, show it as an extra option labelled " (unknown)" so nothing is silently dropped.
  3. task ui; screenshot the settings panel at 1920x947 with stubbed /api/identities and check it.

Out of scope

Org filtering (archie-core-z66d), Go changes, any other field.

Stop when

  • Select shows identities; choosing one writes identity: <id> to the YAML; choosing the first removes it.
  • task check passes, ui/dist committed.
  • Commit feat(ui): pick the workflow's run-as identity, close. Stop.

Rules for this ticket

  • Read CLAUDE.md first. Follow it: smallest change, no new binaries, no compatibility shims, comments say why briefly.
  • Do ONLY the steps below. Anything else you notice: file it with bd create (one line of why) and carry on. Do not fix it.
  • Do not refactor, rename or reformat code outside the listed files.
  • No new tests unless a step says so.
  • Run task check once at the end. If it fails twice on the same problem, stop and write what failed in a bead comment (bd comments add <id> "...") instead of looping.
  • Timebox: if you have not reached "Stop when" after the steps, stop, comment what is left, and leave the bead open.

Close reason

f97dd9a7; picker defaults to seeded Agent


Imported from beads archie-core-kgxw.5 · GitHub #1323 · type feature · priority P2 · created 2026-10-05 · closed 2026-10-17

## Goal The workflow settings panel's "Runs as" Identity is a select of real identities instead of free text. ## Context - `ui/src/workflows/WorkflowSettings.vue`, the "Runs as" section: an `<input>` writing the workflow YAML field `identity` via `set('identity', ...)`. - Identities store: `ui/src/stores/identities.ts` (`useIdentitiesStore`, `watch()`), already used by `ui/src/tasks/NewTaskForm.vue:52-54` (filters out system, keeps active). - Empty value means "runs as whoever starts it". ## Steps 1. Replace the input with a native `<select>`: first option "Whoever starts it" (value ""), then active non-system identities (display name, value id). 2. If the YAML holds an id not in the list, show it as an extra option labelled "<id> (unknown)" so nothing is silently dropped. 3. `task ui`; screenshot the settings panel at 1920x947 with stubbed `/api/identities` and check it. ## Out of scope Org filtering (archie-core-z66d), Go changes, any other field. ## Stop when - [ ] Select shows identities; choosing one writes `identity: <id>` to the YAML; choosing the first removes it. - [ ] `task check` passes, ui/dist committed. - [ ] Commit `feat(ui): pick the workflow's run-as identity`, close. Stop. ## Rules for this ticket - Read CLAUDE.md first. Follow it: smallest change, no new binaries, no compatibility shims, comments say why briefly. - Do ONLY the steps below. Anything else you notice: file it with `bd create` (one line of why) and carry on. Do not fix it. - Do not refactor, rename or reformat code outside the listed files. - No new tests unless a step says so. - Run `task check` once at the end. If it fails twice on the same problem, stop and write what failed in a bead comment (`bd comments add <id> "..."`) instead of looping. - Timebox: if you have not reached "Stop when" after the steps, stop, comment what is left, and leave the bead open. ### Close reason f97dd9a7; picker defaults to seeded Agent --- _Imported from beads `archie-core-kgxw.5` · GitHub #1323 · type feature · priority P2 · created 2026-10-05 · closed 2026-10-17_
sam added the mediumfeature labels 2026-10-27 13:35:50 +00:00
sam self-assigned this 2026-10-27 13:35:50 +00:00
sam closed this issue 2026-10-27 13:35:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#318