Architecture 9 Cursor strategy and isolated OProver residency - #236
Open
FluffyAIcode wants to merge 28 commits into
Open
Architecture 9 Cursor strategy and isolated OProver residency#236FluffyAIcode wants to merge 28 commits into
FluffyAIcode wants to merge 28 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 <[email protected]>
|
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 <[email protected]>
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 <[email protected]>
Treat prior planning-only strategy artifacts as audit history so remediation certificates depend only on current verified upstream evidence. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Bind the root to pinned Mathlib declarations and make ROOT_UNAVAILABLE recovery atomic, elaborated, and isolated from quarantined branches. Co-authored-by: Cursor <[email protected]>
Reset strategy telemetry and proof-plan pointers during root changes so quarantined branch state cannot leak into the new tournament. Co-authored-by: Cursor <[email protected]>
Keep Architecture 9 root bindings intact during supervisor entry and repair interrupted checkpoint overwrites without changing the ledger. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
Apply the subgoal-first transition before the outer blocked-state guard so a persisted Research Contract can resume certified decomposition. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
Rebuild resumed host candidates from the active TargetContext so quarantined RH-C1 data cannot cross into RH-C0 decomposition. Co-authored-by: Cursor <[email protected]>
Issue the existing target-bound host lease and signed resume certificate before a resumed Architecture-9 worker consumes its checkpoint. Co-authored-by: Cursor <[email protected]>
Reference the persisted Strategy Tournament artifact from Research Contracts and repair the exact legacy content-hash dependency before certified resume. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
Hash the normalized ProofLedger dataclass for resume leases and certificates so supervisor issuance matches REPL consumption exactly. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
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 <[email protected]>
Invalidate incompatible executable role artifacts without erasing the accepted strategy tournament and research contract provenance needed for certified retries. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
Replay a content-addressed exhaustion certificate without regenerating private memos or rerunning Strategy, preserving the clean mathematical blocker. Co-authored-by: Cursor <[email protected]>
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 <[email protected]>
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 <[email protected]>
Version the mapper capability when mathematical notation wraps trusted symbol names so representation reports retain complete, auditable coverage. Co-authored-by: Cursor <[email protected]>
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