feat: add superderive child and open phase-2 routing

Attach the stepwise derivation toolkit as a submodule and default
SUPERPAPER_PHASE to 2 so rewrite-figure can use superderive. Notes
still keep align for short expansions without cancel or subst.
This commit is contained in:
dela
2026-08-17 10:06:39 +08:00
parent 3a322aa8dc
commit e6918ffa35
24 changed files with 659 additions and 12 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ def lint(
if code:
errors.append(f"{code} {fid}")
if toolkit == "superderive" and phase < 2:
errors.append(f"SP022 {fid} toolkit superderive is v2; use align")
errors.append(f"SP022 {fid} toolkit superderive is off; set SUPERPAPER_PHASE=2 or use align")
if toolkit in SIBLING and status != "dropped" and disk:
req = fig.get("request")
req_path = (work / "notes" / req) if (work and req) else None