420AI AI-AUDIT-10 pre-testnet qualification¶
AI-AUDIT-10 is the exact-head repository gate immediately before production-equivalent testnet qualification.
Scope¶
This is an app-focused Level 1 step qualification plus a Level 2 pre-testnet integration milestone. It intentionally does not perform the final Level 3 repository-wide app-phase closeout and does not claim live testnet deployment.
Canonical commands¶
The dedicated 420AI Audit Qualification workflow must execute these requirements against one exact implementation SHA:
- verify checkout HEAD equals the pull-request head SHA;
- start from a clean repository worktree;
- run
forge cleanbecause this roadmap step explicitly requires a clean build; - format-check and build the AI contracts and directly required shared integration suites;
- run the focused
AI*420.t.solFoundry inventory; - retain Compute/Vault integration:
AIComputeIntegration420.t.solAICustodySettlement420.t.solComputeEscrowFunding420.t.solComputeVerifiedEntitlement420.t.solComputeVerifierDisputeSlashEvidence420.t.solComputeStakeSlashAuthorization420.t.sol;- retain Registry/Identity integration:
RegistryApiReconciliation420.t.solRegistryGenesis420.t.solRegistryIdentityNames420.t.solIdentity420Compatibility.t.solIdentity420Audit.t.sol;- run the existing AI boundary verifiers and the AI-AUDIT-10 pre-testnet verifier;
- build/test the provider service with
npm run build; - build the 420Indexer/read API and run the retained AI API tests;
- build/test the browser client with
npm run build; - run a targeted forbidden-primitive scan and Slither high-severity gate over
contracts/src/ai/**; - remove qualification-generated build/dependency directories and prove no tracked or untracked repository drift remains.
Security gate¶
The pre-testnet security job rejects tx.origin, selfdestruct, and delegatecall in AI sources, runs the AI Foundry suite under the hardening profile, and fails on any high-severity Slither finding attributable to src/ai/.
Live boundary¶
No live chain ID, deployment transaction, Registry publication transaction, public DNS/API origin, provider endpoint, block hash, or real-provider log is required or permitted to be fabricated here. Those are AI-AUDIT-11 production-equivalent testnet evidence.
Exit criterion¶
AI-AUDIT-10 is COMPLETE only when every required app-specific job passes on the exact same implementation SHA and durable evidence records that SHA, run and job IDs. Evidence-only bookkeeping after a successful exact-head run does not create a new implementation SHA.