Materialize role definitions as skills and shrink startup doctrine #121
Labels
No labels
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agent-compose#121
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Outcome
Make every person-profile role a first-class skill and use role plus personality
skills as the lazy-loaded behavioral doctrine for native agents.
The startup instruction surface becomes a small bootstrap plus compact identity
cards rather than embedding every long-form role briefing and personality
definition eagerly. The identity cards preserve the delightful visible parts
of the person model: names, pronouns, purposes, personality melds, colors,
symbols or emblems, motifs, and blended favorite colors.
Once a role is assigned, inferred, or switched, the agent must load that role
skill and the complete ordered personality meld before acting.
This turns the role definitions themselves into the canonical skills. It does
not generate a second hand-maintained copy of each briefing.
Current state
points.
The native host roster still embeds every full role briefing in startup context.
Role-composed task skills are selected separately and are not substitutes for
the role charter.
Source and identity contract
roles/layout.
role-<slug>.ownership, completion, handoff, and escalation doctrine for that role.
including slug, concise purpose, ordered personality meld, seats,
inspirations, colors, symbols or emblems, motifs, other compact identity
primitives, and the stable role-skill binding.
malformed frontmatter, or divergent duplicate briefing.
derive from the same role skill and record its logical source id and digest.
Issue #110 should move the existing authored role prose directly into this
final source shape. Issue #111 should define the profile-relative layout and
compatibility adapter once.
Skill shape
Each role skill uses ordinary skill structure and concise activation metadata:
The body contains only doctrine specific to performing that role. Shared
native adaptation, confirmation, fixed-role, slash-goal, and authority rules
remain engine-owned bootstrap policy rather than being copied into every role.
Personality definitions remain atomic personality skills. Role skills reference
the ordered meld through structured profile metadata rather than copying
personality prose.
Progressive disclosure applies to behavioral prose, not identity texture.
Agent-compose keeps compact structured identity metadata visible even when the
corresponding role or personality body has not loaded.
An assigned Advisor identity card may look like:
The emoji above are illustrative. The renderer uses the exact symbols or
emblems from the profile or personality libraries, uses
//between compactidentity fields, and does not invent fallback decoration or flatten the
existing identity model into plain slugs.
Native startup and progressive disclosure
Assigned role
For a caller-assigned native bundle, agent-compose:
role-<slug>skillskill ids
taking task action
long-form role catalogue from startup instructions
A missing selected skill is a composition or verification failure. The agent
does not silently proceed with only a pointer.
Unassigned native session
For a directly steered native session with no caller-assigned role,
agent-compose:
identity cards, and the selection bootstrap
before acting
Each compact role card may include the role slug and purpose, available seats,
ordered meld, personality symbols or emblems and colors, and blended favorite
color. The full behavioral briefings for inactive roles do not appear in
startup context.
Personality aliases and the compact index from #112 remain discovery metadata,
not eagerly loaded personality bodies.
Native role switch
When #117 permits an inferred native role switch, the bootstrap requires the
agent to load the new role skill and its complete ordered meld before continuing.
The prior role charter stops governing the session. A caller-assigned role
remains fixed.
Compiled delivery
Compiled delivery cannot assume a native skill loader. It continues to inline
the selected role skill and active personality bodies with deterministic source
markers. Agent-compose never emits an unusable pointer merely to reduce bytes.
Role-composed capability boundary
Role skills define who the agent is and the feedback loop the role owns.
Existing AOS role-composed skills define task methods and specialist knowledge.
Selecting a role may select both surfaces, but agent-compose does not merge
their ownership:
A role skill grants no commands, credentials, mounts, network access, model
selection, or permission.
Compatibility
through a documented adapter.
mutable source tree or creating divergent prose.
person.json, roster, compose, evaluation, palette, overlay, bundle,and catalogue behavior remains available while consuming the resolved role
skill internally.
Acceptance evidence
roster prose, or another competing source.
live-verification, and rollback boundary.
without claiming that role prose grants executable authority.
role-advisorplusreflective,curious, andcandid, and contains no inactive role body.and only then answers the task.
role-qa,meticulous,candid, andplayful, then stops applying the Advisor charter.execution.
identity cards, and skill metadata. The cards preserve seat names and
pronouns, role purposes, ordered melds, colors, symbols or emblems, motifs,
and blended favorite colors. Compact identity fields use
//separators,not middle dots. Startup contains no inactive long-form role or personality
body.
bytes and tokens for unassigned native Codex and Claude plus one assigned
role bundle.
semantic parity tests with native delivery.
executable authority.
compiled fallback, compatibility, and the profile/provider/authority split.
ward exec testandward exec smokepass.Non-goals
pronouns, or other compact identity texture from startup
Dependencies
the same implementation slice
land in the same implementation slice
Landed on canonical main in
cd99a44. All 12 canonical roles now have role- SKILL.md sources with stable ids and provenance digests. Native startup uses a compact identity card and loads the selected role skill before the personality meld. Compiled delivery includes the complete role doctrine. Legacy inline briefings remain readable through an in-memory adapter. Verification: ward exec test and ward exec smoke passed. Measured startup reductions are 54% for the generated roster, 56% for the combined Claude startup surface, and 70% for an assigned Engineer bundle. Details: docs/role-skill-context-budget.md.