-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
priority:highHigh priorityHigh prioritysource:backlog-stewardAuto-created by Backlog Steward skillAuto-created by Backlog Steward skillstatus:in-progressTask is in progressTask is in progresstask:implementationImplementation workImplementation work
Description
Source
- Type: ROADMAP
- Location: ROADMAP.md — "Now — Kernel Evolution Sprint" → KE-2
- Original text: KE-2: Canonical Action Normalization (ActionContext) — Formalize a vendor-neutral action representation that decouples the policy engine from provider-specific payloads.
Task Description
Design and implement the ActionContext contract — a vendor-neutral action representation that decouples the governance policy engine from provider-specific payloads (Claude Code tool calls, Copilot CLI commands, LangGraph actions, etc.).
Subtasks from ROADMAP
- Design
ActionContextcontract: actor identity (agent/session/worktree), action category, structured arguments - Build specialized adapter for Claude tool-calls →
ActionContextmapping - Ensure policy engine consumes only normalized
ActionContext(no provider-specific logic) - Benchmark: context normalization in 50–100µs
Context
KE-2 is the only untracked item in the Kernel Evolution Sprint (KE-1 ✅, KE-3 ✅, KE-4 #687, KE-5 #716, KE-6 #717). It is a critical dependency for:
- v3.0 release — "Default-deny finalized + KE-2 ActionContext shipped" is the first v3.0 checkbox
- Phase 7 (Capability-Scoped Sessions) — depends on KE-2
- Phase 9 (Editor & Agent Integrations) — KE-2 provides vendor-neutral normalization
Engineering Constraints (from ROADMAP)
- Zero I/O in the synchronous enforcement loop
- Algorithmic determinism — structured matchers over regex
- Context normalization target: p50 < 50µs, p95 < 100µs
Key Files
packages/kernel/src/aab.ts— Current AAB normalization (to be replaced/extended)packages/kernel/src/kernel.ts— Kernel orchestratorpackages/core/src/types.ts— Shared type definitionspackages/adapters/src/claude-code.ts— Claude Code adapter
Labels
Created automatically by the Backlog Steward skill.
Discovered by backlog-steward (claude-code:opus:planner) on 2026-03-25T04:05:00Z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority:highHigh priorityHigh prioritysource:backlog-stewardAuto-created by Backlog Steward skillAuto-created by Backlog Steward skillstatus:in-progressTask is in progressTask is in progresstask:implementationImplementation workImplementation work