feat: AI Code Governance CLI v1.0.0
- Config-driven gates via .codegov.yml/.codegov.json - disclosure gate: requires AI-GENERATED/AI-ASSISTED markers on changed files - rfc gate: requires issue/RFC reference in commit message or PR description - checklist gate: requires all items checked in REQUIREMENTS.md - quality gate: runs configurable lint/test/typecheck commands - CLI with readable reports and non-zero exit on violations - 41 tests covering all gates, config loading, and integration - Zero skeletons, no fake features, deferred items honestly documented
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "ai-code-governance",
|
||||
"version": "1.0.0",
|
||||
"description": "Lightweight, friction-minimal guardrails on AI-generated code before production",
|
||||
"main": "dist/cli.js",
|
||||
"bin": {
|
||||
"codegov": "dist/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"test": "vitest run",
|
||||
"watch": "tsc --watch"
|
||||
},
|
||||
"keywords": ["ai", "code-quality", "guardrails", "pre-commit", "ci", "governance"],
|
||||
"author": "BunBun Labs",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"yaml": "^2.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.14.0",
|
||||
"typescript": "^5.4.5",
|
||||
"vitest": "^1.6.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user