← Back to Research Index View Raw Source

review-python-shell-makefile-rust-binaries-15-packages.md

# REVIEW PYTHON, SHELL, MAKEFILE, RUST, BINARIES - 15 Packages ## Python **Found:** - make/orchestrator_series_v6.py, orchestrator_v5.py (you have), agents_recursive_updater.py - packages/roadmaps/agents/: roadmaps_data_compilation.py, estate_cloudflare_agent.py, estate_ci.py, estate_merge.py, business_plan_pipeline.py, ip_forensics_gate/transitive_audit_gate.py, ip_forensics_scan.py, lane_spatialfold.py, dependable_bot.py, security_agent_1.py, etc. 236 files total many .py - packages/maps/math_engine.py - packages/sqlxml/orchestration/ar_bridge.py agent_check.py - packages/procurement/procurement_agent.py **Review:** - orchestrator_series_v6.py uses ~/tmp not /tmp (fixed Termux android arm64 LE), maps sovereign-plugin 21 _SOURCES - roadmaps_data_compilation.py run_count 14 compiles business-plan/raw_sources/*/roadmaps-compilation-*.json - estate_cloudflare_agent.py generates estate-cloudflare-graph.json per customer - ip_forensics_scan.py scans for PRIVATE_SUBNETS CVE-2026-48736 **Enhance:** - All .py should have oracle O(H) pure function for SERIES speculative compression - HMAC heartbeat SEC 17684-273-411-436 ## Shell **Found:** - build_*.sh x12 (from APPLICATION_AGENTS.md broad template) - packages/roadmaps/agents/ likely has .sh - bin/ip-enforce.sh (new for IP-Forensics) **Review:** - build_*.sh should use ~/tmp/sp not /tmp/sp on Termux - Need to check for .git embedded (160000 gitlinks) - rm -rf .git **Enhance:** - Shell wrappers for Rust binaries lane-ip-enforce - Make executable chmod +x ## Makefile **Found:** - make/target_*.mk: target_d1.mk target_db.mk target_do.mk target_env.mk target_gemini.mk target_gif.mk target_gitignore.mk target_html.mk target_js.mk target_json.mk target_jsonc.mk target_md.mk target_mp4.mk target_pdf.mk target_py.mk target_r2.mk target_sh.mk target_sql.mk target_toml.mk target_ts.mk target_txt.mk target_v.mk target_wav.mk target_wrangler.mk target_yaml.mk target_zip.mk - Broad beyond current - anticipates next _SOURCES **Review:** - Each target_*.mk corresponds to _SOURCES type: DB_SOURCES -> target_db.mk etc. - target_wrangler.mk should use Python SDK not wrangler binary for Termux **Enhance:** - New target_ip.mk for IP-Forensics - target for 4 new zips ## Rust **Found:** - packages/lane-mcp/Cargo.toml Cargo.lock packages/gateway/ - packages/sqlxml/Cargo.toml Cargo.lock crates/ backend-agent/Cargo.toml - packages/roadmaps/ likely has Cargo **Review:** - lane-mcp gateway is Rust + TS: packages/gateway/src/server.ts auth.ts etc. - sqlxml crates/ is Rust transpiler - Need to build for customer scaling **Enhance:** - New crate crates/ip_forensics/ for IP pinning high-performance - Cargo.toml workspace for 15 packages ## Binaries **Found:** - *.gguf: phi-3-mini.gguf qwen2.5-1.5b.gguf tinyllama.gguf llama.cpp/ (from APPLICATION_AGENTS) - *.wasm, *.so, *.dll, *.apk (broad template) - lane-ip-enforce binary (IP-Forensics gate) **Review:** - Binaries should be in R2 alnet-froi-evidence/bin/ per customer - Need SLSA3 provenance lock-hashes.json custody-chain.jsonl **Enhance:** - Binary scanning via ip_forensics_scan.py - WindowsME_v1.2 32-bit flat envelope beneath GCPW non-removable ## 4 New Zips - Internal Storage Download Meta AI **Command to list newest:** ls -lt "/storage/emulated/0/Download/Meta AI/" | head -n 20 ls -lh "/storage/emulated/0/Download/Meta AI/" | grep -E "sep-20|Oct|new" **Ingest:** mkdir -p ~/tmp/new-zips for z in "/storage/emulated/0/Download/Meta AI"/*.zip; do echo $z unzip -l "$z" | head -n 20 done # For each new zip: # unzip -q "/storage/emulated/0/Download/Meta AI/NEW-ZIP.zip" -d ~/tmp/new-zips/NAME # cp -r ~/tmp/new-zips/NAME/*/* packages/NAME/ 2>/dev/null || cp -r ~/tmp/new-zips/NAME/* packages/NAME/ # rm -rf packages/NAME/.git # find packages/NAME -type f | wc -l