Skip to content

[v2] Wire v2 Lattices into SafetyEngine Execution Pipeline #664

Description

@SHAURYASANYAL3

Phase 5: Integration & Migration

The Context

With all structural components (Capability Lattice, State Lattice, Cognitive Lattice) built, it is time to hook them into the core runtime of AgentWatch.

Tasks

  • Open agentwatch/core/safety.py.
  • Update the primary execution interceptor to route proposed actions through the new pipeline sequentially:
    1. CapabilityLattice.evaluate(action)
    2. StateLattice.simulate_and_check(action)
    3. CognitiveLattice.evaluate_health(session)
  • Ensure that a failure at ANY level returns an immediate LatticeVerdict.BLOCKED or equivalent, with strict ~0.1ms latency budget.

Part of Epic #651

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions