Start here when authoring or maintaining WP Codebox integrations. The current contracts are generated from code where possible; planning docs are historical unless this index says otherwise.
- Architecture explains the product boundary, package map, and ownership rules.
- Recipe contract is the authoring guide for
wp-codebox/workspace-recipe/v1recipes, including supported input names and assertion syntax. - Sandbox session contract defines the parent orchestration boundary for sandbox sessions.
- External apply adapter contract documents reviewed artifact apply-back.
- Agent fanout contract documents generic multi-sandbox fanout inputs and outputs.
- Agent runtime contract documents the stable orchestrator-facing agent-task CLI, schema boundary, artifacts, runner workspace publication, lifecycle metadata, provider overlays, and default sandbox bootstrap expectations.
- Generic runtime primitives documents the caller-neutral artifact storage, trusted browser origin, materialization, and target-context envelopes shared by runtime integrations.
- Portable WP Codebox documents portable runtime packaging and invocation.
- Benchmark contract documents benchmark evidence shape without making benchmark scoring a core runtime concern.
- Example consumer boundary contracts documents runtime profile, preview lease, and browser session handoff seams for host adapters. Named products in that note are examples only; the runtime contracts remain caller-neutral.
- Browser runtime dependency audit is a current dependency classification reference.
- Transfer readiness checklist and transfer namespace plan are historical transfer planning records. Keep them for provenance, but do not treat them as onboarding docs or current recipe contract authority.
- Reprint parent-site snapshots is a planning note for a bounded parent-site snapshot surface.
- Recipe schema:
npm run wp-codebox -- schema recipe --json. - Command catalog:
npm run wp-codebox -- commands --json. - Runtime TypeScript contracts:
packages/runtime-core/src/runtime-contracts.ts. - Generic primitive TypeScript contracts:
packages/runtime-core/src/artifact-storage.ts,packages/runtime-core/src/browser-session-origin.ts,packages/runtime-core/src/materialization-contracts.ts, andpackages/runtime-core/src/evidence-artifact-envelope.ts. - JSON Schema factory:
packages/runtime-core/src/recipe-schema.ts. - Default check coverage:
npm run checkincludesnpm run test:generic-primitivesthrough the smoke manifestcoregroup.