feat(FN-3547): add runtime action classification and gating system for agen
Merged seven commits that introduce a runtime action gate for task execution (FN-3547) — adding action classification, git-based heuristics for branch/remote gating, and per-step session enforcement — with tests covering the gate logic, heartbeat integration, and PI agent creation. Also landed FN-37 Fusion-Task-Id: FN-3547
This commit is contained in:
@@ -480,6 +480,13 @@ See [Memory Plugin Contract](./memory-plugin-contract.md) for the full plan.
|
||||
- `AgentRuntime` (`agent-runtime.ts`) — runtime adapter interface contract
|
||||
- `RuntimeResolution` (`runtime-resolution.ts`) — runtime selection and fallback logic
|
||||
- `AgentSessionHelpers` (`agent-session-helpers.ts`) — runtime-aware session creation helpers
|
||||
- `AgentActionGate` (`agent-action-gate.ts`) — permanent-agent runtime action classification + policy disposition decisions
|
||||
|
||||
Runtime action-gate flow (v1):
|
||||
- Tool execution wrappers in `pi.ts` compose `wrapToolsWithBoundary()` and `wrapToolsWithActionGate()`.
|
||||
- Non-ephemeral agents receive `AgentActionGateContext` from executor/heartbeat session creation.
|
||||
- `block` and `require-approval` dispositions intercept before tool side effects.
|
||||
- `require-approval` persists durable requests via `ApprovalRequestStore`, reusing pending requests by dedupe key in `targetAction.context.approvalDedupeKey`.
|
||||
|
||||
### Concurrency, recovery, and resiliency
|
||||
- `AgentSemaphore` (`concurrency.ts`) — slot acquisition
|
||||
|
||||
Reference in New Issue
Block a user