Skip to main content

Module value_objects

Module value_objects 

Source
Expand description

Value objects for the MADE domain.

Every public function in the domain exchanges value objects instead of primitives. Each value object validates its invariants on construction and cannot be mutated afterwards.

Structs§

AgentId
Identifier of an Agent within MADE.
AgentKind
ArtifactDigest
Canonical SHA-256 content digest, including its algorithm label.
ArtifactId
Stable opaque identity for artifact metadata, never a path or URL.
ArtifactImportRef
Opaque reference to the source of imported artifact metadata.
ArtifactMediaType
Canonical media type without parameters.
ArtifactProvenance
Typed origin of artifact metadata. Authentication joins in C5.7.
ArtifactRef
Verifiable artifact metadata. It never contains storage coordinates or bytes.
ArtifactSizeBytes
Exact number of bytes covered by an artifact digest.
Attributes
AuditActor
Who caused an audited fact.
AuditActorId
The identifier a caller uses for the party behind an audited action.
AuditRecordHash
SHA-256 digest binding one audit record to the one before it.
AuditSequence
Position of a record within one ceremony’s audit journal.
AuthenticatedPrincipal
AuthorizationDecision
AuthorizationDecisionId
AuthorizationDecisionPageLimit
AuthorizationDecisionPlan
AuthorizationDecisionTtl
AuthorizationEvidence
AuthorizationGrant
AuthorizationGrantId
AuthorizationGrantIssuer
AuthorizationPolicyId
AuthorizationPolicyVersion
AuthorizationRequest
AuthorizationRequestId
AuthorizationRevocation
AuthorizationRevocationReason
AuthorizationTargetDigest
AuthorizedOperation
Full authenticated identity and allow evidence for one admitted operation.
BudgetAccountId
BudgetBalance
BudgetLedgerVersion
BudgetLimits
BudgetOperationId
BudgetPageLimit
BudgetQuantities
BudgetReconciliationId
BudgetReservation
BudgetReservationEstimate
Pre-execution reservation plan supplied by a host or handler.
BudgetReservationId
BudgetReservationRequest
Semantic input a host or handler uses to estimate one operation before it is claimed.
BudgetTokenCount
CeremonyChildSpawn
CeremonyChildSpec
CeremonyContext
CeremonyDeadline
CeremonyDefinitionChange
One classified change between two ceremony definitions.
CeremonyDefinitionDiff
Everything that differs between two definitions of one ceremony.
CeremonyDefinitionDigest
SHA-256 identity of a published ceremony definition.
CeremonyDescription
CeremonyEventConsumer
Stable name of one independent consumer of the global ceremony-event feed.
CeremonyEventCursorAttempt
Delivery failures already recorded at a consumer’s next position.
CeremonyEventCursorLease
Exclusive, expiring right to process one named cursor.
CeremonyEventCursorLeaseId
Unique token proving ownership of one cursor lease.
CeremonyEventPageLimit
Validated size of one ceremony-event page.
CeremonyEventQuarantineReason
Operator-visible reason a consumer stopped retrying one event.
CeremonyEvidenceSourceId
CeremonyGuard
CeremonyGuardApproval
A human guard, and who let it through.
CeremonyGuardDeferral
CeremonyGuardDeferralContent
CeremonyId
CeremonyIdPrefix
A literal, case-sensitive prefix for ceremony identifiers.
CeremonyInputDefinition
CeremonyInstancePageLimit
Maximum number of ceremony instances returned by one public page.
CeremonyInterventionContent
CeremonyInterventionId
CeremonyInterventionProvenance
CeremonyInterventionResponse
CeremonyLifecycle
CeremonyLineage
CeremonyName
CeremonyOutputDefinition
CeremonyParticipantBinding
Who sits in a role’s seat for one working session.
CeremonyProgressWait
How long a progress request waits for another sealed event.
CeremonyReason
Why one thing a session produced led to another.
CeremonyReasonRationale
The caller’s explanation for a causal link between ceremony records.
CeremonyRevision
How many times a ceremony instance has been committed.
CeremonyRole
CeremonyState
CeremonyStep
CeremonyStepContribution
One intervention produced during a ceremony step.
CeremonyTimeout
CeremonyTranscript
The ordered list of contributions accumulated during a ceremony.
CeremonyTransition
CeremonyTransitionRecord
One move a session made, and who made it.
CeremonyValidationFinding
One defect found while analysing a ceremony definition.
CeremonyValidationReport
The complete outcome of analysing a ceremony definition.
CeremonyVersion
The version of a working session’s definition.
ChildCeremonyId
ChildCompletionRef
ChildDepth
ChildDepthBudget
ChildGroupId
ChildGroupState
ChildPosition
ChildQuorum
ChildSpawnCoordinates
ChildSpawnPlan
ChildrenCompletedCondition
ClaimText
Claim text submitted to the evidence-support decision port.
ContextKey
A top-level key in ceremony context.
ContextPatch
An atomic set of top-level ceremony-context replacements.
ContextWrites
Declared copies from top-level step output fields into ceremony context.
CostMicros
CouncilContractId
Stable identity of the council contract attached to a task.
CouncilId
Identifier of a council (group of agents for a given specialty).
CouncilJournalConsumer
Stable name of one independent consumer of the council journal.
CouncilJournalLease
An exclusive council-consumer lease. Its identity is issued by the store.
CouncilJournalLeaseId
Unique token proving ownership of one cursor lease.
CouncilJournalPageLimit
Validated size of one council-journal page.
CouncilJournalPosition
An ordinal in the council journal. It cannot be a ceremony cursor.
CouncilSnapshotSource
Operator-supplied provenance label for an imported council snapshot; never a credential URL.
CritiqueFeedback
Peer-review feedback returned by an agent.
CurrencyCode
DelegationDepth
DurationMs
A duration measured in whole milliseconds.
DynamicRoleBinding
A role selected from ceremony context at claim time.
EventId
Identifier of a domain event as emitted by MADE.
EventSchemaVersion
Version of a ceremony event’s payload shape.
EvidenceBody
Non-empty evidence excerpt made available to a support judge.
EvidenceExcerpt
One typed evidence excerpt presented to a support judge.
EvidenceGroundingRule
Field shape and evidence pack required to ground structured claims.
EvidenceReference
Identity of one evidence item cited by a claim.
ExecutionConnectorId
Stable configured identity of an execution connector.
ExecutionDuration
ExecutionId
Stable identity assigned by an execution adapter.
ExecutionIntent
Durable declaration written immediately before one claim calls a connector.
ExecutionOperation
Semantic operation root shared by every technical claim that may execute it.
ExecutionOperationId
Stable identity of one semantic external operation.
ExecutionOutcome
Final result returned by an execution adapter.
ExecutionReceipt
Immutable terminal observation of one semantic external operation.
ExecutionReceiptId
Deterministic identity of the sole terminal receipt for an operation.
ExecutionReceiptLink
Immutable reference sealed beside the step result that consumed a receipt.
ExecutionRecoveryCursor
Opaque keyset cursor for scanning execution operation roots.
ExecutionRecoveryPageLimit
Bounded number of execution operations returned by one recovery scan.
ExecutionRequestBytes
Canonical semantic input sealed before an external operation starts.
ExecutionRequestDigest
Digest of the semantic request bytes sealed by the first intent.
ExternalOperationId
Opaque operation identity observed from an external connector.
FiniteMetricValue
A metric sample value proven to be finite.
GlobalPosition
Where a sealed record sits in the order every stream shares.
GuardName
IdempotencyKey
InputName
InterventionRoleIds
Nonempty scoped recipients. Empty boundary lists mean the whole table instead. Historical deserialization remains tolerant so journal replay is unchanged; constructors and aggregate command validation enforce the current limits.
JoinStepCount
LateStepResult
LeaseOwnerId
LifecycleReason
MaxBounces
Maximum number of times one exact declared edge may be applied.
MaxChildDepth
MaxChildren
MaxParallel
MaxTransitions
Maximum number of transitions one ceremony instance may apply.
MeasuredBudgetQuantities
MemoryCapabilities
What a memory backend can actually do.
MemoryEntry
One thing worth remembering.
MemoryEntryId
What an entry is called, so something else can point at it.
MemoryEvidence
Something that backs an entry up.
MemoryMoment
A point to read memory as of.
MemoryProvenance
Who says so, and when they saw it.
MemoryRelation
Why one remembered thing led to another.
MemoryScope
What a memory is about.
MemoryWrite
What a session is handing to memory in one go.
MetricHelp
Human-readable Prometheus family help text.
MetricLabelName
A Prometheus label name.
MetricLabelValue
A Prometheus label value.
MetricName
A Prometheus metric or sample name.
NumAgents
Number of agents participating in a deliberation. Must be at least one — a deliberation without agents has no meaning.
OutputContract
Typed structured-output contract attached to one invocation.
OutputContractId
Stable identity of a structured output contract.
OutputFieldGuardCondition
Exact structured-output predicate used by a ceremony guard.
OutputFieldRule
Validation rules for one named field in a structured output object.
OutputName
PlannedChild
PrincipalId
PrometheusText
One complete Prometheus text exposition snapshot.
ProposalContent
Provider-authored proposal text.
ProposalId
Identifier of a concrete proposal produced during deliberation.
QuarantinedCeremonyEvent
One global-feed event a consumer deliberately skipped after retries.
RecalledEntry
One thing an earlier session left behind, as a later one reads it.
RecollectionBudget
How much of what memory holds a session is willing to read at its opening, in bytes of summary.
ReconsiderationConditions
Distinct reasons to ask again. Constructors validate new commands; transparent deserialization retains previously accepted journal payloads without rewriting them.
RecorderName
The operational metrics recorder selected by a composition root.
RetryPolicy
RoleId
Rounds
Number of peer-review rounds performed during a deliberation.
Rubric
A rubric is a map of string keys to structured JSON-shaped values.
Score
A normalized quality score.
SemanticSupportRule
Evidence bodies and acceptance threshold for semantic support judging.
SeparationRule
SessionRecollection
What earlier sessions in this scope decided, as one session reads it when it opens.
Specialty
A specialty label identifying a kind of agent expertise.
StateDeadline
StateId
StateIteration
One complete execution of every step in a ceremony state.
StateRepeatPolicy
Bounded repetition of every step in one ceremony state.
StateRepeatUntilCondition
The exact output predicate that stops repetition of a whole state.
StateTimeout
StateVisit
A durable entry into a state, independent of within-state repetition.
StepAttempt
StepClaimFence
Identity of exactly one accepted claim. It is a concurrency fence, not a credential.
StepDeadline
StepErrorMessage
StepExecutionRecord
StepHandlerConfig
StepHandlerKind
StepId
StepInstructions
The instruction text a ceremony stage gives its handler.
StepIteration
One semantic execution of a ceremony step.
StepLease
StepOutput
StepOutputField
Top-level structured output field inspected by a repeat stop condition.
StepRepeatExhaustedGuardCondition
Reference to the repeating step whose cap may route one transition.
StepRepeatPolicy
Bounded semantic repetition for a successful ceremony step.
StepResult
StepTimeout
StreamVersion
How many events a ceremony’s stream holds.
SupportConfidence
Confidence percentage attached to an evidence-support decision.
SupportRationale
Explanation recorded alongside an evidence-support decision.
SupportVerdict
Evidence judge decision captured as domain values.
TaskDescription
TaskId
Identifier of a task submitted for deliberation.
TokenUsage
Token counts reported by a model for a single call.
ToolCallCount
TraceContext
W3C traceparent shape. All components are lowercase hex.
TraceId
Validated W3C trace identity, without span-local context.
TransitionTrigger
ValidationPassed
Whether the selected council decision passed its requested validation.

