Repository navigation
Releases
Releases · Dimoncelli/cold-jury
v0.2.0 — Credential Gateway, Agent Trace & AppSec Hardening
What's New in cold-jury v0.2.0
Credential Injection Gateway (--gateway\ / --sterile)
- Keeps real provider credentials in the parent process and strips sensitive environment variables (\KEY, \TOKEN, \SECRET, \CREDENTIAL, \OAUTH, \PASSWORD) and \x-api-key\ from child juror processes.
- Listens on an ephemeral \127.0.0.1\ port and injects an ephemeral \COLD_JURY_EPHEMERAL_TOKEN\ plus local *_BASE_URL\ overrides.
- Validates destination hosts against a strict provider allowlist (\403 FORBIDDEN_HOST, \503 NO_CREDENTIAL), enforces a \2 MB\ body cap (\413 PAYLOAD_TOO_LARGE), and drains keep-alive sockets cleanly on shutdown.
- \cold-jury doctor\ adds a \GATEWAY\ readiness column (\yes/
o) and --json\ machine-readable output.
Agent Execution Trace Evaluator (\cold-jury trace)
- Scores JSON, JSON array, and .jsonl\ agent traces across four deterministic metrics (\ ool_selection_accuracy, \mcp_compliance, \ urn_efficiency, \workflow_completion) and three probes (\delegation_quality, \instruction_compliance, \prompt_injection_detection).
- Supports --deterministic, --json, and live juror judgment with automatic deterministic fallback.
- Runs the secret shield before parsing and fails closed with exit code \2\ (\ race_unusable) if redaction leaves a trace unparseable or empty.
AppSec & Performance Hardening
- Linear-time (\O(n)) bounded regexes in \src/shield.js\ (eliminating ReDoS backtracking on 300 KB+ diffs/traces) plus \P0\ detectors for JSON credentials and \Authorization: Bearer\ headers.
- Enforces --max-bytes\ bounds (\1000\–\2000000), linear-time prompt scanning, and trace redaction before juror execution.
- Zero runtime dependencies (
pm ls --omit=dev\ empty). Verified with \241\ unit tests (\239\ pass, \2\ Windows symlink skips).
cold-jury v0.1.0
Initial open-source release (MIT): cross-CLI hostile code review across Claude Code, OpenAI Codex, Gemini CLI, OpenCode, and Ollama. Zero npm dependencies, 17-pattern pre-flight secret shield, isolated zero-context sterile room, 3 parallel hostile probes (appsec, correctness, surgical), deterministic PASS/BLOCK gate, and universal AAIF Skill + Codex + Claude Code plugin manifests.