Research-Stack/opencode.json
allaun 00e9eed399 fix(lean): complete projectionOrdering proof in GeometricCompressionWorkspace
Replace the TODO(lean-port) sorry with a complete proof of the
projectionOrdering theorem: for positive SourceValue pairs s1 < s2
with s2 ≤ maxExpected, projectToCoding preserves strict ordering
of the Q0_64 values.

The proof uses Nat-only arithmetic (no Float) and handles two cases:
  - a2 < d: both values fit in Q0_64 range, ordering follows from
    monotonicity of integer division
  - a2 = d: a2*s/d = s clamped to q0_64MaxRaw; a1*s/d < q0_64MaxRaw
    via the key inequality (d-1)*s < (s-1)*d

Build: 8598 jobs, 0 errors (lake build)
2026-06-18 15:06:50 -05:00

83 lines
2.5 KiB
JSON

{
"mcp": {
"contextstream": {
"type": "local",
"command": [
"npx",
"-y",
"contextstream-mcp"
],
"environment": {
"CONTEXTSTREAM_API_KEY": "{env:CONTEXTSTREAM_API_KEY}",
"CONTEXTSTREAM_TOOLSET": "complete",
"CONTEXTSTREAM_LOG_LEVEL": "quiet",
"CONTEXTSTREAM_OUTPUT_FORMAT": "compact",
"CONTEXTSTREAM_TRANSCRIPTS_ENABLED": "true",
"CONTEXTSTREAM_HOOK_TRANSCRIPTS_ENABLED": "true",
"CONTEXTSTREAM_CONSOLIDATED": "true",
"CONTEXTSTREAM_AUTO_HIDE_INTEGRATIONS": "true",
"CONTEXTSTREAM_SEARCH_LIMIT": "50",
"CONTEXTSTREAM_SEARCH_MAX_CHARS": "10000",
"CONTEXTSTREAM_INCLUDE_STRUCTURED_CONTENT": "true",
"CONTEXTSTREAM_CONTEXT_PACK": "true",
"CONTEXTSTREAM_AUTO_INDEX": "true",
"CONTEXTSTREAM_GRAPH_ENABLED": "true",
"CONTEXTSTREAM_DECISIONS_ENABLED": "true",
"CONTEXTSTREAM_MEMORY_ENABLED": "true",
"CONTEXTSTREAM_INDEX_DEPTH": "full",
"CONTEXTSTREAM_INCLUDE_DECISIONS": "true",
"CONTEXTSTREAM_INCLUDE_LESSONS": "true",
"CONTEXTSTREAM_INCLUDE_TASKS": "true",
"CONTEXTSTREAM_INCLUDE_PLANS": "true",
"CONTEXTSTREAM_REMINDERS_ENABLED": "true"
},
"enabled": true
},
"remote-lean-proof": {
"type": "local",
"command": [
"python3",
"4-Infrastructure/infra/remote_lean_proof_mcp.py"
],
"environment": {
"PROOF_SERVER_URL": "{env:PROOF_SERVER_URL}",
"PROOF_SERVER_URLS": "{env:PROOF_SERVER_URLS}",
"PROOF_SERVER_TOKEN_FILE": "{env:PROOF_SERVER_TOKEN_FILE}"
},
"enabled": true
},
"pist-trace-classify": {
"type": "local",
"command": [
"python3",
"4-Infrastructure/shim/pist_trace_classify_mcp.py"
],
"environment": {
"RDS_HOST": "{env:RDS_HOST}",
"RDS_PORT": "{env:RDS_PORT}",
"RDS_USER": "{env:RDS_USER}",
"RDS_DB": "{env:RDS_DB}",
"RDS_IAM_AUTH": "{env:RDS_IAM_AUTH}",
"AWS_REGION": "{env:AWS_REGION}"
},
"enabled": true
},
"opencode-prover": {
"type": "local",
"command": [
"python3",
"5-Applications/tools-scripts/mcp/opencode_prover_mcp.py"
],
"enabled": true
},
"token-saver": {
"type": "local",
"command": [
"python3",
"5-Applications/tools-scripts/mcp/token_saver_mcp.py"
],
"enabled": true
}
},
"$schema": "https://opencode.ai/config.json"
}