@kavishdua/proctor 1.0.0 → 1.2.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/README.md +82 -37
- package/dist/cli.js +928 -68
- package/dist/dynamic-worker.js +776 -0
- package/package.json +2 -1
- package/proctor.schema.json +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kavishdua/proctor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Catch AI agents gaming their test suites: deleted tests, skipped tests, weakened assertions, hardcoded outputs",
|
|
5
5
|
"homepage": "https://github.com/catfish-1234/proctor#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@anthropic-ai/sdk": "^0.132.0",
|
|
64
|
+
"acorn": "^8.19.0",
|
|
64
65
|
"brace-expansion": "^5.0.12",
|
|
65
66
|
"commander": "^14.0.3",
|
|
66
67
|
"parse-diff": "0.12.0",
|
package/proctor.schema.json
CHANGED
|
@@ -5,6 +5,18 @@
|
|
|
5
5
|
"description": "Configuration for proctor, AI agent test-tampering guard",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
+
"dynamic": {
|
|
9
|
+
"type": "boolean",
|
|
10
|
+
"default": false,
|
|
11
|
+
"description": "Opt in to isolated execution of the project tests for dynamic checks."
|
|
12
|
+
},
|
|
13
|
+
"dynamicTimeoutMs": {
|
|
14
|
+
"type": "integer",
|
|
15
|
+
"minimum": 1,
|
|
16
|
+
"maximum": 2147483647,
|
|
17
|
+
"default": 60000,
|
|
18
|
+
"description": "Overall dynamic budget in milliseconds, including snapshot preparation."
|
|
19
|
+
},
|
|
8
20
|
"enabled": {
|
|
9
21
|
"type": "array",
|
|
10
22
|
"items": { "type": "string", "pattern": "^(?:RH|WI)\\d{3}$" },
|