Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 3 KB

verification.md

File metadata and controls

21 lines (16 loc) · 3 KB

Verification status

Verified locally on 2026-09-06 for the first four review fixes:

  • npm test: 95 tests passed across all six workspaces: contracts 4, risk engine 6, scanner SDK 25, API 51, web 4, and worker 5. The web suite now has real tests and no longer uses --passWithNoTests.
  • npm run typecheck: all six workspaces passed.
  • Production shared packages, API, and worker compiled successfully. npm run build -w @trustlayer/web -- --webpack produced the optimized Next.js application, including the dynamic asset detail route.
  • npm audit --cache /tmp/trustlayer-npm-cache: zero known vulnerabilities. Network access was required for this check.
  • npm run aig:sync retrieved AIG v4.1.15 at immutable commit 31b2184b0b5656f44b3cb2eb5164775dc750c46f; npm run aig:verify passed for the pinned task submission, status, result routes, and task types. Contract verification is not proof of a live provider scan.
  • The API-to-worker integration test runs a fixture scanner through the actual secret broker and callback routes, checks one-time secret consumption and duplicate callback authentication, persists findings to SQLite, reopens the database, and checks encrypted checkpoint bytes for a sentinel credential.
  • Fault regressions cover preparation failure, failed running-state writes, failed checkpoint writes, failed finalization, worker dispatch failure, concurrent starts, restart recovery, stale completions, and idempotency replay after configuration changes.
  • Browser smoke test against the built production web app and a temporary SQLite database: created a context-only asset, displayed the permission finding and remediation, used the finding retest action, and displayed both history entries and the incomplete-comparison explanation. Persistence after reopening SQLite is verified by automated integration tests; the interrupted browser restart check could not reuse its temporary fixture in the resumed environment.

Environment-specific limits:

  • Default npm run build reaches the web build but Turbopack cannot bind its internal build-worker port in this sandbox (Operation not permitted), including the attempted elevated run. The supported --webpack build succeeds. The default project build command remains unchanged.
  • Docker is unavailable here. No AIG containers or live model/provider scans were executed. Infrastructure, MCP, and configured model request wiring have deterministic coverage; live runtime compatibility still needs an authorized fixture with Docker.
  • Agent scans are deliberately unavailable in the local runtime until arbitrary agent configuration can enforce the authorized target scope.
  • Windows/macOS launcher execution and live browser polling of an AIG-backed running scan were not exercised in this verification run. The automated suite covers pending states, callbacks, persistence, and recovery.

The 40-commit implementation plan is in first-four-fixes.md; supported configuration and operational recovery are documented in scan-operations.md.