Skip to content

feat(statechart): import pstack 0.15.49 Lean proof charts - #24

Merged
mrdbstn merged 3 commits into
mainfrom
review/cursor-0.15.49-mirror-lag-20261129
Nov 30, 2026
Merged

mrdbstn merged 3 commits into
mainfrom
review/cursor-0.15.49-mirror-lag-20261129

Conversation

@mrdbstn

@mrdbstn mrdbstn commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Why

/statechart previously accepted TLA+ models only. Pstack 0.15.49 adds Lean 4 lemma/proof charts that expose unproven gaps, failing steps, native computation and custom axioms. Closes #23.

What changed

  • Import .lean/theorem dispatch, pinned v4.34.1 toolchain checks, pure compiler passes, axiom/tree invariants, shortest doubt paths, plain-English views, source corpus and regressions.
  • Preserve TLA+ behavior, hidden Windows cleanup, strict types, CRLF fixes and view/trust gates. Update the existing help row and Pele rendering instructions without adding workflow ceremony.
  • Add checksum-pinned Linux live Lean CI and its maintenance requirement; retain recorded-corpus and Windows/Linux TLC checks.
  • Reconcile the author's prepared delta with the actual mirror and record all 663 imported files. All 88 additions remain exact; no code change was needed during reconciliation.

Scope

Mirror 3d02484fd5f14d624160d7b07cefbffd5e667550 (0.15.49), author 4d5593ed7f5d978ab643800443aad3d8c131d289, versus mirror 9dd340887a043aa1da07a0d5c4e6918bbb3a02a0 (0.15.48). Keep 59 skills, 22 playbooks, 24 exact principles and invocation policies. Help's existing mirror harness wording stays; its changed row matches the author. Stable T3 v0.1.13's seven pins are unchanged and rechecked. See maintenance/cursor-0.15.49-review.md.

Blast Radius

Statechart compiler/tests and skill/render instructions, reviewed inventory and Linux live-proof CI. Lean extraction elaborates package code and does not replace a separate build/axiom gate. Running T3, providers, user model files and installations remain untouched.

Verification

Reviewed head c20887f2866c3126140b544d2c49ad62ed9f20fa.

  • Windows: source/link/policy checks, 6 root tests, frozen Bun 1.4.3 install, all 56 helper tests/types, 9 CRLF/message tests, real TLC pass/deadlock smoke and 7 SANY/corpus cases pass.
  • WSL: root checks/6 tests, frozen helper install/56 tests/types, statechart types and full live Lean v4.34.1 suite pass (492 total: 422 pass, 70 optional TLC differential skips, zero failures). Explicit real TLC pass/deadlock smoke and all 7 SANY/corpus cases pass.
  • All 10 current-head push/PR CI jobs pass, including Linux live Lean, recorded statechart/types and Windows/Linux helper/TLC checks. Final self-review found no unresolved regression; evidence is in the verification comment.
  • Native Windows live Lean compilation was not run. Live T3/provider tools are unavailable, so model/skill-discovery evaluation remains unrun. Schema review and compiler tests are not live model evaluation.

mrdbstn commented Nov 29, 2026

Copy link
Copy Markdown
Owner Author

