Repository navigation
Releases
Releases · seaworld008/ai-test-workbench
v6.2.0 — Trustworthy Autonomous Verification Kernel, AST Gate v2 & 16-Tool MCP Surface
AI Test Workbench v6.2.0
Trustworthy Autonomous Verification Kernel, Immutable TrustContext, Full-Chain HTTP Redirect Firewall, AST Semantic Gate v2 (AITEST-G116 / G117), Zero-Block Loopback Autonomy, and 16-Tool Canonical MCP Surface.
Release Highlights & Upgrade:
CHANGELOG.md·CHANGELOG.en.md·docs/upgrade.md
Architecture & Empirical Benchmark:ARCHITECTURE.md·bench/agentic/results/SUMMARY.md
Highlights
- Immutable
TrustContext, Sticky T1 & Lock Tamper Hardening (WU-01):- Introduced
src/kernel/gate/trust-context.mjsopened once at command entry with frozen{ tierCeiling, key, keyId, source, hostT1Sticky }and passed explicitly across governance, ledger, heal, flaky, and attestation verifiers. - Hardened
.aitest/governance.lockwith multi-machinemacs: { [keyId]: hmac }(backward-compatible with legacymac), host-level sticky T1 detection against MAC stripping or ledger deletion, strictaitest_initprotection-template hash matching, RFC 8785 safecanonicalizeJson, MCP childAITEST_HMAC_KEY_FILEinheritance paired with strict allowlisted child env stripping inrunner.mjs, and hardenedBOT_APPROVER_RE.
- Introduced
- Unified
CommandResultv2, Framed IPC, Atomic Disk Lock & Layered Modules (WU-02):- Replaced fragile
stdoutscraping with framedAITEST_RESULT_FILE/ structuredCommandResultv2 envelopes (0=pass,1=fail,2=blocked,64=usage), deterministic per-tool summaries, and dynamicnextRecommendedActions. - Upgraded
acquireDiskLockto atomic temp-file + hard-link creation with dead-PID reclamation and fail-closedWORKSPACE_LOCK_BUSY. - Enforced
src/**/*.mjs <= 500lines, zero circular imports, zerosrc/scripts -> templatesinversions, and stablesrc/app/index.mjsapplication facade viatest/unit/architecture-boundaries.test.mjs.
- Replaced fragile
- Full-Chain Redirect Firewall, Hardened MCP HTTP & Redact v3 (WU-03):
- Enforced
maxRedirects: 0up to 10 hops across Playwrightcontext.route(base.ts),APIRequestContextwrappers,exploreobservers, andperfcollectors with hop-by-hopcheckOutgoingRequestSafetyre-validation and fail-closedTEST_EGRESS_MODE. - Tightened MCP HTTP/SSE with strict
Host(421/403),Origin(403), POSTContent-Type: application/json(415), JSON-RPC batch bounds,409duplicate SSE stream rejection, host-path redaction in errors, VT/ANSI-strippingredactSecretsv3, dependency-closure deterministicsync:vendor(41files), and offline T2 commit/tree/root verification.
- Enforced
- Zero-Block Autonomous Loop & Convergent 16-Tool MCP Surface (WU-04 & WU-06):
- Added
aitest_bootstrap/bootstrap, consolidatedaitest_flaky_reportandaitest_trace_matrixintoaitest_report(view="summary"|"flaky"|"traceability")(retaining all 8v6.xcompatibility forwarding aliases), and addedaitest_heal(action="discard"). - Enabled loopback sandbox CRUD defaults vs. shared remote read-only protection,
.aitest/baseline-refdraft iteration exemptions (>= S2floor), product-diffA-UI-Syncdiagnostics,explorespecs/api-schemas.jsoninference, and decoupleddemo-campuspreset specs.
- Added
- AST Semantic Gate Kernel v2 & Dieselgate Defense (WU-05):
- Added cross-scope
src/kernel/gate/symbol-table.mjs, strengthenedAITEST-G104..G114(expect.poll, loop/listener/negated-RBAC hardening), addedAITEST-G116(cross-equivalence HTTP status rewrites & Exact→Range relaxation) andAITEST-G117(cross-file product-side test-traffic special-casing / Dieselgate), and addedG-08git mvspec-evasion blocking.
- Added cross-scope
Verified Checks & Empirical Results
- 18-Task
FGER-agentic& Autonomous Suite (v6.2.0,--fast):FGER-agentic_T1:11.1%(2/18, Wilson 95% CI[3.1%, 32.8%]— only pre-registered same-UID local boundary probesAG-B4/AG-C4).FGER-agentic_T2:0.0%(0/18, Wilson 95% CI[0.0%, 17.6%]—AG-E1/AG-E2Class E Dieselgate blocked atL3-AST-Diff).bench/agentic/autonomous-suite.mjs:100%zero-block autonomous loop completion with0%FGER.
- Cross-Platform CI & Conformance (PR #6, Run
45549962329):- All required checks passed across Ubuntu & Windows × Node 22/24/26 (
unit-matrix,verify-e2e-typecheck-and-bench,mcp-conformance,real-world-fpr-smoke,self-bootstrap-verify / verify, and Sigstore T2self-bootstrap-verify / attest). npm testunderCI=true:158/158passing (0failed,0skipped,85.98%line coverage),41/41vendored template files in sync,106docs verified with0hygiene issues,tsc --checkJsstrict typecheck0errors, MCP Conformance30/30active Streamable HTTP scenarios (unexpectedFailures=0,staleBaselines=0) +5/5SDK Client tests, zero runtimedependencies.
- All required checks passed across Ubuntu & Windows × Node 22/24/26 (
Install / Quick Usage
npx ai-test-workbench@6.2.0 doctor
npx ai-test-workbench@6.2.0 bootstrap --target /path/to/repo --url http://127.0.0.1:4173
npx ai-test-workbench@6.2.0 verify-change --target /path/to/repo --base origin/main
npx ai-test-workbench@6.2.0 upgrade --target /path/to/repo --dry-runFull Changelog: v6.1.0...v6.2.0