This repository is an isolated sandbox to battle-test the context-pipe and semantic-sift tools.
To initialize this lab on your local machine, follow these steps. This setup follows the Sovereign Dual-Repo Pattern.
- uv (Python package manager)
- Rust / Cargo (For native sifting)
- Node.js / npm (For shadow MCPs)
Create a shared virtual environment and install the target repositories in editable mode:
# Create venv
uv venv
# Install target repos in editable mode with neural extras
uv pip install -e "target_repos/context-pipe"
uv pip install -e "target_repos/semantic-sift[neural]"
# Install common lab utilities
uv pip install yq markitdownThe heuristic refinery requires the compiled Rust core:
cd target_repos/semantic-sift/crates/sift-core
cargo build --releasecd scenarios/shared_mcps
npm installThis lab is environment-agnostic. To use the tools:
- MCP Registration: Point your AI assistant (Gemini CLI, Cursor, VS Code) to the
context_pipe.serverandsemantic_sift.servermodules using the Python interpreter in.venv/Scripts/python. - Hooks: For transparent sifting, register
target_repos/context-pipe/pipe_hook.pyas a post-tool execution hook in your IDE settings.
When opening this lab in a new IDE (Cursor, VSCode, etc.), follow this protocol to ensure full feature parity:
- Set the Interpreter: Select the
.venvat the repository root as your IDE's Python interpreter. - Register MCPs: Register the
context-pipeandsemantic-siftservers in your IDE settings using the venv python path and the-m <module>.serverarguments. - Run Onboarding: Ask your AI assistant to run
pipe_onboard(environment="NAME"). This automates hook injection for your specific platform. - Verify Health: Run
pipe_verify()to confirm core tools are connected and the refinery is responding. - Update Matrix: Open
LAB_STATUS.mdand mark Scenario 01 as verified for your current IDE once the basic pipe run succeeds.
All 17 technical claims and battle-tested use cases are consolidated in SCENARIOS.md.
Detailed setup scripts and artifacts for each individual experiment are located in the /scenarios directory. Each scenario folder also includes its own README.md containing deep technical execution steps and localized findings.
When a new version of the upstream tools is released, we follow a strict re-verification protocol. See the Regression Testing SOP for details on how to test updates against the "Core Four" scenarios to maintain the LAB_STATUS.md baseline.
Found a bug? Do not patch the target_repos/. Instead, create a standardized report in the /bugs directory following the protocol in AGENTS.md.