Compare commits

...
14 Commits
Author SHA1 Message Date
bquarkz 71b62a8e0a fix(ci): bundle Studio protocol fixtures for standalone tests
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Load the fixed protocol vectors from test resources instead of a sibling runtime checkout, preserving all wire assertions.

Validation: the Jenkins Gradle command passed under JDK 25 in an isolated Studio checkout without ../runtime; 1064 tests, zero failures, consolidated JaCoCo report generated.
2026-11-19 20:37:44 +00:00
bquarkz da0b1008cc fix(ci): run Studio pipeline with JDK 25
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/head There was a failure building this commit
Select the Jenkins JDK25 tool for all pipeline stages.

Commit and push explicitly requested by Nilton. Validation: git diff --check passed; pipeline execution remains with Jenkins.
2026-11-19 18:33:42 +00:00
bquarkz 23522f7589 docs(studio): keep README focused on project onboarding
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/head There was a failure building this commit
2026-11-19 17:58:22 +00:00
bquarkz 71fb80efc3 feat(studio): ship JavaFX 2 Play and delegate integration tooling
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/head There was a failure building this commit
Launch the JavaFX 2 project shell on Java 25 with an interactive viewport,
managed Play lifecycle and project mutation guards. Preserve headless/MCP and
save compatibility, and qualify exact runtime executable bundles.
Separate unit JaCoCo gates from opt-in integration suites and use the internal
Pong fixture for the headless visual pilot.
Move maintenance and native conformance tools into tooling; retain the VS Code
extension and update current navigation links.

Validation: tooling make verify passed, including 1064 Studio unit tests,
JaCoCo thresholds and 22 headless integration tests.
2026-11-19 17:32:03 +00:00
bquarkz 1e17fc4d67 feat(studio): add JavaFX 2 foundation and minimal shell
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-11-18 09:39:42 +00:00
bquarkz fa37d0d0c7 chore: retire Discussion Framework workflow and retain lessons
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-11-16 16:45:34 +00:00
bquarkz cd001ce2d9 fix(ci): preserve failed test and coverage artifacts
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-11-16 10:09:06 +00:00
bquarkz e1e13b47ac fix(compiler): enforce deterministic semantic facts in IR contract
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-11-11 09:34:51 +00:00
bquarkz 1471b427f1 feat(studio): deliver asset authoring and automation workflows
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
Add shared human/task asset batches with reviewed atomic publication, explicit
reference rebinds, ownership inspection and qualified glyph/scene budgets.
Expose the same authoring and capacity results through Assets and MCP.

Deliver isolated guest test targets, retained visual evidence and immutable
runtime lifecycle/control observations. Preserve provider qualification and
installed authoring examples alongside the completed discussion lessons.

Close AGD-106 coordination and the delivered discussion workflows through
housekeeping, updating lesson references and preserving qualification limits.
Sound remains outside the asset delivery wave.

Validation: 579 module tests and 31 additional desktop, process and installed
checks passed; native glyph/scene 16/17 boundaries qualified. Discussion
validation passed after housekeeping.
2026-11-11 01:21:25 +00:00
bquarkz b351f2e582 feat(pbs): support quoted project imports and installed authoring contracts 2026-11-10 15:19:53 +00:00
bquarkz ea1cc26fe3 feat(studio): improve compiler reliability and AI diagnostics
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
Preserve structured diagnostics, source attribution, phase outcomes and revision context through compiler, Studio, LSP, MCP and JavaFX. Add project service discovery and resilient VS Code reconnection.

Correct all eight reproduced PBS production failures in expression context, sibling executable bindings and nominal owner identity. Consolidate specs, lessons, immutable baseline evidence and the maintained source-to-guest qualification runner.

Validation: required Gradle gate recorded 724 tests, with 711 passed and 13 skipped. Full corpus passed 168 compilation observations and 108 guest runs (104 successes and four deliberate faults); supplemental controls passed 42 compilations and 16 guest runs. TypeScript compilation, two Node discovery tests and discussion validation passed.
2026-11-10 12:36:25 +00:00
bquarkz 38f201a9c9 lesson added
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
2026-11-06 02:35:19 +00:00
bquarkz b2410e6edc feat(samples): add Pong and refresh test projects
Add the Studio-created Pong project with a short match against CPU, pause,
score and restart controls. Refresh legacy samples for current PBS input,
RGBA colors and preloaded assets while preserving existing identities.

Run convenience launchers against the current build and configured runtime;
keep local caches and native assistant configuration ignored.

Validation: shell syntax, JSON, registry identity/image preservation and
whitespace checks passed. Pong ran in Studio as confirmed by the user.
Build/pack/runtime validation of the refreshed samples remains pending.
2026-11-05 17:15:17 +00:00
bquarkz bf31184d4d feat(pbs): add sprite animation and shared Studio authoring
Implement DEC-0084 with factory-only Sprite/Animator structs, complete result
lowering, validated animation sidecars, generated PBS factories and JavaFX/MCP
authoring through shared services.

