# Coop Zero slice 1 summary · reproduce one farm day in standalone UE6

- **Status:** Current.
- **Engine:** ue6-main `61e2877e10`, Linux x86_64, Epic clang 23.1.5 using the v27 SDK.
- **Context:** Standalone UE6 Linux Development build. C++ actors and subsystems expose physical and persistent state to BPVerse rules in project Content. The probe also includes the separate Verse scene-graph component.
- **Prerequisites:** An installed source-built editor and toolchain, the documented SetUtilities.h include patch on this engine revision, room for the monolithic Linux game target's local intermediates, `rsvg-convert`, Vulkan SM6 and the lane build wrapper. The committed CC0 source assets include their own manifests and license records.

## Symptom

A clean Git checkout must rebuild the farm's generated assets and cook BPVerse classes before it can launch the Slice map. The cold editor import logs `CDO Constructor (CoopCharacter): Failed to find /Game/CoopZero/Placeholder/M_FarmFlat.M_FarmFlat` before the kit exists. A full-day test must wait for actual laying, earn its build price and observe a real dawn and save.

## Smallest example / reproduction

Run this sequence in Bash on the shared build machine, with `$P` set as in the [README](/docs/#placeholders-used-in-commands). It clones `step-12`, builds and smoke-tests the package, checks for repository changes, saves the logs and removes the scratch checkout. The scratch checkout is the project's sibling directory `scratch-step12b`; the final check asserts that.

```bash
set -euo pipefail
S="$(dirname "$P")/scratch-step12b"
E="$P/Saved/step12b/fresh"
mkdir -p "$E"
test ! -e "$S"
started=$(date +%s)
git clone --no-local --single-branch --branch step-12 "$P" "$S"
git -C "$S" rev-parse HEAD
test -z "$(git -C "$S" status --short)"
for path in Binaries Intermediate Saved DerivedDataCache Out Content/CoopZero Content/Maps/Slice.umap; do
    test ! -e "$S/$path"
done
printf 'Pristine clone confirmed\n'
(
    cd "$S"
    export COOP_BUILD_LABEL=step12b-fresh
    Scripts/build_slice.sh all
    Scripts/prove_slice.sh smoke
)
elapsed=$(( $(date +%s) - started ))
status=$(git -C "$S" status --short)
git -C "$S" status --short
test -z "$status"
printf 'git status --short is empty\n'
printf 'Clone through packaged smoke: %s seconds\n' "$elapsed"
du -sh "$S"
du -sB1 "$S"
df -B1 --output=avail "$S"
cp "$S"/Saved/step12b-fresh-*.log "$E/"
cp "$S"/Saved/step12b-fresh-proof.*/smoke.log "$E/"
python3 - "$P" "$S" <<'PYTHON'
from pathlib import Path
from shutil import rmtree
from subprocess import check_output
from sys import argv

main, scratch = map(Path, argv[1:])
assert scratch == main.parent / "scratch-step12b" == scratch.resolve()
assert (scratch / ".git").is_dir()
assert check_output(["git", "-C", str(scratch), "remote", "get-url", "origin"], text=True).strip() == str(main)
rmtree(scratch)
PYTHON
test ! -e "$S"
printf 'Scratch directory removed. Clone through cleanup: %s seconds\n' "$(( $(date +%s) - started ))"
```

For the full first-day regression on a local packaged build, run `Scripts/prove_slice.sh` from the project checkout.

## Solution

Build the editor module, import the Styloo GLBs, rasterize and import the icon textures, generate the placeholder kit, then lay out and reload the map. Run map placement in a new commandlet process after the kit writes its files so native class defaults can resolve the generated paths on startup. Build and cook the Linux Development target with filesystem staging. The layout and generator produce an ignored `Content/Maps/Slice.umap` at the same package path the cooker uses. The project commits the editor configuration values that would otherwise be written on first use. The shell scripts keep build and run commands serial, launch the wrapped tool with its local paths, and use distinct save directories for independent fixtures.

Use `coop.timescale 30` with `coop.autoplay 1` for the closed night and `coop.autoplay open` for the fox and morning rescue. The bot transports the pawn and calls the same controller handlers used by the gamepad. It waits for the farm to lay eggs, applies the real sale price and visits the build spot, waits for the birds to sleep, then uses the normal door and bed. Relaunch the closed run with the same user directory to check the dawn save.

### Slice journal

- [01 bridge](/docs/journal/#2026-11-24-coop-zero-step-01-61e2877e), [01b engine preflight](/docs/journal/#2026-11-24-coop-zero-step-01b-61e2877e), [01c Linux package](/docs/journal/#2026-11-25-coop-zero-step-01c-61e2877e)
- [02 rules](/docs/journal/#2026-11-25-coop-zero-step-02-61e2877e), [03 pawn and input](/docs/journal/#2026-11-25-coop-zero-step-03-61e2877e), [04 clock and sky](/docs/journal/#2026-11-25-coop-zero-step-04-61e2877e)
- [05 layout and glTF](/docs/journal/#2026-11-25--coop-zero-step-05-farm-layout-and-local-gltf-assets), [06 chicken needs](/docs/journal/#2026-11-25--coop-zero-step-06-chicken-needs-and-station-care), [07 BPVerse refill](/docs/journal/#2026-11-25--coop-zero-step-07-bpverse-refill-loop)
- [08 egg lifecycle](/docs/journal/#2026-11-25-coop-zero-step-08-61e2877e), [09 build spot](/docs/journal/#2026-11-25-coop-zero-step-09-61e2877e), [10 night and saves](/docs/journal/#2026-11-25-coop-zero-step-10-61e2877e)
- [11 pictures and input](/docs/journal/#2026-11-25-coop-zero-step-11-61e2877e10), [12 autoplay and fresh checkout](/docs/journal/#2026-11-25-coop-zero-step-12-61e2877e10), [12b pristine clone](/docs/journal/#2026-11-25-coop-zero-step-12b-61e2877e10), [process record](/docs/process/log/)

### Recipes and issues

- Standalone Verse and C++ [BPVerse actor round trip](/docs/recipes/bpverse-actor-in-headless-editor/), [missing VerseReflectionTypes VNI](/docs/known-issues/bpverse-missing-versereflectiontypes/), [Scene Graph package probe](/docs/recipes/verse-component-in-packaged-linux-game/)
- Build and cook [editor SharedPCH workaround](/docs/known-issues/editor-shared-pch-write/), [Zen oplog HTTP NotFound](/docs/known-issues/uat-stage-zen-oplog-not-found/), [packaged DeveloperSettings](/docs/recipes/developer-settings-in-packaged-linux-game/)
- Player input and display [Enhanced Input fixture](/docs/recipes/linux-gamepad-enhanced-input-probe/), [send a gamepad key](/docs/recipes/linux-enhanced-input-key-events/), [Vulkan SM6 screenshots](/docs/recipes/linux-vulkan-sm6-offscreen-screenshots/), [UMG screenshots](/docs/recipes/linux-offscreen-umg-screenshots/), [projected bubble autoplay](/docs/recipes/packaged-autoplay-projected-hud/)
- Map and animal assets [glTF and placeholder generation](/docs/recipes/headless-gltf-and-flat-placeholders/), [cold kit mesh dependencies](/docs/recipes/cold-layout-placeholder-meshes/), [clean checkout with a generated map](/docs/recipes/generated-map-clean-checkout/), [single-node walk clips](/docs/recipes/interchange-gltf-single-node-walk/), [Python instance property access](/docs/known-issues/bpverse-python-instance-property-template/)
- Chores and build [BPVerse subsystem call](/docs/recipes/bpverse-game-instance-subsystem/), [partial refills](/docs/recipes/bpverse-refill-carry-remainder/), [deferred feeder spawn](/docs/recipes/bpverse-deferred-station-spawn/), [stable log IDs](/docs/recipes/stable-packaged-log-identifiers/)
- Clock, door and save [NullRHI clock pacing](/docs/known-issues/nullrhi-world-clock-runs-fast/), [fixed steps at dawn](/docs/recipes/fixed-step-farm-dawn/), [a Verse Mod result crossing to C++](/docs/recipes/bpverse-mod-result-native-int/), [closed door footprint](/docs/recipes/moving-door-closed-footprint/), [versioned dawn save](/docs/recipes/versioned-farm-dawn-save/)
- Setup and spike background [engine findings](/docs/known-issues/2026-11-24-spike-findings/), [known issue index](/docs/known-issues/), [VerseSpike project](/docs/#source-examples) (coming with the source repo)

## Why it works

The layout resolves assets by their generated package paths and verifies the actor references after reopening the map. The filesystem cook stages those assets and the Verse package into one archive. At runtime, the player controller's overlap and interaction path checks the same targets the player would reach with the stick. The bed advances the same clock and save handlers used by an ordinary first day.

## Verified

- **Evidence level:** runs in packaged build.
- **How:** `Scripts/prove_slice.sh` printed `Packaged day, reload, open-door rescue and six HUD bubble assertions passed`. The closed pass logged `SLICE_DONE night=closed day=2` and the next process logged `LOADED slot=0 day=2`. The open pass logged `FOX victim=Hen1 spot=1` and `RESCUED bird=Hen1`. Coop Zero's `REPORT.md` contains the full commands and ordered proof.
- **Fresh checkout:** The exact commands above ran once from the final `step-12` commit `8fb9c751c6d69622bc48e46b0587c916a669f525`. The editor compile logged `Result: Succeeded` (**compiled**), then layout generation logged `SLICE_MAP actors=65 map=/Game/Maps/Slice unmanaged=0` (**runs in editor**). UAT logged `BUILD SUCCESSFUL`, and smoke printed `Fresh package map, flock, icons and Verse objective assertions passed` (**runs in packaged build**). The game log showed `Load map complete /Game/Maps/Slice`, four `CHICKEN_READY` lines, `HUD textures=29` and `OBJECTIVE next=feed_water`.
- **Timing and checkout state:** Clone through smoke took 2907 s. The directory occupied 17G (17,981,337,600 allocated bytes) before removal. `git status --short` printed nothing. Cleanup completed 2908 s after clone. In the Coop Zero checkout, see `Saved/step12b/final-console.log` and `Saved/step12b/fresh/smoke.log`.
- **Main checkout:** Step 12b reran the full package proof. Closed-night autoplay logged `SLICE_DONE night=closed day=2` and the relaunch logged `LOADED slot=0 day=2`. The open-door, HUD and incubation fixtures also passed. The gamepad table row refers to the bot with injected input. Physical gamepad play remains pending.
- **Date / by:** 2026-11-25, Coop Zero Steps 12 and 12b.

## Limits and assumptions

The proof starts from the authored Slice layout. The recorded build uses the installed engine revision and Linux toolchain. The bot uses accelerated time and simulated stick input. The owner will assess gamepad use, comprehension, pacing, art and audio cues.
