Skip to content

Stage 8.1-8.2: Evolve event core and behavior profiling - #3

Merged
Lotargo merged 46 commits into
mainfrom
stage-8-evolve-event-core
Sep 5, 2026
Merged

Lotargo merged 46 commits into
mainfrom
stage-8-evolve-event-core

Conversation

@Lotargo

@Lotargo Lotargo commented Sep 5, 2026 •

Copy link
Copy Markdown
Owner

Stage 8.1-8.2 - Evolve Runtime Foundation

Practical implementation of the Evolve event and deterministic behavior layers.

Stage 8.1 - Event Core

  • SecurityEvent and RiskLevel contracts
  • deterministic Evolve state machine
  • EvolveSession and bounded event storage
  • shared daemon event sink
  • canary, sync exec, background, browser and HTTP probe sensors
  • route-level PolicyViolation telemetry
  • one evolve_session_id propagated across each audit scope
  • canary events correlated with the active behavioral session
  • stale canary watchers invalidated on re-arm
  • fixed host/daemon canary contract mismatch (base_dir vs token_label)
  • manual emergency isolation synchronizes Evolve state
  • authenticated daemon routes for enable/status/events/sessions/trace
  • host bridge helpers for Evolve runtime control and observability

Stage 8.2 - Deterministic Behavior Layer

  • BehaviorProfiler and ordered BehaviorTrace
  • process, resource and destination lineage
  • deterministic behavior tags and risk score
  • real exec PID/parent PID telemetry
  • contextual sequence correlation
  • discovery -> network = MEDIUM
  • credential interest -> network = MEDIUM
  • confirmed credential access/canary -> network = HIGH
  • control-plane/escape activity = CRITICAL
  • EvolveManager decisions now use effective contextual risk

Safety of the incremental migration

Deception Fabric is not implemented yet. HIGH/CRITICAL behavior therefore still escalates to the existing KillSwitch rather than attempting an incomplete redirect path.

Evolve remains restrictive-only and cannot expand the active RoE.

Tests added

  • event/state/manager unit tests
  • behavior profiler correlation tests
  • canary session/re-arm tests
  • daemon event sink tests
  • host bridge session correlation tests
  • live Docker Evolve behavior regression scenario

Validation note

GitHub Actions currently create jobs with runner_id=0 and steps=[], so CI is failing before checkout and is not reaching project code. The test coverage is committed, but cargo check/test/clippy/rustfmt and the live Docker suite still require a functioning runner before merge.

@Lotargo Lotargo changed the title Stage 8.1: Evolve event core Stage 8.1-8.2: Evolve event core and behavior profiling Sep 5, 2026
@Lotargo
Lotargo marked this pull request as ready for review September 5, 2026 04:39
@Lotargo
Lotargo merged commit d4bddb2 into main Sep 5, 2026
0 of 6 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.

1 participant