# V5-001 — Authored-world and execution evidence boundary

Date: 2026-07-29

Status: four repository-local UE/director/cook/integrity rows are verified; the
live-provider and human-approval rows remain open.

## Repository implementation

`V5Gameplay` contains a deterministic AI Director decision core and a
`UGameInstanceSubsystem` adapter with:

- fail-closed policy and observation validation, monotonic observation
  sequences, PvP/Trial/Speedrun/scripted-phase/player-disable exclusions,
  adjustment rate limits, maximum step, and absolute scalar bounds;
- bounded decision telemetry and a 256-entry retained decision history;
- pause, fixed override, rollback, and release controls gated by the configured
  operator-authority verifier; and
- two real Unreal policy packages: `DA_V5AIDirectorPolicy.uasset` and
  `DA_V5AIDirectorSafetyPolicy.uasset`.

The policy packages are typed `UV5AIDirectorPolicyAsset` objects, not JSON or
metadata renamed as assets. A repository commandlet authors them, and the
project cook configuration always includes their directory.

The replay-integrity boundary uses the shared portable SHA-256/HMAC-SHA256 core
instead of the former unkeyed SHA-1 replay digest. Exact binary canonicalization
binds all replay/security fields, float bit patterns, event kind, ordered tags,
key ID, nonce, issue time, and expiry. Verification uses constant-time
comparison, requires a minimum 256-bit transient key, clears key bytes, rejects
tampering and nonce replay, and fails closed unless the configured external
key-custody and durable nonce-consumption seams return receipts.

Portable C++20 warnings-as-errors ASan/UBSan tests cover the director and
published SHA-256/RFC 4231 HMAC vectors. The Unreal sources also compiled with
the UE 5.5 Linux Clang response files under warnings-as-errors before the
qualified run. That compile exposed and fixed a real UE 5.5 compatibility
defect: `TFunction` must be tested as a boolean rather than with `IsBound()`.

## Qualified Unreal execution

The retained run is `v5-001-cb562888f78a-20260729T230612Z`, bound to source
commit `cb562888f78ab1bba71d2e39b5ec12993f0f7047`. It used:

- project: `V5/ue/V5.uproject`;
- engine: UE 5.5.4 at `/root/workspace/UnrealEngine-5.5`;
- host profile: `ue55-linux`;
- operating user: `ueagent`; and
- editor interval: `2026-07-29T23:06:12.847Z` through
  `2026-07-29T23:06:28.869Z`.

One `UnrealEditor-Cmd` invocation ran the exact selected 14-test suite. The
engine report records 14 succeeded, zero succeeded with warnings, zero failed,
and zero not run. The covered behavior is:

- bounded director adaptation plus authority and replay rejection;
- deterministic side quests, loot, encounters, contracts, decoration, and galaxy
  generation;
- golden replay and currency replay recovery;
- highlight-reel selection;
- camera budgets, broadcast/director mode, and cross-cell replay editing;
- companion persona adaptation;
- daily puzzle rotation; and
- catalog/auth and HMAC/replay-integrity behavior.

The clearance and provenance coverage proves the repository's fail-closed
verification semantics using test receipt identifiers. It is not evidence of a
real human clearance, rights decision, or release approval. Likewise, the
director tests exercise technical decisions and operator controls with a
configured verifier; they do not claim a live external decision provider or a
real human operator receipt.

## Qualified Linux cook

A separate `RunUAT BuildCookRun` invocation ran from `2026-07-29T23:06:28.870Z`
through `2026-07-29T23:40:54.732Z` with the exact V5 project, target `V5`,
platform `Linux`, and user `ueagent`. The invocation was a fresh, non-iterative
cook with no compile, stage, package, or archive phase:

```text
BuildCookRun -project=.../V5/ue/V5.uproject -noP4 -nocompile
-nocompileeditor -skipbuild -cook -skipstage -skippackage -skiparchive
-target=V5 -targetplatform=Linux -unversionedcookedcontent
-additionalcookeroptions=-corelimit=2 -utf8output
```

