Layer 1 · principals
principal
Who can want something and answer for it. A principal is a human, an organization, a service or an agent. Everything that is asked, approved, delegated or paid for traces back to one. A principal has a name and a kind. How it is reached is the channel block's concern: a channel names its parties, a principal names no channel, so the dependency points down.
Depends on
- shared · layer 0 · 4 references
Used by
- delegation · layer 1 · 19 references
- gateway · layer 2 · 5 references
- knowledge · layer 3 · 5 references
- store · layer 3 · 20 references
- agent · layer 4 · 8 references
- harness · layer 4 · 14 references
- work · layer 5 · 18 references
- authority · layer 6 · 19 references
- channel · layer 7 · 26 references
- deployment · layer 9 · 4 references
Entities
Principal
One party that can want something and answer for it. Active until retired; a retired principal stays on record, because past decisions name it, and takes no new role.
Identified by principal_id (PrincipalId).
| field | type |
|---|---|
kind | PrincipalKind |
name | Name |
registered_at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Lifecycle of Principal
Retired.Commands
RegisterPrincipal
Register a principal.
| field | type |
|---|---|
principal_id | PrincipalId |
kind | PrincipalKind |
name | Name |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
registered | otherwise | creates a Principal in Active; emits Principal |
More columns: swipe horizontally, or focus the table and use the arrow keys.
RetirePrincipal
Retire a principal.
| field | type |
|---|---|
principal_id | PrincipalId |
at | timestamp |
More columns: swipe horizontally, or focus the table and use the arrow keys.
| outcome | when | result |
|---|---|---|
no-such-principal refused | no such Principal | Principal: No principal of this identity is registered. |
retired | otherwise | moves the Principal Active → Retired; emits Principal |
wrong-state refused | the Principal is in a state that does not allow it | Principal: The principal is not in a state this command acts from. |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Events
| event | fields | emitted by |
|---|---|---|
PrincipalRegistered | principal_ PrincipalId, kind PrincipalKind, name Name, at timestamp | Register |
PrincipalRetired | principal_ PrincipalId, at timestamp | Retire |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Views
| view | rows | fields |
|---|---|---|
PrincipalsPrincipals | each Principal | principal_ PrincipalId, kind PrincipalKind, name Name, registered_ timestamp, state State |
More columns: swipe horizontally, or focus the table and use the arrow keys.
KPIs
4 KPIs from the KPI catalogue. A gate must be zero for a variant of an architecture to count.
Correctness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
work_without_human_principalTasks submitted whose principal chain names no human. How: TaskCreated events whose principal does not resolve, through registered principals and delegations, to a human principal. Must be 0. | count | lower | gate | planned source: research/2609.07919 |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Completeness
| KPI | unit | better | gate | status |
|---|---|---|---|---|
principal_answered_shareShare of questions a principal received that the principal answered. How: Questions answered by the principal divided by questions the principal received, per principal part. Questions that took their default count as not answered. By work mode: autonomous: ignore, pairing: higher, review: higher | share | higher | – | simulated source: design |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Quality
| KPI | unit | better | gate | status |
|---|---|---|---|---|
owner_wait_shareShare of agent time spent waiting on the human owner. How: Seconds from a main agent's turn end to the owner's next prompt (waits over one hour counted apart as away), divided by working plus waiting seconds. The simulator divides owner wait by instance time. By work mode: autonomous: lower, pairing: ignore, review: ignore | share | lower | – | computed and simulated source: docs/kpis.md |
human_prompt_shareShare of prompts to main agents written by a human. How: PromptSubmitted events with author Human, divided by all PromptSubmitted events of main agents. Compare the split by author (Human, Delegate, PeerSession, ParentAgent, Harness, Hook). By work mode: autonomous: lower, pairing: ignore, review: ignore | share | lower | – | computed today source: docs/kpis.md |
More columns: swipe horizontally, or focus the table and use the arrow keys.
Settings
The settings a part of this block carries in an architecture document. agenticspec sim check refuses any other setting (setting_unknown) and a value outside its type (setting_invalid), and a part that lacks a setting marked required in the default column; the contract copies a setting into the ports it narrows. The last rows of each table are the settings every part takes. What no setting here types (a file, a path, an audience, the use of a model) goes into the part's notes, a map with free keys and values that the check takes as written and nothing reads.
A part principal:
| setting | type | unit | default | contract | what |
|---|---|---|---|---|---|
kind | enum Principal: human, organization, service, agent | human | question. | What kind of principal answers; picks its entry of the behaviour profile. | |
count | integer of at least 1 | 1 | How many copies of the part run. | ||
per | part | One copy of the part for each copy of the named part. | |||
notes | notes | Free notes on the part, a map with keys and values of any kind: what no setting of its block types. The check takes any map; the simulator, the search and the contract never read it. |
More columns: swipe horizontally, or focus the table and use the arrow keys.