Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions proto/trogonai/agents/agents/v1/agent_provisioned.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,27 @@ edition = "2024";
package trogonai.agents.agents.v1;

import "trogonai/agents/agents/v1/agent.proto";
import "trogonai/agents/agents/v1/digest.proto";

// AgentProvisioned is the Agent registry stream's genesis event, minting
// revision 1. No limits, no rubrics, no grants live here (design Q15/Q16);
// those are stances on their own planes.
message AgentProvisioned {
string agent_id = 1 [features.field_presence = LEGACY_REQUIRED];
string display_name = 2 [features.field_presence = LEGACY_REQUIRED];
// Placement node ref (bare spelling per the spelling rule: unsuffixed
// `parent` means placement, kinship is always `parent<Type>Id`).
// Placement node the agent is provisioned under: the node ref that anchors
// the agent in the placement hierarchy and scopes ownership and addressing.
// Bare spelling is deliberate per the spelling rule: unsuffixed `parent`
// always denotes placement, while kinship refs are always `parent<Type>Id`.
// Immutable for the agent's v1 lifetime; re-placement mints a new agent
// rather than mutating this ref.
string parent = 3 [features.field_presence = LEGACY_REQUIRED];
AgentConfiguration configuration = 4 [features.field_presence = LEGACY_REQUIRED];
// Revision minted by this genesis event, recorded explicitly so no consumer
// derives it from convention. Always 1; the decider rejects any other value
// at write time.
uint64 revision = 5 [features.field_presence = LEGACY_REQUIRED];
// SHA-256 digest of the provisioned revision bundle.
string content_digest = 6 [features.field_presence = LEGACY_REQUIRED];
// Content digest over the provisioned revision bundle, carrying its own
// algorithm identifier rather than assuming one by convention.
Digest content_digest = 6 [features.field_presence = LEGACY_REQUIRED];
}
13 changes: 13 additions & 0 deletions proto/trogonai/agents/agents/v1/digest.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
edition = "2024";

package trogonai.agents.agents.v1;

// Digest is a content digest over an opaque byte sequence: the algorithm that
// produced it plus the raw digest value. It is stored beside the bytes it
// commits to, never inside them, and verified before those bytes are decoded.
message Digest {
// Digest algorithm identifier, for example "sha256".
string algorithm = 1 [features.field_presence = LEGACY_REQUIRED];
// Raw digest bytes produced by algorithm over the committed content.
bytes value = 2 [features.field_presence = LEGACY_REQUIRED];
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading