Skip to content

[autoform][deicyde] Rebuild execution overlay on main contracts - #48

Merged
Deicyde merged 1 commit into
mainfrom
execution
Oct 3, 2026
Merged

Deicyde merged 1 commit into
mainfrom
execution

Conversation

@zibo-yang

Copy link
Copy Markdown
Collaborator

Summary:
Reconstruct Deicyde/main as an additive execution overlay on cleaned main. Restore Orchestrate, specialist subagents, deterministic claim-backed scheduling, and dependency-free Claude/Codex/Muse prover adapters while consuming the canonical Markdown runtime, claim board, and Lean services owned by main.

Harden execution with post-claim revalidation, unique workers, bounded retries and steering, cancellation-safe subprocess cleanup, compare-and-swap rollback, declaration-level edit confinement, Lean-backed type and axiom verification, and authoritative statement/proof transitions.

Test Plan:

  • uv run --extra dev pytest -q tests/test_worker_executor.py tests/test_worker_scheduler.py tests/test_prover_execution.py tests/test_orchestrate_overlay.py (90 passed)
  • uv run --extra dev --extra repl ruff check autoform_cli autoform_worker servers tests
  • make check-example
  • Full pytest: 402 passed, 1 skipped; six unchanged shared Lean-runtime lifecycle tests failed intermittently on macOS and will be gated by Linux CI.

Summary:
Reconstruct Deicyde/main as an additive execution overlay on cleaned main. Restore Orchestrate, specialist subagents, deterministic claim-backed scheduling, and dependency-free Claude/Codex/Muse prover adapters while consuming the canonical Markdown runtime, claim board, and Lean services owned by main.

Harden execution with post-claim revalidation, unique workers, bounded retries and steering, cancellation-safe subprocess cleanup, compare-and-swap rollback, declaration-level edit confinement, Lean-backed type and axiom verification, and authoritative statement/proof transitions.

Test Plan:
- `uv run --extra dev pytest -q tests/test_worker_executor.py tests/test_worker_scheduler.py tests/test_prover_execution.py tests/test_orchestrate_overlay.py` (90 passed)
- `uv run --extra dev --extra repl ruff check autoform_cli autoform_worker servers tests`
- `make check-example`
- Full pytest: 402 passed, 1 skipped; six unchanged shared Lean-runtime lifecycle tests failed intermittently on macOS and will be gated by Linux CI.
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 29, 2026
@zibo-yang
zibo-yang marked this pull request as draft September 29, 2026 16:36
@Deicyde Deicyde added review: in progress awaiting author Review is complete and author action is required and removed review: in progress labels Oct 2, 2026

@Deicyde Deicyde left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current head should remain draft. Reproduced blockers:

  • The axiom-audit module name is derived from the repository path, not Lake's srcDir; the bundled example generates import src.CabannesThesis instead of import CabannesThesis.
  • Proof confinement snapshots only Lean and four Lake files, then commits before validating the roadmap transition. Markdown, CI, Python, Git state, unrelated article fields, and unrelated top-level example declarations can change without rollback.
  • Statement verification accepts forbidden kinds such as axiom, leaving no proof boundary for the next phase.
  • CLI signals never set the cancellation event, so SIGTERM/SIGHUP/SIGINT can orphan a new-session prover after its heartbeat and claim die.
  • The CLI proof prompt has drifted from the worker prompt, and the driver window/stdout queue are unbounded for long agent runs.

These are execution-integrity issues, not documentation polish. Keep #44/#54/#55 from landing on this base until the overlay is transactional and the statement/proof contracts have one tested implementation.

@Deicyde
Deicyde merged commit 1592d6a into main Oct 3, 2026
5 checks passed
@Deicyde
Deicyde deleted the execution branch October 3, 2026 01:57
@Deicyde
Deicyde restored the execution branch October 3, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting author Review is complete and author action is required CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants