Skip to content

Implementation Log: ANU-13

Approval And Baseline

  • Approved plan SHA-256: 58A93B8F4FEE0B41A8C30D644F9D5216D4776D596CB3860F45C120C1A450AACD.
  • Implementation branch: codex/anu-13-implement-presentationconfig-v2-and-multi-surfac.
  • Documentation pre-edit timestamp: 2026-07-27T05:13:44Z.
  • Pre-edit docs ensure receipt: 20260727T051352Z-docs-ensure-2512.
  • Baseline pnpm lint: passed, 440 files.
  • Baseline pnpm typecheck: passed.
  • Baseline pnpm test:int: passed, 16 files and 104 tests.

Bento Artifact Boundary

  • Reproduced the reviewed ANU-11 contract and player artifacts from source commit 42dbb0a.
  • Vendored contract package, schemas, player bundle, compatibility metadata, license, notices, and provenance under vendor/anuva-bento/1.0.0.
  • Contract tarball SHA-256: 43000c5b1aac6181f0b66610f0f8e883b8e3eea860f964e487c9575371922072.
  • Player identity manifest SHA-256: cd25840e5bf15ccb8fc2abefab054698c46b2dea15a03c9115cf89c6b490328f.
  • Declared @anuva/bento-contract as an exact local file dependency and restored the dependency tree with pnpm install --frozen-lockfile --force.

Implementation

  • Added the PresentationConfig v2 compiler, stable checksum/identity helpers, typed surface plans, asset validation, compatibility evaluation, and executable-content/path-safety checks.
  • Replaced active workflow, Mastra, server-action, worker, fixture, and repository compilation paths with Main, Companion, and Emphasis output.
  • Removed active direct markup generation and legacy presentation fixture fallback.
  • Converted presentation_compilations to immutable parent-linked revisions with content checksums and expected revision/checksum conflict primitives.
  • Added media and voiceover byte checksums at upload/generation boundaries.
  • Replaced the external worker package with an immutable Bento package plus a separate transport-grant section.
  • Added the exact player file manifest, license, notices, asset descriptors, config checksum, and root package checksum to worker handoff.
  • Added v2-only validation to presentation fixture export and import.
  • Regenerated Payload types with pnpm generate:types.

Verification During Implementation

  • Focused compiler, artifact, contract, orchestration, revision, fixture, and worker-package tests: passed.
  • Targeted create/preview/edit/render integration tests: 21 passed.
  • Full pnpm test:int: 20 files and 118 tests passed.
  • pnpm typecheck: passed after the active-path cutover.
  • Active source/script/test scan found no presentation compilation references to the retired markup contract. Remaining English-word matches are unrelated UI animation/password/template names.

Final Verification

  • pnpm generate:types: passed.
  • pnpm lint: passed, 447 files.
  • pnpm typecheck: passed.
  • pnpm test:int: passed, 20 files and 118 tests.
  • pnpm test:e2e: passed, 6 tests against the dedicated port 3100 server.
  • Fresh disposable PostgreSQL recreation: passed. The current Payload schema initialized in anuvax_anu13_verify_20260727_0718; a presentation, scene, and immutable revision were persisted and reloaded as anuva/bento-presentation revision 1 with Main, Companion, and Emphasis documents, 9 timeline events, and successful v2 fixture validation.
  • git diff --check: passed.
  • Recursive docs index validation: passed.
  • Strict MkDocs build and fresh live changed-page matching: passed.

Acceptance Review

  • Review evidence update pre-edit timestamp: 2026-07-27T07:51:57Z.
  • PR 39 was mergeable with a clean merge state and no review objections.
  • GitHub had no configured status checks; the repository verification matrix above was therefore confirmed locally against commit 4acb1e6e757aa567bdca69d6c458f6fcaec59e55.