feat(grok): surface intake/secretary in the mix-mode picker; doc guardrail parity

- Panel: add intake-1 (prompter) and secretary-1 to the mix-mode per-agent
  routing list so an operator can assign Grok (or Claude) to the interactive
  roles from the UI; assigning a Grok model routes them to the opencode-serve
  image. tsc + eslint clean.
- opencode_config: correct the now-stale parity note — bash-guard is ported
  (secret-scrub.js) and usage/cost is captured (opencode store); the remaining
  gap is the budget/loop/stop/prompt-injection hooks, which need a sidecar
  plugin (open decision), with ROBOCO_GROK_BASH_PERMISSION as the interim gate.
This commit is contained in:
Renn F
2026-06-18 12:35:51 +02:00
parent 0d76ebf586
commit f1981ca163
2 changed files with 14 additions and 5 deletions
@@ -74,6 +74,11 @@ const AGENTS: { slug: string; label: string }[] = [
{ slug: "ux-dev-1", label: "UX/UI Dev" },
{ slug: "ux-qa", label: "UX/UI QA" },
{ slug: "ux-doc", label: "UX/UI Documenter" },
// Interactive (held-open chat) roles. Claude (SDK driver) and Grok (opencode
// serve) are the supported runtimes; assigning a Grok model routes them to
// the grok-prompter / grok-secretary image.
{ slug: "intake-1", label: "Intake (Prompter)" },
{ slug: "secretary-1", label: "Secretary" },
];
export function AIRoutingCard() {