Documentation
¶
Index ¶
- type AcceptanceCriteria
- type ActorRef
- type ApprovalDecision
- type ApprovalPolicy
- type ApprovalRequest
- type Artifact
- type ArtifactLineage
- type ArtifactRef
- type ArtifactStorage
- type CommonsEntry
- type ContextBudget
- type ContextPack
- type DelegationPolicy
- type DriBinding
- type EscalationChannel
- type EscalationPolicy
- type EvaluationState
- type GovernancePolicy
- type Institution
- type MetricDelta
- type Permissions
- type PolicyRule
- type PreflightDecision
- type PromotionGate
- type PromotionRecord
- type ReplayBundle
- type TaskConstraints
- type TaskSource
- type Taskpack
- type VisibilityPolicy
- type WorkspaceConstitution
- type WorkspaceDefaults
- type WorkspaceEscalation
- type WorkspaceRule
- type WorkspaceScope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceptanceCriteria ¶
type ApprovalDecision ¶
type ApprovalPolicy ¶
type ApprovalRequest ¶
type ApprovalRequest struct {
SchemaVersion string `json:"schema_version"`
ApprovalID string `json:"approval_id"`
TaskpackID string `json:"taskpack_id"`
PolicyID string `json:"policy_id,omitempty"`
RequestedBy ActorRef `json:"requested_by"`
Reason string `json:"reason"`
RequiredApprovals int `json:"required_approvals"`
Approvals []ApprovalDecision `json:"approvals,omitempty"`
Status string `json:"status"`
CreatedAt string `json:"created_at"`
DecidedAt string `json:"decided_at,omitempty"`
}
type Artifact ¶
type Artifact struct {
SchemaVersion string `json:"schema_version"`
ArtifactID string `json:"artifact_id"`
TaskpackID string `json:"taskpack_id"`
ParentArtifactIDs []string `json:"parent_artifact_ids,omitempty"`
Kind string `json:"kind"`
Title string `json:"title"`
Summary string `json:"summary,omitempty"`
Producer ActorRef `json:"producer"`
Storage ArtifactStorage `json:"storage"`
Lineage *ArtifactLineage `json:"lineage,omitempty"`
EvaluationState *EvaluationState `json:"evaluation_state,omitempty"`
Labels []string `json:"labels,omitempty"`
SecurityClassification string `json:"security_classification,omitempty"`
Version int `json:"version"`
CreatedAt string `json:"created_at"`
}
type ArtifactLineage ¶
type ArtifactRef ¶
type ArtifactStorage ¶
type CommonsEntry ¶
type CommonsEntry struct {
SchemaVersion string `json:"schema_version"`
CommonsEntryID string `json:"commons_entry_id"`
InstitutionID string `json:"institution_id"`
PromotionRecordID string `json:"promotion_record_id"`
Title string `json:"title"`
Summary string `json:"summary"`
ArtifactRef ArtifactRef `json:"artifact_ref"`
Scope string `json:"scope"`
Status string `json:"status"`
CreatedAt string `json:"created_at"`
}
type ContextBudget ¶
type ContextPack ¶
type ContextPack struct {
SchemaVersion string `json:"schema_version"`
MandateID string `json:"mandate_id"`
Role string `json:"role"`
BudgetTokens int `json:"budget_tokens"`
MustRead []string `json:"must_read,omitempty"`
MayRead []string `json:"may_read,omitempty"`
MayWrite []string `json:"may_write,omitempty"`
Forbidden []string `json:"forbidden,omitempty"`
Summary string `json:"summary"`
ProofRequired []string `json:"proof_required,omitempty"`
OmittedReasons []string `json:"omitted_reasons,omitempty"`
}
type DelegationPolicy ¶
type DriBinding ¶
type DriBinding struct {
SchemaVersion string `json:"schema_version"`
DriBindingID string `json:"dri_binding_id"`
TaskpackID string `json:"taskpack_id"`
Owner ActorRef `json:"owner"`
Reviewers []ActorRef `json:"reviewers,omitempty"`
Specialists []ActorRef `json:"specialists,omitempty"`
Approvers []ActorRef `json:"approvers,omitempty"`
EscalationPolicy *EscalationPolicy `json:"escalation_policy,omitempty"`
ApprovalPolicy *ApprovalPolicy `json:"approval_policy,omitempty"`
VisibilityPolicy *VisibilityPolicy `json:"visibility_policy,omitempty"`
Status string `json:"status"`
CreatedAt string `json:"created_at"`
}
type EscalationChannel ¶
type EscalationChannel struct {
Type string `json:"type" yaml:"type"`
}
type EscalationPolicy ¶
type EvaluationState ¶
type GovernancePolicy ¶
type GovernancePolicy struct {
SchemaVersion string `json:"schema_version"`
PolicyID string `json:"policy_id"`
InstitutionID string `json:"institution_id"`
Name string `json:"name"`
Description string `json:"description,omitempty"`
AppliesTo []string `json:"applies_to"`
Rules []PolicyRule `json:"rules"`
CreatedBy ActorRef `json:"created_by"`
CreatedAt string `json:"created_at"`
}
type Institution ¶
type MetricDelta ¶
type Permissions ¶
type PolicyRule ¶
type PreflightDecision ¶
type PreflightDecision struct {
SchemaVersion string `json:"schema_version"`
MandateID string `json:"mandate_id"`
Action string `json:"action"`
Path string `json:"path,omitempty"`
Command string `json:"command,omitempty"`
Decision string `json:"decision"`
Reason string `json:"reason"`
ApprovalRequired bool `json:"approval_required"`
MatchedRules []string `json:"matched_rules,omitempty"`
}
type PromotionGate ¶
type PromotionGate struct {
SchemaVersion string `json:"schema_version"`
GateID string `json:"gate_id"`
InstitutionID string `json:"institution_id"`
Name string `json:"name"`
CandidateKinds []string `json:"candidate_kinds"`
RequiredMetrics []MetricDelta `json:"required_metrics"`
MinReplayRuns int `json:"min_replay_runs"`
RequiresApproval bool `json:"requires_approval"`
CreatedAt string `json:"created_at"`
}
type PromotionRecord ¶
type PromotionRecord struct {
SchemaVersion string `json:"schema_version"`
PromotionID string `json:"promotion_record_id"`
InstitutionID string `json:"institution_id"`
CandidateKind string `json:"candidate_kind"`
CandidateRef ArtifactRef `json:"candidate_ref"`
SourceRunIDs []string `json:"source_run_ids,omitempty"`
BenchmarkSuite string `json:"benchmark_suite,omitempty"`
Metrics []MetricDelta `json:"metrics,omitempty"`
Decision string `json:"decision"`
DecisionReason string `json:"decision_reason,omitempty"`
Deciders []ActorRef `json:"deciders,omitempty"`
AcceptedScope string `json:"accepted_scope,omitempty"`
DecidedAt string `json:"decided_at"`
}
type ReplayBundle ¶
type ReplayBundle struct {
SchemaVersion string `json:"schema_version"`
RootTaskpackID string `json:"root_taskpack_id,omitempty"`
Taskpack Taskpack `json:"taskpack"`
Taskpacks []Taskpack `json:"taskpacks,omitempty"`
DriBindings []DriBinding `json:"dri_bindings"`
Artifacts []Artifact `json:"artifacts"`
PromotionRecords []PromotionRecord `json:"promotion_records"`
}
type TaskConstraints ¶
type TaskSource ¶
type Taskpack ¶
type Taskpack struct {
SchemaVersion string `json:"schema_version"`
TaskpackID string `json:"taskpack_id"`
InstitutionID string `json:"institution_id,omitempty"`
ParentTaskpackID string `json:"parent_taskpack_id,omitempty"`
Title string `json:"title"`
Objective string `json:"objective"`
ProblemStatement string `json:"problem_statement,omitempty"`
TaskType string `json:"task_type"`
Priority string `json:"priority"`
RequestedBy ActorRef `json:"requested_by"`
RoleHint string `json:"role_hint,omitempty"`
Inputs []ArtifactRef `json:"inputs,omitempty"`
References []string `json:"references,omitempty"`
Labels []string `json:"labels,omitempty"`
ContextBudget ContextBudget `json:"context_budget"`
Constraints *TaskConstraints `json:"constraints,omitempty"`
Permissions Permissions `json:"permissions"`
Acceptance []AcceptanceCriteria `json:"acceptance_criteria"`
DelegationPolicy *DelegationPolicy `json:"delegation_policy,omitempty"`
CreatedAt string `json:"created_at"`
TraceID string `json:"trace_id,omitempty"`
}
type VisibilityPolicy ¶
type WorkspaceConstitution ¶
type WorkspaceConstitution struct {
SchemaVersion string `json:"schema_version" yaml:"version"`
Workspace string `json:"workspace" yaml:"workspace"`
Mission string `json:"mission" yaml:"mission"`
Defaults WorkspaceDefaults `json:"defaults" yaml:"defaults"`
TaskSources []TaskSource `json:"task_sources,omitempty" yaml:"task_sources,omitempty"`
Scope WorkspaceScope `json:"scope" yaml:"scope"`
ApprovalRules []WorkspaceRule `json:"approval_rules,omitempty" yaml:"approval_rules,omitempty"`
SuccessCriteria []string `json:"success_criteria,omitempty" yaml:"success_criteria,omitempty"`
Escalation *WorkspaceEscalation `json:"escalation,omitempty" yaml:"escalation,omitempty"`
}
type WorkspaceDefaults ¶
type WorkspaceEscalation ¶
type WorkspaceEscalation struct {
DefaultOwner string `json:"default_owner,omitempty" yaml:"default_owner,omitempty"`
Channels []EscalationChannel `json:"channels,omitempty" yaml:"channels,omitempty"`
}
type WorkspaceRule ¶
type WorkspaceScope ¶
Click to show internal directories.
Click to hide internal directories.