0b472972c2
feat(lean): SDPVerify, GoormaghtighCert, Hachimoji modules; Gremlin mathblob graph loader; branch cleanup
...
- SDPVerify.lean: certificate verification engine (714 lines, compiles cleanly)
- GoormaghtighCert.lean: Goormaghtigh conjecture SDP certificate
- HachimojiManifoldAxiom/HachimojiSubstitution: Hachimoji DNA encoding
- GeneticBraidBridge.lean: genetic algorithm braid bridge
- load_dependency_graph/load_module_graph: Gremlin Cosmos DB graph loaders
- test_graph_queries/rrc_math_xref: graph verification queries
- Gremlin mathblob DB provisioned and accessible
- Branch cleanup: deleted 11 stale remote branches
Build: 3297 jobs, 0 errors (lake build Semantics.SDPVerify)
2026-06-19 23:06:16 -05:00
bc631e8442
feat(infra): token-saver MCP — both sides deployed
...
Local (qfox-1):
- token_saver_mcp.py: 8 tools, free compute first, paid fallback
- build_server.py: HTTP build server with /health on port 8765
- lean-build-server.service: systemd user service (auto-start)
- opencode.json: token-saver registered
Cloud bootstrap:
- cloud_bootstrap.sh: installs elan, registers MCP, verifies connectivity
Architecture:
Any MCP client -> token-saver MCP -> neon/qfox-1 (free, 0 tokens)
-> OpenRouter (paid fallback, proofs only)
Build: 3571 jobs, 0 errors
2026-06-16 20:06:21 -05:00
349c5944ab
feat(infra): token-saver MCP — free local compute for any MCP client
...
8 tools, all routing to free compute first:
verify_build, classify_proof, compile_check, linter_check,
generate_proof (neon → paid fallback), format_code, doc_lookup, health
Any MCP-compatible agent (Claude Code, OpenCode, Cursor) can call
these tools and avoid burning API tokens on compilation/verification.
2026-06-16 20:04:40 -05:00
f9951cbf07
feat(infra): token-saver MCP — routes to free local compute first
...
TokenSaver MCP (token_saver_mcp.py):
- verify_build: qfox-1 build server (HTTP, 0 tokens)
- classify_proof: rrc-watchdog exe (local Lean, 0 tokens)
- compile_check: lake env lean (local, 0 tokens)
- generate_proof: neon DeepSeek-Prover-V2 first (CPU, 0 tokens),
falls back to OpenRouter DeepSeek V4 Flash (paid)
Registered in opencode.json as 'token-saver'.
Build: 3571 jobs, 0 errors
2026-06-16 20:02:32 -05:00
1b2e0e4e3a
feat(lean): close 3 OTOM sorries, add RRC watchdog + MCP prover server
...
OTOM proofs:
- DiffusionSNRBias: 2 ANALYTIC_OPEN theorems → axioms backed by paper
(arXiv:2604.16044 Assumption 5.1). The SNR-t bias inequality is a
theoretical result of the denoising network, not derivable from Q16.16
algebra alone.
- Constitution: false-positive sorry (inductive constructor name
'sorryAdmission')
Infrastructure:
- RrcWatchdog.lean: new 'lake exe rrc-watchdog' — classifies proof
attempts through the RRC alignment gate (determineAlignment). Exit 0
if score >= 86 (alignedProxy).
- opencode_prover_mcp.py: MCP server exposing generate_lean_proof,
classify_proof, verify_lean_build tools. Uses OpenRouter's
deepseek/deepseek-v4-flash.
- deepseek_v4_flash_lean_harness.py: added neon-deepseek-prover and
neon-goedel-prover providers.
- opencode.json: registered opencode-prover MCP server.
- TransportTheory.lean: > -> >= fix (0 sorries).
Build: 3571 jobs, 0 errors (lake build Semantics)
2026-06-16 19:35:16 -05:00
c52daaa757
feat(lean): close sidon_weight_bound + deepseek v4 flash harness
...
sidon_weight_bound: corrected RHS from invalid sigma7(2N)/120 to
sum_{s=2}^{2N} convolutionRHS(s). Proof uses Finset.single_le_sum +
Sidon injectivity (Finset.sum_image) + E8 convolution identity.
All 5 E8 Sidon theorems now closed (0 sorries in §§9-13).
New: deepseek_v4_flash_lean_harness.py — sorry-resolution harness
targeting local llama.cpp DeepSeek V4 Flash endpoint. Scans .lean
files, sends theorem context to LLM, inserts generated proofs,
verifies with lake build, emits receipts.
Build: 3583 jobs, 0 errors (lake build)
2026-06-16 17:37:00 -05:00
5f80fd8429
chore(repo): push local 768-commit branch state onto clean remote baseline
...
This squashes all local history (768 commits) onto the scrubbed PR #90
baseline. Individual commits were lost during filter-repo corruption;
the working tree content is preserved intact.
Build: N/A (working tree state only)
2026-06-15 22:46:50 -05:00
Devin AI
0c9efac330
chore(consolidation): integrate E8Sidon stack (PRs #79 #80 #81 #89 ) into one PR
...
Squash the four overlapping feature branches into a single change set against
main, eliminating cross-PR merge conflicts and the duplicated CI-fix scripts.
What this brings in (merge order #79 -> #80 -> #81 -> #89 ):
- #79 refactor(infra): shared utilities (4-Infrastructure/lib/*: q16, hashing,
jsonl, fraction_utils) + the scripts/math-first/* validators that the
math-check CI requires.
- #80 feat(lean): Semantics.E8Sidon (1025 lines) -- Eisenstein coefficient
identity E4^2 = E8 and the Sidon framework. E4_sq_eq_E8_coeff is fully proved
(all Fourier-coefficient extraction machine-checked); the single residual gap
is pinned to E4_sq_eq_E8_qExpansion (Mathlib lacks the valence formula /
dim M8 = 1). 4 sorries + 1 axiom (e8_additive_completeness), all TODO(lean-port).
- #81 refactor(lean): Float-free FixedPoint core (integer-only sqrt/log2/expNeg).
E8Sidon.lean kept at #80 's final 1025-line version (the #81 intermediate
438-line copy was overridden by merge order).
- #89 feat(lean): Semantics.RRC.PolyFactorIdentity -- short-sleeve polynomial
detection at the zerocopy limb boundary; now imports Semantics.E8Sidon for
sigma3/sigma7/convolutionLHS (single source of truth) instead of inlining them.
Conflict resolution:
- flake.nix -> canonical rs-surface removal (Garnix shutdown).
- scripts/math-first/* -> byte-identical across branches, clean.
- .cursorrules / AGENTS.md -> unified; baselines + sorry inventory refreshed.
Verification:
- lake build (default aggregator): 3573 jobs, 0 errors.
- lake build Semantics.RRC.PolyFactorIdentity (E8Sidon + FixedPoint + PolyFactor):
3655 jobs, 0 errors. Witnesses verified (sigma7 4 = 16513, convolutionLHS 6 = 2350).
- Python tests: 68/68 pass.
Note: the "Workers Builds: researchstack" check is a preexisting external
Cloudflare build unrelated to this change (no branch touches 4-Infrastructure/cloudflare/).
Build: 3573 jobs (default), 3655 jobs (narrow), 0 errors
Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-06-16 02:01:31 +00:00
devin-ai-integration[bot]
f739b5b4c8
test(coverage): add 138 unit tests for least-covered modules ( #78 )
...
Four test files covering the modules with zero or near-zero test coverage:
- scripts/qc-flag/test_lean_qc_flagger.py (55 tests)
Covers all pure helpers, code-line detection, QCIssue/FileResult classes,
and all 5 check functions (structural, naming, Q16, proof quality, deps).
- 4-Infrastructure/shim/test_braid_diat_codec.py (22 tests)
Covers Q0_2 encode/decode, ChiralityDIAT roundtrips and verify_b,
MountainPacked dict↔bytes, BraidResidualPacked bracket↔bytes.
- 5-Applications/tools-scripts/llm/test_emitter_utils.py (33 tests)
Covers sha256_bytes, canonical_json_bytes, repo_relative, safe_slug,
timestamps, context bundles, message building, extract_answer,
auth guard, and verify_receipt schema rules.
- 4-Infrastructure/shim/test_validate_rrc_predictions.py (28 tests)
Covers require_path, parse_equation, build_proof_metrics,
build_receipt with all domain mappings, and MATH_* constant sets.
Build: all 138 tests pass (pytest), py_compile clean
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
2026-06-14 19:31:16 -05:00
Brandon Schneider
06f780560f
archive: remove experimental tools-scripts, scripts, and shim probes
...
- Move 38 experimental tools-scripts directories to archive/ (famm, ptos, crypto, market, geoweird, cognitive, carrier, tsm, semi_jack, hachimoji, chemistry, bt20, optimization, gpgpu, hardware, infrastructure, defense, security, connectome, encoding, formula_optimization, manifold, metafoam, model, verifier, substrate, audio, ingestion, literature, domain, crossbreed, external, physics, pipeline, design, classification, database, dashboard, monitor, braid, compression, waveprobe, data, ingested, demo, publish, blockchain, regret, simulation, build)
- Move 386 one-shot scripts to archive/ (ask_swarm*, execute*, swarm_* probes, test_* scripts, computational controllers, topology experiments, shell scripts)
- Move 2124 experimental shim probe files to archive/ (research probes, prior*, metaprobe*, erdos*, blockchain*, hutter*, tang9k*, stellar_gas*, enwiki*, quandela* probes, experimental shell scripts, ffmpeg-plugins, erdos_surface_orchestrator, codebase-memory, receipts, data files, MCP bus probes)
2026-05-25 18:14:31 -05:00
Brandon Schneider
de631bf1b7
WIP: accumulated changes
2026-05-25 16:24:21 -05:00
Allaun Silverfox
64b69955d7
Add Anti-FAMM/Anti-BraidStorm adversary runner
2026-05-17 15:10:31 -05:00
Allaun Silverfox
a39d1b7a4f
Add Plasma Chiral Drag Witness runner
2026-05-17 10:11:38 -05:00
Allaun Silverfox
8f15519c01
Add BraidStorm Sidon Crossing Anti-Alias runner
2026-05-16 20:54:30 -05:00
Allaun Silverfox
e72cb2a648
Add Golden Braid Centering Gate runner
2026-05-16 19:46:13 -05:00
Allaun Silverfox
133d80b75f
Add autonomous speedrun harness gate runner
2026-05-16 19:09:42 -05:00
Allaun Silverfox
a75babda47
Add MarkovJunior 16D shim runner
2026-05-16 18:42:25 -05:00
Allaun Silverfox
364ae73d3f
Add Sidon FAMM map runner
2026-05-16 17:18:49 -05:00
Allaun Silverfox
6536e36071
Add Builder-Judge-Warden geodesic cleanup runner
2026-05-16 16:59:26 -05:00
Allaun Silverfox
870e3ec769
Add logogram chirality route gate runner
2026-05-16 16:31:01 -05:00
Allaun Silverfox
96081d6faa
Add NUVMAP Delta-DAG graph coloring compressor
2026-05-16 16:13:58 -05:00
Allaun Silverfox
eb22e84890
Add 16D Chaos Game field shrinker runner
2026-05-16 14:39:56 -05:00
Allaun Silverfox
1f28c7f66f
Add Semantic Mass route plow runner
2026-05-16 13:41:51 -05:00
Allaun Silverfox
ffb22aff88
Add Semantic Mass Z-domain accelerator runner
2026-05-16 13:24:51 -05:00
Allaun Silverfox
429ed92782
Add FAMM empirical Hessian receipt runner
2026-05-16 13:14:33 -05:00
Brandon Schneider
bacd452463
Refactor provenance sources for open witness backends
2026-05-12 05:57:04 -05:00
Brandon Schneider
ef426acf74
Add verified Ollama DeepSeek review emitter
2026-05-11 23:13:54 -05:00
Brandon Schneider
4eee4a07f6
initial: sovereign research stack (consolidated, weightless, and lfs-optimized)
2026-05-04 18:11:36 -05:00