Ops Runbook
QA checklist, autonomy dial strategy, feature roadmap, and integration sync plan.
1. V1 QA Checklist
Verify each item before declaring v1 functional. Open the factory at factory.asapai.net and walk through.
Pipeline View
Workbench — Guide Panel
Workbench — Inputs Tab
Workbench — Chat Tab
Workbench — Outputs Tab
Navigation
API Routes
2. The Autonomy Dial
How to progressively automate the factory from expert #1 (verify everything) to expert #N (only touch gates).
Everything is Human Gate. Verify every output. Build trust in the system.
Research and recon run automatically. Extractors run automatically. Human gates on framework + audit + test only.
Nearly fully autonomous. Human only reviews framework design and final test. Everything else runs end-to-end.
How to Change Autonomy Levels
Right now: autonomy levels are defined in lib/block-guides.ts (display) and the block template's execution.human_gate field (behavior).
V1: Change the template JSON and create a new run. V2 (build next): Per-run autonomy overrides in the workbench UI. Click the autonomy badge → toggle between levels → saves to run state.
3. Feature Roadmap
What to build next, in priority order. Core structure is down — everything below is additive.
4. MasteryOS Sync Plan
How the standalone extraction factory connects to the platform where experts live.
The Problem
The factory produces structured extraction outputs (system prompt, knowledge files, frameworks, resources, offers, design system). MasteryOS is where the expert's clone lives and users interact with it. Currently these are disconnected — outputs are manually copied.
The Sync
Sumit Handoff Notes
What we need from Sumit: API endpoint(s) on MasteryOS that accept extraction outputs and populate an expert's profile. Ideally one endpoint per artifact type, or a batch endpoint that takes the full extraction bundle.
What we provide: Structured JSON from each extractor, plus the compiled system prompt and knowledge files. All outputs have consistent schemas defined in lib/types.ts.
Reference code: Probiotic repos (probiotic-Front--JDM-use,probiotic-back--JDM-use) show how the old system consumed these artifacts. MasteryOS should follow the same pattern but with its own data model.
Integration point: The factory's boarding-orchestrator block (Phase 8) will call the MasteryOS sync API as its final step. The workbench outputs tab will show a "Sync to MasteryOS" button.
Sequence
5. Environment Variables
What needs to be set on Vercel for full functionality.
| Variable | Status | Used By |
|---|---|---|
| NEXT_PUBLIC_SUPABASE_URL | ✅ Set | All API routes |
| SUPABASE_SERVICE_ROLE_KEY | ✅ Set | All API routes |
| ANTHROPIC_API_KEY | ⚠️ Needed | Chat proxy (/api/chat) |
| OPENROUTER_API_KEY | 🔜 P1 | Multi-model routing |
| PPLX_API_KEY | 🔜 P1 | Deep research block |
| GEMINI_API_KEY | 🔜 P1 | Image/infographic generation |