|
| 1 | +# st2 language |
| 2 | + |
| 3 | +This is a small disambiguation index, not a behavioral specification. Each |
| 4 | +canonical term links to the source that owns its meaning. Follow that source |
| 5 | +for behavior, lifecycle, ordering, and wire or file formats. |
| 6 | + |
| 7 | +st2 inherits agent-authoring language from the |
| 8 | +[canonical Agent Spec](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L1-L14). |
| 9 | +Terms without an independent authority are deliberately absent. |
| 10 | + |
| 11 | +## Canonical language |
| 12 | + |
| 13 | +### agent |
| 14 | + |
| 15 | +The actor st2 models. |
| 16 | + |
| 17 | +Authority: [Agent Spec overview](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L1-L10); |
| 18 | +[R10 agent-only identity](requirements.md#L80-L81) |
| 19 | + |
| 20 | +### agent declaration |
| 21 | + |
| 22 | +The authored KDL representation of one agent. |
| 23 | + |
| 24 | +Authority: [Agent Spec discovery and declaration shape](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L16-L31); |
| 25 | +[R02 canonical KDL](requirements.md#L36-L38) |
| 26 | + |
| 27 | +### agent runtime |
| 28 | + |
| 29 | +A running instance of an agent declaration. |
| 30 | + |
| 31 | +Authority: [declared runtime vision](vision.md#L16-L24); |
| 32 | +[`AgentSpec` runtime model](../../crates/agent-spec/src/spec.rs#L1-L13) |
| 33 | + |
| 34 | +### agent task |
| 35 | + |
| 36 | +A terminal-backed or terminal-free unit declared for an agent. |
| 37 | + |
| 38 | +Authority: [Agent Spec task contract](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L103-L120); |
| 39 | +[`Task`](../../crates/agent-spec/src/spec.rs#L58-L72) |
| 40 | + |
| 41 | +### agent identity |
| 42 | + |
| 43 | +The bare `identity` value of an agent declaration. It is not a claim of |
| 44 | +fleet-wide uniqueness. |
| 45 | + |
| 46 | +Authority: [`AgentSpec::identity`](../../crates/agent-spec/src/spec.rs#L23-L40); |
| 47 | +[Agent Spec identity rules](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L24-L31) |
| 48 | + |
| 49 | +### bus ID |
| 50 | + |
| 51 | +The host-qualified agent address `<host>.<identity>`. |
| 52 | + |
| 53 | +Authority: [`AgentSpec::bus_id`](../../crates/agent-spec/src/spec.rs#L123-L128); |
| 54 | +[Agent Spec bus identity](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L29-L31) |
| 55 | + |
| 56 | +### catalog |
| 57 | + |
| 58 | +The selected folder containing agent declarations and catalog-backed state. |
| 59 | + |
| 60 | +Authority: [Agent Spec catalog boundary](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L29-L34); |
| 61 | +[catalog selection](../../src/main.rs#L848-L907) |
| 62 | + |
| 63 | +### catalog root |
| 64 | + |
| 65 | +The filesystem path selected as the catalog for a command. |
| 66 | + |
| 67 | +Authority: [catalog path resolution](../../src/main.rs#L848-L907) |
| 68 | + |
| 69 | +### root agent |
| 70 | + |
| 71 | +The agent assigned host-local health observation, recovery, and escalation. |
| 72 | + |
| 73 | +Authority: [R04 root supervision](requirements.md#L41-L46); |
| 74 | +[vision](vision.md#L20-L23) |
| 75 | + |
| 76 | +### control plane |
| 77 | + |
| 78 | +The replaceable `st2 up` process that reconciles host-local work. |
| 79 | + |
| 80 | +Authority: [R11 control-plane replacement safety](requirements.md#L64-L71); |
| 81 | +[`up_loop`](../../src/run.rs#L1079-L1111) |
| 82 | + |
| 83 | +### declared supervisor |
| 84 | + |
| 85 | +The agent reference carried by a declaration for supervisory routing. |
| 86 | + |
| 87 | +Authority: [`AgentSpec::supervisor`](../../crates/agent-spec/src/spec.rs#L23-L40); |
| 88 | +[Agent Spec field](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L73-L90) |
| 89 | + |
| 90 | +### presence |
| 91 | + |
| 92 | +The agent-authored availability signal read from catalog-backed state. |
| 93 | + |
| 94 | +Authority: [`status::State`](../../src/status.rs#L19-L40); |
| 95 | +[R08 catalog observability](requirements.md#L72-L78) |
| 96 | + |
| 97 | +### session state |
| 98 | + |
| 99 | +st2's runtime observation of whether a task record is alive. |
| 100 | + |
| 101 | +Authority: [`reconcile::Session`](../../src/reconcile.rs#L18-L25) |
| 102 | + |
| 103 | +### reconciliation |
| 104 | + |
| 105 | +Comparing declared host-local work with observed runtime state to produce a |
| 106 | +plan. |
| 107 | + |
| 108 | +Authority: [`reconcile`](../../src/reconcile.rs#L1-L10); |
| 109 | +[reconcile pass](../../src/run.rs#L736-L810) |
| 110 | + |
| 111 | +### materialization |
| 112 | + |
| 113 | +Rendering catalog-declared content into an agent workspace. |
| 114 | + |
| 115 | +Authority: [`materialize_catalog`](../../src/materialize.rs#L700-L727) |
| 116 | + |
| 117 | +### message |
| 118 | + |
| 119 | +A durable addressed record in an agent inbox or archive. |
| 120 | + |
| 121 | +Authority: [`message::Message`](../../src/message.rs#L1-L35) |
| 122 | + |
| 123 | +### DING |
| 124 | + |
| 125 | +The terminal notification that makes an agent aware of unread messages. |
| 126 | + |
| 127 | +Authority: [DING module contract](../../src/ding/mod.rs#L1-L14) |
| 128 | + |
| 129 | +## Collision rules |
| 130 | + |
| 131 | +- Qualify **root** as [root agent](requirements.md#L41-L46) or |
| 132 | + [catalog root](../../src/main.rs#L848-L907). Bare *root* does not identify |
| 133 | + which concept is meant. |
| 134 | +- Qualify **supervisor** as [control plane](requirements.md#L64-L71) or |
| 135 | + [declared supervisor](../../crates/agent-spec/src/spec.rs#L23-L40). |
| 136 | +- Use [presence](../../src/status.rs#L19-L40) for the agent-authored signal and |
| 137 | + [session state](../../src/reconcile.rs#L18-L25) for runtime liveness. Avoid |
| 138 | + bare *agent status* when either could be meant. |
| 139 | +- Use [agent identity](../../crates/agent-spec/src/spec.rs#L23-L40) for the bare |
| 140 | + value and [bus ID](../../crates/agent-spec/src/spec.rs#L123-L128) for the |
| 141 | + host-qualified address. |
| 142 | +- Use [message](../../src/message.rs#L1-L35) for the durable record and |
| 143 | + [DING](../../src/ding/mod.rs#L1-L14) for its terminal notification. |
| 144 | + |
| 145 | +## Avoid |
| 146 | + |
| 147 | +**seat** is not canonical st2 language. Choose by meaning: [agent](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L1-L10) |
| 148 | +for the actor, [agent declaration](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L16-L31) |
| 149 | +for the catalog entry, and [agent runtime](vision.md#L16-L24) for a running |
| 150 | +instance. For admission, use an already-authoritative admission term only if |
| 151 | +one exists; this index does not canonize one. |
| 152 | + |
| 153 | +The rejected word remains visible as design leakage in |
| 154 | +[issue #52](https://github.com/compoundingtech/st2/issues/52), |
| 155 | +[draft PR #55](https://github.com/compoundingtech/st2/pull/55), and one |
| 156 | +[Agent Spec phrase](https://github.com/compoundingtech/evals/blob/78210568e47244d80de99c18d0eea2d6b641c18a/AGENT-SPEC.md#L422-L429). |
| 157 | +Those references are evidence of recurrence, not authorities for a new st2 |
| 158 | +concept. |
0 commit comments