Skip to main content

Module analysis

Module analysis 

Source
Expand description

Requirements-modeling analyses (RFC: A4, B2, B3, B4, B5).

These analyses operate on the AST and produce reports for humans and downstream tools (popsicle Skills). All analyses are deterministic: pure AST → text/JSON, no Z3 invocation.

Structs§

ClauseExplanation
CoverageReport
CoverageScenarioReport
DiffReport
DiffSummary
ExplainReport
ImpactReport
RFC B4: impact analysis. Walk goal.realized_by + coverage witnesses to find downstream effects of a diff.
IntentTestSpec
ScenarioRow
TestSpec

Enums§

Change
Lifecycle
ModificationKind

Functions§

coverage_report
For each coverage declaration, enumerate the cartesian product of declared dimension values. A combination is considered “covered” if some safety invariant or intent clause syntactically mentions every value name in the combination.
diff
explain
Generate a plain-English explanation of an intent/safety/goal. This is template-based — no LLM call. The output is meant to be human-reviewed and is consumed by popsicle’s adversarial-reviewer Skill.
expr_to_text
impact
intent_lifecycle
testspec