DEV-000069 general agent delegation codex bridge foundation
CI / test (push) Successful in 20s
CI / test (pull_request) Successful in 20s

This commit is contained in:
m
2026-08-17 20:07:14 +03:00
parent d870e1361d
commit b3491520bd
21 changed files with 1914 additions and 20 deletions
+16
View File
@@ -58,6 +58,7 @@ type AttentionSourceKind string
const (
AttentionSourceProspectiveReminder AttentionSourceKind = "PROSPECTIVE_REMINDER"
AttentionSourceAgentDelegation AttentionSourceKind = "AGENT_DELEGATION"
)
// ProspectiveItem is canonical future relevance. TriggerAtUnixMillis is an
@@ -99,6 +100,7 @@ type AttentionItem struct {
ScopeID authority.ScopeID
SourceKind AttentionSourceKind
SourceProspectiveID ProspectiveItemID
SourceExternalRef string
Level AttentionLevel
State AttentionState
Summary string
@@ -177,6 +179,8 @@ const (
ResponseOutcomeCancelled ResponseOutcome = "CANCELLED"
ResponseOutcomeDismissed ResponseOutcome = "DISMISSED"
ResponseOutcomeClarificationNeeded ResponseOutcome = "CLARIFICATION_NEEDED"
ResponseOutcomeContinued ResponseOutcome = "CONTINUED"
ResponseOutcomeRejected ResponseOutcome = "REJECTED"
ResponseOutcomeNoop ResponseOutcome = "NOOP"
)
@@ -213,6 +217,18 @@ type HumanResponseResult struct {
Reply string
}
type CreateAttentionRequest struct {
OwnerPrincipalID identity.PrincipalID
ScopeID authority.ScopeID
SourceKind AttentionSourceKind
SourceProspectiveID ProspectiveItemID
SourceExternalRef string
Level AttentionLevel
Summary string
DueAtUnixMillis int64
CreatedAtUnixMillis int64
}
// SatisfyDeliveredSubject is the complete serializable operation subject. It
// is distinct from a Work TaskTarget, which remains the live justification.
type SatisfyDeliveredSubject struct {