feat: P0/P1/P2 levers — LSP backend, bench harness, skills compiler, policy/audit, cache, opencode plugin, CI#21
Merged
Merged
Conversation
…ss, policy/audit, cache, safety, budget, opencode plugin, CI
Hebel 1 (P0): .opencode/plugin/sin.ts — enforced SIN workflow via opencode hooks
Hebel 2 (P0): bench.py + sin bench CLI — SWE-bench-Lite A/B harness
Hebel 3 (P1): lsp_backend.py — multilspy LSP + tree-sitter fallback + cache layer
Hebel 4 (P1): skills.py + skills/*.md — portable skill compiler (opencode/codex/claude)
New modules: policy.py (risk-gating + hash-chain audit log + path sandbox)
cache.py (incremental graph cache under .sin/cache/)
lsp_bootstrap.py (language detection + LSP server status for sin doctor)
safety.py (hardened subprocess + prompt injection sanitization)
budget.py (trim() caps all MCP tool outputs)
CLI: sin bench, sin skills, sin policy, sin doctor
Infra: pyproject.toml -> hatchling + full optional-deps matrix
.github/workflows/release.yml + sin-verify.yml
BENCHMARKS.md (reproducible benchmark docs)
Tests: 45 new tests, all green (Python 3.13)
# Conflicts: # pyproject.toml # src/sin_code_bundle/cli.py
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.
Implements all P0/P1/P2 improvements from the SOTA gap analysis.
P0 — Adoption & Erzwingbarkeit
P1 — Functional SOTA Parity
P2 — Maturity
New CLI
sin bench, sin skills, sin policy, sin doctor
Tests
45 new tests, all green (Python 3.13).