@attalabs/vinaya 0.42.2 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checks/bin/check-evidence-fresh.js +8 -5
- package/dist/index.js +20 -17
- package/dist/lib/pre-push-cache-test-run.js +3 -1
- package/dist/programs/archive.js +3 -1
- package/dist/programs/check.js +3 -1
- package/dist/programs/commit-msg.js +3 -1
- package/dist/programs/dev-review-loop.js +9 -6
- package/dist/programs/dispatch.js +3 -1
- package/dist/programs/log-emit.js +3 -1
- package/dist/programs/log-selftest.js +3 -1
- package/dist/programs/log-send.js +3 -1
- package/dist/programs/pr-report.js +8 -5
- package/dist/programs/pr-snapshot.js +3 -1
- package/dist/programs/pr-verify-evidence.js +8 -5
- package/dist/programs/pr.js +3 -1
- package/dist/programs/review-post.js +3 -1
- package/dist/programs/review-status.js +3 -1
- package/dist/programs/run-engine.js +110594 -0
- package/dist/programs/supervised-command.js +67 -0
- package/dist/programs/sync.js +3 -1
- package/dist/programs/task-brief.js +5 -3
- package/dist/programs/task-sweep.js +3 -1
- package/dist/programs/task-tools-serve.js +13 -11
- package/dist/programs/tokens.js +3 -1
- package/dist/programs/waiver.js +3 -1
- package/dist/vinaya-strict/checks/registry.ts +1085 -0
- package/dist/vinaya-strict/executing/code-reviewer/README.md +3 -0
- package/dist/vinaya-strict/executing/code-reviewer/doctrine.md +185 -0
- package/dist/vinaya-strict/executing/code-reviewer/evals/README.md +1 -0
- package/dist/vinaya-strict/executing/code-reviewer/evals/code-reviewer-cases.json +280 -0
- package/dist/vinaya-strict/executing/code-reviewer/grants.yaml +22 -0
- package/dist/vinaya-strict/executing/code-reviewer/output.schema.json +93 -0
- package/dist/vinaya-strict/executing/code-reviewer/review-result.ts +347 -0
- package/dist/vinaya-strict/executing/dev-review.flow.yaml +103 -0
- package/dist/vinaya-strict/executing/developer/README.md +3 -0
- package/dist/vinaya-strict/executing/developer/developer-doctrine-shape.test.ts +69 -0
- package/dist/vinaya-strict/executing/developer/developer-turn-result.ts +286 -0
- package/dist/vinaya-strict/executing/developer/doctrine.md +111 -0
- package/dist/vinaya-strict/executing/developer/evals/README.md +1 -0
- package/dist/vinaya-strict/executing/developer/evals/developer-capability-cases.json +6275 -0
- package/dist/vinaya-strict/executing/developer/evals/developer-capability-held-out.json +11526 -0
- package/dist/vinaya-strict/executing/developer/evals/developer-capability-suite.test.ts +498 -0
- package/dist/vinaya-strict/executing/developer/evals/developer-capability-suite.ts +1407 -0
- package/dist/vinaya-strict/executing/developer/grants.yaml +25 -0
- package/dist/vinaya-strict/executing/developer/output.schema.json +148 -0
- package/dist/vinaya-strict/executing/developer/reference.md +376 -0
- package/dist/vinaya-strict/executing/operator/doctrine.md +209 -0
- package/dist/vinaya-strict/executing/security-reviewer/README.md +3 -0
- package/dist/vinaya-strict/executing/security-reviewer/doctrine.md +171 -0
- package/dist/vinaya-strict/executing/security-reviewer/evals/README.md +1 -0
- package/dist/vinaya-strict/executing/security-reviewer/evals/security-reviewer-cases.json +141 -0
- package/dist/vinaya-strict/executing/security-reviewer/grants.yaml +22 -0
- package/dist/vinaya-strict/executing/security-reviewer/output.schema.json +93 -0
- package/dist/vinaya-strict/integration/config/vinaya-config-section.ts +1278 -0
- package/dist/vinaya-strict/integration/policies/vinaya-policies.ts +52 -0
- package/dist/vinaya-strict/integration/process/process-integration.ts +57 -0
- package/dist/vinaya-strict/loops/dev-review/v2/dev-review-v2.flow.yaml +136 -0
- package/dist/vinaya-strict/process.yaml +43 -0
- package/dist/vinaya-strict/retrospecting/archivist/doctrine.md +174 -0
- package/dist/vinaya-strict/retrospecting/tranche-archivist/doctrine.md +270 -0
- package/dist/vinaya-strict/thinking/architect/doctrine.md +110 -0
- package/dist/vinaya-strict/thinking/planner/doctrine.md +105 -0
- package/dist/vinaya-strict/thinking/planner/tools/amend-rationale-deps.test.ts +128 -0
- package/dist/vinaya-strict/thinking/planner/tools/amend-rationale-deps.ts +169 -0
- package/dist/vinaya-strict/thinking/planner/tools/open-issue.test.ts +701 -0
- package/dist/vinaya-strict/thinking/planner/tools/open-issue.ts +1035 -0
- package/dist/vinaya-strict/thinking/planner/tools/planner-operations.test.ts +359 -0
- package/dist/vinaya-strict/thinking/planner/tools/planner-operations.ts +815 -0
- package/dist/vinaya-strict/thinking/planner/tools/planner-tools.test.ts +200 -0
- package/dist/vinaya-strict/thinking/planner/tools/planner-tools.ts +458 -0
- package/package.json +4 -2
- package/studio-standalone/apps/vinaya-studio/.next/BUILD_ID +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/build-manifest.json +2 -2
- package/studio-standalone/apps/vinaya-studio/.next/server/app/_global-error.html +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/server/app/_global-error.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/server/middleware-build-manifest.js +1 -1
- package/studio-standalone/apps/vinaya-studio/.next/server/pages/500.html +1 -1
- /package/studio-standalone/apps/vinaya-studio/.next/static/{Q_xjhiWztjosXWbMSJ0Yp → x2q88XfwsihlevulRhIvs}/_buildManifest.js +0 -0
- /package/studio-standalone/apps/vinaya-studio/.next/static/{Q_xjhiWztjosXWbMSJ0Yp → x2q88XfwsihlevulRhIvs}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"reviewResult": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "type": "number", "const": 1 },
|
|
10
|
+
"role": { "type": "string", "const": "security-reviewer" },
|
|
11
|
+
"headSha": { "type": "string", "minLength": 1 },
|
|
12
|
+
"manifestDigest": { "type": "string", "minLength": 1 },
|
|
13
|
+
"summary": { "type": "string", "minLength": 1 },
|
|
14
|
+
"status": { "type": "string", "const": "completed" },
|
|
15
|
+
"findings": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"severity": { "type": "string", "enum": ["CRITICAL", "HIGH", "MEDIUM", "LOW"] },
|
|
21
|
+
"file": { "type": "string" },
|
|
22
|
+
"line": {
|
|
23
|
+
"anyOf": [{ "type": "integer", "minimum": 1, "maximum": 9007199254740991 }, { "type": "null" }]
|
|
24
|
+
},
|
|
25
|
+
"description": { "anyOf": [{ "type": "string", "minLength": 1 }, { "type": "null" }] }
|
|
26
|
+
},
|
|
27
|
+
"required": ["severity", "file", "line", "description"],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"objectiveResults": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"id": { "type": "string", "minLength": 1 },
|
|
37
|
+
"status": { "type": "string", "enum": ["MET", "NOT MET"] },
|
|
38
|
+
"evidence": { "type": "string", "minLength": 1 }
|
|
39
|
+
},
|
|
40
|
+
"required": ["id", "status", "evidence"],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"schemaVersion",
|
|
47
|
+
"role",
|
|
48
|
+
"headSha",
|
|
49
|
+
"manifestDigest",
|
|
50
|
+
"summary",
|
|
51
|
+
"status",
|
|
52
|
+
"findings",
|
|
53
|
+
"objectiveResults"
|
|
54
|
+
],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"schemaVersion": { "type": "number", "const": 1 },
|
|
61
|
+
"role": { "type": "string", "const": "security-reviewer" },
|
|
62
|
+
"headSha": { "type": "string", "minLength": 1 },
|
|
63
|
+
"manifestDigest": { "type": "string", "minLength": 1 },
|
|
64
|
+
"summary": { "type": "string", "minLength": 1 },
|
|
65
|
+
"status": { "type": "string", "const": "blocked" },
|
|
66
|
+
"blocker": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"kind": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"enum": [
|
|
72
|
+
"input_missing",
|
|
73
|
+
"input_unreadable",
|
|
74
|
+
"diff_unavailable",
|
|
75
|
+
"tooling_unavailable",
|
|
76
|
+
"scope_unclear"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"detail": { "type": "string", "minLength": 1 }
|
|
80
|
+
},
|
|
81
|
+
"required": ["kind", "detail"],
|
|
82
|
+
"additionalProperties": false
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": ["schemaVersion", "role", "headSha", "manifestDigest", "summary", "status", "blocker"],
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": ["reviewResult"],
|
|
92
|
+
"additionalProperties": false
|
|
93
|
+
}
|