Final candidate review and verification at 70c2fe9a5ad1381f3356b26f56b4a5a5280887ce:

  • Immutable author delta 4d5593ed7f5d978ab643800443aad3d8c131d289: all 94 candidate file hashes verified, including 88 exact additions. Six existing files preserve their current T3/Windows adaptations. All 24 principles and invocation policies remain exact. No source assertions or trust marks were weakened.
  • Root/link/policy checks and all 6 root tests pass at the current head on native Windows and WSL. Frozen Bun 1.4.3 installs, all 56 helper tests and strict helper types pass on both OSes.
  • The initial WSL helper run timed out during concurrent extraction of the 904 MB Lean archive (one process-spawn fixture). Once extraction finished, the unchanged suite passed all 56 in 0.988s with the same 30s test and 2s child limits. No timeout/assertion changes or extra retries.
  • Lean archive SHA-256 3013aba02bb8bf31b1cf8c9d956d60fb95bb1c10920dfe91abcaa59cb461ddac matches both the source pin and official v4.34.1 release metadata. Linux binary reports 4.34.1 (5045d0056413266e57c625dcd7c365b10e377c52). Installed only in /home/mrdbstn/.cache/p3-maintenance/lean-4.34.1-linux.
  • WSL expanded statechart suite/typecheck with live Lean enabled: 492 total, 422 pass, 70 optional TLC differential skips, zero failures. Log /home/mrdbstn/.cache/p3-maintenance/statechart-live-20261129.log. It ran at d25ac93; both commits' complete statechart trees are 55069d08ff1c75c06906e37c549b3ecac60ecd58. Current-head root checks/tests were rerun after the CI/docs-only follow-up.
  • Explicit real TLC on both OSes reproduces Counter exit 0 and CounterDeadlock exit 1 with source-matching reports/charts; all 7 selected SANY/corpus cases pass. Native Windows passes 9 CRLF/message tests. Windows live Lean compilation was not run.
  • All ten current-head jobs are green: push, PR. Both include the new real Lean compiler job, independently of recorded-facts replay.

No unresolved candidate regression found. The sole merge blocker remains mirror 0.15.48 versus author 0.15.49; draft stays open, source baseline unchanged, and the actual mirror delta/full inventory must be reviewed/recorded before merge. Main is not claimed to contain this candidate.

Live T3/provider discovery and model behavior remain unavailable and unrun; compiler and schema review are not live model evaluation. Running T3, providers and user model files are untouched.

@mrdbstn mrdbstn changed the title feat(statechart): prepare pstack 0.15.49 Lean proof charts feat(statechart): import pstack 0.15.49 Lean proof charts Nov 30, 2026

mrdbstn commented Nov 30, 2026

Copy link
Copy Markdown
Owner Author

Mirror reconciliation and final review at c20887f2866c3126140b544d2c49ad62ed9f20fa:

  • Actual mirror 3d02484fd5f14d624160d7b07cefbffd5e667550 contains the same 94-path delta as author 4d5593ed7f5d978ab643800443aad3d8c131d289: all 88 additions are exact; five other changed whole files match after LF/name normalization. Help's whole-file difference is its prior mirror harness wording; its exact changed row matches the author. The three-way proposal against the prepared port is empty.
  • Recorded the complete 663-file mirror inventory only after that reconciliation. All 575 previously recorded port hashes remain unchanged; all 24 principle leaves/24 policy files and all 58 imported policy files remain exact. No compiler/test/instruction change was needed beyond the reviewed candidate. The mirror-lag blocker is cleared; the record uses the real mirror commit, not an author SHA masquerading as one.
  • Native Windows and WSL at the current head: source/link/policy checks, 6 root tests, frozen Bun 1.4.3 install, all 56 helper tests and strict types pass. No failure or retry in today's verification.
  • WSL statechart typecheck/full suite with real Lean v4.34.1: 492 total, 422 pass, 70 optional TLC differential skips, zero failures. Log /home/mrdbstn/.cache/p3-maintenance/statechart-live-20261130.log. This is live Lean compilation as well as recorded-fixture coverage.
  • Both OSes reproduce real TLC Counter exit 0 and CounterDeadlock exit 1 with source-matching reports/charts, and all 7 SANY/corpus differential cases pass. Windows also passes all 9 CRLF/message tests. Windows live Lean compilation was not run.
  • All ten exact-head CI jobs pass: push, PR. Both include checksum-pinned real Lean compilation. Final review found no unresolved regression, outstanding review thread or genuine user decision.

Stable T3 remains v0.1.13; all seven immutable source hashes were rechecked unchanged. Live T3/provider skill discovery and model evaluation remain unavailable/unrun; compiler/schema checks do not establish them. No running T3 installation, provider settings or user model files were changed.

@mrdbstn
mrdbstn marked this pull request as ready for review November 30, 2026 09:09
@mrdbstn
mrdbstn merged commit edd6caa into main Nov 30, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[maintenance] Upstream compatibility update

1 participant