data2dsl

Ticket 069: Tighten subactor authority token matching and fix diagnostic summary key (F13)

Goal and scope

Fix audit finding F13:

  1. In src/data2dsl_subactor.py, replace loose substring matching for authority tokens (kw in tok) with exact token matching (tok in VALID_AUTHORITY_KEYWORDS) to prevent unauthorized tokens (e.g. unauthorized_autonomous) from passing validation.
  2. In simulate_self_healing_cycle, fix the diagnostic severity summary dictionary access so that "diagnostic_severity_summary" receives the summary dictionary (diag_profile.get("summary")).

SESSION_EXECUTION_AUTHORIZATION recorded from user prompt.

Acceptance criteria

Participants