Skip to content
This repository was archived by the owner on Nov 10, 2026. It is now read-only.

feat(roster): pinned_by_default role attribute, set on prod-director (COI-3512) - #5

Merged
coilysiren merged 1 commit into
mainfrom
feat/role-pinned-by-default-coi-3512
Nov 9, 2026
Merged

coilysiren merged 1 commit into
mainfrom
feat/role-pinned-by-default-coi-3512

Conversation

@coilysiren

Copy link
Copy Markdown
Member

COI-3512, the roster half of Kai's COI-3346 (pin any seat, hide roles). She wants the coordinator pinned by default through a role attribute, not by name.

  • pinned_by_default: true in a role's role.yaml, carried by catalog roles --json. Absent reads false.
  • The seed sets it on prod-director.
  • A derived role does not inherit it (added to the uninherited keys).
  • Presentation only: selection, the resolver and overlay.Build never read it.

Tests: the shipped roster loads with the field under the strict decoder, a role that declares it reads true in the catalog and its parent does not, and a derived role does not inherit it. Negative controls: dropping the YAML mapping fails the catalog test, and dropping the uninherited entry fails the derive test. just test and pre-commit run --all-files are clean.

The aterm relay is a follow-up in agentic-os, which can only see the field once an agent-compose release carries it.

Not changed: docs/role-selection.md is at its 120-line cap and docs/ at its 40-doc cap, so the attribute is named only in docs/roster-composition.md and the catalog roles description.

🤖 Generated with Claude Code

…prod-director does (COI-3512)

A role carries `pinned_by_default: true` in its role.yaml, and `catalog roles
--json` reports it, absent reading false. It is presentation only: selection,
the resolver and overlay.Build never read it. A derived role does not inherit
it, since a pin is that role's own.

The seed sets it on prod-director, the coordinator, so a client such as aterm
can pin the coordinator by an attribute instead of by name.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Lb8qCFbEC6FcxPJZhVbNmZ
Co-authored-by: Kai Siren <coilysiren@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
Agent-Role: eng-platform
@coilysiren
coilysiren merged commit d0a6ac0 into main Nov 9, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants