Fix instruction order in the spec-formalization step
This commit is contained in:
parent
de599d1850
commit
eeb5e6159e
1 changed files with 5 additions and 6 deletions
|
|
@ -85,7 +85,10 @@ Every requirement from Phase 1 must appear in this table. If a requirement canno
|
||||||
|
|
||||||
## Phase 4 — Run TLC model checker
|
## Phase 4 — Run TLC model checker
|
||||||
|
|
||||||
Run:
|
If `spec/hooks/run-checks` exists and is executable, delegate TLC verification to it instead of running locally (see `/formspec.init` for the hook interface). Present the returned results to the developer, including any dashboard URLs, and skip to Phase 5.
|
||||||
|
|
||||||
|
If the hook does not exist or fails, run TLC locally:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
tlc spec/formal/System.tla -config spec/formal/System.cfg -workers auto -metadir /tmp/tlc-states -cleanup
|
tlc spec/formal/System.tla -config spec/formal/System.cfg -workers auto -metadir /tmp/tlc-states -cleanup
|
||||||
```
|
```
|
||||||
|
|
@ -113,11 +116,7 @@ Parse the TLC output to determine:
|
||||||
|
|
||||||
### All properties pass
|
### All properties pass
|
||||||
|
|
||||||
If `spec/hooks/run-checks` exists and is executable, delegate TLC verification to it instead of running TLC locally (see `/formspec.init` for the hook interface). Present the returned results to the developer, including any dashboard URLs.
|
Update all statuses in `spec/formal/traceability.md` from `formalized` to `checked`. Report success with a summary of what was verified: number of properties checked, state space explored, time taken. Suggest proceeding with `/formspec.plan.4` to create an implementation plan.
|
||||||
|
|
||||||
If the hook does not exist or fails, run TLC locally as described in Phase 4.
|
|
||||||
|
|
||||||
In either case, update all statuses in `spec/formal/traceability.md` from `formalized` to `checked`. Report success with a summary of what was verified: number of properties checked, state space explored, time taken. Suggest proceeding with `/formspec.plan.4` to create an implementation plan.
|
|
||||||
|
|
||||||
### Meaning drift detected (Phase 2 issue)
|
### Meaning drift detected (Phase 2 issue)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue