Skip to content

feat(core): add trusted execution context contract - #158

Merged
Aias00 merged 1 commit into
mainfrom
feat/trusted-execution-context-119
Oct 13, 2026
Merged

Aias00 merged 1 commit into
mainfrom
feat/trusted-execution-context-119

Conversation

@Aias00

@Aias00 Aias00 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add an immutable, backend-neutral TrustedExecutionContext for tenant/principal references, run correlation, deadlines, budgets, and delegation permissions
  • keep trusted identity separate from ordinary RunnableConfig metadata and propagate it explicitly through graph, tool, interceptor, and AgentTool child-call paths
  • add a strict versioned reference codec plus application resolver so recovery revalidates identity without persisting tokens, credentials, or client objects
  • reserve framework ToolContext keys and always replace metadata/interceptor values with the authoritative runtime config

Security invariants

Verification

  • ./mvnw -pl :argi-graph-core,:argi-agent-framework test
  • make lint
  • targeted license-header check for changed Java sources
  • independent code review completed with no remaining findings

Closes #119

@Aias00
Aias00 merged commit 6e732d0 into main Oct 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P0][T02] 定义可信执行身份与作用域传播契约

1 participant