StakeLevel
Overview
Section titled “Overview”Specter — adversarial red-team engine.
Absorbs: adversarial.
Runs structured adversarial analysis on high-stakes decisions: counter-arguments, failure modes, hidden assumptions, worst-case scenarios. Auto-activates based on detected stake level.
Now includes red_team_audit() for Chronicle log analysis with real pattern matching (not just LLM prompting) and stress_test() for generating specific test scenarios based on detected failure patterns.
- Version:
0.1.0 - Class:
StakeLevel - Module name:
specter
Tier 2 module.
AuditFinding
Section titled “AuditFinding”| Field | Type | Default |
|---|---|---|
category | str | — |
severity | str | — |
description | str | — |
evidence | list[str] | — |
occurrences | int | — |
AuditReport
Section titled “AuditReport”| Field | Type | Default |
|---|---|---|
entries_analyzed | int | — |
findings | list[AuditFinding] | — |
error_rate | float | — |
most_failing_module | str | — |
slow_response_count | int | — |
summary | str | — |
StressTest
Section titled “StressTest”| Field | Type | Default |
|---|---|---|
name | str | — |
description | str | — |
target_module | str | — |
test_input | str | — |
expected_failure | str | — |
severity | str | — |
RedTeamReport
Section titled “RedTeamReport”| Field | Type | Default |
|---|---|---|
decision | str | — |
stake_level | StakeLevel | — |
counter_arguments | list[str] | — |
failure_modes | list[str] | — |
hidden_assumptions | list[str] | — |
worst_case | str | — |
recommendation | str | — |