Architecture 9 Cursor strategy and isolated OProver residency - #236
Open
FluffyAIcode wants to merge 38 commits into
Open
Architecture 9 Cursor strategy and isolated OProver residency#236FluffyAIcode wants to merge 38 commits into
FluffyAIcode wants to merge 38 commits into
Conversation
Route proof strategy through a host-constrained Cursor adapter, isolate OProver residency behind fail-closed preflight and recovery, and keep MLX streams in one process owner to prevent cross-thread faults. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Bind Architecture 9 recovery to verified process generations, host-compiled remediation plans, durable provenance, and single-use leases so unelaborated targets cannot reach proof search or OProver. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep TargetContext and Definition Auditor artifacts immutable while binding the downstream remediation selection, preventing certificate provenance from being rewritten after strategy compilation. Co-authored-by: Cursor <cursoragent@cursor.com>
Treat prior planning-only strategy artifacts as audit history so remediation certificates depend only on current verified upstream evidence. Co-authored-by: Cursor <cursoragent@cursor.com>
Route a consumed Architecture 9 remediation certificate directly to the host-owned definition gate so generic model roles cannot cross the proof-search boundary. Co-authored-by: Cursor <cursoragent@cursor.com>
Persist an auditable Definition Resolution transaction when remediation requires an elaborated target, keeping proof search and OProver closed at the Research Contract gate. Co-authored-by: Cursor <cursoragent@cursor.com>
Search every target-bound host interface and reliable definition source before issuing a content-addressed mathematical terminal blocker, typed backjump, and durable root quarantine. Co-authored-by: Cursor <cursoragent@cursor.com>
Bind the root to pinned Mathlib declarations and make ROOT_UNAVAILABLE recovery atomic, elaborated, and isolated from quarantined branches. Co-authored-by: Cursor <cursoragent@cursor.com>
Reset strategy telemetry and proof-plan pointers during root changes so quarantined branch state cannot leak into the new tournament. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep Architecture 9 root bindings intact during supervisor entry and repair interrupted checkpoint overwrites without changing the ledger. Co-authored-by: Cursor <cursoragent@cursor.com>
Route an accepted Research Contract without an executable typed node back through certified decomposition so model residency cannot begin against the root directly. Co-authored-by: Cursor <cursoragent@cursor.com>
Apply the subgoal-first transition before the outer blocked-state guard so a persisted Research Contract can resume certified decomposition. Co-authored-by: Cursor <cursoragent@cursor.com>
Bypass legacy candidate novelty only for fully target-bound Research Contract decomposition resumes, with a typed evidence backjump for the prior misclassification. Co-authored-by: Cursor <cursoragent@cursor.com>
Rebuild resumed host candidates from the active TargetContext so quarantined RH-C1 data cannot cross into RH-C0 decomposition. Co-authored-by: Cursor <cursoragent@cursor.com>
Issue the existing target-bound host lease and signed resume certificate before a resumed Architecture-9 worker consumes its checkpoint. Co-authored-by: Cursor <cursoragent@cursor.com>
Reference the persisted Strategy Tournament artifact from Research Contracts and repair the exact legacy content-hash dependency before certified resume. Co-authored-by: Cursor <cursoragent@cursor.com>
Launch the certified REPL worker directly so the one-shot resume lease owner PID matches the process that consumes the certificate. Co-authored-by: Cursor <cursoragent@cursor.com>
Hash the normalized ProofLedger dataclass for resume leases and certificates so supervisor issuance matches REPL consumption exactly. Co-authored-by: Cursor <cursoragent@cursor.com>
Derive mutable research-goal caches from the formalized ledger root and fail closed on true binding mismatches without discarding accepted contract provenance. Co-authored-by: Cursor <cursoragent@cursor.com>
Permit crash-safe retry when certificate setup leaves an unconsumed lease whose worker PID no longer exists, while retaining fail-closed conflicts for live owners. Co-authored-by: Cursor <cursoragent@cursor.com>
Invalidate incompatible executable role artifacts without erasing the accepted strategy tournament and research contract provenance needed for certified retries. Co-authored-by: Cursor <cursoragent@cursor.com>
Retain the contract's original Definition Auditor dependency under a dedicated provenance role so a fresh typed audit can coexist without breaking the certified artifact DAG. Co-authored-by: Cursor <cursoragent@cursor.com>
Separate private candidate discovery from proof certification so novel subproblems can be explored without weakening authoritative Lean, ledger, or Judge gates. Co-authored-by: Cursor <cursoragent@cursor.com>
Treat contract-bound definition resolution as a downstream resume so wrapper candidate drift cannot replace accepted provenance with an empty checkpoint. Co-authored-by: Cursor <cursoragent@cursor.com>
Replay a content-addressed exhaustion certificate without regenerating private memos or rerunning Strategy, preserving the clean mathematical blocker. Co-authored-by: Cursor <cursoragent@cursor.com>
Preserve unmappable exploration candidates as typed representation evidence so mapper coverage, semantic rejection, and bounded retries are separated from mathematical failure. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep host-generated representation continuations substantive enough for the supervisor report gate so successful state transitions are not mislabeled as evaluation failures. Co-authored-by: Cursor <cursoragent@cursor.com>
Version the mapper capability when mathematical notation wraps trusted symbol names so representation reports retain complete, auditable coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
Bind three user-authorized RH criteria to independent host plans, selecting only a Lean-validated Jensen quadratic subgoal while preserving Li and Weil blockers as planning-only evidence. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the canonical root hash protected while binding helper-lemma telemetry and artifact indices needed for certified Architecture 9 resume. Co-authored-by: Cursor <cursoragent@cursor.com>
Bind the runtime wrapper candidate during tournament launch so stale stagnation telemetry cannot replace the selected target-bound plan. Co-authored-by: Cursor <cursoragent@cursor.com>
Hash the actual supervisor wrapper so certified RH contract resumes are recognized before legacy stagnation handling. Co-authored-by: Cursor <cursoragent@cursor.com>
Allow an operator Strategy redirect to leave stale BLOCKED state and re-enter the validated tournament-to-contract path. Co-authored-by: Cursor <cursoragent@cursor.com>
Use the guarded blocked-exit event protocol when an authorized Strategy redirect reopens the validated RH contract. Co-authored-by: Cursor <cursoragent@cursor.com>
Accept DOI source IDs at the constrained Cursor boundary and persist the verified intent run/hash required by signed resume certificates. Co-authored-by: Cursor <cursoragent@cursor.com>
Derive reuse claims from validated target-bound artifacts and wait for exact benchmark generations to publish terminal reports, preventing stale Critic and transient-running failures. Co-authored-by: Cursor <cursoragent@cursor.com>
Preserve theorem-local context while redacting only target bodies, classify every bounded OProver and Lean attempt, and gate hardware route certification on reconstructable canaries. Co-authored-by: Cursor <cursoragent@cursor.com>
Use the hardware-measured prompt and request budgets that preserve exact Lean compilation context without timing out the local Q4 adapter. Co-authored-by: Cursor <cursoragent@cursor.com>
Owner
Author
|
Architecture 9 independent reconstruction follow-up is in commits
All PR checks are green. No merge performed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DEFINITION_RESOLUTION_PLANremediation when no elaborated theorem existsSafety properties
DEFINITION_RESOLUTIONand explicitly setproof_search_allowed=falseandoprover_allowed=falseTest plan
gpt-5.6-sole8bf5acProduction fixture coverage
Production result
Terminal condition B was reached on RH-C1. Cursor
gpt-5.6-solrankedTI-DISTINGUISH-FUNCTIONS, but every registered interface/rewrite schema failed host feasibility. The pinned Mathlib declarations were verified; all other configured sources returned explicit target-bound exhaustion statuses. The resulting exhaustion hash is243595a4092b60ea5f5bcfb633052321dab5b90b9313666759a79cb5f92045a1; RH-C1 is quarantined at ledger v95 with backjumpROOT_UNAVAILABLE. Proof Search and OProver were never opened. The PR must not be merged automatically.Made with Cursor
Architecture 9 runtime hardening (dc44e19)
runningis not evaluated, and timeout is typedBENCHMARK_FINALIZATION_TIMEOUT*_reused=trueclaims while classifying and allowing stable schema constants, typed event literals, tests, and fail-closed defaults