Qualify native dev/release with ordinary and optimized producers, zero-allocation
playback, private-cycle reclamation, canonical Composer pixels, installed JARs
and JavaFX lifecycle. Preserve the runtime checkout and existing host ABI.
2026-11-05 15:16:07 +00:00
1905 changed files with 253108 additions and 5241 deletions
-4
View File
@@ -25,9 +25,5 @@ build
.DS_Store
# Discussion workflow state is local; only consolidated lessons are versioned.
discussion/*
!discussion/lessons/
!discussion/lessons/**
temp/
temp/**
+73 -243
View File
@@ -1,270 +1,100 @@
# Prometeu Studio
Prometeu Studio is the desktop development environment for the Prometeu toolchain.
This repository packages the Studio shell together with the embedded services it depends on: compiler pipeline integration, asset packing, runtime/debug orchestration, and project-local Studio state. The current implementation is a Java/JavaFX multi-module Gradle build.
## What Lives Here
The root project is a monorepo with these main areas:
- `prometeu-app`: Spring Boot non-web composition, concrete adapters, packaging, and JavaFX entry point (`p.studio.app.StudioLauncher`).
- `prometeu-studio-api`: toolkit-neutral Studio contracts and operation surfaces.
- `prometeu-studio-core`: JavaFX-free project, session, assets, shipper, runtime, and execution services.
- `prometeu-studio-ui-javafx`: the current human-facing JavaFX adapter.
- `prometeu-packer`: embedded packer APIs and implementation used by Studio.
- `prometeu-compiler`: compiler core, build pipeline, frontend APIs, and the PBS frontend.
- `prometeu-infra`: shared infrastructure used across modules.
- `docs/`: normative specifications and architectural references.
- `discussion/`: workflow artifacts for agendas, decisions, plans, and lessons.
- `test-projects/`: sample workspaces used for local development and tests.
## Current Product Shape
The Studio shell currently organizes the product around four workspaces:
- Assets
- Debug
- DEV (external-agent authorization and observation)
- Shipper
At runtime, the app boots an embedded packer, restores project-local Studio state, and opens the Studio launcher window. Project creation currently scaffolds a Prometeu workspace with `prometeu.json`, `src/`, `assets/`, `build/`, `cartridge/`, `.workspace/`, and local Studio metadata.
## External Coding Agents (MCP)
Studio includes its own `mcp --project <absolute-root>` mode. Configure the native
client once; project grants and desktop restarts no longer require copying ports
or tokens. The initial integration targets Codex on macOS.
1. Install/stage Studio with its bundled Java runtime (see below). New projects
prepare the local client entry during scaffolding. Opening an existing project
also prepares its enabled integration automatically; Studio starts the shared
MCP server itself. **DEV → Prepare assistant** retries preparation after resolving
a reported setup conflict. Opening a project does not grant agent control.
2. Open the coding client in the project directory. Trust the project and reload
MCP once if the client requests it. Studio does not alter client approval policy.
Tools can initialize/list even before the desktop is open or access is granted.
3. Open the project in Studio and grant control in DEV (save first if prompted).
Active Debug prevents granting. The connector discovers access automatically.
4. The agent acquires a task, consults project/language/SDK references, edits saved
project files with its native tools and validates through LSP/build. SDK and
external libraries remain read-only.
5. Recover uncertain operations by operationId/clientRequestId lookup within the
same task; never replay build/advance blindly. Explicitly release control when
done. Human reclaim also revokes access; stop direct external file edits separately.
The client invokes the same Studio artifact over stdio. It forwards to Studio's
project-scoped loopback service using protected, transient
`.studio/mcp/connection.json`. The permanent `.codex/config.toml` entry contains
installed Java/classpath/root arguments, not credentials. Both local outputs are
ignored by Git. Unrelated client settings are preserved; tracked or conflicting
Studio entries require deliberate resolution. `.studio/setup.json` preserves
neutral integration intent and existing runtime/editor settings.
After desktop restart, grant again in DEV. Keep the same client session and
configuration; old task identities and operation receipts are not restored.
DEV displays connection separately from project authority. No project-local
launcher, Python transport script or embedded chat is required.
### Reading external source code
VS Code F12 opens SDK/core and admitted libraries as read-only documents, with
hover, continued F12 and syntax highlighting. SDK/core stay bundled; no editorial
copies are created. After a source revision changes or a session ends, navigate
again instead of reusing old positions.
For MCP, use `studio_language_query` with `operation: "definition"`, then pass a
returned `prometeu-source:` URI to `operation: "readExternalSource"`. The response
contains `descriptor` and `text`; hover and definition accept the same URI within
the owning task. Another task cannot reuse it. MCP does not require VS Code open.
External or mixed edit proposals are refused in full. Library installation/cache
management is outside this feature. See the [extension guide](tools/vscode-extension/README.md).
### Installation and IntelliJ development
Build and stage the complete distribution, including its Java runtime:
```bash
./gradlew :prometeu-app:stageStudioInstallation
```
The macOS default is `~/Library/Application Support/Prometeu/Studio/current`.
Staging validates a new version before atomically changing `current`, retaining
older versions for rollback and running processes. Native client registration
uses absolute paths and argument arrays, independent of shell PATH:
```text
command: <installation>/current/runtime/bin/java
args: ["-cp", "<installation>/current/lib/*", "p.studio.app.StudioLauncher", "mcp", "--project", "<absolute-project-root>"]
```
For development, use an isolated installation:
```bash
./gradlew :prometeu-app:stageStudioInstallation -PstudioInstallationRoot=/absolute/dev-installation
```
In IntelliJ, run/debug `p.studio.app.StudioLauncher` with the `prometeu-app`
runtime classpath and VM option `-Dstudio.installationRoot=/absolute/dev-installation`.
The desktop and client-owned connector are separate JVMs. To debug the latter,
add the development-only VM argument
`-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:5005`
before `-cp` in the local MCP entry, restart that MCP process, then use IntelliJ's
**Remote JVM Debug** on localhost:5005. Do not commit this local configuration.
Because manual edits to the managed entry are protected, restore its original
content before using preparation again. Regular registration never enables JDWP.
The packaged automated gate checks bundled Java, upgrade/rollback, project paths
with spaces, minimal environment, scaffold/preparation and JavaFX startup:
```bash
./gradlew :prometeu-app:installedConnectorTest
```
The current production tools cover context, references, task control, LSP,
build/pack, operation lookup/cancellation and headless execution (17 tools).
Headless requires a runtime installation configured for the project; missing or
incompatible installations fail explicitly. DEV is an
observation panel, not manual Play/input for the agent's session; **Debug** retains
the human testing workflow. Edits are preserved on cancellation; Git/review/recovery
remain the developer's responsibility.
See the [MCP contract](docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md)
for schemas, authorization, limits and delivery boundaries.
### Troubleshooting automation
| Symptom | Action |
| --- | --- |
| Waiting for access / desktop restarted | Open the project and grant again in DEV. Keep the existing client configuration. |
| Stale connection / incompatible catalog | Grant fresh access, or update the installed Studio when versions differ. Do not edit transient credentials. |
| Preparation conflict | Preserve the existing client settings; resolve a tracked/user-owned/edited Studio table explicitly, then prepare again. |
| Acquisition rejected or project busy | Grant control in DEV first; stop manual Debug before granting. Query an existing operation instead of starting another; serialize headless calls. |
| `RUNTIME_UNAVAILABLE` or handshake incompatibility | Check the project's configured runtime installation and its packaged headless command. Studio does not download a substitute. |
| `NO_FRAME_AVAILABLE` | Advance at least one frame before requesting a capture. |
| Advance/page limit rejected | Respect advertised limits and use reference pagination. Runtime's default maximum is 600 frames per advance; requests are not silently clamped. |
| Unknown language or missing reference | Inspect project context and the declared manifest language; use only advertised capabilities/reference IDs. PBS is a creation default, not an unknown-language fallback. |
| Returning control reports cleanup failure | Stop the external client's direct editing separately, then retry DEV reclaim after owned-process cleanup. Do not bypass the lock or restore stale editor buffers. |
Language and SDK references are bundled locally; reading them does not require a
compiler checkout or network download. SDK/external-library changes remain outside
the game-authoring task, even when a reference exposes a limitation.
The real headless process adapter and task-service composition can be verified
using an extracted runtime distribution:
```bash
./gradlew :prometeu-app:headlessProcessTest -PstudioRuntimeInstall=/absolute/path/to/runtime
```
This gate builds an installed PBS example, launches the actual runtime, checks
canonical PNGs and explicit reset/reboot, cancels an advance and verifies process
cleanup. It also runs the actual app composition through saved-file LSP queries,
rebuilds and corrective loops after compile errors and guest faults. It does not
download a runtime or substitute a protocol fixture.
To verify the complete HTTP-to-runtime-to-DEV image path, run this separate gate
in a desktop environment:
```bash
./gradlew :prometeu-app:headlessMcpDesktopTest -PstudioRuntimeInstall=/absolute/path/to/runtime --max-workers=2
```
It opens the real DEV view, grants control, uses an HTTP MCP client to query LSP,
edit/build the installed PBS example and execute a fixed input timeline. PNG bytes,
frame identities, state and fault are compared with a separate direct-JSONL runtime
process; every decoded ImageView pixel and its visible identity/stale label are
checked. Reset, fresh-session repetition and rebuild are included. This automated
client is not the external coding-agent acceptance gate.
The same suite also exercises cancellation, disconnect/reconnect, revocation,
project/app closure, crash and forced shutdown, corrective builds, and return to
the real manual Debug host. These scenarios require a POSIX desktop (validated
on macOS ARM64) and free port 7777. Only processes created by the test are killed
or suspended. After a forced-shutdown error, an explicit second reclaim can
acknowledge completed cleanup; control stays locked until cleanup is confirmed.
### Follow-ups after the AI-first implementation
The following findings are recorded for investigation after implementation; they
are not considered fixed by the passing integration tests:
- **PBS/LSP SDK navigation:** the historical probe of the former `Input.pad()`
API returned no location; the current input API is `Pad`/`Button` and `Touch`. Project-source navigation and indexed SDK reference
reads work. Investigate SDK symbol resolution separately; an empty definition
result is not evidence of missing runtime support or permission to edit the SDK.
- **Build tooling:** the validation environment's JDK 25 triggers Kotlin's target-24
fallback and Java/Kotlin target compatibility warnings in `buildSrc`. The targeted
regression passes, but the toolchain/target alignment needs separate review.
Cross-platform desktop coverage remains a validation boundary, not a confirmed
product defect. Baseline HTTP desktop acceptance covers macOS ARM64 and Codex CLI only. The integrated stdio flow completed its separate acceptance gates through automated validation and user-confirmed native-client, graphical-launch and IntelliJ checks; see [LSN-0077](discussion/lessons/DSC-0070-studio-persistent-mcp-connector/LSN-0077-integrated-mcp-stable-setup-and-ephemeral-access.md) for evidence provenance.
The first real Codex CLI acceptance run exercised editing, LSP, build/pack, input,
1,110 frames, native MCP images and explicit release. The developer confirmed the
DEV result and successfully ran the edited game using manual Debug Play afterward.
Additional follow-ups from that run: clearer errors for oversized
reference pages, guidance for sequential headless queries after `BUSY`, and easier
discovery of framebuffer dimensions. Capture before the first completed frame
correctly returns `NO_FRAME_AVAILABLE`; it is not a runtime defect. Noninteractive
clients must also provide an approval path for MCP work calls; the acceptance used
Codex's approval review with a project-scoped workspace-write sandbox.
The completed baseline's architecture, acceptance evidence and post-implementation
follow-ups are consolidated in [LSN-0076](discussion/lessons/DSC-0068-studio-headless-runtime-ai-first/LSN-0076-ai-first-studio-through-shared-authority-and-headless-evidence.md).
It combines a JavaFX application with compiler integration, asset packing, project
services and runtime orchestration in a multi-module Java/Gradle build.
## Requirements
- JDK 21 or newer recommended for local development
- Gradle wrapper (`./gradlew`) included in the repository
- JDK 25 for compilation, tests and the bundled application runtime
- The included Gradle wrapper (Gradle 9.3.1)
- A desktop environment capable of running JavaFX
- A qualified native Prometeu runtime installation for running games
## Common Commands
## Getting Started
Run the full project graph listing:
```bash
./gradlew projects
```
Run the desktop application:
Run these commands from the Studio repository root:
```bash
./gradlew :prometeu-app:run
```
Run the test suite:
Open an existing project from the project chooser and select a qualified runtime
installation. Use Play, Pause, Resume and Stop to run the game inside Studio.
Games with saves require an existing development save image or an explicitly
disposable session. Close the project before opening another.
The default frontend is `prometeu-studio-ui-javafx-2`. It provides project opening
and integrated Play; editors, Assets/DEV/Shipper workspaces and MCP grant controls
are outside its current UI. Play prepares a cartridge directory for execution;
distribution/export is a separate concern.
See the [development guide](docs/development.md) for installation, runtime
qualification, IntelliJ setup, MCP integration and integration test commands.
The [integrated Play specification](docs/specs/studio/14.%20Integrated%20Play%20Specification.md)
defines execution, input and save behavior.
## Build and Test
```bash
./gradlew build
./gradlew test
```
Generate the aggregated coverage report:
```bash
./gradlew jacocoTestReport
```
## Repository Reading Guide
`test` runs unit tests and excludes JUnit `@Tag("integration")`. The aggregated
JaCoCo report uses unit test results. Process, network and desktop checks have
[separate opt-in commands](docs/development.md#integration-checks).
If you are new to the codebase, this order is usually the fastest path:
Stage a complete installation with its bundled Java runtime:
1. Start at `prometeu-app` to see application bootstrap.
2. Read `prometeu-studio-api` and `prometeu-studio-core` for Studio contracts and application services.
3. Read `prometeu-studio-ui-javafx` for the current shell, workspaces, and human-facing flows.
4. Read `prometeu-app` for Spring composition and provider gateways.
5. Read `prometeu-packer` for asset and packaging boundaries.
6. Read `prometeu-compiler` when you need compiler or PBS language behavior.
```bash
./gradlew :prometeu-app:stageStudioInstallation
```
## Specs And Architecture
The default installation root is
`~/Library/Application Support/Prometeu/Studio`; `current` selects its active
version. See [installation and development](docs/development.md#installation-and-intellij-development)
for an isolated development installation.
Important reference surfaces:
## Repository Structure
| Area | Responsibility |
| --- | --- |
| `prometeu-app` | Spring Boot composition, concrete adapters, packaging and the `p.studio.app.StudioLauncher` entry point |
| `prometeu-studio-api` | Toolkit-neutral Studio contracts and operations |
| `prometeu-studio-core` | JavaFX-free project, session, asset, shipper and execution services |
| `prometeu-studio-ui-javafx-2` | Default frontend and presentation foundation |
| `prometeu-studio-ui-javafx` | Previous frontend retained for adapter compatibility checks |
| `prometeu-compiler` | Compiler core, build pipeline, frontend APIs and PBS frontend |
| `prometeu-packer` | Asset packing APIs and implementation |
| `prometeu-infra` | Shared infrastructure |
| `test-projects` | Sample projects and integration fixtures |
| `docs` | Technical guides, specifications and architecture references |
| `discussion/lessons` | Published engineering lessons and their assets |
Run `./gradlew projects` to list the complete module graph.
Start with `prometeu-app` for application bootstrap, then read
`prometeu-studio-api` and `prometeu-studio-core` for contracts and services.
The [JavaFX 2 module guide](prometeu-studio-ui-javafx-2/README.md) covers the current
frontend. Follow the compiler and packer modules for their respective pipelines.
<a id="external-coding-agents-mcp"></a>
## Documentation
- [Development guide](docs/development.md): installation, MCP, troubleshooting and integration checks
- [Specification guide](docs/specs/README.md): domain ownership and reading order
- [General compiler](docs/specs/compiler/README.md): shared compiler specifications
- [PBS](docs/specs/compiler-languages/pbs/README.md): language and SDK specifications
- [Studio](docs/specs/studio/README.md): shell, workspaces and integration contracts
- [Packer](docs/specs/packer/README.md): packer specifications
- `docs/vm-arch/`: VM and ISA architecture references
- [Studio](docs/specs/studio/README.md): application, services and integration contracts
- [Compiler](docs/specs/compiler/README.md): shared compiler contracts
- [PBS](docs/specs/compiler-languages/pbs/README.md): language and SDK
- [Packer](docs/specs/packer/README.md): asset and packaging contracts
- [VM architecture](docs/vm-arch/README.md): VM/ISA references and provenance
- [VS Code extension](tools/vscode-extension/README.md): language tooling and external source navigation
These documents are the long-term normative source for behavior and contracts. When code and docs diverge, fix the divergence explicitly instead of relying on tribal knowledge.
Engineering discussions, decisions, plans, build/acceptance results and pending
investigations belong to the enclosing
[Prometeu Engineering workspace](../README.md) in
[AI Engineering](../.ai-engineering/README.md). See [AGENTS.md](AGENTS.md) before
contributing.
+4 -3
View File
@@ -12,18 +12,19 @@ dependencies {
val jacocoTestReport = tasks.register<JacocoReport>("jacocoTestReport") {
group = "Verification"
description = "Generates a consolidated JaCoCo report for all subprojects."
description = "Generates consolidated unit-test coverage for all subprojects."
val javaSubprojects = subprojects.filter { subproject ->
subproject.subprojects.isEmpty() && subproject.plugins.hasPlugin("java")
}
dependsOn(javaSubprojects.map { it.tasks.withType<JacocoReport>() })
dependsOn(javaSubprojects.map { it.tasks.named("jacocoTestReport") })
additionalSourceDirs.setFrom(javaSubprojects.map { it.layout.projectDirectory.dir("src/main/java") })
sourceDirectories.setFrom(javaSubprojects.map { it.layout.projectDirectory.dir("src/main/java") })
classDirectories.setFrom(javaSubprojects.map { it.layout.buildDirectory.dir("classes/java/main") })
executionData.setFrom(fileTree(projectDir).include("**/build/jacoco/*.exec"))
// Opt-in integration tasks must not contribute coverage to the unit gate.
executionData.setFrom(javaSubprojects.map { it.layout.buildDirectory.file("jacoco/test.exec") })
reports {
xml.required.set(true)
+8
View File
@@ -2,6 +2,14 @@ plugins {
`kotlin-dsl`
}
// Build logic can target Java 21 while the Studio product uses the Java 25 toolchain.
// Gradle's embedded Kotlin compiler does not yet emit JVM 25 bytecode.
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlin { compilerOptions { jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21) } }
repositories {
gradlePluginPortal()
mavenCentral()
@@ -29,12 +29,15 @@ dependencies {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
languageVersion = JavaLanguageVersion.of(25)
}
}
jacoco { toolVersion = libs.findVersion("jacoco").get().requiredVersion }
tasks.named<Test>("test") {
useJUnitPlatform()
description = "Runs unit tests only; integration verification belongs to prometeu-tooling."
useJUnitPlatform { excludeTags("integration") }
finalizedBy("jacocoTestReport")
}
@@ -116,7 +116,7 @@ for runtime evidence. The intrinsic/native catalogue goldens are serialization
fixtures and do not claim current PBS catalogue compatibility.
Reproduce with the commands in
[the harness README](../../../tools/pbx-conformance/README.md). The harness
[the harness README](../../../../tooling/scripts/pbx-conformance/README.md). The harness
creates its Cargo build outside the runtime checkout and saves generated PBX and
observed JSON under the build-pipeline build directory.
@@ -140,6 +140,6 @@ slot-to-type inference to conceal an incomplete handoff.
- [Typed common Registry/PBX specification](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
- [Backend conformance matrix](../../../docs/specs/compiler/22.%20Backend%20Spec-to-Test%20Conformance%20Matrix.md)
- [Runtime qualification harness](../../../tools/pbx-conformance/README.md)
- [Runtime qualification harness](../../../../tooling/scripts/pbx-conformance/README.md)
- Runtime sources: registry_v0.rs, program_image.rs, registry_verifier, and
devtools/headless-protocol/response.schema.json at the revision above.
@@ -172,7 +172,7 @@ and behavior together. Roll back that set together if necessary.
- [Normative catalog support](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Typed common Registry/PBX contract](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
- [VM mirror and provider verification policy](../../../docs/vm-arch/README.md)
- [Production runtime harness](../../../tools/pbx-conformance/README.md)
- [Production runtime harness](../../../../tooling/scripts/pbx-conformance/README.md)
- Runtime sources at the recorded revision: catalog.rs, builtins.rs,
input_intrinsics.rs, math_intrinsics.rs, random_intrinsics.rs, random.rs,
registry_verifier/{heights,types}.rs and tests/numeric_contract.rs.
@@ -80,4 +80,4 @@ Frontend negatives cover invalid Button arguments, mixed int/long variables, lit
- [Shared runtime catalog contract](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Typed registry and PBX contract](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
- [PBS source-to-PBX qualification](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeAlignmentTest.java)
- [Actual-runtime harness instructions](../../../tools/pbx-conformance/README.md)
- [Actual-runtime harness instructions](../../../../tooling/scripts/pbx-conformance/README.md)
@@ -64,7 +64,7 @@ The installed knowledge package includes the specification and an executable [ar
## Implementation references
- [Source conformance tests](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStructuredValuesTest.java)
- [Runtime harness and reproduction instructions](../../../tools/pbx-conformance/README.md)
- [Runtime harness and reproduction instructions](../../../../tooling/scripts/pbx-conformance/README.md)
- [Static semantics](../../../docs/specs/compiler-languages/pbs/4.%20Static%20Semantics%20Specification.md)
- [Dynamic semantics](../../../docs/specs/compiler-languages/pbs/9.%20Dynamic%20Semantics%20Specification.md)
- [Earlier typed common IR/PBX lesson](../DSC-0074-compiler-pbx-registry-conformance/LSN-0079-typed-common-ir-to-production-pbx.md)
@@ -109,5 +109,5 @@ Common mistakes to avoid:
- [Normative function and capture specification](../../../docs/specs/compiler-languages/pbs/15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
- [Implementation evidence and reproducible commands](../../evidence/DSC-0080-implementation/README.md).
- [Production VM conformance harness](../../../tools/pbx-conformance/README.md).
- [Production VM conformance harness](../../../../tooling/scripts/pbx-conformance/README.md).
- [Executable installed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/closures.pbs).
@@ -152,7 +152,7 @@ explicitly reported by the full harness; original payloads are preserved.
- [Service constants and runtime math specification](../../../docs/specs/compiler-languages/pbs/19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md)
- [Runtime catalog policy](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Production harness](../../../tools/pbx-conformance/README.md)
- [Production harness](../../../../tooling/scripts/pbx-conformance/README.md)
- [Catalog-port lesson](../DSC-0075-compiler-runtime-catalog-parity/LSN-0080-manual-runtime-catalog-port-and-conformance.md)
- Historical execution artifacts: DEC-0069 and PLN-0148, removed by CLI housekeeping after completion.
@@ -154,7 +154,7 @@ SDK/spec/example delivery, not execution through an installed runtime process.
- [PBS Random specification](../../../docs/specs/compiler-languages/pbs/20.%20Runtime%20Random%20Integration%20Specification.md).
- [Typed arrays and optional execution](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
- [Functions and captures](../../../docs/specs/compiler-languages/pbs/15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
- [Conformance commands and boundaries](../../../tools/pbx-conformance/README.md).
- [Conformance commands and boundaries](../../../../tooling/scripts/pbx-conformance/README.md).
- [Provider Random specification](../../../../runtime/docs/specs/runtime/02e-vm-owned-random-core.md).
- [Provider qualification](../../../../runtime/docs/vm-arch/RANDOM_QUALIFICATION.md).
- Historical accepted DEC-0070 and completed PLN-0149: obligations are preserved
@@ -155,6 +155,6 @@ remains DSC-0085. Other platforms are not claimed by this evidence.
- [PBS lowering](<../../../docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md>).
- [Common typed Registry/PBX](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
- [Source-to-PBX corpus](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java).
- [Production VM/foreground harness](../../../tools/pbx-conformance/lifecycle.rs).
- [Production VM/foreground harness](../../../../tooling/scripts/pbx-conformance/lifecycle.rs).
- [Installed lifecycle guide](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/LIFECYCLE.md).
- Runtime [role binding](../../../../runtime/docs/specs/runtime/02c-program-registry-and-pbx-v0.md) and [controlled execution](../../../../runtime/docs/specs/runtime/09a-coroutines-and-cooperative-scheduling.md).
@@ -192,5 +192,5 @@ Build/Play/UI/MCP deployment remain outside this capacity and belong to DSC-0086
- [Project-local state and media selection](<../../../docs/specs/studio/8. Project-Local Studio State Specification.md>).
- [DEV and automation](<../../../docs/specs/studio/10. DEV and Automation Specification.md>).
- [MCP tool contract](<../../../docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md>).
- [Producer/native/process runner](../../../tools/pbx-conformance/README.md).
- [Producer/native/process runner](../../../../tooling/scripts/pbx-conformance/README.md).
- [Independent runtime provider lesson](../../../../runtime/discussion/lessons/DSC-0068-memcard-public-host-persistence/LSN-0073-public-persistence-is-a-process-and-ownership-contract.md).
@@ -185,7 +185,7 @@ legacy integration cases; production fixtures exercise the required paths.
Additional focused cases cover mutual recursion and imported alias navigation.
Workflow validation and whitespace checks passed before completion.
Reproduce with the gates in the [conformance harness documentation](../../../tools/pbx-conformance/README.md).
Reproduce with the gates in the [conformance harness documentation](../../../../tooling/scripts/pbx-conformance/README.md).
The new specification and `contracts.pbs` example are discoverable in installed
knowledge, not only in the source checkout.
@@ -248,7 +248,7 @@ production corpus, full regressions and pinned provenance.
and [ordinary typed storage](../../../../runtime/crates/console/prometeu-vm/src/virtual_machine/collections.rs).
- [Source fixture generator](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java),
[neutral IR fixtures](../../../prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/registry/StoragePublicationPipelineTest.java)
and [production harness instructions](../../../tools/pbx-conformance/README.md).
and [production harness instructions](../../../../tooling/scripts/pbx-conformance/README.md).
- [Mutation-phase migration](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md),
[generic structs lesson](../DSC-0094-pbs-generic-structs/LSN-0089-concrete-generic-state-and-bodies.md)
and [generic contracts lesson](../DSC-0089-pbs-generic-contracts/LSN-0088-concrete-generic-contracts-from-source-to-vm.md).
@@ -231,7 +231,7 @@ NonFiniteValue, remain explicitly reported with original payloads.
- [SDK source](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs),
[source corpus](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsLinkedTest.java),
[neutral producer](../../../prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/registry/StoragePublicationPipelineTest.java)
and [production harness instructions](../../../tools/pbx-conformance/README.md).
and [production harness instructions](../../../../tooling/scripts/pbx-conformance/README.md).
- [Current provider typed storage](../../../../runtime/crates/console/prometeu-vm/src/virtual_machine/collections.rs),
[sequential mutation migration](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md)
and [List/Cursor lesson](../DSC-0090-pbs-sdk-list/LSN-0090-mutable-lists-and-stable-snapshot-cursors.md).
@@ -214,5 +214,5 @@ JUnit cases are listed separately from the mandatory runtime corpus.
- [Common Registry/PBX specification](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
- [SDK collection source](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs).
- [Set source fixtures](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsSetTest.java).
- [Conformance tooling and reproduction](../../../tools/pbx-conformance/README.md).
- [Conformance tooling and reproduction](../../../../tooling/scripts/pbx-conformance/README.md).
- [Sequential mutation predecessor](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
@@ -189,6 +189,6 @@ evidence and are not counted as new Map conformance.
- [Executable installed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/maps.pbs).
- [SDK algorithms](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs).
- [Source-to-PBX qualification](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMapKeyvalTest.java).
- [Harness reproduction](../../../tools/pbx-conformance/README.md).
- [Harness reproduction](../../../../tooling/scripts/pbx-conformance/README.md).
- [Set/Identity predecessor](../DSC-0092-pbs-sdk-set/LSN-0093-reusable-identity-and-source-set-buckets.md).
- [Sequential mutation boundaries](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
@@ -204,7 +204,7 @@ they are not silently relabeled as schema conformance or fixed in runtime here.
- [List/Cursor](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md),
[Linked](../../../docs/specs/compiler-languages/pbs/22.%20SDK%20Linked%20and%20Cursor%20Specification.md) and
[Array/optional](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
- [Conformance commands and coverage](../../../tools/pbx-conformance/README.md).
- [Conformance commands and coverage](../../../../tooling/scripts/pbx-conformance/README.md).
- [Selected provider pin](../../../docs/vm-arch/runtime-catalog.properties).
- Original decisions/planning: accepted DEC-0077 and completed PLN-0155 in DSC-0096,
consolidated here before their required housekeeping removal.
@@ -187,7 +187,7 @@ Avoid these maintenance mistakes:
[shared Cursor](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md).
- [SDK algorithms](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs).
- [Source/PBX corpus](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java).
- [Conformance module](../../../tools/pbx-conformance/stack_queue.rs) and
[reproduction instructions](../../../tools/pbx-conformance/README.md).
- [Conformance module](../../../../tooling/scripts/pbx-conformance/stack_queue.rs) and
[reproduction instructions](../../../../tooling/scripts/pbx-conformance/README.md).
- [Sequential mutation lessons](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
- [Evidence and R1–R9 coverage](evidence/README.md).
@@ -0,0 +1,211 @@
---
id: LSN-0100
ticket: pbs-core-sprite-animation
title: Sprite Animation, Typed Results and Shared Authoring
created: 2026-11-05
tags: [compiler, pbs, core, stdlib, animation, studio, packer]
---
## Context and outcome
Owner: **compiler/pbs**. Studio owns the neutral authoring model and editor;
Packer owns registered asset identity and the effective glyph layout.
DEC-0084 and PLN-0162 delivered one complete feature across these domains.
Their workflow artifacts were retired after implementation; the durable contracts
are [PBS chapter 27](../../../docs/specs/compiler-languages/pbs/27.%20Core%20Sprite%20and%20Animation%20Specification.md)
and [Studio chapter 12](../../../docs/specs/studio/12.%20Animation%20Authoring%20Specification.md).
Games previously supplied primitive Composer arguments and implemented animation
themselves. The final implementation supplies ordinary PBS `Sprite`,
`AnimatorBuilder` and `Animator` structs, explicit-tick playback, generated
factories from canonical JSON, complete JavaFX authoring, task-authorized MCP
operations and installed examples. Composer keeps its public nine arguments,
int status, capability and host identity. No runtime source or ABI changed.
## Model identity and playback separately
`SpriteView.sprite()` returns bank and glyph together. A palette, position,
layer, flip and priority still belong to the caller's emission. A visual query
neither advances an animator nor constructs a Sprite.
The builder fixes its bank and initial clip name. It permits one open clip,
validates operations in the specified order and retains a failed draft for repair.
Every `build()` copies all mutable clip/frame nodes before publishing an animator.
Two builds have independent playback and backing; ordinary assignment aliases
one animator. Only immutable strings may retain ordinary sharing.
The public types carry trusted factory-only construction metadata. Checking the
spelling of an imported type would be insufficient: aliases preserve the declaring
type's identity, and same-module permission is tied to the current file/module.
Game source cannot manufacture the reserved attribute. Public barrels hide node
types and constructor completion surfaces.
Each published clip has immutable frame links with cumulative ends and a tail
link to its head. Animator retains its selected clip, current frame, phase and
playback state. For positive ticks while Playing:
1. Reject `phase > LONG_MAX - ticks` before addition.
2. Loop reduces the new phase modulo the total duration.
3. Once finishes after the entire final duration and retains the last image.
4. Resolve the frame from cumulative ends, traversing at most one clip.
5. Publish the new phase, cursor and state after calculations complete.
No per-tick or per-skipped-loop iteration is needed. Successful advance, negative
and overflow errors, and sprite queries execute no heap allocations after
construction. Builder construction and copying have their ordinary allocation
costs. A VM resource trap remains a trap; recoverable domain-error preservation
does not promise rollback after arbitrary VM failures.
`play` and `select` reset even when passed the current name. Use `play` on an
action transition, then `advance` for continuity. Pause/resume preserve progress;
resume does not restart Finished. Stop resets to Stopped; restart resets to Playing.
## Preserve the complete result group
Executable result returns use the existing VM group:
```text
Int32 status, complete typed payload
0 = success; 1..N = canonical error declaration order
```
Unit returns only status. An inactive reference, function or trait payload uses
runtime-admitted nullable defaults. Reserved, never-assigned locals supply Null
without allocating default-holder structs. Scalars and builtin groups receive
their correct typed defaults. Slot count alone never establishes nominal type or
error identity.
Propagation evaluates once, discards pending expression temporaries on its error
path, returns the same status and supplies the enclosing function's inactive
payload. Handling evaluates once and executes only its selected recovery/remap.
Neither catches a VM trap. Imports, contract calls, discarded results and Registry
signatures must agree on the same status-plus-payload shape. A result-effect
function cannot become a plain `Fn` value; successful Fn payloads remain ordinary
typed function references.
A useful integration pitfall appeared in `let glyph = animator.sprite().glyph_id`.
The tuple-producing method inherited the projected field's expected int type,
which prevented the method call from being selected during lowering. Lowering the
receiver with its own tuple type fixes the call and subsequent projection.
The state-matrix fixture exposed this before native admission.
## Canonical persistence has one owner
The sidecar `animations.studio.json` is the editable persistence surface. Its
strict version-1 codec rejects duplicate/unknown keys, unsupported versions,
invalid UTF-16 strings and fractional/out-of-range integers. Durations retain exact
signed 64-bit values, including numbers above JavaScript's exact integer range.
Bindings use stable selected artifact IDs, current glyph indices and fingerprints.
Paths and list positions are not animation identity. Reordering, removal and
replacement block preview/build until an explicit rebind. Bank relocation retains
identity. Palette and playback clock never become definition fields.
`prometeu-animation` owns DTOs, codec, validation, revisions, rebind and timeline.
It depends on no compiler, concrete Packer, JavaFX or Spring classes. Packer exposes
its effective layout using the same material/composition helpers as packing. App
composition adapts that public API to the neutral layout port.
Revision verification and atomic replacement run under Packer's existing project
exclusion. Preparing rebind returns a binding-only candidate, old/new differences,
affected frames, proposal hash and bank revision. Applying checks the exact current
proposal. The hash correlates content; it introduces no new grant or approval.
Late asynchronous callbacks require attention. Cancelling the waiting task thread
does not necessarily stop a queued Packer callback. Task authority and a sticky
cancellation state are checked again at publication. Concurrent creates admit one
winner; a cancelled late callback cannot overwrite canonical bytes.
Studio's module boundary is also real: session consumes the exported
`assets.AnimationOperations` seam, rather than depending on the hidden
`assets.animation.DefaultAnimationService` implementation. The modularity test
caught that distinction during integration.
## Generate a view instead of another document
Only registered, included banks with valid definitions publish factories:
```pbs
import { create_hero } from @app:generated/animations/b_12345678123412341234123456789abc;
import { AnimationError } from @core:animation;
fn example() -> result<AnimationError> {
let value = create_hero(3)!;
value.play("idle")!;
value.advance(2)!;
let image = value.sprite();
// Caller supplies image.bank_id/image.glyph_id plus external emission inputs.
return ok(());
}
```
PBS owns this deterministic projection. Factories sort by animator ID; clip/frame
order remains authored order. Revisions include the document, resolved bank and
generator version, excluding timestamps and absolute paths. Included invalid
definitions or a missing layout resolver fail explicitly. Physical modules cannot
occupy the reserved namespace.
The compiler/LSP exposes revision-scoped read-only documents and UTF-8 origin
ranges mapped to JSON pointers. The origin command revalidates the current source
and opens the bank/field through Studio's authoring service. Caller-provided paths
are not navigation authority. Wire metadata uses URI strings, not Java filesystem
implementation objects, so JSON-RPC serialization does not reflect into private
`Path` internals. Changed origins are rejected after edits or reconnect.
JavaFX and MCP share validation, persistence, preview and rebind services. Human
draft editing stays in controls; authority and file writes stay in services.
Handoff awaits animation refresh as well as the existing forms. UI autoplay merely
schedules explicit preview ticks. MCP query/update schemas admit only fields for
the selected operation and retain existing task admission and result envelopes.
## Qualify the boundary that actually executes
The production-native matrix executes both ordinary and optimized producers in
dev and release. Result fixtures cover complete payloads, once-only evaluation,
recovery/remapping and uncaught traps. Animation fixtures cover ownership, all
domain errors, state/time boundaries, long/count limits, int-max jumps and zero
executed allocation instructions in the marked paths.
Safepoint fixtures observe live private rings, then zero retained Animator/clip/frame
objects after releasing their last owner. The observed cumulative reclamation is
2,411 objects at the first collection and 4,817 at the second. Test-only near-limit
and safepoint setup is isolated from shipped modules; no billions-of-elements claim
or public mutation hook is implied.
A real saved-project corpus runs direct and generated animators through Composer.
For both producers and native profiles, ticks 0..7 produce glyphs
`0,0,1,1,1,2,0,0`, alternating palettes 0/1. Every sprite pixel matches shared
preview: 32 native frame observations and 16,384 pixel comparisons. The configured
packaged process repeats both producer variants with 8,192 pixel comparisons.
The sidecar bytes remain unchanged by palette selection and execution.
That gate found a pre-existing Composer adapter mismatch: native statuses use an
Int64 carrier while the public PBS facade returns int. The private host declaration
now uses long and the facade explicitly narrows using an existing intrinsic.
Public arguments, status type, slot counts, capability and host identity remain
unchanged. Runtime modification was unnecessary.
Installed knowledge is tested in a separate JVM outside the checkout using product
JARs. It saves a Packer-bound definition, compiles generated factories, verifies
read-only origins and installed MCP schemas, and supplies native firmware fixtures.
The JavaFX gate authors, saves, previews, repairs drift and closes the real editor.
The full regression and architecture/modularity gates pass.
See [qualification evidence](evidence/README.md), [concrete results](evidence/results.json)
and [editor capture](evidence/animation-editor.png). The evidence records exact
hashes, commands, environment and practical test limits. Cargo outputs stayed under
`/tmp`; the runtime checkout remained unchanged. No runtime commits were created.
## Common mistakes
- Treating a result payload as its plain return while forgetting the status slot.
- Allocating a default holder on every unit error or inactive payload path.
- Letting aliases or transitive factory return types lose declaration provenance.
- Sharing mutable builder nodes with published animators.
- Replaying every skipped tick or loop instead of reducing phase first.
- Calling `play` every frame and unintentionally resetting the cursor.
- Retargeting frames by path/order when stable identity drifts.
- Validating a revision before queuing work and assuming it remains current at save.
- Keeping stale generated text as a fallback after validation fails.
- Testing only source compilation when typed native admission and real rendering
are part of the contract.
@@ -0,0 +1,31 @@
# DEC-0084 / PLN-0162 qualification evidence
Owner: compiler/pbs; cross-domain Studio and Packer. Completed 2026-11-05.
- `environment.json` records provider, installed executables, targets and commands.
- `source.sha256` identifies every changed tracked/untracked implementation file.
- `fixtures.sha256.gz` identifies the mandatory Result/Animation PBX, manifests,
packed assets and shared-preview pixel oracles in the Studio build corpus.
- `results.json` records concrete counts and limits; native logs contain assertions.
- Compressed regression and test reports preserve the final successful gates.
- `animation-editor.png` is the real JavaFX editor after authoring/save/preview.
The production VM/firmware matrix ran ordinary and optimized producers in both
native dev/release profiles. The saved-project Composer corpus compares every
sprite pixel against the shared canonical preview while alternating palette IDs.
The configured installed process repeats that comparison for both producers.
Heap counts cover executed allocation opcodes in the marked paths, not constructor
costs, host rendering or a claim about every theoretical program. Test-only count,
phase and safepoint setup does not add a public mutation API. Zero-quota construction
produces resource traps; it does not become a recoverable animation error.
Origin navigation is qualified through the real compiler/LSP bridge and registry,
wire serialization, editor selection and client TypeScript compilation. The new
CodeLens was not separately exercised in a VS Code Extension Development Host.
The JavaFX image uses the standalone control with the default skin, not a full
Studio shell screenshot.
The repository has no CLI operation to create/allocate a lesson. LSN-0100 was
prepared from the next available metadata ID; `discussion housekeep` registers
it and advances that counter. No index edit was performed manually.
@@ -0,0 +1,21 @@
0d28d6891ad8d385c1d103233e85f619005543528269eb6531428f07f1b348c0 README.md
d5260791f61756c7c1d5f9864e4a0c91c76751833a6e7827346a06e21672608c acceptance.md
15525c8aa73b7d940c020721a4fd1aa677d3d0c3fd6186ada0a8ff5082c0334f animation-authoring.xml.gz
95776283387855cb29abf982bc15cf680a2af90db23271e30c86784e16190fd0 animation-editor.png
2c0df78907358c81e820e5339664a221f7abd96583f13f062a303e98eb33943c animation-native-dev.log.gz
86c0ceca52378b4fb3f1750912c33abb878fc7e52d39395a7245a140b51286b0 animation-native-release.log.gz
bd3d04976189f3077709582fb5110c902503cb3af407ff82600b5f56226c6906 animation-ui.xml.gz
a4e58f9a9115d6c69e74e7add930f72f7259306c48c62cad47e3500605f9e9ec authoring-final.log.gz
9fe0bf32db9ca80997ace82d59f67782151cf9196df7e0a7346058960a0d521d composer-installed-process.log.gz
8e3faee9ff1cb98394aa3c08693e497bd03b131f92d4af78f926dec7182ae470 composer-installed-process.xml.gz
dbaa6ef29376e6c0f2763c13acbbcca9b9f188de830db8699b0f49c1bc88f8d7 environment.json
9324e7c344fdcfb0e6aaad7e00fc282a8f6b8424d115bb5f8bc0643176c29214 fixtures.sha256.gz
fa7e3732a4c3b7f2331cafbdcad22c6c30ea7a34c5222d824312b0688f782b02 fn-effect-rejection.log.gz
c0e843b7aeb63dcf4f4f0b1d206f314c5ea827cdfca33b66ddbe7c1c1e09c9fb installed-knowledge.xml.gz
9ef7dc7a127288ad4289a4e37c0d047081ffec3273659ad4912340ba27d985da regression.log.gz
d5caa3ba786b97e3d7de731f5645e9eb5fe448fe4abcc02dfecba5e2e9e9b000 result-native-dev.log.gz
10d6cb9fa5aafcd8f1c989ec87a5720e1a6944c34f47ab82e903af7bb722e39f result-native-release.log.gz
955cfe97d4033ab758024e1735f861fc12ccf1630139841abfd55d8b7f7c2668 results.json
25024cca3fdd75e59d09a6526a64c6cc7ef43d8af2f7121d849c7e61f62aedd4 source.sha256
cd3505eb82eb5e0e60e459b93cb744a5846f520ffe53ff2a214a9378c0f55572 workflow.txt
a33cc281e5263d4e03aa0220b5ab6f7e6a4180222a980d646e68a569963217ef ../LSN-0100-sprite-animation-and-shared-authoring.md
@@ -0,0 +1,26 @@
# Acceptance mapping
All fourteen PLN-0162 criteria were completed. The accepted scope was not split.
| Criterion | Implementation and observed gate |
| --- | --- |
| AC1 | English PBS 27 / Studio 12, propagated compiler/Packer/Studio chapters and indexes. Installed references read from JARs. |
| AC2 | Status-first full typed return groups. 21 Result cases × ordinary/optimized × native dev/release; trap cases remain traps; plain-Fn rejection tested. |
| AC3 | stdlib 1 core/sprite and core/animation, concrete/trait SpriteView queries, factory-only positional/named aliases rejected; forged metadata rejected. |
| AC4 | Reused builder produces independent finalized nodes. Draft repair/removal/rebuild preserves existing animators; assignment aliases. |
| AC5 | Native Loop/Once boundaries, complete state/reset behavior, pause/resume, zero/negative input, checked overflow, int-max jump and limit cases. |
| AC6 | Native instruction counters observe zero heap allocations in marked sprite/advance/error paths; bounded traversal gate; quota traps and cycle reclamation observed. |
| AC7 | Stable identities, fingerprints and exact JSON. Real Packer sidecar leaves assets.pa byte-identical; rebind detects drift; bank relocation retains identity and revision. |
| AC8 | Neutral p.animation module and layout port. Architecture and Spring Modulith gates pass. Included definitions without a resolver fail explicitly. |
| AC9 | Real build factories, reserved collision diagnostic, invalid/excluded behavior, exact UTF-8 including controls/supplementary characters, sorted/byte-identical regeneration; read-only revision-scoped JSON origins reject stale navigation/reconnect. |
| AC10 | Actual JavaFX create/frame/save/preview/rebind/origin selection/close fixture passes. Handoff awaits animation persistence/refresh and retains failed drafts. |
| AC11 | Shared manual/task services and strict MCP schemas. Valid MCP save/get/preview parity, stale revision, invalid authority, revoked task, concurrent creates and cancelled late publication tested. |
| AC12 | Direct/generated Composer pixels equal preview across tick boundaries and alternating palettes in ordinary/optimized producers and native dev/release. Configured packaged process repeats both producers. |
| AC13 | Installed JARs expose specs/modules/examples/MCP schemas and compile a saved project outside the checkout. Generated installed fixtures execute through production firmware. Runtime tree remains clean. |
| AC14 | Full Gradle regression, installed knowledge, architecture/modularity, dedicated JavaFX gate, client TypeScript compilation, native matrices and diff/workflow validation pass. |
The new origin CodeLens was typechecked and its server/editor contracts were
qualified; a new VS Code Extension Development Host session was not performed.
The screenshot is the actual standalone JavaFX control with the default skin.
Count and safepoint fixtures use isolated test setup rather than allocating
billions of nodes or adding shipped mutation hooks.
Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

@@ -0,0 +1,33 @@
{
"date": "2026-11-05",
"platform": "macOS-27.2-arm64-arm-64bit-Mach-O",
"studio_head": "1d8b8c21014b5b2e94bcd6621dbea177afc0d4eb",
"studio_tree": "uncommitted implementation; exact changed files in source.sha256",
"runtime_head": "09d8778f046a2819c50ac786bfb50e958ef5af61",
"runtime_working_tree": "clean",
"runtime_writes": false,
"runtime_commits": false,
"cargo_target": "/tmp/studio-animation-native-target",
"rustc": "rustc 1.98.1 (48a229cea 2026-09-01)",
"node": "24.21.0 (existing NVM installation; system Node has a missing ICU dependency)",
"java": {
"gradle_launcher": "Amazon Corretto 25",
"product_and_tests": "Amazon Corretto 21"
},
"installed_runtime": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/dist-staging/stable/prometeu-cli-aarch64-apple-darwin",
"installed_runtime_sha256": {
"prometeu": "182e4d9a4d32201c8ad892a11c297de7059dcc0a837660bdd173be44808b9906",
"prometeu-headless": "7703190f63844d91fa125ba3a322b5e771db79a282b3cfbb3480eef76422b6ef",
"prometeu-runtime": "0e8e692395cedea799b6d555b416e40536dcabf3a98a2061327d2010c478e446"
},
"commands": [
"./gradlew test :prometeu-app:installedKnowledgeTest :prometeu-app:animationDesktopTest --console=plain",
"./gradlew :prometeu-app:test --tests *AnimationIntegrationTest :prometeu-app:headlessProcessTest --tests *AnimationInstalledRuntimeTest -PstudioRuntimeInstall=<environment installed_runtime> --console=plain",
"./gradlew :prometeu-architecture-tests:test --tests *PbsResultTest.resultFunctions* --console=plain",
"CARGO_TARGET_DIR=/tmp/studio-animation-native-target python3 tools/pbx-conformance/run.py --runtime ../runtime --result-only [--release]",
"CARGO_TARGET_DIR=/tmp/studio-animation-native-target python3 tools/pbx-conformance/run.py --runtime ../runtime --animation-only [--release]",
"NVM Node 24.21.0: node tools/vscode-extension/node_modules/typescript/bin/tsc -p tools/vscode-extension",
"git diff --check",
"discussion validate"
]
}
@@ -0,0 +1,134 @@
{
"result": {
"producer_variants": [
"ordinary",
"optimized"
],
"native_profiles": [
"dev",
"release"
],
"cases_per_producer": 21,
"native_fixture_runs": 84,
"trap_cases": "remain VM traps; handle never recovers traps"
},
"animation": {
"cases_per_producer": 9,
"producer_variants": [
"ordinary",
"optimized"
],
"native_profiles": [
"dev",
"release"
],
"native_fixture_runs": 36,
"measured_allocations": 0,
"measured_paths": [
"sprite via concrete/trait",
"successful advance",
"negative advance",
"overflow advance",
"factory/builder error paths"
],
"count_setup": "test-only near-limit nodes; unchanged production operation; no billions-of-elements claim",
"frame_traversal_gate": "less than 50000 measured instructions including int-max jump"
},
"gc": {
"profiles": [
"dev",
"release"
],
"producer_variants": [
"ordinary",
"optimized"
],
"live_root_first_safepoint": true,
"unowned_animation_clip_frame_objects_second_safepoint": 0,
"reclaimed_first_safepoint": 2411,
"reclaimed_cumulative_second_safepoint": 4817
},
"composer": {
"producer_variants": [
"ordinary",
"optimized"
],
"native_profiles": [
"dev",
"release"
],
"ticks": [
0,
1,
2,
3,
4,
5,
6,
7
],
"glyphs": [
0,
0,
1,
1,
1,
2,
0,
0
],
"palettes": [
0,
1,
0,
1,
0,
1,
0,
1
],
"sources": [
"direct builder",
"saved JSON generated factory"
],
"sprite_size": [
16,
16
],
"native_frame_observations": 32,
"native_pixel_comparisons": 16384,
"installed_process_frame_observations": 16,
"installed_process_pixel_comparisons": 8192,
"canonical_sidecar_bytes_preserved": true
},
"ui": {
"toolkit": "actual JavaFX, standalone control, default skin",
"actions": [
"create animator and clip",
"add frame with exact duration",
"save",
"preview canonical PNG",
"bank drift",
"prepare/apply rebind",
"JSON origin selection",
"handoff and close"
],
"screenshot": "animation-editor.png"
},
"navigation": {
"revision_revalidation": true,
"reconnect": true,
"stale_origin_rejection": true,
"wire_origin_serialization": true,
"client_typecheck": true,
"full_vscode_development_host_for_new_codelens": false
},
"boundaries": {
"runtime_unchanged": true,
"neutral_model_architecture": true,
"studio_module_export_contract": true,
"binary_assets_unchanged_by_sidecar": true,
"cancelled_late_publication_blocked": true,
"concurrent_create_single_winner": true
}
}
@@ -0,0 +1,129 @@
bb32a9d1fc9345ee10b604a2e0e6097c4264d8040247901bd626d2dad633720d docs/specs/compiler-languages/pbs/10. Memory and Lifetime Specification.md
c8ad4792299089eb74846a177dedb592a55e1161ca36fb3d3b4682b47a7453b6 docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md
ec3a04c5c732e08c956fba7a1c1913e4915ac9dda7d3452180ec79fcd4517ea6 docs/specs/compiler-languages/pbs/27. Core Sprite and Animation Specification.md
9d2721529fafb7b984e158cbed2211d4bdf9b9bc545dbbbc18553c0784aff4e2 docs/specs/compiler-languages/pbs/3. Core Syntax Specification.md
8fae59383422256af30625a1debd8b9d3d06bf79de4b6054fd973826b9351204 docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md
837186551dabf59a829d141f76214800c8933e383da57a279842b7ccda40266e docs/specs/compiler-languages/pbs/5. Manifest, Stdlib, and SDK Resolution Specification.md
65b38a52baf784f28f19d0ef993565c028c3731044d7fadc06cb3f465d8823fe docs/specs/compiler-languages/pbs/8. Stdlib Environment Packaging and Loading Specification.md
6251c7b245371677d9c3128ed105798a713065ebdb5b3362d1a24fc70a17c20f docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md
4b66f7067ad726857842bc840dde3ca6c86e5e6bf5ccc41bb016fca4b858e4f0 docs/specs/compiler-languages/pbs/README.md
f039d441eaba2d3de051cdd5ead730b3edada225f6022ff4d5f2e450048df08b docs/specs/compiler/18. Standard Library Surface Specification.md
1eef76bdc53e7b8121ff6357ecf7e91a2b278176e189d057d804eba9385a950d docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md
e683f2b322d51848d9bcd2c63b33d926e94cc27135d8763791e6b6262e8032ab docs/specs/compiler/25. Typed Registry and PBX v0 Specification.md
ca0edb95fea030beaa9e7f20913c46eec9de3f204a0dadbfa31d916aa9522a21 docs/specs/packer/2. Workspace, Registry, and Asset Identity Specification.md
4f380e0b4361e3a52ce286832319bfac0d45e55fc7f9f9b197fb1c87d310493e docs/specs/packer/3. Asset Declaration and Virtual Asset Contract Specification.md
3fa1b270d1b4e2a66d12ef6f3025161f3a2a3607baf50b191fd142cd322e5956 docs/specs/packer/4. Build Artifacts and Deterministic Packing Specification.md
ca3c6005183161313d4371c788058cf4bc6a4eef9a085a55201c453a6893864d docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md
41881dae01a0420ef9f20aa555363e2b8a6b8b6cf4f7126157729b91704f2ba0 docs/specs/studio/12. Animation Authoring Specification.md
1007134a4e37e1070fb90cfb6fda79be2f60a252398c856f8e8a5c13984e40b9 docs/specs/studio/4. Assets Workspace Specification.md
c265f466573474fc5b769705d1e7b80831395635dbf9b74f87965d7b1a8f0e8f docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md
6821f65531e72dfdcd9945685c26af425b6c671b200193ded10a56735c09c02d docs/specs/studio/README.md
7d5951e493364a7815066e76799b93f6a6c614a76911758e937fb70b12e3154c prometeu-animation/build.gradle.kts
4a65d23e0a708337a1d79a8c857cdd074f05b76de11ab2929a6f0d890aac6d0e prometeu-animation/src/main/java/p/animation/AnimationCodec.java
fddda8ae3f78a32d62c5efd85539f5ffab904a1ddafaa17f2becf662510abcbc prometeu-animation/src/main/java/p/animation/AnimationDiagnostic.java
1664c83f83f6c56733545707185601d22de7bf5c2027f76d0ab18b2a61c355f2 prometeu-animation/src/main/java/p/animation/AnimationDocument.java
4857bd166d3758d0a8c49ad4963142eff3e4bf64178b8dab7747ddb99308d4c4 prometeu-animation/src/main/java/p/animation/AnimationOriginNavigation.java
f77ed5b4946fea3452275e0807b0d979519d92f706832f823ae8a460907d01a1 prometeu-animation/src/main/java/p/animation/AnimationRebind.java
d31acf93ecb83f9622966e1d361dc31ef6c366dc35dce3d8bff1a8d20f035150 prometeu-animation/src/main/java/p/animation/AnimationRevision.java
ce9bdadfe16f24fcae358d7de213a8c8450ca8a5e2ed45075c6f2f10bda0d983 prometeu-animation/src/main/java/p/animation/AnimationSource.java
1363b399ef7494abe88b3cb2a1e30d0815347501305558e72b1f4f56dc086bd8 prometeu-animation/src/main/java/p/animation/AnimationTimeline.java
57fcb4956030d63b74d0824e5fa35cdd033516c851ba9cde415201cfa51ebec7 prometeu-animation/src/main/java/p/animation/AnimationValidator.java
6fd1f8b203735769e3ec7a7e62240a41fa34a654a19c09151a11f5668953df66 prometeu-animation/src/main/java/p/animation/GlyphBankLayout.java
176f288b6ea3f984c52227b26264bcf69dbe4bb5535990aa9ef37cab48e8d742 prometeu-animation/src/main/java/p/animation/GlyphBankLayoutSource.java
30980f79ba7c1aeda8c7b7be728b14852320222243f962dcc02cf8e194b85689 prometeu-animation/src/test/java/p/animation/AnimationContractTest.java
843a4dfb03afa46905642c5055171606b65e46937d5bc428d503838f7827ab20 prometeu-app/build.gradle.kts
3cd71fdfcf8dfddf60eacca7b0caff08795ff00b55f7da80d400c57b4dc30ae2 prometeu-app/src/main/java/p/studio/app/StudioApplicationConfiguration.java
954626f88beaed539a60be0f9142b4e85ab14106a6baa42abccaefb7756c5352 prometeu-app/src/main/java/p/studio/app/StudioUiFactory.java
a320b60885537e917bef66e34ed3cedea53fa1d1580d05fc38d0e9480f1d91a3 prometeu-app/src/main/java/p/studio/app/assets/PackerGlyphBankLayouts.java
b1692849f2af66faea261e4cc7e5b68baa15919811a29fb9092971389ad9ac1a prometeu-app/src/main/java/p/studio/app/compiler/CompilerBuildGatewayAdapter.java
0c258a15eb3f34aafed92d96a6a9fdf0e2356752836972c21248a8b3b2d1cb28 prometeu-app/src/main/java/p/studio/app/compiler/CompilerProjectKnowledge.java
919e7bcbfaf98f2027291475afc39dc68e7e9b2a086edcfb3bc75f5866e94153 prometeu-app/src/main/java/p/studio/app/mcp/ContractSchema.java
ed0975206ea18373f6e5f436d7f714c96e93bd728f941fc3548cd7739f5a0486 prometeu-app/src/main/java/p/studio/app/mcp/McpAnimationTools.java
86c74b1c1ea5bb74bfc032ff1bebede93e79770d0edb5e1e598856816b9b5d64 prometeu-app/src/main/resources/mcp/studio-tools-v1.json
4c6231869b9fec9827fa0cf8dcc08a9b45c4497268d57f98fcafd91da5865310 prometeu-app/src/test/java/p/studio/app/StudioApplicationConfigurationTest.java
d696dbf3b86e0dfbb49aaf750d7fd31462d4cba8cba903c5fb9de0016121ec4d prometeu-app/src/test/java/p/studio/app/animation/AnimationDesktopTest.java
1ffbcb740b830a066f4ecb7a89ad780aee9c3bd96a33965eeb9b1947c4b2be67 prometeu-app/src/test/java/p/studio/app/animation/AnimationInstalledProbe.java
61cdc1867697dfe339c4e907f1bfec5873d1a71d93f2297c69994025d3db9d4c prometeu-app/src/test/java/p/studio/app/animation/AnimationInstalledRuntimeTest.java
56af831e13d28c8c59d4deb6d21fedef9d8225d96e6748bc56a3e8c98b51b82e prometeu-app/src/test/java/p/studio/app/animation/AnimationIntegrationTest.java
f96ec4cac9d2d4f033ac4449679dae1582f0980b9755b833999641d815cb18f5 prometeu-app/src/test/java/p/studio/app/animation/AnimationProjectFixture.java
4a66af119ed6d27f6acf05746770aa78cd522aea15b8a0adce303fea5fbe8f69 prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java
c22b0666b7dbda7bb1aedc2688fe35e447a05008aa0726cabee70741b8c4e02c prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeTest.java
e4a5d6062e3436dad94907cf3afa1b6c569283858c71354d0e1aff19f444c627 prometeu-app/src/test/java/p/studio/app/mcp/McpContractTest.java
631f454efb56a75ec39b7ea2c99cf48cb32bf12a7b73f25f397915ae20438697 prometeu-app/src/test/java/p/studio/app/mcp/stdio/StudioMcpStdioTest.java
dad477da094986d9157eaf305f1bf9e15a3cac82ecdcdedabc83074bd5305303 prometeu-architecture-tests/src/test/java/p/studio/architecture/StudioBoundaryArchTest.java
9d4fc89ca4817842ae795e9515e8836e95b99c508e2e3b5fb8c9f3a61e51229f prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsResultTest.java
018a70ad1fa3edaa971c760937e258fddac8c6ae1a36c9b55575186327f357fc prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeAlignmentTest.java
2a9b6e71c29729060615c10a99acc85496f9920c3bee3017fb184a61bd93961c prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsSpriteAnimationTest.java
f328dccad9f040c84d769cdeffa5d8783b78e86664a4187ff5c23c7cf81b7978 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSFrontendLanguageService.java
ff57258886cff5b367fdb78ee9518188aa98daffd7d6af44536757d3ccfb7b8f prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsCallableSlotCounter.java
4365be38ea866eced4606fbcf53e61992355f6bbdd8398b5418a01b2e68b464c prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsStdlibConstruction.java
bae95724d6b31f5367e6bd9ca96a7da1805be8141d30d506686e7f9a988b0bbb prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAst.java
73954236ba33bcbbdecf5f8f8b6c45dab8a7dd2488e032abd34a3c12cb0a659b prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAstRewriter.java
0985dcd45f200a0eb24da602827482f90499f790dcaa52719dc769da3893f71d prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java
d37d6e6cea1090e90913689f28db54cb0cf24e497fc3663c7ea2dc64f6f3ee4e prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringContext.java
73f8bf2d22a11191f43c51691d820a606e48c0c0f4fc746ec8ebefec71bbc0f3 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableLoweringService.java
c64c11ffce06554da57861c373f81897739c9f93b05c8f8559e292b19d1233b5 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableStackAnalyzer.java
ce9ad71e884ad106719ddbbe1db99f183b8fba75db237af08e089e280fd2401f prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java
5c6777b8d57027b18f3c19133628335af3a76008f629b9e3b44b8e5fa9bd47c5 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java
b5cc039430efbfacdc3720f72495bb661e50d195fb520cbf6dab31445147c9a4 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialSupportService.java
061c248e8de616e3ce8412b76930744248b1fd36e59454a05b91185bc27be7df prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport.java
d35633448a3023f837c743d2c96cfc0ccb1df23f2956d0d5934dc1824c686fc6 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.java
b65b02effea05dd9a10b32a9a03c9843a92c1ada9902ad19b14e0de7222cbb14 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsAnimationProjection.java
6965b8325f0b7da1a83f7581984b34ea00671d66085d3210488fb672941e390f prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsImportedSemanticContextService.java
4429e1dc0dfb27e1aa145011683c589b1a3f4502be1223ef03aa8b2cddc28f65 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsModuleAssemblyService.java
5907731d1a10036d50021fe8263c2e8f9f2b79d0fddfb9a70b2d8449b42aecbc prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/animation/main.pbs
36e78b0dafd0a4e5f4b63499a5f197870d9abaa5a2c02364339ffde3a87c3862 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/animation/mod.barrel
61b530fa321c3e69983c8c6e0a48503534a280a9d4b266cd1b62a5fe54d9d382 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/sprite/main.pbs
29c4ffff336a54ab874ed8dce996ebd877f7b3145cdf5844836bff9a2f3757f8 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/core/sprite/mod.barrel
c92f3ab13a0cd2cb2e2adba7b236ce1282b89733d3dde0b1e396da950a7b7552 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/composer/main.pbs
639beb705a61799351f22109b5356520498824f326ab1af1fd711daef4cdf641 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/ANIMATION.md
2567aca3b9e0a733871c2f736c7f0a4ce43415cf5b43dddfaf93963cd6db19c6 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/animation.pbs
be65d777f43e82312d565816442bbb565dd00c6005c606a11ced58dbe6dc6f97 prometeu-compiler/prometeu-build-pipeline/build.gradle.kts
f4ec6a28525d2493d6d160409437016bf8973cc2cc01a6fe072a364fe50c29c3 prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/models/BuilderPipelineContext.java
8d6e05a68ebb707442356b9b2975d80a412b6993fe62789c6cbbbc9243e732a3 prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/AssetSurfaceContextLoader.java
c9a0ee7309b022c872346a8d7125ac6d24fa77778b9ae2dbfbca003caf6d8213 prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/FrontendPhasePipelineStage.java
9a76574ee95514c0bd69d1468f55216984dd57210efc2677798dfbb899f53b81 prometeu-compiler/prometeu-frontend-api/build.gradle.kts
bf4e92a43215d760967e476bf899d0cf9f42ab26ba74c0a4bcb40f22248c8788 prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/FESurfaceContext.java
bc7d38ec152c1ff250d45d3eeab1b00fe9a9c83fc384599e0f9c0a161c654863 prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendSourceDocument.java
6ec24293d82e3606663acf993106a6275094c47be0da28d720762700a56373cf prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/LspServerLifecycleImpl.java
9bf8484492e08ff3f4839d7e8022e3737d85a2e663987187c86235406eba8ac5 prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java
2f391046cc51604d00a1876cdc99495421d9893a324bd8b2c28edf5d59853a9c prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/ExternalSourceRegistry.java
ec8702d093e5845b47312b65cab4421a632f9c57f075843e22570c91fff2365d prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/ExternalSourceLanguageServer.java
82fa22592d2a24a79745f08aae456682994a2994ad2957c66d5ac2d51cfd3d44 prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/protocol/PrometeuLanguageServer.java
404b12a9131b6aa1607cec4c81bda55e8a403db329494f1e9a386247d4236027 prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/ExternalSourceRegistryTest.java
13079954d52a51b77880ee5988349323eb427b09001f47d1a48f0fa7532aa0c6 prometeu-packer/prometeu-packer-api/src/main/java/p/packer/PackerWorkspaceService.java
c35b1ea511199fc91dab4a7401e37d8a91c0a7debcdfe2b516194fae26ffadb1 prometeu-packer/prometeu-packer-api/src/main/java/p/packer/dtos/PackerGlyphBankLayoutDTO.java
d2659d7d9627557e907dd8e77d490c63ea72f2b3e33252601b43c66be78b953a prometeu-packer/prometeu-packer-api/src/main/java/p/packer/messages/GetGlyphBankLayoutRequest.java
8b686dd77199cf275ced2101c6351bec4876ec1dfc0dbf723d3c826e68d9a1b4 prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/repositories/PackerAbstractBankWalker.java
276d878ce8e864e4d3badbc54bae754935d7ff565f72b150d76b34be443e0a22 prometeu-packer/prometeu-packer-v1/src/main/java/p/packer/services/FileSystemPackerWorkspaceService.java
af1a00db5a065f178fe3f09c487cc8e7f5bfe3da20162ea4584740e1e090a3ce prometeu-studio-api/build.gradle.kts
c9570929f5b3b7e99a42ba7f1784f763a4f35c9896bd3998385a3a3a1e8562fd prometeu-studio-api/src/main/java/p/studio/api/assets/AssetSummary.java
5581216eb1e3fbc09651120b889f75ec6619e6f4b0489bb0f6dfdd91794d0347 prometeu-studio-api/src/main/java/p/studio/api/assets/animation/AnimationService.java
fc5542118b270ada7c6ea383187028af87920192d7358b6a011adddf114c3af2 prometeu-studio-api/src/main/java/p/studio/api/assets/animation/AnimationTasks.java
4435e427529b0a7ebef4e98dc870e7598ec5d647578b9c3cecfcee2a717bada8 prometeu-studio-api/src/main/java/p/studio/api/assets/workspace/AssetWorkspaceAssetSummary.java
a8e67f1a3877be23f59c191eb40fbb2036088e53836e8dc13c2c99a43778fdf8 prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java
455af9c0f133ab62a70f30758208afd337a202c7a92b8c4064cc1c977ecd39a8 prometeu-studio-core/src/main/java/p/studio/core/assets/AnimationOperations.java
4e3db0ca8c1b47ac2f8d253188fb93a7d3c6fdccf8f755ab898b3f41181c27f6 prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetCatalog.java
7cd160b03ca0ef1892ed1c8ac1713ab541a4691bdc66680514907ecb0b260ea4 prometeu-studio-core/src/main/java/p/studio/core/assets/PackerAssetDetails.java
420a53d8a86c6e3e2d66022f03a616396fa863e2632be4346d470d9808d4e17f prometeu-studio-core/src/main/java/p/studio/core/assets/animation/AnimationPreviewRenderer.java
f19f1fb878eeeb5b4167602520042e271f9102c0aef796e7ffe0c5590d88f52a prometeu-studio-core/src/main/java/p/studio/core/assets/animation/DefaultAnimationService.java
aaddecc065e53d8942e594cc2e3efe969988084aa7ca30906acfa5f730359c08 prometeu-studio-core/src/main/java/p/studio/core/assets/animation/ManualAnimationService.java
678c32d2cbd9f7d4a31737263fa1f2e56c7bfe4b83e168d9a79448a4c7906761 prometeu-studio-core/src/main/java/p/studio/core/session/TaskAnimationService.java
cb5fa3bd1d1384145e0cba59bdf18ad8f288949526ec6d00936089ba5a695a0b prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/events/StudioAnimationOriginRequestedEvent.java
a06eaf5fdf327388ca00073e33deb7751bd97a766161d594d51c7180799f5e04 prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/MainView.java
0f928aaf0e3d6cdc5224e7373ef3afa951d810ee8803b0632d07c56fd997d7ca prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/StudioWindowCoordinator.java
be51cd5bb0e91986578d4a33c510f1728f66f31011f89ce43c05963f9c5239c1 prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/AssetWorkspace.java
b95ec37e9554f5fc4f6d48dc5cb13357b36cdc476341898c69ed3ac78d5babd5 prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/AssetDetailsControl.java
bdbb2d8fcab150c398da0a41dec219f97f6b4329d5676b15e01ad3cf8ae6080a prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/AssetListMappings.java
4701d71fc568480a3c204d117a321cd1e398d4b29bdcc4b498396bbe9343d288 prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/assets/details/animation/AnimationEditorControl.java
0242e87b38301dcd768b604747c368893317b3efe228f5125c821bba933b5e47 settings.gradle.kts
625305ac75a2319dd3a1cee9db450bbeb31a60d85a35b9fc03afbd0ad3441e60 tools/pbx-conformance/README.md
6c1b543960bd0ecabcd4cf89ef3cb6646df2b909cb2cf9e6965c59225a0e1a3f tools/pbx-conformance/animation.rs
51bbebb411078bf4d8336e28d35e438aba49c47deebb3ffbd55859fbda80c432 tools/pbx-conformance/main.rs
7829e50105fc9bc3ced056aa8a34714a644908483532f154a437fa41928122ab tools/pbx-conformance/result.rs
29a6623d2ba1ff3d3e1b0017a2fc10cbb790dfc7126dabf999c75250d9d9ce30 tools/pbx-conformance/run.py
ff7669746d0cb7167a84e3e383d3570968888bbedde812a79a6aaefac2a74f7e tools/vscode-extension/out/extension.js
2ba64626f79b7fe8abeb260ce8572dfd8bb1f4dfcbe8c65e5eaf2e512fecbfe7 tools/vscode-extension/out/externalSources.js
b4a1e93075da5bb89d37d5196110a4aa0ce9070f55692827eef70e9d6d9d01d1 tools/vscode-extension/package.json
2e7babd6f2272c0f96aa3d65bf4bf940dd6e2a4e5cd91f149d7d17ef40b22039 tools/vscode-extension/src/extension.ts
3fec63d03afe610d4a5d0eb7c9ff5758af5bec076d4cd01adbb8da6ba1f0fbec tools/vscode-extension/src/externalSources.ts
@@ -0,0 +1,18 @@
$ discussion mark-plan PLN-0162 done
marked plan PLN-0162 done for DSC-0098
$ discussion housekeep DSC-0098 --lesson discussion/lessons/DSC-0098-pbs-core-sprite-animation/LSN-0100-sprite-animation-and-shared-authoring.md
housekept DSC-0098
removed workflow artifacts: 3
registered lesson: LSN-0100
$ discussion validate
validation passed
$ discussion inspect DSC-0098
DSC-0098 done pbs-core-sprite-animation
PBS Core Sprite and Animation
tags: compiler, pbs, core, stdlib, sprites, animation
lessons:
- LSN-0100 done exists /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/discussion/lessons/DSC-0098-pbs-core-sprite-animation/LSN-0100-sprite-animation-and-shared-authoring.md
@@ -0,0 +1,84 @@
---
id: LSN-0101
ticket: pong-playable-test-project
title: Pong as the First Playable Studio Game
created: 2026-11-05
tags: [studio, pbs, game, pong]
---
## Context and result
Owner: **studio/project PBS**. DSC-0101 / DEC-0085 / PLN-0163 delivered
[Pong](../../../test-projects/pong/README.md) in a project created by the user
through Studio. It is a bounded first game originating from the broader AGD-0088
discussion. After this delivery, the user explicitly abandoned AGD-0088 / DSC-0086
on 2026-11-05. Its unfinished qualification matrix is no longer active work;
additional games or renewed qualification require a separate request and discussion.
The implementation is in Studio commit `b2410e6e`. It preserves app ID 1508740446
and supplies one player against a slower deterministic CPU, first to five points,
with menu, serve, play, pause and result states. Existing Color/Gfx and Pad/Button
APIs provide rendering and input. It needs no authored art, audio, persistence,
engine change or runtime repository write.
## Keep the first game small and inspectable
The [saved source](../../../test-projects/pong/src/main.pbs) separates input,
state transitions, simulation and drawing. The 480×270 display has an explicit
court boundary. The player moves four pixels per tick; the CPU moves two and
tracks the ball only after it enters the CPU's half.
Ball positions use integer quarter pixels. Four bounded substeps advance one game
tick; the maximum horizontal movement per substep is 1.75 pixels, below the
eight-pixel paddle width. Collision checks require an incoming ball, restore its
position outside the paddle and choose a bounded outgoing angle from the impact
offset. A goal returns immediately after scoring, preventing a second score in
the same tick.
One state branch executes per frame. Held Up/Down move the paddle; pressed
A/Start/B drive transitions. Pausing returns before physics. Resume restores the
prior phase. A new match clears both scores and resets positions; reaching five
enters the result state. These properties can be reviewed directly without an
additional game framework.
## Execution evidence and its limits
Studio saved-source diagnostics returned no diagnostics and a Studio build
succeeded during implementation. That access used an adapter script, which the
user rejected as an adequate test of native Studio tooling. A working transport
does not establish native tool registration or complete Studio authoring coverage.
The acquired agent task was released; the agent started no headless game process.
The user's first Play attempt reported a missing runtime setting. After updating
Studio, the user reported Pong running successfully. No runtime code fix was
needed. Housekeeping also observed a complete newer build at 17:12:51 UTC on
2026-11-05. Its hashes are retained in the shared
[build observation](../DSC-0102-sample-project-sdk-refresh/evidence/build-artifacts.json).
The user subsequently identified these deliveries as already executed and
concluded. This closes the first-game delivery. Pause, scoring and reset were
reviewed in source; no individual live input replay, full-match trace, captured
frame or native MCP authoring qualification is claimed. The user's subsequent
abandonment of the parent discussion preserves these evidence limits and the
completed Pong delivery without carrying forward the unfinished qualification
as active work.
## Pitfalls
- Treating all platform capabilities as prerequisites for the first small game.
- Conflating a successful Studio build, a user Play report and a scripted runtime
trace. Each establishes a different part of the result.
- Replacing unavailable native tools with a custom transport and describing that
route as native connector validation.
- Reading an old draft handoff as the final state after the user has built and
played the project. Reconcile saved artifacts and later feedback before cleanup.
- Restarting a rally when resuming or applying one input edge to multiple states.
## References
- Retired delivery artifacts: DSC-0101, DEC-0085 and PLN-0163.
- [Controls and Studio workflow](../../../test-projects/pong/README.md).
- [Source exports](../../../test-projects/pong/src/mod.barrel).
- [Sample compatibility refresh](../DSC-0102-sample-project-sdk-refresh/LSN-0102-refreshing-samples-without-changing-their-identity.md).
- [Sprite animation and shared authoring](../DSC-0098-pbs-core-sprite-animation/LSN-0100-sprite-animation-and-shared-authoring.md)
is a separate capability; this primitive-rendered game does not qualify it.
@@ -0,0 +1,112 @@
---
id: LSN-0102
ticket: sample-project-sdk-refresh
title: Refreshing Samples Without Changing Their Identity
created: 2026-11-05
tags: [studio, pbs, samples, packer]
---
## Context and result
Owner: **studio/project PBS**, with existing compiler/SDK and Packer contracts as
dependencies. DSC-0102 / DEC-0086 / PLN-0164 refreshed `test-projects/main`,
`test-projects/fragments` and the sibling `../ai-first-smoke`. Pong gameplay was
preserved. Studio changes are in commit `b2410e6e`; the sibling is outside this
Git repository and its changes remain local.
The maintenance preserved application and asset identities, image/palette data,
sample geometry, user configuration and archived cartridge binaries. No SDK or
runtime source changed. The durable lesson is to repair API and lifecycle usage
while retaining each demonstration's original behavior.
## Translate the old representation explicitly
The smoke sample now imports Pad/Button and uses `Pad.down(Button.Left)` and the
other held directions. It combines direction changes before clamping, so opposite
directions cancel even at an edge. It retains the 16×16 blue square at (232,127),
normal speed one, B-held speed three, bounds x=0..464/y=0..254 and its label.
Its obsolete runtime path was replaced with the valid installation already
selected for the test projects. Native connector guidance replaces token copying.
The [fragments sample](../../../test-projects/fragments/src/main.pbs) retains
RGB565 palette arithmetic while constructing current Color values explicitly:
```text
r5 = (value / 2048) % 32
g6 = (value / 32) % 64
b5 = value % 32
Color.rgb(r5 * 255 / 31, g6 * 255 / 63, b5 * 255 / 31)
```
The helper uses long channel arithmetic required by the current API. Geometry
remains a 320×180 logical field with eight-pixel cells; changing the color carrier
does not require changing the effect or its coordinate system.
## Use the assets and lifecycle the project already owns
The [main sample](../../../test-projects/main/src/main.pbs) uses its existing
preloads: asset 15 in glyph slot 0, asset 17 in glyph slot 1 and asset 18 in scene
slot 0. It binds the preloaded scene during Frame, checks status and retries on a
later frame if binding fails. Init resets state. Touch-driven sprite frames,
camera motion and input examples remain.
Only the missing atlas and empty sound registration were excluded from build.
Their registrations and IDs remain intact. Removing identities or inventing new
assets would have turned a compatibility repair into a content migration.
The [main launcher](../../../test-projects/main/run.sh) and
[fragments launcher](../../../test-projects/fragments/run.sh) resolve their own
project directory, require the complete current build and select the configured
runtime. An explicit environment override is honored; the existing symlink is an
unset-setting fallback. A configured invalid runtime fails clearly. Launching the
current build avoids copying only some files into an obsolete cartridge directory.
Cache ignore rules were added; previously tracked caches were preserved.
## Reconcile the latest evidence before housekeeping
The commit recorded successful shell syntax, JSON, asset identity/image
preservation and whitespace checks, and accurately reported build/pack verification
as pending at that time. Later review found complete output sets newer than the
changed sources for all four projects on 2026-11-05:
| Project | Program emitted (UTC) | Program bytes | App ID |
| --- | --- | ---: | ---: |
| ai-first-smoke | 17:12:14 | 11,523 | 691820361 |
| fragments | 17:12:32 | 15,954 | 477476525 |
| main | 17:12:40 | 14,000 | 377753220 |
| Pong | 17:12:51 | 31,912 | 1508740446 |
Every set contains `program.pbx`, `assets.pa` and `manifest.json`. Main's manifest
contains exactly its active assets/preloads 15, 17 and 18. The
[artifact observation](evidence/build-artifacts.json) retains timestamps and hashes
of saved sources and emitted files without committing generated cartridges.
The user identified the deliveries as already executed and concluded. Housekeeping
therefore reconciles the stale plans with completed implementation, current build
outputs and that feedback. These observations do not establish who invoked each
build or supply a clean language-query transcript. The user's explicit live-game
report covers Pong; smoke controls and sample preservation were reviewed in source.
No per-sample runtime trace, native MCP session or exhaustive UI qualification is
claimed. Retaining these limits keeps closure evidence useful for future work.
## Pitfalls
- Passing packed RGB565 integers into a current RGBA API without conversion.
- Binding a preloaded scene at the wrong lifecycle phase.
- Loading an atlas that is absent while the required banks are already preloaded.
- Deleting asset identities to suppress diagnostics instead of correcting build
inclusion for unavailable content.
- Launching old bytecode beside new metadata, or silently ignoring an invalid
configured runtime in favor of another installation.
- Treating a sibling directory as part of the current commit.
- Keeping a plan open solely because its earlier pending-build note was never
reconciled with newer outputs and user feedback.
## References
- Retired maintenance artifacts: DSC-0102, DEC-0086 and PLN-0164.
- [Main guide](../../../test-projects/main/README.md) and
[fragments guide](../../../test-projects/fragments/README.md).
- [First playable Pong](../DSC-0101-pong-playable-test-project/LSN-0101-pong-as-the-first-studio-game.md).
- External local smoke source and guide: `../ai-first-smoke/src/main.pbs` and
`../ai-first-smoke/ACCEPTANCE.md`, relative to the Studio checkout.
@@ -0,0 +1,199 @@
{
"observed_utc": "2026-11-05T17:36:00+00:00",
"owner": "studio/project PBS",
"discussions": [
"DSC-0101",
"DSC-0102"
],
"studio_implementation_commit": "b2410e6edcd66d6ca66b1fc845244e1f38595247",
"observation_method": "Read existing saved files and emitted build artifacts during housekeeping; no build or game process was launched by this observation.",
"evidence_limits": [
"Artifacts establish emitted compile/pack output, not a clean diagnostics transcript or a complete runtime behavioral trace.",
"No native MCP operation log or headless input replay is supplied for the observed builds.",
"The user reported Pong running after updating Studio; per-control runtime scenarios are not individually recorded.",
"The sibling ai-first-smoke is outside the Studio Git repository; its local edits are not included in the Studio commit."
],
"projects": [
{
"root_relative_to_studio": "../ai-first-smoke",
"app_id": 691820361,
"sources": [
{
"path": "../ai-first-smoke/src/main.pbs",
"bytes": 1110,
"modified_utc": "2026-11-05T16:35:33+00:00",
"sha256": "97455d44b39084e56f05eaf760389f0ab8e28e944fed049b0204f018025d43c9"
},
{
"path": "../ai-first-smoke/src/mod.barrel",
"bytes": 47,
"modified_utc": "2026-09-29T11:14:06+00:00",
"sha256": "6acc9d676668c7fa935ef33e5d8487ac70d664154dc5851a46737c8b29f62129"
}
],
"artifacts": [
{
"path": "../ai-first-smoke/build/program.pbx",
"bytes": 11523,
"modified_utc": "2026-11-05T17:12:14+00:00",
"sha256": "dde90da091ad14badd97082ece694dd596d39219849f9fdc43c9a06469532832"
},
{
"path": "../ai-first-smoke/build/assets.pa",
"bytes": 63,
"modified_utc": "2026-11-05T17:12:14+00:00",
"sha256": "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276"
},
{
"path": "../ai-first-smoke/build/manifest.json",
"bytes": 227,
"modified_utc": "2026-11-05T17:12:14+00:00",
"sha256": "28744a0734a0f7e701d79e91b7e8117c4c38bf2b926a99f78f66ca918965fdd3"
}
],
"all_outputs_newer_than_saved_sources": true,
"packed_asset_ids": [],
"preloads": []
},
{
"root_relative_to_studio": "test-projects/fragments",
"app_id": 477476525,
"sources": [
{
"path": "test-projects/fragments/src/main.pbs",
"bytes": 4868,
"modified_utc": "2026-11-05T16:25:53+00:00",
"sha256": "418a2edade2170d9e903ea1c1ca60d870419659560c5b2644290e4f8245befe8"
},
{
"path": "test-projects/fragments/src/mod.barrel",
"bytes": 23,
"modified_utc": "2026-04-10T05:09:46+00:00",
"sha256": "013d9824a525aa8f78d878c16a71c8f461abc867fdcb2700f6b1684d5dce5977"
}
],
"artifacts": [
{
"path": "test-projects/fragments/build/program.pbx",
"bytes": 15954,
"modified_utc": "2026-11-05T17:12:32+00:00",
"sha256": "09e0f4059861b2951579b18c15b32016a13b87aa45aeca5a121e5f5211ff223a"
},
{
"path": "test-projects/fragments/build/assets.pa",
"bytes": 63,
"modified_utc": "2026-11-05T17:12:33+00:00",
"sha256": "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276"
},
{
"path": "test-projects/fragments/build/manifest.json",
"bytes": 222,
"modified_utc": "2026-11-05T17:12:33+00:00",
"sha256": "90b2d02f3cf4f7cdda4216ec1264d93595ff3a5b57bb3f51042378f14ccad10b"
}
],
"all_outputs_newer_than_saved_sources": true,
"packed_asset_ids": [],
"preloads": []
},
{
"root_relative_to_studio": "test-projects/main",
"app_id": 377753220,
"sources": [
{
"path": "test-projects/main/src/main.pbs",
"bytes": 2193,
"modified_utc": "2026-11-05T16:25:53+00:00",
"sha256": "20219dd7b340bbb3d750d684e108cefa75e65a4c10f171fb7b42fedf98b71d9f"
},
{
"path": "test-projects/main/src/mod.barrel",
"bytes": 23,
"modified_utc": "2026-04-10T05:09:46+00:00",
"sha256": "013d9824a525aa8f78d878c16a71c8f461abc867fdcb2700f6b1684d5dce5977"
}
],
"artifacts": [
{
"path": "test-projects/main/build/program.pbx",
"bytes": 14000,
"modified_utc": "2026-11-05T17:12:40+00:00",
"sha256": "dec3519f6699895e8bf511c73841272e9164b0b34f420ef871ae53f02241fa59"
},
{
"path": "test-projects/main/build/assets.pa",
"bytes": 108383,
"modified_utc": "2026-11-05T17:12:40+00:00",
"sha256": "6b9788cf67350691e8e35c40f8dc40975f7acda5467b99fd6177c318cdaeed5f"
},
{
"path": "test-projects/main/build/manifest.json",
"bytes": 1319,
"modified_utc": "2026-11-05T17:12:40+00:00",
"sha256": "36c2761bf293cdd318189bdfb991cc837807bb3fdf5b43bcba5d915a788b3fe7"
}
],
"all_outputs_newer_than_saved_sources": true,
"packed_asset_ids": [
15,
17,
18
],
"preloads": [
{
"asset_id": 15,
"slot": 0
},
{
"asset_id": 17,
"slot": 1
},
{
"asset_id": 18,
"slot": 0
}
]
},
{
"root_relative_to_studio": "test-projects/pong",
"app_id": 1508740446,
"sources": [
{
"path": "test-projects/pong/src/main.pbs",
"bytes": 9008,
"modified_utc": "2026-11-05T16:05:30+00:00",
"sha256": "4552610167814b961596e3720d2f1fef11f4e1635324331df2ed3bc26db0620a"
},
{
"path": "test-projects/pong/src/mod.barrel",
"bytes": 47,
"modified_utc": "2026-11-05T16:05:30+00:00",
"sha256": "6acc9d676668c7fa935ef33e5d8487ac70d664154dc5851a46737c8b29f62129"
}
],
"artifacts": [
{
"path": "test-projects/pong/build/program.pbx",
"bytes": 31912,
"modified_utc": "2026-11-05T17:12:51+00:00",
"sha256": "302f9d82420fcb9f2f535b6344ee1f6d1f5e5de6a23666a64fb697c1a0117914"
},
{
"path": "test-projects/pong/build/assets.pa",
"bytes": 63,
"modified_utc": "2026-11-05T17:12:51+00:00",
"sha256": "dc609689d0e1a6ea46b27133bab5851e9f9a8b5f0cb6503bf3503c9afb48a276"
},
{
"path": "test-projects/pong/build/manifest.json",
"bytes": 218,
"modified_utc": "2026-11-05T17:12:51+00:00",
"sha256": "da1c35e4861d8f9fdb2b9a66a8170c83e4bb103c0f4b8359727f17d6dc0fe2d0"
}
],
"all_outputs_newer_than_saved_sources": true,
"packed_asset_ids": [],
"preloads": []
}
]
}
@@ -0,0 +1,56 @@
# Discover project services through session metadata
Owner: studio. Completed through AGD-0105, DEC-0087 and PLN-0165.
## Original problem
The app correctly assigned a loopback LSP port to each open project, but VS Code
still assumed 7775. Every refusal produced another attempt and error popup after
two seconds. Manually copying a port worked only until the next Studio session.
## Consolidated decision and implementation
An ephemeral service needs a discoverable identity as well as an address. Studio
now atomically publishes `.studio/lsp.json` when the project server starts. The
record contains schema version, canonical project root, process identity, session
identity and actual loopback endpoint. Publication failure rolls back server boot;
shutdown removes only metadata matching the owning session. This non-secret file
is separate from automation credentials and grants.
The extension defaults to discovery for one local project root. It rejects malformed,
misbound and non-loopback metadata and ignores dead-process records. Discovery
file and workspace/configuration changes trigger serialized reconnection. Missing
metadata means waiting for Studio. Backoff progresses through 2, 4, 8, 16 and 30
seconds, resets on success, and is cancelled during shutdown. Status is visible
without recurring connection-error dialogs. Explicit manual mode preserves other
LSP hosting arrangements; automatic mode never guesses a fixed port.
For example, open `zelda-1` in Studio and the same folder in VS Code. Reopening
Studio may change the port; VS Code reads the new discovery record automatically.
Older running binaries must be rebuilt and restarted before they can publish it.
## Pitfalls
- A live process ID alone is not a project binding: validate the canonical root and
keep the LSP server's initialize-time root validation authoritative.
- A new server session invalidates old SDK consumer identities. Reset those before
reconnecting; retain old virtual-document text, and navigate again for fresh URIs.
Short socket reconnects to the same session can retain consumer identity.
- languageclient 9 may invoke stop while failed initialization is still Starting.
The adapter waits for start settlement before stopping, avoiding an unhandled
rejection during a failed handshake.
- A successful socket test does not prove file watching and editor recovery. Use a
real isolated Extension Development Host to exercise publication and replacement.
## Validation and limits
97 application tests passed, including four new real ephemeral-server discovery
lifecycle tests. Two Node tests cover malformed/missing/stale/misbound metadata,
canonical symlink roots, replacement and capped backoff. TypeScript compilation
passed. The isolated real VS Code gate passed starting without discovery, file
creation, server replacement on a new port, continued project queries, manual mode,
SDK navigation and ordinary project editing. This gate uses a development-classpath
LSP host, not a packaged Studio installation or the user's active Zelda editor.
No runtime files were changed and no commits were created.
## References
- [Project-local state specification](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md)
- [Extension operation](../../../tools/vscode-extension/README.md)
- `LspLifecycleAdapter`, `LspDiscoveryTest`, `discovery.ts` and
`ExternalSourceDevelopmentHostTest` contain the executable contract.
@@ -0,0 +1,120 @@
---
id: LSN-0113
ticket: compiler-game-production-reliability
title: Coordinating Compiler Reliability and Diagnostic Delivery
created: 2026-11-11
tags: [compiler, pbs, studio, diagnostics, coordination]
---
## Original problem and scope
**Owner:** compiler, production reliability and diagnostic coordination.
**Discussion:** DSC-0104 / AGD-0106. This lesson records the completed umbrella;
technical decisions, implementation and original evidence remain in its three
owner discussions.
Production feedback described rejected expressions, modular composition problems,
workarounds using locals or renaming, and verifier failures identified only by
function or PC. These reports did not establish one common compiler defect.
The accepted direction was a reduced corpus with valid controls, corrections for
demonstrated causes, and structured diagnostics reaching the AI and human views.
The user explicitly organized the agenda as an umbrella. Its two deliveries were
preserved: first faithful end-to-end diagnostics/results, then corrections of the
reproduced PBS failures. The umbrella coordinated handoffs and integrated acceptance;
it did not introduce another global technical decision or implementation plan.
The user's 2026-11-11 housekeeping request closes this completed coordination.
## Final result and ownership
| Delivery | Owner and durable reference | Qualified result |
| --- | --- | --- |
| Common compiler attribution | compiler, [LSN-0104](../DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md), DEC-0089 / PLN-0167 | Faithful available source attribution, structured rejection and stage results; 704 tests, 691 passed and 13 skipped. |
| Public results and projections | studio, [LSN-0105](../DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md), DEC-0090 / PLN-0168 | Compiler/LSP results preserved through neutral services, authenticated MCP and applicable FE projections; 869 tests, 856 passed and 13 skipped. |
| Reproduced product corrections | compiler/pbs, [LSN-0106](../DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md), DEC-0088 / PLN-0166 | All eight reproduced valid sources corrected; complete 28-case corpus, 168 compilations and 108 guest executions. Required suites: 724 tests, 711 passed and 13 skipped. |
These are separate historical qualification runs, not additive coverage totals.
Each has zero failures/errors. Skipped cases are not passes.
The [closure record](evidence/closure.json) identifies and hashes the original
qualification records without replacing their evidence.
The user accepted the first integrated delivery on 2026-11-10 and released the
second-delivery dependency with “vamos impl o plan 166 dado que agora podemos.”
This gate release preceded product edits. The corrected causes were operand
context, executable sibling surfaces admitted by the barrel, and nominal owner
identity with canonical origin. The eight original valid sources passed without
renaming, import changes or boundary changes. Eighteen valid controls remained
valid; the file-private negative remained rejected. The execution matrix includes
104 normal successes of three frames and four deliberate faults; all guest
sessions terminated. Seven additional controls provided 42 compilations and
16 executions, documented separately in the child lesson.
The diagnostic proof includes real LSP and authenticated MCP, successful analysis
with no issues, controlled backend/verifier fixtures and an inspected JavaFX view.
A later independent MCP/LSP check covers the corrected positives and file-private
negative. Historical first-delivery failures remain immutable evidence of the
before state; they are not rewritten as post-correction results.
## Contracts preserved across handoffs
Program rejection and failure to perform an analysis are different outcomes.
A failed or timed-out LSP query must not become an empty successful diagnostic
list. Structured producer codes, phases, facts, explanations and source context
must survive adapters. Missing source spans, executed PCs or causal attribution
remain unavailable rather than being invented.
Shipper remains internal. Public specialized automation services aggregate build
and pack outcomes, and FE/MCP project that same result. Completing a stage is
progress; final success depends on the aggregate. Compiler/LSP details do not
occupy the native `runtimeError` field. Task/project authority, request correlation,
cancellation and worker termination remain part of the service contract.
The common backend remains independent of PBS, and neutral Core remains independent
of transport DTOs. PBS visibility, initialization, boolean evaluation, PBX and
machine capacities were not loosened to make the corpus pass.
## Limits and external coordination
Historical Zelda BAD_RET and unsupported Scene reports remain **not reproduced**.
Closing this umbrella does not label those reports corrected. The PBS correction
matrix identifies the existing debug executable by hash; it does not qualify an
installed runtime distribution. The initial diagnostic delivery's partial coverage
of pack/assets/configuration revisions remains an explicit limit of that evidence.
Later child or external deliveries do not retroactively widen historical claims.
Related production work stays separate:
- [LSN-0107](../DSC-0108-pbs-production-contracts-executable-examples/LSN-0107-quoted-project-identities-and-installed-authoring-contracts.md) preserves installed PBS contracts/examples.
- [LSN-0108](../DSC-0109-pbs-logical-viewport-composition/LSN-0108-composition-reference-coverage-and-studio-boundaries.md) records the accepted composition-reference evaluation and its compiler/PBS content handoff. It introduced no Studio product change, third delivery or closure prerequisite here.
- [LSN-0109](../DSC-0110-studio-headless-lifecycle-observability/LSN-0109-immutable-runtime-observations-and-control-return.md), [LSN-0110](../DSC-0105-studio-visual-regression-artifacts/LSN-0110-original-checkpoints-and-reviewed-visual-evidence.md) and [LSN-0111](../DSC-0106-studio-isolated-guest-test-targets/LSN-0111-isolated-guest-targets-and-complete-structured-results.md) consolidate lifecycle, original visual evidence and isolated guest tests.
- [LSN-0112](../DSC-0107-studio-agent-asset-authoring-budgets/LSN-0112-shared-asset-batches-and-qualified-residency.md) closes shared asset authoring and qualified glyph/scene budgets. Sound was explicitly removed from that wave.
No runtime write or commit is authorized by umbrella coordination. Provider
changes require their own explicit scope and write authorization, with commit
authorization separate.
## Reusable coordination pattern and pitfalls
Keep implementation and evidence with their domain owners. An umbrella should
track requirement coverage, dependency direction, explicit integrated acceptance
and final closure. This avoids both a central plan that mixes domains and circular
closure dependencies between children and their coordinator.
Do not equate opening children with delivering work, local completion with
integrated acceptance, or non-reproduction with a correction. Do not add related
work as an implicit prerequisite after the accepted scope is fixed. Preserve
before/after evidence and name the actual executable and observation limits.
The current discussion CLI does not model umbrella/child relationships or handoff
dependencies. Canonical links in lessons preserve those relationships; no manual
index fields are invented. A generic `add-decision` suggestion for an accepted
umbrella agenda does not require creating a redundant global decision. The CLI
still owns deterministic housekeeping and index updates.
## Specification references
Implementation propagation remains owned by the child lessons, including
[Compiler 15](../../../docs/specs/compiler/15.%20Bytecode%20and%20PBX%20Mapping%20Specification.md)
and [Studio 9](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md).
Housekeeping changes documentation and workflow state; it introduces no product
behavior or new implementation requirements.
@@ -0,0 +1,54 @@
{
"schemaVersion": 1,
"discussion": "DSC-0104",
"agenda": "AGD-0106",
"owner": "compiler/production-reliability-coordination",
"closureRequestedByUser": "AGD106 housekeep tb",
"verifiedAtUtc": "2026-11-11T01:19:45.321952+00:00",
"children": [
{
"discussion": "DSC-0111",
"workflowStateVerifiedBy": "discussion inspect",
"workflowState": "done",
"qualificationPath": "discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/evidence/qualification.json",
"qualificationSha256": "183d167d16a416112ce40bfb7b3016313a49dca3bae88828f7353110791d1507",
"historicalQualificationStatus": "passed"
},
{
"discussion": "DSC-0112",
"workflowStateVerifiedBy": "discussion inspect",
"workflowState": "done",
"qualificationPath": "discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/evidence/qualification.json",
"qualificationSha256": "1e2d93157f4954609b55ac26fba98d47d61fd9b70c42171c6bd54f42499b7565",
"historicalQualificationStatus": "local-compiler-qualified"
},
{
"discussion": "DSC-0113",
"workflowStateVerifiedBy": "discussion inspect",
"workflowState": "done",
"qualificationPath": "discussion/lessons/DSC-0113-studio-ai-first-build-language-results/evidence/qualification.json",
"qualificationSha256": "97d2f19cc9d105b3216d7078cdaaa9e09b481612643c5a335d3fe86ed14e97c3",
"historicalQualificationStatus": "passed"
}
],
"firstDeliveryAccepted": "2026-11-10",
"secondDeliveryGateRelease": "vamos impl o plan 166 dado que agora podemos.",
"deliveriesComplete": [
"common compiler attribution and public Studio results",
"demonstrated PBS corrections with complete corpus and controls"
],
"limitsPreserved": [
"historical Zelda BAD_RET/Scene reports remain not reproduced",
"debug-runtime corpus qualification does not qualify an installed runtime distribution",
"historical diagnostic revision coverage remains explicitly partial"
],
"backlinksUpdated": [
"discussion/lessons/DSC-0112-compiler-verifier-source-diagnostics/LSN-0104-faithful-compiler-attribution-and-structured-failures.md",
"discussion/lessons/DSC-0113-studio-ai-first-build-language-results/LSN-0105-explained-diagnostics-from-producers-to-studio.md",
"discussion/lessons/DSC-0109-pbs-logical-viewport-composition/LSN-0108-composition-reference-coverage-and-studio-boundaries.md",
"discussion/lessons/DSC-0111-pbs-production-reproductions-and-fixes/LSN-0106-pbs-production-binding-and-lowering-corrections.md"
],
"productChanges": false,
"newTestRun": false,
"validation": "existing immutable child qualification records reviewed; workflow and local lesson references checked"
}
@@ -0,0 +1,196 @@
---
id: LSN-0110
ticket: studio-visual-regression-artifacts
title: Original Checkpoints and Reviewed Visual Evidence
created: 2026-11-10
tags: [studio, automation, evidence, mcp, javafx]
---
## Problem and consolidated decision
**Owner:** studio, visual automation evidence. This lesson consolidates accepted
DEC-0093 and completed PLN-0171 from DSC-0105 / AGD-0107. It builds on the
[immutable lifecycle observation contract](../DSC-0110-studio-headless-lifecycle-observability/LSN-0109-immutable-runtime-observations-and-control-return.md).
A canonical advance already retained its own PNG and frame identity. Consumers
still needed scripts to transport, persist and compare that image, and a later
capture could accidentally replace the checkpoint under investigation. The
decision delivered the complete single-checkpoint flow through shared services:
persist the original operation result, import an authorized reference, compare,
inspect expected/actual/diff, and review a baseline explicitly as a human.
No sequence runner, extra server, automatic baseline promotion, resizing or
perceptual oracle was added. All eleven decision rules were implemented. No runtime
repository files were written and no commits were created.
## Result and evidence
**450 tests passed**, with zero failures, errors or skips, across API, Core,
JavaFX, application, architecture, desktop, installed runtime/media, MCP/desktop
and installed knowledge. [Qualification](evidence/qualification.json) retains
commands, suites/cases and source/report hashes. [Native checkpoints and raw
measurements](evidence/native-checkpoints-and-measurements.json) preserve the
actual results; [runtime provenance](evidence/runtime-provenance.json) identifies
the executed installation. The [inspector screenshot](evidence/inspector.png)
shows a deliberate one-pixel rejection, original coordinates and reviewed revision.
Independent hand-constructed RGBA fixtures cover exact pass, known failure, alpha,
transparent RGB, tolerance edges, half-open ROI, overlapping masks, empty regions,
dimension mismatch, bounds and diff. An installed native checkpoint additionally
proves persistence from the original operation across later frames, rebuild,
release and project reopen, with a deliberate one-pixel derived difference.
The derived image is not labeled an independent oracle.
The Zelda pilot uses a disposable copy and explicit memory_fresh media. Saved port
screen/HUD/scroll images retain their paths/hashes and external provenance. All
three contextual comparisons rejected; that is a retained comparison result,
not an operational failure or a claim of an independent NES oracle. Input checkpoint
labels identify the reference context and do not assert that every game transition
was reached. No comparison changed a baseline.
## Preserve the original, then compare
`DefaultEvidenceTools.persist` resolves a terminated operation and copies exactly
`TrackedOperation.runtimeResult().capture()`. There is no advance or native CAPTURE
call. The service retains project, task, operation/client-request, build, session,
logical frame and frameId provenance when available. Frame counters normalize to
lossless uint64-compatible values after storage round trips.
Publication request identity is separate from the original advance request:
```json
{
"projectRoot": "/project",
"taskId": "current-task",
"clientRequestId": "persist-checkpoint-1",
"sourceClientRequestId": "advance-checkpoint-1"
}
```
Repeating the same publication request and parameters returns the same immutable
publication. Changed parameters conflict. The parameter fingerprint includes the
authorized import selection and actual bytes without exposing grant tokens as
plain metadata. Lost responses can be recovered by publication request lookup
through list, including after a fresh task is acquired; guest work is not replayed.
An artifact has an opaque ID, SHA-256 of original bytes, byte size, MIME, dimensions
and immutable provenance. Current staleness is a separate view computed against
the live project capture. Rebuild or reset never rewrites historical identity.
## Publication is one atomic directory move
The application `FileEvidenceStore` owns `.studio/evidence/`. Each immutable
publication contains PNG objects and its record/report/revision. Staging writes
and file flushes precede an atomic directory move; only complete publication
directories are visible. Orphan staging is cleaned under the store lock and never
advertised as evidence. Published data survives process/project closure.
The default quota is 512 MiB, configurable through
`prometeu.evidence.quotaBytes`. Admission counts object and record bytes under a
shared JVM monitor and filesystem lock, so concurrent publishers cannot both
consume the same remaining space. Refusal reports used/required/limit and leaves
previous publications untouched. Nothing is evicted. Explicit deletion checks
report and baseline references before removing a publication.
Bounded reads validate ID, project namespace, range and integrity. A read is at
most 1 MiB; a whole PNG image is bounded to 32 MiB and decoded images to 16,777,216
pixels. Neither ID knowledge nor a local path grants project authority.
## Reference authorization is observed, not asserted by the caller
File import admits a canonical project path or an exact project-bound human
selection grant. Symlinks cannot bypass that rule. The adapter returns the
verified canonical path and whether human authorization actually matched;
supplying an arbitrary grant string cannot manufacture human-selected provenance.
Imported references have external origin and no invented runtime/frame identity.
Import does not review a baseline. The inspector asks for explicit confirmation
and the service acquires the existing human manual lease. The revision records
previous/new identity and reference origin, checks the expected previous revision,
and remains immutable. Agent grants disable human mutation while inspection stays
available. The MCP catalogue contains no baseline-approval or external-path-grant
operation. Failed, invalid or cancelled comparisons cannot trigger promotion.
## Deterministic pixels and explainable rejection
The PNG adapter expands original samples to neutral RGBA8 without gamma/profile or
perceptual correction. Core performs comparison without AWT/ImageIO/JavaFX types.
JavaFX uses the same neutral pixels for exact channel inspection; display zoom is
presentation only and does not alter comparison coordinates.
ROI and masks use original top-left coordinates and half-open rectangles. Invalid
bounds are rejected rather than clipped. Overlapping masks exclude their union
once inside the ROI; a region with no compared pixels is invalid. Explicit alpha
compare/ignore determines whether alpha participates, while RGB always does,
including at alpha zero.
Exact defaults allow zero channel error and zero differing pixels. A tolerant
comparison declares channelLimit 0..255 and allowedDifferentPixels. A pixel differs
when a compared channel exceeds the channel limit; maximumChannelError retains the
observed error before tolerance. BoundingBox is null without differing pixels.
Dimension mismatch returns its own rejection verdict without resize. Invalid
parameters, decoding, storage or authority failures are operational errors.
Reports retain normalized parameters, original expected/actual byte hashes,
verdict, compared/different counts, maximum error, bounds and all three artifact
IDs. Diff images preserve original dimensions: transparent black is excluded,
opaque green is compared within tolerance, and opaque red/yellow is different.
## Shared service, existing adapters
Task mutations use the existing project operation executor; human mutations use
the existing manual lease. Worker termination, revoke/reclaim and document handoff
remain authoritative. Already published evidence survives cancellation. Revoked
tasks are denied; a fresh authorized task can read same-project history. The local
bound human inspector remains read-only during an agent grant.
Eight studio_evidence tools add persist/import/compare/list/metadata/read/image/
delete to the existing authenticated MCP endpoint. Image results carry direct PNG
content; bytes and metadata use IDs and bounded reads. HTTP tests verify missing
credentials, cross-project denial and revoked-task denial. The real JavaFX test
verifies exact pixel display, report parity with MCP, explicit baseline confirmation
and disabled mutation during a grant.
## Measure the actual tradeoff
The same three Zelda checkpoints were exercised through the former image-download
and external-comparison path and the new publication/report path:
| Measured adapter work | Former path | Evidence path |
| --- | ---: | ---: |
| MCP calls | 3 | 9 |
| Serialized response bytes | 187334 | 23766 |
| PNG bytes transferred for metrics | 106825 | 0 |
| External comparison scripts executed | 1 | 0 |
Three guest advance requests were shared by both paths. Build/advance/polling and
optional later image inspection are outside these adapter counts. The former
script compared full images; the new HUD case declared an ROI, so its pixel counts
are not presented as identical workloads. These raw observations show fewer
transported bytes and no external comparison script at the cost of more explicit
service calls; they are not a universal performance percentage.
## Acceptance coverage and pitfalls
D1–D3 are covered by original-checkpoint publication, request recovery and immutable
identity; D4–D5 by atomic storage, reference checks and concurrent quota tests;
D6–D7 by scoped HTTP/ID access and canonical reference admission; D8–D10 by the
independent pixel fixtures and complete native reports; D11 by the desktop/MCP
parity and human baseline-review gate. Installed guide/catalog examples ship in
the packaged distribution and pass its knowledge probe.
- Never recapture to reconstruct the outcome of an earlier advance.
- Do not change historical frame identity when current state becomes stale.
- Treat import and baseline approval as separate actions with different authority.
- Preserve valid publications on quota refusal, cancellation and interrupted staging.
- Do not hide dimension mismatch, empty regions or unknown authority as a pass.
- Count mask overlaps once, compare transparent RGB, and keep diff coordinates.
- Keep reference provenance and oracle independence explicit, especially for port
captures compared with their own earlier renders.
The durable contracts are [Studio 8](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md),
[Studio 9](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md),
[Studio 10](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md)
and [Studio 11](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
Completed DEC-0093/PLN-0171 scaffolding is removed by CLI housekeeping. Isolated
guest targets (DSC-0106) can reference these artifacts without adding another runner.
Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

@@ -0,0 +1,242 @@
[
{
"artifact": {
"id": "fcd32b20-d94f-4004-add0-1f79961555ea",
"publicationId": "c13a092f-cb79-4f4c-b50e-932fce2b40c5",
"sha256": "14a709ea09b203d8b82d70a5bf88f5965b19d9d2a2e880f2c47880ad1a4b261c",
"byteSize": 4441,
"mime": "image/png",
"width": 480,
"height": 270,
"provenance": {
"origin": "runtime",
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-15045912050876628691",
"taskId": "8e5d6df6-cb25-4483-b59c-511241108692",
"operationId": "9e5289ad-5d79-45c3-996f-b6ead5c4429c",
"clientRequestId": "evidence-frame",
"buildId": "f1e9c2ff-507c-442c-a606-159ad8665e4a",
"sessionId": "58c5f2db00f1213cb608d1b42e991128",
"logicalFrameIndex": 1,
"frameId": 0
}
},
"kind": "native-checkpoint",
"report": {
"id": "7e266ef3-e070-4810-a7a1-217642c51e26",
"expectedId": "a61d8eb7-c483-46f2-90ad-2c6b39eb4bd6",
"actualId": "fcd32b20-d94f-4004-add0-1f79961555ea",
"diffId": "fba1fe1b-efad-4053-aabb-f389d59c6352",
"expectedSha256": "16a8fd97c2ad794c91a21e5fa85a4330752d7484b9e77802bd17d1f94d973b2a",
"actualSha256": "14a709ea09b203d8b82d70a5bf88f5965b19d9d2a2e880f2c47880ad1a4b261c",
"parameters": {
"roi": {
"x": 0,
"y": 0,
"width": 480,
"height": 270
},
"masks": [],
"alpha": "compare",
"channelLimit": 0,
"allowedDifferentPixels": 0
},
"verdict": "rejected",
"comparedPixels": 129600,
"differentPixels": 1,
"maximumChannelError": 1,
"boundingBox": {
"x": 0,
"y": 0,
"width": 1,
"height": 1
}
},
"nativeAdvanceRequests": 2,
"persistenceExtraAdvanceOrCaptureRequests": 0
},
{
"measurement": {
"basis": "Actual local MCP adapter dispatches and serialized response bytes, excluding shared build/advance/asynchronous polling. Both comparison paths use the same three retained guest checkpoints. Legacy full-image exact metrics differ from the explicit HUD ROI by design.",
"before": {
"externalScriptOutput": "0,52060\n1,41204\n2,41661\n",
"mcpCalls": 3,
"wireResponseBytes": 187334,
"imagePngBytes": 106825,
"externalComparisonScripts": 1
},
"sharedGuestAdvanceRequests": 3,
"after": {
"wireResponseBytes": 23766,
"imageTransferBytesForMetrics": 0,
"mcpCalls": 9,
"externalComparisonScripts": 0
}
},
"results": [
{
"actual": {
"id": "28e02f3b-e662-4678-a1d6-f19b15eda099",
"publicationId": "b9d9aa10-3916-4ccd-8b03-fffef00ffa2f",
"sha256": "e23baf9e4cd8a89c71d2bad3a85c77dfd63245f1a4c2496ebf442b3a54050014",
"byteSize": 72639,
"mime": "image/png",
"width": 480,
"height": 270,
"provenance": {
"origin": "runtime",
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-11090026284816755065/zelda-pilot",
"taskId": "9c66df98-dc79-4cc4-8ca7-48d77220da25",
"operationId": "010e401e-7100-406a-a0d8-7f7e9dce3232",
"clientRequestId": "zelda-screen",
"buildId": "5b089dae-610c-4b08-b738-08bd8330edb1",
"sessionId": "4950d43d1ebd67198c604414fd9e54a9",
"logicalFrameIndex": 1,
"frameId": 0
}
},
"case": "screen",
"referencePath": "extracted/inventory_screen/validation/production_start.png",
"report": {
"id": "5e9b4beb-ff1d-4dfc-8033-0a8aef75d6e8",
"expectedId": "fefe408f-a673-408f-a9fb-bf8650a05f6a",
"actualId": "28e02f3b-e662-4678-a1d6-f19b15eda099",
"diffId": "1b8460d3-4103-4da6-a7bc-9887db7a969f",
"expectedSha256": "63db0e3fb60fb6c3c425a153f6bccea45d058c71ad268b736171212fd4a422c5",
"actualSha256": "e23baf9e4cd8a89c71d2bad3a85c77dfd63245f1a4c2496ebf442b3a54050014",
"parameters": {
"roi": {
"x": 0,
"y": 0,
"width": 480,
"height": 270
},
"masks": [],
"alpha": "compare",
"channelLimit": 0,
"allowedDifferentPixels": 0
},
"verdict": "rejected",
"comparedPixels": 129600,
"differentPixels": 52060,
"maximumChannelError": 252,
"boundingBox": {
"x": 112,
"y": 15,
"width": 256,
"height": 240
}
}
},
{
"actual": {
"id": "fc49883c-bf0e-4849-a7f5-64afc431b39f",
"publicationId": "a9caf7e1-9f2e-4cf9-b7b7-221fa137992d",
"sha256": "7b388522e326588a9cc4352a332be834b1face87e39adf925762b5181f9a5e75",
"byteSize": 17093,
"mime": "image/png",
"width": 480,
"height": 270,
"provenance": {
"origin": "runtime",
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-11090026284816755065/zelda-pilot",
"taskId": "9c66df98-dc79-4cc4-8ca7-48d77220da25",
"operationId": "19254d0b-b57e-4fab-884a-80668acbf3e8",
"clientRequestId": "zelda-hud",
"buildId": "5b089dae-610c-4b08-b738-08bd8330edb1",
"sessionId": "4950d43d1ebd67198c604414fd9e54a9",
"logicalFrameIndex": 77,
"frameId": 76
}
},
"case": "hud",
"referencePath": "extracted/hud/runtime_initial.png",
"report": {
"id": "d2525d55-b754-4395-85c9-c1cb901d6781",
"expectedId": "daab1e0e-ebae-4f4c-b95a-de97ae11d1b7",
"actualId": "fc49883c-bf0e-4849-a7f5-64afc431b39f",
"diffId": "bd79f7d4-dfbf-453d-af54-8922102d1242",
"expectedSha256": "cc6d60a56ed562f7690dd136be16c87de82efb596580f982c3270cf25b1422d5",
"actualSha256": "7b388522e326588a9cc4352a332be834b1face87e39adf925762b5181f9a5e75",
"parameters": {
"roi": {
"x": 112,
"y": 15,
"width": 256,
"height": 56
},
"masks": [],
"alpha": "compare",
"channelLimit": 0,
"allowedDifferentPixels": 0
},
"verdict": "rejected",
"comparedPixels": 14336,
"differentPixels": 3097,
"maximumChannelError": 252,
"boundingBox": {
"x": 128,
"y": 39,
"width": 214,
"height": 32
}
}
},
{
"actual": {
"id": "020f0737-7dfc-4460-b45f-9bcf9be4f118",
"publicationId": "59a36c95-ad2a-4a2c-bd48-51acb45bd33c",
"sha256": "7b388522e326588a9cc4352a332be834b1face87e39adf925762b5181f9a5e75",
"byteSize": 17093,
"mime": "image/png",
"width": 480,
"height": 270,
"provenance": {
"origin": "runtime",
"projectRoot": "/private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-11090026284816755065/zelda-pilot",
"taskId": "9c66df98-dc79-4cc4-8ca7-48d77220da25",
"operationId": "dc0e2d87-3c1f-435b-9886-b88a61f79c40",
"clientRequestId": "zelda-scroll",
"buildId": "5b089dae-610c-4b08-b738-08bd8330edb1",
"sessionId": "4950d43d1ebd67198c604414fd9e54a9",
"logicalFrameIndex": 197,
"frameId": 196
}
},
"case": "scroll",
"referencePath": "extracted/bomb_wall/validation/scroll_north_mid.png",
"report": {
"id": "d84acc24-bfc2-4ca9-a2d8-187e93d64858",
"expectedId": "d464d492-f2ba-4ada-8b7f-d42650533c2b",
"actualId": "020f0737-7dfc-4460-b45f-9bcf9be4f118",
"diffId": "0ac00cd9-8a32-4275-b365-d4bca17be5cb",
"expectedSha256": "1772078d532af7782d5d1b5f2e7b19af949f774fc7cf2f56e5b1c1dea25b7696",
"actualSha256": "7b388522e326588a9cc4352a332be834b1face87e39adf925762b5181f9a5e75",
"parameters": {
"roi": {
"x": 0,
"y": 0,
"width": 480,
"height": 270
},
"masks": [],
"alpha": "compare",
"channelLimit": 0,
"allowedDifferentPixels": 0
},
"verdict": "rejected",
"comparedPixels": 129600,
"differentPixels": 41661,
"maximumChannelError": 252,
"boundingBox": {
"x": 0,
"y": 0,
"width": 368,
"height": 255
}
}
}
],
"limitations": "Saved port captures are contextual references, not an independent NES oracle; screen/HUD/scroll reference labels identify their provenance. Current checkpoints are observations and mismatch is retained as a comparison result.",
"kind": "zelda-pilot"
}
]
@@ -0,0 +1,40 @@
{
"runtimeVersion": "0.1.0",
"protocolVersion": {
"major": 1,
"minor": 1
},
"capabilities": [
"boot",
"reset",
"set_input",
"clear_input",
"advance",
"capture",
"get_state",
"get_fault",
"cancel",
"shutdown",
"memcard",
"memcard_mount",
"memcard_unmount",
"get_memcard_state",
"memcard_reconcile",
"memcard_continue_in_memory"
],
"limits": {
"callTimeoutMs": 60000,
"handshakeTimeoutMs": 5000,
"maxCommandBytes": 65536,
"maxFrames": 600,
"maxResponseBytes": 33554432,
"shutdownTimeoutMs": 5000
},
"installation": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/dist-staging/stable/prometeu-cli-aarch64-apple-darwin",
"executables": {
"prometeu": "182e4d9a4d32201c8ad892a11c297de7059dcc0a837660bdd173be44808b9906",
"prometeu-headless": "7703190f63844d91fa125ba3a322b5e771db79a282b3cfbb3480eef76422b6ef",
"prometeu-runtime": "0e8e692395cedea799b6d555b416e40536dcabf3a98a2061327d2010c478e446"
},
"probe": "hello followed by shutdown; no initialize/boot/guest execution or media access"
}
@@ -0,0 +1,207 @@
---
id: LSN-0111
ticket: studio-isolated-guest-test-targets
title: Isolated Guest Targets and Complete Structured Results
created: 2026-11-10
tags: [studio, compiler, pbs, testing, automation, mcp]
---
## Original problem and consolidated decision
**Owner:** studio, guest test targets and results. Compiler, compiler/PBS,
runtime/headless and FE/MCP receive propagation. This lesson consolidates accepted
DEC-0094 and completed PLN-0172 from DSC-0106 / AGD-0108. It builds on the shared
[lifecycle](../DSC-0110-studio-headless-lifecycle-observability/LSN-0109-immutable-runtime-observations-and-control-return.md)
and [original evidence](../DSC-0105-studio-visual-regression-artifacts/LSN-0110-original-checkpoints-and-reviewed-visual-evidence.md)
services.
Replacing a production main file to run a test creates several ambiguities: which
sources ran, whether the build remains usable, what happened to the user's card,
and whether silence means success. A separate script also cannot provide the same
authority and results to the human interface and MCP.
The decision delivers explicit project-local targets, exclusive immutable builds,
a bounded shared runner and complete structured case results. It preserves normal
PBS visibility, machine lifecycle/budgets, project identity and production Play.
The provider exposes existing guest logs through negotiated read-only tooling;
there is no new guest syscall or private game access.
## Final result and qualification
The public life fixture passes; its deliberate assertion failure is reported as a
failed case with successful operation completion. The public Zelda shop fixture
uses existing Inventory, CaveSupplyShop and SaveStore APIs on a disposable project
copy. Purchase and commit pass, then a distinct process reopens the same disposable
card and passes readback. All 137 production source/barrel hashes match before and
after. The passing pilot also checks the unrelated personal image.
The final [qualification record](evidence/corrected-runtime-qualification/qualification.json)
contains commands, raw archived JUnit reports, normalized outcomes, source/report
hashes, transcripts and screenshots. The latest reports across invocations contain
**1,182 passed, twelve existing pipeline skips, zero failures/errors**. This is not
a claim that all suites were freshly rerun together. After the native correction,
**34 cases were executed and passed** across the unchanged pilot and native runner,
media, Tests/MCP and DEV compatibility gates; the direct single-advance probe also
passes. Installed knowledge remained up-to-date after its earlier passing run.
The qualified macOS arm64 installation is the external provider's extracted
`runtime/dist-staging/qualification/PLN-0202`. Headless SHA-256:
`18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df`.
The [delivery verification](evidence/corrected-runtime-qualification/delivery-verification.json)
checks provider sources, archive, installation and fifty unchanged consumer files.
The qualified provider is identified by fingerprints over an uncommitted checkout
based on `49d7fca`; a new commit is not its identity. Stable dispatcher/headless also
match this delivery at final inspection, differing from the earlier baseline.
This Studio task did not replace an installation or write/build/commit runtime.
## Declare a target without changing production
`prometeu.json` contains versioned `testTargets`. Each entry declares a unique ID,
entrypoint, source/support roots, exact exclusions, expected cases and test log tag.
`production` is reserved; omitted selection retains production behavior.
`AppMode.Game/System` remains the machine profile and appId remains project identity.
The installed life example selects `src` and `tests/life`, adds `tests/support`, and
excludes exactly `src/main.pbs`. Production sources and barrels remain untouched.
The compiler uses the same dependency/import/asset resolver, validates the actual
included set and preserves original source paths for diagnostics. Ordinary PBS
visibility still applies; test-only support is absent from production.
Target identity travels through API/Core, compiler gateway, resolved workspace,
frontend lifecycle, packing and results. The selected program has one normal
MemcardBoot/bootstrap/Init/Frame lifecycle. Test build output is exclusive at
`.studio/test-builds/<targetId>/<buildId>/`. Immutable provenance covers consumed
source/configuration/dependency and asset inputs. Failed/cancelled builds cannot
publish a usable partial cartridge; production Play selects production explicitly.
## Start once, then query the retained operation
The Tests workspace and MCP call the same `GuestTestTools` service. A typical
request body for `studio_tests_start` is:
```json
{
"targetId": "life",
"maxFrames": 120,
"blockFrames": 1,
"timeoutMs": 30000,
"media": "memory_fresh",
"reopenRunId": null,
"discardUnsaved": false
}
```
MCP also supplies projectRoot, the current taskId and clientRequestId. The six tools
are `studio_tests_targets`, `studio_tests_start`, `studio_tests_get`,
`studio_tests_cancel`, `studio_tests_transcript` and `studio_tests_shutdown`.
Summary queries do not inline the transcript; bounded pages return original native
records and decoded events. Repeating an identical request returns its retained
operation; changed parameters conflict. Current authority is checked before cached
results, so an old task cannot recover access by knowing an ID.
The runner builds an immutable target, admits the consumed target catalog, starts
a fresh owned process, advances bounded blocks and drains pending log pages before
the next block. It performs final reads when possible and retains native causes,
original captures, completion and verdict separately. An assertion failure is not
an operation transport failure. Timeout/cancel do not fabricate a completed suite;
worker termination and lease closure precede final termination reporting.
Human runs use the same shared admission and manual lease. A retained native
session blocks production execution and grant until explicit cleanup. During an
agent grant, human mutation is disabled while result/case/evidence inspection stays
available. DEV remains responsible for grant/reclaim/observation.
## Check both native and producer continuity
Protocol 1.2 negotiates `log_read` before guest execution. `get_logs` accepts a
nullable exclusive cursor and limit 1..1024. Null includes the first available
record, including sequence zero. Typed uint64 sequence/app identity information is
preserved without floating-point conversion. Reads neither run the guest nor drain
the ring. Reset retains the native log stream; a new process has a new session.
Historical `overflow` means the ring has evicted something at some time. It is
informational when this reader has lost nothing. A required-history gap,
discontinuous sequence, changed stream/session, malformed tagged event or
conflicting duplicate is infrastructure failure. This distinction was an explicitly
authorized revision of the accepted decision, not an implementation shortcut.
Native sequence continuity is insufficient on its own: the guest accepts at most
ten application log messages per frame and 256 UTF-8 bytes per message. A rejected
message never receives a native sequence. Every unique structured event therefore
has a contiguous zero-based producer `payload.ordinal`, and suite_end carries
`payload.eventCount`, including itself. An idempotent repeated event is not counted
again. A retained true assertion cannot hide a dropped false assertion.
Versioned events identify suite/case/event and kind: suite_start, case_start,
assertion, checkpoint, case_end and suite_end. Only the declared test tag is decoded;
ordinary game text is not an assertion. Expected and actual values retain their
availability. Checkpoint IDs require admission to the shared evidence store and
retain their original operation/session/build/frame provenance.
The expected catalog and transcript produce `passed`, `failed`, `not_run` and
`infrastructure_failure`. Passing requires a nonempty suite, assertions, every
expected case explicitly completed, consistent producer/native history and no
guest/native failure. Empty, missing, malformed or unfinished suites never pass.
Host retention limits fail explicitly instead of silently truncating history.
## Own the media and preserve native refusal
`memory_fresh` creates a fresh process context; a cartridge without memcard_slots
does not receive an unsupported media boot choice. Disposable create/reopen require
declared card support and service-owned media under `.studio/test-runs/<runId>/`.
Reopen selects a prior owned create run, never a personal/default image. Historical
media/result records do not restore task authority after project reopen.
Commit acknowledgement, RAM contents and proven persistence are different facts.
The shop writer closes cleanly; a new reader process loads the prior saved values.
Both card hashes are retained. This reader publishes presentation during bootstrap,
so whole-image immutability is not its oracle; the readback assertions are. The
separate no-presentation native memcard cases still verify unchanged image bytes.
Dirty/pending native refusal remains visible. A refused teardown leaves the runtime
attached and requires an explicit recovery/discard choice. Later cleanup changes
current session facts without rewriting the immutable original test result.
## Native IO progress is separate from guest execution
The first shop reader originally hit ATR-20: watchdog after 100,000 host ticks,
zero completed frames, no guest fault and pending native presentation IO. The
[retained baseline](evidence/native-reopen-watchdog/handoff.md) reproduces it without
Studio using exactly one advance.
The runtime owner corrected blocked bootstrap IO coordination within that original
advance. Its waits occur outside firmware/VM ticks; original native deadlines,
machine budgets and ownership remain. The
[runtime lesson](../../../../runtime/discussion/lessons/DSC-0072-headless-memcard-reopen-io-progress/LSN-0076-native-io-progress-is-not-machine-progress.md)
explains the provider contract and controlled regressions. Studio verified the
delivered fingerprints and reran the unchanged public pilot. A successful provider
test alone did not substitute for consumer acceptance.
## Pitfalls
- Changing source/barrel files to select a test loses target identity and makes
cancellation recovery depend on restoration.
- Treating historical eviction as current unread loss rejects valid readers;
ignoring producer ordinals can approve an incomplete suite.
- Raising budgets or replaying advance to hide pending native IO changes the test
rather than proving the original behavior.
- Assuming commit acknowledgement proves persistence skips the required new-process
readback. Comparing a presentation-publishing card as immutable uses the wrong oracle.
- Copying a previous capture into current run provenance changes evidence identity.
- Returning before termination or ignoring dirty refusal admits conflicting work.
- Inferring executable equivalence from version or a repository commit discards the
actual installation identity; fingerprints and executed gates must agree.
## Normative and implementation references
- [Studio architecture](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md),
[DEV/automation](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md),
[MCP contract](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md),
[local state](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md).
- [Compiler entrypoints](../../../docs/specs/compiler/23.%20Compiler%20Pipeline%20Entry%20Points%20Specification.md),
[PBS resolution](../../../docs/specs/compiler-languages/pbs/5.%20Manifest,%20Stdlib,%20and%20SDK%20Resolution%20Specification.md),
[manifest](../../../docs/specs/compiler-languages/pbs/7.%20Cartridge%20Manifest%20and%20Runtime%20Capabilities%20Specification.md),
[semantics](../../../docs/specs/compiler-languages/pbs/9.%20Dynamic%20Semantics%20Specification.md).
- [Installed isolated examples](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/README.md),
[shared runner](../../../prometeu-studio-core/src/main/java/p/studio/core/session/DefaultGuestTestTools.java),
[transcript](../../../prometeu-studio-core/src/main/java/p/studio/core/session/GuestTranscript.java).
@@ -0,0 +1 @@
{"runId":"1f65cac6-986a-41a9-9f2d-9cc3dec582e3","offset":0,"nextOffset":8,"total":8,"events":[{"nativeEvent":{"sequence":5,"frame":0,"timestampMs":1,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":null,\"eventId\":\"suite.start\",\"kind\":\"suite_start\",\"payload\":{\"ordinal\":0}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":null,"eventId":"suite.start","kind":"suite_start","payload":{"ordinal":0}}},{"nativeEvent":{"sequence":6,"frame":0,"timestampMs":1,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"damage\",\"eventId\":\"damage.start\",\"kind\":\"case_start\",\"payload\":{\"ordinal\":1}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"damage","eventId":"damage.start","kind":"case_start","payload":{"ordinal":1}}},{"nativeEvent":{"sequence":7,"frame":1,"timestampMs":7,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"damage\",\"eventId\":\"damage.assert\",\"kind\":\"assertion\",\"payload\":{\"name\":\"damage predicate\",\"message\":\"Public health predicate\",\"expected\":true,\"actual\":false,\"passed\":false,\"ordinal\":2}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"damage","eventId":"damage.assert","kind":"assertion","payload":{"name":"damage predicate","message":"Public health predicate","expected":true,"actual":false,"passed":false,"ordinal":2}}},{"nativeEvent":{"sequence":8,"frame":1,"timestampMs":7,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"damage\",\"eventId\":\"damage.end\",\"kind\":\"case_end\",\"payload\":{\"ordinal\":3}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"damage","eventId":"damage.end","kind":"case_end","payload":{"ordinal":3}}},{"nativeEvent":{"sequence":9,"frame":1,"timestampMs":7,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"heal\",\"eventId\":\"heal.start\",\"kind\":\"case_start\",\"payload\":{\"ordinal\":4}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"heal","eventId":"heal.start","kind":"case_start","payload":{"ordinal":4}}},{"nativeEvent":{"sequence":10,"frame":2,"timestampMs":12,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"heal\",\"eventId\":\"heal.assert\",\"kind\":\"assertion\",\"payload\":{\"name\":\"heal predicate\",\"message\":\"Public health predicate\",\"expected\":true,\"actual\":true,\"passed\":true,\"ordinal\":5}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"heal","eventId":"heal.assert","kind":"assertion","payload":{"name":"heal predicate","message":"Public health predicate","expected":true,"actual":true,"passed":true,"ordinal":5}}},{"nativeEvent":{"sequence":11,"frame":2,"timestampMs":12,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"heal\",\"eventId\":\"heal.end\",\"kind\":\"case_end\",\"payload\":{\"ordinal\":6}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"heal","eventId":"heal.end","kind":"case_end","payload":{"ordinal":6}}},{"nativeEvent":{"sequence":12,"frame":2,"timestampMs":12,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":null,\"eventId\":\"suite.end\",\"kind\":\"suite_end\",\"payload\":{\"ordinal\":7,\"eventCount\":8}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":null,"eventId":"suite.end","kind":"suite_end","payload":{"ordinal":7,"eventCount":8}}}]}
@@ -0,0 +1,76 @@
> Historical checkpoint. Final acceptance is recorded in [the completed lesson](../../LSN-0111-isolated-guest-targets-and-complete-structured-results.md).
# Consumer qualification and remaining native gate
Owner: `studio`; compiler/PBS and FE/MCP receive propagation. PLN-0172 remains
`in_progress`. This checkpoint records implemented S1–S6 and partial S7; it does
not waive the required public save/reopen pilot.
The user explicitly authorized revising accepted DEC-0094 rule 10. That revision
is now applied: historical native ring eviction alone is informational, while an
unread gap or inconsistent sequence fails as infrastructure. Guest event ordinals
and the final unique event count independently detect producer drops before native
sequence allocation, under the existing ten-message/256-byte limits.
The shared service now owns target admission, immutable builds, fresh runtime
sessions, bounded frame/log work, result retention and explicit media policy.
Human Tests and the six authenticated MCP tools consume that service. Production
Play remains explicit. Cancellation/timeout wait for termination; native dirty
refusal retains the session until explicit recovery. Original result, current
runtime state and original capture provenance are distinct.
## Retained checks
[qualification.json](qualification.json) contains exact commands, report hashes,
normalized case outcomes, fifty working-source hashes and the installation
identity. The latest retained local report set has 1,185 cases: **1,173 passed,
twelve existing pipeline skips, zero failures/errors**. These reports span several
invocations. The latest headless report contains the five focused consumer cases;
earlier full headless compatibility also passed but is not added to these totals.
The focused command's final process exit-code output was not retained; its complete
five-case passing JUnit report was verified. Other recorded successful commands
returned zero.
| Gate | Evidence / result |
| --- | --- |
| Manifest, compiler/PBS selection and default production | Dependency, pipeline, frontend and application suites pass; original-path diagnostics and source/barrel preservation covered |
| Core/API and architecture | Case/result state machine, producer continuity, exact native failure projection, authority/lease guards and architecture checks pass |
| Installed native runner | Five focused cases pass: life pass/known failure, timeout/cancel, producer loss and empty-suite refusal, original checkpoint references, native dirty refusal/recovery and manual admission |
| Human and MCP parity | Actual JavaFX Tests workspace plus authenticated HTTP MCP pass; summary omits inline transcript and bounded pages match Core entries |
| Installed distribution knowledge | Two tests pass; product resources/classes load from installed JARs outside checkout; life, life-fail and omitted/default production compile; test logs stay outside production |
| Existing compatibility | Native memcard, headless MCP, DEV desktop, unit and architecture report sets pass |
| Mandatory public Zelda shop/save pilot | **Fails** on separate-process reader: native watchdog, zero frames, no guest fault. Writer purchase/commit passes. Retained separately from passing totals |
Retained consumer artifacts:
- [Passing life result](artifacts/life-pass.json), [deliberate assertion failure](artifacts/life-known-fail.json).
- [Producer-drop rejection](artifacts/producer-drop-rejected.json), [empty-suite rejection](artifacts/empty-suite-rejected.json).
- [Original checkpoint reference](artifacts/original-checkpoint-reference.json).
- [Human Tests screenshot](artifacts/desktop/manual-pass.png), [granted known-failure screenshot](artifacts/desktop/agent-known-fail.png), [MCP result](artifacts/desktop/mcp-failed-result.json) and [paged transcript](artifacts/desktop/mcp-transcript.json).
The missing-capability fixture is explicitly simulated; positive runner, dirty
refusal and desktop checks use the real installed provider. Historical overflow
coverage includes local state-machine tests and the independently verified native
provider cases; a guest drop is never inferred from the native gap flag alone.
## Native dependency and resumption
The tested stable headless executable SHA-256 is
`e5e9571e7ab42724af37294c79b19478a1e1b5a71df177eee7141d42e042f6f4`.
It negotiates protocol 1.2 and `log_read`; the independent provider verification is
[retained separately](../provider-verification/review.md). Stable, debug and prior
isolated builds have different identities and are not interchangeable evidence.
The [ATR-20 handoff](../native-reopen-watchdog/handoff.md) includes the native-only
single-advance reproduction, cartridge, disposable card and exact native error.
The user selected correction by the runtime AI. Read-only inspection now finds
runtime PLN-0202 in progress from HEAD `49d7fca` with external working changes.
Those changes are not a delivered or consumer-qualified installation. This Studio
task performed no runtime source write, build, staging, selected-install replacement
or commit.
After external delivery, verify the exact isolated executable and its qualification
record, rerun the unchanged public writer/reader pilot and current runner/UI/MCP
compatibility. Preserve the original budgets, single-advance semantics and public
fixture APIs. Only a complete passing S7 permits the English lesson, done transition
and discussion housekeeping. No lesson or cleanup is performed at this checkpoint.
@@ -0,0 +1 @@
{"runId":"64b0d737-132f-4ac3-941d-3cbf9b5c7c4a","offset":0,"nextOffset":8,"total":8,"events":[{"nativeEvent":{"sequence":5,"frame":0,"timestampMs":1,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":null,\"eventId\":\"suite.start\",\"kind\":\"suite_start\",\"payload\":{\"ordinal\":0}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":null,"eventId":"suite.start","kind":"suite_start","payload":{"ordinal":0}}},{"nativeEvent":{"sequence":6,"frame":0,"timestampMs":1,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"damage\",\"eventId\":\"damage.start\",\"kind\":\"case_start\",\"payload\":{\"ordinal\":1}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"damage","eventId":"damage.start","kind":"case_start","payload":{"ordinal":1}}},{"nativeEvent":{"sequence":7,"frame":1,"timestampMs":9,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"damage\",\"eventId\":\"damage.assert\",\"kind\":\"assertion\",\"payload\":{\"name\":\"damage predicate\",\"message\":\"Public health predicate\",\"expected\":true,\"actual\":false,\"passed\":false,\"ordinal\":2}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"damage","eventId":"damage.assert","kind":"assertion","payload":{"name":"damage predicate","message":"Public health predicate","expected":true,"actual":false,"passed":false,"ordinal":2}}},{"nativeEvent":{"sequence":8,"frame":1,"timestampMs":9,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"damage\",\"eventId\":\"damage.end\",\"kind\":\"case_end\",\"payload\":{\"ordinal\":3}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"damage","eventId":"damage.end","kind":"case_end","payload":{"ordinal":3}}},{"nativeEvent":{"sequence":9,"frame":1,"timestampMs":9,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"heal\",\"eventId\":\"heal.start\",\"kind\":\"case_start\",\"payload\":{\"ordinal\":4}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"heal","eventId":"heal.start","kind":"case_start","payload":{"ordinal":4}}},{"nativeEvent":{"sequence":10,"frame":2,"timestampMs":15,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"heal\",\"eventId\":\"heal.assert\",\"kind\":\"assertion\",\"payload\":{\"name\":\"heal predicate\",\"message\":\"Public health predicate\",\"expected\":true,\"actual\":true,\"passed\":true,\"ordinal\":5}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"heal","eventId":"heal.assert","kind":"assertion","payload":{"name":"heal predicate","message":"Public health predicate","expected":true,"actual":true,"passed":true,"ordinal":5}}},{"nativeEvent":{"sequence":11,"frame":2,"timestampMs":15,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":\"heal\",\"eventId\":\"heal.end\",\"kind\":\"case_end\",\"payload\":{\"ordinal\":6}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":"heal","eventId":"heal.end","kind":"case_end","payload":{"ordinal":6}}},{"nativeEvent":{"sequence":12,"frame":2,"timestampMs":15,"level":"info","source":"app","appId":470396923,"tag":41000,"message":"{\"schemaVersion\":1,\"suiteId\":\"life\",\"caseId\":null,\"eventId\":\"suite.end\",\"kind\":\"suite_end\",\"payload\":{\"ordinal\":7,\"eventCount\":8}}"},"event":{"schemaVersion":1,"suiteId":"life","caseId":null,"eventId":"suite.end","kind":"suite_end","payload":{"ordinal":7,"eventCount":8}}}]}
@@ -0,0 +1,433 @@
[ {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 0,
"codec" : "NONE",
"asset_id" : 1,
"asset_name" : "Link NES",
"decoded_size" : 65984
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 33216,
"codec" : "NONE",
"asset_id" : 3,
"asset_name" : "Overworld NES terrain",
"decoded_size" : 65600
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 66048,
"codec" : "NONE",
"asset_id" : 4,
"asset_name" : "Overworld starting room 77",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 32,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 70040,
"codec" : "NONE",
"asset_id" : 5,
"asset_name" : "NES overworld HUD",
"decoded_size" : 65600
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 102872,
"codec" : "NONE",
"asset_id" : 6,
"asset_name" : "Starting cave NES",
"decoded_size" : 65600
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 135704,
"codec" : "NONE",
"asset_id" : 7,
"asset_name" : "cave_start",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 139696,
"codec" : "NONE",
"asset_id" : 8,
"asset_name" : "Link NES doorway priority",
"decoded_size" : 65984
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 172912,
"codec" : "NONE",
"asset_id" : 9,
"asset_name" : "Link NES sword pickup",
"decoded_size" : 65984
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 206128,
"codec" : "NONE",
"asset_id" : 10,
"asset_name" : "cave_taken_person",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 210120,
"codec" : "NONE",
"asset_id" : 11,
"asset_name" : "cave_taken",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 214112,
"codec" : "NONE",
"asset_id" : 12,
"asset_name" : "NES hearts and GAME OVER",
"decoded_size" : 65600
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 246944,
"codec" : "NONE",
"asset_id" : 13,
"asset_name" : "death_blank",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 250936,
"codec" : "NONE",
"asset_id" : 14,
"asset_name" : "game_over",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 254928,
"codec" : "NONE",
"asset_id" : 15,
"asset_name" : "NES death sparks",
"decoded_size" : 65600
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 16,
"palette_authored" : 16,
"codec" : { }
},
"size" : 33792,
"offset" : 287760,
"codec" : "NONE",
"asset_id" : 16,
"asset_name" : "NES title patterns",
"decoded_size" : 66560
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 321552,
"codec" : "NONE",
"asset_id" : 17,
"asset_name" : "title_0",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 325544,
"codec" : "NONE",
"asset_id" : 18,
"asset_name" : "title_1",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 329536,
"codec" : "NONE",
"asset_id" : 21,
"asset_name" : "title_4",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 333528,
"codec" : "NONE",
"asset_id" : 22,
"asset_name" : "title_5",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 8,
"palette_authored" : 8,
"codec" : { }
},
"size" : 33280,
"offset" : 337520,
"codec" : "NONE",
"asset_id" : 25,
"asset_name" : "NES continue menu",
"decoded_size" : 66048
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 370800,
"codec" : "NONE",
"asset_id" : 26,
"asset_name" : "continue_0",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 374792,
"codec" : "NONE",
"asset_id" : 27,
"asset_name" : "continue_1",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 378784,
"codec" : "NONE",
"asset_id" : 28,
"asset_name" : "continue_2",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 382776,
"codec" : "NONE",
"asset_id" : 29,
"asset_name" : "Shared NES overworld terrain",
"decoded_size" : 65792
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 50072,
"offset" : 415800,
"codec" : "NONE",
"asset_id" : 30,
"asset_name" : "scenes/overworld_north",
"decoded_size" : 99928
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 149144,
"offset" : 465872,
"codec" : "NONE",
"asset_id" : 31,
"asset_name" : "scenes/overworld_north_scroll",
"decoded_size" : 298072
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 615016,
"codec" : "NONE",
"asset_id" : 32,
"asset_name" : "characters/octorok",
"decoded_size" : 65792
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 5,
"palette_authored" : 5,
"codec" : { }
},
"size" : 33088,
"offset" : 648040,
"codec" : "NONE",
"asset_id" : 33,
"asset_name" : "NES combat and counter patterns",
"decoded_size" : 65856
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 9,
"palette_authored" : 9,
"codec" : { }
},
"size" : 33344,
"offset" : 681128,
"codec" : "NONE",
"asset_id" : 34,
"asset_name" : "NES inventory and frozen-room strips",
"decoded_size" : 66112
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 106648,
"offset" : 714472,
"codec" : "NONE",
"asset_id" : 35,
"asset_name" : "NES inventory scroll strips",
"decoded_size" : 213080
} ]
@@ -0,0 +1,655 @@
[ {
"asset_id" : 1,
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 0, 1019018495, -56605441, -1401159425 ]
}
}, {
"index" : 5,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -1401159425 ]
}
}, {
"index" : 6,
"palette" : {
"rgba8888" : [ 0, -1128481537, -117901057, 2088533247 ]
}
} ]
}
}
}, {
"asset_id" : 3,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 255, 11010303, -52909825, 5830911 ]
}
} ]
}
}
}, {
"asset_id" : 4,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 5,
"metadata" : {
"tile_size" : 32,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 255, 5830911, 951582975, 2088533247, -1401159425, -130547457, -122117889, -117901057, -56605441 ]
}
} ]
}
}
}, {
"asset_id" : 6,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 255, 951582975, -2011954945, -1401159425, -130547457, -117901057, -56605441 ]
}
} ]
}
}
}, {
"asset_id" : 7,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 8,
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 0, 1019018495, -56605441, -1401159425 ]
}
}, {
"index" : 5,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -1401159425 ]
}
}, {
"index" : 6,
"palette" : {
"rgba8888" : [ 0, -1128481537, -117901057, 2088533247 ]
}
} ]
}
}
}, {
"asset_id" : 9,
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 0, 1019018495, -56605441, -1401159425 ]
}
}, {
"index" : 5,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -1401159425 ]
}
}, {
"index" : 6,
"palette" : {
"rgba8888" : [ 0, -1128481537, -117901057, 2088533247 ]
}
} ]
}
}
}, {
"asset_id" : 10,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 11,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 12,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889, -117901057 ]
}
} ]
}
}
}, {
"asset_id" : 13,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 14,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 15,
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
}
} ]
}
}
}, {
"asset_id" : 16,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 16,
"palette_authored" : 16,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ -122117889, 255, 2088533247, -1128481537 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -56605441, 255 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ -122117889, 1345323263, 11010303, -120030977 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ -122117889, -117901057, -1594040065, 1753808127 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 0, -117901057, -1594040065, -130547457 ]
}
}, {
"index" : 5,
"palette" : {
"rgba8888" : [ 0, -1401159425, -56605441, 255 ]
}
}, {
"index" : 6,
"palette" : {
"rgba8888" : [ 0, 1345323263, 11010303, -120030977 ]
}
}, {
"index" : 7,
"palette" : {
"rgba8888" : [ 0, -117901057, -1594040065, 1753808127 ]
}
}, {
"index" : 8,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -56605441, 255 ]
}
}, {
"index" : 9,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -52909825, 255 ]
}
}, {
"index" : 10,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -52909825, 255 ]
}
}, {
"index" : 11,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -56605441, 255 ]
}
}, {
"index" : 12,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -1401159425, 255 ]
}
}, {
"index" : 13,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -2011954945, 255 ]
}
}, {
"index" : 14,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -2011954945, 255 ]
}
}, {
"index" : 15,
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -1401159425, 255 ]
}
} ]
}
}
}, {
"asset_id" : 17,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 18,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 21,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 22,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 25,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 8,
"palette_authored" : 8,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 255, 4217087, 8947967, 1492703487 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 255, 5830911, 8947967, 1492703487 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -2011954945 ]
}
}, {
"index" : 5,
"palette" : {
"rgba8888" : [ 0, 1753808127, -56605441, -2011954945 ]
}
}, {
"index" : 6,
"palette" : {
"rgba8888" : [ 0, -126330625, -56605441, -2011954945 ]
}
}, {
"index" : 7,
"palette" : {
"rgba8888" : [ 0, -1543461633, -56605441, -117901057 ]
}
} ]
}
}
}, {
"asset_id" : 26,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 27,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 28,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 29,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 255, 11010303, -52909825, 5830911 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 255, -1401159425, -52909825, 5830911 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889 ]
}
} ]
}
}
}, {
"asset_id" : 30,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 31,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
}, {
"asset_id" : 32,
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
}
} ]
}
}
}, {
"asset_id" : 33,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 5,
"palette_authored" : 5,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911 ]
}
} ]
}
}
}, {
"asset_id" : 34,
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 9,
"palette_authored" : 9,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"index" : 0,
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 1,
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 2,
"palette" : {
"rgba8888" : [ 255, 11010303, -52909825, 5830911, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 3,
"palette" : {
"rgba8888" : [ 255, -1401159425, -52909825, 5830911, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 4,
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 5,
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 6,
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 7,
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
}
}, {
"index" : 8,
"palette" : {
"rgba8888" : [ 0, 255, 951582975, -2011954945, -1401159425, -130547457, -117901057, -56605441, 255, 255, 255, 255, 255, 255, 255, 255 ]
}
} ]
}
}
}, {
"asset_id" : 35,
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
}
} ]
@@ -0,0 +1,534 @@
{
"magic" : "PMTU",
"cartridge_version" : 1,
"app_id" : 2137977836,
"memcard_slots" : 1,
"title" : "zelda1",
"app_version" : "1.0.0",
"app_mode" : "Game",
"capabilities" : [ "memcard", "log", "composer", "gfx2d" ],
"asset_table" : [ {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 0,
"codec" : "NONE",
"asset_id" : 1,
"asset_name" : "Link NES",
"decoded_size" : 65984
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 33216,
"codec" : "NONE",
"asset_id" : 3,
"asset_name" : "Overworld NES terrain",
"decoded_size" : 65600
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 66048,
"codec" : "NONE",
"asset_id" : 4,
"asset_name" : "Overworld starting room 77",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 32,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 70040,
"codec" : "NONE",
"asset_id" : 5,
"asset_name" : "NES overworld HUD",
"decoded_size" : 65600
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 102872,
"codec" : "NONE",
"asset_id" : 6,
"asset_name" : "Starting cave NES",
"decoded_size" : 65600
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 135704,
"codec" : "NONE",
"asset_id" : 7,
"asset_name" : "cave_start",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 139696,
"codec" : "NONE",
"asset_id" : 8,
"asset_name" : "Link NES doorway priority",
"decoded_size" : 65984
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 172912,
"codec" : "NONE",
"asset_id" : 9,
"asset_name" : "Link NES sword pickup",
"decoded_size" : 65984
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 206128,
"codec" : "NONE",
"asset_id" : 10,
"asset_name" : "cave_taken_person",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 210120,
"codec" : "NONE",
"asset_id" : 11,
"asset_name" : "cave_taken",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 214112,
"codec" : "NONE",
"asset_id" : 12,
"asset_name" : "NES hearts and GAME OVER",
"decoded_size" : 65600
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 246944,
"codec" : "NONE",
"asset_id" : 13,
"asset_name" : "death_blank",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 250936,
"codec" : "NONE",
"asset_id" : 14,
"asset_name" : "game_over",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 254928,
"codec" : "NONE",
"asset_id" : 15,
"asset_name" : "NES death sparks",
"decoded_size" : 65600
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 16,
"palette_authored" : 16,
"codec" : { }
},
"size" : 33792,
"offset" : 287760,
"codec" : "NONE",
"asset_id" : 16,
"asset_name" : "NES title patterns",
"decoded_size" : 66560
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 321552,
"codec" : "NONE",
"asset_id" : 17,
"asset_name" : "title_0",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 325544,
"codec" : "NONE",
"asset_id" : 18,
"asset_name" : "title_1",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 329536,
"codec" : "NONE",
"asset_id" : 21,
"asset_name" : "title_4",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 333528,
"codec" : "NONE",
"asset_id" : 22,
"asset_name" : "title_5",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 8,
"palette_authored" : 8,
"codec" : { }
},
"size" : 33280,
"offset" : 337520,
"codec" : "NONE",
"asset_id" : 25,
"asset_name" : "NES continue menu",
"decoded_size" : 66048
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 370800,
"codec" : "NONE",
"asset_id" : 26,
"asset_name" : "continue_0",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 374792,
"codec" : "NONE",
"asset_id" : 27,
"asset_name" : "continue_1",
"decoded_size" : 7768
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 378784,
"codec" : "NONE",
"asset_id" : 28,
"asset_name" : "continue_2",
"decoded_size" : 7768
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 382776,
"codec" : "NONE",
"asset_id" : 29,
"asset_name" : "Shared NES overworld terrain",
"decoded_size" : 65792
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 50072,
"offset" : 415800,
"codec" : "NONE",
"asset_id" : 30,
"asset_name" : "scenes/overworld_north",
"decoded_size" : 99928
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 149144,
"offset" : 465872,
"codec" : "NONE",
"asset_id" : 31,
"asset_name" : "scenes/overworld_north_scroll",
"decoded_size" : 298072
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 615016,
"codec" : "NONE",
"asset_id" : 32,
"asset_name" : "characters/octorok",
"decoded_size" : 65792
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 5,
"palette_authored" : 5,
"codec" : { }
},
"size" : 33088,
"offset" : 648040,
"codec" : "NONE",
"asset_id" : 33,
"asset_name" : "NES combat and counter patterns",
"decoded_size" : 65856
}, {
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 9,
"palette_authored" : 9,
"codec" : { }
},
"size" : 33344,
"offset" : 681128,
"codec" : "NONE",
"asset_id" : 34,
"asset_name" : "NES inventory and frozen-room strips",
"decoded_size" : 66112
}, {
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 106648,
"offset" : 714472,
"codec" : "NONE",
"asset_id" : 35,
"asset_name" : "NES inventory scroll strips",
"decoded_size" : 213080
} ],
"preload" : [ {
"asset_id" : 1,
"slot" : 0
}, {
"asset_id" : 3,
"slot" : 1
}, {
"asset_id" : 4,
"slot" : 0
}, {
"asset_id" : 5,
"slot" : 2
}, {
"asset_id" : 6,
"slot" : 3
}, {
"asset_id" : 7,
"slot" : 1
}, {
"asset_id" : 8,
"slot" : 4
}, {
"asset_id" : 9,
"slot" : 5
}, {
"asset_id" : 10,
"slot" : 2
}, {
"asset_id" : 11,
"slot" : 3
}, {
"asset_id" : 12,
"slot" : 6
}, {
"asset_id" : 13,
"slot" : 4
}, {
"asset_id" : 14,
"slot" : 5
}, {
"asset_id" : 15,
"slot" : 7
}, {
"asset_id" : 16,
"slot" : 8
}, {
"asset_id" : 17,
"slot" : 6
}, {
"asset_id" : 18,
"slot" : 7
}, {
"asset_id" : 21,
"slot" : 8
}, {
"asset_id" : 22,
"slot" : 9
}, {
"asset_id" : 25,
"slot" : 9
}, {
"asset_id" : 26,
"slot" : 10
}, {
"asset_id" : 27,
"slot" : 11
}, {
"asset_id" : 28,
"slot" : 12
}, {
"asset_id" : 29,
"slot" : 10
}, {
"asset_id" : 30,
"slot" : 13
}, {
"asset_id" : 31,
"slot" : 14
}, {
"asset_id" : 32,
"slot" : 11
}, {
"asset_id" : 33,
"slot" : 12
}, {
"asset_id" : 34,
"slot" : 13
}, {
"asset_id" : 35,
"slot" : 15
} ]
}
@@ -0,0 +1,91 @@
[ {
"asset_id" : 1,
"slot" : 0
}, {
"asset_id" : 3,
"slot" : 1
}, {
"asset_id" : 4,
"slot" : 0
}, {
"asset_id" : 5,
"slot" : 2
}, {
"asset_id" : 6,
"slot" : 3
}, {
"asset_id" : 7,
"slot" : 1
}, {
"asset_id" : 8,
"slot" : 4
}, {
"asset_id" : 9,
"slot" : 5
}, {
"asset_id" : 10,
"slot" : 2
}, {
"asset_id" : 11,
"slot" : 3
}, {
"asset_id" : 12,
"slot" : 6
}, {
"asset_id" : 13,
"slot" : 4
}, {
"asset_id" : 14,
"slot" : 5
}, {
"asset_id" : 15,
"slot" : 7
}, {
"asset_id" : 16,
"slot" : 8
}, {
"asset_id" : 17,
"slot" : 6
}, {
"asset_id" : 18,
"slot" : 7
}, {
"asset_id" : 21,
"slot" : 8
}, {
"asset_id" : 22,
"slot" : 9
}, {
"asset_id" : 25,
"slot" : 9
}, {
"asset_id" : 26,
"slot" : 10
}, {
"asset_id" : 27,
"slot" : 11
}, {
"asset_id" : 28,
"slot" : 12
}, {
"asset_id" : 29,
"slot" : 10
}, {
"asset_id" : 30,
"slot" : 13
}, {
"asset_id" : 31,
"slot" : 14
}, {
"asset_id" : 32,
"slot" : 11
}, {
"asset_id" : 33,
"slot" : 12
}, {
"asset_id" : 34,
"slot" : 13
}, {
"asset_id" : 35,
"slot" : 15
} ]
@@ -0,0 +1,493 @@
{
"recordedAt": "2026-11-10T23:26:58.845156+00:00",
"installation": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/dist-staging/qualification/PLN-0202",
"providerLesson": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/discussion/lessons/DSC-0072-headless-memcard-reopen-io-progress",
"providerSourceHead": "49d7fca0b725a0a261cda09bf5e924102c84fe31",
"delivery": "uncommitted qualified source; fingerprint identity, not a new commit",
"providerSummarySha256": "a003ed223d2463efda88dd87ee97ee605787b777094b1f1e8ce2d3be333f2079",
"providerHandoffSha256": "cd90a59ddca7a2637898c4e164dc259b08e35dca6bc10e419f5231a8ef7de427",
"checks": [
{
"scope": "runtime-source",
"path": "Cargo.toml",
"expected": "ac6f69d0bd2ae0c50f0e6123239825eef12d92288625d1ce3eebf71a1d5e8e63",
"actual": "ac6f69d0bd2ae0c50f0e6123239825eef12d92288625d1ce3eebf71a1d5e8e63"
},
{
"scope": "runtime-source",
"path": "Cargo.lock",
"expected": "cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795",
"actual": "cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795"
},
{
"scope": "runtime-source",
"path": "rust-toolchain.toml",
"expected": "a7a23801522d469e93021507fc88e9f5651056fce0e6aa22b3d3157c5f3dc6fe",
"actual": "a7a23801522d469e93021507fc88e9f5651056fce0e6aa22b3d3157c5f3dc6fe"
},
{
"scope": "runtime-source",
"path": "dist-workspace.toml",
"expected": "ece5a7b40083ac1565e8659f8e9874c7510b9cd80571e17540fd70c1b3be8d64",
"actual": "ece5a7b40083ac1565e8659f8e9874c7510b9cd80571e17540fd70c1b3be8d64"
},
{
"scope": "runtime-source",
"path": "crates/tools/prometeu-cli/Cargo.toml",
"expected": "6aa6001b65498f118f46d995fc00f1c7c3b690637a6259870eb74043f206c1e6",
"actual": "6aa6001b65498f118f46d995fc00f1c7c3b690637a6259870eb74043f206c1e6"
},
{
"scope": "runtime-source",
"path": "crates/host/prometeu-host-headless/src/host.rs",
"expected": "e4e5b5809773e00b11d2823b854528970ba7914925b9a2089f9e0e9336de117a",
"actual": "e4e5b5809773e00b11d2823b854528970ba7914925b9a2089f9e0e9336de117a"
},
{
"scope": "runtime-source",
"path": "crates/host/prometeu-host-headless/src/memcard_tests.rs",
"expected": "d94fc73ec614d00c78bdc1d38e4f5fc5dba38c33ee2fd04d7d529abf7588da8e",
"actual": "d94fc73ec614d00c78bdc1d38e4f5fc5dba38c33ee2fd04d7d529abf7588da8e"
},
{
"scope": "runtime-source",
"path": "crates/dev/prometeu-test-support/src/memcard_fixture.rs",
"expected": "3ca22dd5bc193f07034991ac1d3b232cb02edac433052430604aaa3be6443ec8",
"actual": "3ca22dd5bc193f07034991ac1d3b232cb02edac433052430604aaa3be6443ec8"
},
{
"scope": "runtime-source",
"path": "crates/tools/prometeu-cli/tests/automation_process.rs",
"expected": "5b79b0d2ebefbce595095487fa9c392c204923ef34ab5c2b0036656c4f0c07ee",
"actual": "5b79b0d2ebefbce595095487fa9c392c204923ef34ab5c2b0036656c4f0c07ee"
},
{
"scope": "runtime-source",
"path": "crates/tools/prometeu-cli/tests/support/memcard_process.rs",
"expected": "b7e5b24474b4bfa13a386e2ab5f8fad4464f665fbd40f1b1e34763d62284b6e7",
"actual": "b7e5b24474b4bfa13a386e2ab5f8fad4464f665fbd40f1b1e34763d62284b6e7"
},
{
"scope": "runtime-source",
"path": "docs/specs/runtime/08-save-memory-and-memcard.md",
"expected": "edd46ced0f0f4fb32d95db6c6b89120d1a61561111d2575d3737b7d8175547c1",
"actual": "edd46ced0f0f4fb32d95db6c6b89120d1a61561111d2575d3737b7d8175547c1"
},
{
"scope": "runtime-source",
"path": "docs/specs/runtime/11-portability-and-cross-platform-execution.md",
"expected": "1a0db0500ae72f709b05a0be9d3474ce23b4c3a5ab21f36f4611090e1f1f70b0",
"actual": "1a0db0500ae72f709b05a0be9d3474ce23b4c3a5ab21f36f4611090e1f1f70b0"
},
{
"scope": "runtime-source",
"path": "docs/specs/runtime/11a-headless-automation-protocol.md",
"expected": "2c5391fdbeb35964717f2af1f994b5c81b1b4278641fece17ccdc3fb6b766a6e",
"actual": "2c5391fdbeb35964717f2af1f994b5c81b1b4278641fece17ccdc3fb6b766a6e"
},
{
"scope": "runtime-source",
"path": "devtools/headless-protocol/request.schema.json",
"expected": "554960a1c6c1304da32753937b899b51ac658cae4b9d96927f5a384325ce2ae2",
"actual": "554960a1c6c1304da32753937b899b51ac658cae4b9d96927f5a384325ce2ae2"
},
{
"scope": "runtime-source",
"path": "devtools/headless-protocol/response.schema.json",
"expected": "7a8a0fe70a6864203b771e0564dc4227b768213d2368c5b162c892c55c5e186b",
"actual": "7a8a0fe70a6864203b771e0564dc4227b768213d2368c5b162c892c55c5e186b"
},
{
"scope": "runtime-installation",
"path": "prometeu",
"expected": "bb245dd057bbc910053b63c55b75a573ab4e9c9a02b7c79ba89e659bea8e85c3",
"actual": "bb245dd057bbc910053b63c55b75a573ab4e9c9a02b7c79ba89e659bea8e85c3"
},
{
"scope": "runtime-installation",
"path": "prometeu-runtime",
"expected": "ee00a587eb48030d1455d3c9bedd784ab620309a09877b50fe3641ae502635df",
"actual": "ee00a587eb48030d1455d3c9bedd784ab620309a09877b50fe3641ae502635df"
},
{
"scope": "runtime-installation",
"path": "prometeu-headless",
"expected": "18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df",
"actual": "18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df"
},
{
"scope": "runtime-installation",
"path": "headless-protocol/request.schema.json",
"expected": "554960a1c6c1304da32753937b899b51ac658cae4b9d96927f5a384325ce2ae2",
"actual": "554960a1c6c1304da32753937b899b51ac658cae4b9d96927f5a384325ce2ae2"
},
{
"scope": "runtime-installation",
"path": "headless-protocol/response.schema.json",
"expected": "7a8a0fe70a6864203b771e0564dc4227b768213d2368c5b162c892c55c5e186b",
"actual": "7a8a0fe70a6864203b771e0564dc4227b768213d2368c5b162c892c55c5e186b"
},
{
"scope": "runtime-installation",
"path": "11a-headless-automation-protocol.md",
"expected": "2c5391fdbeb35964717f2af1f994b5c81b1b4278641fece17ccdc3fb6b766a6e",
"actual": "2c5391fdbeb35964717f2af1f994b5c81b1b4278641fece17ccdc3fb6b766a6e"
},
{
"scope": "runtime-archive",
"path": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/dist-staging/qualification/PLN-0202/prometeu-cli-aarch64-apple-darwin.zip",
"expected": "05b0e38f797bc6d24cd69aeb7f6cad9ae224cb2308390a084634dfebe5e8f2f7",
"actual": "05b0e38f797bc6d24cd69aeb7f6cad9ae224cb2308390a084634dfebe5e8f2f7"
},
{
"scope": "stable-preservation",
"path": "prometeu",
"expected": "73101a42ed5f2a22ad74fd639498d424c070a712a3bce32a9cec6fab3d5bdd80",
"actual": "bb245dd057bbc910053b63c55b75a573ab4e9c9a02b7c79ba89e659bea8e85c3"
},
{
"scope": "stable-preservation",
"path": "prometeu-runtime",
"expected": "ee00a587eb48030d1455d3c9bedd784ab620309a09877b50fe3641ae502635df",
"actual": "ee00a587eb48030d1455d3c9bedd784ab620309a09877b50fe3641ae502635df"
},
{
"scope": "stable-preservation",
"path": "prometeu-headless",
"expected": "e5e9571e7ab42724af37294c79b19478a1e1b5a71df177eee7141d42e042f6f4",
"actual": "18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df"
},
{
"scope": "unchanged-consumer",
"path": "docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md",
"expected": "2519e9ca02d99af5a22ab3aba360ee7a82eba30a85bc6fcbeb3d3180a4519bdb",
"actual": "2519e9ca02d99af5a22ab3aba360ee7a82eba30a85bc6fcbeb3d3180a4519bdb"
},
{
"scope": "unchanged-consumer",
"path": "docs/specs/studio/10. DEV and Automation Specification.md",
"expected": "a71729b3a588b20103e18181436701ef43bd0608c7962554cef5acb46b832f49",
"actual": "a71729b3a588b20103e18181436701ef43bd0608c7962554cef5acb46b832f49"
},
{
"scope": "unchanged-consumer",
"path": "docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md",
"expected": "de9f5fe9b2783c7874ecfa0cc6a7031b046f50cb88a29795eecda43665a2cff3",
"actual": "de9f5fe9b2783c7874ecfa0cc6a7031b046f50cb88a29795eecda43665a2cff3"
},
{
"scope": "unchanged-consumer",
"path": "docs/specs/studio/8. Project-Local Studio State Specification.md",
"expected": "001f8c0419d0a12edbc1d86745091b722540f40a1e4d18bb5c03db94cd0d32bb",
"actual": "001f8c0419d0a12edbc1d86745091b722540f40a1e4d18bb5c03db94cd0d32bb"
},
{
"scope": "unchanged-consumer",
"path": "docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md",
"expected": "ad96e2c25e81b778102be7a4229d21c86bddc0879e27abd288fe75d0f179103e",
"actual": "ad96e2c25e81b778102be7a4229d21c86bddc0879e27abd288fe75d0f179103e"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/build.gradle.kts",
"expected": "231da7ba7d5bcfbeeeba3a4faf972525a8ef8dfc19078262e1e3593bec3b6a05",
"actual": "231da7ba7d5bcfbeeeba3a4faf972525a8ef8dfc19078262e1e3593bec3b6a05"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/StudioApplicationConfiguration.java",
"expected": "5599a06e3b8cacca4834a84c720e10780230ef88476b40966db2486bfa36caf3",
"actual": "5599a06e3b8cacca4834a84c720e10780230ef88476b40966db2486bfa36caf3"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/mcp/ContractSchema.java",
"expected": "de7e453050b796435b500ea21d639a260d0df3f75becab74a33bc73fc6e074f0",
"actual": "de7e453050b796435b500ea21d639a260d0df3f75becab74a33bc73fc6e074f0"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/mcp/McpConnectionGuide.java",
"expected": "00dd85383b4fd8342d408b0c674210982c98bed6676b1ed699a30628fad52efd",
"actual": "00dd85383b4fd8342d408b0c674210982c98bed6676b1ed699a30628fad52efd"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/mcp/McpGuestTestTools.java",
"expected": "9f4e1ba4cfd4917e616d6b0310f1b7020f28cb9cc86516460c0f01aa2261dad8",
"actual": "9f4e1ba4cfd4917e616d6b0310f1b7020f28cb9cc86516460c0f01aa2261dad8"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/runtime/GuestEventDecoder.java",
"expected": "467c7c789f36e44ffda689180f778968ca6950fc758a602a41ac7b12098e2ae8",
"actual": "467c7c789f36e44ffda689180f778968ca6950fc758a602a41ac7b12098e2ae8"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/runtime/GuestTestSupportAdapter.java",
"expected": "fb20a6220c6736dcad3ac9e1707fc99970f4cfc69bdbe62f7042cb92ce11c6f9",
"actual": "fb20a6220c6736dcad3ac9e1707fc99970f4cfc69bdbe62f7042cb92ce11c6f9"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessProcessGateway.java",
"expected": "bf9d191a1b3232cf56156cae8d5b45d9dfe215eac072d3fe827e5061b1f31d72",
"actual": "bf9d191a1b3232cf56156cae8d5b45d9dfe215eac072d3fe827e5061b1f31d72"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessProcessSession.java",
"expected": "2df680cac3a20d5589acd58c76f881588ab37df94088616258b77fa8e7cfa343",
"actual": "2df680cac3a20d5589acd58c76f881588ab37df94088616258b77fa8e7cfa343"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/java/p/studio/app/runtime/HeadlessWire.java",
"expected": "ed4d732f43e44efe162ed7a03a2b540a0fe4999b936fb40107e939e1886c4a00",
"actual": "ed4d732f43e44efe162ed7a03a2b540a0fe4999b936fb40107e939e1886c4a00"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/main/resources/mcp/studio-tools-v1.json",
"expected": "ee1619229e0738972ba6a5e00f03a2a6a3940c0b8b5017b55eafbb577a3eb16f",
"actual": "ee1619229e0738972ba6a5e00f03a2a6a3940c0b8b5017b55eafbb577a3eb16f"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java",
"expected": "c50ef41712272e19828a520471213680fdeb89e5a565e2141aba850f766bbe44",
"actual": "c50ef41712272e19828a520471213680fdeb89e5a565e2141aba850f766bbe44"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeTest.java",
"expected": "8edf4fdac30c5c210c3c4f986fb6c1d2a590956e72be7ceb66448c276c7dc565",
"actual": "8edf4fdac30c5c210c3c4f986fb6c1d2a590956e72be7ceb66448c276c7dc565"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/runtime/GuestLogWireTest.java",
"expected": "0337625a062fe48ad35e7cc3baec1e890484ae828e1af4c0b336c0ff31bb3828",
"actual": "0337625a062fe48ad35e7cc3baec1e890484ae828e1af4c0b336c0ff31bb3828"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/runtime/GuestTestPilotTest.java",
"expected": "a9b31fdcde95c0eb5a7240292596ae8d2290972a624aa1156317b4f88e3b63d9",
"actual": "a9b31fdcde95c0eb5a7240292596ae8d2290972a624aa1156317b4f88e3b63d9"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/runtime/GuestTestsDesktopTest.java",
"expected": "3acd5161a14283b6d8488254d36129d8d76f22f6e64be733cab1caa131fb9d9d",
"actual": "3acd5161a14283b6d8488254d36129d8d76f22f6e64be733cab1caa131fb9d9d"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/runtime/GuestTestsInstalledRuntimeTest.java",
"expected": "8dde0905ddd85746d495725642ba453ee5de5b29592289d4e6499e40611cbcf2",
"actual": "8dde0905ddd85746d495725642ba453ee5de5b29592289d4e6499e40611cbcf2"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/java/p/studio/app/runtime/HeadlessProcessSessionTest.java",
"expected": "9e9cf728c1de46c805aa82336ccb4a97a28b09c053ecbf155916f78eeaeccf11",
"actual": "9e9cf728c1de46c805aa82336ccb4a97a28b09c053ecbf155916f78eeaeccf11"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/resources/guest-tests/zelda-public/reader.pbs",
"expected": "378aed6cafbc834ebd721c3b26edfd262a9f090345849f77d19ce3cfd5e3ed64",
"actual": "378aed6cafbc834ebd721c3b26edfd262a9f090345849f77d19ce3cfd5e3ed64"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-app/src/test/resources/guest-tests/zelda-public/writer.pbs",
"expected": "94dfafc303b6d41f65413de57d27bf6666d1db7053656fb3d6bd45e97f9478c4",
"actual": "94dfafc303b6d41f65413de57d27bf6666d1db7053656fb3d6bd45e97f9478c4"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/README.md",
"expected": "f1090192eb716012a486ba02772b90ea900cee0132077dcc8e25ea7238be9e72",
"actual": "f1090192eb716012a486ba02772b90ea900cee0132077dcc8e25ea7238be9e72"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/prometeu.json",
"expected": "855653e59cf5c13641b9852bd01e6e51097df8841cb0d73bc31dbf95792b70c6",
"actual": "855653e59cf5c13641b9852bd01e6e51097df8841cb0d73bc31dbf95792b70c6"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/src/life/main.pbs",
"expected": "a2586dbcfeffc96e3565440aa4f2b87b612c62a5a81e35c5291a2fc63ebb011e",
"actual": "a2586dbcfeffc96e3565440aa4f2b87b612c62a5a81e35c5291a2fc63ebb011e"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/src/life/mod.barrel",
"expected": "869a113153c1432c2bf98524a577368e50181551f038cd4ba006a0db0dd79064",
"actual": "869a113153c1432c2bf98524a577368e50181551f038cd4ba006a0db0dd79064"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/src/main.pbs",
"expected": "644c4d11c807e53f143a3eb8180063134d1ecc150967bd8141d76fcde5761485",
"actual": "644c4d11c807e53f143a3eb8180063134d1ecc150967bd8141d76fcde5761485"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/src/mod.barrel",
"expected": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
"actual": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/tests/life-fail/main.pbs",
"expected": "a6311ffd4a9d273df1f25a68f993d4c14debca073ad5d80e8742f74d26c731a4",
"actual": "a6311ffd4a9d273df1f25a68f993d4c14debca073ad5d80e8742f74d26c731a4"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/tests/life/main.pbs",
"expected": "fcb900bbd4934a5cf9445f5f8e6128035c4f556874c661ccb58178388e61f10c",
"actual": "fcb900bbd4934a5cf9445f5f8e6128035c4f556874c661ccb58178388e61f10c"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/tests/support/assertions/main.pbs",
"expected": "771e197280c46418075731db3d04d63c134d5bc1d7e4342dcb1220328f36704b",
"actual": "771e197280c46418075731db3d04d63c134d5bc1d7e4342dcb1220328f36704b"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/isolated-tests/tests/support/assertions/mod.barrel",
"expected": "40a662b19f15e5825aeffc7e9404171b6e5ad4d8de959a5d54f25fcc302f2df7",
"actual": "40a662b19f15e5825aeffc7e9404171b6e5ad4d8de959a5d54f25fcc302f2df7"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSession.java",
"expected": "e5337d33365ddd6d93528477e491aa07578c246390386883103a0e42add735cc",
"actual": "e5337d33365ddd6d93528477e491aa07578c246390386883103a0e42add735cc"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-api/src/main/java/p/studio/api/automation/GuestTestTools.java",
"expected": "6d75a7c119bbb094e34ac63d68edc356770ade8d9164a002200859426a93843d",
"actual": "6d75a7c119bbb094e34ac63d68edc356770ade8d9164a002200859426a93843d"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-api/src/main/java/p/studio/api/automation/GuestTests.java",
"expected": "88b62c8bd11ce3854d6b24822fc85d74f27a6798aa6f8e76d207fadfbd532efb",
"actual": "88b62c8bd11ce3854d6b24822fc85d74f27a6798aa6f8e76d207fadfbd532efb"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-api/src/main/java/p/studio/api/automation/ProjectAccess.java",
"expected": "a484a3fff72001364651fe613d98b5de7aac50eaef323297fbeb4a117e802b24",
"actual": "a484a3fff72001364651fe613d98b5de7aac50eaef323297fbeb4a117e802b24"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/execution/PlayStopExecutionController.java",
"expected": "4c4edc59680fc8d137c862cc123a29fb042301195b9948815f1e0a36756768b7",
"actual": "4c4edc59680fc8d137c862cc123a29fb042301195b9948815f1e0a36756768b7"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/project/ProjectAccessRegistry.java",
"expected": "371d243e77bebcc4324ad66277a5cc28fffc8b5c8ea83cfcda596d724f0f6435",
"actual": "371d243e77bebcc4324ad66277a5cc28fffc8b5c8ea83cfcda596d724f0f6435"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/runtime/GuestTestSupport.java",
"expected": "cf45dd2e0c4b7a15e0c471aa9d84d17e05b36eb1be4cc3ed172f40f2a0ba2e84",
"actual": "cf45dd2e0c4b7a15e0c471aa9d84d17e05b36eb1be4cc3ed172f40f2a0ba2e84"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/runtime/HeadlessGateway.java",
"expected": "99f7d1729a8a444119f5560ed793a56fa40546a3ed04ee04e517fb5595cd5571",
"actual": "99f7d1729a8a444119f5560ed793a56fa40546a3ed04ee04e517fb5595cd5571"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java",
"expected": "f987ba5fbfed0c4f66d2569a62969a492f3cc655430efd8a9a89fa56dd4fc612",
"actual": "f987ba5fbfed0c4f66d2569a62969a492f3cc655430efd8a9a89fa56dd4fc612"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/session/DefaultGuestTestTools.java",
"expected": "138659d2fa02d8fb7249c9c7025ece71dfcab19eab78c9341018d914d5cd7ff8",
"actual": "138659d2fa02d8fb7249c9c7025ece71dfcab19eab78c9341018d914d5cd7ff8"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/main/java/p/studio/core/session/GuestTranscript.java",
"expected": "9f218c29aeb3d184b421c518e31a3aea6ba06ff64dcdc20e78b069bed9e033a8",
"actual": "9f218c29aeb3d184b421c518e31a3aea6ba06ff64dcdc20e78b069bed9e033a8"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/test/java/p/studio/core/session/GuestFailureProjectionTest.java",
"expected": "25007be78883ac07750498b3a972486da7b5470abcad3d95aa269f5f1d3b3156",
"actual": "25007be78883ac07750498b3a972486da7b5470abcad3d95aa269f5f1d3b3156"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-core/src/test/java/p/studio/core/session/GuestTranscriptTest.java",
"expected": "1f544e08f84561771a7406e8899ab19ef932987b0959bdc4763563dd6e9c909f",
"actual": "1f544e08f84561771a7406e8899ab19ef932987b0959bdc4763563dd6e9c909f"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/window/MainView.java",
"expected": "ee1230e2a4c6919133be94dce72d0b1a873e3037716795c54f613a2d37739c5b",
"actual": "ee1230e2a4c6919133be94dce72d0b1a873e3037716795c54f613a2d37739c5b"
},
{
"scope": "unchanged-consumer",
"path": "prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/tests/TestsWorkspace.java",
"expected": "3414161a16ac4be46f521341da126528b2aef24acc6ad56d6c1d04de1e31cc16",
"actual": "3414161a16ac4be46f521341da126528b2aef24acc6ad56d6c1d04de1e31cc16"
}
],
"mismatches": [
{
"scope": "stable-preservation",
"path": "prometeu",
"expected": "73101a42ed5f2a22ad74fd639498d424c070a712a3bce32a9cec6fab3d5bdd80",
"actual": "bb245dd057bbc910053b63c55b75a573ab4e9c9a02b7c79ba89e659bea8e85c3"
},
{
"scope": "stable-preservation",
"path": "prometeu-headless",
"expected": "e5e9571e7ab42724af37294c79b19478a1e1b5a71df177eee7141d42e042f6f4",
"actual": "18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df"
}
],
"runtimeWriteBuildCommit": false,
"blockingMismatches": [],
"stableBaselineDifferences": [
{
"scope": "stable-preservation",
"path": "prometeu",
"expected": "73101a42ed5f2a22ad74fd639498d424c070a712a3bce32a9cec6fab3d5bdd80",
"actual": "bb245dd057bbc910053b63c55b75a573ab4e9c9a02b7c79ba89e659bea8e85c3"
},
{
"scope": "stable-preservation",
"path": "prometeu-headless",
"expected": "e5e9571e7ab42724af37294c79b19478a1e1b5a71df177eee7141d42e042f6f4",
"actual": "18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df"
}
],
"stableObservation": "The previously selected stable dispatcher/headless now match the corrected qualification installation. Provider evidence records preservation at its own earlier checkpoint; this later observation does not establish when or by whom stable was updated. This Studio task did not replace the installation.",
"deliveryStatus": "verified"
}
@@ -0,0 +1,485 @@
{
"hello": {
"capabilities": [
"boot",
"reset",
"set_input",
"clear_input",
"advance",
"capture",
"get_state",
"get_fault",
"log_read",
"cancel",
"shutdown",
"memcard",
"memcard_mount",
"memcard_unmount",
"get_memcard_state",
"memcard_reconcile",
"memcard_continue_in_memory"
],
"limits": {
"callTimeoutMs": 60000,
"handshakeTimeoutMs": 5000,
"maxCommandBytes": 65536,
"maxFrames": 600,
"maxResponseBytes": 33554432,
"shutdownTimeoutMs": 5000
},
"protocolVersion": {
"major": 1,
"minor": 2
},
"runtimeVersion": "0.1.0",
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "hello"
},
"observations": [
{
"request": {
"requestId": "1",
"command": "initialize",
"params": {
"protocolVersion": {
"major": 1,
"minor": 2
},
"requiredCapabilities": [
"memcard",
"log_read"
]
}
},
"response": {
"requestId": "1",
"result": {
"capabilities": [
"boot",
"reset",
"set_input",
"clear_input",
"advance",
"capture",
"get_state",
"get_fault",
"log_read",
"cancel",
"shutdown",
"memcard",
"memcard_mount",
"memcard_unmount",
"get_memcard_state",
"memcard_reconcile",
"memcard_continue_in_memory"
],
"protocolVersion": {
"major": 1,
"minor": 2
}
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "2",
"command": "memcard_mount",
"params": {
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-z45x6wt_/owned-copy.pmc",
"action": "open",
"access": "read_write"
}
},
"response": {
"requestId": "2",
"result": {
"dirty": false,
"dirtySlots": [],
"io": {
"active": false,
"deferred": false,
"phase": "idle"
},
"media": {
"access": "read_write",
"cardId": "c0e20cf55f4661f7298054098c710b2d",
"degraded": false,
"error": null,
"mountEpoch": "0",
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-z45x6wt_/owned-copy.pmc",
"preparation": "ready",
"recovered": false,
"writeBlocked": false
},
"recovery": {
"reconciliationRequired": false,
"removalPending": false,
"restartRequired": false
},
"request": null,
"session": {
"actionRequired": false,
"appId": null,
"bootAttempted": false,
"bootPhase": "idle",
"choice": null,
"mode": null,
"resident": false
}
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "3",
"command": "boot",
"params": {
"path": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/discussion/workflow/plans/evidence/PLN-0172/native-reopen-watchdog/reader-cartridge",
"memcardChoice": "persistent"
}
},
"response": {
"requestId": "3",
"result": {
"appId": 2137977836,
"logicalFrameIndex": 0,
"pc": 0,
"stackTop": [],
"status": "running",
"tickIndex": 0
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "4",
"command": "get_logs",
"params": {
"afterSequence": null,
"limit": 128
}
},
"response": {
"requestId": "4",
"result": {
"events": [
{
"appId": null,
"frame": 0,
"level": "info",
"message": "PrometeuOS starting...",
"sequence": 0,
"source": "pos",
"tag": 0,
"timestampMs": 0
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Firmware Reset",
"sequence": 1,
"source": "pos",
"tag": 0,
"timestampMs": 2
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Launching Hub",
"sequence": 2,
"source": "pos",
"tag": 0,
"timestampMs": 2
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Loading cartridge: zelda1",
"sequence": 3,
"source": "pos",
"tag": 0,
"timestampMs": 7
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Entering GameRunning",
"sequence": 4,
"source": "pos",
"tag": 0,
"timestampMs": 30
}
],
"gap": false,
"logEpoch": 0,
"newestSequence": 4,
"nextAfterSequence": 4,
"oldestSequence": 0,
"overflow": false,
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd"
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "5",
"command": "advance",
"params": {
"frames": 1
}
},
"response": {
"requestId": "5",
"result": {
"completed": 1,
"requested": 1,
"stop": "completed"
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "6",
"command": "get_state",
"params": {}
},
"response": {
"requestId": "6",
"result": {
"appId": 2137977836,
"logicalFrameIndex": 1,
"pc": 784195,
"stackTop": [],
"status": "paused",
"tickIndex": 3
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "7",
"command": "get_fault",
"params": {}
},
"response": {
"requestId": "7",
"result": null,
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "8",
"command": "get_memcard_state",
"params": {}
},
"response": {
"requestId": "8",
"result": {
"dirty": false,
"dirtySlots": [],
"io": {
"active": false,
"deferred": false,
"phase": "idle"
},
"media": {
"access": "read_write",
"cardId": "c0e20cf55f4661f7298054098c710b2d",
"degraded": false,
"error": null,
"mountEpoch": "1",
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-z45x6wt_/owned-copy.pmc",
"preparation": "ready",
"recovered": false,
"writeBlocked": false
},
"recovery": {
"reconciliationRequired": false,
"removalPending": false,
"restartRequired": false
},
"request": null,
"session": {
"actionRequired": false,
"appId": 2137977836,
"bootAttempted": true,
"bootPhase": "running",
"choice": "persistent",
"mode": "persistent",
"resident": true
}
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "9",
"command": "get_logs",
"params": {
"afterSequence": null,
"limit": 128
}
},
"response": {
"requestId": "9",
"result": {
"events": [
{
"appId": null,
"frame": 0,
"level": "info",
"message": "PrometeuOS starting...",
"sequence": 0,
"source": "pos",
"tag": 0,
"timestampMs": 0
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Firmware Reset",
"sequence": 1,
"source": "pos",
"tag": 0,
"timestampMs": 2
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Launching Hub",
"sequence": 2,
"source": "pos",
"tag": 0,
"timestampMs": 2
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Loading cartridge: zelda1",
"sequence": 3,
"source": "pos",
"tag": 0,
"timestampMs": 7
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Entering GameRunning",
"sequence": 4,
"source": "pos",
"tag": 0,
"timestampMs": 30
},
{
"appId": 2137977836,
"frame": 0,
"level": "info",
"message": "{\"schemaVersion\":1,\"suiteId\":\"shop-save\",\"eventId\":\"e0\",\"kind\":\"suite_start\",\"payload\":{\"ordinal\":0}}",
"sequence": 5,
"source": "app",
"tag": 41003,
"timestampMs": 39
},
{
"appId": 2137977836,
"frame": 0,
"level": "info",
"message": "{\"schemaVersion\":1,\"suiteId\":\"shop-save\",\"eventId\":\"e1\",\"kind\":\"case_start\",\"payload\":{\"ordinal\":1},\"caseId\":\"readback\"}",
"sequence": 6,
"source": "app",
"tag": 41003,
"timestampMs": 39
}
],
"gap": false,
"logEpoch": 0,
"newestSequence": 6,
"nextAfterSequence": 6,
"oldestSequence": 0,
"overflow": false,
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd"
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
},
{
"request": {
"requestId": "10",
"command": "shutdown",
"params": {}
},
"response": {
"requestId": "10",
"result": {
"closed": true,
"memcard": {
"dirty": false,
"dirtySlots": [],
"io": {
"active": false,
"deferred": false,
"phase": "idle"
},
"media": {
"access": "read_write",
"cardId": "c0e20cf55f4661f7298054098c710b2d",
"degraded": false,
"error": null,
"mountEpoch": "1",
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-z45x6wt_/owned-copy.pmc",
"preparation": "ready",
"recovered": false,
"writeBlocked": false
},
"recovery": {
"reconciliationRequired": false,
"removalPending": false,
"restartRequired": false
},
"request": null,
"session": {
"actionRequired": false,
"appId": 2137977836,
"bootAttempted": true,
"bootPhase": "running",
"choice": "persistent",
"mode": "persistent",
"resident": true
}
}
},
"sessionId": "8007a1eadc39c09e6471c17dcd409ffd",
"type": "response"
}
}
],
"exitCode": 0,
"headlessSha256": "18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df",
"advanceCommands": 1,
"scope": "Native-only probe; temporary copy of fixture card; no Studio consumer and no advance retry."
}
@@ -0,0 +1,72 @@
# Final Studio acceptance after the runtime correction
Owner: `studio`, with compiler/PBS and FE/MCP propagation. All PLN-0172 gates are
qualified. The unchanged public save/reopen pilot and the native-only single-advance
probe now pass against the externally delivered installation.
## Executed delivery
- Installation: `runtime/dist-staging/qualification/PLN-0202` (macOS arm64).
- Headless SHA-256: `18423f798ab28bbd38c12a7ee46459f3ef3d08876cc64327952f57be041fc5df`.
- [Delivery verification](delivery-verification.json): fifteen provider source/config
hashes, six installed file hashes, retained archive and fifty unchanged consumer
files match the supplied qualification. There are no blocking mismatches.
- Stable dispatcher/headless now match this corrected extraction and differ from
the prior stable baseline. The provider recorded preservation at its earlier
checkpoint; this later observation does not identify when or by whom stable was
updated. Studio did not replace it or perform runtime writes/builds/commits.
- No source fixture, producer budget, frame budget or advance replay policy changed
to obtain the passing results. Native correction is independently fingerprinted
over the provider's uncommitted source based on 49d7fca.
## Acceptance matrix
| Decision / gate | Final evidence |
| --- | --- |
| D1–D2 / T1–T2: explicit targets, common resolution, exact roots/exclusions and original provenance | Retained passing manifest, compiler/PBS and application suites; fifty consumer files unchanged from the local qualification |
| D3–D4 / T2–T3: exclusive immutable builds, production preserved, normal visibility | Retained target build integration cases; current installed life pass/known failure, normal production afterward, separate build/session identity; public Zelda original/copy source hashes match |
| D5 / T5–T7: unchanged lifecycle/budgets and bounded execution | Current thirteen-case headless gate passes, including timeout/cancel, actual worker termination and native failure/recovery handling |
| D6–D7 / T4–T5: structured events and complete nonempty case results | Core transcript cases plus current producer-drop and empty-suite rejection, explicit known failure and admitted original checkpoint reference pass |
| D8–D9 / T6–T7: negotiated lossless read-only native logs | Independently verified R1 provider evidence plus unchanged schemas; corrected delivery retains 1.2/log_read; missing-capability adapter fixture is explicitly simulated |
| D10 / T4–T6: reader and producer continuity | Explicit authorized overflow revision, historical-overflow/sequence/ordinal/count cases pass; native log provider evidence retained separately |
| D11 / T5–T7: explicit owned media and separate-process persistence | Current memcard tests and public purchase/commit/readback pilot pass; dirty refusal requires explicit recovery; personal image preservation asserted |
| D12 / T3–T8: one human/MCP service and authority | Actual themed Tests desktop and authenticated HTTP MCP parity pass; DEV and headless MCP compatibility pass; installed examples previously passed and remain up-to-date |
| Runtime boundary | External correction only; this consumer executed existing binaries with temporary media and Studio outputs |
## Results and interpretation
[qualification.json](qualification.json) records both successful Gradle commands,
normalized cases, all report/artifact hashes and the raw
[JUnit archive](junit-reports.zip). **34 cases were freshly executed and passed**:
thirteen headless, two memcard, one Tests desktop, ten headless MCP desktop, seven
DEV desktop and one unchanged public Zelda pilot. No failures, skips or errors in
these re-executed cases. Installed knowledge was up-to-date after its previous
two-case passing run.
The combined latest local reports contain **1,194 cases: 1,182 passed, twelve
existing pipeline skips, zero failures/errors**. Those local suites span multiple
invocations and are not presented as one fresh full execution. Original report
timestamps remain available.
The [native probe](native-probe.json) sends exactly one advance(1), completing one
frame with paused state, logicalFrameIndex=1 and no guest fault. There is no Studio
consumer in that probe.
The [writer](artifacts/zelda-public/writer.json) passes purchase and commit. A
different [reader session/build](artifacts/zelda-public/reader.json) passes readback
using the same disposable card. [Source/media proof](artifacts/zelda-public/source-and-media-proof.json)
retains all 137 identical original/copy production source/barrel hashes and both
card hashes. The pilot's passing assertions additionally cover the unrelated
personal image. Whole card hashes differ in this presentation-publishing reader;
the oracle is its public save-value assertions, not whole-image immutability.
Separate native no-presentation tests retain the unchanged-image oracle.
Actual [manual pass](artifacts/desktop/manual-pass.png) and
[granted known-failure](artifacts/desktop/agent-known-fail.png) screenshots were
visually inspected. The [MCP result](artifacts/desktop/mcp-failed-result.json) and
[paged transcript](artifacts/desktop/mcp-transcript.json) match the shared service;
human mutation is disabled during the grant while cases remain inspectable.
The earlier failing pilot/native record and earlier provider/consumer checkpoints
are retained as historical evidence. They are superseded for final acceptance,
not relabeled as successful runs.
@@ -0,0 +1,67 @@
> Historical checkpoint. Final acceptance is recorded in [the completed lesson](../../LSN-0111-isolated-guest-targets-and-complete-structured-results.md).
# Native reopen watchdog — confirmed regression and proposed scope
Owner: Studio guest-test acceptance; correction owner: runtime/headless.
Status: reproduced twice through Studio and once directly through native JSONL.
No runtime source/build/staging/commit was changed by this investigation.
The user explicitly selected correction by the runtime AI using this handoff.
This Studio task has no authorization to edit/build/commit the provider. After
external delivery, verify its exact installed identity and rerun the unchanged
pilot; do not change the fixture, budgets or single-advance policy to bypass it.
Read-only follow-up: the runtime AI has opened its own PLN-0202, currently
in_progress from HEAD 49d7fca with provider working changes. That external plan
owns its authorized correction scope. Its working tree is not yet an installed
delivery or Studio acceptance result; the consumer resume gate remains unchanged.
The public Zelda shop writer passes: purchase, explicit commit completion and
clean process shutdown. A new process reopens the same disposable image. Boot
succeeds, but its first advance(1) returns host_error/watchdog_expired with
completed=0, logicalFrameIndex=0, tickIndex=2, PC=233 and get_fault=null.
The memcard observation reports a pending presentation request with native IO
active. This matches the previously reported ATR-20. The original game's
sources/barrels and personal image are unchanged.
The direct probe bypasses the Studio consumer and sends exactly one advance.
It negotiates protocol 1.2/memcard/log_read, mounts a temporary copy of the
fixture-owned image, boots the retained reader cartridge, observes the failure
and shuts down. It never retries advance or raises a budget. See
[native-probe.json](native-probe.json), [reader result](reader.json),
[writer result](writer.json) and [source/media proof](source-and-media-proof.json).
Reproduce with the existing installation, writing only temporary fixture media
and the explicitly selected report:
```sh
python3 reproduce.py '<installation>' '<report.json>'
```
## Read-only diagnosis and proposed correction
The headless frame loop spins at most 100000 firmware ticks. Firmware ticks poll
background IO, but this loop has no wait for IO progress. The boot admission loop
already waits on the native memcard lane's progress stamp. The observed pending
presentation IO makes starvation/insufficient host IO progress the first
correction hypothesis; it is not a confirmed VM/guest instruction-budget failure.
Proposed runtime-relative file scope:
| File | Proposed change and impact |
| --- | --- |
| crates/host/prometeu-host-headless/src/host.rs | Coordinate bounded native IO progress while owning a frame advance; retain cancellation/watchdog/frame counting and native errors. No automatic second advance or guest budget increase. |
| crates/tools/prometeu-cli/tests/automation_process.rs | Native JSONL regression for first-frame progress after opening an existing fixture card, with exact progress/state and compatibility checks. |
| crates/tools/prometeu-cli/tests/support/memcard_process.rs | Self-contained public memcard fixture support as needed for the regression; no Studio checkout or game dependency in provider tests. |
Source-write authorization must also cover normal build/test outputs and a new
isolated qualification installation. Retain the current selected stable install.
No commits, commit-producing integrations, new guest ABI, log/VM budgets or
additional substantive source files are included. If the diagnosis requires a
different file/contract, update the scope before writing it.
Required validation after correction: focused native first-frame/reopen case,
existing headless/memcard process compatibility, then the unchanged Studio Zelda
writer/reader pilot and current shared runner/UI/MCP gates against the exact new
installed executable. An accepted commit alone remains distinct from readback in
a new process. Keep PLN-0172 in_progress until this mandatory pilot passes.
@@ -0,0 +1,485 @@
{
"hello": {
"capabilities": [
"boot",
"reset",
"set_input",
"clear_input",
"advance",
"capture",
"get_state",
"get_fault",
"log_read",
"cancel",
"shutdown",
"memcard",
"memcard_mount",
"memcard_unmount",
"get_memcard_state",
"memcard_reconcile",
"memcard_continue_in_memory"
],
"limits": {
"callTimeoutMs": 60000,
"handshakeTimeoutMs": 5000,
"maxCommandBytes": 65536,
"maxFrames": 600,
"maxResponseBytes": 33554432,
"shutdownTimeoutMs": 5000
},
"protocolVersion": {
"major": 1,
"minor": 2
},
"runtimeVersion": "0.1.0",
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "hello"
},
"observations": [
{
"request": {
"requestId": "1",
"command": "initialize",
"params": {
"protocolVersion": {
"major": 1,
"minor": 2
},
"requiredCapabilities": [
"memcard",
"log_read"
]
}
},
"response": {
"requestId": "1",
"result": {
"capabilities": [
"boot",
"reset",
"set_input",
"clear_input",
"advance",
"capture",
"get_state",
"get_fault",
"log_read",
"cancel",
"shutdown",
"memcard",
"memcard_mount",
"memcard_unmount",
"get_memcard_state",
"memcard_reconcile",
"memcard_continue_in_memory"
],
"protocolVersion": {
"major": 1,
"minor": 2
}
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "2",
"command": "memcard_mount",
"params": {
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-3si406y6/owned-copy.pmc",
"action": "open",
"access": "read_write"
}
},
"response": {
"requestId": "2",
"result": {
"dirty": false,
"dirtySlots": [],
"io": {
"active": false,
"deferred": false,
"phase": "idle"
},
"media": {
"access": "read_write",
"cardId": "c0e20cf55f4661f7298054098c710b2d",
"degraded": false,
"error": null,
"mountEpoch": "0",
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-3si406y6/owned-copy.pmc",
"preparation": "ready",
"recovered": false,
"writeBlocked": false
},
"recovery": {
"reconciliationRequired": false,
"removalPending": false,
"restartRequired": false
},
"request": null,
"session": {
"actionRequired": false,
"appId": null,
"bootAttempted": false,
"bootPhase": "idle",
"choice": null,
"mode": null,
"resident": false
}
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "3",
"command": "boot",
"params": {
"path": "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/discussion/workflow/plans/evidence/PLN-0172/native-reopen-watchdog/reader-cartridge",
"memcardChoice": "persistent"
}
},
"response": {
"requestId": "3",
"result": {
"appId": 2137977836,
"logicalFrameIndex": 0,
"pc": 0,
"stackTop": [],
"status": "running",
"tickIndex": 0
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "4",
"command": "get_logs",
"params": {
"afterSequence": null,
"limit": 128
}
},
"response": {
"requestId": "4",
"result": {
"events": [
{
"appId": null,
"frame": 0,
"level": "info",
"message": "PrometeuOS starting...",
"sequence": 0,
"source": "pos",
"tag": 0,
"timestampMs": 0
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Firmware Reset",
"sequence": 1,
"source": "pos",
"tag": 0,
"timestampMs": 1
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Launching Hub",
"sequence": 2,
"source": "pos",
"tag": 0,
"timestampMs": 1
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Loading cartridge: zelda1",
"sequence": 3,
"source": "pos",
"tag": 0,
"timestampMs": 7
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Entering GameRunning",
"sequence": 4,
"source": "pos",
"tag": 0,
"timestampMs": 31
}
],
"gap": false,
"logEpoch": 0,
"newestSequence": 4,
"nextAfterSequence": 4,
"oldestSequence": 0,
"overflow": false,
"sessionId": "ab75b440dea78f97febcd6248fec3808"
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "5",
"command": "advance",
"params": {
"frames": 1
}
},
"response": {
"requestId": "5",
"result": {
"completed": 0,
"error": {
"code": "watchdog_expired",
"details": {
"hostTickLimit": 100000
},
"message": "headless host frame-advance watchdog expired after 100000 firmware ticks"
},
"requested": 1,
"stop": "host_error"
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "6",
"command": "get_state",
"params": {}
},
"response": {
"requestId": "6",
"result": {
"appId": 2137977836,
"logicalFrameIndex": 0,
"pc": 233,
"stackTop": [
{
"kind": "int32",
"value": 0
}
],
"status": "paused",
"tickIndex": 2
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "7",
"command": "get_fault",
"params": {}
},
"response": {
"requestId": "7",
"result": null,
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "8",
"command": "get_memcard_state",
"params": {}
},
"response": {
"requestId": "8",
"result": {
"dirty": false,
"dirtySlots": [],
"io": {
"active": true,
"deferred": false,
"phase": "running"
},
"media": {
"access": "read_write",
"cardId": "c0e20cf55f4661f7298054098c710b2d",
"degraded": false,
"error": null,
"mountEpoch": "1",
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-3si406y6/owned-copy.pmc",
"preparation": "ready",
"recovered": false,
"writeBlocked": false
},
"recovery": {
"reconciliationRequired": false,
"removalPending": false,
"restartRequired": false
},
"request": {
"id": "1",
"operation": "presentation",
"reason": "none",
"retained": false,
"slot": null,
"state": "pending",
"storageError": null
},
"session": {
"actionRequired": false,
"appId": 2137977836,
"bootAttempted": true,
"bootPhase": "running",
"choice": "persistent",
"mode": "persistent",
"resident": true
}
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "9",
"command": "get_logs",
"params": {
"afterSequence": null,
"limit": 128
}
},
"response": {
"requestId": "9",
"result": {
"events": [
{
"appId": null,
"frame": 0,
"level": "info",
"message": "PrometeuOS starting...",
"sequence": 0,
"source": "pos",
"tag": 0,
"timestampMs": 0
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Firmware Reset",
"sequence": 1,
"source": "pos",
"tag": 0,
"timestampMs": 1
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Launching Hub",
"sequence": 2,
"source": "pos",
"tag": 0,
"timestampMs": 1
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Loading cartridge: zelda1",
"sequence": 3,
"source": "pos",
"tag": 0,
"timestampMs": 7
},
{
"appId": null,
"frame": 0,
"level": "info",
"message": "Entering GameRunning",
"sequence": 4,
"source": "pos",
"tag": 0,
"timestampMs": 31
}
],
"gap": false,
"logEpoch": 0,
"newestSequence": 4,
"nextAfterSequence": 4,
"oldestSequence": 0,
"overflow": false,
"sessionId": "ab75b440dea78f97febcd6248fec3808"
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
},
{
"request": {
"requestId": "10",
"command": "shutdown",
"params": {}
},
"response": {
"requestId": "10",
"result": {
"closed": true,
"memcard": {
"dirty": false,
"dirtySlots": [],
"io": {
"active": false,
"deferred": false,
"phase": "idle"
},
"media": {
"access": "read_write",
"cardId": "c0e20cf55f4661f7298054098c710b2d",
"degraded": false,
"error": null,
"mountEpoch": "1",
"path": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pln172-native-reopen-3si406y6/owned-copy.pmc",
"preparation": "ready",
"recovered": false,
"writeBlocked": false
},
"recovery": {
"reconciliationRequired": false,
"removalPending": false,
"restartRequired": false
},
"request": null,
"session": {
"actionRequired": false,
"appId": 2137977836,
"bootAttempted": true,
"bootPhase": "running",
"choice": "persistent",
"mode": "persistent",
"resident": true
}
}
},
"sessionId": "ab75b440dea78f97febcd6248fec3808",
"type": "response"
}
}
],
"exitCode": 0,
"headlessSha256": "e5e9571e7ab42724af37294c79b19478a1e1b5a71df177eee7141d42e042f6f4",
"advanceCommands": 1,
"scope": "Native-only probe; temporary copy of fixture card; no Studio consumer and no advance retry."
}
@@ -0,0 +1,433 @@
[ {
"asset_name" : "Link NES",
"decoded_size" : 65984,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 0,
"codec" : "NONE",
"asset_id" : 1
}, {
"asset_name" : "Overworld NES terrain",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 33216,
"codec" : "NONE",
"asset_id" : 3
}, {
"asset_name" : "Overworld starting room 77",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 66048,
"codec" : "NONE",
"asset_id" : 4
}, {
"asset_name" : "NES overworld HUD",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 32,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 70040,
"codec" : "NONE",
"asset_id" : 5
}, {
"asset_name" : "Starting cave NES",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 102872,
"codec" : "NONE",
"asset_id" : 6
}, {
"asset_name" : "cave_start",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 135704,
"codec" : "NONE",
"asset_id" : 7
}, {
"asset_name" : "Link NES doorway priority",
"decoded_size" : 65984,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 139696,
"codec" : "NONE",
"asset_id" : 8
}, {
"asset_name" : "Link NES sword pickup",
"decoded_size" : 65984,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 172912,
"codec" : "NONE",
"asset_id" : 9
}, {
"asset_name" : "cave_taken_person",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 206128,
"codec" : "NONE",
"asset_id" : 10
}, {
"asset_name" : "cave_taken",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 210120,
"codec" : "NONE",
"asset_id" : 11
}, {
"asset_name" : "NES hearts and GAME OVER",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 214112,
"codec" : "NONE",
"asset_id" : 12
}, {
"asset_name" : "death_blank",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 246944,
"codec" : "NONE",
"asset_id" : 13
}, {
"asset_name" : "game_over",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 250936,
"codec" : "NONE",
"asset_id" : 14
}, {
"asset_name" : "NES death sparks",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 254928,
"codec" : "NONE",
"asset_id" : 15
}, {
"asset_name" : "NES title patterns",
"decoded_size" : 66560,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 16,
"palette_authored" : 16,
"codec" : { }
},
"size" : 33792,
"offset" : 287760,
"codec" : "NONE",
"asset_id" : 16
}, {
"asset_name" : "title_0",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 321552,
"codec" : "NONE",
"asset_id" : 17
}, {
"asset_name" : "title_1",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 325544,
"codec" : "NONE",
"asset_id" : 18
}, {
"asset_name" : "title_4",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 329536,
"codec" : "NONE",
"asset_id" : 21
}, {
"asset_name" : "title_5",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 333528,
"codec" : "NONE",
"asset_id" : 22
}, {
"asset_name" : "NES continue menu",
"decoded_size" : 66048,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 8,
"palette_authored" : 8,
"codec" : { }
},
"size" : 33280,
"offset" : 337520,
"codec" : "NONE",
"asset_id" : 25
}, {
"asset_name" : "continue_0",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 370800,
"codec" : "NONE",
"asset_id" : 26
}, {
"asset_name" : "continue_1",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 374792,
"codec" : "NONE",
"asset_id" : 27
}, {
"asset_name" : "continue_2",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 378784,
"codec" : "NONE",
"asset_id" : 28
}, {
"asset_name" : "Shared NES overworld terrain",
"decoded_size" : 65792,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 382776,
"codec" : "NONE",
"asset_id" : 29
}, {
"asset_name" : "scenes/overworld_north",
"decoded_size" : 99928,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 50072,
"offset" : 415800,
"codec" : "NONE",
"asset_id" : 30
}, {
"asset_name" : "scenes/overworld_north_scroll",
"decoded_size" : 298072,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 149144,
"offset" : 465872,
"codec" : "NONE",
"asset_id" : 31
}, {
"asset_name" : "characters/octorok",
"decoded_size" : 65792,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 615016,
"codec" : "NONE",
"asset_id" : 32
}, {
"asset_name" : "NES combat and counter patterns",
"decoded_size" : 65856,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 5,
"palette_authored" : 5,
"codec" : { }
},
"size" : 33088,
"offset" : 648040,
"codec" : "NONE",
"asset_id" : 33
}, {
"asset_name" : "NES inventory and frozen-room strips",
"decoded_size" : 66112,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 9,
"palette_authored" : 9,
"codec" : { }
},
"size" : 33344,
"offset" : 681128,
"codec" : "NONE",
"asset_id" : 34
}, {
"asset_name" : "NES inventory scroll strips",
"decoded_size" : 213080,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 106648,
"offset" : 714472,
"codec" : "NONE",
"asset_id" : 35
} ]
@@ -0,0 +1,655 @@
[ {
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 0, 1019018495, -56605441, -1401159425 ]
},
"index" : 4
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -1401159425 ]
},
"index" : 5
}, {
"palette" : {
"rgba8888" : [ 0, -1128481537, -117901057, 2088533247 ]
},
"index" : 6
} ]
}
},
"asset_id" : 1
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 255, 11010303, -52909825, 5830911 ]
},
"index" : 0
} ]
}
},
"asset_id" : 3
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 4
}, {
"metadata" : {
"tile_size" : 32,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 255, 5830911, 951582975, 2088533247, -1401159425, -130547457, -122117889, -117901057, -56605441 ]
},
"index" : 0
} ]
}
},
"asset_id" : 5
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 255, 951582975, -2011954945, -1401159425, -130547457, -117901057, -56605441 ]
},
"index" : 0
} ]
}
},
"asset_id" : 6
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 7
}, {
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 0, 1019018495, -56605441, -1401159425 ]
},
"index" : 4
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -1401159425 ]
},
"index" : 5
}, {
"palette" : {
"rgba8888" : [ 0, -1128481537, -117901057, 2088533247 ]
},
"index" : 6
} ]
}
},
"asset_id" : 8
}, {
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 0, 1019018495, -56605441, -1401159425 ]
},
"index" : 4
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -1401159425 ]
},
"index" : 5
}, {
"palette" : {
"rgba8888" : [ 0, -1128481537, -117901057, 2088533247 ]
},
"index" : 6
} ]
}
},
"asset_id" : 9
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 10
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 11
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889, -117901057 ]
},
"index" : 0
} ]
}
},
"asset_id" : 12
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 13
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 14
}, {
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
},
"index" : 0
} ]
}
},
"asset_id" : 15
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 16,
"palette_authored" : 16,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ -122117889, 255, 2088533247, -1128481537 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -56605441, 255 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ -122117889, 1345323263, 11010303, -120030977 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ -122117889, -117901057, -1594040065, 1753808127 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 0, -117901057, -1594040065, -130547457 ]
},
"index" : 4
}, {
"palette" : {
"rgba8888" : [ 0, -1401159425, -56605441, 255 ]
},
"index" : 5
}, {
"palette" : {
"rgba8888" : [ 0, 1345323263, 11010303, -120030977 ]
},
"index" : 6
}, {
"palette" : {
"rgba8888" : [ 0, -117901057, -1594040065, 1753808127 ]
},
"index" : 7
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -56605441, 255 ]
},
"index" : 8
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -52909825, 255 ]
},
"index" : 9
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -52909825, 255 ]
},
"index" : 10
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -56605441, 255 ]
},
"index" : 11
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -1401159425, 255 ]
},
"index" : 12
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -2011954945, 255 ]
},
"index" : 13
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -2011954945, 255 ]
},
"index" : 14
}, {
"palette" : {
"rgba8888" : [ -122117889, -1401159425, -1401159425, 255 ]
},
"index" : 15
} ]
}
},
"asset_id" : 16
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 17
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 18
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 21
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 22
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 8,
"palette_authored" : 8,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 255, 4217087, 8947967, 1492703487 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 255, 5830911, 8947967, 1492703487 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -2011954945 ]
},
"index" : 4
}, {
"palette" : {
"rgba8888" : [ 0, 1753808127, -56605441, -2011954945 ]
},
"index" : 5
}, {
"palette" : {
"rgba8888" : [ 0, -126330625, -56605441, -2011954945 ]
},
"index" : 6
}, {
"palette" : {
"rgba8888" : [ 0, -1543461633, -56605441, -117901057 ]
},
"index" : 7
} ]
}
},
"asset_id" : 25
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 26
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 27
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 28
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 255, 11010303, -52909825, 5830911 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 255, -1401159425, -52909825, 5830911 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889 ]
},
"index" : 3
} ]
}
},
"asset_id" : 29
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 30
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 31
}, {
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
},
"index" : 3
} ]
}
},
"asset_id" : 32
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 5,
"palette_authored" : 5,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911 ]
},
"index" : 4
} ]
}
},
"asset_id" : 33
}, {
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 9,
"palette_authored" : 9,
"codec" : { },
"pipeline" : {
"palettes" : [ {
"palette" : {
"rgba8888" : [ 255, -117901057, 2088533247, 5830911, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 0
}, {
"palette" : {
"rgba8888" : [ 255, -130547457, -56605441, -122117889, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 1
}, {
"palette" : {
"rgba8888" : [ 255, 11010303, -52909825, 5830911, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 2
}, {
"palette" : {
"rgba8888" : [ 255, -1401159425, -52909825, 5830911, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 3
}, {
"palette" : {
"rgba8888" : [ 0, 951582975, -56605441, -1401159425, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 4
}, {
"palette" : {
"rgba8888" : [ 0, 48383, 1753808127, -117901057, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 5
}, {
"palette" : {
"rgba8888" : [ 0, -130547457, -56605441, -117901057, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 6
}, {
"palette" : {
"rgba8888" : [ 0, 4217087, 8947967, 1492703487, 0, 951582975, -2011954945, -1401159425, -130547457, -56605441, 167772671, 184549887, 201327103, 218104319, 234881535, 251658751 ]
},
"index" : 7
}, {
"palette" : {
"rgba8888" : [ 0, 255, 951582975, -2011954945, -1401159425, -130547457, -117901057, -56605441, 255, 255, 255, 255, 255, 255, 255, 255 ]
},
"index" : 8
} ]
}
},
"asset_id" : 34
}, {
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"asset_id" : 35
} ]
@@ -0,0 +1,534 @@
{
"magic" : "PMTU",
"cartridge_version" : 1,
"app_id" : 2137977836,
"memcard_slots" : 1,
"title" : "zelda1",
"app_version" : "1.0.0",
"app_mode" : "Game",
"capabilities" : [ "memcard", "log", "composer", "gfx2d" ],
"asset_table" : [ {
"asset_name" : "Link NES",
"decoded_size" : 65984,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 0,
"codec" : "NONE",
"asset_id" : 1
}, {
"asset_name" : "Overworld NES terrain",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 33216,
"codec" : "NONE",
"asset_id" : 3
}, {
"asset_name" : "Overworld starting room 77",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 66048,
"codec" : "NONE",
"asset_id" : 4
}, {
"asset_name" : "NES overworld HUD",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 32,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 70040,
"codec" : "NONE",
"asset_id" : 5
}, {
"asset_name" : "Starting cave NES",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 102872,
"codec" : "NONE",
"asset_id" : 6
}, {
"asset_name" : "cave_start",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 135704,
"codec" : "NONE",
"asset_id" : 7
}, {
"asset_name" : "Link NES doorway priority",
"decoded_size" : 65984,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 139696,
"codec" : "NONE",
"asset_id" : 8
}, {
"asset_name" : "Link NES sword pickup",
"decoded_size" : 65984,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 7,
"palette_authored" : 7,
"codec" : { }
},
"size" : 33216,
"offset" : 172912,
"codec" : "NONE",
"asset_id" : 9
}, {
"asset_name" : "cave_taken_person",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 206128,
"codec" : "NONE",
"asset_id" : 10
}, {
"asset_name" : "cave_taken",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 210120,
"codec" : "NONE",
"asset_id" : 11
}, {
"asset_name" : "NES hearts and GAME OVER",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 214112,
"codec" : "NONE",
"asset_id" : 12
}, {
"asset_name" : "death_blank",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 246944,
"codec" : "NONE",
"asset_id" : 13
}, {
"asset_name" : "game_over",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 250936,
"codec" : "NONE",
"asset_id" : 14
}, {
"asset_name" : "NES death sparks",
"decoded_size" : 65600,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 1,
"palette_authored" : 1,
"codec" : { }
},
"size" : 32832,
"offset" : 254928,
"codec" : "NONE",
"asset_id" : 15
}, {
"asset_name" : "NES title patterns",
"decoded_size" : 66560,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 16,
"palette_authored" : 16,
"codec" : { }
},
"size" : 33792,
"offset" : 287760,
"codec" : "NONE",
"asset_id" : 16
}, {
"asset_name" : "title_0",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 321552,
"codec" : "NONE",
"asset_id" : 17
}, {
"asset_name" : "title_1",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 325544,
"codec" : "NONE",
"asset_id" : 18
}, {
"asset_name" : "title_4",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 329536,
"codec" : "NONE",
"asset_id" : 21
}, {
"asset_name" : "title_5",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 333528,
"codec" : "NONE",
"asset_id" : 22
}, {
"asset_name" : "NES continue menu",
"decoded_size" : 66048,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 8,
"palette_authored" : 8,
"codec" : { }
},
"size" : 33280,
"offset" : 337520,
"codec" : "NONE",
"asset_id" : 25
}, {
"asset_name" : "continue_0",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 370800,
"codec" : "NONE",
"asset_id" : 26
}, {
"asset_name" : "continue_1",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 374792,
"codec" : "NONE",
"asset_id" : 27
}, {
"asset_name" : "continue_2",
"decoded_size" : 7768,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 3992,
"offset" : 378784,
"codec" : "NONE",
"asset_id" : 28
}, {
"asset_name" : "Shared NES overworld terrain",
"decoded_size" : 65792,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 382776,
"codec" : "NONE",
"asset_id" : 29
}, {
"asset_name" : "scenes/overworld_north",
"decoded_size" : 99928,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 50072,
"offset" : 415800,
"codec" : "NONE",
"asset_id" : 30
}, {
"asset_name" : "scenes/overworld_north_scroll",
"decoded_size" : 298072,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 149144,
"offset" : 465872,
"codec" : "NONE",
"asset_id" : 31
}, {
"asset_name" : "characters/octorok",
"decoded_size" : 65792,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 16,
"width" : 256,
"height" : 256,
"palette_count" : 4,
"palette_authored" : 4,
"codec" : { }
},
"size" : 33024,
"offset" : 615016,
"codec" : "NONE",
"asset_id" : 32
}, {
"asset_name" : "NES combat and counter patterns",
"decoded_size" : 65856,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 5,
"palette_authored" : 5,
"codec" : { }
},
"size" : 33088,
"offset" : 648040,
"codec" : "NONE",
"asset_id" : 33
}, {
"asset_name" : "NES inventory and frozen-room strips",
"decoded_size" : 66112,
"bank_type" : "GLYPH",
"metadata" : {
"tile_size" : 8,
"width" : 256,
"height" : 256,
"palette_count" : 9,
"palette_authored" : 9,
"codec" : { }
},
"size" : 33344,
"offset" : 681128,
"codec" : "NONE",
"asset_id" : 34
}, {
"asset_name" : "NES inventory scroll strips",
"decoded_size" : 213080,
"bank_type" : "SCENE",
"metadata" : {
"version" : 1,
"layer_count" : 4,
"codec" : { }
},
"size" : 106648,
"offset" : 714472,
"codec" : "NONE",
"asset_id" : 35
} ],
"preload" : [ {
"slot" : 0,
"asset_id" : 1
}, {
"slot" : 1,
"asset_id" : 3
}, {
"slot" : 0,
"asset_id" : 4
}, {
"slot" : 2,
"asset_id" : 5
}, {
"slot" : 3,
"asset_id" : 6
}, {
"slot" : 1,
"asset_id" : 7
}, {
"slot" : 4,
"asset_id" : 8
}, {
"slot" : 5,
"asset_id" : 9
}, {
"slot" : 2,
"asset_id" : 10
}, {
"slot" : 3,
"asset_id" : 11
}, {
"slot" : 6,
"asset_id" : 12
}, {
"slot" : 4,
"asset_id" : 13
}, {
"slot" : 5,
"asset_id" : 14
}, {
"slot" : 7,
"asset_id" : 15
}, {
"slot" : 8,
"asset_id" : 16
}, {
"slot" : 6,
"asset_id" : 17
}, {
"slot" : 7,
"asset_id" : 18
}, {
"slot" : 8,
"asset_id" : 21
}, {
"slot" : 9,
"asset_id" : 22
}, {
"slot" : 9,
"asset_id" : 25
}, {
"slot" : 10,
"asset_id" : 26
}, {
"slot" : 11,
"asset_id" : 27
}, {
"slot" : 12,
"asset_id" : 28
}, {
"slot" : 10,
"asset_id" : 29
}, {
"slot" : 13,
"asset_id" : 30
}, {
"slot" : 14,
"asset_id" : 31
}, {
"slot" : 11,
"asset_id" : 32
}, {
"slot" : 12,
"asset_id" : 33
}, {
"slot" : 13,
"asset_id" : 34
}, {
"slot" : 15,
"asset_id" : 35
} ]
}
@@ -0,0 +1,91 @@
[ {
"slot" : 0,
"asset_id" : 1
}, {
"slot" : 1,
"asset_id" : 3
}, {
"slot" : 0,
"asset_id" : 4
}, {
"slot" : 2,
"asset_id" : 5
}, {
"slot" : 3,
"asset_id" : 6
}, {
"slot" : 1,
"asset_id" : 7
}, {
"slot" : 4,
"asset_id" : 8
}, {
"slot" : 5,
"asset_id" : 9
}, {
"slot" : 2,
"asset_id" : 10
}, {
"slot" : 3,
"asset_id" : 11
}, {
"slot" : 6,
"asset_id" : 12
}, {
"slot" : 4,
"asset_id" : 13
}, {
"slot" : 5,
"asset_id" : 14
}, {
"slot" : 7,
"asset_id" : 15
}, {
"slot" : 8,
"asset_id" : 16
}, {
"slot" : 6,
"asset_id" : 17
}, {
"slot" : 7,
"asset_id" : 18
}, {
"slot" : 8,
"asset_id" : 21
}, {
"slot" : 9,
"asset_id" : 22
}, {
"slot" : 9,
"asset_id" : 25
}, {
"slot" : 10,
"asset_id" : 26
}, {
"slot" : 11,
"asset_id" : 27
}, {
"slot" : 12,
"asset_id" : 28
}, {
"slot" : 10,
"asset_id" : 29
}, {
"slot" : 13,
"asset_id" : 30
}, {
"slot" : 14,
"asset_id" : 31
}, {
"slot" : 11,
"asset_id" : 32
}, {
"slot" : 12,
"asset_id" : 33
}, {
"slot" : 13,
"asset_id" : 34
}, {
"slot" : 15,
"asset_id" : 35
} ]

Some files were not shown because too many files have changed in this diff Show More