Repository navigation
Expand file tree
/
Copy pathdev.json
More file actions
54 lines (54 loc) · 5.35 KB
/
Copy pathdev.json
File metadata and controls
54 lines (54 loc) · 5.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"version": 1,
"toolchains": {
"node": {"version": "22"},
"go": {"version": "1.26.10"},
"python": {"version": "3.12", "venv": ".venv"}
},
"setup": [
{"name": "npm-ci", "run": "npm ci", "toolchain": "node", "timeout": 900},
{"name": "python-deps", "run": "python3 -m pip install --disable-pip-version-check -q -r requirements-dev.txt", "toolchain": "python", "timeout": 600}
],
"checks": [
{"name": "record-shapes", "run": "node scripts/record-shapes.mjs --check", "toolchain": "node", "timeout": 120},
{"name": "contract", "run": "python3 -I -c 'import json, pathlib; files = sorted(pathlib.Path(\"contract\").rglob(\"*.json\")); [json.load(open(f, encoding=\"utf-8\")) for f in files]; print(\"checked %d JSON documents\" % len(files))'",
"toolchain": "shell", "summary": "^checked ", "timeout": 120},
{"name": "local-paths", "run": "if git grep -nE '(^|[^A-Za-z0-9_])/(home|tmp)/[A-Za-z0-9_.-]+' -- ':!*.png' ':!*.jpg'; then echo 'a machine-local path is in tracked text'; exit 1; fi", "toolchain": "shell"},
{"name": "agent-docs", "run": "scripts/sync-agent-docs.sh --check .", "toolchain": "shell", "summary": "^sync-agent-docs:"},
{"name": "diff-check", "run": "git diff --check \"$(git hash-object -t tree /dev/null)\"", "toolchain": "shell"},
{"name": "python-tests", "run": "python3 -m unittest discover -s tests", "toolchain": "python",
"summary": "^(Ran |OK|FAILED)", "timeout": 600},
{"name": "dependency-audit", "run": "node --test scripts/dependency-audit.test.mjs", "toolchain": "node", "summary": "^# (pass|fail)", "timeout": 120},
{"name": "release-quality", "run": "node --test scripts/release-quality.test.mjs", "toolchain": "node", "summary": "^# (pass|fail)", "timeout": 120},
{"name": "dependency-audit-live", "run": "node scripts/dependency-audit.mjs", "toolchain": "node", "requires_env": "DEPENDENCY_AUDIT_LIVE", "optional": true, "summary": "^dependency audit:", "timeout": 180},
{"name": "mutation-rows", "run": "node packages/harness/scripts/mutation-check.mjs --check", "toolchain": "node",
"summary": "rows checked", "timeout": 300},
{"name": "build", "run": "npm run build", "toolchain": "node", "timeout": 900},
{"name": "release-quality-engine", "run": "node --test scripts/release-quality-engine.test.mjs", "toolchain": "node", "summary": "^# (pass|fail)", "timeout": 120},
{"name": "packed-smoke", "run": "node --test scripts/packed-smoke.test.mjs && node packages/harness/scripts/packed-smoke.mjs", "toolchain": "node",
"summary": "^packed harness:", "timeout": 900},
{"name": "reference", "run": "node scripts/gen-reference.mjs --check && node --test scripts/gen-reference.test.mjs", "toolchain": "node", "summary": "^(reference:|# (pass|fail))", "timeout": 600},
{"name": "unit-tests", "run": "npm test", "cwd": "packages/harness", "toolchain": "node",
"summary": "^\\s*(Test Files|Tests)\\s", "timeout": 1200},
{"name": "certify-vercel", "run": "npm run certify -- --adapter vercel", "toolchain": "node", "summary": "^certify [a-z]+: (passed|failed)", "timeout": 900},
{"name": "certify-codex", "run": "npm run certify -- --adapter codex", "toolchain": "node", "summary": "^certify [a-z]+: (passed|failed)", "timeout": 900},
{"name": "certify-deepagents", "run": "npm run certify -- --adapter deepagents", "toolchain": "node", "summary": "^certify [a-z]+: (passed|failed)", "timeout": 900},
{"name": "differential", "run": "node --test scripts/differential.test.mjs", "toolchain": "node", "summary": "^(# differential:|# pass|# fail)", "timeout": 300},
{"name": "go-module-path", "run": "path=$(awk '$1 == \"module\" { print $2 }' go/go.mod); if [ \"$path\" != \"github.com/Judgment-Pack/judgment-pack-agent/go\" ]; then echo \"go/go.mod declares module '$path'; it must be github.com/Judgment-Pack/judgment-pack-agent/go\"; exit 1; fi", "toolchain": "shell"},
{"name": "gofmt", "run": "unformatted=$(gofmt -l go); if [ -n \"$unformatted\" ]; then echo 'not gofmt-formatted:'; echo \"$unformatted\"; exit 1; fi", "toolchain": "shell"},
{"name": "go-vet", "run": "go vet ./...", "cwd": "go", "toolchain": "go", "timeout": 3000},
{"name": "go-generate", "run": "go generate ./contract && git diff --exit-code -- contract", "cwd": "go", "toolchain": "go", "timeout": 3000},
{"name": "go-test", "run": "go test -count=1 ./...", "cwd": "go", "toolchain": "go",
"summary": "^(ok|FAIL|---) ", "timeout": 3000},
{"name": "go-race", "run": "go test -count=1 -race ./context/... ./adapter/...", "cwd": "go", "toolchain": "go",
"summary": "^(ok|FAIL|---) ", "timeout": 3000},
{"name": "harness-check", "run": "go run ./cmd/harness-check", "cwd": "go", "toolchain": "go",
"summary": "passed", "timeout": 3000}
],
"mutants": {"run": "node scripts/mutation-check.mjs {rows}", "cwd": "packages/harness", "toolchain": "node", "timeout": 3000},
"parity": {"run": "scripts/parity.sh \"$JPDEV_DESK\"", "toolchain": "shell", "requires_env": "JPDEV_DESK", "summary": "^parity:|every difference", "timeout": 600},
"handover": {
"boundary_paths": ["go/gate", "packages/harness/toolGate.ts", "packages/harness/refutation.ts", "go/adapter/turn/refutation.go"],
"shared_paths": ["contract/schemas", "contract/vectors", "packages/harness/scripts/mutation-rows.json", "packages/harness/parity.json", "docs/reference", "docs/design/wire-contract.md", "contract/records"]
}
}