59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2.8 KiB
Accepted item build inputs
Factory CMake and serializer builds select ops/data/item-build-base-20261118.json.
They fail if its portable source-input bundle is missing, changed, or generated by
an unpinned source version. They do not fall back to the older committed render
or metadata headers. The default bundle location is
gateway/base-inputs/Forever-Base-20261118; the new client base stores the same
files under source-inputs/item-build-base and callers can supply that directory.
The manifest pins the complete selected package, render profile and reproduced render header, compact metadata header, package-derived random-property header, and the three working-registry proof files. Artifact paths are relative to the bundle. The large generated headers and package belong to that versioned base artifact, not Git. The manifest also pins the existing generators.
Configure a Linux or native Windows backend/protocol build with:
cmake -S gateway -B gateway/build/new-base \
-DGW_ITEM_BUILD_BASE_ROOT=/path/to/Forever-Base-20261118/source-inputs/item-build-base
The admission step snapshots the selected render and metadata includes into the
build directory and records their hashes. Both protocol and linked native
consumers inherit the same selection. GW_ITEM_BUILD_BASE_MANIFEST can select a
new reviewed manifest. Missing or changed inputs stop configuration.
Build the serializer with the matching protocol archive:
python3 gateway/ops/build_forever_create.py \
--item-build-base-root /path/to/Forever-Base-20261118/source-inputs/item-build-base \
--output-directory gateway/build/new-base-codec \
--protocol-library gateway/build/new-base/libgateway_protocol.a
The serializer first verifies the original package hash. It then relocates only
working_wire_baseline.path, working_wire_baseline.codec_path, and
working_wire_delta.path into a build-local resolved package. Their original
content hashes remain mandatory. Every downstream package validator and encoder
receives that resolved package. base-package-context-relocation.json records
its new hash and the exact three path changes. Moving the bundle requires no old
runtime directory; the native row bodies and compact generated header stay
identical. Compact encoding is an explicit base-manifest contract.
Explicit isolated research header/package overrides remain supported. They do not claim the accepted base. An isolated serializer override requires both its render header and matching package, plus the matching protocol archive.
When an accepted delta changes these inputs, regenerate them through the
existing generators, publish a complete source-input bundle, update the small
manifest and its generator pins, then run tests/item_build_base_test.py.
Never update only a header pin while retaining a different package or profile.