feat(audit): add sin-code audit --complexity (repo-wide ponytail-audit analog)#214
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed with the following error: Learn More: https://vercel.com/aragonheld-7756s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/mariobatrhs-9606s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/manheiler-8784s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/einskarst-2238s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/ronaldokrause-9559s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/cristianoronalodbau-9053s-projects?upgradeToPro=build-rate-limit |
|
Deployment failed with the following error: Learn More: https://vercel.com/spriterfrau-5830s-projects?upgradeToPro=build-rate-limit |
…t analog) Adds sin-code audit complexity and sin-code ceo-audit (48 gates): - cmd/sin-code/internal/audit/complexity.go: Auditor, Finding, Result, deterministic static pass (single-impl interfaces, single-product factories, wrappers, one-export files, dead flags/config, hand-rolled stdlib), optional LLM judge pass, // sin-debt: marker approval. - cmd/sin-code/audit_cmd.go: sin-code audit complexity with --path, --format, --tags, --rank, --since, --max-net-lines, --strict, --no-llm. - cmd/sin-code/ceo-audit_cmd.go: 48-gate CEO audit with complexity-audit as gate 48; score contribution +1 per 100 removable lines. - Tests, docs, AGENTS.md and CHANGELOG.md updates. Closes #180
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown)
|
🏆 CEO Audit — A+ (100.0/100)
📥 Download full report (Markdown) Run ID:
|
Closes #180
Summary
Adds
sin-code audit complexityas a repo-wide ponytail-audit analog and integrates it as the 48th gate insin-code ceo-audit.What changed
cmd/sin-code/internal/audit/complexity.go—Auditor,Finding,Resulttypes, deterministic static pass (single-impl interfaces, single-product factories, wrappers, one-export files, dead flags/config, hand-rolled stdlib), optional LLM judge pass,// sin-debt:marker approval.cmd/sin-code/audit_cmd.go—sin-code audit complexitywith--path,--format,--tags,--rank,--since,--max-net-lines,--strict,--no-llm.cmd/sin-code/ceo-audit_cmd.go— 48-gate CEO audit withcomplexity-auditas gate 48; score contribution +1 per 100 removable lines.cmd/sin-code/internal/audit/complexity_test.go+cmd/sin-code/audit_cmd_test.go— race-free tests.docs/complexity-audit.md,AGENTS.md,CHANGELOG.md— docs.Verification
go build ./...okgo test -race -count=1 ./cmd/sin-code/internal/audit/ -vokgo test -race -count=1 ./cmd/sin-code/ -run 'TestAuditCommand|TestCEOAUDIT' -vokgolangci-lint(new files) okgovulncheck ./...okgosecaudit package clean okpython3 scripts/validate_skill.py --all-bundled --strictok