[Autoform] Harden collaborative textbook workflows - #8
Conversation
…ness Bound Lean REPL stderr drainage fairly
…contracts Repair shipped Autoform skill contracts
…talog [autoform] Add offline project inspection
[autoform] Add atomic project creation
…servative [autoform] Add conservative project repair
…-gates [autoform] Bound Lean integration gates
…-imports [autoform] Add project-aware REPL imports
…contexts [autoform] Cache project REPL import contexts
|
Initial synchronized head 4d1e0fc: all eight upstream checks passed (Meta CLA; deterministic on Python 3.10 and 3.13; daemon on 3.10 and 3.13; installed wheel on 3.10 and 3.13; pinned real Lean). The four new hardening tracks remain off this branch until their exact commits clear independent adversarial review. |
|
Reviewed update pushed at This tranche adds textbook-scale graph/runtime traversal and transactional companion-site publication. An independent exact-head review returned MERGE. Local validation passed 1,034 deterministic tests, 6 daemon tests, 1 installed-wheel test, 5 real-Lean tests, 84 render tests, Ruff, diff checks, and the strict bundled example build. The local head, VivienCabannes branch, and this PR head match. The new GitHub checks are queued. Claims, verification, durable execution, source coverage v2, README, and live end-to-end changes remain excluded until separately reviewed. |
|
CI follow-up pushed at The preceding run exposed a Python 3.10-only compatibility bug: that interpreter replaces a class-defined pickle restoration hook on frozen slotted dataclasses, so saved parent-format Graph objects restored their node map as an untracked dictionary. The repair installs the hook after dataclass decoration and adds an explicit restoration assertion. Independent review returned MERGE. Local validation passes the saved parent fixture and pickle protocols 0 through 5 on Python 3.10 and 3.13, plus the complete deterministic suites on both versions. Local HEAD, VivienCabannes, and this PR head match. All eight GitHub checks now pass. |
|
Pushed reviewed claim-safety hardening at This adds session-fenced leases, mixed-v1/v2 migration guards, exact CAS receipts, scrubbed Git transport configuration, and descriptor-pinned local repository access. Independent review returned MERGE. Local combined-head gates:
One first-pass Python 3.13 run returned a fail-closed The Vivien branch and upstream PR head both resolve to the exact SHA above. GitHub checks are in progress. |
Summary
This PR adds the project, workspace, coverage, collaboration, Lean-runtime, and publication tooling needed to formalize textbook-scale sources and publish a readable companion.
New commands
Ready work
autoform ready <project-or-blueprint> [--project <id>] [--lean-root <path>] [--json]lists ready statement/proof phases and structured blockers.Project lifecycle
autoform project newatomically creates a Lean + Autoform project.autoform project repairconservatively adds unambiguous missing files and supports dry runs.autoform project inspectreports local project configuration without running Lake, Git, or network operations.autoform project versionslists bundled Lean/Mathlib release pairs.autoform project provenanceverifies the installed plugin against an immutable source revision.Multi-blueprint workspaces
autoform workspace initcreates the root.autoform.tomlregistry.autoform workspace inspectreports registered locations and projects.autoform workspace checkvalidates every registered blueprint.autoform blueprint newcreates and registers a blueprint vault.autoform blueprint registerregisters an existing vault.autoform blueprint listlists registered blueprints.Other additions
article_idbindings. Ready-work discovery requires complete v2 coverage.ready,claim, Lean work, independent review, final validation, and integration.Compatibility
blueprint/projects andautoform initremain supported; workspaces are opt-in.Status
1cf2ca825fec5e6d3303e24374e218bf3e8ab5c1facebookresearch/mainat13be889dee8477cba7271d3b805c5a87460124a3CLEANandMERGEABLE.