fix(settings): ceo_name write-through renames the CEO agent row

The ceo_name setting only reached the panel header — the CEO agent row
kept its seeded name, so agent selectors (create-flag, assignee pickers,
kanban) still showed the old name after a rename. Setting ceo_name now
updates the CEO row's name in the same transaction, resolved via the
shared duplicate-tolerant get_agent_by_role lookup. The seed path never
overwrites existing rows, so a custom name survives restarts. The
agent-facing docs/map entries drop the personal name. Write-through
tests pin ancient created_at on fixture rows so they stay deterministic
against CEO rows other suite tests may have committed.
This commit is contained in:
Renn F
2026-07-22 03:31:01 +02:00
parent 5143aab698
commit 0296ec6fde
4 changed files with 102 additions and 6 deletions
+1 -1
View File
@@ -59,7 +59,7 @@
```mermaid
graph TB
CEO["CEO (Human — Renzo)"]
CEO["CEO (Human)"]
Intake["Intake / Prompter<br/>(on-demand, human-only)"]
Sec["Secretary<br/>(on-demand, human-only)"]
PRRev["PR Reviewer<br/>(read-only reviewer)"]