Enums§

ArtifactSourceKind
What produced an artifact or execution receipt.
AuditActorKind
What kind of participant caused an audited fact.
AuditChainDefect
How a journal failed verification.
AuditChainVerdict
The outcome of verifying a ceremony’s journal.
AuditEventType
The audited fact a record states.
AuthenticationMethod
AuthorizationAction
AuthorizationDecisionKind
AuthorizationDenialReason
AuthorizationScope
BudgetDimension
BudgetMeasurement
CeremonyChangeImpact
Whether a definition change could strand an already-running ceremony.
CeremonyChangeKind
What happened to one element between two ceremony definitions.
CeremonyEndReason
CeremonyInterventionKind
CeremonyInterventionStatus
CeremonyInterventionTarget
CeremonyLifecyclePhase
CeremonyOutcome
How a ceremony run terminated.
CeremonyReasonKind
How one thing a session produced explains another.
CeremonyRecordRef
Something a session produced that another thing can point at.
CeremonyStateKind
CeremonyStepAggregation
How a step consumes the completed outputs of the concurrent state immediately before it.
CeremonyValidationLocus
The exact element of a ceremony definition a validation finding refers to.
CeremonyValidationSeverity
Whether a validation finding blocks a ceremony definition or only warns about it.
ChildJoin
CouncilSelector
DeliberationOutcome
The terminal result of a deliberation that ran to completion.
Discrimination
How a scoring policy’s winner compares to the structural baseline.
DiversityPreference
Whether an agent should seek an intentionally different proposal.
ExecutionReceiptLinkKind
How a terminal receipt became bound to the claim that completed a step.
ExecutionRecoveryCapability
How a connector establishes what happened after an ambiguous interruption.
ExecutionStatus
Final domain status of an execution attempt.
GuardCondition
InputRequirement
LlmErrorKind
How an LLM call failed, as a stable metric label.
MemoryCapability
One capability advertised by a memory backend.
MemoryConfidence
How sure the one who said it was.
MemoryEntryKind
What a remembered thing is.
MemoryRelationKind
How one remembered thing explains another.
MetricKind
Prometheus metric family kind.
MetricValue
A Prometheus sample value, including the non-finite values its text exposition permits but JSON numbers do not.
OutputFormat
Wire- and storage-stable structured output format selector.
PrincipalKind
PriorContext
Whether a ceremony stage sees contributions from earlier stages.
ReasonAsserter
Actor category allowed to assert a ceremony reason.
RecollectionCompleteness
Whether a recollection is all of what the scope held, or as much of it as the budget allowed.
RepeatUntilCondition
A deterministic condition that ends semantic step repetition.
RoleAction
ScoringMode
Which branch a judge-aware scoring policy took for one proposal.
StateExecution
StepFailureKind
A stable failure classification sealed with a step’s result.
StepStatus
SupportDecision
Semantic decision made about a claim and its cited evidence.
ValidationMode
How the RunCouncilDecision RPC treats validator failures when picking a winner.

Constants§

DEFAULT_SUPPORT_MIN_CONFIDENCE
Default minimum confidence required for semantic evidence support.
MAX_EXECUTION_ARTIFACTS