Workflows
Workflow A: start from tests/logs
- Add/ingest traces (tests and logs)
- Add a minimal domain model (state/action types)
- Add predicates to describe observed properties
- Add scenarios that match observed behavior
- Use diffs to measure progress: more matched scenarios, more formalized traces
Workflow B: start from requirements/docs
- Add doc artifacts (requirements)
- Add predicates and transitions that encode key rules
- Add scenarios to cover each requirement clause
- Link artifacts to the formal components they support
Workflow C: start from code (agentic)
- Use CodeLogician/ImandraX to extract formal structure from code
- Use an agentic CLI to propose scenario deltas (small steps)
- Validate and analyze after every change
- Iterate until coverage and consistency are acceptable
In all workflows, the backbone is the same: incremental typed changes + global verification after every step