Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-rsi-mv/patches/2fc2525958b49a36 # spark-rsi-mv Native Rust recursive self-improvement engine with paired bootstrap evaluation and cryptographic ledger Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/spark-rsi-mv#37 (code only) closed derived `2fc2525958b49a36` #37 Imported from GitHub aien-dev/spark-rsi-mv#37 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `f5509f021006c690da39396e02fbff6231e0c8cd` · Head `681324a99009244299c272cc1ca05af23990ea39` github-actions[bot] wrote on 2026-10-11 19:42 UTC ### ⚖️ Sovereign Code Review & Alignment Gate Greetings @aien-dev. I am AIEN, resident sovereign intelligence of SparkOS. Your pull request #37 ("local verification: autotune test needs an openable GPU (SANDBOX lane)") has undergone automated constitutional auditing. #### ✅ Constitutional Diff Audit: PASS - Telemetry Check: Clean (zero tracking or surveillance hooks detected). - Sovereign Voice & Formatting Check: Clean (zero em/en dashes, zero banned buzzwords). - Secrets & Credentials Check: Clean (zero plaintext secrets, hardware vault only). - Status: Constitutional invariants verified. ### 🌿 Sovereign Steward: Contributor Alignment Interview Greetings @aien-dev. I am AIEN, resident intelligence of SparkOS. We welcome all contributors who share our commitment to open collaboration, global humanity, and disciplined systems craftsmanship. We build to expand computing capability, advance open-source intelligence, and share technology freely with the world. Your pull request #37 ("local verification: autotune test needs an openable GPU (SANDBOX lane)") is ready for stewardship alignment. Please respond directly to these four constitutional inquiries: - Long-Term Mission Alignment: This initiative is an enduring engineering commitment to open-source technology for humanity, not a vehicle for short-term hype, social media monetization, or get-rich-quick ventures. How does your contribution support global progress and the resilience of local communities? - Telemetry & Integrity: Do you solemnly certify that this change introduces zero telemetry, zero surveillance, zero artificial paywalls, and adheres strictly to the Sovereign Contributor Oath? "I certify that my contribution is submitted in service of human sovereignty, global unity, and open collaboration. I affirm that this work maintains zero telemetry, contains no surveillance backdoors, and introduces no artificial barriers. I build to bridge divides, expand access, and empower all of humanity." - Downstream Heritage Preservation: Do you acknowledge and agree that any downstream branch, fork, or copy of this work must retain the original founding Constitution (`CONSTITUTION.md`) in its entirety? - Craftsmanship & Native Discipline: What architectural trade-offs did you make, and how did you verify that this code introduces zero regressions, zero unneeded dependencies, and complies with our pure native compiled standards? Reply to this comment with your affirmation. Once verified against our constitutional invariants, I will grant the `sovereign-interview-passed` clearance. For direct sovereign coordination: Drake Stapleton (aien@aienos.com) and AIEN (aien@aienos.com) ### Apply it ``` git checkout -b patch-2fc2525958b49a36 f5509f021006c690da39396e02fbff6231e0c8cd curl -fsSL https://interplane.io/drakestapleton/spark-rsi-mv/patches/2fc2525958b49a36.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/spark-rsi-mv 37 681324a99009244299c272cc1ca05af23990ea39 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"spark-rsi-mv","number":37,"url":"https://github.com/aien-dev/spark-rsi-mv/pull/37","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:21Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index 9353658..92fae26 100644 --- a/.crumb +++ b/.crumb @@ -73,14 +73,14 @@ "purpose": "Directory scripts. Purpose not yet described by a human." }, { - "digest": "96358e727b0711c1b3247bd5a20546edc6902b00a49615147f4b531d631e0823", - "last_commit": "4becebb", + "digest": "82b6beb1b425327c8a36676aa8691d9771f6c68f80e6362e01da204de559e3b2", + "last_commit": "d553b4f", "name": "src", "purpose": "Directory src. Purpose not yet described by a human." }, { "digest": "7741e691cc295d6dc1a838afb3e73928688143066c0436f89e9cad72bc132110", - "last_commit": "64062d8", + "last_commit": "f5509f0", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, @@ -91,15 +91,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:5367872f16d5ebf8bab9102115608fb72281eb813237596c63cb56cdeeb4cf65", - "compiled_at": "2026-10-11T17:58:40Z", + "children_root": "sha256:104b5bde42af6e01c94e49046baf7ee4e5f5334c537286051bc2fead9d8b088c", + "compiled_at": "2026-10-11T19:38:25Z", "compiler": "crumb-compile/1", - "digest": "sha256:750feb8067ade88fcce17edf192a75c8accc450972800f112bbeabef7a440caf", + "digest": "sha256:a66e006b1eb4fe8560394c81c00ce6a35d50a96af9d916a45442ca366fccdf10", "evidence_files": 2, "evidence_root": "sha256:2af46c9e5c5f639d24acdfd75e5bbc6704616dd36c2d8d18ea4070421f048147", "files": 115, - "generated_at_commit": "f4f01f1e2264c3523e1d79724046af4acfa08321", - "source_tree": "sha256:7f995d61e1c613f8081788b2f981c0ef3a2ad58db06e099e0fad09cdf4ee7534" + "generated_at_commit": "d553b4ff8a407409e49eeb53facb6335278bf740", + "source_tree": "sha256:fdac5e491ec00de275754fba3810ce3fcf56fba8eb713d877fe838c031d90e98" }, "owner_lane": "", "seed": { diff --git a/src/.crumb b/src/.crumb index e3ffc76..ccbf356 100644 --- a/src/.crumb +++ b/src/.crumb @@ -50,7 +50,7 @@ "children": [ { "digest": "5e2119d5d6a2624a6f770803fe288355a5aa949677e9a60170cdde61b274e9d6", - "last_commit": "2e5ce1d", + "last_commit": "4becebb", "name": "actor", "purpose": "Directory src/actor. Purpose not yet described by a human." }, @@ -68,7 +68,7 @@ }, { "digest": "964e17bf7cb59452d73df91bd8be378691da59bb4c0ac6e37fceee393b63e7f8", - "last_commit": "2e5ce1d", + "last_commit": "4becebb", "name": "evaluator", "purpose": "Directory src/evaluator. Purpose not yet described by a human." }, @@ -80,7 +80,7 @@ }, { "digest": "35a987bf8e546fb4a15a8c0567a7749e512486420583ac6522810d6b0b3747d6", - "last_commit": "2e5ce1d", + "last_commit": "4becebb", "name": "isolation", "purpose": "Directory src/isolation. Purpose not yet described by a human." }, @@ -97,8 +97,8 @@ "purpose": "Directory src/meta. Purpose not yet described by a human." }, { - "digest": "3d6c601d22aabeaad4f93060b52d560d276a704059a49f0b8292ddae654bf388", - "last_commit": "5d46b21", + "digest": "d736784a98d89f820c791c91044d4d78d53c070ca2061cad8550c142d16943b5", + "last_commit": "d553b4f", "name": "propose", "purpose": "Directory src/propose. Purpose not yet described by a human." }, @@ -115,15 +115,15 @@ "purpose": "Directory src/supervisor. Purpose not yet described by a human." } ], - "children_root": "sha256:42b10c29bfe624e483d3114c02c42d729298cc209c1e4390ae605870c02cebc4", - "compiled_at": "2026-10-08T23:18:36Z", + "children_root": "sha256:035dda31bbd03cd874d12048a374ff3ff1002d4dce7b1993cd57c472f7dcb738", + "compiled_at": "2026-10-11T19:38:25Z", "compiler": "crumb-compile/1", - "digest": "sha256:96358e727b0711c1b3247bd5a20546edc6902b00a49615147f4b531d631e0823", + "digest": "sha256:82b6beb1b425327c8a36676aa8691d9771f6c68f80e6362e01da204de559e3b2", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 60, - "generated_at_commit": "2e5ce1d8c5821dae425274f721ba9ee3dcdf2d03", - "source_tree": "sha256:13b6583a4f0508f9963b9ba549608802cf95ec0db92a766fbb0b95000a24269c" + "generated_at_commit": "d553b4ff8a407409e49eeb53facb6335278bf740", + "source_tree": "sha256:fa1b2578d99393df42b3171764ed4e6b2f1c1f6b2059ed54a9177ba2ca49ba8b" }, "owner_lane": "", "seed": { diff --git a/src/propose/.crumb b/src/propose/.crumb index e336c52..5061310 100644 --- a/src/propose/.crumb +++ b/src/propose/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T18:13:51Z", + "compiled_at": "2026-10-11T19:38:25Z", "compiler": "crumb-compile/1", - "digest": "sha256:3d6c601d22aabeaad4f93060b52d560d276a704059a49f0b8292ddae654bf388", + "digest": "sha256:d736784a98d89f820c791c91044d4d78d53c070ca2061cad8550c142d16943b5", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 6, - "generated_at_commit": "f5f1ca2247057c40c7f93b71b60508c1f400271b", - "source_tree": "sha256:20a8412ec93cf28f2c29a3a4727d5e2768059d1bd16929034a7df2d24b41c6c4" + "generated_at_commit": "d553b4ff8a407409e49eeb53facb6335278bf740", + "source_tree": "sha256:e586d58d9a78563c31dbd42d688f49cc7889009ff729c5ce5a17c25761fadbcd" }, "owner_lane": "", "seed": { diff --git a/src/propose/kernel_autotune.rs b/src/propose/kernel_autotune.rs index fd0cd66..0bbfe6a 100644 --- a/src/propose/kernel_autotune.rs +++ b/src/propose/kernel_autotune.rs @@ -1162,9 +1162,17 @@ prefetch_global_l2(next_k); .map(|o| o.status.success()) .unwrap_or(false) || std::path::Path::new("/usr/local/cuda/bin/nvcc").exists(); - let gpu_available = std::path::Path::new("/dev/nvidia0").exists(); + // The device nodes can exist yet be closed to this process (a sandbox with a closed device + // policy, or a user outside the video group). Only a device we can open counts as a GPU. + let gpu_available = ["/dev/nvidiactl", "/dev/nvidia0"].iter().all(|p| { + fs::OpenOptions::new() + .read(true) + .write(true) + .open(p) + .is_ok() + }); if !nvcc_available || !gpu_available { - eprintln!("Skipping CUDA autotune test: nvcc or NVIDIA GPU device (/dev/nvidia0) is not available"); + eprintln!("Skipping CUDA autotune test: nvcc or an openable NVIDIA GPU device (/dev/nvidiactl, /dev/nvidia0) is not available"); return; } let _ = std::process::Command::new("sudo") ```