Research-Stack/1-Distributed-Systems/agents/claw/claw-wrapper.sh
Brandon Schneider c0641ea875 integrate stashed changes: math model data updates + 4 receipt dirs + container config
- Update 3-Mathematical-Models JSON datasets (NUVMAP index, mass proofs,
  math_centric_samples, math_raw_summary, math_self_discovered +1.5M lines,
  structural_discovery, unified_9pattern_samples, unknown_discovery_report)
- Add adjacent_coprime_classification receipt (Lean proof + manifest)
- Add codebase-memory-receipt (Rust crate + manifests)
- Add desi_model_projection receipt (Lean proofs + manifest)
- Add deterministic_build_receipt (Lean build proof)
- Add Containerfile, run-container.sh, cupfox-config.nix
- Restore .github assets and changes.zip
2026-05-17 12:03:19 -05:00

14 lines
649 B
Bash

#!/bin/sh
# Wrapper that routes Claude Code extension through the claw binary
# with context compression and substrate caching enabled.
#
# Set as claudeCode.claudeProcessWrapper in VS Code settings.
#
# The claw binary intercepts tool outputs through the context gate
# (hyperlut + soliton + substrate cache) before they enter context,
# and caches API responses in Research Stack/out/response_cache/.
export CONTEXT_GATE_SCRIPT="/home/allaun/Research Stack/scripts/cc_context_compress.py"
export PYTHONPATH="/home/allaun/Research Stack:/home/allaun/Research Stack/scripts:${PYTHONPATH}"
exec /home/allaun/claw-code/rust/target/release/claw "$@"