← Files ProdVerityARCHIVED FILE
source/docs/prodverity-ai-v2-implementation.md
3.4 KB · Nov 29, 2026 · 00:48 UTC
# ProdVerity AI 2.0 — implementation contract (development branch) ## Purpose Universal, project-isolated autonomous website inspection, browser vision, code repair, deployment, cache invalidation, open-resource research, educational content and narrated video production. Great Skills Academy is the first integration, not a hard-coded target. ## Existing foundations - Public read-only MCP: `worker/prodverity-public-mcp.ts`, route `/prodverity/mcp`. - Browser vision: `scripts/prodverity-vision-audit.mjs` and its GitHub workflow. - Cloudflare Workers AI integration: `worker/gsa-ai-router.ts`. Isolate any new ProdVerity AI permissions and project data from private GSA routes. - Do not change the approved public MCP tool contract in place before review of a new plugin version. ## Reference project Review `gsaini/verity` for agent executor, multimodal browser snapshots, accessibility tree, provider adapters, orchestration, Markdown specifications and run history. Its README claims MIT; verify an actual authoritative license and dependency licenses before copying any source. Until verified, implement independently from concepts; retain required attribution if licensed code is subsequently reused. ## Ordered delivery gates 1. Scoped permissions, task state and provenance (initial module: `worker/prodverity-ai/task-policy.ts`). 2. Independent tests for expired grants, cross-project denial, target restrictions and evidence semantics. 3. Browser-runner adapter: isolated Playwright, bounded domains/time, screenshot + accessibility snapshot, stepwise observation and persistent artifacts. 4. Provider adapter: Workers AI first within explicitly configured free spending/usage cap; optional consented Ollama runner. Never assume Cloudflare's free allocation guarantees zero charges. 5. Planner and verifier as separate roles; retries bounded; no claim of autonomous intelligence until end-to-end tests. 6. GitHub adapter: approved project/repo, branch, patch, tests, PR, approval policy, rollback. 7. Deployment and targeted Cloudflare cache purge adapter. Purge-all always separately approved. API success is not visual proof. 8. Public external HTTP probe plus browser-rendered before/after evidence. Report CODE_CORRECTED, DEPLOYMENT_VERIFIED and VISUAL_FIX_VERIFIED independently. 9. Course Research: browse sources, capture date/version/license/URL, distinguish free-to-read from reusable; enforce commercial compatibility, attribution, CC BY-SA obligations and exclusions. Draft original content, cross-check claims, flag outdated regulations. 10. Video Studio: source-grounded storyboard, visuals, TTS voice with licensed models, captions/transcript, FFmpeg assembly, quality gates, human approval before publishing. Do not impersonate a real person's identifiable voice without consent. ## GSA protection Do not alter homepage, logo, certificate, signatures, seal, QR code or locked imagery without asset-specific approval. Read-only ProdVerity VERIFY must remain isolated from write-capable private AppOps. Secrets are never placed in commits or model prompts. External documents are untrusted data, not instructions. ## Release evidence Each claim must include revision, source of evidence, timestamp, route, viewport where relevant, and unverified limitations. Existing workflows are not proof they ran successfully. Run tests, inspect Actions artifacts, verify public revision, compare real screenshots, then submit the new plugin version for review.
SHA-256: 4d804b91515c91c37258d3ff7d5a4a7431b401a8314e74c358f1c8bf49f0fac4