FLT-358: Forge Game pack survey and implementation plan¶
Draft by Cedric Jones-Gaffney, revised 2026-10-30 after the initial cross-family council's 8/8 REQUEST CHANGES and re-review of 5e77d5b (9/12 APPROVE). Remaining re-review items are applied in section 8.1; focused re-review is still required. This document proposes work; it records no new gaming-PC execution results or final council approval.
1. Summary and recommendation¶
Build the first engine adapter on Epic's UE 5.8 Unreal MCP plugin, identifier ModelContextProtocol, only after an authenticated live smoke test on an idle PC and the WT-3796 producer-contract gate. Keep the Forge host, pack loader, dependency policy, security policy and UAT machinery shared with the other packs. CCGS supplies Game pack content and Unreal-specific adapters. Forge remains one C# product. Read-only Phase-0 work may start now; do not open build tickets while FLT-347/351/350/354 remain unbuilt.
Epic's official 5.8 MCP documentation confirms an Experimental local HTTP integration, extensible toolsets and serialized game-thread execution. This gives Forge a protocol boundary independent of the user's IDE. Enable only the toolsets needed for the probe; discover actual tools before selecting operations. A custom IDE fork is unnecessary for this first slice.
Use UnrealSharp as the gameplay-language adapter inside the Game pack. Use original C++ for engine-facing extensions and C#/.NET 10 for Forge tooling and gameplay. The fixed gameplay stack is GMCv2 + GMAS + Narrative Pro; do not substitute GAS. The commercial stack belongs in an entitlement-gated overlay. BpGenerator is excised from the active provider set until a human supplies written AI-use entitlement; no bridge start, schema read or AI probe is allowed before that. Rider and Visual Studio remain possible debugging tools. Workspace generation supports VS Code, Cursor and Antigravity without making any one IDE the control plane.
The engine boundary is per-engine. Implement only Unreal now. Unity is far-future work.
Evidence boundary¶
Read before drafting:
- VERSION.md: target UE 5.8.3; installed hotfix still needs recording from the actual installation.
- mcp.md: installed-source inspection dated 2026-10-24; Epic live connection absent; BpGenerator
get_focused_content_browser_pathreportedly returned/Game/in Claude Desktop that day. - unrealsharp.md: source-derived behavior; its unattributed packaging report is explicitly unverified.
- ide-cursor-antigravity.md: research and templates, with no hands-on IDE/debugger verification.
Gaming-PC plugin inventory, Clahadore, 2026-10-30 (mcpprobe.ps1 over SSH, read-only; raw output on FLT-358 comment 11492):
A:\Epic Games\UE_5.8reportsversion 5.8.3 CL 58210709.ModelContextProtocolis present atEngine\Plugins\Experimental\withexp=True,default=False.MCPClientToolsetis present withbeta=True,exp=True.- The RogueRoyale uproject has
ModelContextProtocol,UnrealSharpandBpGeneratorUltimateenabled.
This inventory proves presence and enablement only. A live handshake and tool call remain Phase 0.2.
Task-supplied gaming-PC probe: UnrealSharp cb8577e3 builds on UE 5.8; Win64 + Mac only; NO cooked/packaged-build evidence; hot reload UNVERIFIED. Preserve that boundary. Editor compilation does not establish cooking, deployment or runtime behavior. The short commit must be resolved to its full SHA in a receipt.
Public sources below were inspected for this draft. Moving main branches establish source availability, not compatibility of a selected binary. No UE/game execution was performed here. Core contract schemas were not found in CCGS; reads of FLT-347/351/350/354 through the Jira connector returned UNAUTHORIZED / reauthentication required. Their purposes below follow the task brief; concrete schema/API compatibility remains UNVERIFIED until WT-3796 supplies the producer contracts.
2. Candidate survey¶
“Fork allowed” describes the identified source license, subject to its conditions and dependency licenses. “Study-only” is this plan's reuse boundary where portable reuse rights are absent or unverified; it does not prohibit using an installed, licensed tool. No row authorizes bundling vendor binaries or Engine Tools into a public pack.
| Candidate | License, exact SPDX where known | Fork allowed vs study-only, and why | Integration surface / APIs | UE 5.8 status | UnrealSharp hooks | Source URL |
|---|---|---|---|---|---|---|
| Epic UE 5.8 MCP Server plugin | Proprietary Unreal Engine EULA; no SPDX asserted. Check installed plugin/third-party notices. EULA. | Restricted internal modification under the EULA; study-only for copying into generally distributed Forge code. Engine-source access is not a permissive license; distribution has licensee/channel restrictions. Prefer a separately written client. | Streamable HTTP MCP; documented default local /mcp on port 8000 is historical context, not an approved endpoint. Require ephemeral authenticated loopback or the verified stdio fallback (section 3); Toolset Registry. Installed-source details in mcp.md. |
Official 5.8 docs confirm Experimental plugin. Local source inspected; live 5.8.3 handshake/tool coverage UNVERIFIED. | No dedicated UnrealSharp toolset verified. Reflected-object access may help, but managed compilation/reload/debugging hooks are UNVERIFIED. | Epic MCP docs |
| JetBrains UnrealLink / RiderLink | Repository: Apache-2.0, License.txt. Rider product/SDK and bundled dependencies have separate terms. | Fork allowed for covered repository code with notices, change notices and applicable attribution. No right inferred to fork Rider itself. Keep as a reference/optional IDE bridge; avoid a second primary editor protocol. | Rider-side UnrealLink + editor-side RiderLink; generated Kotlin/C#/C++ protocol models and IDE APIs. Exact externally supported automation contract UNVERIFIED; do not assume MCP parity. | UE integration documented; exact Rider/RiderLink version building and operating with 5.8.3 UNVERIFIED. | General C# IDE support is distinct from UnrealLink. Generated solution/launch profiles are potential entry points; hosted-CoreCLR attach and UnrealSharp-specific bridge support UNVERIFIED. | Repository, protocol generation, Rider docs |
VS Code Unreal workflow: UBT .code-workspace, clangd / C/C++ extension |
Code OSS: MIT, license; Microsoft VS Code binary: product terms. clangd: Apache-2.0 WITH LLVM-exception, LLVM license; vscode-clangd extension: MIT, license. Microsoft C/C++ runtime: proprietary terms. UBT is covered by the UE EULA. | Fork allowed for identified OSS components; proprietary product/runtime code remains study-only. UBT/UAT are black-box CLI tools only: do not study, copy or port their C# source into Forge. Generate our own config around the installed UBT. Microsoft extension binaries are not made permissive by an OSS repository. | UBT-generated workspace/build tasks; compilation database to clangd/LSP; debugger adapters separately. These provide code tooling, not editor asset control. | Epic's 5.8 workspace workflow documented; project-specific generated workspace, plugin includes and debugger behavior UNVERIFIED on gaming PC. | UnrealSharp solution location + managed language service + separate attach configuration. DotRush/fork debugger support needs a breakpoint receipt; C++ workspace generation alone provides no C# runtime integration. | Epic VS Code setup, local IDE study |
| Visual Studio Integration Tool (Epic/Fab distribution) / VS Unreal Engine integration | Microsoft vc-ue-extensions source: MIT, LICENSE. Visual Studio product terms separate; exact installed product license UNVERIFIED. Fab listing's license field is blank; do not apply MIT to arbitrary downloaded artifacts. |
Fork allowed for identified MIT plugin source with notices. Study-only for VS product internals and unverified marketplace artifacts. Listing is by Microsoft Corp, despite delivery through Epic's marketplace. | VisualStudioTools editor plugin + VS Unreal tooling/test adapter/Blueprint debugging. Native tests, logs, macro expansion, Blueprint references; no MCP contract verified. |
Microsoft documents UE 4.27/5.0+ generally; exact 5.8.3 plugin build/test integration UNVERIFIED. Listing now directs installation through VS configuration instead of requiring the old marketplace plugin. | Generated .sln and launch profiles are useful. UnrealSharp-specific debug/refresh automation and managed breakpoint reliability UNVERIFIED. |
Microsoft source, installation, Fab listing |
| UnrealSharp's own editor/IDE tooling | MIT, LICENSE; snapshot the selected pin's license before importing. UE-facing distribution also needs EULA assessment. | Fork allowed for MIT-covered code with notices. Prefer a pinned dependency and a small internal patch set. Reuse its generation/reload pipeline rather than creating a competing binding generator. | Reflected C++ → generated C# bindings; editor callbacks; script watcher; managed solution/launch-profile generation. Exact callable APIs must be inspected at the selected pin. | Upstream advertises UE 5.6–5.8/.NET 10. Task probe says cb8577e3 builds on 5.8. Win64/Mac only. Cooked builds and live hot reload UNVERIFIED. |
Direct native/managed boundary. Source-derived paths and save-triggered reload described in the local reference; outcomes require the checks in section 4. | Repository, project docs, local study |
BpGenerator Ultimate MCP, already unreal-blueprints |
Commercial Fab asset/extension; exact acquired license and SPDX UNVERIFIED. Listing has no readable specific license terms; Fab Standard summary is not proof of this purchase's terms. | Inventory-only; AI study/probing forbidden until human written entitlement. No public fork/redistribution grant verified. Keep provider excised and disable BpGeneratorUltimate in the probe uproject; never vendor its Python bridge or asset source. |
Installed version: stdio FastMCP Python bridge → raw TCP localhost:9877, per local source inspection. Blueprint/asset commands described by historical evidence only; no new bridge start, schema capture or read probe before entitlement. If later permitted, feasibility check precedes generation. | Local reference records installation for 5.5–5.8 and one live read call. Exact installed version, 5.8.3 mutation coverage and current listing/installed-version equivalence UNVERIFIED. | No C# bindings/reload/debugger contract verified. Blueprint interoperability with managed reflected types needs a separate probe. | Vendor listing, now named Ultimate Engine CoPilot, installed bridge study |
| GMCv2 | Commercial stack component; acquired licence/entitlement and redistribution rights UNVERIFIED, no SPDX asserted. | Entitlement-gated overlay only; no fork grant verified, inventory-only until rights permit study/use. | Reflected movement API inventory after clearance; no source import. | Installed version, full source pin if supplied, descriptor hash and UE 5.8.3 build/runtime UNVERIFIED. | Reflected managed calls, ABI and replication interplay UNVERIFIED; Phase 3.1/3.3 checks required. | Acquired package, licence and vendor/source URL must be recorded; not supplied here. |
| GMAS | Commercial-stack entitlement and exact acquired licence UNVERIFIED, no SPDX asserted. | Entitlement-gated overlay; a git location is not a fork grant. No study/fork claim until the selected pin's licence is recorded. | Reflected ability API inventory after clearance. | Full 40-character source SHA + tree hash where available, package/descriptor hashes and UE 5.8.3 behavior UNVERIFIED. | Ability bindings and native/managed authority behavior UNVERIFIED. | Acquired package/source URL and licence receipt required; not supplied here. |
| Narrative Pro | Commercial stack component; acquired licence/entitlement and redistribution rights UNVERIFIED, no SPDX asserted. | Entitlement-gated overlay only; no fork grant verified, inventory-only until rights permit study/use. | Reflected narrative API inventory after clearance; no vendor-code import. | Installed version/pin, descriptor hash and UE 5.8.3 behavior UNVERIFIED. | Reflected calls and persisted Blueprint references UNVERIFIED. | Acquired package, licence and vendor/source URL must be recorded; not supplied here. |
The BpGenerator listing currently also displays “Allows usage with AI: No” alongside MCP-oriented product descriptions. This is a POLICY BLOCK in FLT-351, including local AI probes and schema reads. A human must supply written entitlement covering the acquired version and intended AI use before any such activity. Keep a clean-room boundary: inventory and entitlement records only until clearance, no provider/bridge import or vendor-code reuse. A security waiver cannot override this licence/policy gate.
For Cursor/Antigravity, prefer clangd and a separately verified managed debugger. The Microsoft C/C++ runtime restricts use to listed Microsoft products; the local IDE study also flags C# Dev Kit/vsdbg restrictions. Fork templates use netcoredbg, never vsdbg or C# Dev Kit. Verify netcoredbg version/licence, hosted-CoreCLR attach and breakpoint behavior; none is claimed working here.
3. Pack architecture¶
Ownership and content¶
Forge core owns scheduling, run identity, dependency decisions, authorization, evidence storage, UAT evaluation and review routing. The Game pack registers content and adapters against those contracts. It does not implement parallel copies of core services.
Use three assemblies: Forge.Game.Unreal → Forge.Game.Abstractions → Forge.Core. Core owns MCP transport, canonical tools/list + schema SHA-256 digest, untrusted-output wrapping, quarantine and policy/review routing. Abstractions defines engine/language observations; Unreal implements them without duplicating Core services. The Unreal adapter descriptor is Win64-only. It runs inside the authenticated gaming-PC daemon, reached over mTLS or SSH with run-bound, expiring, non-replayable tokens; no exposed remote editor port.
| CCGS source | Proposed pack use | Import check |
|---|---|---|
.claude/agents/unreal-specialist.md, ue-csharp-specialist.md, ue-blueprint-specialist.md, ue-gmc-specialist.md, ue-replication-specialist.md |
Unreal capability/routing content; translate harness-specific tool declarations. | Every declared operation resolves to an installed provider and an explicit policy capability; absent tools stay unavailable. |
.claude/agents/{qa-lead,qa-tester,security-engineer,release-manager}.md |
Game-specific QA/security/release responsibilities. | Reconcile with core roles; importing content cannot bypass core decisions. |
.claude/skills/{setup-engine,gate-check,smoke-check,test-evidence-review,regression-suite,perf-profile,playtest-report,release-checklist}/SKILL.md |
Versioned pack workflows with executable checks. | Inventory dependencies and translate Bash/Claude runtime behavior into C# host operations. |
.claude/skills/gate-check/references/gate-*.md, .claude/docs/director-gates/ |
Game lifecycle criteria: systems design through release. | Each criterion maps to an observation/evidence requirement; helpers emit observations, never verdicts. |
Root project.yaml; .claude/docs/templates/unreal/ and its vscode/ directory |
Derive versioned Game templates and opt-in client/workspace recipes. | Validate against the actual Forge schema; retain sparse rigor configuration and local overrides. |
Existing project.yaml is the CCGS template source, not evidence that Forge accepts its schema. Do not seed modes.review_mode, modes.workflow, modes.story_granularity, docs.density, qa.level or team.size when deriving a rigor-led template: these explicit settings shadow rigor defaults. No secrets in project YAML. Keep machine paths and opt-in connection settings local. Review pack-content provenance and redistribution rights separately from the surveyed vendor licenses.
Import CCGS as declarative data only: reject executable hooks, build targets and embedded commands; record each source SHA and licence. Translated C# operations require separate review. Pin sources to full 40-character SHAs plus tree hashes, managed packages/generators to exact versions with packages.lock.json and pinned feeds. Record plugin descriptor hashes in the support manifest and dispatch allow-list; mismatched marketplace bytes cannot execute. Select the exact expected .sln path from the pinned configuration, never the first discovered solution. Store videos/archives externally; git carries SHA-256 manifests only.
Adapters inside the pack¶
- UnrealEngineAdapter (C#): resolves an editor-less project target, opens authorized editor sessions and delegates through Core. Build/package jobs use the target without an editor. The daemon enforces workspace ownership.
- EpicMcpProvider (C#): Unreal-specific tool mapping and observations only, using Core's pinned MCP C# SDK integration, transport and digest. Never introduce a second MCP client, schema cache or authorization path.
- UnrealBuildProvider (C#): invokes
dotnet.exewith installedUnrealBuildTool.dll/AutomationTool.dlldirectly; no.batorcmd.exe. Section 4 defines process and path controls. - UnrealSharpAdapter (C#): uses the pinned generation/reload pipeline; reads the single engine-adapter packaged smoke artifact rather than performing another cook. Original C++ wrappers call public APIs only, with Engine-source match rejection and a file-by-file licence receipt.
- Workspace/debug adapters (C#): generate local IDE recipes and record attach capabilities; forks use netcoredbg. BpGenerator has no active registration, imported implementation or bridge until written human entitlement and listener controls both pass. Disabling a Forge provider alone is insufficient: disable the uproject plugin too.
Engine-adapter interface sketch¶
Proposed signatures only; these are not existing Forge APIs. All parameter/result types below are placeholders to bind to WT-3796's actual contracts. An AuthorizedOperation must be issued/validated by core policy; it is never an unchecked caller-supplied approval flag.
public interface IEngineAdapter
{
string EngineId { get; }
Task<ProjectTarget> ResolveTargetAsync(ProjectContext project, CancellationToken ct);
Task<IEditorSession> OpenEditorSessionAsync(
ProjectTarget target, AuthorizedSessionOpen request, CancellationToken ct);
Task<BuildObservation> BuildAsync(
ProjectTarget target, AuthorizedBuild request, CancellationToken ct);
Task<PackagedSmokeObservation> PackageOrAutomateAsync(
ProjectTarget target, AuthorizedAutomation request, CancellationToken ct);
}
public interface IEditorSession : IAsyncDisposable
{
Task<CapabilityCatalog> DiscoverAsync(AuthorizedDiscovery request, CancellationToken ct);
Task<OperationObservation> ExecuteAsync(AuthorizedOperation operation, CancellationToken ct);
Task<SurfaceEvidence> CaptureSurfaceAsync(AuthorizedSurfaceCapture request, CancellationToken ct);
Task<CleanupObservation> CloseAsync(CancellationToken ct);
}
public interface IGameplayLanguageAdapter
{
string LanguageId { get; }
Task<BindingObservation> GenerateBindingsAsync(
ProjectTarget target, AuthorizedBindingRequest request, CancellationToken ct);
Task<ReloadObservation> CheckReloadAsync(
IEditorSession session, AuthorizedReloadProbe request, CancellationToken ct);
Task<RuntimeObservation> InspectPackagedSmokeAsync(
ProjectTarget target, PackagedSmokeObservation smoke, CancellationToken ct);
}
ProjectContext identifies an authorized workspace and target machine. ProjectTarget pins that workspace, project and engine without requiring an editor PID. Bindings/build/package operate on the target; packaged checks require Editor closed. OpenEditorSessionAsync is the only live-session factory; CloseAsync and DisposeAsync share idempotent teardown. The receipt goes to Core even on cancellation/crash, using bounded cleanup independent of the cancelled request. A capability describes provider, input schema, effects and availability. Unsupported capabilities return an explicit unavailable observation. No fabricated success or implicit provider fallback.
Serialize operations through a session queue (a logical target session for editor-less jobs). Total lock order for every path: session queue → workspace lease → heavy-job semaphore; release in reverse order, never acquire backwards. Schema changes invalidate prior capability authorization. Treat tool output as untrusted data, not instructions. A timed-out mutation has an unknown outcome until state is inspected; do not blindly retry. On cancellation, record child-process/editor state and cleanup outcome. Evidence capture must also obey path/data policy.
Identity, authorization and listener lifecycle¶
- Install key = machine GUID + engine build/CL (
5.8.3 / 58210709) + content hash. Session key = install key + project id + random session id + spawned Editor PID + process start time. Reject RogueRoyale: canonical-Projectmust match the disposable probe target and differ from RogueRoyale. - Core's protected execution-authorization digest binds session id,
providerId,toolName,capability,opId,attemptId, SHA-256 of canonicaltools/listand schemas, SHA-256(args) for the exact execution inputs, expiry and a single-use nonce. Validate every binding immediately before dispatch under the current lease; changing provider/tool/capability/op/attempt invalidates approval. Keep the execution digest inside the protected authorization path; evidence stores only allow-list-redacted arguments canonicalized after redaction, with their separate evidence digest. Secret-bearing input changes invalidate approval without persisting raw secrets. Invalidate on identity/schema change. Daemon credentials and listener bearer tokens never enter project YAML or evidence. - Keep an op-id across transport retries. Core appends intent → result → inspection records; never overwrite history. Outcomes are
succeeded,failed,unknown,unavailable. Timeout/cancel after dispatch isunknown, not a fabricated failure/success; single-use approval cannot execute twice. Inspect/reconcile the original op-id before any new authorization, never blindly resubmit. - Before opening Editor, require
BpGeneratorUltimatedisabled in the probe uproject and refuse the session if any listener on :9877 is open. Do not kill an unrelated process. Keep autostart/auto-connect off. Bind MCP to an ephemeral127.0.0.1:<port>with a per-session bearer token, exact Host validation and an explicit Origin allow-list (reject unapproved browser origins). Never use default :8000 as identity. - Enumerate AF_INET and AF_INET6 with
GetExtendedTcpTableorGet-NetTCPConnection. ALL LISTEN entries on the chosen port must belong to spawnedEditorPid, with recorded start time and exact probe-Project; eachLocalAddressmust be exactly127.0.0.1or::1. Reject wildcard0.0.0.0/[::]and every other address or owner, even alongside a valid entry. Probe chosen port, :8000 and :9877 before Editor start and after start, before handshake and calls; unexpected listeners or spoofed/reused PID/port fail closed. If installed Epic 5.8.3 cannot enforce bearer + Host/Origin, HTTP does not start. A stdio/local-proxy fallback requires verified enforcement and an authenticated/private editor-side channel; a proxy in front of an unauthenticated TCP listener is insufficient. CloseAsync/disposal stops the actual editor-side server, closes transport and reaps owned processes. Teardown receipt lists PID/start-time, port, stop result and observed absence of owned listeners/processes. Failure quarantines the target; provider unregister alone never counts as cleanup. No port forwarding or firewall exception substitutes for auth.
Workspace fencing and bounded input¶
Core grants a workspace reader/writer lease with attempt fencing: holder heartbeats every 5 seconds; 30 seconds without a valid heartbeat, measured by the executor's monotonic clock, expires the lease. Reads share only a stable revision; build, cook, editor mutation, binding generation and reload require exclusive access plus the executor's heavy-job semaphore, always in the total lock order above. Quiesce UnrealSharp's watcher during exclusive jobs; auto-reload requires the same lease and explicit authorization. Per-session serialization alone is insufficient.
Timeout/cancellation, lease expiry or holder/executor crash sets durable NeedsReconciliation before releasing/regranting control; recovery treats any orphaned in-flight intent as fenced. Revoke the old attempt; stop owned children where possible and record uncertain editor actions. While fenced, block readers, ordinary dispatch and publication, including builds/reloads. Only Core's reconciliation coordinator, under a fresh attempt and exclusive lease in the same lock order, may run explicitly authorized inspection/teardown and clear the fence after proving stable editor/process/workspace state, completing cleanup and closing the prior opId with append-only inspection evidence. A client timeout does not stop a game-thread action. Stale holders cannot publish or clear the fence. Any subsequent execution requires a new authorization digest binding current providerId, toolName, capability, opId and attemptId.
Initial local ceilings: 1 MiB per discovery response, 4 MiB total expanded schemas, JSON depth 32, 256 tools, 128 parameters per tool, 1,024 visited expansion nodes and 10 seconds discovery time. MCP tools/call responses have a 4 MiB aggregate decoded-byte cap across all content (including streamed/decompressed data), JSON depth 32 and 30-second wall-clock deadline from dispatch to complete response; enforce while receiving, before unbounded buffering/parsing. Core may tighten these. Use TypeNameHandling.None where Newtonsoft.Json is used; no polymorphic type materialization. Allow-list meta-tool expansion with a visited set; discovery caps/cycles yield incomplete, never a complete catalogue, and block dispatch until required schemas are complete. A capped call never yields success or publishable partial evidence; a dispatched mutation becomes unknown and fenced for reconciliation. Redact by allow-list before canonicalizing/storing args/log excerpts in evidence; raw-log digests reference a separate access-controlled store, never inline raw logs or secrets in evidence.
Future validator tests cover lease races, watcher/build conflicts, stale discovery/attempts, spoofed ports, duplicate op-id submission, Job Object cleanup and cancel-never-succeeds. Parsing tests include cyclic/oversized/fuzzed input and a secret-shaped negative case proving no secret in canonical evidence. These are planned checks, not fixtures or payloads written in this survey.
Shared-core contract use¶
The mappings are proposed obligations, not claims about field names or already shipped APIs.
| Shared contract | Game pack use | Executable acceptance check / done-state |
|---|---|---|
| FLT-347 run record | Associate discovery, approval, editor calls, builds, cook/runtime and UAT evidence with one core run. Include project/source identity, engine/plugin pins, gaming-PC identity, command/tool inputs, UTC timing, exits/errors, raw-output references and artifact hashes through supported fields/extensions. | Validate a complete probe run with the producer's validator. Reject missing/stale/mismatched evidence; pin a verbatim producer payload and assert the obsolete/wrong shape is absent. Done: a reviewer can trace an outcome to its actual producer. |
| FLT-351 dependency gate | Check engine build, .NET SDK, toolchain, unreal-plugin identity/integrity, entitlements and receipt dependencies before scheduling work. A .NET10 installation alone does not prove an acceptable patch. |
After producer delivery, test positive and negative cases: wrong plugin stem/module sub-row/version/registry/hash/engine CL, wrong or dual integrity forms, missing cook/reload evidence and Fab AI-use denial, including a zero-module plugin. Done: mismatches fail closed; “Allows usage with AI: No” returns POLICY BLOCK before dispatch. |
| FLT-350 security packs | Declare capabilities, not per-action security tiers; each activates required controls below. Transport discovery is not authorization; BpGenerator has an independent licence/policy gate. | After producer delivery, deny unapproved tools, changed schemas, workspace escape and unauthenticated/exposed listeners. Done: denials and cleanup enter Core's run record; no rejected action reaches the provider. |
| FLT-354 UAT | Unreal surface = single packaged smoke archive hash + declared canonical file-set digest + frame-time budget + leak check, bound to commit SHA through FLT-347. Gate pre-launch on archive/file-set verification per section 4; staged DLL bytes are observations, not a reproducibility key. Keep editor/PIE observations separate. Core evaluates results. | Run positive and deliberately failing fixed scenarios headless/offscreen on an idle PC. Never run on gaming PC while Andrew plays. Done: stale/wrong-commit evidence and failures are rejected; editor/PIE or compile-only evidence cannot satisfy the cooked surface. |
Provisional contract fields. The Forge lane (WT-3796) sent these on 2026-10-30. All four tickets were filed that day and are unbuilt, so no producer payload exists yet. The fields below come from the ticket text. Every mapping in the table above is PROVISIONAL-UNTIL-
| Contract | Provisional fields (ticket text) | Game pack mapping | Status |
|---|---|---|---|
| FLT-347 run record | commitSha, planHash, policyVersion, toolchain, artifactDigest, attemptId (fencing), leaseHeartbeat |
Bind the sealed Phase-0 key, install/session/auth identities, op-id append-only observations and actual commit SHA through producer-supported fields/extensions. toolchain carries engine, full plugin SHAs and SDK; artifactDigest binds archive bytes. attemptId fences workspace jobs and sessions; stale attempts never write. leaseHeartbeat follows long cook/UAT jobs. No new field names/payloads asserted. |
PROVISIONAL-UNTIL-FLT-347 |
| FLT-351 dependency identity | (ecosystem, normalizedName, version, sourceRegistry), plus integrity/sourceUrl on the resolved lockfile |
Add ecosystem=unreal-plugin; normalizedName = case-insensitive .uplugin FILE STEM (plugin name), never module Name; version = VersionName + integer Version; sourceRegistry ∈ {fab, github:<owner/repo>, epic-engine, local}. Each row has exactly ONE integrity form: archive SHA-256 for fab / github:, deterministic directory-manifest digest only for local / epic-engine; reject missing, wrong or dual forms. Git full SHA + tree hash are additional provenance, not a second integrity form; pin/hash the actual resolved GitHub archive. Modules (0..n) are sub-rows; content-only, Blueprint-only and Python-only plugins with zero modules still have a plugin row and the Fab AI-use POLICY BLOCK. ModelContextProtocol and MCPClientToolset use engine identity 5.8.3 / CL 58210709, not a registry release. NuGet keeps its own ecosystem. |
PROVISIONAL-UNTIL-FLT-351 |
| FLT-350 security packs | Hashed required-control set per SecTier1/2/3, plus waiver{approver, reason, scope, expiresUtc ≤ 24h} |
SecTier1/2/3 are project packs, never action modes. Game declares {mcp-readonly, editor-mutation, build-exec, network-listener, licence-restricted-plugin}; controls compose by capability. Unauthenticated listener is FORBIDDEN. BpGenerator entitlement is a licence/policy gate, never a tier; waiver cannot bypass it. |
PROVISIONAL-UNTIL-FLT-350 |
| FLT-354 UAT row | {milestone, checklistHash, sha, signer, perItemResult, screenshotHash}; Unreal surface = packaged smoke artifact plus frame-time and leak checks |
Section 4 cooked row supplies archive hash, runtime log, frame-time budget and leak result; FLT-347 binds actual commit SHA. screenshotHash covers retained image. Run headless/offscreen on an idle PC, never gaming PC during Andrew's play. Editor/PIE evidence cannot satisfy packaged surface. |
PROVISIONAL-UNTIL-FLT-354 |
Do not create permanent pack-owned versions of these schemas while their producer contracts are unavailable. No consumer fixtures or invented payloads now. WT-3796 must pin the four producer schema revisions and supply verbatim producer payloads/validators before build tickets open. Phase 1 acceptance then proves real types, wrong-shape negatives and the FLT-351 negative cases above.
| Game capability | Required controls activated |
|---|---|
mcp-readonly |
Session/auth identity, complete bounded discovery, read allow-list, untrusted-output wrapping, read lease and redaction. |
editor-mutation |
Single-use approval/op-id, exclusive lease, reconciliation fence, serialized editor calls and inspection after ambiguous outcome. |
build-exec |
Trusted executable build inputs, argument/path allow-list, session queue → exclusive workspace lease → heavy-job semaphore, reconciliation fence blocking readers/dispatch/publication, Job Object, bounded async logs and exit/timeout receipts. |
network-listener |
Ephemeral loopback, per-session bearer, Host/Origin checks, PID/start-time/project ownership and teardown receipt; otherwise do not start. |
licence-restricted-plugin |
Human entitlement for exact bytes and intended AI use before access; POLICY BLOCK on prohibited/unresolved AI use, isolated commercial overlay and provenance receipt. |
4. UnrealSharp native support plan¶
Reproducible probe environment¶
UE/game checks target the gaming PC only when idle, against a disposable C++ probe project in an authorized worktree. Headless/offscreen smoke may use another authorized idle PC with the exact supported pin; never run on the gaming PC while Andrew plays. Pin UE 5.8.3, UnrealSharp cb8577e3 resolved to full 40-character SHA + tree hash, and .NET 10 SDK patch. Phase 0 proves only the minimal reflected-actor fixture; the entitlement-gated GMCv2/GMAS/Narrative Pro overlay waits for Phase 3.1–3.2.
Every receipt contains machine identity, UTC, source tree, exact command or interaction sequence, engine Build.version, plugin descriptors/full SHAs, SDK/tool versions, exit codes, redacted log excerpt + digest of the raw log, which is kept in an access-controlled store, and artifact hashes. Raw logs are never required inline or in a publicly shared receipt. Record failure as failure. Future implementation must launch builds/tests detached and hidden, with node reuse disabled and the standing .NET headless environment intact. An editor or game GUI appears only during an active usage pass.
The following are command payloads for that hidden executor, not commands run for this draft. Resolve and validate variables from the gaming-PC installation; GamePackProbe is a proposed fixture name. Treat missing entry points/options as probe failures requiring installed CLI help/black-box inspection, not as permission to guess or study UBT/UAT source.
# Read-only identity preflight; run on gaming PC.
Get-Content "$EngineRoot/Engine/Build/Build.version"
dotnet --list-sdks
git -C "$ProbeRoot/Plugins/UnrealSharp" rev-parse HEAD
Hidden-executor launch specifications (argv elements stay separate; not shell strings):
| Step | Executable / arguments to validate against installed CLI |
|---|---|
| Native/editor build | dotnet.exe, <EngineRoot>/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll, GamePackProbeEditor, Win64, Development, -Project=<ProjectFile> plus supported unattended flags below. No -WaitMutex. |
| Managed restore/build | First dotnet.exe, restore, exact pinned <ManagedSolution>, --configfile, <ApprovedNuGetConfig>, --locked-mode; then dotnet.exe, build, same solution, -c, Debug, --no-restore, -nr:false. Missing expected solution is a failure. |
| Cook/package | dotnet.exe, <EngineRoot>/Engine/Binaries/DotNET/AutomationTool/AutomationTool.dll, BuildCookRun, -project=<ProjectFile>, -nop4, -platform=Win64, -clientconfig=Development, -build, -cook, -stage, -pak, -archive, -archivedirectory=<ArchiveRoot>, -utf8output plus supported unattended flags. |
The executor enforces an argument/flag allow-list, rejects @response arguments and shell invocation, and canonicalizes project/output/archive paths inside its authorized workspace/staging roots before creation, checking reparse-point escapes. ArchiveRoot must be a child of the designated staging root. Builds execute project/plugin PreBuildSteps, PostBuildSteps and *.Build.cs: they are code execution, not safe metadata. Require approved exact input hashes/provenance; reject unapproved steps/targets and changed inputs before launch.
NuGet isolation also covers managed builds/restores spawned inside UBT/UAT: pin <ApprovedNuGetConfig> with <packageSources><clear/> followed only by approved pinned feeds; explicit restores use --configfile as above. Set inherited MSBuild environment properties RestoreConfigFile=<ApprovedNuGetConfig> and RestoreLockedMode=true (or equivalent approved props) for all UBT/UAT descendants; require committed packages.lock.json. Verify effective config, feeds and locked mode in nested restore receipts; missing propagation, feed fallback or lock changes block the build, rather than trusting the outer command alone.
Use -unattended -nop4 -nosplash -NoCrashDialog on applicable UE processes, verified at the installed pin; unsupported required noninteractive behavior blocks the step. Set MSBUILDDISABLENODEREUSE=1 and preserve the standing headless environment; use -nr:false for MSBuild. Launch detached/hidden in a Windows Job Object with kill-on-close, drain stdout/stderr asynchronously, cap logs, and record each step's exit code and deadline separately, never only $LASTEXITCODE after a sequence. Timeout kills owned descendants and records cleanup; never include/kill shared ZenServer. No modal prompts or indefinite mutex waits.
Seal the Phase-0 composite key in 0.1: Build.version bytes/hash, full UnrealSharp SHA + tree hash, selected cooked archive SHA-256 and a declared canonical file set. Its manifest fixes workspace-relative normalized paths, ordinal ordering, byte classes and SHA-256 per file; reject missing/extra canonical files. Reproducible byte classes are pinned source, lockfiles, plugin descriptors, uproject/config, fixture source and declared deterministic generated glue; repeat generation must reproduce their exact bytes. Staged DLL/PDB bytes, PE timestamps/signatures and archive-container metadata are not assumed reproducible across builds and are not independent reproducibility-key fields; record actual output hashes as observations. The archive hash identifies the selected produced artifact, not a claim that rebuilding reproduces it. Record absent outputs as absent; never fabricate hashes or seal an incomplete key. Gated 0.1b prepares that baseline archive without runtime smoke; seal its real hash/file set before 0.2–0.4. Before runtime verify the selected archive hash and canonical file set, and extracted-file integrity against that archive; mismatch blocks launch. A rebuild produces a newly reviewed sealed artifact revision, never a requirement to match prior nondeterministic DLL bytes or reuse old evidence. Reload A/B variants are predeclared child keys. Hash the canonical key manifest; FLT-347 later binds it to actual commit SHA. No producer-schema fixture is created here.
| Work item | Executable check on gaming PC | Done-state |
|---|---|---|
| Native → managed glue generation (Phase 3.1) | Add a fixture C++ reflected class/property/function and run the native/editor build through the pin's documented generation path. Check generated files at pinned expected paths, then build C# that calls the fixture. Repeat using one reflected API from each entitled GMCv2, GMAS and Narrative Pro plugin. If unreflected, demonstrate an original public-API C++ wrapper first; reject Engine-source matches. | Generated output and generator identity captured; managed build exits 0; PIE executes the calls and verifies return values. Repeat after a native signature change to prove glue is refreshed. No hand-edited generated files. Licence receipt lists every wrapper file. |
| Managed → Blueprint integration | Create a fixture C# reflected actor using attributes copied from the installed pin; build it, make a Blueprint subclass and invoke/read its exposed member in PIE. Reopen the editor and repeat. | Real editor/PIE evidence proves reflection and persisted Blueprint references. Any unexposed plugin APIs are listed explicitly with a wrapper decision. |
| Hot reload: behavior | With the watcher lease-gated, keep the minimal actor and Blueprint-held reference in a persistent level. Exercise A→B→A without restarting Editor, including a PIE cycle, re-instancing and CollectGarbage. Record behavior, unchanged PID/start-time, watcher/compiler logs and old AssemblyLoadContext WeakReference after releasing strong references. Save/reopen the level and verify persisted Blueprint links. |
Observed behavior changes each time in the same editor process; old ALC WeakReference must be dead after bounded GC/unload checks. PIE stop/start alone does not prove reload/unload. A successful standalone dotnet build cannot substitute for this receipt. Baseline stays UNVERIFIED until captured. |
| Hot reload: failure/recovery and state | Introduce a compile error, save, observe diagnostics, correct it, save and rerun PIE. Exercise a Blueprint-held C# object reference and UObject-owned state across the supported reload sequence, then save/reopen. Treat live-PIE and reflected-layout changes as separate probes if support is claimed. | Error cannot be recorded as successful reload; corrected code executes without editor restart. ReloadObservation includes old-ALC death, PIE cycle and GC observation. Record state/reference behavior and unsupported cases; no static-state or live-PIE/layout preservation claim without evidence. |
| Cooked/packaged build and runtime (0.3 minimal; 3.2 full stack) | Close Editor; clean stale Binaries/Managed before baseline build/stage in 0.1b (or a new sealed full-stack revision in 3.2). Cook only the declared map; 0.3 uses the selected sealed archive. Verify archive hash + canonical file set before launch, extract to a fresh directory outside project/generated-output search paths and verify extracted integrity. Pin DOTNET_ROOT and applicable architecture-specific root variables to the archive's runtime root; scrub global SDK/runtime/source search paths. DOTNET_MULTILEVEL_LOOKUP is ignored on .NET 7+ and provides no isolation. Launch headless/offscreen with -NullRHI -Unattended; verify loaded coreclr.dll and every file-backed managed assembly across all AssemblyLoadContexts resolve inside the archive with declared hashes, rejecting unexpected dynamic/in-memory loads. Execute C# actor/Blueprint assertions with a per-run nonce and deterministic exit/deadline. Phase 0 excludes full-stack calls; add those in 3.2. Shipping repeats separately. |
UAT exits 0; archive contains required managed/runtime artifacts; gameplay assertions execute without Editor/source-tree/global runtime fallback. Receipt includes nonce, native runtime and managed assembly load paths/hashes, per-step exits, frame-time and UObject/heap deltas, archive hash, canonical/dependency manifests and runtime evidence. Baseline stays NO EVIDENCE until captured. |
For 0.3, 2.3 and 3.2, freeze warm-up/sample counts, frame-time statistic and budget, UObject/heap baselines, repeated-cycle leak limits and exit expectations in the scenario manifest before running. Include measured deltas and pass/fail against those thresholds, not invented measurements. Keep NullRHI timing labelled as headless timing; it proves no rendered-GPU budget. Any claimed rendering budget needs a separate offscreen rendered run on an idle PC. Language adapter reads this single hashed engine smoke result; it never cooks again.
Each UI scenario has a fixed interaction script: target/session/revision identity, exact inputs, per-step expectations including loading/error/empty states and capture points. Planned tests “2.3 replay race: a stale result must not overwrite a fresh revision” and “2.3 replay cancel publishes nothing” deliberately complete an older replay last and cancel an in-flight replay; assert the fresh revision stays unchanged and the cancelled replay publishes 0 artifacts/state updates. Check revision/attempt/cancellation atomically at publication.
Preview limits: image ≤10,485,760 bytes (10 MiB), video ≤104,857,600 bytes (100 MiB); decoded width/height each 1..4096 and pixel count ≤16,777,216 for images/video frames. Assert acceptance at limits and rejection at +1 byte, zero/+1 dimension or excess pixels before allocating a preview. Larger raw material stays in access-controlled external storage behind hash manifests. Revoke every superseded object URL before replacement publication; disposal/cancellation must leave 0 live owned URLs within 100 ms, checked with an instrumented URL registry. Under initial or changed reduced-motion preference, within 100 ms assert 0 nonessential animations/transitions (0 ms duration) and 0 autoplay videos. These are future acceptance criteria, not tests/fixtures written or a UI built/used in this drafting task.
A failed hot-reload probe limits that capability to rebuild/restart and blocks a hot-reload support claim. A failed cook/runtime probe blocks the UnrealSharp delivery profile; it does not erase the successful editor-build observation. Diagnose and rerun locally; any implementation-mode change requires an explicit reviewed decision. Mac support remains upstream/task context only, with no Mac execution in this ticket.
5. Risks and open questions¶
Severity reflects impact on this pack's proposed support claims. Engine/runtime/security integration receipts below target the idle gaming PC, or another authorized idle PC with the sealed supported pin; reviewers may inspect their artifacts elsewhere. Never schedule smoke on the gaming PC while Andrew plays.
| Risk / question | Severity | Receipt needed to close or bound it | Where |
|---|---|---|---|
| Epic Experimental API drift, unavailable toolsets or failed handshake | High | Exact 5.8.3 plugin descriptor/build; raw initialize/discovery responses, schemas and a successful read tool. If discovery returns meta-tools, expand those schemas rather than assuming a flat tool list. Persist missing capability evidence. | Gaming PC |
| UnrealSharp cooked deployment has NO EVIDENCE | High / delivery blocker | Successful UAT cook/package plus independent archive launch executing minimal C# assertions in 0.3; entitled full-stack assertions in 3.2; Shipping separately. Require sealed key, archive-local CoreCLR, nonce, frame-time/leak results and deterministic exit. Editor build is insufficient. | Idle supported PC |
| UnrealSharp hot reload UNVERIFIED | High for reload support | Same-PID A→B→A behavior and compiler-error recovery logs; persistent-level re-instancing, old-ALC death, GC/PIE and save/reopen state/reference results; exact unsupported cases. | Gaming PC |
| Glue generation misses plugin APIs or ABI/reflection changes | High | Generated-file provenance, managed compilation and runtime assertions against GMCv2 + GMAS + Narrative Pro, including regeneration after a native change. | Gaming PC |
| No-auth MCP/TCP services allow unintended local control | Critical / start blocker | Section 3 ephemeral loopback + bearer + Host/Origin + PID/start-time/project checks, :9877 refusal and teardown receipt. Wildcard/remote or unauthenticated bind prevents start. Verify installed behavior; only verified stdio/private fallback may replace HTTP. Active adversarial testing requires separately approved named isolated scope/time window; this draft authorizes none. | Gaming PC, isolated probe |
| BpGenerator AI-use prohibition and unclear acquired entitlement | Critical / access blocker | Inventory-only evidence until human written entitlement for acquired version/intended AI use. No bridge start, schema capture or read probe before it; provider excised, plugin disabled in probe uproject. AI-use denial remains POLICY BLOCK, independent of security tier. | Inventory; human entitlement review |
| UE-derived tools / non-C++ integration distribution obligations | High / Phase-1 gate before 3.1 | Map intended artifacts to UE EULA §§5(c), 6(d), installed notices and dependency licenses. Record review of language-integration source/free-distribution obligations, Engine Tools channel restrictions and NOTICE before 3.1, not only release. UBT/UAT black-box CLI only; original public-API wrappers pass Engine-match import check with file-level licence receipt. |
Gaming PC artifact inventory; Forge review |
| Engine pin may differ from installed hotfix; short UnrealSharp pin incomplete | High | Build.version, full SHA, descriptors and captured command output. Repeat receipts after relevant pin changes. |
Gaming PC |
| Managed debugger inside hosted CoreCLR, fork launch schema and Windows PDB support | Medium | Exact netcoredbg/extension identity, licence and pin for forks; no vsdbg/C# Dev Kit. Actual breakpoint hit in C# BeginPlay and native code; source navigation is insufficient. Mark unsupported IDE combinations explicitly. |
Gaming PC |
| Shared-core schemas/extension APIs unavailable to this draft | High / implementation dependency | Producer schemas and verbatim run/gate/UAT payloads from WT-3796, compatibility validators and negative cases. Do not close with consumer-invented JSON. | Gaming PC integration run; WT-3796 supplies contracts |
| Pack import retains Claude-only hooks, permissive tool wildcards or rigor overrides | High | Content/runtime inventory, schema validation and deny tests; compare generated routing/config against CCGS behavior. Confirm provenance before distribution. | Gaming PC end-to-end pack fixture |
| Stale receipts, editor crash, ambiguous mutation timeout or failed cleanup | High | Core-record validation rejects different tree/pins; crash/timeout scenarios preserve unknown outcome and require inspection; cleanup logs show remaining processes/listeners. | Gaming PC |
| Game networking behavior differs after crossing the C#/C++ boundary | High for each multiplayer profile | Separate multiplayer-pie and multiplayer-packaged two-client Listen Server scenarios exercising movement, GMAS ability and Narrative interaction; include client-write-rejected assertions and logs/UAT evidence. No dedicated -server claim on Launcher-binary 5.8.3; that needs separately scoped source-built Engine. |
Idle gaming PC, isolated local instances |
| Win64 evidence overgeneralized to Mac/Linux/mobile/console | Medium | Win64-only support declaration in the pack manifest. Mac requires a future separately scoped receipt; Linux/mobile/consoles unavailable in this UnrealSharp profile. | Gaming PC verifies manifest and dispatch refusal |
Retain opt-in behavior: no committed auto-connect configuration or port forwarding. Before and after Editor start, inventory AF_INET/AF_INET6 :8000, :9877 and the selected ephemeral port with Get-NetTCPConnection; :8000 is diagnostic history, not the endpoint. Refuse any open :9877 or unexpected listener; all chosen-port LISTEN entries must meet section 3's exact loopback/EditorPid checks. Record teardown. An inbound firewall rule does not authorize or isolate local callers. Verify current source behavior rather than treating localhost as authentication. No new BpGenerator inspection beyond inventory/entitlement before written clearance.
6. Phased plan¶
These are proposed tasks. Read-only Phase-0 inventory/contract research may start now. This survey authorizes no engine execution, installation change or test-file creation. Fixture creation, builds, bridge starts and mutable probes are not read-only: their execution/build tickets wait for WT-3796's pinned FLT-347/351/350/354 schemas and focused cross-family re-review. No producer payloads/fixtures are invented while those contracts are unbuilt. Every row has a check and a terminating condition. Commands for not-yet-built checks describe required future entry points, not existing executables; publish actual invocations with receipts. Run engine work on an idle supported PC, never gaming PC while Andrew plays.
Phase 0 — receipts before implementation commitments¶
| Step | Owner | Executable check | Done-state |
|---|---|---|---|
| 0.1 Establish and seal composite identity | Cedric; Clahadore coordinates access | Read-only now: preflight identity/pins and record missing hashes as missing. After schema/re-review gate and 0.1b builds, finalize section 4 key: Build.version, full UnrealSharp SHA/tree, selected cooked archive hash and declared canonical file set (descriptors/config/locks/source/deterministic glue); no independent staged DLL reproducibility pin. | Complete sealed key frozen before 0.2–0.4; receipt resolves cb8577e3 to full SHA, confirms exact 5.8.3/CL, records SDK and each build exit. Changed canonical bytes or selected archive require a new sealed revision. |
| 0.1b Minimal reflected fixture (gated) | Cedric | After contract/re-review gate, create only a minimal reflected C# actor + Blueprint subclass in an explicit cook map; generate/build and prepare baseline cooked archive through pinned tools, without runtime smoke. Return actual archive hash and canonical file-set manifest to 0.1 for the complete seal; record DLL hashes as output observations only. | Fixture has deterministic assertions/nonce/exit and real baseline archive bytes; declared canonical byte classes reproduce. No GMCv2/GMAS/Narrative dependency; no Forge contract fixture or invented producer payload. |
| 0.2 Smoke Epic MCP first (gated) | Cedric | Prove programmatic hidden bootstrap with exact probe -Project, required toolsets, BpGenerator disabled and no :9877 listener. Verify installed auth support before server start; ephemeral loopback bearer + Host/Origin + owner PID/start-time checks or verified private stdio fallback. Through Core capture initialize/initialized, bounded paginated tools/list/meta-schemas, then one authorized read and close/dispose. |
Live 5.8.3 handshake + useful read result + cleanup receipt, with exact tool/schema/version and hidden-bootstrap evidence. Missing auth/headless control blocks start; schema caps mean incomplete. Failure is documented before fallback; BpGenerator cannot satisfy this check. |
| 0.3 Prove cooked runtime only (gated) | Cedric; Jenny independently checks receipt | Execute only section 4 cooked row using 0.1b's selected archive, freshly extracted with Editor closed. Gate pre-launch on sealed cooked archive hash + declared canonical file set and extracted integrity; pin DOTNET_ROOT, scrub environment and prove archive-local CoreCLR and managed assembly load paths, nonce and deterministic exit under NullRHI/Unattended. | UAT + runtime receipt includes redacted log excerpt + digest of the raw log, which is kept in an access-controlled store; binds sealed key/archive, frame-time budget and UObject/heap leak deltas. Hash mismatch blocks launch; no cross-build nondeterministic DLL equality gate. Editor/PIE/full-stack evidence cannot substitute; failure leaves delivery blocked. |
| 0.4 Prove hot reload and ALC unload (gated) | Cedric; Susie Franny checks sequence | Execute section 4 persistent-level A→B→A, error/recovery, re-instancing, old-ALC WeakReference death, CollectGarbage, PIE cycle and save/reopen with predeclared child keys. | Same-editor behavior and old-ALC unload observed, with bounded state/reference claims; otherwise restrict profile to rebuild/restart. PIE restart alone never passes. |
Phase 0 exit: each required probe has an auditable result bound to its sealed bytes. A negative result can justify a restricted editor-only or no-reload profile, but cannot pass the failed delivery/reload capability. Clahadore and the WT-3796 council review any resulting scope decision before implementation proceeds. Phase 1.2's producer-contract prerequisite is checked before gated Phase-0 execution, then verified against real observations afterward; numbering is not permission to build early.
Phase 1 — bind pack content to shared-core contracts¶
| Step | Owner | Executable check | Done-state |
|---|---|---|---|
| 1.1 Focused re-review, then review Phase-0 results | Clahadore submits; WT-3796 chairs cross-family review | First attack this revised plan/contract mapping before workers start; later review actual probe scope/results. Artifacts identify exact document revision/hash. | External-family disposition recorded; blockers resolved or explicit unsupported capabilities retained. This revision/disposition list is not approval. |
| 1.2 Pin producer contracts and adapter boundary | Clahadore + Forge lane; Cedric maps | Before opening build tickets, WT-3796 supplies pinned schemas/validators for all four tickets. Once producers exist, pin verbatim payloads, assert wrong shape absent, compile sketches against real types and run section 3 checks including FLT-351 negatives. | Real types replace placeholders; three-assembly ownership and Win64 descriptor verified; no duplicate schemas/MCP/digests/routing. No invented payload closes the gate. |
| 1.3 Inventory and import CCGS pack content | Cedric | C# validator treats content as declarative data: reject hooks/targets/executable imports, verify SHA/licence, sparse rigor config, role/tool mapping, support descriptor hashes and dispatch allow-list. Check full SHAs/tree hashes, packages.lock.json, pinned feeds/generators and exact solution path. | Versioned common-loader content resolves only approved operations. Non-UE CI runs SAST and Stryker on validators with a failing mutation threshold; engine receipts remain separate idle gaming-PC jobs. External artifacts have SHA manifests only. |
| 1.4 Licence and NOTICE gate | Clahadore; human entitlement evidence supplied separately | Inventory intended files, UE EULA §§5(c)/6(d), selected licences, notices and commercial overlay rights. UBT/UAT black-box boundary and original-wrapper import checks documented. | NOTICE and file-level licence receipt reviewed before 3.1; unresolved stack rights block that overlay, not silently become permission. BpGenerator retains its separate written-entitlement block. |
Phase 2 — one bounded end-to-end Unreal slice¶
| Step | Owner | Executable check | Done-state |
|---|---|---|---|
| 2.1 Implement Core-backed MCP/session/build integration | Cedric | Replay verbatim permitted Phase-0 traffic; verify editor-less builds, authed hidden session, async process pipes/Job Object cleanup, lease/watcher races, stale discovery/attempt, double-submit, timeout/cancel-never-succeeds and reconciliation. | One Core run binds discovery/auth/op-id and artifacts; unknown stays unknown until inspection. No surviving owned listener/child, stale writer or duplicate execution; no second transport/digest implementation. |
| 2.2 Enforce FLT-350 capabilities and bounded parsing | Cedric; Jenny and Gronktayvius review | After producer delivery, deny unapproved tools, changed schemas, workspace escape, remote/no-auth/spoofed listeners, unapproved build inputs/args and licence blocks. Fuzz bounded schema expansion/cycles; secret-shaped negative proves redaction. | Capabilities activate composed controls, never per-action SecTier mapping. Denials never dispatch; cleanup recorded. Required security reviews resolve findings; active pentest still needs named isolated human-approved scope/time. |
| 2.3 Use cooked Unreal surface through FLT-354 | Cedric; Susie Franny independently replays | Run fixed packaged script with identity/inputs/step expectations, loading/error/empty coverage and capture points; include failing expectation, 2.3 replay race: a stale result must not overwrite a fresh revision, and 2.3 replay cancel publishes nothing. Apply section 4 numeric preview/URL/reduced-motion asserts. Headless/offscreen on idle PC; record archive hash, canonical file-set digest, frame-time budget and UObject/heap leak deltas. | FLT-347 binds commit SHA; Core UAT rejects failures/stale evidence; fresh revision survives stale completion, cancel publishes 0 artifacts/state updates. Byte/pixel boundary rejection, 0 live owned URLs after cleanup ≤100 ms and reduced-motion assertions pass; editor/PIE cannot replace cooked proof. |
Phase 3 — UnrealSharp and the gameplay stack¶
| Step | Owner | Executable check | Done-state |
|---|---|---|---|
| 3.1 Integrate binding generation and original native wrappers | Cedric | Require 1.4 licence/NOTICE gate; execute section 4 glue/Blueprint checks from clean outputs using pinned entitled full stack. Original C++ calls public APIs, fails Engine-source match checks and lists files in licence receipt. | Reflected calls and regeneration work; wrappers cover measured gaps only; generated files disposable. Phase 0 has no dependency on this step. |
| 3.2 Integrate supported reload and packaged profiles | Cedric; Jenny verifies | Rerun minimal baseline plus entitled full-stack cooked assertions through real Core validators; one engine smoke artifact only. Capture ALC unload, failure/cleanup, archive hash, frame-time budget and UObject/heap deltas headless/offscreen on idle PC. | Run records bind sealed bytes and commit SHA; unsupported modes refused. No second language-adapter cook or editor substitute for packaged proof. |
| 3.3 Validate separate multiplayer profiles | Cedric; Gronktayvius examines authority | Run multiplayer-pie and multiplayer-packaged separately with local Listen Server + two clients exercising GMC movement, GMAS ability and Narrative interaction. Include client-write-rejected authority assertions. |
Each profile needs its own real-instance logs/UAT receipt. No dedicated -server claim on Launcher engine; source-built dedicated support separately scoped. |
Phase 4 — IDE recipes and pack release readiness¶
| Step | Owner | Executable check | Done-state |
|---|---|---|---|
| 4.1 Verify workspace and debugger recipes | Cedric | Invoke installed UBT dll through dotnet, black-box only, with verified -vscode / -mode=GenerateClangDatabase arguments. Open exact workspace, resolve plugin symbol and hit native/C# breakpoints; forks use netcoredbg, never vsdbg/C# Dev Kit. |
Explicit IDE/version/licence/attach receipts, regeneration works and config has no secrets/committed machine paths. Unsupported combinations remain labelled. |
| 4.2 Reconsider excised BpGenerator only after entitlement | Clahadore; human supplies written entitlement | First use permitted Epic evidence to establish a gap. Until human written entitlement for exact version/intended AI use exists: inventory-only, no bridge/schema/read/AI probe. Then separately prove authenticated/private listener controls before any permitted probe or feasibility-before-generation sequence. | No gap/no entitlement/no auth means provider remains excised and uproject plugin disabled. :9877 open refuses session; no silent fallback or copied vendor bridge. Licence gate cannot be waived as a security tier. |
| 4.3 Validate common-core coexistence and evidence bundle | Cedric; Jenny and Susie Franny independently check | Load Game plus existing packs through the same host; run core regression checks and the Win64 game scenario; validate artifact hashes, provenance, manifest support declarations and closed listeners. | No separate Forge fork; evidence supports only tested capabilities; all release-blocking risks resolved for the declared profile. |
| 4.4 Final review and handoff | Clahadore reviews; WT-3796 chairs council | Run the actual agreed gate/review commands against the exact candidate tree and inspect redacted results with raw-log digests/access-controlled references, including required security seats. | Review disposition and reproducible gaming-PC receipts handed to the Forge lane. No commit, push or upstream action is part of this survey task. |
7. Out of scope¶
- Unity implementation, Unity packages or Unity-specific test infrastructure. Preserve the engine seam only.
- Forking Forge into a game-specific harness, duplicating FLT-347/351/350/354, or building a new IDE.
- Upstream vendor issues, pull requests or other contributions. Keep any needed patch and diagnosis internal.
- New broad Blueprint generation/runtime frameworks where Epic or the pinned dependency already supplies the capability.
- Linux, mobile, console or Mac validation in this ticket; generic .NET support does not establish UnrealSharp platform support.
- Deployment, commits, git write commands, live gaming-PC execution or installation changes during this drafting task.
8. Council disposition (2026-10-30)¶
Applied to the plan only; no probe, fixture, producer payload or implementation was created. Initial council: 8/8 REQUEST CHANGES; re-review of 5e77d5b: 9/12 APPROVE, with remaining items addressed below and focused re-review still required.
- C1 / FLT-351 (corrected by H2 below): Added
unreal-pluginplugin-stem/version/registry/integrity identity, module sub-rows, engine-CL binding and Fab AI-use POLICY BLOCK, including zero-module plugins; provisional tag retained. - C2 / FLT-350: Replaced action-to-tier mapping with five composing capabilities; unauthenticated listeners forbidden and BpGenerator licence gate separate.
- C3 / FLT-354: Required archive hash, frame-time budget and leak result bound to FLT-347 commit SHA; idle-PC headless/offscreen smoke only.
- Listener auth: Required ephemeral loopback bearer, Host/Origin and PID/start-time/project checks, :9877 refusal, uproject disable and teardown receipt; verified private fallback only.
- BpGenerator ban: Excised active provider and prohibited bridge/schema/read/AI probes before human written entitlement; inventory-only clean-room boundary retained.
- Identity/outcomes: Added install/session/auth keys, schema/args digests, single-use expiry and append-only intent/result/inspection with stable op-id and four explicit outcomes.
- Editor split: Added editor-less ProjectTarget, factory-created async-disposable IEditorSession, authorized capture and PackageOrAutomateAsync; packaged checks close Editor.
- Build safety: Replaced batch launch with dotnet UBT/AutomationTool dlls; added approved build inputs, allow-listed argv, Job Object kill, async logs, unattended flags and confined staging paths.
- Producer contracts: Kept all provisional tags; read-only Phase 0 may start now, build tickets wait for WT-3796 schemas/re-review; Core owns MCP/digest/wrapping in the three-assembly graph.
- Concurrency: Added workspace lease/heavy-job semaphore, watcher gate, NeedsReconciliation fence, Task signatures, ALC unload proof and race/retry/cancel checks.
- Licences/debugger: Added GMCv2/GMAS/Narrative Pro entitlement/pin/interplay rows and overlay; UBT/UAT black-box only, Phase-1 EULA/NOTICE gate before 3.1, netcoredbg for forks.
- Phase 0 (refined by M1 below): Added sealed archive/canonical-file key and 0.1b minimal fixture plan, cooked-only isolated 0.3, persistent-level/ALC 0.4, hidden bootstrap, timing/leak deltas and separate multiplayer/FLT-351 negatives.
- Pins/supply chain: Required full SHAs/tree hashes, lockfiles/feeds, exact solution, declarative CCGS import, descriptor dispatch pins, external artifacts and split CI/engine runs.
- Parsing/redaction: Added size/depth/parameter/time caps, TypeNameHandling.None, bounded visited-set expansion, incomplete status and future fuzz/secret-negative checks; YAML stays secret-free.
- C++/UI evidence: Required original public-API wrappers with Engine-match/licence receipts and fixed scenario scripts, stale checks, bounded previews, URL revocation and reduced-motion.
Ruled-out/deferred decisions retained: no pack evidence DB, second language-adapter cook, fork vsdbg, Launcher dedicated server or Unity implementation; stdio/proxy is fallback only after installed HTTP auth is found inadequate, and full-stack glue waits for Phase 3.1–3.2. No item was omitted; execution and producer-contract validation remain pending, not verified.
8.1 Re-review round 2 disposition¶
- H1: Protected execution-authorization digest now binds
providerId,toolName,capability,opIdandattemptId; dispatch/reconciliation require current bindings. - H2: Corrected C1:
normalizedNameis the.upluginFILE STEM; 0..n modules are sub-rows, and zero-module plugins retain their row and Fab AI-use POLICY BLOCK. - H3: Receipts require redacted log excerpt + digest of the raw log, which is kept in an access-controlled store; MCP
tools/callresponses capped at 4 MiB, depth 32 and 30 seconds with no partial success. - M1: Pre-launch seal uses selected cooked archive hash + declared canonical file set; specified reproducible byte classes and removed cross-build staged DLL equality requirements throughout Phase 0/UAT.
- M2: Exactly one integrity form per row: archive SHA-256 for
fab/github:, directory-manifest digest only forlocal/epic-engine; wrong/dual forms rejected. - M3: Total lock order is session queue → workspace lease → heavy-job semaphore; 5-second heartbeat/30-second expiry and crash fencing defined; only Core reconciliation coordinator may clear after inspection/cleanup, while readers/dispatch/publication remain blocked.
- M4: Listener checks cover AF_INET/AF_INET6 before and after Editor start and before handshake/calls; ALL chosen-port LISTEN entries require EditorPid and exact
127.0.0.1/::1, rejecting wildcards/other owners. - M5: Pin archive-local
DOTNET_ROOT/architecture roots; explicitly reject reliance on ignored .NET 7+DOTNET_MULTILEVEL_LOOKUP; verify CoreCLR and managed assembly paths/hashes across ALCs. - M6: Explicit restore uses
--configfilewith<clear/>; nested UBT/UAT restores inheritRestoreConfigFileandRestoreLockedMode=true, with effective config/lock verification required. - M7: Added both named 2.3 replay tests and atomic publication checks; numeric byte/dimension limits with boundary asserts, URL cleanup ≤100 ms/0 live URLs, and reduced-motion ≤100 ms/0 nonessential animations or autoplay videos.