UAT deleted the previous cook sandbox, cooked 448 packages, reported zero
errors, and exited 0. The retained cook tree is 158,312,903 bytes with SHA-256
`1c9aa45c53b17fada652afe5baced5ef709e5ec3e31f241535e7cb6abc1fe609`. The bound
asset manifest verifies Unreal package magic and retains source and cooked
digests for:

| Package                              | Cooked bytes | Cooked SHA-256                                                     |
| ------------------------------------ | -----------: | ------------------------------------------------------------------ |
| `BootMap.umap`                       |        3,516 | `ce69378d34d6776b64b8ba8ee804311ea44ed61def5ed24030eb01df51c533bb` |
| `DA_V5AIDirectorPolicy.uasset`       |          986 | `6fb4597eb7ad0581fd65ac7dc30f5548437fb984272c20959ecc560fdb8921b5` |
| `DA_V5AIDirectorSafetyPolicy.uasset` |        1,052 | `de4ed4171d6dcc767185aaa655f6bed652136e8dc8f81ace9304d8550615aae1` |

This is real binary-asset cook evidence for the checklist row. It intentionally
does not claim a staged or packaged executable, `.pak`/`.ucas`/`.utoc` output,
or launch smoke.

## Retained evidence

`V5-001-unreal-evidence.json` embeds the two separate Unreal evidence records,
the exact automation summary and coverage map, and the cooked-asset manifest.
Its verifier also SHA-256-checks the four retained raw records under
`V5-001-unreal-artifacts/` and requires their JSON to match the embedded
records. All five repository-local checks pass:

- `linuxEditorInvocation`;
- `runtimeCoverage`;
- `linuxCookInvocation`;
- `cookedBinaryAssets`; and
- `retainedRecords`.

Its scope is explicit:

- `externalProviderReceiptsClaimed: false`;
- `humanReleaseApprovalsClaimed: false`;
- `packagedLaunchClaimed: false`; and
- `clearanceAndProvenance: fail-closed-verification-semantics`.

## Stricter aggregate release boundary

`scripts/v5/verify-authored-world-evidence.mjs` remains the stricter aggregate
release contract. It additionally requires:

- non-test decision-provider and live TTS, recap, STT, and translation outputs
  with consent and provenance receipts;
- signed human director, cell, continuity, rights, and release approvals;
- packaged `.pak`/`.ucas`/`.utoc` output plus a launch-smoke receipt; and
- an external key-custody verification receipt.

The retained aggregate package records the real LinuxEditor run and cook-only
outputs, but remains blocked on five of six aggregate checks. Only
`linuxEditorRuntime` passes. This stricter result is expected and prevents the
repository-local execution from being misrepresented as external provider,
human, packaged-launch, or key-custody evidence.

Accordingly, the V5-001 repository-local director, cooked-binary,
named-system-runtime, and HMAC/fail-closed-seam rows are closed. The live media
provider and human director/cell/continuity/rights/release rows remain open.

## Verification

- `node --test scripts/v5/v5-ai-director-core.test.mjs scripts/v5/v5-integrity-core.test.mjs scripts/v5/verify-authored-world-evidence.test.mjs scripts/v5/verify-v5-001-unreal-evidence.test.mjs`
- `node scripts/v5/verify-v5-001-unreal-evidence.mjs --evidence=evidence/v1-v9/V5-001-unreal-evidence.json`
- `node --check scripts/v5/v5-001-unreal-contract.mjs scripts/v5/build-v5-001-unreal-evidence.mjs scripts/v5/verify-v5-001-unreal-evidence.mjs scripts/v5/write-v5-001-cooked-asset-manifest.mjs`
- exact UE 5.5.4 LinuxEditor automation invocation described above
- exact UE 5.5.4 Linux `BuildCookRun` invocation described above

The aggregate verifier is also exercised by its test against a fixed
`2026-07-30T00:00:00.000Z` clock so the retained blocked result remains
reproducible without weakening freshness enforcement in production use.
