security: redact kernel-capture daemon, MCP gateway, OPA backend, content safety#27
Merged
Merged
Conversation
…tent safety, hardcoded provider versions
Remove kernel-capture daemon (Go), MCP gateway, OPA backend, content-safety
scanner, adversarial scoreboard scripts, and internal fixture/hashing helpers.
Strip hardcoded version pins, provider-specific hook contracts, MCP context
collection, and internal telemetry from Claude/Gemini hook modules. Remove
related documentation, Hugo site content, and site source pages.
Deleted files (32):
- go/pkg/kernelcapture/{daemon_protocol_handler,daemon_session_registry}*.go
- go/pkg/util/guard.go
- python/vibap/{_fixture_core,_hashing,content_safety,kernel_capture_client,mcp_gateway}.py
- python/vibap/backends/opa.py
- python/tests/test_{content_safety,kernel_capture,mcp_gateway,opa_backend}.py
- python/tests/test_claude_code_telemetry.py
- scripts/{generate_adversarial_scoreboard,run_continuous_adversarial_harness}.py
- docs/compliance/{README,nist-ai-rmf-mapping}.md
- docs/guides/{content-safety,kernel-capture,mcp-gateway}.md
- docs/reference/opa-backend.md
- site/content/source/docs/{compliance,guides,reference}/*.md
- site/content/source/reports/_index.md
- .gitleaksignore
Heavily modified: claude_code_hook.py, gemini_cli_hook.py, proxy.py, cli.py
- Remove kernel_capture_client import, session registration, and metrics
- Replace _fixture_core imports with stdlib hashlib/datetime
- Strip AskUserQuestion context collection, subagent telemetry
- Remove mcp-gateway CLI subcommand
- Drop hardcoded Gemini CLI version pin (0.44.1) and BeforeTool contract
- Simplify hook output shape to common-denominator {status,block,message}
- Reduce mapped tool set to core tools
- Gracefully skip knowledge-graph script when not present (not yet implemented) - Exclude test fixtures from model-name scan (adversarial suite, e2e, examples) - Exclude test-results/ and .pytest_cache/ from scans - Redact hardcoded Ollama API key from test_e2e_showcase.py - Remove stale adversarial test-results directory (model names in generated output)
… CHANGELOG - .pre-commit-config.yaml: trailing-whitespace, end-of-file-fixer, YAML/JSON/TOML checks, private-key detection, ruff linting + formatting for Python, gitleaks - .dockerignore: exclude venv, build artifacts, agent state, test results - docs/conductor-bootstrap.md: fix missing reference from conductor-bootstrap.sh - CHANGELOG.md: track v0.1.0 release and unreleased security/feature changes
- test_proxy.py: 12 tests covering session lifecycle, passport verification, kill-switch activation/deactivation, check_and_record with permit/deny and tool-call exhaustion. All pass against real GovernanceProxy. - .golangci.yml: golangci-lint v2 config with errcheck, staticcheck, gofmt, goimports, govet, unused linters.
- .github/workflows/tests.yml: bump go-version 1.25.9 → 1.26.0 to match go.mod - site/data/claims.json: fix 3 broken source_path references (go/pkg/governance → go/pkg/policy, PHASE2_EBPF_MVP → LINEAGE_BUDGET) - .gitleaksignore: restore from origin/dev (needed for historical false positive suppression)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Security redaction pass removing provider-specific runtime modules, hardcoded version pins, and internal fixture helpers.
Removed (32 files)
Retained (cleaned up)
Verification
Note
This replaces the stale local dev branch which was diverged from origin/dev. This branch is a clean application on top of current origin/dev (ac36d56).