Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e1e13b47ac
|
||
|
|
1471b427f1
|
||
|
|
b351f2e582
|
||
|
|
ea1cc26fe3
|
||
|
|
38f201a9c9
|
||
|
|
b2410e6edc
|
||
|
|
bf31184d4d
|
||
|
|
1d8b8c2101
|
||
|
|
3a3417eb44
|
||
|
|
9504f4694a
|
||
|
|
eb7d6a2398
|
||
|
|
0016d92ac3
|
||
|
|
01a1968689
|
||
|
|
8105604f92
|
||
|
|
632ba6d0d6
|
||
|
|
77aada6259
|
||
|
|
c410e35001
|
||
|
|
76a8b074e8
|
||
|
|
240216170c
|
||
|
|
b62db87245
|
||
|
|
d1e9259085
|
||
|
|
2a418085d2
|
||
|
|
39df63581c
|
||
|
|
c4e1b9055d
|
||
|
|
a04214a705
|
||
|
|
91eb86f317
|
||
|
|
13c0ababbb
|
||
|
|
603ed01227
|
||
|
|
bd5694dbdf
|
||
|
|
a9ede541af | ||
|
|
d71e46ade8
|
||
|
|
8dff6d8d5f
|
||
|
|
967b9ec598
|
||
|
|
d0737df0ac
|
||
|
|
97cf5e1919
|
||
|
|
3f675ca0c9
|
||
|
|
73aaeb0832
|
||
|
|
546c6d1ee5
|
||
|
|
4c3597a2fb
|
||
|
|
e6a83c94e0
|
||
|
|
4f148a50de
|
||
|
|
379420e7a9
|
||
|
|
bc76f08bbd
|
||
|
|
9592c9b274
|
||
|
|
20bbbd26bd
|
||
|
|
c1834bad1f
|
||
|
|
feb57c5298
|
||
|
|
58f11a8123
|
||
|
|
9f61f9c07d
|
||
|
|
e3c3b2cbb7
|
||
|
|
0ddf3ef70d | ||
|
|
a0a5050d5e
|
||
|
|
10f1b3f87c
|
||
|
|
7011209675 | ||
|
|
274ce28e8d
|
||
|
|
1fcecdb04d
|
||
|
|
e456bb8d7a
|
||
|
|
202c785f94
|
||
|
|
7629a73e0a
|
||
|
|
ce2e3e4cd3
|
||
|
|
3320f222bb
|
||
|
|
099857b636
|
||
|
|
20adc196d9 | ||
|
|
ae891262e1
|
||
|
|
6f45f4f205 | ||
|
|
65d2d40310
|
||
|
|
fa21a029ae | ||
|
|
12e2a4edcc
|
||
|
|
78d10cf03c | ||
|
|
5d3d48e802
|
||
|
|
331ad752d1 | ||
|
|
9458312d73
|
||
|
|
4b72b2a0dd | ||
|
|
c2112f6ee1
|
||
|
|
9896e7c657 |
@@ -24,3 +24,10 @@ build
|
||||
**/.studio/**
|
||||
|
||||
.DS_Store
|
||||
|
||||
# Discussion workflow state is local; only consolidated lessons are versioned.
|
||||
discussion/*
|
||||
!discussion/lessons/
|
||||
!discussion/lessons/**
|
||||
temp/
|
||||
temp/**
|
||||
|
||||
@@ -8,8 +8,10 @@ This repository packages the Studio shell together with the embedded services it
|
||||
|
||||
The root project is a monorepo with these main areas:
|
||||
|
||||
- `prometeu-app`: JavaFX application entry point (`p.studio.App`).
|
||||
- `prometeu-studio`: Studio UI, workspaces, project session lifecycle, play/stop flow, and debugger-facing surfaces.
|
||||
- `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.
|
||||
@@ -19,14 +21,198 @@ The root project is a monorepo with these main areas:
|
||||
|
||||
## Current Product Shape
|
||||
|
||||
The Studio shell currently organizes the product around three workspaces:
|
||||
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).
|
||||
|
||||
## Requirements
|
||||
|
||||
- JDK 21 or newer recommended for local development
|
||||
@@ -64,16 +250,21 @@ Generate the aggregated coverage report:
|
||||
If you are new to the codebase, this order is usually the fastest path:
|
||||
|
||||
1. Start at `prometeu-app` to see application bootstrap.
|
||||
2. Read `prometeu-studio` for the shell, workspaces, and user-facing flows.
|
||||
3. Read `prometeu-packer` for asset and packaging boundaries.
|
||||
4. Read `prometeu-compiler` when you need compiler or PBS language behavior.
|
||||
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.
|
||||
|
||||
## Specs And Architecture
|
||||
|
||||
Important reference surfaces:
|
||||
|
||||
- `docs/specs/compiler/`: shared compiler specifications
|
||||
- `docs/specs/packer/`: packer specifications
|
||||
- [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
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":14,"AGD":15,"DEC":10,"PLN":19,"LSN":28,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"open","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[{"id":"AGD-0013","file":"AGD-0013-studio-editor-write-wave-supported-non-frontend-files.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"},{"id":"AGD-0014","file":"AGD-0014-studio-editor-frontend-edit-rights.md","status":"open","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
@@ -1,14 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":14,"AGD":15,"DEC":12,"PLN":19,"LSN":28,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"open","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[{"id":"AGD-0013","file":"AGD-0013-studio-editor-write-wave-supported-non-frontend-files.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"},{"id":"AGD-0014","file":"AGD-0014-studio-editor-frontend-edit-rights.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[{"id":"DEC-0010","file":"DEC-0010-studio-controlled-non-frontend-editor-write-wave.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0013"},{"id":"DEC-0011","file":"DEC-0011-studio-frontend-read-only-minimum-lsp-phase.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0014"}],"plans":[],"lessons":[]}
|
||||
@@ -1,15 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":14,"AGD":15,"DEC":13,"PLN":29,"LSN":28,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"open","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[{"id":"AGD-0013","file":"AGD-0013-studio-editor-write-wave-supported-non-frontend-files.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"},{"id":"AGD-0014","file":"AGD-0014-studio-editor-frontend-edit-rights.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[{"id":"DEC-0010","file":"DEC-0010-studio-controlled-non-frontend-editor-write-wave.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0013"},{"id":"DEC-0011","file":"DEC-0011-studio-frontend-read-only-minimum-lsp-phase.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0014"}],"plans":[{"id":"PLN-0019","file":"PLN-0019-propagate-dec-0010-into-studio-and-vfs-specs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0010"]},{"id":"PLN-0020","file":"PLN-0020-build-dec-0010-vfs-access-policy-and-save-core.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0010"]},{"id":"PLN-0021","file":"PLN-0021-integrate-dec-0010-editor-write-ui-and-workflow.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0010"]},{"id":"PLN-0022","file":"PLN-0022-propagate-dec-0011-into-studio-vfs-and-lsp-specs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]},{"id":"PLN-0023","file":"PLN-0023-scaffold-flat-packed-prometeu-lsp-api-and-session-seams.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]},{"id":"PLN-0024","file":"PLN-0024-implement-read-only-fe-diagnostics-symbols-and-definition.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]},{"id":"PLN-0025","file":"PLN-0025-implement-fe-semantic-highlight-consumption.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"open","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[{"id":"AGD-0015","file":"AGD-0015-studio-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02"}],"decisions":[{"id":"DEC-0012","file":"DEC-0012-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02","ref_agenda":"AGD-0015"}],"plans":[{"id":"PLN-0026","file":"PLN-0026-propagate-dec-0012-into-studio-and-frontend-specs.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0027","file":"PLN-0027-add-frontend-semantic-presentation-contract-and-lsp-descriptor.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0028","file":"PLN-0028-consume-frontend-owned-semantic-presentation-in-studio.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]}],"lessons":[]}
|
||||
@@ -1,15 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":15,"AGD":16,"DEC":13,"PLN":29,"LSN":29,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"open","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[{"id":"AGD-0015","file":"AGD-0015-studio-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02"}],"decisions":[{"id":"DEC-0012","file":"DEC-0012-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02","ref_agenda":"AGD-0015"}],"plans":[{"id":"PLN-0026","file":"PLN-0026-propagate-dec-0012-into-studio-and-frontend-specs.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0027","file":"PLN-0027-add-frontend-semantic-presentation-contract-and-lsp-descriptor.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0028","file":"PLN-0028-consume-frontend-owned-semantic-presentation-in-studio.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]}],"lessons":[]}
|
||||
@@ -1,19 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":19,"AGD":20,"DEC":17,"PLN":38,"LSN":31,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"open","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[{"id":"AGD-0017","file":"AGD-0017-studio-editor-scope-guides-and-brace-anchoring.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0014","file":"DEC-0014-studio-editor-active-scope-and-structural-anchors.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"plans":[{"id":"PLN-0030","file":"PLN-0030-studio-active-container-and-active-scope-gutter-wave-1.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0031","file":"PLN-0031-studio-structural-anchor-semantic-surface-specification.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0032","file":"PLN-0032-frontend-structural-anchor-payloads-and-anchor-aware-tests.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"open","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[{"id":"AGD-0018","file":"AGD-0018-studio-editor-inline-type-hints-for-let-bindings.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0015","file":"DEC-0015-studio-editor-inline-type-hints-contract-and-rendering-model.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03","ref_agenda":"AGD-0018"}],"plans":[{"id":"PLN-0033","file":"PLN-0033-inline-hint-spec-and-contract-propagation.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0034","file":"PLN-0034-lsp-inline-hint-transport-contract.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0035","file":"PLN-0035-pbs-inline-type-hint-payload-production.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0036","file":"PLN-0036-studio-inline-hint-rendering-and-rollout.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"open","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[{"id":"AGD-0019","file":"AGD-0019-studio-project-open-state-under-dot-studio.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04"}],"decisions":[{"id":"DEC-0016","file":"DEC-0016-project-local-studio-state-under-dot-studio.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04","ref_agenda":"AGD-0019"}],"plans":[{"id":"PLN-0037","file":"PLN-0037-project-local-studio-state-store-and-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04","ref_decisions":["DEC-0016"]}],"lessons":[]}
|
||||
@@ -1,20 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":20,"AGD":21,"DEC":18,"PLN":39,"LSN":32,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"open","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[{"id":"AGD-0017","file":"AGD-0017-studio-editor-scope-guides-and-brace-anchoring.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0014","file":"DEC-0014-studio-editor-active-scope-and-structural-anchors.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"plans":[{"id":"PLN-0030","file":"PLN-0030-studio-active-container-and-active-scope-gutter-wave-1.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0031","file":"PLN-0031-studio-structural-anchor-semantic-surface-specification.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0032","file":"PLN-0032-frontend-structural-anchor-payloads-and-anchor-aware-tests.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"open","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[{"id":"AGD-0018","file":"AGD-0018-studio-editor-inline-type-hints-for-let-bindings.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0015","file":"DEC-0015-studio-editor-inline-type-hints-contract-and-rendering-model.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03","ref_agenda":"AGD-0018"}],"plans":[{"id":"PLN-0033","file":"PLN-0033-inline-hint-spec-and-contract-propagation.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0034","file":"PLN-0034-lsp-inline-hint-transport-contract.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0035","file":"PLN-0035-pbs-inline-type-hint-payload-production.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0036","file":"PLN-0036-studio-inline-hint-rendering-and-rollout.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0019","status":"open","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[{"id":"AGD-0020","file":"AGD-0020-project-local-setup-separate-from-main-studio-state.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04"}],"decisions":[{"id":"DEC-0017","file":"DEC-0017-project-local-setup-separate-from-session-state.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04","ref_agenda":"AGD-0020"}],"plans":[{"id":"PLN-0038","file":"PLN-0038-separate-project-local-setup-from-session-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04","ref_decisions":["DEC-0017"]}],"lessons":[]}
|
||||
@@ -1,22 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":22,"AGD":23,"DEC":20,"PLN":41,"LSN":34,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"open","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[{"id":"AGD-0017","file":"AGD-0017-studio-editor-scope-guides-and-brace-anchoring.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0014","file":"DEC-0014-studio-editor-active-scope-and-structural-anchors.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"plans":[{"id":"PLN-0030","file":"PLN-0030-studio-active-container-and-active-scope-gutter-wave-1.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0031","file":"PLN-0031-studio-structural-anchor-semantic-surface-specification.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0032","file":"PLN-0032-frontend-structural-anchor-payloads-and-anchor-aware-tests.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"open","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[{"id":"AGD-0018","file":"AGD-0018-studio-editor-inline-type-hints-for-let-bindings.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0015","file":"DEC-0015-studio-editor-inline-type-hints-contract-and-rendering-model.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03","ref_agenda":"AGD-0018"}],"plans":[{"id":"PLN-0033","file":"PLN-0033-inline-hint-spec-and-contract-propagation.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0034","file":"PLN-0034-lsp-inline-hint-transport-contract.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0035","file":"PLN-0035-pbs-inline-type-hint-payload-production.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0036","file":"PLN-0036-studio-inline-hint-rendering-and-rollout.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0021","status":"open","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[{"id":"AGD-0022","file":"AGD-0022-studio-frontend-editor-write-and-save-wave.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04"}],"decisions":[{"id":"DEC-0019","file":"DEC-0019-studio-frontend-editor-write-and-save-wave.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04","ref_agenda":"AGD-0022"}],"plans":[{"id":"PLN-0040","file":"PLN-0040-studio-frontend-editor-write-and-save-wave.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04","ref_decisions":["DEC-0019"]}],"lessons":[]}
|
||||
@@ -1,31 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":31,"AGD":34,"DEC":31,"PLN":62,"LSN":47,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0030","status":"done","ticket":"studio-scene-pack-runtime-binary-contract","title":"Studio scene pack contract for runtime SCENE binary payload","created_at":"2026-04-24","updated_at":"2026-05-01","tags":["studio","packer","runtime","scene","asset-pack","binary-format","tiled"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0046","file":"discussion/lessons/DSC-0030-studio-scene-pack-runtime-binary-contract/LSN-0046-canonical-scene-owns-editorial-truth-while-pack-stays-request-driven.md","status":"done","created_at":"2026-05-01","updated_at":"2026-05-01"}]}
|
||||
{"type":"discussion","id":"DSC-0029","status":"done","ticket":"studio-frame-composer-syscall-and-sprite-alignment","title":"Studio Alignment with Runtime FrameComposer Syscalls and Sprite Composition","created_at":"2026-04-18","updated_at":"2026-04-18","tags":["studio","compiler","pbs","stdlib","runtime-alignment","abi","syscall","frame-composer","sprites"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0041","file":"discussion/lessons/DSC-0029-studio-frame-composer-syscall-and-sprite-alignment/LSN-0041-composer-must-own-public-sprite-composition.md","status":"done","created_at":"2026-04-18","updated_at":"2026-04-18"}]}
|
||||
{"type":"discussion","id":"DSC-0028","status":"done","ticket":"studio-tiled-parser-assets-scene-asset-type","title":"Tiled Parser and Scene Asset-Type Ownership in Assets Workspace","created_at":"2026-04-15","updated_at":"2026-04-23","tags":["studio","assets","scene","tiled","parser","asset-type"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0045","file":"discussion/lessons/DSC-0028-studio-tiled-parser-assets-scene-asset-type/LSN-0045-asset-owned-scene-bank-and-tiled-xml-workflow.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0027","status":"abandoned","ticket":"studio-scene-workspace","title":"Scene Workspace for SCENE Authoring","created_at":"2026-04-14","updated_at":"2026-04-15","tags":["studio","workspace","scene","tilemap","asset","runtime-alignment"],"agendas":[{"id":"AGD-0029","file":"AGD-0029-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted agenda and its downstream work."}],"decisions":[{"id":"DEC-0026","file":"DEC-0026-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_agenda":"AGD-0029","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted decision and stop using it as normative guidance."}],"plans":[{"id":"PLN-0049","file":"PLN-0049-scene-workspace-spec-and-boundary-propagation.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0050","file":"PLN-0050-scene-workspace-shell-and-project-state-foundations.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0051","file":"PLN-0051-scene-artifact-and-assets-handoff-contract.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0052","file":"PLN-0052-scene-workspace-wave-1-tilemap-editor.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0026","status":"done","ticket":"glyph-bank-naming-alignment-with-runtime","title":"Glyph Bank Naming Alignment with Runtime DEC-0006","created_at":"2026-04-10","updated_at":"2026-04-10","tags":["packer","studio","naming","asset-contract","runtime-alignment","glyph-bank"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0040","file":"discussion/lessons/DSC-0026-glyph-bank-naming-alignment-with-runtime/LSN-0040-glyph-bank-artifact-naming-alignment.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0025","status":"done","ticket":"packer-pipeline-metadata-ownership","title":"Pipeline Metadata Ownership and Runtime Contract","created_at":"2026-04-09","updated_at":"2026-04-10","tags":["packer","metadata","runtime-contract","tooling","studio"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0039","file":"discussion/lessons/DSC-0025-packer-pipeline-metadata-ownership/LSN-0039-runtime-header-boundary-and-tooling-owned-pipeline-metadata.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0024","status":"done","ticket":"jacoco-reports-consolidation","title":"JaCoCo Reports Consolidation in Gradle","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["infra","gradle","jacoco","coverage","jenkins"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0038","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0038-jacoco-reports-consolidation.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"},{"id":"LSN-0044","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0044-jenkins-jacoco-alignment.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"done","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-04-23","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0042","file":"discussion/lessons/DSC-0002-palette-management-in-studio/LSN-0042-schema-driven-palette-authoring-and-local-metadata-events.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"abandoned","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-04-24","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"abandoned","created_at":"2026-03-26","updated_at":"2026-04-24","_override_reason":"Explicit user request on 2026-04-24 to abandon AGD-0004 because the agenda is no longer valid."}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"done","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-04-07","tags":["studio","debugger","workspace","integration","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"done","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0034","file":"discussion/lessons/DSC-0016-studio-editor-scope-guides-and-brace-anchoring/LSN-0034-active-scope-gutter-and-frontend-owned-structural-anchors.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"done","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0035","file":"discussion/lessons/DSC-0017-studio-editor-inline-type-hints-for-let-bindings/LSN-0035-frontend-owned-inline-hints-with-decorative-inline-rendering.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0021","status":"done","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-06","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0036","file":"discussion/lessons/DSC-0021-studio-frontend-editor-write-and-save-wave/LSN-0036-vfs-owned-frontend-edit-and-save-wave.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0022","status":"done","ticket":"studio-play-stop-cartridge-flow","title":"Wire the Studio Play/Stop button to shipper phase 1 cartridge preparation and runtime execution","created_at":"2026-04-06","updated_at":"2026-04-07","tags":["studio","play-stop","shipper","runtime","cartridge","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0043","file":"discussion/lessons/DSC-0022-studio-play-stop-and-debugger-integration/LSN-0043-studio-play-stop-and-debugger-integration.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0023","status":"done","ticket":"gradle-version-catalog-migration","title":"Move dependency version management to Version Catalog (TOML)","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["gradle","buildSrc","dependency-management","version-catalog"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0037","file":"discussion/lessons/DSC-0023-gradle-version-catalog-migration/LSN-0037-gradle-version-catalog-adoption.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
@@ -1,35 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":35,"AGD":38,"DEC":35,"PLN":75,"LSN":47,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0034","status":"in_progress","ticket":"frontend-semantic-host-projection-flexibility","title":"Frontend semantic vocabulary flexibility and declarative host projection","created_at":"2026-05-06","updated_at":"2026-05-06","tags":["compiler","compiler-general","frontend","semantics","vscode","host-projection","lsp"],"agendas":[{"id":"AGD-0037","file":"AGD-0037-frontend-semantic-host-projection-flexibility.md","status":"accepted","created_at":"2026-05-06","updated_at":"2026-05-06"}],"decisions":[{"id":"DEC-0034","file":"DEC-0034-frontend-semantic-host-projection-flexibility.md","status":"accepted","created_at":"2026-05-06","updated_at":"2026-05-06","ref_agenda":"AGD-0037"}],"plans":[{"id":"PLN-0072","file":"PLN-0072-frontend-semantic-host-projection-contract.md","status":"done","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0034"]},{"id":"PLN-0073","file":"PLN-0073-lsp-semantic-host-projection-transport.md","status":"done","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0034"]},{"id":"PLN-0074","file":"PLN-0074-vscode-semantic-host-projection-adapter.md","status":"done","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0034"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0033","status":"in_progress","ticket":"frontend-visual-theme-spec-and-css-retirement","title":"Frontend visual theme spec and retirement of host-consumed semantic CSS","created_at":"2026-05-06","updated_at":"2026-05-06","tags":["compiler","compiler-general","frontend","presentation","theming","studio","vscode","lsp","pbs"],"agendas":[{"id":"AGD-0036","file":"AGD-0036-frontend-visual-theme-spec-and-css-retirement.md","status":"accepted","created_at":"2026-05-06","updated_at":"2026-05-06"}],"decisions":[{"id":"DEC-0033","file":"DEC-0033-frontend-visual-theme-spec-and-css-retirement.md","status":"accepted","created_at":"2026-05-06","updated_at":"2026-05-06","ref_agenda":"AGD-0036"}],"plans":[{"id":"PLN-0068","file":"PLN-0068-frontend-visual-contract-and-pbs-migration.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]},{"id":"PLN-0069","file":"PLN-0069-lsp-visual-theme-transport-and-selection.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]},{"id":"PLN-0070","file":"PLN-0070-studio-visual-theme-adapter-and-css-retirement.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]},{"id":"PLN-0071","file":"PLN-0071-vscode-dynamic-theme-translation-adapter.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0032","status":"in_progress","ticket":"studio-new-lsp-api-and-v1-boundary","title":"Novo boundary entre lsp-api, lsp-v1 e a extensao VS Code","created_at":"2026-05-05","updated_at":"2026-05-05","tags":["studio","lsp","vscode","protocol","api","boundary"],"agendas":[{"id":"AGD-0035","file":"AGD-0035-studio-new-lsp-api-and-v1-boundary.md","status":"accepted","created_at":"2026-05-05","updated_at":"2026-05-05"}],"decisions":[{"id":"DEC-0032","file":"DEC-0032-studio-new-lsp-api-and-v1-boundary.md","status":"accepted","created_at":"2026-05-05","updated_at":"2026-05-05","ref_agenda":"AGD-0035"}],"plans":[{"id":"PLN-0065","file":"PLN-0065-lsp-boundary-and-module-scaffolding.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0032"]},{"id":"PLN-0066","file":"PLN-0066-project-scoped-lsp-server-lifecycle-in-studio.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0032"]},{"id":"PLN-0067","file":"PLN-0067-compiler-backed-dumb-lsp-server-baseline.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0032"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0031","status":"in_progress","ticket":"studio-editor-workspace-cleanup","title":"Limpeza completa do Workspace Editor do Studio e remoção dos acoplamentos legados","created_at":"2026-05-05","updated_at":"2026-05-05","tags":["studio","editor","cleanup","vfs","lsp","migration"],"agendas":[{"id":"AGD-0034","file":"AGD-0034-vscode-editor-migration-feasibility.md","status":"accepted","created_at":"2026-05-05","updated_at":"2026-05-05"}],"decisions":[{"id":"DEC-0031","file":"DEC-0031-studio-editor-workspace-cleanup.md","status":"in_progress","created_at":"2026-05-05","updated_at":"2026-05-05","ref_agenda":"AGD-0034"}],"plans":[{"id":"PLN-0062","file":"PLN-0062-shell-session-and-state-cleanup-after-editor-removal.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0031"]},{"id":"PLN-0063","file":"PLN-0063-legacy-lsp-and-vfs-module-removal-with-runtime-preservation.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0031"]},{"id":"PLN-0064","file":"PLN-0064-normative-test-and-lesson-cleanup-for-editor-stack-removal.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0031"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0030","status":"done","ticket":"studio-scene-pack-runtime-binary-contract","title":"Studio scene pack contract for runtime SCENE binary payload","created_at":"2026-04-24","updated_at":"2026-05-01","tags":["studio","packer","runtime","scene","asset-pack","binary-format","tiled"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0046","file":"discussion/lessons/DSC-0030-studio-scene-pack-runtime-binary-contract/LSN-0046-canonical-scene-owns-editorial-truth-while-pack-stays-request-driven.md","status":"done","created_at":"2026-05-01","updated_at":"2026-05-01"}]}
|
||||
{"type":"discussion","id":"DSC-0029","status":"done","ticket":"studio-frame-composer-syscall-and-sprite-alignment","title":"Studio Alignment with Runtime FrameComposer Syscalls and Sprite Composition","created_at":"2026-04-18","updated_at":"2026-04-18","tags":["studio","compiler","pbs","stdlib","runtime-alignment","abi","syscall","frame-composer","sprites"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0041","file":"discussion/lessons/DSC-0029-studio-frame-composer-syscall-and-sprite-alignment/LSN-0041-composer-must-own-public-sprite-composition.md","status":"done","created_at":"2026-04-18","updated_at":"2026-04-18"}]}
|
||||
{"type":"discussion","id":"DSC-0028","status":"done","ticket":"studio-tiled-parser-assets-scene-asset-type","title":"Tiled Parser and Scene Asset-Type Ownership in Assets Workspace","created_at":"2026-04-15","updated_at":"2026-04-23","tags":["studio","assets","scene","tiled","parser","asset-type"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0045","file":"discussion/lessons/DSC-0028-studio-tiled-parser-assets-scene-asset-type/LSN-0045-asset-owned-scene-bank-and-tiled-xml-workflow.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0027","status":"abandoned","ticket":"studio-scene-workspace","title":"Scene Workspace for SCENE Authoring","created_at":"2026-04-14","updated_at":"2026-04-15","tags":["studio","workspace","scene","tilemap","asset","runtime-alignment"],"agendas":[{"id":"AGD-0029","file":"AGD-0029-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted agenda and its downstream work."}],"decisions":[{"id":"DEC-0026","file":"DEC-0026-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_agenda":"AGD-0029","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted decision and stop using it as normative guidance."}],"plans":[{"id":"PLN-0049","file":"PLN-0049-scene-workspace-spec-and-boundary-propagation.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0050","file":"PLN-0050-scene-workspace-shell-and-project-state-foundations.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0051","file":"PLN-0051-scene-artifact-and-assets-handoff-contract.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0052","file":"PLN-0052-scene-workspace-wave-1-tilemap-editor.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0026","status":"done","ticket":"glyph-bank-naming-alignment-with-runtime","title":"Glyph Bank Naming Alignment with Runtime DEC-0006","created_at":"2026-04-10","updated_at":"2026-04-10","tags":["packer","studio","naming","asset-contract","runtime-alignment","glyph-bank"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0040","file":"discussion/lessons/DSC-0026-glyph-bank-naming-alignment-with-runtime/LSN-0040-glyph-bank-artifact-naming-alignment.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0025","status":"done","ticket":"packer-pipeline-metadata-ownership","title":"Pipeline Metadata Ownership and Runtime Contract","created_at":"2026-04-09","updated_at":"2026-04-10","tags":["packer","metadata","runtime-contract","tooling","studio"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0039","file":"discussion/lessons/DSC-0025-packer-pipeline-metadata-ownership/LSN-0039-runtime-header-boundary-and-tooling-owned-pipeline-metadata.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0024","status":"done","ticket":"jacoco-reports-consolidation","title":"JaCoCo Reports Consolidation in Gradle","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["infra","gradle","jacoco","coverage","jenkins"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0038","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0038-jacoco-reports-consolidation.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"},{"id":"LSN-0044","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0044-jenkins-jacoco-alignment.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"done","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-04-23","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0042","file":"discussion/lessons/DSC-0002-palette-management-in-studio/LSN-0042-schema-driven-palette-authoring-and-local-metadata-events.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"abandoned","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-04-24","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"abandoned","created_at":"2026-03-26","updated_at":"2026-04-24","_override_reason":"Explicit user request on 2026-04-24 to abandon AGD-0004 because the agenda is no longer valid."}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"done","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-04-07","tags":["studio","debugger","workspace","integration","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"done","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0034","file":"discussion/lessons/DSC-0016-studio-editor-scope-guides-and-brace-anchoring/LSN-0034-active-scope-gutter-and-frontend-owned-structural-anchors.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"done","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0035","file":"discussion/lessons/DSC-0017-studio-editor-inline-type-hints-for-let-bindings/LSN-0035-frontend-owned-inline-hints-with-decorative-inline-rendering.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0021","status":"done","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-06","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0036","file":"discussion/lessons/DSC-0021-studio-frontend-editor-write-and-save-wave/LSN-0036-vfs-owned-frontend-edit-and-save-wave.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0022","status":"done","ticket":"studio-play-stop-cartridge-flow","title":"Wire the Studio Play/Stop button to shipper phase 1 cartridge preparation and runtime execution","created_at":"2026-04-06","updated_at":"2026-04-07","tags":["studio","play-stop","shipper","runtime","cartridge","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0043","file":"discussion/lessons/DSC-0022-studio-play-stop-and-debugger-integration/LSN-0043-studio-play-stop-and-debugger-integration.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0023","status":"done","ticket":"gradle-version-catalog-migration","title":"Move dependency version management to Version Catalog (TOML)","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["gradle","buildSrc","dependency-management","version-catalog"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0037","file":"discussion/lessons/DSC-0023-gradle-version-catalog-migration/LSN-0037-gradle-version-catalog-adoption.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
@@ -1,35 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":35,"AGD":38,"DEC":35,"PLN":75,"LSN":49,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0034","status":"done","ticket":"frontend-semantic-host-projection-flexibility","title":"Frontend semantic vocabulary flexibility and declarative host projection","created_at":"2026-05-06","updated_at":"2026-05-07","tags":["compiler","compiler-general","frontend","semantics","vscode","host-projection","lsp"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0048","file":"discussion/lessons/DSC-0034-frontend-semantic-host-projection-flexibility/LSN-0048-frontend-owned-semantic-vocabularies-with-declarative-host-projection.md","status":"done","created_at":"2026-05-07","updated_at":"2026-05-07"}]}
|
||||
{"type":"discussion","id":"DSC-0033","status":"in_progress","ticket":"frontend-visual-theme-spec-and-css-retirement","title":"Frontend visual theme spec and retirement of host-consumed semantic CSS","created_at":"2026-05-06","updated_at":"2026-05-06","tags":["compiler","compiler-general","frontend","presentation","theming","studio","vscode","lsp","pbs"],"agendas":[{"id":"AGD-0036","file":"AGD-0036-frontend-visual-theme-spec-and-css-retirement.md","status":"accepted","created_at":"2026-05-06","updated_at":"2026-05-06"}],"decisions":[{"id":"DEC-0033","file":"DEC-0033-frontend-visual-theme-spec-and-css-retirement.md","status":"accepted","created_at":"2026-05-06","updated_at":"2026-05-06","ref_agenda":"AGD-0036"}],"plans":[{"id":"PLN-0068","file":"PLN-0068-frontend-visual-contract-and-pbs-migration.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]},{"id":"PLN-0069","file":"PLN-0069-lsp-visual-theme-transport-and-selection.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]},{"id":"PLN-0070","file":"PLN-0070-studio-visual-theme-adapter-and-css-retirement.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]},{"id":"PLN-0071","file":"PLN-0071-vscode-dynamic-theme-translation-adapter.md","status":"open","created_at":"2026-05-06","updated_at":"2026-05-06","ref_decisions":["DEC-0033"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0032","status":"done","ticket":"studio-new-lsp-api-and-v1-boundary","title":"Novo boundary entre lsp-api, lsp-v1 e a extensao VS Code","created_at":"2026-05-05","updated_at":"2026-05-07","tags":["studio","lsp","vscode","protocol","api","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0047","file":"discussion/lessons/DSC-0032-studio-new-lsp-api-and-v1-boundary/LSN-0047-project-scoped-lsp-boundary-and-protocol-containment.md","status":"done","created_at":"2026-05-07","updated_at":"2026-05-07"}]}
|
||||
{"type":"discussion","id":"DSC-0031","status":"in_progress","ticket":"studio-editor-workspace-cleanup","title":"Limpeza completa do Workspace Editor do Studio e remoção dos acoplamentos legados","created_at":"2026-05-05","updated_at":"2026-05-05","tags":["studio","editor","cleanup","vfs","lsp","migration"],"agendas":[{"id":"AGD-0034","file":"AGD-0034-vscode-editor-migration-feasibility.md","status":"accepted","created_at":"2026-05-05","updated_at":"2026-05-05"}],"decisions":[{"id":"DEC-0031","file":"DEC-0031-studio-editor-workspace-cleanup.md","status":"in_progress","created_at":"2026-05-05","updated_at":"2026-05-05","ref_agenda":"AGD-0034"}],"plans":[{"id":"PLN-0062","file":"PLN-0062-shell-session-and-state-cleanup-after-editor-removal.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0031"]},{"id":"PLN-0063","file":"PLN-0063-legacy-lsp-and-vfs-module-removal-with-runtime-preservation.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0031"]},{"id":"PLN-0064","file":"PLN-0064-normative-test-and-lesson-cleanup-for-editor-stack-removal.md","status":"done","created_at":"2026-05-05","updated_at":"2026-05-05","ref_decisions":["DEC-0031"]}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0030","status":"done","ticket":"studio-scene-pack-runtime-binary-contract","title":"Studio scene pack contract for runtime SCENE binary payload","created_at":"2026-04-24","updated_at":"2026-05-01","tags":["studio","packer","runtime","scene","asset-pack","binary-format","tiled"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0046","file":"discussion/lessons/DSC-0030-studio-scene-pack-runtime-binary-contract/LSN-0046-canonical-scene-owns-editorial-truth-while-pack-stays-request-driven.md","status":"done","created_at":"2026-05-01","updated_at":"2026-05-01"}]}
|
||||
{"type":"discussion","id":"DSC-0029","status":"done","ticket":"studio-frame-composer-syscall-and-sprite-alignment","title":"Studio Alignment with Runtime FrameComposer Syscalls and Sprite Composition","created_at":"2026-04-18","updated_at":"2026-04-18","tags":["studio","compiler","pbs","stdlib","runtime-alignment","abi","syscall","frame-composer","sprites"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0041","file":"discussion/lessons/DSC-0029-studio-frame-composer-syscall-and-sprite-alignment/LSN-0041-composer-must-own-public-sprite-composition.md","status":"done","created_at":"2026-04-18","updated_at":"2026-04-18"}]}
|
||||
{"type":"discussion","id":"DSC-0028","status":"done","ticket":"studio-tiled-parser-assets-scene-asset-type","title":"Tiled Parser and Scene Asset-Type Ownership in Assets Workspace","created_at":"2026-04-15","updated_at":"2026-04-23","tags":["studio","assets","scene","tiled","parser","asset-type"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0045","file":"discussion/lessons/DSC-0028-studio-tiled-parser-assets-scene-asset-type/LSN-0045-asset-owned-scene-bank-and-tiled-xml-workflow.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0027","status":"abandoned","ticket":"studio-scene-workspace","title":"Scene Workspace for SCENE Authoring","created_at":"2026-04-14","updated_at":"2026-04-15","tags":["studio","workspace","scene","tilemap","asset","runtime-alignment"],"agendas":[{"id":"AGD-0029","file":"AGD-0029-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted agenda and its downstream work."}],"decisions":[{"id":"DEC-0026","file":"DEC-0026-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_agenda":"AGD-0029","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted decision and stop using it as normative guidance."}],"plans":[{"id":"PLN-0049","file":"PLN-0049-scene-workspace-spec-and-boundary-propagation.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0050","file":"PLN-0050-scene-workspace-shell-and-project-state-foundations.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0051","file":"PLN-0051-scene-artifact-and-assets-handoff-contract.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0052","file":"PLN-0052-scene-workspace-wave-1-tilemap-editor.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0026","status":"done","ticket":"glyph-bank-naming-alignment-with-runtime","title":"Glyph Bank Naming Alignment with Runtime DEC-0006","created_at":"2026-04-10","updated_at":"2026-04-10","tags":["packer","studio","naming","asset-contract","runtime-alignment","glyph-bank"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0040","file":"discussion/lessons/DSC-0026-glyph-bank-naming-alignment-with-runtime/LSN-0040-glyph-bank-artifact-naming-alignment.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0025","status":"done","ticket":"packer-pipeline-metadata-ownership","title":"Pipeline Metadata Ownership and Runtime Contract","created_at":"2026-04-09","updated_at":"2026-04-10","tags":["packer","metadata","runtime-contract","tooling","studio"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0039","file":"discussion/lessons/DSC-0025-packer-pipeline-metadata-ownership/LSN-0039-runtime-header-boundary-and-tooling-owned-pipeline-metadata.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0024","status":"done","ticket":"jacoco-reports-consolidation","title":"JaCoCo Reports Consolidation in Gradle","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["infra","gradle","jacoco","coverage","jenkins"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0038","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0038-jacoco-reports-consolidation.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"},{"id":"LSN-0044","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0044-jenkins-jacoco-alignment.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"done","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-04-23","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0042","file":"discussion/lessons/DSC-0002-palette-management-in-studio/LSN-0042-schema-driven-palette-authoring-and-local-metadata-events.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"abandoned","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-04-24","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"abandoned","created_at":"2026-03-26","updated_at":"2026-04-24","_override_reason":"Explicit user request on 2026-04-24 to abandon AGD-0004 because the agenda is no longer valid."}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"done","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-04-07","tags":["studio","debugger","workspace","integration","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"done","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0034","file":"discussion/lessons/DSC-0016-studio-editor-scope-guides-and-brace-anchoring/LSN-0034-active-scope-gutter-and-frontend-owned-structural-anchors.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"done","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0035","file":"discussion/lessons/DSC-0017-studio-editor-inline-type-hints-for-let-bindings/LSN-0035-frontend-owned-inline-hints-with-decorative-inline-rendering.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0021","status":"done","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-06","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0036","file":"discussion/lessons/DSC-0021-studio-frontend-editor-write-and-save-wave/LSN-0036-vfs-owned-frontend-edit-and-save-wave.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0022","status":"done","ticket":"studio-play-stop-cartridge-flow","title":"Wire the Studio Play/Stop button to shipper phase 1 cartridge preparation and runtime execution","created_at":"2026-04-06","updated_at":"2026-04-07","tags":["studio","play-stop","shipper","runtime","cartridge","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0043","file":"discussion/lessons/DSC-0022-studio-play-stop-and-debugger-integration/LSN-0043-studio-play-stop-and-debugger-integration.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0023","status":"done","ticket":"gradle-version-catalog-migration","title":"Move dependency version management to Version Catalog (TOML)","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["gradle","buildSrc","dependency-management","version-catalog"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0037","file":"discussion/lessons/DSC-0023-gradle-version-catalog-migration/LSN-0037-gradle-version-catalog-adoption.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
@@ -1,66 +0,0 @@
|
||||
{"type":"meta","next_id":{"DSC":66,"AGD":69,"DEC":52,"PLN":131,"LSN":68,"CLSN":1}}
|
||||
{"type":"discussion","id":"DSC-0065","status":"done","ticket":"multi-frontend-avoid-premature-abstractions","title":"Evitar abstracoes prematuras na preparacao multi-frontend","created_at":"2026-07-15","updated_at":"2026-09-19","tags":["compiler","compiler-general","studio","frontend","architecture","multi-frontend","simplicity"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0067","file":"discussion/lessons/DSC-0065-multi-frontend-avoid-premature-abstractions/LSN-0067-multi-frontend-phase-rejects-premature-infrastructure.md","status":"done","created_at":"2026-09-19","updated_at":"2026-09-19"}]}
|
||||
{"type":"discussion","id":"DSC-0064","status":"done","ticket":"multi-frontend-architectural-tests","title":"Testes arquiteturais para fronteiras multi-frontend","created_at":"2026-07-15","updated_at":"2026-09-19","tags":["compiler","compiler-general","studio","frontend","architecture","tests","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0066","file":"discussion/lessons/DSC-0064-multi-frontend-architectural-tests/LSN-0066-archunit-guards-java-multi-frontend-boundaries.md","status":"done","created_at":"2026-09-19","updated_at":"2026-09-19"}]}
|
||||
{"type":"discussion","id":"DSC-0063","status":"done","ticket":"multi-frontend-synthetic-test-frontend","title":"Frontend sintetico de teste para provar neutralidade do pipeline","created_at":"2026-07-15","updated_at":"2026-09-19","tags":["compiler","compiler-general","frontend","tests","backend","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0065","file":"discussion/lessons/DSC-0063-multi-frontend-synthetic-test-frontend/LSN-0065-synthetic-test-frontend-proves-pipeline-neutrality.md","status":"done","created_at":"2026-09-19","updated_at":"2026-09-19"}]}
|
||||
{"type":"discussion","id":"DSC-0062","status":"done","ticket":"multi-frontend-pvm-neutrality","title":"Neutralidade da PVM e identificacao PBX independente de PBS","created_at":"2026-07-15","updated_at":"2026-09-18","tags":["vm-arch","runtime","pvm","pbx","compiler","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0061","file":"discussion/lessons/DSC-0062-multi-frontend-pvm-neutrality/LSN-0061-pbx-runtime-boundary.md","status":"done","created_at":"2026-09-18","updated_at":"2026-09-18"}]}
|
||||
{"type":"discussion","id":"DSC-0061","status":"done","ticket":"multi-frontend-sdk-canonical-definition","title":"Auditoria e centralizacao gradual da definicao canonica do SDK","created_at":"2026-07-15","updated_at":"2026-09-19","tags":["compiler","compiler-general","sdk","stdlib","hostcalls","intrinsics","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0064","file":"discussion/lessons/DSC-0061-multi-frontend-sdk-canonical-definition/LSN-0064-runtime-owns-console-abi-pbs-is-delivery.md","status":"done","created_at":"2026-09-19","updated_at":"2026-09-19"}]}
|
||||
{"type":"discussion","id":"DSC-0060","status":"done","ticket":"multi-frontend-validation-boundaries","title":"Separar validacoes de linguagem e validacoes de plataforma","created_at":"2026-07-15","updated_at":"2026-09-19","tags":["compiler","compiler-general","compiler-pbs","backend","validation","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0063","file":"discussion/lessons/DSC-0060-multi-frontend-validation-boundaries/LSN-0063-language-vs-platform-validation-ownership.md","status":"done","created_at":"2026-09-19","updated_at":"2026-09-19"}]}
|
||||
{"type":"discussion","id":"DSC-0059","status":"done","ticket":"multi-frontend-common-lifecycle","title":"Extrair lifecycle comum das responsabilidades do frontend PBS","created_at":"2026-07-15","updated_at":"2026-09-19","tags":["compiler","compiler-general","compiler-pbs","lifecycle","backend","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0062","file":"discussion/lessons/DSC-0059-multi-frontend-common-lifecycle/LSN-0062-common-lifecycle-assembly-stage.md","status":"done","created_at":"2026-09-19","updated_at":"2026-09-19"}]}
|
||||
{"type":"discussion","id":"DSC-0058","status":"done","ticket":"multi-frontend-serializable-ir","title":"Manter a IR comum serializavel por design","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["compiler","compiler-general","ir","backend","serialization","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0060","file":"discussion/lessons/DSC-0058-multi-frontend-serializable-ir/LSN-0060-data-contract-first-for-serializable-irbackend.md","status":"done","created_at":"2026-07-15","updated_at":"2026-07-15"}]}
|
||||
{"type":"discussion","id":"DSC-0057","status":"done","ticket":"multi-frontend-frontend-backend-contract","title":"Estabilizar contrato entre frontend e backend comum","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["compiler","compiler-general","compiler-pbs","ir","backend","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0059","file":"discussion/lessons/DSC-0057-multi-frontend-frontend-backend-contract/LSN-0059-common-irbackend-handoff-and-backend-guardrails.md","status":"done","created_at":"2026-07-15","updated_at":"2026-07-15"}]}
|
||||
{"type":"discussion","id":"DSC-0056","status":"done","ticket":"multi-frontend-remove-pbs-branches","title":"Generalizar o contrato LSP/editorial para frontends","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["compiler","compiler-general","compiler-pbs","studio","frontend","coupling","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0058","file":"discussion/lessons/DSC-0056-multi-frontend-remove-pbs-branches/LSN-0058-generic-frontend-editorial-contract-for-lsp.md","status":"done","created_at":"2026-07-15","updated_at":"2026-07-15"}]}
|
||||
{"type":"discussion","id":"DSC-0055","status":"done","ticket":"multi-frontend-compiler-vs-language-services","title":"Separar compilacao de servicos editoriais de frontend","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["compiler","compiler-general","studio","lsp","editor","frontend","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0056","file":"discussion/lessons/DSC-0055-multi-frontend-compiler-vs-language-services/LSN-0056-compile-first-frontends-with-optional-editorial-capabilities.md","status":"done","created_at":"2026-07-15","updated_at":"2026-07-15"}]}
|
||||
{"type":"discussion","id":"DSC-0054","status":"done","ticket":"multi-frontend-provider-contract","title":"Introduzir provider completo de frontend","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["compiler","compiler-general","studio","frontend","registry","multi-frontend"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0055","file":"discussion/lessons/DSC-0054-multi-frontend-provider-contract/LSN-0055-static-frontend-providers-before-plugin-architecture.md","status":"done","created_at":"2026-07-15","updated_at":"2026-07-15"}]}
|
||||
{"type":"discussion","id":"DSC-0053","status":"open","ticket":"pbs-lsp-call-and-type-hierarchy","title":"PBS LSP Call and Type Hierarchy","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","call-hierarchy","type-hierarchy"],"agendas":[{"id":"AGD-0056","file":"AGD-0056-pbs-lsp-call-and-type-hierarchy.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0052","status":"open","ticket":"pbs-lsp-document-links","title":"PBS LSP Document Links","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","document-links","imports"],"agendas":[{"id":"AGD-0055","file":"AGD-0055-pbs-lsp-document-links.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0051","status":"open","ticket":"pbs-lsp-diagnostics-ux","title":"PBS LSP Diagnostics UX","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","diagnostics","ux"],"agendas":[{"id":"AGD-0054","file":"AGD-0054-pbs-lsp-diagnostics-ux.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0050","status":"open","ticket":"pbs-lsp-folding-and-selection-ranges","title":"PBS LSP Folding and Selection Ranges","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","folding","selection-range"],"agendas":[{"id":"AGD-0053","file":"AGD-0053-pbs-lsp-folding-and-selection-ranges.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0049","status":"open","ticket":"pbs-lsp-completion-depth","title":"PBS LSP Completion Depth","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","completion"],"agendas":[{"id":"AGD-0052","file":"AGD-0052-pbs-lsp-completion-depth.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0048","status":"open","ticket":"pbs-lsp-performance-cache-and-snapshots","title":"PBS LSP Performance Cache and Snapshots","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","performance","caching"],"agendas":[{"id":"AGD-0051","file":"AGD-0051-pbs-lsp-performance-cache-and-snapshots.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0047","status":"open","ticket":"pbs-lsp-semantic-tokens-semantic-classification","title":"PBS LSP Semantic Token Classification","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","semantic-tokens"],"agendas":[{"id":"AGD-0050","file":"AGD-0050-pbs-lsp-semantic-token-classification.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0046","status":"open","ticket":"pbs-lsp-import-assistance","title":"PBS LSP Import Assistance","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","imports","completion"],"agendas":[{"id":"AGD-0049","file":"AGD-0049-pbs-lsp-import-assistance.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0045","status":"open","ticket":"pbs-lsp-formatting","title":"PBS LSP Formatting","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","formatting"],"agendas":[{"id":"AGD-0048","file":"AGD-0048-pbs-lsp-formatting.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0044","status":"open","ticket":"pbs-lsp-code-actions","title":"PBS LSP Code Actions and Quick Fixes","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","code-actions","quick-fix"],"agendas":[{"id":"AGD-0047","file":"AGD-0047-pbs-lsp-code-actions-and-quick-fixes.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0043","status":"open","ticket":"pbs-lsp-rename-symbol","title":"PBS LSP Rename Symbol","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","rename"],"agendas":[{"id":"AGD-0046","file":"AGD-0046-pbs-lsp-rename-symbol.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0042","status":"open","ticket":"pbs-lsp-workspace-symbols","title":"PBS LSP Workspace Symbols","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","workspace-symbols"],"agendas":[{"id":"AGD-0045","file":"AGD-0045-pbs-lsp-workspace-symbols.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0041","status":"open","ticket":"pbs-lsp-document-symbols-outline","title":"PBS LSP Document Symbols and Outline","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","outline","document-symbols"],"agendas":[{"id":"AGD-0044","file":"AGD-0044-pbs-lsp-document-symbols-and-outline.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0040","status":"open","ticket":"pbs-lsp-find-references","title":"PBS LSP Find References","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","references"],"agendas":[{"id":"AGD-0043","file":"AGD-0043-pbs-lsp-find-references.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0039","status":"open","ticket":"pbs-lsp-go-to-definition","title":"PBS LSP Go to Definition","created_at":"2026-07-15","updated_at":"2026-07-15","tags":["studio","lsp","vscode","compiler-pbs","editor","definition"],"agendas":[{"id":"AGD-0042","file":"AGD-0042-pbs-lsp-go-to-definition.md","status":"open","created_at":"2026-07-15","updated_at":"2026-07-15"}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0038","status":"done","ticket":"studio-packer-rgba8888-asset-pipeline","title":"Studio and Packer RGBA8888 Asset Pipeline Alignment","created_at":"2026-05-23","updated_at":"2026-07-14","tags":["studio","packer","assets","glyph-bank","palette","rgba8888","runtime-alignment"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0053","file":"discussion/lessons/DSC-0038-studio-packer-rgba8888-asset-pipeline/LSN-0053-rgba8888-is-the-canonical-studio-packer-palette-contract.md","status":"done","created_at":"2026-07-14","updated_at":"2026-07-14"}]}
|
||||
{"type":"discussion","id":"DSC-0037","status":"done","ticket":"pbs-autocomplete-parameter-names","title":"PBS autocomplete parameter names for stdlib and method calls","created_at":"2026-05-08","updated_at":"2026-05-14","tags":["compiler-pbs","studio","lsp","autocomplete","signature-help","stdlib"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0052","file":"discussion/lessons/DSC-0037-pbs-autocomplete-parameter-names/LSN-0052-canonical-callable-parameter-names-through-pbs-editor-assistance.md","status":"done","created_at":"2026-05-14","updated_at":"2026-05-14"}]}
|
||||
{"type":"discussion","id":"DSC-0036","status":"done","ticket":"pbs-symbol-documentation-and-hover-markdown","title":"Modelo de documentacao de simbolos em PBS e consumo markdown no hover","created_at":"2026-05-08","updated_at":"2026-07-15","tags":["compiler","compiler-pbs","studio","lsp","vscode","editor","hover","documentation","markdown"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0057","file":"discussion/lessons/DSC-0036-pbs-symbol-documentation-and-hover-markdown/LSN-0057-compiler-owned-pbs-doc-markdown-for-editor-assistance.md","status":"done","created_at":"2026-07-15","updated_at":"2026-07-15"}]}
|
||||
{"type":"discussion","id":"DSC-0035","status":"done","ticket":"pbs-lsp-editor-assistance-wave-1","title":"Wave 1 de assistencia editorial via LSP para PBS no VS Code","created_at":"2026-05-08","updated_at":"2026-05-08","tags":["studio","lsp","vscode","compiler","compiler-pbs","editor","completion","hover","signature-help"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0051","file":"discussion/lessons/DSC-0035-pbs-lsp-editor-assistance-wave-1/LSN-0051-compiler-backed-editor-assistance-for-pbs.md","status":"done","created_at":"2026-05-08","updated_at":"2026-05-08"}]}
|
||||
{"type":"discussion","id":"DSC-0034","status":"done","ticket":"frontend-semantic-host-projection-flexibility","title":"Frontend semantic vocabulary flexibility and declarative host projection","created_at":"2026-05-06","updated_at":"2026-05-07","tags":["compiler","compiler-general","frontend","semantics","vscode","host-projection","lsp"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0048","file":"discussion/lessons/DSC-0034-frontend-semantic-host-projection-flexibility/LSN-0048-frontend-owned-semantic-vocabularies-with-declarative-host-projection.md","status":"done","created_at":"2026-05-07","updated_at":"2026-05-07"}]}
|
||||
{"type":"discussion","id":"DSC-0033","status":"done","ticket":"frontend-visual-theme-spec-and-css-retirement","title":"Frontend visual theme spec and retirement of host-consumed semantic CSS","created_at":"2026-05-06","updated_at":"2026-05-08","tags":["compiler","compiler-general","frontend","presentation","theming","studio","vscode","lsp","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0050","file":"discussion/lessons/DSC-0033-frontend-visual-theme-spec-and-css-retirement/LSN-0050-frontend-owned-visual-themes-with-structured-contract-and-host-adapters.md","status":"done","created_at":"2026-05-08","updated_at":"2026-05-08"}]}
|
||||
{"type":"discussion","id":"DSC-0032","status":"done","ticket":"studio-new-lsp-api-and-v1-boundary","title":"Novo boundary entre lsp-api, lsp-v1 e a extensao VS Code","created_at":"2026-05-05","updated_at":"2026-05-07","tags":["studio","lsp","vscode","protocol","api","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0047","file":"discussion/lessons/DSC-0032-studio-new-lsp-api-and-v1-boundary/LSN-0047-project-scoped-lsp-boundary-and-protocol-containment.md","status":"done","created_at":"2026-05-07","updated_at":"2026-05-07"}]}
|
||||
{"type":"discussion","id":"DSC-0031","status":"done","ticket":"studio-editor-workspace-cleanup","title":"Limpeza completa do Workspace Editor do Studio e remoção dos acoplamentos legados","created_at":"2026-05-05","updated_at":"2026-05-08","tags":["studio","editor","cleanup","vfs","lsp","migration"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0049","file":"discussion/lessons/DSC-0031-studio-editor-workspace-cleanup/LSN-0049-remove-the-embedded-editor-stack-before-rebuilding-code-workflows.md","status":"done","created_at":"2026-05-08","updated_at":"2026-05-08"}]}
|
||||
{"type":"discussion","id":"DSC-0030","status":"done","ticket":"studio-scene-pack-runtime-binary-contract","title":"Studio scene pack contract for runtime SCENE binary payload","created_at":"2026-04-24","updated_at":"2026-05-01","tags":["studio","packer","runtime","scene","asset-pack","binary-format","tiled"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0046","file":"discussion/lessons/DSC-0030-studio-scene-pack-runtime-binary-contract/LSN-0046-canonical-scene-owns-editorial-truth-while-pack-stays-request-driven.md","status":"done","created_at":"2026-05-01","updated_at":"2026-05-01"}]}
|
||||
{"type":"discussion","id":"DSC-0029","status":"done","ticket":"studio-frame-composer-syscall-and-sprite-alignment","title":"Studio Alignment with Runtime FrameComposer Syscalls and Sprite Composition","created_at":"2026-04-18","updated_at":"2026-04-18","tags":["studio","compiler","pbs","stdlib","runtime-alignment","abi","syscall","frame-composer","sprites"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0041","file":"discussion/lessons/DSC-0029-studio-frame-composer-syscall-and-sprite-alignment/LSN-0041-composer-must-own-public-sprite-composition.md","status":"done","created_at":"2026-04-18","updated_at":"2026-04-18"}]}
|
||||
{"type":"discussion","id":"DSC-0028","status":"done","ticket":"studio-tiled-parser-assets-scene-asset-type","title":"Tiled Parser and Scene Asset-Type Ownership in Assets Workspace","created_at":"2026-04-15","updated_at":"2026-04-23","tags":["studio","assets","scene","tiled","parser","asset-type"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0045","file":"discussion/lessons/DSC-0028-studio-tiled-parser-assets-scene-asset-type/LSN-0045-asset-owned-scene-bank-and-tiled-xml-workflow.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0027","status":"abandoned","ticket":"studio-scene-workspace","title":"Scene Workspace for SCENE Authoring","created_at":"2026-04-14","updated_at":"2026-04-15","tags":["studio","workspace","scene","tilemap","asset","runtime-alignment"],"agendas":[{"id":"AGD-0029","file":"AGD-0029-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted agenda and its downstream work."}],"decisions":[{"id":"DEC-0026","file":"DEC-0026-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_agenda":"AGD-0029","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted decision and stop using it as normative guidance."}],"plans":[{"id":"PLN-0049","file":"PLN-0049-scene-workspace-spec-and-boundary-propagation.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0050","file":"PLN-0050-scene-workspace-shell-and-project-state-foundations.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0051","file":"PLN-0051-scene-artifact-and-assets-handoff-contract.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0052","file":"PLN-0052-scene-workspace-wave-1-tilemap-editor.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."}],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0026","status":"done","ticket":"glyph-bank-naming-alignment-with-runtime","title":"Glyph Bank Naming Alignment with Runtime DEC-0006","created_at":"2026-04-10","updated_at":"2026-04-10","tags":["packer","studio","naming","asset-contract","runtime-alignment","glyph-bank"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0040","file":"discussion/lessons/DSC-0026-glyph-bank-naming-alignment-with-runtime/LSN-0040-glyph-bank-artifact-naming-alignment.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0025","status":"done","ticket":"packer-pipeline-metadata-ownership","title":"Pipeline Metadata Ownership and Runtime Contract","created_at":"2026-04-09","updated_at":"2026-04-10","tags":["packer","metadata","runtime-contract","tooling","studio"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0039","file":"discussion/lessons/DSC-0025-packer-pipeline-metadata-ownership/LSN-0039-runtime-header-boundary-and-tooling-owned-pipeline-metadata.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
|
||||
{"type":"discussion","id":"DSC-0024","status":"done","ticket":"jacoco-reports-consolidation","title":"JaCoCo Reports Consolidation in Gradle","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["infra","gradle","jacoco","coverage","jenkins"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0038","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0038-jacoco-reports-consolidation.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"},{"id":"LSN-0044","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0044-jenkins-jacoco-alignment.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0002","status":"done","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-04-23","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0042","file":"discussion/lessons/DSC-0002-palette-management-in-studio/LSN-0042-schema-driven-palette-authoring-and-local-metadata-events.md","status":"done","created_at":"2026-04-23","updated_at":"2026-04-23"}]}
|
||||
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
|
||||
{"type":"discussion","id":"DSC-0004","status":"abandoned","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-04-24","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"abandoned","created_at":"2026-03-26","updated_at":"2026-04-24","_override_reason":"Explicit user request on 2026-04-24 to abandon AGD-0004 because the agenda is no longer valid."}],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0005","status":"done","ticket":"variable-tile-bank-palette-serialization","title":"Variable Glyph Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-07-14","tags":["packer","legacy-import","glyph-bank","palette-serialization","rgba8888","runtime-alignment"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0054","file":"discussion/lessons/DSC-0005-variable-glyph-bank-palette-serialization/LSN-0054-runtime-owned-variable-glyph-palette-counts.md","status":"done","created_at":"2026-07-14","updated_at":"2026-07-14"}]}
|
||||
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
|
||||
{"type":"discussion","id":"DSC-0009","status":"done","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-04-07","tags":["studio","debugger","workspace","integration","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[]}
|
||||
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
|
||||
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
|
||||
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
|
||||
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
|
||||
{"type":"discussion","id":"DSC-0016","status":"done","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0034","file":"discussion/lessons/DSC-0016-studio-editor-scope-guides-and-brace-anchoring/LSN-0034-active-scope-gutter-and-frontend-owned-structural-anchors.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0017","status":"done","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0035","file":"discussion/lessons/DSC-0017-studio-editor-inline-type-hints-for-let-bindings/LSN-0035-frontend-owned-inline-hints-with-decorative-inline-rendering.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
|
||||
{"type":"discussion","id":"DSC-0021","status":"done","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-06","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0036","file":"discussion/lessons/DSC-0021-studio-frontend-editor-write-and-save-wave/LSN-0036-vfs-owned-frontend-edit-and-save-wave.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
|
||||
{"type":"discussion","id":"DSC-0022","status":"done","ticket":"studio-play-stop-cartridge-flow","title":"Wire the Studio Play/Stop button to shipper phase 1 cartridge preparation and runtime execution","created_at":"2026-04-06","updated_at":"2026-04-07","tags":["studio","play-stop","shipper","runtime","cartridge","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0043","file":"discussion/lessons/DSC-0022-studio-play-stop-and-debugger-integration/LSN-0043-studio-play-stop-and-debugger-integration.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
{"type":"discussion","id":"DSC-0023","status":"done","ticket":"gradle-version-catalog-migration","title":"Move dependency version management to Version Catalog (TOML)","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["gradle","buildSrc","dependency-management","version-catalog"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0037","file":"discussion/lessons/DSC-0023-gradle-version-catalog-migration/LSN-0037-gradle-version-catalog-adoption.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
|
||||
+2
-2
@@ -36,5 +36,5 @@ dependencies {
|
||||
- **Naming Consistency**: Ensure library aliases in TOML follow a clear pattern (e.g., `slf4j-api` vs `slf4jApi`) to keep the build scripts readable.
|
||||
|
||||
## References
|
||||
- [DEC-0023-gradle-version-catalog-adoption.md](../../workflow/decisions/DEC-0023-gradle-version-catalog-adoption.md)
|
||||
- [PLN-0046-implement-gradle-version-catalog.md](../../workflow/plans/PLN-0046-implement-gradle-version-catalog.md)
|
||||
- DEC-0023-gradle-version-catalog-adoption.md (`DEC-0023-gradle-version-catalog-adoption.md`, historical workflow artifact removed by housekeeping)
|
||||
- PLN-0046-implement-gradle-version-catalog.md (`PLN-0046-implement-gradle-version-catalog.md`, historical workflow artifact removed by housekeeping)
|
||||
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
---
|
||||
id: LSN-0068
|
||||
ticket: pbs-lsp-go-to-definition
|
||||
title: PBS go-to-definition uses editorial lookup and physical files
|
||||
created: 2026-09-21
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor, definition]
|
||||
---
|
||||
|
||||
# PBS go-to-definition uses editorial lookup and physical files
|
||||
|
||||
> Historical policy: DEC-0062 / PLN-0141 explicitly superseded the physical-only
|
||||
> definition restriction in October 2026. SDK/core and dependencies now use
|
||||
> revision-bound read-only external documents for supporting clients. Compiler
|
||||
> Spec 23 and Studio Spec 11 define the current contract. The original lesson below
|
||||
> preserves the earlier decision; it must not be read as prohibiting today's
|
||||
> external navigation. References, symbols, links and hierarchies retain their
|
||||
> separately scoped contracts. See LSN-0078 for the implementation and pitfalls.
|
||||
|
||||
## Original Problem
|
||||
|
||||
PBS editor assistance already had compiler-backed completion, hover, and signature help (`LSN-0051`). Users still could not jump from a use to a declaration. Wave 1 explicitly deferred `go to definition`.
|
||||
|
||||
The remaining LSP navigation family (references, rename, workspace symbols, document links, hierarchy) needed a destination policy before those features could be honest. The risk was shipping a text search, a new `SymbolId` index, or virtual documents for stdlib before a real physical target existed.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
PBS Go to Definition is the LSP projection of **physical declaration locations** on top of the **same editorial lookup hover already uses**.
|
||||
|
||||
Durable locks from `DEC-0052`:
|
||||
|
||||
1. Resolve the identifier under the cursor through the hover path (locals, parameters, members, imports/supplementals, current-module top-level). Do not use text search or a new usage index.
|
||||
2. Keep the capability on the existing aggregated `FrontendLanguageService`. Add a default-empty `definition` method and a generic location DTO. Do not add a Definition SPI.
|
||||
3. Map PBS editorial spans inside `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`.
|
||||
4. Jump only when `Span.fileId` maps to a **regular filesystem file**. Otherwise return an empty list. Do not create virtual documents, `untitled:` buffers, or synthetic URIs.
|
||||
5. The destination is the canonical declaration, not the import-alias line. Overloads return every matching location.
|
||||
6. Advertise `definitionProvider`. Partial coverage is valid. Keywords, source-less builtins, unresolved names, and virtual stdlib paths stay empty; hover is unchanged.
|
||||
7. Analysis stays request-local, like hover. This discussion does not build references, rename, or snapshot cache.
|
||||
|
||||
Spec 23 §8.3 already listed definition as an optional editor capability. It now also states: a definition location must identify a compiler-known physical source file, or the response must be empty.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
| Layer | What landed |
|
||||
|---|---|
|
||||
| PBS editorial | `PbsEditorialSupportService.definition` reuses hover dispatch and attaches declaration `Span`s (`PbsEditorialLocation`). |
|
||||
| Generic contract | `FrontendDefinitionLocation` (absolute path + offsets) and `FrontendLanguageService.definition` defaulting to `List.of()`. |
|
||||
| PBS mapping | `PBSFrontendLanguageService` maps `FileId` through `fileTable` and keeps the location only if `Files.isRegularFile(path)`. |
|
||||
| LSP | `LanguageServiceBridge.definition`, `definitionProvider`, `textDocument/definition`. Compile-only frontends return empty. |
|
||||
| VS Code | Unchanged thin client. |
|
||||
|
||||
Stdlib and SDK modules are still registered under virtual paths such as `/virtual/stdlib/...`. Those handles are not regular files, so F12 on `Gfx.clear` is empty even though hover works. That is the physical-file rule, not a missing lookup.
|
||||
|
||||
The location payload (path + span of an already resolved symbol) is reusable later by references (`AGD-0043`) and rename (`AGD-0046`). Those indexes were not built here. Snapshots (`AGD-0051`) remain a later performance discussion, not a prerequisite for this request-local feature.
|
||||
|
||||
## Examples
|
||||
|
||||
Same-file jump:
|
||||
|
||||
```pbs
|
||||
fn helper() -> int { return 42; }
|
||||
|
||||
fn frame() -> void {
|
||||
helper(); // definition -> helper's declaration in this file
|
||||
}
|
||||
```
|
||||
|
||||
Aliased import jumps to the original declaration span, not the `import` line:
|
||||
|
||||
```pbs
|
||||
import { Log as Logger } from @sdk:log;
|
||||
Logger.info("hello");
|
||||
```
|
||||
|
||||
If `@sdk:log` is only a virtual stdlib handle, definition is empty. If a project file owns the declaration and that file exists on disk, definition uses that path.
|
||||
|
||||
Builtins stay hover-only:
|
||||
|
||||
```pbs
|
||||
let n: int = 1; // hover describes the builtin; definition is empty
|
||||
```
|
||||
|
||||
## Pitfalls
|
||||
|
||||
Do not implement definition as a second name search in `lsp-v1` or in the VS Code extension. It will break on imports, overloads, and members, then be thrown away when references arrive.
|
||||
|
||||
Do not open `/virtual/stdlib/...` or invent an `untitled:` document so stdlib F12 “does something”. Empty is the honest result until those sources are real files.
|
||||
|
||||
Do not pick the first overload location in the server. Return the full `Location[]`.
|
||||
|
||||
Do not wait for snapshot cache before definition. Hover is already request-local; definition follows that shape.
|
||||
|
||||
Do not split a new top-level definition service “for future languages”. PBS is a real consumer of the existing language-service surface (`LSN-0067`).
|
||||
|
||||
Do not treat this lesson as closing references, rename, outline, workspace symbols, or document links. Those agendas stay open. This lesson only locks the destination policy they can reuse.
|
||||
|
||||
## References
|
||||
|
||||
- Agenda: `AGD-0042` (Q1–Q6 = A)
|
||||
- Decision: `DEC-0052`
|
||||
- Plan: `PLN-0131`
|
||||
- Spec 23 §8.3 — optional definition capability; physical-file-or-empty
|
||||
- `LSN-0051` — wave 1 deferred go-to-definition
|
||||
- `LSN-0058` — generic `FrontendLanguageService` for LSP
|
||||
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
|
||||
- `LSN-0067` — no SPI or virtual-document host without a real consumer
|
||||
- Still open: `AGD-0043` references, `AGD-0045` workspace symbols, `AGD-0046` rename, `AGD-0051` snapshots, `AGD-0055` document links, `AGD-0056` hierarchy
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
---
|
||||
id: LSN-0069
|
||||
ticket: pbs-lsp-find-references
|
||||
title: PBS find-references is the physical inverse of definition
|
||||
created: 2026-09-21
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor, references]
|
||||
---
|
||||
|
||||
# PBS find-references is the physical inverse of definition
|
||||
|
||||
## Original Problem
|
||||
|
||||
PBS already had compiler-backed completion, hover, signature help, and go-to-definition (`LSN-0051`, `LSN-0068`). Users still could not ask where a resolved symbol is used. Text search confuses overloads, shadowing, members, comments, and coincidental names. Rename (`AGD-0046`) and hierarchy (`AGD-0056`) need an honest usage list before they exist.
|
||||
|
||||
The risk was inventing a `SymbolId` / `RefIndex`, waiting for snapshot cache (`AGD-0051`), or listing uses of stdlib APIs whose declarations are still virtual paths.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
PBS Find References is the LSP projection of **physical usage sites** of the **same identity definition already returns**.
|
||||
|
||||
Durable locks from `DEC-0053` (AGD-0043 Q1–Q6 = A):
|
||||
|
||||
1. Resolve the cursor through the definition path (locals, parameters, members, imports/supplementals, current-module top-level). Identity is that physical declaration-location set. Do not text-search. Do not add `SymbolId` or a persistent `RefIndex`.
|
||||
2. A site is a usage when its definition locations intersect the cursor identity. Overloads follow that intersection.
|
||||
3. If definition at the same offset is empty, references is empty.
|
||||
4. Walk regular `fileTable` files from the current `analyze()` surface. Do not scan `/virtual/stdlib` or other non-regular handles.
|
||||
5. Keep the capability on the existing aggregated `FrontendLanguageService`. Reuse `FrontendDefinitionLocation`. Map PBS spans in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No References SPI.
|
||||
6. Honor LSP `includeDeclaration` in the server: union usage sites with definition locations when the host asks and the declaration is a regular file. No read/write classification.
|
||||
7. Advertise `referencesProvider`. Partial coverage is valid. Analysis stays request-local. This discussion does not build rename, hierarchy, workspace symbols, virtual documents, or snapshot cache.
|
||||
|
||||
Spec 23 §8.3 now also states: a references location must identify a compiler-known physical source file; empty definition implies empty references; `includeDeclaration` must not invent a virtual location.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
| Layer | What landed |
|
||||
|---|---|
|
||||
| PBS editorial | `PbsEditorialSupportService.references` walks `IDENTIFIER` tokens and keeps sites whose `definition` locations intersect the cursor identity (`FileId` + start + end). |
|
||||
| Generic contract | `FrontendLanguageService.references` defaults to `List.of()`. `FrontendEditorialContext.projectSurface` carries the PBS semantic read surface so the walk can see `astByFile`. |
|
||||
| PBS mapping | `PBSFrontendLanguageService` requires a non-empty physical definition set, skips non-regular files, and maps surviving spans through the same `Files.isRegularFile` helper as definition. |
|
||||
| LSP | `referencesProvider`, `textDocument/references`. The bridge applies `includeDeclaration` by unioning `references` with `definition`. Compile-only frontends stay empty. |
|
||||
| VS Code | Unchanged thin client. |
|
||||
|
||||
Stdlib and SDK modules remain virtual (`/virtual/stdlib/...`). Shift+F12 on `Gfx.clear` is empty, matching F12. Hover is unchanged.
|
||||
|
||||
Local binding names are not usage sites: definition at `let total` is empty because the name is not yet in scope. The use `return total` matches. `includeDeclaration` adds the declaration span from definition, not a second name search.
|
||||
|
||||
## Examples
|
||||
|
||||
Same-file function uses, including the declaring identifier (top-level names resolve to themselves):
|
||||
|
||||
```pbs
|
||||
fn helper() -> int { return 42; }
|
||||
|
||||
fn frame() -> void {
|
||||
helper();
|
||||
helper();
|
||||
// helper // not a reference
|
||||
let text = "helper"; // not a reference
|
||||
}
|
||||
```
|
||||
|
||||
Imported project (or otherwise physical) symbols collect uses in the importing file. Identity is the foreign declaration span.
|
||||
|
||||
```pbs
|
||||
import { Log as Logger } from @sdk:log;
|
||||
Logger.info("a");
|
||||
Logger.info("b");
|
||||
```
|
||||
|
||||
If `@sdk:log` is only a virtual handle, definition is empty, so references is empty.
|
||||
|
||||
Builtins stay hover-only:
|
||||
|
||||
```pbs
|
||||
let n: int = 1; // hover works; references is empty
|
||||
```
|
||||
|
||||
`includeDeclaration=true` adds the canonical declaration location on top of identifier usage sites. `false` returns usages only.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
Do not implement find-references as workspace text search in `lsp-v1` or in the VS Code extension. It will lie about overloads, members, and imports, then poison rename.
|
||||
|
||||
Do not add a `SymbolId` index “for rename later”. Definition already gave the key: physical declaration locations. Rename can consume this list once it has its own decision.
|
||||
|
||||
Do not wait for snapshot cache. The LSP already reanalyzes on each editorial request. Snapshots (`AGD-0051`) can make the walk cheaper without changing the contract.
|
||||
|
||||
Do not treat empty stdlib references as a missing feature. Virtual paths are not regular files. Empty is the honest result until those sources live on disk.
|
||||
|
||||
Do not expect `let total` to appear as a usage of `total`. Inverse-of-definition only keeps identifier sites that themselves resolve. The declaration span arrives through `includeDeclaration`.
|
||||
|
||||
Do not put `includeDeclaration` into PBS types. It is a host flag applied in the LSP bridge.
|
||||
|
||||
Do not scan `/virtual/stdlib` to “find more uses”. That reopens virtual documents.
|
||||
|
||||
Do not split a References SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
|
||||
|
||||
Do not treat this lesson as closing rename, snapshots, workspace symbols, document links, or hierarchy.
|
||||
|
||||
## References
|
||||
|
||||
- Agenda: `AGD-0043` (Q1–Q6 = A)
|
||||
- Decision: `DEC-0053`
|
||||
- Plan: `PLN-0132`
|
||||
- Spec 23 §8.3 — optional navigation; physical-file-or-empty; empty definition implies empty references
|
||||
- `LSN-0068` — definition identity this feature inverts
|
||||
- `LSN-0051` — wave 1 deferred navigation
|
||||
- `LSN-0058` — generic `FrontendLanguageService` for LSP
|
||||
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
|
||||
- `LSN-0067` — no SPI without a real in-repo consumer
|
||||
- Still open: `AGD-0046` rename, `AGD-0045` workspace symbols, `AGD-0051` snapshots, `AGD-0055` document links, `AGD-0056` hierarchy
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
---
|
||||
id: LSN-0070
|
||||
ticket: pbs-lsp-document-symbols-outline
|
||||
title: PBS outline is an AST-backed document-symbol tree
|
||||
created: 2026-09-21
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor, outline, document-symbols]
|
||||
---
|
||||
|
||||
# PBS outline is an AST-backed document-symbol tree
|
||||
|
||||
## Original Problem
|
||||
|
||||
PBS already had compiler-backed completion, hover, signature help, go-to-definition (`LSN-0068`), and find-references (`LSN-0069`). VS Code Outline stayed empty. Long `.pbs` files had to be scanned by hand.
|
||||
|
||||
The risk was building outline from semantic success (so the tree vanishes while typing), flattening to `SymbolInformation`, inventing a Document Symbol SPI, or stuffing workspace search and folding into the same payload.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
PBS Document Symbols is the LSP projection of the **named declaration tree of the open `.pbs` file**, with the **recovered AST as backbone**.
|
||||
|
||||
Durable locks from `DEC-0054` (AGD-0044 Q1 A, Q2 AST tree, Q3 A, Q4 A, Q5 A, Q6 `.pbs`-only, Q7 existing kinds):
|
||||
|
||||
1. Presence, hierarchy, and ranges come from the document AST. Kind and `detail` may use cheap semantic enrichment. Semantics must not drop a named declaration still in the syntax tree, and must not require full analysis.
|
||||
2. Named `TopDecl` plus syntactic members:
|
||||
- `fn` → Function, no children;
|
||||
- `declare struct` → Struct, children: fields, `ctor`s, methods;
|
||||
- `declare service` → Service, children: methods;
|
||||
- `declare contract` → Contract, children: signatures as methods;
|
||||
- `declare host` → Host, children: signatures;
|
||||
- `declare builtin type` → Builtin type, children: projection fields and signatures;
|
||||
- `declare enum` → Enum, children: cases;
|
||||
- `declare error` → Error, children: labels;
|
||||
- `declare callback` → Callback, no children;
|
||||
- `declare global` / `const` → Global / Const, no children;
|
||||
- `implements Contract for Owner` → top-level Contract named `contractName`, `detail` = owner name, children: methods.
|
||||
Locals, parameters, `this`, imports, and comments stay out. Private fields stay in. Overloads stay siblings. Host and builtin type appear only if the open file declares them.
|
||||
3. Recovered AST is enough. Unnamed `InvalidDecl` is omitted. Named decls survive later semantic errors. No `PbsAst.File` → empty list. Do not invent nodes from text or token pairs.
|
||||
4. Keep the capability on aggregated `FrontendLanguageService.documentSymbols` (default empty) plus a hierarchical DTO (`name`, `kind`, optional `detail`, range offsets, selection offsets, `children`). No file path on the DTO. PBS builds the tree in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No Document Symbol SPI.
|
||||
5. Advertise `documentSymbolProvider`. Payload is hierarchical `DocumentSymbol`, not flat `SymbolInformation`. `range` is the declaration span. `selectionRange` is the name span only if the AST already has one; this wave reuses the declaration span. Do not scan tokens for identifier spans. VS Code stays a thin client.
|
||||
6. First wave is the current `.pbs` only. Out: imported supplementals, `mod.barrel`, locals, parameters, imports, comments, virtual documents, workspace symbols, folding, rename, snapshot cache. Server order is AST declaration order, not alphabetical.
|
||||
7. Reuse `FrontendSymbolKind` / `PbsEditorialSymbolKind`. LSP projects to the closest host `SymbolKind`. Name is the identifier. `detail` may carry the AST signature (`(a: int) -> int`). Attributes such as `[Init]` do not enter the name.
|
||||
|
||||
Outline does not jump to another file. The physical-file destination policy of definition/references is not the outline policy.
|
||||
|
||||
Spec 23 §8.3 now also states: document symbols are the named declaration tree of the requested document; recovered syntax is enough; a missing syntax tree is empty; this is not a workspace index, folding ranges, or a foreign-file navigation list.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
| Layer | What landed |
|
||||
|---|---|
|
||||
| PBS editorial | `PbsAstDocumentSymbols` walks `PbsAst.File.topDecls` in source order. `PbsEditorialSupportService.documentSymbols` delegates to that walk. |
|
||||
| Generic contract | `FrontendLanguageService.documentSymbols` defaults to `List.of()`. `FrontendDocumentSymbol` is hierarchical and pathless. |
|
||||
| PBS mapping | `PBSFrontendLanguageService` requires `editorialContext.syntaxTree()` to be `PbsAst.File`. Barrels and unknown trees stay empty. Kinds map with `valueOf(kind.name())`. |
|
||||
| LSP | `documentSymbolProvider`, `textDocument/documentSymbol`, hierarchical `DocumentSymbol`. Nested enum/error children project to `EnumMember`. Compile-only frontends stay empty. |
|
||||
| VS Code | Unchanged thin client. |
|
||||
|
||||
`mod.barrel` is assembled as `BarrelFile`, not `PbsAst.File`, so `astByFile` has no barrel outline. Empty is the honest first-wave result.
|
||||
|
||||
Error case labels have no per-label span in the AST. Children reuse the parent `ErrorDecl` span rather than scanning tokens.
|
||||
|
||||
## Examples
|
||||
|
||||
Outline of a file is the declarations in that file, not imports or locals:
|
||||
|
||||
```pbs
|
||||
import { Log } from @sdk:log;
|
||||
|
||||
fn helper() -> int { return 42; }
|
||||
|
||||
fn frame() -> void {
|
||||
let local = 1;
|
||||
helper(local);
|
||||
}
|
||||
```
|
||||
|
||||
Outline: `helper`, `frame`. Not `Log`, not `local`.
|
||||
|
||||
Struct members and overloads as siblings:
|
||||
|
||||
```pbs
|
||||
declare struct Vec(x: int) {
|
||||
ctor make(x: int) { return; }
|
||||
fn blend(dx: int, dy: int) -> int { return dx; }
|
||||
}
|
||||
|
||||
fn helper() -> int { return 42; }
|
||||
fn helper(value: int) -> int { return value; }
|
||||
```
|
||||
|
||||
Outline: `Vec` (`x`, `make`, `blend`), then two `helper` siblings. Private field `x` is present. `detail` on `blend` is `(dx: int, dy: int) -> int`.
|
||||
|
||||
Recovered parse keeps the named decl:
|
||||
|
||||
```pbs
|
||||
declare ;
|
||||
fn ok() -> int { return 1; }
|
||||
```
|
||||
|
||||
Outline: `ok`. The unnamed `InvalidDecl` is omitted.
|
||||
|
||||
`[Init] fn init()` still names the symbol `init`.
|
||||
|
||||
`implements TickLike for Point` is a top-level node named `TickLike` with detail `Point`.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
Do not wait for semantic analysis to succeed before showing outline. The tree must survive broken intermediate edits.
|
||||
|
||||
Do not omit private fields because they are not in `mod.barrel`. Outline is for the author of this file.
|
||||
|
||||
Do not collapse overloads. AST identity forbids merging declaration sets.
|
||||
|
||||
Do not walk `File.imports` or supplemental imported `TopDecl`s. Those symbols are not declared in this document.
|
||||
|
||||
Do not implement outline for `mod.barrel` in this contract. Barrel AST is a different root. Empty is correct until a later decision.
|
||||
|
||||
Do not scan tokens to invent a tighter `selectionRange`. This wave uses the declaration span.
|
||||
|
||||
Do not put a file path on `FrontendDocumentSymbol`. The host already has the document URI. Outline is not go-to-definition.
|
||||
|
||||
Do not reuse the physical-file jump rule of `LSN-0068` as an outline destination policy. Clicking outline stays inside the buffer.
|
||||
|
||||
Do not overload document symbols with folding or scope guides (`LSN-0034`, `AGD-0053`).
|
||||
|
||||
Do not split a Document Symbol SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
|
||||
|
||||
Do not treat this lesson as closing workspace symbols, folding, rename, document links, or hierarchy.
|
||||
|
||||
## References
|
||||
|
||||
- Agenda: `AGD-0044` (Q1 A, Q2 AST tree, Q3 A, Q4 A, Q5 A, Q6 `.pbs`-only, Q7 existing kinds)
|
||||
- Decision: `DEC-0054`
|
||||
- Plan: `PLN-0133`
|
||||
- Spec 23 §8.3 — optional document symbols; recovered AST tree of the requested document
|
||||
- `LSN-0068` — definition is a jump; outline is not
|
||||
- `LSN-0069` — references invert definition identity
|
||||
- `LSN-0034` — do not overload document symbols with structural anchors
|
||||
- `LSN-0058` — generic `FrontendLanguageService` for LSP
|
||||
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
|
||||
- `LSN-0067` — no SPI without a real in-repo consumer
|
||||
- Still open: `AGD-0045` workspace symbols, `AGD-0046` rename, `AGD-0051` snapshots, `AGD-0053` folding, `AGD-0055` document links, `AGD-0056` hierarchy
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
---
|
||||
id: LSN-0071
|
||||
ticket: pbs-lsp-workspace-symbols
|
||||
title: PBS workspace symbols are a physical named-declaration search
|
||||
created: 2026-09-21
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor, workspace-symbols]
|
||||
---
|
||||
|
||||
# PBS workspace symbols are a physical named-declaration search
|
||||
|
||||
## Original Problem
|
||||
|
||||
PBS already had compiler-backed completion, hover, signature help, go-to-definition (`LSN-0068`), find-references (`LSN-0069`), and an AST-backed outline of the open `.pbs` file (`LSN-0070`). VS Code workspace search (`Ctrl+T` / `workspace/symbol`) stayed empty.
|
||||
|
||||
The risk was treating workspace symbols as a second outline, inventing a `SymbolId` index, waiting for snapshot cache (`AGD-0051`), or returning stdlib/SDK hits whose declarations are still virtual paths (`/virtual/stdlib`). Workspace symbols is a jump. Outline is not.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
PBS Workspace Symbols is the LSP projection of a **flat named-declaration search** over **regular filesystem files** of the current analysis, flattening the **same outline set** and using the **same physical-file destination policy** as definition.
|
||||
|
||||
Durable locks from `DEC-0055` (AGD-0045 Q1 A, Q2 A, Q3 A, Q4 A, Q5 A, Q6 first-wave exclusions):
|
||||
|
||||
1. Emit only declarations whose `fileTable` handle is a regular filesystem file. Virtual stdlib/SDK, including `/virtual/stdlib`, is omitted. Do not invent virtual documents, `untitled:` buffers, or synthetic URIs.
|
||||
2. `workspace/symbol` does not require an open text document. The server obtains the project analysis surface (`astByFile` / `projectSurface`) from `analyze()`. Missing surface → empty list.
|
||||
3. The set is the flatten, file by file, of the named-declaration tree locked by outline (`LSN-0070`):
|
||||
- `fn` → Function;
|
||||
- `declare struct` → Struct plus fields, `ctor`s, methods;
|
||||
- `declare service` → Service plus methods;
|
||||
- `declare contract` → Contract plus signatures;
|
||||
- `declare host` → Host plus signatures;
|
||||
- `declare builtin type` → Builtin type plus projection fields and signatures;
|
||||
- `declare enum` → Enum plus cases;
|
||||
- `declare error` → Error plus labels;
|
||||
- `declare callback` → Callback;
|
||||
- `declare global` / `const` → Global / Const;
|
||||
- `implements Contract for Owner` → `contractName`, kind CONTRACT, `detail` = owner, plus methods.
|
||||
Locals, parameters, `this`, imports, and comments stay out. Private fields stay in. Overloads stay sibling hits. Unnamed `InvalidDecl` is omitted. Named decls survive later semantic errors.
|
||||
4. First wave is `.pbs` whose recovered root is `PbsAst.File`. `mod.barrel` (`BarrelFile`) stays empty. Presence, name, kind, `detail`, and spans come from recovered AST. Do not invent nodes from text search.
|
||||
5. Query is a case-insensitive substring of `name` only. Blank query returns the full first-wave corpus. Do not match `detail`, path, `containerName`, or qualified `Vec.blend`. No fuzzy ranking, no `top N`. After the filter, order is stable by name, then path, then start offset.
|
||||
6. `containerName` is the parent name for members and empty for top-level declarations. `detail` may repeat the outline AST signature. Attributes such as `[Init]` do not enter the name.
|
||||
7. Keep the capability on aggregated `FrontendLanguageService`. Add `workspaceSymbols` (default empty) plus a flat DTO with `name`, `kind`, optional `detail`, `containerName`, absolute path, and offsets. Do not reuse pathless `FrontendDocumentSymbol`. PBS flattens in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No Workspace Symbol SPI, `SymbolId`, `RefIndex`, or snapshot cache.
|
||||
8. Advertise `workspaceSymbolProvider` when the frontend exposes a language service. Payload is flat `SymbolInformation`. Do not emit hierarchical `DocumentSymbol` on this request. Compile-only frontends stay empty. VS Code stays a thin client.
|
||||
|
||||
Spec 23 §8.3 now also states: workspace symbols are a flat search of named declarations in compiler-known physical source files of the current analysis; recovered syntax is enough; a missing analysis surface is empty; the request must not require an open document; a declaration without a physical file is omitted; this is not outline, folding, a persistent index, or navigation to virtual locations.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
| Layer | What landed |
|
||||
|---|---|
|
||||
| PBS editorial | `PbsAstWorkspaceSymbols` flattens `PbsAstDocumentSymbols` and filters by name. `PbsEditorialSupportService.workspaceSymbols(ast, query)` delegates to that flatten. |
|
||||
| Generic contract | `FrontendWorkspaceRequest` (`projectRoot`, `query`). `FrontendWorkspaceSymbol` carries path. `FrontendLanguageService.workspaceSymbols` defaults to `List.of()`. `prepareEditorialContext(FrontendPhaseContext)` defaults to empty so a workspace request can obtain project surface without a `FileId`. |
|
||||
| PBS mapping | Project-level `prepareEditorialContext` attaches `fileTable` + `astByFile`. Regular `PbsAst.File` entries are flattened; non-regular handles are skipped. Results sort by name, path, offset. |
|
||||
| LSP | `workspaceSymbolProvider`, `workspace/symbol` on `PrometeuWorkspaceService` (no document URI). `CompilerLanguageServiceBridge` analyzes the project with an empty overlay map. Mapper emits flat `SymbolInformation`. Nested enum/error hits with a container project to `EnumMember`. Compile-only frontends stay empty. |
|
||||
| VS Code | Unchanged thin client. |
|
||||
|
||||
`workspace/symbol` in this wave reads the project on disk. Unsaved editor overlays are not shared into the search. Empty is honest until a later overlay/snapshot decision.
|
||||
|
||||
`mod.barrel` is still `BarrelFile`, not `PbsAst.File`. Empty barrel hits are the honest first-wave result.
|
||||
|
||||
Error case labels still have no per-label span. Flattened children reuse the parent `ErrorDecl` span, same as outline.
|
||||
|
||||
## Examples
|
||||
|
||||
Workspace search of a project file is the flatten of that file's outline, not imports or locals:
|
||||
|
||||
```pbs
|
||||
import { Log } from @sdk:log;
|
||||
|
||||
fn helper() -> int { return 42; }
|
||||
|
||||
fn frame() -> void {
|
||||
let local = 1;
|
||||
helper(local);
|
||||
}
|
||||
```
|
||||
|
||||
Query `frame` → `frame`. Query `helper` → `helper`. Query empty → `helper`, `frame` (plus other physical decls), sorted. Not `Log`, not `local`.
|
||||
|
||||
Members keep a container; overloads stay siblings:
|
||||
|
||||
```pbs
|
||||
declare struct Vec(x: int) {
|
||||
ctor make(x: int) { return; }
|
||||
fn blend(dx: int, dy: int) -> int { return dx; }
|
||||
}
|
||||
|
||||
fn helper() -> int { return 42; }
|
||||
fn helper(value: int) -> int { return value; }
|
||||
```
|
||||
|
||||
Query `blend` → method `blend` with `containerName` `Vec`. Query `helper` → two hits. Query `Vec.blend` → empty (this wave matches `name` only).
|
||||
|
||||
Stdlib remains hover-only while the handle is virtual:
|
||||
|
||||
```pbs
|
||||
import { Gfx } from @sdk:gfx;
|
||||
Gfx.clear(0);
|
||||
```
|
||||
|
||||
Query `Gfx` is empty. F12 on `Gfx.clear` is already empty (`LSN-0068`). Workspace search does not reopen that jump.
|
||||
|
||||
Recovered parse keeps the named decl:
|
||||
|
||||
```pbs
|
||||
declare ;
|
||||
fn ok() -> int { return 1; }
|
||||
```
|
||||
|
||||
Query empty → `ok`. The unnamed `InvalidDecl` is omitted.
|
||||
|
||||
`[Init] fn init()` still names the symbol `init`.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
Do not implement workspace symbols as workspace text search in `lsp-v1` or in the VS Code extension. It will lie about overloads, members, and imports.
|
||||
|
||||
Do not reuse `FrontendDocumentSymbol`. Outline is pathless because the host already has the document URI. Workspace symbols is a jump and must carry a path.
|
||||
|
||||
Do not require an open editor buffer to answer `workspace/symbol`. Analyze the project and walk `astByFile`.
|
||||
|
||||
Do not include `/virtual/stdlib` so Ctrl+T on `Gfx` “does something”. Empty is the honest result until those sources are regular files.
|
||||
|
||||
Do not wait for snapshot cache. References already walks the current analysis request-locally. Snapshots (`AGD-0051`) can make the walk cheaper without changing this contract.
|
||||
|
||||
Do not add a `SymbolId` index “for rename later”. Outline already named the declarations; definition already named the destination.
|
||||
|
||||
Do not match `containerName`, path, or `Vec.blend` in this wave. The query is a substring of `name`.
|
||||
|
||||
Do not emit hierarchical `DocumentSymbol` on `workspace/symbol`. That payload is outline.
|
||||
|
||||
Do not treat unsaved overlay absence as a missing feature of this contract. First-wave analysis is the project on disk.
|
||||
|
||||
Do not split a Workspace Symbol SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
|
||||
|
||||
Do not treat this lesson as closing rename, snapshots, folding, document links, or hierarchy.
|
||||
|
||||
## References
|
||||
|
||||
- Agenda: `AGD-0045` (Q1 A, Q2 A, Q3 A, Q4 A, Q5 A, Q6 first-wave exclusions)
|
||||
- Decision: `DEC-0055`
|
||||
- Plan: `PLN-0134`
|
||||
- Spec 23 §8.3 — optional workspace symbols; physical-file-or-omit; no open document required
|
||||
- `LSN-0070` — outline set this feature flattens
|
||||
- `LSN-0068` — physical-file destination this feature reuses
|
||||
- `LSN-0069` — project `astByFile` walk already exists for references
|
||||
- `LSN-0058` — generic `FrontendLanguageService` for LSP
|
||||
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
|
||||
- `LSN-0067` — no SPI without a real in-repo consumer
|
||||
- Still open: `AGD-0046` rename, `AGD-0051` snapshots, `AGD-0053` folding, `AGD-0055` document links, `AGD-0056` hierarchy
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
---
|
||||
id: LSN-0072
|
||||
ticket: pbs-lsp-rename-symbol
|
||||
title: PBS rename is a validated physical workspace edit
|
||||
created: 2026-09-22
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor, rename]
|
||||
---
|
||||
|
||||
# PBS rename is a validated physical workspace edit
|
||||
|
||||
## Original Problem
|
||||
|
||||
PBS already had compiler-backed completion, hover, signature help, go-to-definition (`LSN-0068`), find-references (`LSN-0069`), outline (`LSN-0070`), and workspace symbols (`LSN-0071`). Users still could not rename a symbol through the editor. Manual text edits miss uses or rewrite unrelated overloads, comments, strings, and same-name declarations.
|
||||
|
||||
The risk was a file-local rename, a lexeme replace, a new `SymbolId` / `RefIndex`, snapshot cache (`AGD-0051`) as a prerequisite, virtual stdlib documents, or a successful empty `WorkspaceEdit` that pretends the symbol changed.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
PBS Rename Symbol is the LSP projection of a **validated `WorkspaceEdit`** over **physical identifier spans** of the **same identity definition already returns**.
|
||||
|
||||
Durable locks from `DEC-0056` (AGD-0046 Q1–Q6 = A):
|
||||
|
||||
1. Identity is the physical declaration-location set from definition. Do not text-search. Do not add `SymbolId` or a persistent `RefIndex`.
|
||||
2. Sites are identifier tokens whose definition intersects that identity, plus identifier-sized declaration name spans. Overloads of the same name in the same owner rewrite together. Members rewrite only that member. Comments, strings, and homonyms of another identity stay.
|
||||
3. Walk regular `fileTable` files of the current `analyze()` surface. Omit `/virtual/stdlib` and other non-regular handles. Every edit location must be a compiler-known physical source file.
|
||||
4. Refuse when physical identity is empty: builtins, virtual stdlib/SDK, unresolved names, keywords, comments, strings, `this`, `Self`. Refuse `mod.barrel`. Refuse `declare error` case labels that have no per-label span.
|
||||
5. Exception: a local or parameter name span is renameable even when definition at that offset is empty. Identity becomes that name span; uses are identifiers whose definition intersects it.
|
||||
6. Refuse when the cursor lexeme is an import alias (`item.alias()` distinct from `item.name()`), including uses of that alias. Do not follow alias definition and rewrite the export. Export rename happens only when the cursor writes the original name. Export rewrite must not change `as Alias` tokens or uses that spell a differing alias.
|
||||
7. `prepareRename` validates the cursor and returns the identifier range, or null. `rename` also validates the new name: PBS identifier, not a keyword, no collision in the same binding space (top-level `fn`/`service`/`global`/`const`, local/param in the same scope, field in the same struct, method in the same owner, case in the same enum), ignoring rewritten sites and the overload set. Failure is an LSP error. Never return a successful empty `WorkspaceEdit`. The server does not write files and does not rename paths.
|
||||
8. Keep the capability on aggregated `FrontendLanguageService`. `prepareRename` defaults empty; `rename` defaults unsupported. PBS maps in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No Rename SPI. Advertise `renameProvider` with `prepareProvider`. Compile-only stays unsupported. VS Code stays a thin client.
|
||||
|
||||
Spec 23 §8.3 now also states: rename is a validated workspace edit of identifier spans in compiler-known physical source files; identity is definition; local/param name spans remain renameable; alias, virtual, and error-label cursors refuse; invalid names and collisions are protocol errors, not empty success; the server does not write files; `prepareProvider` is advertised when rename is exposed.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
| Layer | What landed |
|
||||
|---|---|
|
||||
| PBS editorial | `PbsEditorialSupportService.planRename` builds identity from definition or local/param name span, refuses aliases and error labels, walks `IDENTIFIER` tokens whose definition intersects identity and whose lexeme is the original name, then validates identifier/keyword/collision. |
|
||||
| Generic contract | `FrontendLanguageService.prepareRename` defaults empty. `rename` defaults `FrontendRenameResult.unsupported()`. `FrontendRenameEdit` is path + offsets + `newText`. Applied results reject an empty edit list. |
|
||||
| PBS mapping | `PBSFrontendLanguageService` reuses `projectDocuments` and `toFrontendLocation`. Empty physical identity is refuse, even if editorial sites exist on virtual handles. |
|
||||
| LSP | `renameSupported`, `prepareRename`, `rename`. Mapper advertises `RenameOptions.prepareProvider`. Refused rename is `ResponseErrorException`, not an empty `WorkspaceEdit`. Compile-only does not advertise. |
|
||||
| VS Code | Unchanged thin client. |
|
||||
|
||||
Stdlib and SDK modules remain virtual (`/virtual/stdlib/...`). F2 on `Gfx.clear` is refused, matching empty F12 / Shift+F12. Hover is unchanged.
|
||||
|
||||
`let total` at the binding itself still has empty definition. Rename uses the name span as identity so F2 on the binding works.
|
||||
|
||||
## Examples
|
||||
|
||||
Same-file function, including overloads and the declaring identifier. Comment and string stay:
|
||||
|
||||
```pbs
|
||||
fn helper() -> int { return 1; }
|
||||
fn helper(value: int) -> int { return value; }
|
||||
|
||||
fn frame() -> void {
|
||||
helper();
|
||||
helper(2);
|
||||
// helper
|
||||
let text = "helper";
|
||||
}
|
||||
```
|
||||
|
||||
F2 on `helper` → `aid` rewrites both declarations and both calls.
|
||||
|
||||
Local name span:
|
||||
|
||||
```pbs
|
||||
fn frame() -> void {
|
||||
let total = 1;
|
||||
return total;
|
||||
}
|
||||
```
|
||||
|
||||
F2 on `let total` or on the use rewrites both identifier sites.
|
||||
|
||||
Alias is refused. Export rename keeps the local alias:
|
||||
|
||||
```pbs
|
||||
import { Log as Logger } from @sdk:log;
|
||||
Logger.info("a");
|
||||
```
|
||||
|
||||
F2 on `Logger` or `Logger.info` is refused. F2 on a physical `Log` declaration rewrites the original name and `import { Log as Logger }`, and leaves `Logger` / `Logger.info`.
|
||||
|
||||
Builtins and virtual stdlib stay hover-only:
|
||||
|
||||
```pbs
|
||||
let n: int = 1;
|
||||
Gfx.clear(5);
|
||||
```
|
||||
|
||||
Invalid new names (`fn`, `1ab`) and collisions (`helper` → existing `frame`) fail with an LSP error.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
Do not implement rename as workspace text search in `lsp-v1` or in the VS Code extension. It will rewrite comments, strings, overloads of another identity, and import aliases.
|
||||
|
||||
Do not follow definition through an import alias. `Logger` currently resolves to `Log`'s span; a blind inverse-of-definition rename would rewrite the export.
|
||||
|
||||
Do not return a successful empty `WorkspaceEdit` for a refused cursor. The editor will treat that as “renamed”.
|
||||
|
||||
Do not skip the local/param name-span exception. F2 on `let total` is the common case, and definition there is empty.
|
||||
|
||||
Do not rewrite `declare error` case labels by using the parent `ErrorDecl` span. Those labels have no per-label span.
|
||||
|
||||
Do not wait for snapshot cache. Rename reuses the request-local walk already used by references.
|
||||
|
||||
Do not treat empty/refused stdlib rename as a missing feature. Virtual paths are not regular files.
|
||||
|
||||
Do not split a Rename SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
|
||||
|
||||
Do not treat this lesson as closing snapshots, folding, document links, hierarchy, code actions, formatting, file rename, or local-alias rename.
|
||||
|
||||
## References
|
||||
|
||||
- Agenda: `AGD-0046` (Q1–Q6 = A)
|
||||
- Decision: `DEC-0056`
|
||||
- Plan: `PLN-0135`
|
||||
- Spec 23 §8.3 — optional rename; physical-file-or-empty; alias refuse; error instead of empty success; `prepareProvider`
|
||||
- Spec: `docs/specs/compiler-languages/pbs/3. Core Syntax Specification.md` §4.3–4.4
|
||||
- `LSN-0068` — definition identity this feature writes
|
||||
- `LSN-0069` — physical inverse that supplies usage sites
|
||||
- `LSN-0051` — wave 1 deferred rename
|
||||
- `LSN-0058` — generic `FrontendLanguageService` for LSP
|
||||
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
|
||||
- `LSN-0067` — no SPI without a real in-repo consumer
|
||||
- Still open: `AGD-0051` snapshots, `AGD-0053` folding, `AGD-0055` document links, `AGD-0056` hierarchy
|
||||
+130
@@ -0,0 +1,130 @@
|
||||
---
|
||||
id: LSN-0073
|
||||
ticket: pbs-lsp-code-actions
|
||||
title: PBS quick fixes are frontend repairs transported by the LSP
|
||||
created: 2026-09-22
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor, code-actions, quick-fix]
|
||||
---
|
||||
|
||||
# PBS quick fixes are frontend repairs transported by the LSP
|
||||
|
||||
## Original Problem
|
||||
|
||||
PBS diagnostics already reach the editor, but the server did not advertise `codeActionProvider`. A user could see a duplicate attribute or a bad `InitAllowed` and still had to repair it by hand.
|
||||
|
||||
The tempting shortcut was a code-to-edit table in the LSP. That shortcut does not work. Compiler `Diagnostic` values carry a stable code, phase, template, placeholders, span, and related locations, but the reserved-attribute reports use the short constructor: empty placeholders, and the English sentence is the only fine discriminator. `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` covers Doc without `markdown`, a wrong payload, empty markdown, an unknown argument, `InitAllowed` with arguments, an out-of-range `AssetLowering`, and a bad `Host` shape. A switch on the code cannot pick a safe edit without reading the message. Diagnostic wording is rendering, not identity. Code actions are an optional editorial capability: the frontend owns the meaning, and the LSP transports it.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
PBS quick fix is one `WorkspaceEdit` tied to one diagnostic of the requested physical document. The frontend produces the repair from the syntax tree. The LSP does not invent it.
|
||||
|
||||
Durable locks from `DEC-0057` (AGD-0047: scope A, producer B, residence B, first wave C):
|
||||
|
||||
1. This wave is quick fix only. No organize-imports, source action, refactor, function or struct stub, code lens, or server command.
|
||||
2. The server does not write files. The client applies the edit.
|
||||
3. Each repair names the stable diagnostic code, the primary span of that diagnostic, and exactly one local text edit. The LSP must not keep a code-to-edit table and must not read the diagnostic message to build the edit.
|
||||
4. The repair is computed on `textDocument/codeAction` from the current document analysis. It is not a required field of compiler `Diagnostic`, and it is not published inside `publishDiagnostics`, including `data`.
|
||||
5. `publishDiagnostics` carries the stable compiler code on `Diagnostic.code` so the client can echo it. Source, severity, message, and related information stay as they were. Those presentation questions remain with `AGD-0054`.
|
||||
6. A repair is returned only when the request context contains a diagnostic with the same code and the same primary range. An empty diagnostic list returns an empty action list. An `only` filter that does not include quick fix returns an empty action list.
|
||||
7. Each item is a QuickFix `CodeAction`, not a `Command`. The edit touches one file, the requested physical document, and contains one `TextEdit`. There is no lazy resolve.
|
||||
8. A path that is not a compiler-known regular file, including `/virtual/stdlib`, gets no edit.
|
||||
9. If the frontend does not expose the capability, the server does not advertise `codeActionProvider`. A request that arrives anyway returns an empty list, not a protocol error. Absence of a fix is not a refused cursor.
|
||||
10. PBS exposes the capability. Another frontend does not gain it merely by having a language service.
|
||||
11. The first wave is two shapes, not three diagnostic codes.
|
||||
- For every extra reserved attribute the declaration validator already reports as `E_SEM_DUPLICATE_RESERVED_ATTRIBUTE`, delete exactly that occurrence's span. Do not delete the first occurrence, the declaration, or neighboring whitespace.
|
||||
- For an `InitAllowed` attribute with a non-empty argument list on a host signature, the shape the validator reports as `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` when the file is an interface module, replace that attribute span with `[InitAllowed]`. Do not emit that repair for any other attribute that shares the code. `[InitAllowed()]` is not diagnosed today and gets no repair.
|
||||
12. Nothing else gets a quick fix in this wave. In particular: inserting `[Doc(markdown = """""")]` or any other Doc rewrite, inserting an empty or incomplete `[Host]` or `[BuiltinType]`, `W_SEM_IGNORED_VALUE`, unresolved imports, an invalid reserved-attribute target, parse errors, unresolved overloads, and method stubs.
|
||||
|
||||
`AGD-0048` still owns formatting. `AGD-0049` still owns import assistance and organize-imports. `AGD-0054` still owns range, related locations, and diagnostic presentation. The PBS diagnostics spec does not gain a mandatory remediation field.
|
||||
|
||||
Spec 23 §8.3 now states the shared contract: code actions are quick fixes only; the frontend produces each repair from the document syntax; tooling transports it and does not parse the message or switch on codes; the published diagnostic carries the stable code; a repair is returned only for a matching context diagnostic; the edit is one physical file; the server does not write files, return a command, or require resolve; a missing capability is an empty list, not an error; virtual documents get no edit.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
| Layer | What landed |
|
||||
|---|---|
|
||||
| PBS repairs | `PbsQuickFixCollector` walks the same attribute surfaces as `PbsDeclarationSemanticsValidator`, including the interface-module gate. Duplicate reserved attributes become an empty replacement of the extra span. The first `InitAllowed` with arguments on an interface host signature becomes `[InitAllowed]`. |
|
||||
| Source kind | `PbsSemanticReadSurface.sourceKindByFile` records the kind used to parse each file. A missing kind means project rules, so a project `declare host` does not pretend the validator emitted the interface-only `InitAllowed` diagnostic. |
|
||||
| Generic contract | `FrontendLanguageService.codeActionsSupported` defaults false. `codeActions` defaults empty. `FrontendCodeAction` is title, diagnostic code, path, offsets, and `newText`. Empty `newText` is a deletion and is allowed. |
|
||||
| PBS mapping | `PBSFrontendLanguageService` exposes the capability and returns repairs only for the requested regular file. `/virtual/stdlib` fails `Files.isRegularFile` and produces nothing. |
|
||||
| LSP | `BaselineDocumentIssue.code` is copied onto `Diagnostic.code`. `data` stays unset. The bridge drops repairs whose code and range do not match a context diagnostic. `PrometeuTextDocumentService.codeAction` honors the quick-fix `only` filter and never fails the request for “no fix”. |
|
||||
| Protocol | `codeActionProvider` is `CodeActionOptions` with kind `quickfix` and `resolveProvider` false, and only when the frontend reports support. Mapped actions are `CodeAction` values with a `WorkspaceEdit`. They are not `Command`s. |
|
||||
|
||||
Titles are `Remove duplicate reserved attribute` and `Remove InitAllowed arguments`.
|
||||
|
||||
## Examples
|
||||
|
||||
Duplicate `Doc` on a project file. The first copy stays. Each later copy is deleted at its own span:
|
||||
|
||||
```pbs
|
||||
[Doc(markdown = """
|
||||
First.
|
||||
""")]
|
||||
[Doc(markdown = """
|
||||
Second.
|
||||
""")]
|
||||
fn duplicated() -> void { return; }
|
||||
```
|
||||
|
||||
The quick fix removes the second attribute and leaves `First.`. A context diagnostic with the same range but code `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` produces no action. An empty diagnostic list produces no action.
|
||||
|
||||
Malformed or empty Doc is visible and not repairable here:
|
||||
|
||||
```pbs
|
||||
[Doc(text = """
|
||||
Wrong argument.
|
||||
""")]
|
||||
fn malformed() -> void { return; }
|
||||
```
|
||||
|
||||
`InitAllowed` with arguments is repaired only on an interface-module host signature:
|
||||
|
||||
```pbs
|
||||
declare host Gfx {
|
||||
[Host(module = "gfx2d", name = "clear", version = 1)]
|
||||
[InitAllowed(flag = 1)]
|
||||
fn clear() -> void;
|
||||
|
||||
[Host(module = "gfx2d", name = "fill", version = 1)]
|
||||
[InitAllowed()]
|
||||
fn fill() -> void;
|
||||
}
|
||||
```
|
||||
|
||||
`clear` becomes `[InitAllowed]`. `fill` is already valid to the validator, so `[InitAllowed()]` is left alone. The same `InitAllowed(flag = 1)` inside a project file does not get that repair, because the validator does not emit the malformed-attribute diagnostic there.
|
||||
|
||||
The same collector deletes the extra copy of `BuiltinType`, `IntrinsicCall`, `BuiltinConst`, `Host`, and `AssetLowering` when the validator reports `E_SEM_DUPLICATE_RESERVED_ATTRIBUTE` for that surface. A malformed `Host` that merely shares the malformed-attribute code gets no edit.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
Do not choose the edit in `prometeu-lsp` by switching on `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` or by parsing the English message. The code is too coarse, and the message is not the identity.
|
||||
|
||||
Do not store the repair on compiler `Diagnostic` or in `Diagnostic.data`. Compilation and quick fix stay different surfaces. The published code exists so the client can echo it back.
|
||||
|
||||
Do not match on `Diagnostic.source` as if it were the long-term identity field. Today the bridge still copies the code into `source` for the existing presentation. The code-action match uses `Diagnostic.code`. `AGD-0054` may change `source` later.
|
||||
|
||||
Do not delete the first duplicate, and do not trim the whitespace around the deleted span. That cleanup is formatting and belongs to `AGD-0048`.
|
||||
|
||||
Do not insert `[Doc(markdown = """""")]`, an empty `[Host]`, or an empty `[BuiltinType]`. Those edits trade one diagnostic for another, or invent a declaration.
|
||||
|
||||
Do not treat `W_SEM_IGNORED_VALUE` as a source edit. Discard exists in lowering, not as PBS syntax.
|
||||
|
||||
Do not offer the `InitAllowed` rewrite for `[InitAllowed()]` or for a project file. The validator does not diagnose those shapes as “arguments not allowed”, so there is no diagnostic to attach.
|
||||
|
||||
Do not return a protocol error when there is no fix. Rename refuses a bad cursor with an error. Quick fix answers “nothing to do” with an empty list.
|
||||
|
||||
Do not advertise `codeActionProvider` for every frontend that has a language service. The default capability is unsupported.
|
||||
|
||||
Do not treat this lesson as closing formatting, import assistance, diagnostic presentation, snapshots, folding, document links, or hierarchy.
|
||||
|
||||
## References
|
||||
|
||||
- Agenda: `AGD-0047` (scope A, producer B, residence B, first wave C)
|
||||
- Decision: `DEC-0057`
|
||||
- Plan: `PLN-0136`
|
||||
- Spec 23 §8.3 — optional code actions; frontend-owned repair; match by code and range; empty list when unsupported
|
||||
- Spec: `docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md` — wording is not identity; remediation stays outside the v1 diagnostic minimum
|
||||
- `LSN-0056` — code actions are an optional editorial capability
|
||||
- `LSN-0058` — generic `FrontendLanguageService` for the LSP
|
||||
- `LSN-0067` — no new editorial SPI without a real consumer; PBS implements the existing language service
|
||||
- Still open: `AGD-0048` formatting, `AGD-0049` import assistance, `AGD-0054` diagnostics UX, `AGD-0051` snapshots, `AGD-0056` hierarchy
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
---
|
||||
id: LSN-0074
|
||||
ticket: pbs-lsp-remaining-editor-surface
|
||||
title: PBS remaining editor surface is frontend-owned and transported by the LSP
|
||||
created: 2026-09-22
|
||||
tags: [studio, lsp, vscode, compiler-pbs, editor]
|
||||
---
|
||||
|
||||
# PBS remaining editor surface is frontend-owned and transported by the LSP
|
||||
|
||||
## Original Problem
|
||||
|
||||
Nine open LSP agendas still described formatting, imports, semantic tokens, snapshots, completion, folding, diagnostics, document links, and call hierarchy as if none of that surface existed. By the time those agendas were still open, the server already advertised hover, completion, signature help, definition, references, outline, workspace symbols, rename, quick fix, and full semantic tokens. Each request still rebuilt analysis. References and rename had already shipped without a snapshot cache. There was no diagnostic whose meaning was "this name is not imported."
|
||||
|
||||
Treating the nine agendas as nine decisions would have reimplemented finished work and locked stale premises.
|
||||
|
||||
## Consolidated Decision
|
||||
|
||||
`DEC-0058` retired that split. One plan, `PLN-0137`, landed seven steps. The frontend produces the editorial result. The LSP transports it and does not invent a second policy. A missing capability is not advertised and returns an empty list, not a protocol error.
|
||||
|
||||
The wave explicitly does not add a project snapshot cache, type hierarchy, `completionItem/resolve`, snippets, a ranking score, range or on-type formatting, organize imports, a missing-import quick fix, `relatedInformation`, or a new semantic-token key.
|
||||
|
||||
1. Published editor diagnostic `source` is the bound frontend `languageId`. For PBS that is `pbs`. `code` stays the stable compiler code. The code is not copied into `source`.
|
||||
2. A document link covers only the span of a `ModuleRef` whose module assembly already resolved to a regular file. Virtual stdlib and unresolved modules produce no link.
|
||||
3. Folding comes from recovered spans of the listed declarations, their bodies, parameter lists, and `Doc` text blocks. A brace, parenthesis, or text block the tree does not cover still folds, including an unmatched opener through the end of the text. Selection grows outward from identifier, to argument or parameter list, to block or `Doc` text block, to declaration.
|
||||
4. Formatting is full-document only. It reprints the token stream, indents by four spaces where brace or parenthesis nesting changes, leaves `Doc` text-block interiors untouched, and does not reorder declarations or move comments off their line.
|
||||
5. Semantic tokens keep `PBSSemanticTokenProvider` as the baseline. Hover resolution may replace an identifier token only when an existing `PbsSemanticKind` matches the symbol. Failure, a broken file, or a symbol with no existing key keeps the baseline token.
|
||||
6. Completion inside a `ModuleRef` lists project and stdlib modules the current resolver can already name. Every other offset keeps the existing member or general completion. Items stay eager and `resolveProvider` stays false.
|
||||
7. Call hierarchy walks `CallExpr` nodes for functions and methods. It does not use the references index. A cursor that is not on a callable is empty. Type hierarchy is not advertised.
|
||||
|
||||
## Final Implementation
|
||||
|
||||
`CompilerLanguageServiceBridge` reads `LspProjectContext.languageId` into `BaselineDocumentIssue.source`. Document links read the physical module map that module assembly already built; stdlib files under `/virtual/stdlib` are not regular files, so they are not links. Folding, selection, and formatting reparse the open buffer with the existing lexer and parser. They do not require a successful project analysis. The semantic-token overlay runs only when editorial context is available and otherwise returns the provider tokens, including when project discovery fails. Module completion labels are the project modules from that same physical map plus the modules `ResourceStdlibEnvironmentResolver` can already resolve. Call hierarchy collects function, method, and constructor declarations from the recovered AST and matches `CallExpr` callees by name and call shape.
|
||||
|
||||
Spec 23 §8.3 states each of these rules. The nine earlier agendas, `AGD-0048` through `AGD-0056`, were abandoned and are not normative.
|
||||
|
||||
## Examples
|
||||
|
||||
A project import `@app:a` that resolves to `src/a/source.pbs` is one document link on that module-reference span. `@sdk:log` is not, because the stdlib file is virtual.
|
||||
|
||||
```pbs
|
||||
fn helper() -> int { return 1; }
|
||||
fn main() -> int { return helper; }
|
||||
```
|
||||
|
||||
The use of `helper` without a call is an identifier in the lexical pass. Hover resolves it as a function, so the overlay key is `pbs-function`. A local such as `value` has no existing key, so it stays `pbs-identifier`.
|
||||
|
||||
```pbs
|
||||
fn helper() -> int { return 1; }
|
||||
fn main() -> int { return helper(); }
|
||||
```
|
||||
|
||||
Prepare on `main` returns that function. Outgoing calls include `helper`. Incoming calls of `helper` include `main`. A cursor on a struct name returns no item.
|
||||
|
||||
## Common Pitfalls
|
||||
|
||||
- Do not copy the diagnostic code into `source`. The editor then shows the code twice and loses the language id.
|
||||
- Do not build document links to `/virtual/stdlib`. Definition already refuses that destination.
|
||||
- Do not treat document symbols as folding ranges. Outline and folding are different payloads.
|
||||
- Do not pretty-print from the AST. Comments and `Doc` text-block interiors are not fully modeled as trivia on the tree.
|
||||
- Do not add `pbs-local`, `pbs-parameter`, or `pbs-field` in the overlay. Those symbols stay on the baseline token until a later decision adds the key.
|
||||
- Do not implement call hierarchy by inverting the references index. A reference is a use of a name, not a call.
|
||||
- Do not start a snapshot cache because a later feature feels slow. This wave deliberately kept request-local analysis.
|
||||
|
||||
## References
|
||||
|
||||
- `DEC-0058` and `PLN-0137`, removed by housekeeping after this lesson
|
||||
- `docs/specs/compiler/23. Compiler Pipeline Entry Points Specification.md` §8.3
|
||||
- Earlier surface: `LSN-0068`, `LSN-0069`, `LSN-0070`, `LSN-0071`, `LSN-0072`, `LSN-0073`
|
||||
- Abandoned agendas: `AGD-0048` through `AGD-0056`
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
---
|
||||
id: LSN-0075
|
||||
ticket: studio-core-javafx-decoupling
|
||||
title: Studio Services Must Outlive the Current UI
|
||||
created: 2026-09-25
|
||||
tags: [studio, architecture, spring, spring-modulith, javafx, adapters]
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
Prometeu Studio began as a desktop application in which JavaFX controls, application workflows, provider integrations, background execution, and lifecycle management shared one Gradle module. A static `p.studio.Container` made these dependencies easy to reach, but it also made the visual adapter the practical center of the product. That shape could not support another consumer, such as a future agent adapter, without either driving the UI or duplicating Studio behavior.
|
||||
|
||||
The migration needed to preserve the existing Java product and its behavior while making JavaFX replaceable. It also needed to preserve the autonomy of compiler, LSP, runtime, and especially `p.packer`; separating Studio did not authorize absorbing those domains.
|
||||
|
||||
## Key Decisions
|
||||
|
||||
### Human and non-visual adapters consume the same Studio services
|
||||
|
||||
**What:** The Studio is physically divided into `prometeu-studio-api`, `prometeu-studio-core`, `prometeu-studio-ui-javafx`, and `prometeu-app`. JavaFX depends on the neutral API, Core implements application use cases, and the application module composes concrete adapters.
|
||||
|
||||
**Why:** The stable boundary is UI versus application services, not JavaFX versus a future web framework. A future agent can depend on the same API without moving application rules out of Core.
|
||||
|
||||
**Trade-offs:** More constructor parameters and explicit contracts are required. That cost is intentional: dependencies are visible, testable, and constrained by Gradle instead of hidden behind a global container.
|
||||
|
||||
### Spring is a composition mechanism, not a domain dependency
|
||||
|
||||
**What:** Spring Boot runs in non-web mode only in `prometeu-app`. Core objects remain constructor-injected POJOs. Spring Modulith verifies the six functional Core modules: project, session, assets, shipper, runtime, and execution.
|
||||
|
||||
**Why:** Spring provides deterministic construction and lifecycle without contaminating the public API or Core. Modulith supplies executable documentation and dependency checks while Gradle remains the physical classpath boundary.
|
||||
|
||||
**Trade-offs:** The application configuration is deliberately explicit. Broad component scanning and turning JavaFX controls into Spring singletons would recreate hidden ownership and lifecycle problems.
|
||||
|
||||
### Provider boundaries follow stability, not uniformity
|
||||
|
||||
**What:** Core uses a provider's public API directly when it is stable and neutral. It owns a narrow port when the available integration is static, concrete, lifecycle-oriented, or otherwise unsuitable for Core. Packer's stable API is consumed directly; compiler static access, LSP lifecycle, and runtime process integration are isolated behind consumer-owned gateways implemented in `prometeu-app`.
|
||||
|
||||
**Why:** Wrapping every dependency creates redundant abstractions, while importing concrete implementations leaks infrastructure into Core. The useful boundary depends on the provider contract.
|
||||
|
||||
**Trade-offs:** The integration matrix must be reviewed case by case. There is no universal rule that every provider receives a gateway.
|
||||
|
||||
### Long-running work is a neutral application contract
|
||||
|
||||
**What:** Build, pack, and execution expose `OperationHandle<R>` with identity, snapshots, completion, cancellation, updates, and typed results. The application owns the executor implementation; JavaFX only projects operation state and switches to the FX thread.
|
||||
|
||||
**Why:** Background work must be equally consumable by JavaFX and future adapters. An executor or JavaFX `Task` is an implementation detail, not an application contract.
|
||||
|
||||
**Trade-offs:** Cancellation races and terminal state transitions require explicit tests. In particular, stopping execution must cancel the outer execution handle before its nested preparation handle can complete it successfully.
|
||||
|
||||
## Patterns and Algorithms
|
||||
|
||||
The dependency pattern is:
|
||||
|
||||
```text
|
||||
JavaFX adapter ---> Studio API <--- future adapters
|
||||
^
|
||||
|
|
||||
Studio Core
|
||||
^
|
||||
|
|
||||
Spring non-web composition
|
||||
```
|
||||
|
||||
External providers remain outside the Core module graph. Stable public provider APIs may be direct Core dependencies; concrete adapters remain in the application module.
|
||||
|
||||
Operational failures that a caller can recover from are returned as typed results or diagnostics. For example, metadata writes convert I/O failures into `AssetMetadataWriteResult`. JavaFX renders that result and does not treat an unexpected exception message or stack trace as a functional contract.
|
||||
|
||||
The removal sequence for a service locator is also reusable:
|
||||
|
||||
1. establish architecture tests and final modules;
|
||||
2. introduce neutral contracts and explicit factories;
|
||||
3. move behavior slice by slice into constructor-injected services;
|
||||
4. reduce static call sites to zero;
|
||||
5. delete the static container and manual composition together;
|
||||
6. remove the mixed legacy module;
|
||||
7. run the full build, packaging, desktop smoke, and shutdown gate as one indivisible acceptance step.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
- Renaming packages without changing Gradle dependencies does not create a replaceable frontend.
|
||||
- Replacing `Container` with `ApplicationContext.getBean()` throughout the code is still a service locator. Context lookup belongs only at the explicit application bootstrap boundary.
|
||||
- Registering every control or dialog as a Spring singleton gives Spring ownership of visual lifecycle and makes multiple windows or future adapters harder.
|
||||
- A gateway that merely mirrors a stable provider API adds indirection without protection. Conversely, direct use of static or concrete provider entry points leaks infrastructure into Core.
|
||||
- Moving Packer behavior into `p.studio.core.assets` would reverse domain ownership. Studio coordinates Packer; `p.packer` remains independently consumable.
|
||||
- Returning raw exception messages to JavaFX turns implementation accidents into an unstable user-facing protocol. Expected failures need neutral results or diagnostics.
|
||||
- Marking the migration complete after compilation alone misses packaging, restoration, real JavaFX interaction, cancellation, and shutdown leaks.
|
||||
|
||||
## Takeaways
|
||||
|
||||
- The durable product boundary is the Studio service surface, not the current frontend technology.
|
||||
- Spring belongs in composition; Spring Modulith belongs in verification and documentation; neither belongs in the neutral API.
|
||||
- Gradle modules enforce physical isolation, while functional Core modules express ownership and allowed dependencies.
|
||||
- JavaFX is an equivalent adapter, not the owner of project, asset, build, runtime, or execution rules.
|
||||
- `Container` removal is a completion criterion, not an optional cleanup step.
|
||||
- A future agent module can now be added as another API consumer without revisiting this migration or coupling AI concerns to JavaFX.
|
||||
|
||||
## References
|
||||
|
||||
- Decision: `DEC-0059` — Separate Studio Core from JavaFX with Spring Boot non-web and Spring Modulith.
|
||||
- Plan: `PLN-0138` — Complete Studio Core and JavaFX Boundary Migration.
|
||||
- Studio architecture: `docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md`.
|
||||
- Studio specifications: `docs/specs/studio/README.md`.
|
||||
- Packer boundary: `docs/specs/packer/1. Domain and Artifact Boundary Specification.md`.
|
||||
- Packer integration: `docs/specs/packer/5. Diagnostics, Operations, and Studio Integration Specification.md`.
|
||||
+303
@@ -0,0 +1,303 @@
|
||||
---
|
||||
id: LSN-0076
|
||||
ticket: studio-headless-runtime-ai-first
|
||||
title: AI-first Studio Through Shared Authority and Headless Evidence
|
||||
created: 2026-09-29
|
||||
tags: [studio, runtime, headless, ai, mcp, automation]
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
Owner: **studio**, with runtime preparation in `../runtime` and language-owned PBS
|
||||
documentation/LSP integration. DSC-0068, accepted DEC-0060 and PLN-0139 delivered
|
||||
28 ordered steps: runtime (01–07), DEV/shared services (08–14), MCP (15–21), and
|
||||
real integration/acceptance (22–28). Those workflow identifiers are historical
|
||||
references; maintained contracts live in the specs linked below.
|
||||
|
||||
The original headless host was an in-process runtime API. Studio's human Debug
|
||||
was useful, but neither a public automation protocol nor a safe authority boundary
|
||||
for another editor. The goal was an external coding agent able to learn PBS,
|
||||
edit a game, build/run it, see its pixels and iterate while the developer watches.
|
||||
A complete gameplay library or embedded AI chat was not a prerequisite.
|
||||
|
||||
## Key Decisions
|
||||
|
||||
### Separate ownership, not parallel implementations
|
||||
|
||||
The external coding client owns conversation, model/provider, native file edits
|
||||
and budget. Studio owns project authority, build orchestration, process supervision
|
||||
and the shared observation model. Runtime owns execution and framebuffer semantics.
|
||||
The language frontend/SDK owns its references; the existing project LSP owns semantic
|
||||
queries. DEV and MCP consume the same neutral services.
|
||||
|
||||
```text
|
||||
External coding agent -- local MCP HTTP --> Studio API/Core <-- DEV (JavaFX)
|
||||
|
|
||||
compiler/packer + existing LSP
|
||||
|
|
||||
supervised runtime JSONL/stdio
|
||||
|
|
||||
canonical PNG + frame identity
|
||||
```
|
||||
|
||||
The configured installation provides `prometeu headless --stdio`. UTF-8 JSONL is
|
||||
versioned, bounded and protocol-only on stdout; logs belong on stderr. A process
|
||||
contains one session, with no implicit conflicting-work queue. Handshake establishes
|
||||
runtime/protocol versions, capabilities and effective limits. Human Debug keeps its
|
||||
own host/protocol. API/Core do not depend on JavaFX, Spring, HTTP/MCP or wire DTOs.
|
||||
|
||||
This avoids a provider adapter inside Studio and avoids automating the human debugger
|
||||
as the execution API. The deliberate cost is an explicit process boundary and
|
||||
reconfiguration of the external client after Studio restarts.
|
||||
|
||||
### Connection, authority and operation receipts are different identities
|
||||
|
||||
Authentication to loopback `/mcp` permits discovery/context/reference reads, not
|
||||
editing authority. A human grants a specific project in DEV; acquisition then
|
||||
returns a task identity. Manual Debug and agent work exclude each other in services,
|
||||
not only through disabled UI buttons. Waiting for acquisition already blocks
|
||||
conflicting manual work. A disconnected client does not release the project.
|
||||
|
||||
An operation's `clientRequestId` deduplicates a build or advance within the task.
|
||||
The same ID and parameters return the same operation; changing parameters fails.
|
||||
Lookup recovers a lost receipt without replaying frames. These records are in-memory,
|
||||
not a source journal or restart-recovery mechanism. Runtime wire correlation has
|
||||
its own `requestId`; neither identity is a substitute for valid task authority.
|
||||
|
||||
### Return is a cleanup barrier
|
||||
|
||||
The sequence is: invalidate task authority → stop managed work/processes → refresh
|
||||
open documents from saved files → enable manual control. A late result cannot publish
|
||||
a new capture or restore authority. Closing only DEV does not end the task; closing
|
||||
the project/app does. Reopening starts manual, never with recovered agent authority.
|
||||
|
||||
Compile errors, guest faults and runtime loss remain distinct outcomes. The first
|
||||
two permit correction within the same task. Runtime loss requires explicit session
|
||||
replacement, not replay. Forced cleanup reports infrastructure failure first; a
|
||||
later explicit reclaim may acknowledge success only after the process tree is dead.
|
||||
|
||||
The adversarial gate exposed a real app-teardown gap: UI closure alone did not own
|
||||
every project session. The project-session factory now tracks and closes sessions
|
||||
before dependent executors/LSP are destroyed, attempts other sessions after a failure,
|
||||
and rejects new opens once closure begins. Cancellation also tolerates a concurrent
|
||||
writer/timer shutdown so that it cannot bypass cleanup waiting.
|
||||
|
||||
### Direct edits require truthful boundaries
|
||||
|
||||
The agent edits actual project files. No worktree, merge/apply stage, code rollback,
|
||||
Git cleanliness gate or automatic commit is imposed. Studio offers save-all-and-grant
|
||||
for its dirty buffers and refreshes from disk on return. External unsaved buffers,
|
||||
concurrent native writes and Git discipline remain the developer's responsibility.
|
||||
Revocation cannot stop an external process from writing files directly; the developer
|
||||
must also stop that client. SDK/external libraries are readable, not editable by
|
||||
the game task. Read-only semantic refactoring scopes are enforced by the adapter.
|
||||
|
||||
### Pixels are evidence; metadata explains which evidence
|
||||
|
||||
MCP returns the lossless canonical PNG as native image content, plus session/build,
|
||||
logical frame, render FrameId, dimensions, stride and pixel format. DEV projects
|
||||
the same capture, with an explicit stale label after edits/rebuild/session changes.
|
||||
Logical frames and render frames are independent counters. Neither a hash nor a
|
||||
desktop screenshot replaces framebuffer pixels. Captures do not travel through
|
||||
temporary image files, and there is no continuous video requirement.
|
||||
|
||||
Default bounds are 600 frames/advance, 64 KiB/command, 32 MiB/response including
|
||||
image/envelope, 5 s handshake, 60 s call, and 5 s cancel/shutdown grace. Oversized
|
||||
requests fail rather than clamp. Deadlines supervise processes, not simulated time.
|
||||
|
||||
## Final Result and Acceptance Evidence
|
||||
|
||||
All 28 plan steps completed on the tested platform. Production exposes 17 MCP
|
||||
tools, live DEV configuration-copy, shared task authority, existing LSP/build,
|
||||
indexed offline language references and the supervised real Rust headless host.
|
||||
There is no production fake, embedded agent/chat, generic MCP editor/shell or
|
||||
provider-specific runtime behavior.
|
||||
|
||||
### Requirement-to-evidence map
|
||||
|
||||
| Requirement and steps | Evidence retained in code or acceptance record |
|
||||
| --- | --- |
|
||||
| Runtime contract, commands, limits, determinism; 01–07 | Runtime `automation_process.rs`, headless tests, published request/response schemas and packaged-installation smoke |
|
||||
| Neutral architecture; 08, 14, 15, 27 | Studio specs 9–11; architecture/Modulith tests, 17 passing cases in final full rerun |
|
||||
| Grant/revoke, symmetric locks, dirty-buffer handoff; 09–14 | `DefaultAutomationSessionTest`, Core execution/session tests, `DevDesktopTest`, `DevWorkspaceProjectionTest` |
|
||||
| HTTP authentication/Origin/restart and real config; 16, 21 | `LocalMcpServerTest`, `McpContractTest`, `McpConnectionGuideTest`; packaged restart rejects prior credential |
|
||||
| Manifest context, unknown languages/versions, indexed offline docs; 17–18 | `CompilerProjectKnowledgeTest`, `CompilerProjectLanguageCatalogTest`, `InstalledKnowledgeTest` |
|
||||
| Saved-source LSP and dependency navigation; 19 | `AutomationLspQueriesTest`, including `externalDependencyNavigationIsReadableButRefactoringIsReadOnly`; SDK limitation remains explicit below |
|
||||
| Task operations, lost receipts, deduplication; 20–21 | `McpTaskToolsTest`, Core operation tests; reconnect/duplicate advance in real desktop HTTP gate |
|
||||
| Real supervision/build/corrective iterations; 22–23 | `HeadlessProcessSessionTest`, `HeadlessInstalledRuntimeTest`, `HeadlessTaskIntegrationTest` |
|
||||
| Runtime/MCP/DEV pixel and identity parity; 24 | `HeadlessMcpDesktopTest` + independent `DirectHeadlessOracle`; compare every ImageView pixel, PNG bytes, metadata, reset/fresh-session/rebuild |
|
||||
| Interruption/cleanup/Debug regression; 25 | Nine real HTTP/runtime/DEV tests, including crash, forced shutdown, app close, stale-result rejection and real manual Debug; controlled document participant makes refresh barrier observable |
|
||||
| Real coding client and human confirmation; 26 | Codex CLI 0.158.0 run described below; developer confirmed DEV and manual Debug Play |
|
||||
| Full regression and distribution; 27 | Commands/counts below; installed references and two extracted-ZIP application lifecycle cycles |
|
||||
| Final propagation and handoff; 28 | This lesson, updated spec 11 delivery boundary, README troubleshooting, CLI validation and housekeeping |
|
||||
|
||||
### Real external-client example
|
||||
|
||||
The developer granted control in `../ai-first-smoke` and copied the descriptor.
|
||||
Codex CLI 0.158.0 used a fresh ephemeral session, only the configured Studio MCP,
|
||||
project-root workspace-write isolation and its approval-review mechanism. Default
|
||||
noninteractive approval policy initially blocked acquisition before any edit; the
|
||||
retry retained sandboxing and did not bypass the human grant. The configured default
|
||||
model was used; this record does not assert an independently verified model identity.
|
||||
Credentials stayed out of versioned files and reports.
|
||||
|
||||
The agent consulted language/SDK references, edited only `src/main.pbs`, queried
|
||||
LSP, built/packed and consumed native MCP image blocks. It changed the bundled
|
||||
16x16 orange rectangle to one-pixel/frame directional movement in a 480x270 frame,
|
||||
with no idle movement, opposing directions canceled before clamping, and unchanged
|
||||
colors. Both builds succeeded; diagnostics were empty; final guest fault was null.
|
||||
The 77 MCP calls included rejected/recovered calls and 13 native image blocks.
|
||||
|
||||
| Scenario | Logical frame / FrameId | Client-reported observed position |
|
||||
| --- | --- | --- |
|
||||
| Idle for 10 frames | 10 / 9 | (0,32) |
|
||||
| Right 20; down 20 | 30 / 29; 50 / 49 | (20,32); (20,52) |
|
||||
| Left 10; up 10 | 60 / 59; 70 / 69 | (10,52); (10,42) |
|
||||
| Horizontal then vertical opposites, 10 each | 80 / 79; 90 / 89 | (10,42), unchanged |
|
||||
| Right + down, 500 | 590 / 589 | (464,254), intact at bottom-right |
|
||||
| All directions, 10 | 600 / 599 | (464,254), unchanged at edge |
|
||||
| Left + up, 500; idle 10 | 1100 / 1099; 1110 / 1109 | (0,0), intact at top-left |
|
||||
|
||||
Build ID: `da441f65-479b-4099-8b86-fe48c7750e76`; runtime session:
|
||||
`aa089209ec22c9a07286e5b01e967a57`. Frame identities/statuses were checked in tool
|
||||
evidence; positions are the coding client's visual observations, not an invented
|
||||
independent pixel measurement. Step 24 separately supplies exhaustive pixel parity.
|
||||
Release returned MANUAL, no headless host remained, and game edits were preserved.
|
||||
The developer confirmed the DEV result and successfully played the game through
|
||||
normal Debug afterward. No game commit was made automatically.
|
||||
|
||||
### Builds, commands and scope
|
||||
|
||||
Studio executable code was `e6a83c94`; acceptance/troubleshooting documentation
|
||||
was committed as `4c3597a2`. Runtime is merged at `01fab56`, distribution 0.1.0,
|
||||
protocol 1.0. Native acceptance was **macOS ARM64 only**; no other coding client,
|
||||
operating system or native-installer matrix is claimed.
|
||||
|
||||
Studio final commands:
|
||||
|
||||
```sh
|
||||
./gradlew test build :prometeu-app:installDist --max-workers=2 --console=plain
|
||||
./gradlew test :prometeu-app:installedKnowledgeTest :prometeu-app:headlessProcessTest --rerun-tasks -PstudioRuntimeInstall=/absolute/path/to/runtime --max-workers=2 --console=plain
|
||||
```
|
||||
|
||||
The forced rerun executed all 91 tasks: normal suite **803 passed, 15 pre-existing
|
||||
disabled tests, zero failures/errors**; installed knowledge **1 passed**; real
|
||||
headless integration **4 passed**. The disabled compiler classes were
|
||||
`IRVMIntrinsicRegistryParityTest`, `BackendGateIIntegrationTest` and
|
||||
`MainProjectPipelineIntegrationTest`; none was disabled for this delivery.
|
||||
The earlier step 25 targeted run had **254 passing tests**, including 9 real
|
||||
HTTP/runtime/DEV and 4 DEV/Debug desktop tests. These overlap the full suite and
|
||||
must not be added together as unique tests.
|
||||
|
||||
The Studio ZIP was extracted outside the checkout. A test-only JavaFX probe loaded
|
||||
only its distribution JARs, delegated to the real App init/start/stop, used isolated
|
||||
preferences, and passed two shown-launcher/closed-listener cycles, credential
|
||||
renewal and old-token rejection. It did not operate the developer's open window.
|
||||
ZIP SHA-256: `256f80b25416c284dca58e5519fdde0be36e9a6a2a450cb58f9c453862188c8d`.
|
||||
|
||||
Runtime final commands (cwd `../runtime`, separate temporary Cargo target):
|
||||
|
||||
```sh
|
||||
cargo test --workspace --offline --quiet
|
||||
PROMETEU_PROTOCOL_TEST_INSTALL=/absolute/path/to/runtime cargo test -p prometeu-cli --offline --test automation_process -- --include-ignored
|
||||
cargo test -p prometeu-host-desktop-winit --offline --lib -- --ignored
|
||||
```
|
||||
|
||||
Workspace **678 passed**, with six opt-in tests ignored there; separate runs passed
|
||||
all **13** process/protocol cases including the installed package, and all **5**
|
||||
localhost Debug cases. Twelve process cases overlap the workspace result. The
|
||||
runtime package was built during preparatory delivery; the final gate reused and
|
||||
validated it rather than claiming a fresh distribution build. Installed headless
|
||||
SHA-256: `24b74712397545ddd7f745daded859c12d19102f81c5b51bf46c202fb8d6b65d`.
|
||||
|
||||
## Deferred Findings — Return Here After Implementation
|
||||
|
||||
The user requested deferred investigation, not silent removal of these findings.
|
||||
|
||||
| Finding | Owner and next investigation |
|
||||
| --- | --- |
|
||||
| `Input.pad()` SDK definition returns no location | Investigated on 2026-09-29: editorial lookup succeeds, but the physical-file policy filters the virtual SDK source. A separate chained-call editorial limitation was reproduced; see below. No runtime defect or fix is claimed. |
|
||||
| Oversized reference page produces generic `-32602` | Studio MCP: improve parameter-limit discoverability/error specificity; default pagination already works. |
|
||||
| Concurrent capture/fault/state may return BUSY | Studio MCP/Core: review concurrency guidance and clarity. Sequential calls work; do not weaken accepted exclusivity implicitly. |
|
||||
| Framebuffer dimensions were discovered from capture | Language/runtime documentation: improve discovery; this does not prove dimensions are absent from every reference. |
|
||||
| JDK 25/Kotlin target-24 fallback, JavaFX module/native-access/Unsafe warnings | Build/desktop tooling: review supported toolchain alignment and startup options separately. Passing tests do not erase warnings. |
|
||||
| UI automation helper required newer Node than 22.13.1 | Environment tooling, not Studio: upgrade only as separate authorized work; human DEV confirmation supplied acceptance. |
|
||||
| macOS ARM64 + Codex is the validated matrix | Future interoperability/platform testing; no uniform Grok/Windows/Linux promise. |
|
||||
|
||||
`NO_FRAME_AVAILABLE` before the first completed frame and client permission prompts
|
||||
are expected boundaries, not guest defects. The shutdown ownership/reclaim bugs
|
||||
found during step 25 are fixed and tested, not outstanding issues.
|
||||
|
||||
### Follow-up Investigation: SDK Navigation and Chained Calls
|
||||
|
||||
Owner: `compiler/pbs`, with propagation to compiler tooling contracts and Studio/LSP
|
||||
consumers. This diagnosis does not reopen the completed AI-first delivery or change
|
||||
its accepted requirements.
|
||||
|
||||
On 2026-09-29, a temporary Java probe exercised `CompilerLanguageServiceBridge`
|
||||
with a request-local PBS overlay on `test-projects/main/src/main.pbs`, using the
|
||||
application runtime classpath. It compared raw PBS editorial locations, exported
|
||||
frontend locations, final LSP definitions, and hover. No production source was
|
||||
changed. The comparison included imports from `@sdk:input` and `@sdk:gfx`, a local
|
||||
`helper()`, an explicitly typed `pad: InputPad`, and `button: InputButton`.
|
||||
|
||||
| Cursor target | Raw PBS locations | Frontend / LSP locations | Hover |
|
||||
| --- | --- | --- | --- |
|
||||
| Local `helper()` | 1 | 1 / 1 | Resolved |
|
||||
| `pad` in `Input.pad()` | 1 | 0 / 0 | `pad() -> InputPad` |
|
||||
| `left` in `pad.left()` | 1 | 0 / 0 | `left() -> InputButton` |
|
||||
| `down` in `button.down()` | 1 | 0 / 0 | `down() -> bool` |
|
||||
| `down` in `pad.left().down()` | 0 | 0 / 0 | No symbol information |
|
||||
| `left` and `down` in `Input.pad().left().down()` | 0 each | 0 / 0 each | No symbol information |
|
||||
| `clear` in `Gfx.clear(0)` | 1 | 0 / 0 | Resolved |
|
||||
|
||||
There are two separate causes:
|
||||
|
||||
1. **SDK destination policy, not failed lookup.** `InterfaceModuleLoader` registers
|
||||
SDK declarations under `/virtual/stdlib/sdk/input/main.pbs` (and the corresponding
|
||||
`gfx` path). The source handle can read the declaration text, but the path is not
|
||||
a physical file. `PBSFrontendLanguageService.toFrontendLocation` explicitly
|
||||
rejects it via `Files.isRegularFile`. The LSP bridge also reads destination text
|
||||
from disk; removing the frontend check alone would not deliver a usable target.
|
||||
This behavior follows Compiler Spec 23 §8.3 and the physical-file rule preserved
|
||||
in `LSN-0068`, and already has an explicit `Gfx.clear()` regression assertion in
|
||||
`CompilerLanguageServiceBridgeTest.definitionUsesEditorialLookupAndPhysicalStdlibFiles`.
|
||||
2. **Chained-call editorial receiver resolution.**
|
||||
`PbsEditorialSupportService.resolveReceiverTypeBeforeDot` uses
|
||||
`resolveChainSegmentsEndingAt`, which walks identifier/dot chains, not a call
|
||||
expression ending in `)`. Thus the receiver of `down` in `pad.left().down()` is
|
||||
unknown before destination mapping even begins. An explicitly typed intermediate
|
||||
`button` restores raw lookup and hover, while the virtual-source policy still
|
||||
prevents navigation. This is an editorial limitation, not evidence that executing
|
||||
the same expression fails.
|
||||
|
||||
Recommended follow-up, not an accepted implementation decision: address chained
|
||||
receiver resolution in the PBS editorial layer, and separately decide how to expose
|
||||
the exact SDK sources as navigable read-only files. A version-scoped physical source
|
||||
cache is compatible with the existing destination policy; virtual-document support
|
||||
would require an explicit contract revision. Neither approach should duplicate SDK
|
||||
semantics in MCP, permit SDK edits, or point to an unrelated developer checkout.
|
||||
|
||||
## Pitfalls and Takeaways
|
||||
|
||||
- A successful HTTP fixture is not an external-agent acceptance test. Prove both.
|
||||
- Tab disposal is not task disposal; application teardown must own hidden sessions.
|
||||
- Never unlock before process termination and document refresh acknowledge completion.
|
||||
- Do not replay an advance because a connection or receipt was lost.
|
||||
- A matching hash/blank canvas is weak visual evidence. Compare actual pixels,
|
||||
metadata and an input timeline that changes a known object.
|
||||
- An empty SDK definition is a language limitation, not permission to edit SDK code.
|
||||
- Packaging language knowledge is part of making an unfamiliar language usable by
|
||||
agents; adding another hidden language configuration is not.
|
||||
- Keep provider permissions separate from Studio authority. Neither bypasses the other.
|
||||
- Preserve explicit platform/client/test exclusions and deferred findings at closure.
|
||||
|
||||
## References
|
||||
|
||||
- Historical accepted decision DEC-0060 and completed plan PLN-0139, DSC-0068.
|
||||
- [Studio architecture](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md).
|
||||
- [DEV and authority contract](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md).
|
||||
- [MCP tools and knowledge contract](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
|
||||
- [Usage and troubleshooting](../../../README.md#external-coding-agents-mcp).
|
||||
- Runtime-owned contract: `../runtime/docs/specs/runtime/11a-headless-automation-protocol.md`.
|
||||
- Previous foundation: [Services must outlive UI](../DSC-0067-studio-core-javafx-decoupling/LSN-0075-studio-services-must-outlive-the-current-ui.md).
|
||||
+190
@@ -0,0 +1,190 @@
|
||||
---
|
||||
id: LSN-0078
|
||||
ticket: pbs-editorial-chains-sdk-navigation
|
||||
title: PBS chains and revision-bound external sources
|
||||
created: 2026-10-07
|
||||
tags: [compiler, compiler-pbs, lsp, studio, sdk, navigation]
|
||||
---
|
||||
|
||||
# PBS chains and revision-bound external sources
|
||||
|
||||
Domain owner: `compiler/pbs`. Propagation: `compiler/general` and `studio`.
|
||||
DEC-0062 and PLN-0141 were implemented together. This lesson preserves the outcome
|
||||
and validation after their workflow artifacts are removed.
|
||||
|
||||
## Original problem
|
||||
|
||||
Compilation supported expressions such as `Input.pad().left().down()`, but the
|
||||
editorial receiver scanner only understood identifier/dot sequences. Hover,
|
||||
definition, completion and signature help therefore lost the receiver after a call.
|
||||
Separately, definition discarded SDK/core handles because their bundled resources
|
||||
had virtual paths rather than regular files. SDK hover could succeed while F12
|
||||
returned nothing. These were independent defects requiring integrated acceptance.
|
||||
|
||||
A third regression fixture confirmed that source discovery skipped a dependency
|
||||
explicitly admitted under `.workspace`: the crawler tested every ancestor of the
|
||||
absolute path against ignored directory names.
|
||||
|
||||
## Consolidated decision
|
||||
|
||||
Keep language resolution in the frontend. Share receiver typing across the four
|
||||
project queries, using PBS parsing and flow semantics. Support known-return call
|
||||
chains, nested arguments, typed/inferred variables, parentheses and recoverable
|
||||
partial code. Unknown or ambiguous receivers stay unresolved. This changes no
|
||||
language rule, compiler/linker pipeline, ABI or runtime behavior.
|
||||
|
||||
Expose SDK/core and admitted dependency sources as read-only in-memory documents.
|
||||
SDK/core remain bundled, without editorial extraction. Libraries remain their
|
||||
existing physical sources; a library inside the project directory is still an
|
||||
external owner. Dependency installation, download, cache management and its future
|
||||
Studio UI remain DSC-0072 / AGD-0074.
|
||||
|
||||
Each external document binds content, byte ranges and frontend semantic context to
|
||||
the same analyzed revision. The host emits an opaque project-session URI; the
|
||||
content digest is not an SDK version. VS Code and MCP share that source and
|
||||
semantic authority. They do not implement another PBS resolver.
|
||||
|
||||
All proposals touching external sources are refused as a whole. Normal project
|
||||
editing remains available. References, workspace symbols, links and hierarchies
|
||||
retain their earlier physical scopes. External definition does not expand them.
|
||||
|
||||
## Final implementation
|
||||
|
||||
1. `PbsParser.parseExpression` exposes the existing expression grammar for complete
|
||||
receiver fragments. `PbsEditorialSupportService` locates a fragment boundary and
|
||||
delegates its type to `PbsFlowExpressionAnalyzer`. The same path serves all four
|
||||
project queries, including trailing dots and unfinished arguments.
|
||||
2. `SourceCrawler` tests ignored descendants relative to the explicitly admitted
|
||||
traversal root. It does not admit incidental `.workspace` trees as project code.
|
||||
3. `FrontendSourceDocument` carries exact text, origin, presentation metadata,
|
||||
read-only ownership and opaque frontend context. Definition locations optionally
|
||||
carry that source; invalid path/range combinations are rejected. PBS preserves
|
||||
source ownership separately from `SourceKind.PROJECT`; external ownership wins
|
||||
when paths overlap. Existing default-empty frontend capabilities remain valid.
|
||||
4. `ExternalSourceRegistry` belongs to `TcpLspServerHost`, not the shared compiler
|
||||
bridge. It retains source/context together, with separate consumer grants,
|
||||
acknowledged uses and reconnect validation. Repeated uses in one semantic
|
||||
snapshot coalesce. Another reader's release cannot invalidate a retained source.
|
||||
5. LSP negotiates external support and emits `prometeu-source:` destinations only
|
||||
to supporting clients. External read, retain, release and revalidate requests
|
||||
share server-issued consumer identity. The bridge uses retained content for
|
||||
positions, hover, definition and highlighting. Unsupported consumers keep local
|
||||
physical navigation without receiving unusable external targets.
|
||||
6. VS Code registers a `TextDocumentContentProvider`, assigns PBS language, routes
|
||||
hover/F12/highlighting and prevents external edit commands. Disconnect preserves
|
||||
displayed text but disables queries until validation; the status bar explains
|
||||
unavailable external documents. Changed revisions require fresh navigation.
|
||||
7. MCP adds `readExternalSource` to `studio_language_query`. Task-owned consumers
|
||||
survive short-lived sockets, acknowledge returned definitions, revalidate before
|
||||
reuse, and release on task return/cancellation. Cross-task/project replay is
|
||||
refused. Failed navigation releases unacknowledged results; failed responses
|
||||
roll back newly retained sources. No human editor is needed.
|
||||
|
||||
### Example
|
||||
|
||||
A project definition on `Gfx.clear` opens the bundled SDK source. Hover/F12 on its
|
||||
`LowGfx.clear` call reaches the host declaration. F12 on `Color` reaches the core
|
||||
resource. The same operations work through MCP by reading the returned external
|
||||
URI and querying positions in that text. A dependency under `.workspace/repos/lib`
|
||||
uses the same presentation and write protection.
|
||||
|
||||
If that library changes on disk while a document is open, the retained document's
|
||||
hover/F12 still use its old AST and old text. After disconnect, revalidation against
|
||||
the changed source fails; clients must navigate again for new content and ranges.
|
||||
|
||||
## Validation evidence
|
||||
|
||||
Failures were reproduced before production changes: all four chain assertions
|
||||
failed, both crawler/admitted-FileTable fixtures failed, and the old bridge test
|
||||
confirmed SDK hover with empty bundled definition alongside working local F12.
|
||||
|
||||
Final module results (2026-10-07):
|
||||
|
||||
| Suite | Executed successfully | Skipped |
|
||||
| --- | ---: | ---: |
|
||||
| PBS frontend | 245 | 0 |
|
||||
| Frontend API | 27 | 0 |
|
||||
| Build pipeline | 141 | 15 existing disabled cases |
|
||||
| LSP | 38 | 1 opt-in development-host case in the ordinary run |
|
||||
| App: AutomationLspQueries, McpContract, CompilerProjectKnowledge | 24 | 0 |
|
||||
| Core: TaskLanguageQueries | 1 | 0 |
|
||||
| Actual VS Code Development Host, run separately | 1 | 0 |
|
||||
|
||||
All 477 executed JUnit cases passed across these scoped runs. TypeScript compilation,
|
||||
`discussion validate` and `git diff --check` also passed. The disabled main-project
|
||||
pipeline integration test was not treated as evidence.
|
||||
|
||||
The actual VS Code host exercised typing refusal, declaration selection, semantic
|
||||
highlighting, hover, continued F12, a physical `.workspace` library with Unicode/CRLF,
|
||||
reconnection and normal project edits. Provider tests exercised cached disconnected
|
||||
text, matching/changed revisions, close and canceled reads. MCP tests used the actual
|
||||
TCP server independently of VS Code, including task return, aliases, mixed rename
|
||||
refusal and changed revisions. Registry tests covered multiple readers, distinct
|
||||
projects, last release, task/session lifetime and canceled/unopened navigation.
|
||||
|
||||
The source-snapshot regression changed a dependency on disk after navigation and
|
||||
verified that old hover/F12 still used the original declaration and semantic context.
|
||||
Dedicated write-boundary checks refuse external didChange/didSave, formatting,
|
||||
rename, prepareRename and code actions, including unnegotiated identities.
|
||||
|
||||
Commands are preserved in the plan-derived development instructions and test owners:
|
||||
|
||||
```sh
|
||||
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-frontend-api:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-lsp:prometeu-lsp-v1:test --console=plain
|
||||
./gradlew :prometeu-app:test --tests '*AutomationLspQueriesTest' --tests '*McpContractTest' --tests '*CompilerProjectKnowledgeTest' :prometeu-studio-core:test --tests '*TaskLanguageQueriesTest' --console=plain
|
||||
npm --prefix tools/vscode-extension run compile
|
||||
PROMETEU_VSCODE_DEV_TEST=1 ./gradlew :prometeu-lsp:prometeu-lsp-v1:test --tests '*ExternalSourceDevelopmentHostTest' --console=plain
|
||||
```
|
||||
|
||||
Packaged Studio was excluded from the initial acceptance above. On 2026-10-07,
|
||||
the user explicitly requested this additional validation. The existing
|
||||
`InstalledKnowledgeTest` now launches its isolated probe with the Java runtime
|
||||
from `installDist`, using distribution JARs plus test probe classes, with its working
|
||||
directory and projects outside the checkout. It asserts that the frontend and LSP
|
||||
bridge load from JARs and that SDK/core resources have `jar:` URLs.
|
||||
|
||||
The packaged gate passed:
|
||||
|
||||
```sh
|
||||
./gradlew :prometeu-app:installedKnowledgeTest --console=plain
|
||||
```
|
||||
|
||||
Besides reading the installed documentation and compiling its example, it verifies
|
||||
project-to-SDK, SDK-to-host and SDK-to-core definitions, matching declaration lines,
|
||||
exact SDK/core text against JAR bytes, read-only bundled descriptors, SDK hover and
|
||||
semantic tokens, and source revalidation after reconnect. The project contains only
|
||||
its original manifest and sources after navigation: no bundled source extraction.
|
||||
The first run caught an incorrect cursor position in the test fixture; calculating
|
||||
the position from the source fragment fixed the fixture. No production fix was needed.
|
||||
This is a packaged resource/backend gate; it does not launch the Studio desktop or
|
||||
repeat the VS Code UI checks against the installed process.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
- Compiler success does not prove editorial resolution. Query the four surfaces.
|
||||
- A physical path under the project root is not proof of editable ownership.
|
||||
- Retaining text alone is insufficient: fresh analysis can attach different meaning
|
||||
to old positions. Keep the corresponding semantic context.
|
||||
- MCP socket closure is not task completion. Retain consumer state independently.
|
||||
- VS Code normalizes escaped URI components. The first actual-host run exposed
|
||||
mismatched identities from escaped slashes; emitted URIs now use unreserved
|
||||
characters and keep names separately in metadata.
|
||||
- `TextEditor.edit` is an extension programming API, not user typing. The real UI
|
||||
gate uses the `type` command; backend edit proposals are checked independently.
|
||||
If another extension changes a virtual buffer, the provider refuses queries whose
|
||||
text differs from the retained revision.
|
||||
- VS Code MarkdownString properties need direct inspection; JSON serialization can
|
||||
show `{}` even when hover contains valid content.
|
||||
- Enriching a shared definition DTO can accidentally expand references. Keep each
|
||||
surface's admission policy explicit; the compatibility suite caught this coupling.
|
||||
- Do not silently drop external edits from a mixed proposal. Refuse the operation.
|
||||
|
||||
## References
|
||||
|
||||
- [Compiler Spec 23](../../../docs/specs/compiler/23.%20Compiler%20Pipeline%20Entry%20Points%20Specification.md).
|
||||
- [PBS Spec 5](../../../docs/specs/compiler-languages/pbs/5.%20Manifest,%20Stdlib,%20and%20SDK%20Resolution%20Specification.md).
|
||||
- [PBS Spec 8](../../../docs/specs/compiler-languages/pbs/8.%20Stdlib%20Environment%20Packaging%20and%20Loading%20Specification.md).
|
||||
- [Studio Spec 11](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
|
||||
- [Extension guide](../../../tools/vscode-extension/README.md).
|
||||
- [Historical physical-only policy, LSN-0068](../DSC-0039-pbs-lsp-go-to-definition/LSN-0068-pbs-go-to-definition-uses-editorial-lookup-and-physical-files.md).
|
||||
- DEC-0031 / LSN-0049 still govern removal of the old embedded editor/VFS; none was restored.
|
||||
+178
@@ -0,0 +1,178 @@
|
||||
---
|
||||
id: LSN-0077
|
||||
ticket: studio-persistent-mcp-connector
|
||||
title: Integrated Studio MCP Through Stable Setup and Ephemeral Access
|
||||
created: 2026-09-29
|
||||
tags: [studio, mcp, connection, lifecycle, installation]
|
||||
---
|
||||
|
||||
# Integrated Studio MCP: Stable Setup, Ephemeral Access
|
||||
|
||||
Owner: **studio**, MCP integration, project lifecycle and local installation.
|
||||
DSC-0070 / DEC-0061 / PLN-0140 delivered this integration, including the user's
|
||||
accepted revision for automatic preparation on project open. These identifiers
|
||||
are historical references; maintained contracts are linked below. Automated
|
||||
validation and the user's confirmation of final manual acceptance are recorded
|
||||
separately.
|
||||
|
||||
## Original Problem
|
||||
|
||||
The original integration exposed a new HTTP port and bearer token on each Studio
|
||||
restart. Developers had to configure their coding client repeatedly. Ad hoc
|
||||
transport scripts then duplicated initialization, authentication and result
|
||||
handling, obscuring native MCP tools and images.
|
||||
|
||||
The durable solution separates three lifetimes: installation, connection and
|
||||
project authority. A stable client registration must not imply durable permission
|
||||
to edit, and a transport interruption must not replay work.
|
||||
|
||||
## Consolidated Design
|
||||
|
||||
The distributed Studio artifact supports two modes. Normal invocation opens the
|
||||
desktop. `StudioLauncher mcp --project <absolute-root>` runs a stdio connector
|
||||
without JavaFX, Spring desktop composition, LSP or a second HTTP server. The coding
|
||||
client owns that process; developers do not launch it manually for each project.
|
||||
|
||||
The desktop starts one shared loopback HTTP server. Opening a project prepares its
|
||||
enabled integration automatically through the same neutral port used by scaffold
|
||||
and the explicit DEV retry. An explicitly disabled integration remains disabled.
|
||||
Preparation failure is visible in DEV and does not make the project unusable.
|
||||
Opening a project does not publish credentials or grant control.
|
||||
|
||||
The macOS installation has a stable `current` reference pointing to a validated,
|
||||
versioned distribution containing dependency JARs and Java. The native client
|
||||
invokes the absolute installed Java path with a classpath/main/project argument
|
||||
array. Updating the installation changes the reference, not every project's client
|
||||
entry. Old versions remain available for rollback and existing processes.
|
||||
|
||||
The tradeoff is an additional lightweight JVM for stdio transport, plus managed
|
||||
installation lifecycle. In return, there are no per-project launchers or copied
|
||||
connector binaries, and execution does not depend on an interactive shell PATH.
|
||||
|
||||
## Configuration and Authority Have Different Owners
|
||||
|
||||
| Surface | Lifetime and responsibility |
|
||||
| --- | --- |
|
||||
| `.studio/setup.json` | Neutral integration intent; preserves runtime/editor settings |
|
||||
| `.codex/config.toml` | Local installed command, arguments and canonical project binding; no transient credentials |
|
||||
| `.studio/mcp/connection.json` | Protected, temporary discovery data published by human grant |
|
||||
| Core grant/task/operation records | In-memory authority and receipts; never restored from configuration |
|
||||
|
||||
Preparation edits only a managed client entry, validates the result with a TOML
|
||||
parser and preserves unrelated settings/comments. User-owned, edited or tracked
|
||||
entries cause explicit conflicts. Initial client trust or reload may still be
|
||||
required; Studio does not change approval policy.
|
||||
|
||||
Human grant publishes a fresh credential scoped to one canonical project root.
|
||||
HTTP sessions are bound to that credential, and the server enforces scope even
|
||||
for knowledge reads. Restricting only the connector would leave a direct HTTP
|
||||
bypass. Acquisition still creates a separate task identity through shared Core
|
||||
services.
|
||||
|
||||
## Publication Is Part of the Grant Transaction
|
||||
|
||||
Publication cannot be a best-effort snapshot listener. The neutral lifecycle port
|
||||
coordinates preparation, publication, activation, invalidation and cleanup:
|
||||
|
||||
1. Save and verify documents under the existing handoff rules.
|
||||
2. Acquire the OS publication lock and write a private temporary descriptor outside
|
||||
the authority monitor.
|
||||
3. Atomically publish, then activate under the grant generation fence. Acquisition
|
||||
remains unavailable until the transition completes.
|
||||
4. Abort failed or superseded grants and remove their provisional access.
|
||||
5. Revoke credentials before asynchronous work cleanup; remove only the owned
|
||||
publication and release its lock.
|
||||
|
||||
The lock file's inode is retained. Deleting it could let another process lock a
|
||||
new inode while the first owner still holds the old one. The OS releases the lock
|
||||
after a crash, allowing safe replacement of stale discovery data. Directories are
|
||||
0700 and secret-bearing files 0600; Git exclusion alone is not access control.
|
||||
Cleanup checks publication ownership so an old callback cannot delete newer data.
|
||||
File cleanup failure must not prevent runtime cancellation.
|
||||
|
||||
## Reconnect Without Replaying Intent
|
||||
|
||||
The stdio connector initializes and lists its packaged catalog before Studio or a
|
||||
grant is available. It verifies live instance, root and catalog identity before
|
||||
forwarding. Calls preserve structured results and native image blocks; response
|
||||
limits are separate from the smaller request limit.
|
||||
|
||||
Discovery and ping may be retried. Build and frame advancement must not be
|
||||
resubmitted automatically after a lost response. Within the same authorized task,
|
||||
recover by operationId/clientRequestId lookup. After restart, old in-memory
|
||||
receipts are unavailable: report an unknown outcome and require a fresh grant/task
|
||||
and an explicit next intent. Connection liveness and working/manual authority are
|
||||
separate DEV states.
|
||||
|
||||
## Implementation Findings
|
||||
|
||||
- JSON-RPC numeric IDs must be compared by numeric value. Jackson can represent
|
||||
the same wire number with different integer node types.
|
||||
- Grant publication is asynchronous. Tests must await the transition without
|
||||
blocking the JavaFX thread or assuming a button callback completes filesystem IO.
|
||||
- `jlink` can generate read-only license files. Normalize staged runtime write
|
||||
permissions so subsequent Gradle installation updates can replace them.
|
||||
- An IntelliJ desktop can run from classes without a managed installation. A
|
||||
generic “preparation incomplete” message hid this prerequisite. The specific
|
||||
diagnostic now points to `:prometeu-app:stageStudioInstallation` and the optional
|
||||
`studio.installationRoot` VM setting.
|
||||
- Preparation belongs to project opening, not only creation or a manual DEV
|
||||
button. Otherwise existing projects retain unnecessary onboarding friction.
|
||||
- Capture data larger than 1 MiB must not inherit the request-body cap. The
|
||||
connector bounds response size and body-read time separately.
|
||||
|
||||
## Verified Results and Acceptance
|
||||
|
||||
The full implementation gate recorded 839 passing tests, 15 existing skips and no
|
||||
failures, including installation, desktop and real runtime gates. The later
|
||||
missing-installation diagnostic and automatic-open revision passed their targeted
|
||||
preparation, Core, app, architecture and runtime suites. Installation staging,
|
||||
`git diff --check` and `discussion validate` also passed.
|
||||
|
||||
Process tests cover cold initialization, later grant and restart in one connector;
|
||||
large images; root/session scope; stale identity/catalog rejection; lost build
|
||||
response with execution count remaining one; unknown old-task receipts; concurrent
|
||||
publisher JVMs and crash recovery; protected files; grant/close races; TOML
|
||||
preservation; and stable installed Java across updates.
|
||||
|
||||
On 2026-09-29, after being asked specifically about the outstanding manual gates,
|
||||
the user confirmed that all were finished. This closes the native Codex
|
||||
acquire/build/image/release and reconnect-after-restart cycle, installation update
|
||||
and graphical-client launch, and IntelliJ debugger attachment. The provenance of
|
||||
this final evidence is **user-reported acceptance**, not an additional automated
|
||||
run or an independently observed transcript. The implementation's automated
|
||||
environment was macOS ARM64 with bundled Corretto 21.0.4 and Codex CLI 0.158.0
|
||||
installed; that version inspection alone was not treated as native-client proof.
|
||||
|
||||
The prior HTTP-only acceptance from DSC-0068 was not substituted for these gates.
|
||||
The first accepted integration remains Codex on macOS; other clients/platforms
|
||||
and the embedded terminal are outside this delivery.
|
||||
|
||||
## Operational Example
|
||||
|
||||
Open the project in Studio. Its enabled client integration is prepared without a
|
||||
separate per-project Run. Start the coding client in that project and satisfy its
|
||||
initial trust/reload requirements. Grant access in DEV, acquire the task through
|
||||
native tools, edit/validate, then release. After Studio restarts, grant again;
|
||||
keep the client configuration unchanged. An old task is never restored.
|
||||
|
||||
For an IntelliJ desktop, run `p.studio.app.StudioLauncher` with the
|
||||
`prometeu-app` classpath and Java 21. If a managed installation is missing, stage
|
||||
it once with `./gradlew :prometeu-app:stageStudioInstallation`. An isolated
|
||||
installation uses the `studio.installationRoot` desktop VM property. The MCP
|
||||
stdio process remains client-owned; attach Remote JVM Debug to that process using
|
||||
an explicit development-only loopback JDWP option. Do not configure the desktop
|
||||
Run itself with `mcp --project` arguments.
|
||||
|
||||
## References
|
||||
|
||||
- DEC-0061 and PLN-0140: historical source decision and completed implementation
|
||||
plan for DSC-0070; removed from active workflow during housekeeping.
|
||||
- [Studio shell and project creation](../../../docs/specs/studio/1.%20Studio%20Shell%20and%20Workspace%20Layout%20Specification.md).
|
||||
- [Project-local state and discovery](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md).
|
||||
- [Core and adapter architecture](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md).
|
||||
- [DEV and authority](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md).
|
||||
- [MCP contract and acceptance boundary](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
|
||||
- [Setup and IntelliJ debugging](../../../README.md).
|
||||
- [DSC-0068 baseline lesson](../DSC-0068-studio-headless-runtime-ai-first/LSN-0076-ai-first-studio-through-shared-authority-and-headless-evidence.md).
|
||||
- DSC-0071: the separate embedded-terminal discussion; unchanged by this work.
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
---
|
||||
id: LSN-0079
|
||||
ticket: compiler-pbx-registry-conformance
|
||||
title: Typed common IR through production PBX admission
|
||||
created: 2026-10-14
|
||||
tags: [runtime-integration]
|
||||
---
|
||||
|
||||
## Original problem and ownership
|
||||
|
||||
Owner: compiler/general; interfaces: compiler/pbs and studio.
|
||||
|
||||
The old producer carried parameter/result slot counts without complete semantic
|
||||
types and emitted a retired PBX function layout. A writer-only repair could not
|
||||
recover signatures, distinguish nominal identities or describe closures and
|
||||
trait implementations. The fix had to cross the entire common producer chain.
|
||||
|
||||
This lesson consolidates AGD-0076, accepted DEC-0063 and completed PLN-0142
|
||||
(DSC-0074). Those workflow artifacts were removed by housekeeping after their
|
||||
normative content and evidence were propagated. The active integration umbrella
|
||||
is [AGD75](../../workflow/agendas/AGD-0075-studio-runtime-readiness.md).
|
||||
|
||||
## Consolidated decisions
|
||||
|
||||
Use stable declaration references before assigning deterministic dense image
|
||||
IDs. Preserve Struct/Trait nominal identity; canonicalize Builtin imports,
|
||||
Array elements and Fn signatures. Names are descriptive, not nominal keys.
|
||||
Parameters, results, captures, implementations and lifecycle roles are explicit
|
||||
common values, preserved through IRVM, optimization and emission.
|
||||
|
||||
The common IR remains serializable by design, but a concrete codec was
|
||||
explicitly deferred. Complete representation does not require selecting a
|
||||
transport format. References avoid recursive Java object graphs and the public
|
||||
contract audit rejects mutable or frontend-specific shapes.
|
||||
|
||||
PBS is one frontend. Optional and Result already belong to PBS's normative
|
||||
language contract and have parser/semantic implementations. Defects in their
|
||||
executable lowering do not justify new backend categories or rejection rules.
|
||||
Their implementation and carrier choices remain frontend-owned. The user
|
||||
explicitly scoped consumer migration to subsequent tickets and a single AGD75
|
||||
integrated delivery. No PBS semantics were added to this backend change.
|
||||
|
||||
## Final implementation
|
||||
|
||||
- IRRegistry and FunctionMetadata represent all five type categories, ordered
|
||||
signatures/captures, roles and implementations. Aggregation remaps callable
|
||||
references while preserving stable type identity.
|
||||
- LinkedRegistry canonicalizes imports/structural declarations deterministically
|
||||
with an iterative dependency traversal. Nominal anchors permit recursion;
|
||||
purely structural cycles reject.
|
||||
- Lowering derives widths from semantic signatures, links typed operands and
|
||||
remaps implementation targets. IRVM coherence and optimization preserve the
|
||||
Registry and function metadata.
|
||||
- The PBX writer emits the 32-byte header and all eight mandatory sections,
|
||||
optional debug, strict UTF-8, exact function records and explicit empty capture
|
||||
environments. Width caches are not serialized. Constant deduplication now
|
||||
relocates PUSH_CONST indices rather than silently changing their meanings.
|
||||
- Local verification decodes all function ranges, validates references and
|
||||
operand categories, forbids retired/raw opcodes and analyzes reachable stack
|
||||
and type facts to convergence. Conflicts become Unknown; exact semantic groups
|
||||
retain provenance when available. Unknown remains subject to runtime checks.
|
||||
- Production loading remains authoritative for native identity/capability/ABI,
|
||||
runtime budgets and executable admission.
|
||||
- Studio previously discarded error.details when a headless response rejected
|
||||
boot. AutomationFailure now preserves the entire runtime error envelope,
|
||||
including initialization, binding and resource details, through MCP output.
|
||||
|
||||
## Examples and pitfalls
|
||||
|
||||
A `vec2 -> vec2` function has logical arity one/one and derived slot widths two/two.
|
||||
The function record writes the two TypeId lists, not the numbers two/two. A test
|
||||
compares that record with independent fixed bytes from the runtime contract.
|
||||
|
||||
A capturing body is not a direct-call target. MAKE_CLOSURE names the body and
|
||||
expected Fn type, consumes its explicit capture groups and produces a callable.
|
||||
CALL_CLOSURE consumes that callable after the explicit arguments. The synthetic
|
||||
frontend test proves this path without PBS source, SDK or language ASTs.
|
||||
|
||||
Jumps contain absolute offsets from the current function start. They are not
|
||||
relative to the next PC. A taken jump to function end is a return boundary;
|
||||
ordinary fallthrough is invalid. These details were checked against the actual
|
||||
runtime verifier, not inferred from older emitter behavior.
|
||||
|
||||
Do not derive type identity from slot width, spelling or display names. Do not
|
||||
claim a self-round-trip proves external conformance. Do not treat parser tests
|
||||
as execution evidence or a load-only argument-taking entry as a boot test.
|
||||
|
||||
Initialization diagnostics have null outer executed PC. A verifier PC remains
|
||||
nested in initError.load.pc; file offsets remain offsets. Preserve the original
|
||||
JSON structure rather than flattening it into human-readable messages.
|
||||
|
||||
## Qualification evidence
|
||||
|
||||
Runtime: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`.
|
||||
Platform: macOS 27.0.1 arm64. Rust harness uses the runtime Cargo.lock, default
|
||||
load limits and NONE capabilities except the positive native case (SYSTEM).
|
||||
Resource-negative cases explicitly lower Types, TemporaryBytes or Work.
|
||||
Runtime checkout remained unchanged.
|
||||
|
||||
| Gate | Result |
|
||||
| --- | --- |
|
||||
| Build-pipeline suite | 178 tests: 163 passed, 15 skipped, no failures |
|
||||
| Frontend-api suite | 28 passed |
|
||||
| PBS suite | 245 passed; not a claim of complete executable migration |
|
||||
| Headless process suite | 9 passed, including six observed runtime fault payloads |
|
||||
| Architecture suite | 17 passed |
|
||||
| Independent binary oracle | Exact 194-byte minimal image and fixed vec2 function bytes |
|
||||
| Production loader positives | 12 admitted images, including native binding |
|
||||
| Genuine execution | 11 programs: direct/common path, closures/captures, trait, Array/Dynamic, joins, roles, intrinsic and native; vec2 signature is load-only |
|
||||
| Production negative corpus | 32 rejected malformed/binding/code/resource fixtures |
|
||||
| Workflow and patch integrity | discussion validate and git diff --check passed |
|
||||
|
||||
The 15 skipped tests are older conditional integration adapters. The dedicated
|
||||
production harness above ran explicitly; their skip state is not substituted
|
||||
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
|
||||
creates its Cargo build outside the runtime checkout and saves generated PBX and
|
||||
observed JSON under the build-pipeline build directory.
|
||||
|
||||
## Remaining integration work
|
||||
|
||||
The runtime LoadReason enum has four values missing from the published headless
|
||||
schema: LifecycleRole, LifecycleSignature, DuplicateLifecycleRole and
|
||||
NonFiniteValue. The corpus observes the first and last. Both payloads fail the
|
||||
original schema solely because of the missing enum value. The harness explicitly
|
||||
reports this upstream gap, validates the original payload with that single enum
|
||||
addition, and leaves the payload unchanged. It does not claim those two cases
|
||||
conform to the unmodified schema. Runtime must correct the schema under AGD75.
|
||||
|
||||
PBS typed producer migration, Optional/Result executable lowering, catalogue
|
||||
alignment, installed runtime delivery, hook selection, memcard gating and
|
||||
persistence remain with their consumer tickets. The common schema and synthetic
|
||||
producer work without those features. There is no legacy PBX fallback and no
|
||||
slot-to-type inference to conceal an incomplete handoff.
|
||||
|
||||
## References
|
||||
|
||||
- [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 sources: registry_v0.rs, program_image.rs, registry_verifier, and
|
||||
devtools/headless-protocol/response.schema.json at the revision above.
|
||||
+182
@@ -0,0 +1,182 @@
|
||||
---
|
||||
id: LSN-0080
|
||||
ticket: compiler-runtime-catalog-parity
|
||||
title: Manual runtime catalog port and independent conformance
|
||||
created: 2026-10-15
|
||||
tags: [runtime-integration]
|
||||
---
|
||||
|
||||
## Original problem and ownership
|
||||
|
||||
Owner: `compiler/general`; consumers: `compiler/pbs`, `vm-arch` and `studio`.
|
||||
This lesson consolidates AGD-0077, accepted DEC-0064 and completed PLN-0143
|
||||
(DSC-0075), including the user's explicit acceptance revision on 2026-10-15.
|
||||
Their workflow files were removed after propagation and CLI housekeeping.
|
||||
|
||||
The runtime published 105 intrinsics with 18 fields and 15 builtin constants
|
||||
occupying 16 slots. Studio had 42 intrinsic records with 12 fields, no constant
|
||||
mirror and a disabled parity test. Copying the CSV could not update the compiler's
|
||||
manual ABI representation, reject retired endpoints or preserve new effects.
|
||||
Against the previous Studio catalog, the port added 82 identities, removed 19
|
||||
and updated 23 retained identities.
|
||||
|
||||
## Consolidated decision
|
||||
|
||||
The runtime owns identities, layouts, constant values, effects and costs.
|
||||
Studio imports both CSVs unchanged at an explicit target revision, inventories
|
||||
the differences, then manually ports the compiler representation and consumers.
|
||||
`IRVMIntrinsicDefinition` represents the runtime supported by this compiler
|
||||
version. Normal compilation uses local versioned code/resources; it neither
|
||||
queries the latest runtime nor depends on a sibling checkout.
|
||||
|
||||
Manual maintenance keeps compiler adaptations explicit and reviewable, at the
|
||||
cost of maintaining a port. Active comparisons against independently exported
|
||||
CSV data detect drift. Enum generation, a shared implementation library and
|
||||
moving the backend were not required. An explicit provider check uses runtime
|
||||
source/tests to establish behavior and export provenance. A different runtime
|
||||
commit is not itself proof of incompatibility; revision and hashes identify
|
||||
the evidence target without introducing version negotiation.
|
||||
|
||||
Read dispatch, verifier and execution tests as well as CSVs. CSV fields describe
|
||||
the published shape but cannot explain all null handling, native-reference
|
||||
validation, traps or charging behavior.
|
||||
|
||||
## Final implementation
|
||||
|
||||
- `IRVMIntrinsicDefinition` and `IRVMIntrinsicRegistry` cover all 105 entries and
|
||||
18 published fields. Exact name/version resolution and ID lookup reject
|
||||
retired identities; old IDs are not compatibility aliases.
|
||||
- `IRVMBuiltinConstantDefinition` independently groups all 15 constants by
|
||||
target/name/version, preserving ordered slots and exact values/bits. Its
|
||||
materialization supplies common bytecode constant values.
|
||||
- Lowering checks caller counts against the selected definition. IRVM validation,
|
||||
emission and bytecode precheck reject unknown IDs and inconsistent signature
|
||||
caches, including unknown IDs in unreachable code. Module-only IRVM emission
|
||||
derives intrinsic signatures from the same target definitions.
|
||||
- Explicit carrier mappings distinguish Int32, Int64, Float, Bool, String,
|
||||
color and Random. Unsupported tokens fail. Static facts do not claim to prove
|
||||
native handle identity or session validity; the runtime remains authoritative.
|
||||
- Compiler and PBS SDK JARs package both CSVs and provenance from checked-in
|
||||
mirrors at `runtime-catalog/compiler/` and `runtime-catalog/pbs-sdk/`.
|
||||
Installed-resource tests validate actual JAR bytes/hashes outside the checkout.
|
||||
- Active parity tests, synthetic common-IR behavior and the production runtime
|
||||
harness provide separate evidence. No new PBS facade or numeric/random
|
||||
algorithm was implemented in this common backend work.
|
||||
|
||||
## Examples and pitfalls
|
||||
|
||||
**A retained name can have a different ABI.** `input.touch.x/y` moved to
|
||||
`0x2134/0x2135`, lost their receivers and return Int64. Resolving the name alone
|
||||
is insufficient; stale caller counts must fail. Input metadata coverage does
|
||||
not mean the existing PBS input syntax already lowers to these direct queries.
|
||||
|
||||
**Constants are not generic zero-argument intrinsics.** `mathf.pi` and
|
||||
`mathf.tau` materialize Float bits `0x400921FB54442D18` and
|
||||
`0x401921FB54442D18`. `vec2.zero` materializes two Float slots and has no
|
||||
intrinsic ID. Some color names independently have both mechanisms, which does
|
||||
not establish a rule for other constants. Pool deduplication may share the
|
||||
zero value but must preserve both emitted vec2 components.
|
||||
|
||||
**Determinism is not purity.** All four Random intrinsics mutate guest state;
|
||||
only `random.new` allocates. The tested common program aliases one generator,
|
||||
discards a `next` result, then mixes `nextf`, `range` and `next`. Removing the
|
||||
discarded call changes the sequence. Optimized and unoptimized executions
|
||||
matched the independent seed-42 vector and each used 100 cycles/20 steps.
|
||||
`random.range` preserves base cost 4, cost 8 per attempt and limit 64. The VM
|
||||
performs charging; storing metadata does not create a second Java scheduler.
|
||||
|
||||
**Static and dispatch rules can differ.** Runtime `abi_mask` permits String
|
||||
only for intrinsic String arguments, while `value_matches_abi_type` accepts
|
||||
String or null in dispatch. The Studio precheck therefore rejects a proven
|
||||
null at load time. The production loader confirmed that rejection with
|
||||
`LOAD_INVALID_CODE/TypeMismatch`; a String `#AABBCCDD` executed to color
|
||||
`0xAABBCCDD`. Random's static reference mask includes null, leaving native
|
||||
handle validity to runtime checks.
|
||||
|
||||
Do not use a serializer of the Java enum as its own expected catalog, infer
|
||||
carrier identity from slot width, disable stale fixtures to hide regressions,
|
||||
or equate JAR resource parity with successful PBS or installed-host execution.
|
||||
|
||||
## Qualification evidence
|
||||
|
||||
Selected runtime: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`, clean checkout.
|
||||
Host: macOS 27.0.1 arm64; JDK 25 for Studio build and JDK 21 for the installed
|
||||
launcher. Provider exporter used Cargo test profile/default features; the
|
||||
production VM harness used dev profile/default features and default load
|
||||
limits. New catalog fixtures used NONE capabilities. Runtime was not modified.
|
||||
|
||||
| Artifact | SHA-256 |
|
||||
| --- | --- |
|
||||
| INTRINSICS.csv | `0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa` |
|
||||
| BUILTIN_CONSTANTS.csv | `e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039` |
|
||||
|
||||
| Check | Result |
|
||||
| --- | --- |
|
||||
| Build-pipeline suite | 187 tests: 175 passed, 12 existing skips, zero failures |
|
||||
| PBS suite | 245 passed, zero failures; no claim of executable PBS migration |
|
||||
| Normal catalog parity | All fields, identities, constant bits/groups and packaged hashes passed |
|
||||
| Explicit provider check | Committed-source/mirror/hash comparison and real runtime exporter test passed; missing provider failed as required |
|
||||
| Catalog execution corpus | Random with alias/discarded mutation, exact constants, vec2.zero and String conversion passed on the actual VM |
|
||||
| Admission/availability negatives | Removed unreachable ID and proven-null String rejected; known input loaded then trapped UNAVAILABLE without hardware |
|
||||
| Installed catalog gate | Passed using actual compiler/SDK JAR resources and bundled launcher outside the checkout |
|
||||
| Full installed example gate | Failed before and after the port: missing typed metadata for Gfx.clear; explicit consumer handoff and acceptance revision below |
|
||||
| Workflow/patch integrity | `discussion validate` and `git diff --check` passed |
|
||||
|
||||
The complete existing PBX harness corpus also passed with its already documented
|
||||
runtime schema exceptions: LifecycleRole and NonFiniteValue remain absent from
|
||||
the published fault-schema enum. The harness reports these gaps and preserves
|
||||
payloads; this port does not claim the upstream schema was corrected.
|
||||
|
||||
Reproduce the catalog and consumer checks from the repository root:
|
||||
|
||||
```sh
|
||||
./gradlew :prometeu-compiler:prometeu-build-pipeline:test :prometeu-compiler:frontends:prometeu-frontend-pbs:test --console=plain
|
||||
./gradlew :prometeu-app:installedKnowledgeTest --tests '*installedCompilerAndSdkCarryTheSameVerifiedCatalog' --console=plain
|
||||
python3 tools/runtime-catalog/verify.py --runtime ../runtime
|
||||
python3 tools/pbx-conformance/run.py --runtime ../runtime
|
||||
```
|
||||
|
||||
## Accepted boundary and remaining consumer work
|
||||
|
||||
The full `:prometeu-app:installedKnowledgeTest` failed with
|
||||
`LOWER_IRVM_INVALID_TYPED_REGISTRY: typed function metadata required: Gfx.clear`.
|
||||
The same failure was reproduced on an independent archive of previous Studio
|
||||
HEAD `bd5694dbdf5b214b4295fc8e01ddbe0ba5479599`; only diagnostic stdout was
|
||||
enabled in its test probe to reveal the exact existing error.
|
||||
|
||||
On 2026-10-15 the user explicitly approved concluding catalog acceptance and
|
||||
leaving that correction with AGD-0078. DEC-0064 and PLN-0143 recorded this precise
|
||||
revision before housekeeping: the installed catalog probe is this delivery's
|
||||
mandatory installed gate; the full example test remains active and failing.
|
||||
All catalog, common behavior, affected module and provider-execution checks
|
||||
remain required and passed. No general waiver for future failures was granted.
|
||||
|
||||
- AGD-0078 owns PBS typed metadata, existing input/types and vec2 source
|
||||
materialization. Correct the Gfx.clear producer path and rerun the full
|
||||
installed example gate; do not weaken the common typed Registry contract.
|
||||
- AGD-0083 owns math/mathf facades, overloads and source constant exposure.
|
||||
`PbsExecutableBodyLowerer.emitBuiltinConstFetch` still assumes an intrinsic
|
||||
with one return; pi/tau require the independent constant materialization path.
|
||||
- AGD-0084 owns PBS Random handles, storage, aliasing and source replay tests.
|
||||
Common-IR execution provides a base, not proof of the future PBS facade.
|
||||
- AGD-0080 owns actual installed-runtime Build/Play/headless qualification.
|
||||
Catalog resources identify the compiler target without proving that flow.
|
||||
|
||||
These handoffs and the explicit acceptance revision are recorded in the active
|
||||
agendas and [integration umbrella](../../workflow/agendas/AGD-0075-studio-runtime-readiness.md).
|
||||
Future catalog updates must review source, imports, manual consumers, provenance
|
||||
and behavior together. Roll back that set together if necessary.
|
||||
|
||||
## References
|
||||
|
||||
- [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)
|
||||
- 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.
|
||||
|
||||
Workflow tooling note: the installed CLI registers an existing lesson but has
|
||||
no lesson-allocation command. LSN-0080 was selected by reading the next counter;
|
||||
`discussion housekeep` performed all index mutations and counter advancement.
|
||||
+83
@@ -0,0 +1,83 @@
|
||||
---
|
||||
id: LSN-0081
|
||||
ticket: pbs-existing-types-input-alignment
|
||||
title: PBS Typed Values and Direct Input Queries
|
||||
created: 2026-10-15
|
||||
tags: [compiler/pbs, runtime-integration]
|
||||
---
|
||||
|
||||
## Context and result
|
||||
|
||||
Owner: **compiler/pbs**, with shared compiler IR and installed Studio consumer propagation. DSC-0076 (AGD-0078, accepted DEC-0065, completed PLN-0144) aligned existing PBS values and input with the published runtime. The original object chain exposed intermediate input objects that had no useful runtime representation. PBS also omitted exact executable function metadata, causing the full installed example to fail at `Gfx.clear` under the shared typed registry validator.
|
||||
|
||||
The delivered implementation replaces those chains, produces typed function metadata, preserves complete value groups, and passes both actual-runtime execution and the full installed knowledge gate. The completed agenda, decision and plan were removed through framework housekeeping; this lesson preserves their implementation evidence.
|
||||
|
||||
## Public selectors and direct runtime endpoints
|
||||
|
||||
Use a nominal selector value and a public query:
|
||||
|
||||
```pbs
|
||||
let button = Button.A;
|
||||
let pressed = Pad.pressed(button);
|
||||
let frames: long = Pad.hold(button);
|
||||
let x: long = Touch.x();
|
||||
```
|
||||
|
||||
`Button` has twelve cases: Up, Down, Left, Right, A, B, X, Y, L, R, Start, Select. The four Pad operations are pressed, released, down and hold. Each public function dispatches through an exhaustive enum switch to one of the 48 zero-argument LowPad endpoints. For example, `Pad.pressed(Button.A)` reaches `LowPad.a_pressed()`, bound to `input.pad.a.pressed`. The selector is evaluated once and only the selected endpoint reads input. Obtaining or passing a Button has no input effect. Constant specialization is unnecessary for correctness.
|
||||
|
||||
Touch exposes pressed/released/down as Bool and hold/x/y as Int64. The implementation uses existing runtime endpoints, with no ABI or lifecycle redesign. `Input.pad().a()` and aliases of its intermediate object are removed; import diagnostics explain the replacement. Strings, integers and unrelated enums cannot substitute for Button. The source type remains nominal even though its executable carrier is Int32.
|
||||
|
||||
## Exact values must survive frontend lowering
|
||||
|
||||
The explicitly accepted integer mapping is `int` to Int32 and `long` to Int64. Integer literals default to int; an explicit long context admits Int64 literals. Conversions use existing `as` syntax. Variables of different numeric widths require explicit conversion. Pad.hold and Touch.hold/x/y therefore return long.
|
||||
|
||||
`PbsRuntimeTypes` connects source types and declarations to canonical registry types and exact parameter/result groups. Callable lookup includes arity so overloaded SDK functions do not overwrite each other's signatures. Existing unsupported source types retain their previous executable boundary; shared strict metadata validation was not relaxed to admit them.
|
||||
|
||||
Locals, parameters, calls and returns carry whole groups: vec2 uses two Float slots and pixel uses two Int64 coordinates plus color. Slot count alone never establishes type identity. Builtin constants are resolved through the shared constant catalog: vec2.zero materializes two Float zero values, without inventing a one-result intrinsic. The backend validates the declared group width against the catalog materialization.
|
||||
|
||||
Named application first evaluates expressions in source order, stores their complete groups, and then loads those values in parameter order. The runtime proof calls `combine apply (y: Probe.y(), x: Probe.x())`: effects record Y then X while combine receives x then y. Its final oracle is 211020.
|
||||
|
||||
## Qualification evidence
|
||||
|
||||
Qualification date: 2026-10-15; platform: Darwin arm64. Studio base revision: `603ed012272b137361ba618f6887f015f7317803` plus this delivery's working-tree changes. Runtime revision: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`. The runtime checkout was not modified. Default Gradle configuration; controlled input and no-platform configurations in the real runtime harness.
|
||||
|
||||
```sh
|
||||
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-compiler:prometeu-frontend-api:test :prometeu-lsp:prometeu-lsp-v1:test :prometeu-app:installedKnowledgeTest --console=plain
|
||||
CARGO_TARGET_DIR=/tmp/pln144-cargo-target python3 tools/pbx-conformance/run.py --runtime ../runtime
|
||||
git diff --check
|
||||
discussion validate
|
||||
```
|
||||
|
||||
| Suite | Passed | Existing skips | Failures/errors |
|
||||
| --- | ---: | ---: | ---: |
|
||||
| PBS frontend | 246 | 0 | 0 |
|
||||
| Build pipeline | 179 | 12 | 0 |
|
||||
| Frontend API | 28 | 0 | 0 |
|
||||
| LSP | 38 | 1 | 0 |
|
||||
| Full installed knowledge | 2 | 0 | 0 |
|
||||
|
||||
`PbsRuntimeAlignmentTest` generates 114 PBX programs through the production compiler, lowerer, emitter and preload verifier. The actual runtime harness loads and executes all of them:
|
||||
|
||||
- 48 Pad combinations using a local Button passed through a typed function, plus 48 direct constant combinations; controlled input asserts the exact returned value and exactly one selected read.
|
||||
- All six Touch queries, including signed x/y values. All 102 input programs are also executed without a platform and must trap with TRAP_UNAVAILABLE.
|
||||
- Twelve value/fault programs cover Int32, Int64, Float, String, color, vec2, pixel, tuple returns, named evaluation order, Int32 wrapping, checked narrowing and division by zero. Bool is covered by input queries. Registry default layouts are checked for all eight existing canonical value types.
|
||||
|
||||
Frontend negatives cover invalid Button arguments, mixed int/long variables, literal overflow and migration diagnostics. Existing shared tests continue to cover wrong typed signatures, stale touch signatures, unreachable removed IDs, and lifecycle assembly. The original full installed failure at `Gfx.clear` is fixed. This does not claim completion of the separate Studio desktop integration agenda. Existing upstream fault-schema gaps (LifecycleRole/NonFiniteValue) remain explicitly reported by the shared harness, without suppressing this delivery's oracles.
|
||||
|
||||
## Pitfalls and reusable patterns
|
||||
|
||||
- A dotted builtin target is already a complete catalog name: use `input.pad.a.pressed`, not a partial `a.pressed` that silently loses its owner.
|
||||
- A numeric literal's context must reach calls, returns and constructors; parsing an integer into a wide host value is insufficient to give it an Int64 guest type.
|
||||
- Handle the signed minimum literal before rejecting its positive magnitude. A positive value above Int64 maximum must produce a diagnostic, not become zero.
|
||||
- Preserve catalog overflow behavior: Int32 addition wraps; out-of-range narrowing traps with TRAP_NUMERIC_RANGE. Do not assume all numeric operations trap on overflow.
|
||||
- A switch can omit its final comparison only when exhaustive coverage is proven. Non-exhaustive statement switches must not execute an unmatched final arm.
|
||||
- A catalog or structural test alone cannot prove a frontend consumer. Generate PBS programs, run the real VM, and keep the full installed example as an independent gate.
|
||||
- Publish the focused canonical spec in installed knowledge as well as in the checkout. SDK exports, diagnostics, language services and examples must migrate together.
|
||||
|
||||
## References
|
||||
|
||||
- [Normative PBS input and existing-value contract](../../../docs/specs/compiler-languages/pbs/18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md)
|
||||
- [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)
|
||||
+85
@@ -0,0 +1,85 @@
|
||||
---
|
||||
id: LSN-0082
|
||||
ticket: packer-runtime-graphics-conformance
|
||||
title: Packer Contracts and CI Failure Evidence
|
||||
created: 2026-10-16
|
||||
tags: [packer, studio, testing, jenkins]
|
||||
---
|
||||
|
||||
# Packer Contracts and CI Failure Evidence
|
||||
|
||||
## Original problem and scope
|
||||
|
||||
A broad runtime-readiness audit suggested graphics integration qualification,
|
||||
but historical review did not establish a new asset format migration. Existing
|
||||
Studio work already covered RGBA8888, scene identity and variable palettes.
|
||||
The actual opportunity was to strengthen producer-boundary evidence and ensure
|
||||
CI preserved useful results when tests failed.
|
||||
|
||||
Owner: packer; transverse owner: Studio Gradle/Jenkins infrastructure. The user
|
||||
explicitly excluded runtime provisioning in Jenkins and all new automated
|
||||
runtime tests, including local ones. Existing games remain the manual integrated
|
||||
verification method. This lesson does not claim those games were run.
|
||||
|
||||
## Consolidated decision and implementation
|
||||
|
||||
The packer's ordinary Java/JUnit suite now checks complete serialized GLYPH
|
||||
payloads for tile sizes 8/16/32 and palette counts 1/3/64, using independently
|
||||
authored hex expectations. Alpha, ordinary index zero and high-first nibble
|
||||
order are compared as bytes. A complete four-layer SCENE fixture covers
|
||||
little-endian identity, parallax, flags/flips and decoded-size accounting.
|
||||
An out-of-range palette cannot publish a new artifact.
|
||||
|
||||
A mixed-asset test reads the embedded header of assets.pa, checks sidecar
|
||||
agreement and proves that all payload slices cover the file contiguously.
|
||||
Two GLYPH preloads use slots 0/1 while SCENE uses its own slot 0; a fourth
|
||||
asset is deliberately not preloaded. AssetId 16909060 remains the scene's
|
||||
cold dependency even though the glyph preload slot is 1. These identities
|
||||
must not be conflated.
|
||||
|
||||
Jenkins now uses the repository wrapper, headless JVMs and a separate clean
|
||||
stage. Verification uses --continue: independent tests and reports complete,
|
||||
but Gradle still fails on test failure. Unconditional post handling isolates
|
||||
JUnit, coverage, HTML and archive publishers. Missing evidence after a successful
|
||||
verification is an error; failed preparation does not publish old reports.
|
||||
Existing coverage thresholds and their UNSTABLE policy remain unchanged.
|
||||
No production writer change was necessary.
|
||||
|
||||
## Evidence and limits
|
||||
|
||||
Studio base: 13c0ababbb0ff8623eb4df671729a891788b1ab1. Contract reference:
|
||||
runtime f7d7c167531bb662a1af9d73fc326bb476bf8aa7. Validation on 2026-10-16:
|
||||
|
||||
- Packer suite: 119 tests passed, zero skips; five new contract cases included.
|
||||
- Ordinary headless repository run: 897 tests, two failures, 13 existing skips.
|
||||
Consolidated JaCoCo XML and HTML were generated despite test failure.
|
||||
- Failures in unchanged files: PbsGradleDependencyAllowlistTest rejects the
|
||||
existing build-pipeline testImplementation PBS dependency; McpContractTest
|
||||
rejects an existing tool exampleArguments contract. The complete repository
|
||||
test gate is not green; these failures were not suppressed by this change.
|
||||
- Groovy 4.0.29 parsed the Jenkinsfile. Seven local step-double scenarios passed:
|
||||
success, test failure, publisher failure, missing contract report, absent
|
||||
reports on success/failure and clean failure. This does not validate actual
|
||||
controller plugins or constitute a Jenkins job run.
|
||||
- git diff --check and discussion validate passed.
|
||||
|
||||
No runtime invocation, automated frame comparison or manual gameplay was
|
||||
performed. Producer bytes passing these assertions do not prove live loading
|
||||
or presentation. Report manual game/revision/actions/results only after play.
|
||||
|
||||
## Pitfalls
|
||||
|
||||
- Deriving expected bytes through the production writer makes an oracle circular.
|
||||
- Checking only exported JSON misses corruption in the embedded artifact header.
|
||||
- Publishing reports only after a successful shell step hides failure diagnostics.
|
||||
- Allowing empty reports on successful verification can turn absent execution into
|
||||
apparent success. Allow absence only when the build already failed.
|
||||
- A broad contract corpus is not a reason to duplicate existing tests or port a
|
||||
runtime decoder into Java. Keep checks at the producer's actual output boundary.
|
||||
|
||||
## References
|
||||
|
||||
- [Fixture interpretation and commands](../../../prometeu-packer/prometeu-packer-v1/src/test/resources/fixtures/contracts/README.md).
|
||||
- [CI commands and failure behavior](../../../files/config/README.md).
|
||||
- [Build artifact specification](../../../docs/specs/packer/4.%20Build%20Artifacts%20and%20Deterministic%20Packing%20Specification.md).
|
||||
- Completed workflow provenance: AGD-0079, DEC-0066, PLN-0145 (housekept after implementation).
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
---
|
||||
id: LSN-0083
|
||||
ticket: pbs-typed-collections-and-dynamic
|
||||
title: PBS Arrays Optional and Contract Execution
|
||||
created: 2026-10-16
|
||||
tags: [compiler/pbs, runtime-integration]
|
||||
---
|
||||
|
||||
# PBS arrays, optional values and contract execution
|
||||
|
||||
Owner: compiler/pbs. This lesson consolidates accepted DEC-0067 and completed PLN-0146 (DSC-0079). The [typed arrays specification](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md) is the normative reference; the [implementation evidence](../../evidence/DSC-0079-implementation/README.md) records the tested tree and commands.
|
||||
|
||||
## The original problem
|
||||
|
||||
Games need to reserve enemy positions before constructing enemies. Filling storage with fabricated objects or treating numeric zero as absence gives the wrong semantics. The runtime already offered Array, Dynamic, Struct and Trait, but their existence did not make PBS source executable: optional lowering, struct construction/fields and contract dispatch were incomplete.
|
||||
|
||||
The solution separates static source types, optional presence and physical storage. It also completes the existing struct/contract execution path instead of deferring it to closure work.
|
||||
|
||||
## The resulting source contract
|
||||
|
||||
```pbs
|
||||
let enemies: array<Enemy> = new array(10);
|
||||
let groups: array<array<Enemy>> = new array(3);
|
||||
let scores: array<int> = [10, 20, 30];
|
||||
|
||||
if let enemy = enemies[1] {
|
||||
enemy.takeDamage(10);
|
||||
}
|
||||
enemies.clear(1);
|
||||
```
|
||||
|
||||
Arrays have fixed length, shared reference identity and invariant element/depth types. Allocation initializes only outer positions to empty; it does not create enemies or nested arrays. Following DSC-0088, explicit `new array<T>(n)` supplies its own type; `new array<>(n)`, `new array(n)` and every array literal require an expected array type. Nesting uses `array<array<T>>`; compiler structural limits prevent unbounded expansion. Length and indices accept int/long without loss, with the promotion confined to these operations.
|
||||
|
||||
Reads return optional T. A vacant position is none, zero is present, and an invalid index faults. `if let` evaluates once and binds only in the success block. Optional fallback is lazy. Optional values, tuples, fields, parameters and results preserve complete groups. Optional array elements are rejected; an optional array itself is valid. PBS gains neither public Dynamic nor public null.
|
||||
|
||||
## How the implementation works
|
||||
|
||||
Array positions use internal Array<Dynamic>. Single-slot values are packed directly, while native multi-slot values use the runtime's immutable Dynamic boxing. A null Dynamic tag marks vacancy. Checking DYN_CAN_UNPACK alone is incorrect because a null carrier can be compatible with nullable types such as strings or references.
|
||||
|
||||
Private nullable Struct carriers represent optional values. None is null; some owns a carrier holding the complete payload. Named tuples are flattened across callable boundaries and privately boxed for storage. Tuple labels remain editorial metadata rather than changing compatible storage identity. Nominal struct and contract identities include declaration provenance, preventing unrelated modules from sharing a type merely because their names match.
|
||||
|
||||
The compiler emits actual struct allocations, field loads/stores, constructors, typed receivers, contract adapters and CALL_TRAIT. It selects overloads using parameter and result shapes and substitutes Self consistently in semantics and executable metadata. Imported calls retain their module identity. Services have a private singleton accessor so imports share the provider's instance.
|
||||
|
||||
Global initializers run through the file-init path in dependency order. This matters for reserved arrays: a source declaration must create storage before subsequent code uses it. Grouped global values use private carriers rather than losing slots.
|
||||
|
||||
## Lessons from failures found during implementation
|
||||
|
||||
- **VM availability is not frontend support.** A parser accepting an expression, or an assembly probe passing, says nothing about complete source lowering.
|
||||
- **Presence and compatibility are different questions.** Test the Dynamic tag before unpacking; do not turn type or bounds faults into absence.
|
||||
- **Global defaults are not nullable defaults.** VM global slots initially contain Int32 zero. The service singleton guard must recognize that initial state before publishing a reference.
|
||||
- **A tuple is not just its first slot.** Optional extraction, field storage and callable transport must agree on full layouts. Tuples stored in private carriers must be flattened again when read.
|
||||
- **Arity is insufficient for overloads.** Preserve input/output shape, Self substitution and module identity. Choosing a method by name and arity silently changes program meaning.
|
||||
- **Lexical scope also exists during lowering.** Restore slot/type/owner/projection bindings after blocks and if-let branches; semantic scope checks alone do not preserve shadowed runtime locals.
|
||||
- **Generated tests must be mandatory.** A runtime harness that scans only available files can pass while a producer stopped generating required fixtures. The structured corpus names every required case.
|
||||
|
||||
## Verified result and boundaries
|
||||
|
||||
The final gates executed 500 tests without failures; 13 pre-existing disabled tests are listed in the evidence. All 27 new PBS-to-production-PBX cases and 18 resource-refusal runs passed the real loader/VM, alongside 114 existing PBS fixtures and the common backend/catalog corpus. The integer-array case succeeds with one handle total. The GC case reclaims at least 1,100 discarded objects while preserving referenced objects, tuples and strings.
|
||||
|
||||
The GC safepoint is provided by an explicit test-only driver hook; it does not claim PBS sync/closure delivery. Default runtime quotas and GC thresholds were not relaxed. Two pre-existing upstream JSON-schema enum gaps remain explicitly reported by the existing harness. No installed-game qualification or performance claim is inferred from these results.
|
||||
|
||||
The installed knowledge package includes the specification and an executable [array example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/arrays.pbs). SDK collections continue in AGD89, closures in AGD82, and installed reference-game qualification in AGD88.
|
||||
|
||||
## 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)
|
||||
- [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)
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
---
|
||||
id: LSN-0084
|
||||
ticket: pbs-closures-and-indirect-calls
|
||||
title: PBS Function Values and Explicit Captures
|
||||
created: 2026-10-17
|
||||
tags: [compiler, pbs, runtime-integration]
|
||||
---
|
||||
|
||||
## Context
|
||||
|
||||
Owner: `compiler/pbs`. PBS needed functions usable as ordinary values for game
|
||||
logic and agent-authored programs. Its nominal callback declarations and bind
|
||||
model did not provide the chosen structural function surface. Runtime support
|
||||
for closures already existed; source typing, lowering, tooling and executable
|
||||
integration still had to be delivered together.
|
||||
|
||||
The accepted DEC-0068 was implemented through PLN-0147. Both are completed
|
||||
workflow artifacts; this lesson preserves their durable rationale and outcome.
|
||||
|
||||
## Consolidated decision
|
||||
|
||||
`Fn(int) -> int` identifies the ordered parameter/result types. Named functions
|
||||
and lambdas with that signature can be assigned, passed, returned and stored.
|
||||
Calls use ordinary parentheses. Overloaded function identifiers need an expected
|
||||
signature that selects exactly one target.
|
||||
|
||||
Lambdas use `fn [captures](name: Type) -> Return { ... }`. Captures, parameter
|
||||
annotations, result annotation and block are explicit, including empty `[]`.
|
||||
This makes dependencies visible to both programmers and code-generating agents.
|
||||
The cost is deliberate verbosity; implicit capture and expression-body shorthand
|
||||
are not alternative forms.
|
||||
|
||||
Captures snapshot values at creation. Captured bindings cannot be reassigned,
|
||||
even when their source bindings were mutable. Capturing an object reference
|
||||
preserves object identity and permitted field mutation. Shared state therefore
|
||||
uses explicit objects instead of hidden shared lexical cells.
|
||||
|
||||
```pbs
|
||||
declare struct Counter(pub mut value: int);
|
||||
fn createCounter() -> Fn() -> int {
|
||||
let counter = new Counter(0);
|
||||
return fn [counter]() -> int {
|
||||
counter.value += 1;
|
||||
return counter.value;
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
Each factory call creates independent state. Two closures capturing the same
|
||||
counter intentionally share state. Arrays use `array<(Fn() -> int)>` and existing
|
||||
optional-read rules. Methods become function values through explicit lambdas
|
||||
capturing their receiver. The old `declare callback`, callback barrel exports
|
||||
and `bind(context, function)` are rejected.
|
||||
|
||||
## Objects and frames
|
||||
|
||||
A closure is a managed object with the same reachability lifecycle as other
|
||||
objects. Returning from its creator does not destroy it. Globals, arrays, fields
|
||||
and other captures can retain it across frames. GC traces its environment and
|
||||
collects unreachable closures and objects.
|
||||
|
||||
An invocation completes within its frame. Keeping a closure alive across frames
|
||||
does not suspend an invocation. PBS has no coroutine or sync syntax. The frontend
|
||||
already publishes FRAME_ROOT; the existing lifecycle assembler supplies the
|
||||
guarded wrapper and its return. Reuse that integration rather than introducing
|
||||
a new loop or frame-ending operation for closures.
|
||||
|
||||
## Implementation
|
||||
|
||||
The AST and type parser represent structural Fn inputs/results and explicit
|
||||
lambda captures. Semantic analysis creates an isolated capture/parameter scope,
|
||||
checks returns and signatures, and rejects uncaptured outer locals. Editor
|
||||
traversal uses lambda scopes so references, rename and completion preserve
|
||||
binding identity.
|
||||
|
||||
Lowering registers deterministic generated functions and ordered typed capture
|
||||
metadata. MAKE_CLOSURE creates values, GET_CAPTURE reads environments, and
|
||||
CALL_CLOSURE invokes the expected signature. Named functions use empty capture
|
||||
lists. Captures do not become public parameters. Existing common IR/PBX registry
|
||||
and runtime contracts supply the execution machinery without production changes
|
||||
to frame assembly or runtime authority.
|
||||
|
||||
Complete logical groups must survive capture and return: a tuple or contract
|
||||
receiver cannot be treated as one slot simply because its containing closure
|
||||
occupies one slot. Imported functions retain provider callable identity.
|
||||
|
||||
## Validation and pitfalls
|
||||
|
||||
The production VM executes nine closure programs returning 42 and six allocation
|
||||
quota/ownership cases. A separate fixture uses the real lifecycle wrapper for
|
||||
three frames: a stored closure and captured object survive the first collection,
|
||||
execute in the next frame, then become collectible after their root is cleared.
|
||||
Each frame discards another 1,200 closures. This proves both retention and release.
|
||||
|
||||
The final Gradle gates execute 513 tests without failures; 13 existing disabled
|
||||
tests and two existing runtime JSON-schema enum gaps are recorded explicitly.
|
||||
Installed knowledge includes the owner specification and a compiled example.
|
||||
|
||||
Common mistakes to avoid:
|
||||
|
||||
- Treating frame completion as destruction of all closure objects.
|
||||
- Adding coroutine/sync machinery merely to retain a function value.
|
||||
- Capturing a mutable local as a hidden shared cell instead of a snapshot.
|
||||
- Deep-copying captured objects and losing intended shared identity.
|
||||
- Testing only opcode emission while missing runtime roots, imports or full groups.
|
||||
- Leaving editor visitors or installed examples on the retired callback model.
|
||||
|
||||
## References
|
||||
|
||||
- [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).
|
||||
- [Executable installed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/closures.pbs).
|
||||
+160
@@ -0,0 +1,160 @@
|
||||
---
|
||||
id: LSN-0085
|
||||
ticket: pbs-runtime-math-integration
|
||||
title: Service constants and source-to-runtime math conformance
|
||||
created: 2026-10-17
|
||||
tags: [runtime-integration]
|
||||
---
|
||||
|
||||
## Original problem and ownership
|
||||
|
||||
Owner: compiler/pbs. Supporting contract: compiler/general; runtime numeric
|
||||
semantics remain owned by the VM. This lesson consolidates accepted DEC-0069
|
||||
and implemented PLN-0148 from AGD-0083 / DSC-0081.
|
||||
|
||||
The common compiler already represented all runtime math identities and canonical
|
||||
constants. That did not make them usable from PBS source. The remaining work was
|
||||
service syntax, exact overload resolution, SDK publication, constant reads and
|
||||
source-to-production execution evidence.
|
||||
|
||||
## Consolidated decision
|
||||
|
||||
The user explicitly chose services themselves as namespaces. Services export
|
||||
constants alongside methods; there is no separate namespace declaration or new
|
||||
numeric builtin type. The same capability applies to project and SDK services.
|
||||
|
||||
`math` exposes exact int/long overloads and `mathf` exposes Float functions.
|
||||
Conversions between numeric carriers are explicit. The compiler consumes its
|
||||
existing manually ported, independently checked common catalog. It does not query
|
||||
a runtime checkout during normal compilation or duplicate the VM's math backend.
|
||||
|
||||
Pi and tau use canonical builtin constant materialization, not zero-argument
|
||||
intrinsics. Mathematical calls retain their faults and costs even with literal
|
||||
arguments. Qualification must start with source and compare exact bits, faults
|
||||
and cycles on a named runtime build.
|
||||
|
||||
## Final implementation
|
||||
|
||||
The service AST retains constant declarations with their owner. Parser, declaration
|
||||
checks, dependency/cycle validation, type resolution, lowering and editor member
|
||||
surfaces carry them through. Constants are immutable, exported with their service,
|
||||
and available through qualified reads and import aliases. Within the owner, a
|
||||
constant reference takes precedence over a same-named global; locals retain their
|
||||
normal lexical precedence. Explicit long annotations contextually type integer
|
||||
constant literals, without converting references to already typed int constants.
|
||||
|
||||
SDK services at `@sdk:math` and `@sdk:mathf` bind their 26 exact signatures through
|
||||
reserved IntrinsicCall metadata. Each generated callable loads its declared
|
||||
arguments, calls the common catalog identity and returns. Consequently its normal
|
||||
CALL/GET_LOCAL/RET overhead is distinct from the intrinsic's own charge. Imports
|
||||
with aliases resolve to the original provider callable identity.
|
||||
|
||||
BuiltinConst metadata on service constants records the qualified source name.
|
||||
The existing BUILTIN_CONST instruction materializes `IRVMBuiltinConstantDefinition`.
|
||||
Pi and tau retain bits `0x400921FB54442D18` and `0x401921FB54442D18`. A qualified
|
||||
constant read does not construct a singleton or call a getter. Constant-only
|
||||
probes cost six cycles: an ordinary load plus the root return.
|
||||
|
||||
```pbs
|
||||
import { math } from @sdk:math;
|
||||
import { mathf as numbers } from @sdk:mathf;
|
||||
|
||||
fn example(counter: long, angle: float) -> float {
|
||||
let bounded = math.clamp(counter, 0 as long, 100 as long);
|
||||
return math.to_float(bounded) + numbers.sin(angle) + numbers.pi;
|
||||
}
|
||||
```
|
||||
|
||||
General service constants use ordinary source expressions:
|
||||
|
||||
```pbs
|
||||
declare service Settings {
|
||||
declare const base: int = 40;
|
||||
declare const answer: int = base + 2;
|
||||
fn read() -> int { return answer; }
|
||||
}
|
||||
```
|
||||
|
||||
## Qualification and reproducibility
|
||||
|
||||
Runtime revision: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`, unchanged clean checkout.
|
||||
Platform: macOS 27.0.1 arm64. Production harness profiles: dev and release;
|
||||
VM feature: resource-diagnostics, default load limits, NONE capabilities for math.
|
||||
Java build uses JDK 25; installed launcher uses the existing distribution runtime.
|
||||
|
||||
The corpus contains 261 independent numeric cases, emitted both normally and with
|
||||
the PBS/common optimizer enabled: 522 mandatory cases in each runtime profile.
|
||||
It combines the first 240 scalar provider fixture rows with exact published
|
||||
contract examples, removing duplicates. It covers all 26 signatures, signed zeros,
|
||||
subnormals, finite extrema, checked conversions, ties-to-even, invalid clamp,
|
||||
negative sqrt, abs(MIN) and atan2 axes. Additional probes cover pi/tau, direct
|
||||
literal sin, ordinary int/long constants, dependencies and a real project with
|
||||
SDK imports, service aliases and exported project constants.
|
||||
|
||||
Every numeric case checks the selected intrinsic identity, exactly one retained
|
||||
call, exact result bits or fault code, and per-instruction charging. Numeric costs
|
||||
come from independent fixture rows; other instruction costs come from the provider
|
||||
ISA contract. A full-budget execution must charge the sum of those steps.
|
||||
Optimized and unoptimized versions must charge identical totals.
|
||||
|
||||
| Gate | Result |
|
||||
| --- | --- |
|
||||
| PBS frontend suite | 249 tests passed |
|
||||
| Common backend suite | 175 passed, 12 pre-existing skips |
|
||||
| Selected architecture/source suites | Math, existing values/input, structured values and closures passed |
|
||||
| Installed knowledge | Both gates passed; packaged example imports math and aliased mathf |
|
||||
| Complete production harness | Passed in dev and release, including 522 math vectors per profile |
|
||||
| Workflow and patch integrity | discussion validate and git diff --check passed |
|
||||
|
||||
| Evidence artifact | SHA-256 |
|
||||
| --- | --- |
|
||||
| Runtime Cargo.lock | cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795 |
|
||||
| INTRINSICS.csv | 0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa |
|
||||
| BUILTIN_CONSTANTS.csv | e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039 |
|
||||
| Provider numeric-conformance.tsv | 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe |
|
||||
| Consumer numeric-source.tsv | 95067131dbc7a4252352424ee52f4b9215c8d8ecd80124218a38819211ff7ccb |
|
||||
|
||||
Reproduce from the Studio root:
|
||||
|
||||
```sh
|
||||
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-build-pipeline:test
|
||||
./gradlew :prometeu-architecture-tests:test --tests '*PbsRuntimeMathTest' --tests '*PbsRuntimeAlignmentTest' --tests '*PbsStructuredValuesTest' --tests '*PbsClosuresTest'
|
||||
./gradlew :prometeu-app:installedKnowledgeTest
|
||||
python3 tools/pbx-conformance/run.py --runtime ../runtime
|
||||
python3 tools/pbx-conformance/run.py --runtime ../runtime --release
|
||||
```
|
||||
|
||||
Optional CARGO_TARGET_DIR can preserve harness compilation artifacts in a temporary
|
||||
directory. The script never writes to the runtime checkout. Use --math-only for
|
||||
the complete math subset; it still rejects missing mandatory math fixtures.
|
||||
|
||||
Qualification on macOS/x86_64 and Linux/x86_64 remains pending. This delivery does
|
||||
not qualify those hosts, installed-runtime deployment or a complete reference game.
|
||||
The existing provider schema gaps for LifecycleRole and NonFiniteValue remain
|
||||
explicitly reported by the full harness; original payloads are preserved.
|
||||
|
||||
## Pitfalls and maintenance
|
||||
|
||||
- Catalog parity is not source integration. Test the facade, imports, overloads,
|
||||
actual emission and production VM together.
|
||||
- Constants are not nullary intrinsics. Preserve their canonical bits and ordinary
|
||||
load costs independently of method binding.
|
||||
- A service alias changes source spelling, not the provider callable identity.
|
||||
- Preserve constant ownership during expansion. Caller locals/globals must not
|
||||
accidentally change the lexical meaning of a constant's initializer.
|
||||
- Float equality hides the sign of zero. Conformance must compare raw bits.
|
||||
- Intrinsic costs exclude wrapper and argument-producing instructions. Charge and
|
||||
compare the complete program without treating virtual cycles as CPU timings.
|
||||
- Extend the corpus and its mandatory count together. Never silently skip absent
|
||||
fixtures, accept host tolerances, or replace provider oracles with compiler output.
|
||||
|
||||
## References
|
||||
|
||||
- [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)
|
||||
- [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.
|
||||
|
||||
Tooling note: the CLI has no lesson-allocation command. LSN-0085 was selected from
|
||||
the next counter; CLI housekeeping registers the lesson and advances that counter.
|
||||
+161
@@ -0,0 +1,161 @@
|
||||
---
|
||||
id: LSN-0086
|
||||
ticket: pbs-runtime-random-integration
|
||||
title: Explicit Random handles and source-to-runtime conformance
|
||||
created: 2026-10-17
|
||||
tags: [runtime-integration]
|
||||
---
|
||||
|
||||
## Original problem and ownership
|
||||
|
||||
Owner: `compiler/pbs`; supporting integration: `compiler/general`. This lesson
|
||||
consolidates AGD-0084, accepted DEC-0070 and completed PLN-0149 of DSC-0082.
|
||||
The user accepted the direction and authorized plan generation and implementation.
|
||||
The workflow scaffolding is removed by housekeeping; the normative PBS contract
|
||||
is [Runtime Random Integration](../../../docs/specs/compiler-languages/pbs/20.%20Runtime%20Random%20Integration%20Specification.md).
|
||||
|
||||
The common catalog already contained all four Random entries, with a synthetic
|
||||
IR test of mutation and aliasing. That did not establish a usable PBS SDK or
|
||||
prove source evaluation, typed storage, imports and captures. A deterministic
|
||||
operation can still mutate state: the same seed is not permission to fold or
|
||||
eliminate a call.
|
||||
|
||||
## Consolidated decision
|
||||
|
||||
Expose an explicit opaque `Random` handle and `random.new/next/nextf/range`.
|
||||
Use the runtime's exact signatures, single-slot BuiltinId 0x0016 and catalog
|
||||
metadata. All operations mutate guest state; only new allocates. Do not add an
|
||||
implicit global generator, duplicate algorithm or compiler-side billing engine.
|
||||
|
||||
Copies alias the same generator. Two allocations with the same seed begin with
|
||||
equal sequences and evolve independently. Source order, named-argument effects
|
||||
and discarded calls must survive lowering and optimization. Handle identity must
|
||||
survive locals, globals, fields, arrays, parameters, results, captures and private
|
||||
Dynamic storage. The runtime remains authoritative for faults, transactional
|
||||
mutation, resources and cycles. No game seed policy or replay serialization API
|
||||
is introduced.
|
||||
|
||||
## Final implementation
|
||||
|
||||
Game SDK 1 publishes `Random` and `random` from `@sdk:random`, with normal import
|
||||
aliases and reserved metadata bindings. PBS registers Random as the existing
|
||||
runtime builtin. The parser accepts `new` in callable/member positions so the
|
||||
published spelling is `random.new(seed)`. It still distinguishes source allocation
|
||||
expressions, and rejects `new Random()`.
|
||||
|
||||
Fieldless builtins are treated as opaque by the semantic model. Exact contextual
|
||||
types prevent returning a Random reference as an unrelated Struct or contract;
|
||||
explicit contract adaptation is rejected too. Existing member checks reject
|
||||
payload access. The discovered return-path gap is now a frontend diagnostic,
|
||||
not a later backend stack/Registry error.
|
||||
|
||||
Existing array, optional, struct and closure lowering already preserves reference
|
||||
identity, so no second storage representation or common backend algorithm was
|
||||
needed. Common catalog tests and runtime execution verify the inherited effects
|
||||
and costs. The reference model remains language-neutral.
|
||||
|
||||
```pbs
|
||||
import { Random, random } from @sdk:random;
|
||||
|
||||
fn sample() -> long {
|
||||
let generator: Random = random.new(42 as long);
|
||||
let alias = generator;
|
||||
random.next(generator); // discarded result still advances shared state
|
||||
return random.range(alias, 0 as long, 100 as long);
|
||||
}
|
||||
```
|
||||
|
||||
The four operations use long/Float carriers exactly. `nextf` returns `[0,1)`;
|
||||
`range` returns `[min,max)` and requires `min < max`. Intrinsic costs are 32, 8,
|
||||
12 and `4 + 8*N` respectively. Range accepts at most 64 attempted words: attempt
|
||||
64 can succeed, while rejecting all 64 faults and rolls state back without
|
||||
refunding 516 charged cycles. Explicit source conversions and ordinary bytecode
|
||||
instructions have separate costs.
|
||||
|
||||
## Source evidence and provider evidence
|
||||
|
||||
`PbsRuntimeRandomTest` compiles the packaged SDK and project declarations through
|
||||
production linking, common lowering, optimization and PBX emission. A dedicated
|
||||
fixture uses the real workspace builder, import aliases and lifecycle assembler.
|
||||
The focused callable driver explicitly calls file initialization before Probe.main;
|
||||
it does not replace or introduce a lifecycle feature.
|
||||
|
||||
The 48 provider oracle rows cover six seeds and eight draws. Projecting both
|
||||
integer and Float outputs, with optimization off/on, produces 192 fixtures.
|
||||
Another 30 source fixtures cover aliases, independent objects, mixed/discarded
|
||||
operations, named/positional effects, storage/captures, limits, faults and GC. Four
|
||||
controlled provider fixtures cover null and typed-null carriers. Together with real
|
||||
imports this is **223 source fixtures plus four controlled provider fixtures**.
|
||||
The DEC-0073 follow-up requalified this revised corpus in the dev profile; the
|
||||
original debug/release evidence below describes the earlier source corpus.
|
||||
Each of the 226 callable fixtures executes with single-step budgets and twice
|
||||
with full budgets to compare exact bits/faults, call charges and total cycles.
|
||||
The runner checks oracle byte equality against the selected runtime.
|
||||
|
||||
The GC fixture reuses the established test-only FRAME_SYNC marker mechanism.
|
||||
All allocations and accesses are PBS source. After at least 1,100 discarded
|
||||
Random objects are reclaimed, array, field and closure roots still draw the
|
||||
expected shared sequence. The source corpus also exercises a genuine rejected
|
||||
PCG word followed by acceptance, charging range 20 cycles.
|
||||
|
||||
PBS has no public null or Dynamic type. Following the explicit DEC-0073
|
||||
clarification, every completing constructor path initializes every field. Null
|
||||
coverage uses a controlled provider fixture: compile a fully initialized Random
|
||||
field, then suppress its unique field store in test bytecode to exercise the provider
|
||||
reference default.
|
||||
Storing it in a typed array preserves a present Dynamic tag and exact TypeId;
|
||||
extracting it then drawing traps NULL_REFERENCE. This must not be confused with
|
||||
an empty array slot. Existing global-initializer restrictions are unchanged.
|
||||
|
||||
Provider evidence is separate: 13 guest contract tests and 11 private Random
|
||||
engine/VM tests passed in both debug and release. Those prove synthetic
|
||||
64th-attempt success, capped rejection rollback, malformed carriers, fault
|
||||
precedence, resource refusal, exact Dynamic types, stale handles, reset and
|
||||
native provenance. They are not described as PBS-produced rare-path execution.
|
||||
|
||||
## Validation and limits
|
||||
|
||||
The [evidence record](evidence.json) pins source/catalog/oracle/lockfile hashes,
|
||||
commands, toolchains, profiles and suite counts. Executed on macOS arm64 with
|
||||
runtime `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`.
|
||||
|
||||
- Java: frontend 249 passed; architecture 63 passed; common pipeline 175 passed
|
||||
with 12 existing skips; installed knowledge 2 passed. Total: 489 passed.
|
||||
- Full production-loader conformance harness passed in debug and release,
|
||||
including all 227 Random fixtures and existing math/input/Registry/collection
|
||||
and closure suites.
|
||||
- Runtime provider Random suites: 13 contract + 11 private tests per profile.
|
||||
- Catalog copies and provider exporter matched; workflow and diff validation passed.
|
||||
|
||||
Qualification covers the local target only. Other platforms and the reference
|
||||
game's corpus are not claimed. The full harness retains the pre-existing,
|
||||
explicitly reported runtime fault-schema gaps for LifecycleRole and NonFiniteValue;
|
||||
this work neither changes nor hides them. Installed knowledge validates packaged
|
||||
SDK/spec/example delivery, not execution through an installed runtime process.
|
||||
|
||||
## Pitfalls and maintenance
|
||||
|
||||
1. Do not confuse deterministic with pure. Eliminating a discarded draw changes
|
||||
every subsequent result; eliminating discarded new also changes allocation.
|
||||
2. Do not duplicate the RNG in Java to prove Java output. Keep independent provider
|
||||
vectors and execute generated PBX on the VM.
|
||||
3. Do not use interface-module validation for arbitrary project code. The tests
|
||||
compile SDK metadata separately and link trusted declarations into project source.
|
||||
4. Do not use a runtime carrier's physical HeapRef shape as permission for a
|
||||
Struct/contract adaptation. Exact source and Registry identities matter.
|
||||
5. Distinguish present typed null from absent Dynamic. Check the tag before unpacking.
|
||||
6. Keep new fixture families separate from older enumerated corpora; the old
|
||||
eight-type input suite must not accidentally count Random fixtures.
|
||||
7. Record fingerprints and distinguish provider rare-path proofs from source
|
||||
tests. A passing synthetic common-IR test is not a source integration claim.
|
||||
|
||||
## References
|
||||
|
||||
- [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).
|
||||
- [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
|
||||
in the normative spec, this lesson and its evidence after workflow cleanup.
|
||||
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"date": "2026-10-17",
|
||||
"discussion": "DSC-0082",
|
||||
"decision": "DEC-0070",
|
||||
"plan": "PLN-0149",
|
||||
"runtime_revision": "f7d7c167531bb662a1af9d73fc326bb476bf8aa7",
|
||||
"platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
|
||||
"rustc": "rustc 1.98.1 (48a229cea 2026-09-01)\nbinary: rustc\ncommit-hash: 48a229ceaefd4985c50990b14116b6d856af0985\ncommit-date: 2026-09-01\nhost: aarch64-apple-darwin\nrelease: 1.98.1\nLLVM version: 22.1.8",
|
||||
"java": "openjdk version \"25.0.4\" 2026-07-21 LTS\nOpenJDK Runtime Environment Corretto-25.0.4.7.1 (build 25.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-25.0.4.7.1 (build 25.0.4+7-LTS, mixed mode, sharing)",
|
||||
"runtime_profiles": [
|
||||
"dev",
|
||||
"release"
|
||||
],
|
||||
"harness_features": [
|
||||
"resource-diagnostics"
|
||||
],
|
||||
"provider_features": "default",
|
||||
"source_fingerprints": {
|
||||
"../runtime/Cargo.lock": "cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795",
|
||||
"../runtime/docs/vm-arch/INTRINSICS.csv": "0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa",
|
||||
"../runtime/docs/vm-arch/BUILTIN_CONSTANTS.csv": "e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039",
|
||||
"../runtime/crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv": "0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f",
|
||||
"../runtime/crates/console/prometeu-vm/tests/random_contract.rs": "de961a4c57c4ed7b1f01b002abd8a319c3fed90cb5bce07a5c023ef9239490b1",
|
||||
"../runtime/crates/console/prometeu-vm/src/random.rs": "48e46d50f0665c85bb899d7324783cb1b5121378cb21f06059f2c2617e6d9e16",
|
||||
"../runtime/crates/console/prometeu-vm/src/virtual_machine/random.rs": "136cdbe46a687a7b755d559a2842d44f494cf76e8a34427eeb48494820935a42",
|
||||
"tools/pbx-conformance/main.rs": "76d3d1b90b417c33737fb0ede6ea7af8ffe586bfb2bf4f710684a8d9f72c7466",
|
||||
"tools/pbx-conformance/run.py": "49b01cfc81d378871ca3cc32dec7b1f830fdb7c86545d5a32e2e3455c4f1588f",
|
||||
"prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java": "2d474bd65b0ddcfa2b9ad8d7887c2f964cf73336a8747f4f34478e6a2137bf59",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs": "c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/mod.barrel": "7924c022a140b9bc634f3699175c8775f24093d3aa82e650752232971b0380fb",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java": "c973cb5de13a3e1bddaecad140436ea54d4a78ac5f08310511a60b637630889a",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java": "50d494f4e2b79d7147acc25e0ce4cad244ef2a04288ea823aecdd5347feb48c6",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprParserContext.java": "7b6de40de18fd676210bcfc6655b0dbbd10d589513d35f1cf0c4b01cbf30e7d5",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowExpressionAnalyzer.java": "4775395a00edba94ff55cd2d93959973fc8ad70cae260cc5e2631087827eee9d",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport.java": "2c39d3fed360aeef0ac1c6c8f8c1d92989f84f60cbe23dd01ebce8a9d575d128",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.java": "ba32cc9521ee4bc4840e0910566b4fad7d50a382dac8288c4f6e1ac3ab2fe4ab"
|
||||
},
|
||||
"java_tests": {
|
||||
"frontend": {
|
||||
"passed": 249
|
||||
},
|
||||
"architecture": {
|
||||
"passed": 63
|
||||
},
|
||||
"common_pipeline": {
|
||||
"passed": 175,
|
||||
"existing_skipped": 12
|
||||
},
|
||||
"installed_knowledge": {
|
||||
"passed": 2
|
||||
}
|
||||
},
|
||||
"random_fixtures_per_profile": 227,
|
||||
"callable_replays_per_fixture": 3,
|
||||
"provider_tests_per_profile": {
|
||||
"random_contract": 13,
|
||||
"private_random": 11
|
||||
},
|
||||
"commands": [
|
||||
"./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-architecture-tests:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-app:installedKnowledgeTest --console=plain",
|
||||
"CARGO_TARGET_DIR=/tmp/pln149-cargo-target python3 tools/pbx-conformance/run.py",
|
||||
"CARGO_TARGET_DIR=/tmp/pln149-cargo-target python3 tools/pbx-conformance/run.py --release",
|
||||
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm random --target-dir /tmp/pln149-provider-target",
|
||||
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm --lib random --release --target-dir /tmp/pln149-provider-target",
|
||||
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm --test random_contract --target-dir /tmp/pln149-provider-target",
|
||||
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm --test random_contract --release --target-dir /tmp/pln149-provider-target",
|
||||
"python3 tools/runtime-catalog/verify.py --runtime ../runtime"
|
||||
],
|
||||
"logs": {
|
||||
"regression": {
|
||||
"sha256": "1379beaf5dbb205c9ff5894775835467dd0772fad3b87f3241b94e03c6609bf8",
|
||||
"result": "passed"
|
||||
},
|
||||
"conformance-dev": {
|
||||
"sha256": "99e7c3a4b5c3f1a408d22eef8a736b9a6fd061eff5c13e405c1bd019f504ce4d",
|
||||
"result": "passed"
|
||||
},
|
||||
"conformance-release": {
|
||||
"sha256": "f1df27a348bb98976b4ee0b46a0e121b56d524aab5f43deecc0c705c08e1fd79",
|
||||
"result": "passed"
|
||||
},
|
||||
"provider-dev": {
|
||||
"sha256": "3b9b0b522d3c5ed305536aa5be621fc34f0b4cce0f6b5705626052a4fb252be2",
|
||||
"result": "passed"
|
||||
},
|
||||
"provider-release": {
|
||||
"sha256": "8555828137f4e747f079145892c7c11e18ac55f2e9720497affaf9fe828f48b9",
|
||||
"result": "passed"
|
||||
},
|
||||
"provider-contract-dev": {
|
||||
"sha256": "5c2a31b0f33e75dfe644993e0e79f8cf19bd01bc95db23b41190fc2069d16f8e",
|
||||
"result": "passed"
|
||||
},
|
||||
"provider-contract-release": {
|
||||
"sha256": "cbf430b84132edbdda2fe0b5ab34cf5fad6e78a048811695efe223eac37a3333",
|
||||
"result": "passed"
|
||||
},
|
||||
"catalog": {
|
||||
"sha256": "66b7003ff94115aece4b278522b0c080e806497e26ca17dd756163bc7974fa83",
|
||||
"result": "passed"
|
||||
}
|
||||
},
|
||||
"limitations": [
|
||||
"macOS arm64 only",
|
||||
"Reference-game and installed-runtime process qualification excluded",
|
||||
"Existing explicit provider schema gaps LifecycleRole and NonFiniteValue retained"
|
||||
],
|
||||
"follow_up_2026_10_22": {
|
||||
"discussion": "DSC-0094",
|
||||
"scope": "Explicitly authorized complete PBS constructor field initialization; revise null fixtures to controlled provider injection",
|
||||
"qualification": "227 Random fixtures passed on macOS arm64 dev; prior release evidence describes the original corpus",
|
||||
"evidence": "../DSC-0094-pbs-generic-structs/evidence.json"
|
||||
}
|
||||
}
|
||||
+160
@@ -0,0 +1,160 @@
|
||||
---
|
||||
id: LSN-0097
|
||||
ticket: pbs-guest-lifecycle-hooks
|
||||
title: Explicit Guest Hooks and Preserved Continuations
|
||||
created: 2026-10-28
|
||||
tags: [runtime-integration]
|
||||
---
|
||||
|
||||
# Explicit Guest Hooks and Preserved Continuations
|
||||
|
||||
Owner: `compiler/pbs`, with propagation to `compiler/general` and `studio`.
|
||||
Historical workflow: AGD-0086 → accepted DEC-0081 → completed PLN-0159.
|
||||
The normative language/runtime contracts live in the linked specifications;
|
||||
this lesson explains their implementation and qualification.
|
||||
|
||||
## Original problem
|
||||
|
||||
The runtime already published optional BeforePause and BeforeResume Registry
|
||||
roles. Studio's common IR/PBX represented them, but PBS had no source declaration
|
||||
selecting their targets. Init and Frame were already frontend-owned inputs to a
|
||||
guarded common entry wrapper. Turning them into runtime callbacks would have
|
||||
changed initialization and frame semantics unnecessarily.
|
||||
|
||||
The missing producer capability was explicit selection, validation and metadata
|
||||
propagation, followed by source-to-production-runtime evidence. Existing runtime
|
||||
unit tests were useful oracles but did not prove the PBS producer path.
|
||||
|
||||
## Consolidated decision
|
||||
|
||||
Use marker attributes on nongeneric top-level userland functions:
|
||||
|
||||
```pbs
|
||||
declare global transitions: int = 0;
|
||||
|
||||
[BeforePause]
|
||||
fn preparePause() -> void {
|
||||
transitions += 1;
|
||||
}
|
||||
|
||||
[BeforeResume]
|
||||
fn prepareResume() -> void {
|
||||
transitions += 1;
|
||||
}
|
||||
```
|
||||
|
||||
Each target has zero parameters, logical results and captures. Reading/writing
|
||||
globals is allowed and does not create a function capture. Closures can still be
|
||||
created and used in the body. Markers accept no arguments, cannot combine with
|
||||
another lifecycle marker and may accompany existing Doc metadata.
|
||||
|
||||
Each role is independently optional, with at most one distinct declaration in
|
||||
the compiled image, including imports. No colocation with Frame is required.
|
||||
Repeated imports and reexports preserve the original declaration's identity.
|
||||
Function names do not select roles; an unmarked function named BeforePause is
|
||||
ordinary. A direct call to preparePause is also ordinary and does not request an
|
||||
OS transition or acquire a controlled-call context.
|
||||
|
||||
BeforePause/BeforeResume lower to existing role bytes 1/2. Init, Frame, ordinary
|
||||
functions and physical entry zero retain role None. The selected targets and
|
||||
their dependencies are externally entered retention roots, even without source
|
||||
callers. MemcardBoot selection/bootstrap/persistence remain a separate scope;
|
||||
there is no termination hook or new lifecycle syscall.
|
||||
|
||||
## Implementation result
|
||||
|
||||
The PBS AST/parser recognizes both markers and rejects invalid declaration
|
||||
targets, arguments and lifecycle combinations. Source semantic validation checks
|
||||
empty nongeneric signatures; project validation detects distinct conflicting
|
||||
targets and reports their names/locations. Canonical source spans distinguish a
|
||||
new declaration from the same declaration encountered repeatedly.
|
||||
|
||||
PbsRuntimeTypes emits the role in typed FunctionMetadata. Existing common
|
||||
assembly, lowering, optimization, linking and PBX writing preserve that metadata
|
||||
and retain the functions/callees. The common writer independently rejects
|
||||
captures, invalid typed signatures, duplicate roles and physical entry-zero
|
||||
targets. It consumes neutral roles rather than PBS ASTs or names.
|
||||
|
||||
Editorial token classification recognizes both attributes. The installed
|
||||
knowledge package includes the updated English specs, both hooks in the complete
|
||||
example and a lifecycle guide. The installed-JAR gate compiles the example and
|
||||
checks exactly one target per role. No runtime source or commit was needed.
|
||||
|
||||
## Execution model and qualification
|
||||
|
||||
Home's existing gameplay handoff precedes BeforePause and suspension. Reactivation
|
||||
precedes BeforeResume; normal gameplay becomes eligible after the hook's outer
|
||||
return. Controlled calls use the same stacks, globals and heap roots and restore
|
||||
the interrupted continuation. Init and its guard are not restarted.
|
||||
|
||||
The runtime owns 1,500,000 total virtual cycles per controlled invocation, in
|
||||
slices of at most 250,000 admitted cycles with whole-instruction overshoot.
|
||||
Slices/debugger stops do not renew fuel. FRAME_SYNC traps inside a controlled
|
||||
hook or its callees before frame publication. Fatal trap/fuel failure blocks
|
||||
gameplay through the existing crash path. There is no automatic save, rollback,
|
||||
compensation or wall-clock timeout.
|
||||
|
||||
Qualification used runtime `dcf6561ea73446e0a3e1cf1c73eda20923b38df0`, a clean
|
||||
checkout, on local macOS arm64. Both Rust dev/release profiles executed ordinary
|
||||
and optimized producer images. Seventeen actual PBS-produced images cover both,
|
||||
each and neither hook, ordinary calls, successful multi-slice execution, fatal
|
||||
trap/fuel, and an actual import/alias/reexport project. Two explicitly synthetic
|
||||
binary fixtures cover direct/transitive sync because PBS has no sync syntax.
|
||||
|
||||
The production Firmware/SystemOS foreground path ran on the standard
|
||||
TestPlatform hardware. It checked ordered guest effects, preserved PC, game
|
||||
session tick/frame counters, global/heap state and one Init execution. Direct
|
||||
suspension and Shell handoff added no reaction tick. A partial-frame VM check
|
||||
retained its operand and call frame while both hooks executed. Breakpoint and
|
||||
instruction stepping used the retained total fuel budget. Failure replays made
|
||||
zero subsequent VM steps and produced no additional gameplay frame.
|
||||
|
||||
The guest observation encodes `trace * 10000 + initCount * 100 + heapValue`:
|
||||
|
||||
| Hooks | Trace | Init count | Heap value | Expected observation |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| Both | 23 | 1 | 12 | 230112 |
|
||||
| Pause only | 2 | 1 | 9 | 20109 |
|
||||
| Resume only | 3 | 1 | 10 | 30110 |
|
||||
| Neither | 0 | 1 | 7 | 107 |
|
||||
|
||||
Probe calls are terminal observations after all continuation/frame assertions;
|
||||
they do not instrument or replace the foreground lifecycle path.
|
||||
|
||||
Full Gradle regression and installedKnowledgeTest passed, along with source,
|
||||
semantic/editorial, common Registry/PBX and lifecycle-assembly tests. Commands,
|
||||
suite summaries, profile logs and source/fixture hashes are retained in
|
||||
[evidence](evidence/summary.json). This is local lifecycle qualification;
|
||||
reference-game/installed-runtime qualification remains DSC-0086 and persistence
|
||||
remains DSC-0085. Other platforms are not claimed by this evidence.
|
||||
|
||||
## Pitfalls and reusable patterns
|
||||
|
||||
- **Source selection is not invocation.** Preserve normal function-call behavior;
|
||||
only the OS-controlled boundary changes the execution context.
|
||||
- **No caller does not mean dead.** A runtime role is an external entry edge.
|
||||
Verify final optimized bytes and execution, not just parser acceptance.
|
||||
- **Zero captures does not prohibit globals or internal closures.** Validate the
|
||||
target environment rather than banning ordinary language facilities.
|
||||
- **Count declarations, not import appearances.** Cross-file uniqueness must
|
||||
reject distinct targets while accepting an alias/reexport of the original.
|
||||
- **Check physical IDs after linking.** Frontends select stable callable identity;
|
||||
the common linker/writer validates final entry-zero exclusion.
|
||||
- **Observe the retained session after failure.** A crash activates another UI
|
||||
context. Reading an active-foreground telemetry facade can return the UI's zero
|
||||
counters and produce a false lifecycle failure. Read the game's session counters.
|
||||
- **Keep synthetic instruction tests explicit.** A binary sync oracle qualifies
|
||||
runtime rejection without advertising unsupported PBS syntax.
|
||||
- **Separate producer and provider variants.** Optimized PBS and release Rust are
|
||||
two independent dimensions; qualify both instead of using one as a substitute.
|
||||
|
||||
## References
|
||||
|
||||
- [Static source contract](<../../../docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md>).
|
||||
- [Dynamic execution contract](<../../../docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md>).
|
||||
- [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).
|
||||
- [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).
|
||||
@@ -0,0 +1,32 @@
|
||||
# Lifecycle qualification evidence
|
||||
|
||||
Owner: compiler/pbs, propagating to compiler/general and Studio. Completed under
|
||||
DEC-0081 / PLN-0159. `summary.json` records revision, platform/configuration,
|
||||
commands, results, JUnit suites and the distinction between producer/runtime
|
||||
profiles. All recorded checks completed with exit code zero.
|
||||
|
||||
The source corpus contains 17 production PBS images (eight scenarios in ordinary
|
||||
and optimized form, plus a real workspace import/alias/reexport image). Two
|
||||
separate synthetic PBX images cover direct and transitive FRAME_SYNC rejection.
|
||||
The mandatory runtime driver fails if an expected fixture or probe index is absent.
|
||||
|
||||
- `frontend.log.gz`: focused source diagnostics and editorial classification.
|
||||
- `regression-and-installed.log.gz`: complete Gradle regression and installed-JAR
|
||||
example compilation/metadata validation.
|
||||
- `runtime-dev.log.gz`, `runtime-release.log.gz`: production VM/firmware execution,
|
||||
ordered guest effects, retained state/PC/frames, foreground transitions and
|
||||
failure/budget/debugger checks for both producer variants.
|
||||
- `TEST-*.xml.gz`: final focused source-corpus result, including project imports.
|
||||
- `sources.sha256`: final implementation, test, harness and normative doc hashes.
|
||||
- `fixtures.sha256`: generated PBS sources, PBX images and terminal probe indices.
|
||||
- `SHA256SUMS`: hashes of retained evidence files.
|
||||
|
||||
The full Gradle check preceded a final test-only addition of unmarked functions
|
||||
named BeforePause/BeforeResume to the lifecycle corpus. Its focused regeneration
|
||||
and both final runtime profiles passed afterward; production code was unchanged.
|
||||
|
||||
The runtime checkout stayed clean and uncommitted. Local macOS arm64 is the
|
||||
qualified platform. Installed runtime/reference-game qualification (DSC-0086)
|
||||
and MemcardBoot/persistence (DSC-0085) remain separate. The installed example was
|
||||
compiled from installed JARs and its role metadata checked; this does not claim an
|
||||
installed runtime process test.
|
||||
@@ -0,0 +1,10 @@
|
||||
2c4e57abf13882fb1cf661ed877e37f5e44225b0395fe83a3836e44678b518b4 README.md
|
||||
e520456a82c905db92598e4a314b1614d409358674e73d0dcd61416b146d3c6d TEST-p.studio.compiler.backend.irvm.PbsGuestLifecycleTest.xml.gz
|
||||
638814b1afabc2e156de2eb6f018400aab7fea2c9b69c7f956ab16251dd5ed60 fixtures.sha256
|
||||
ceb059e502313f0327e0560a4532c57f4a341776d054fee1558c54e6de82c4b1 frontend.log.gz
|
||||
44619de3dcc5ca667a2dbe951146eba0cf21a919f8d0a1610dc5fec8ade1f33d regression-and-installed.log.gz
|
||||
cd7051255fed7a2760fbec8be05b9e8a98b224f704828a26e28ee71097810bbf runtime-dev.log.gz
|
||||
3bd1c9aceb4a05bfcd5ddaa4a1d8e2ed96270e3666b7f4ce46a91f7e7bf902ee runtime-release.log.gz
|
||||
bd704a8fe37c15f2b404c3924e49b06f5a8b3a1e389be9252cd3dae953b67f7a sources.sha256
|
||||
867e02d58fcd451a68a54c59ae63e0d57d2c08fc79861d5d0d8b20ee832b5d81 summary.json
|
||||
d7e7bdfdb38395e54163d7b9d24d7a6f1ce5fb5d017feac63c6e0fc463c7afaf workflow.txt
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,43 @@
|
||||
5c2246b38f41115a78a218e18df97100c88766d493618337784d51e91bdd35a1 pbs-lifecycle-both-optimized.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-both-optimized.probe
|
||||
50b428366203d8f48821af5c83235aa1022d284f7575152f75ff266b6299fefd pbs-lifecycle-both.pbs
|
||||
6d4de740a607f6f330fb7e54144a0163ba49f9a2a206a8276f01ae89d96866be pbs-lifecycle-both.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-both.probe
|
||||
07e4f1ce2de6003b54b4b892ca8999eedb6cd57758fece362f97cb8da205599c pbs-lifecycle-direct-optimized.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-direct-optimized.probe
|
||||
ed4ac88be81337c387e315bd1124a66c7beda2723b72a5a9a8d81e0740a0d562 pbs-lifecycle-direct.pbs
|
||||
6ca68fdfa58e57eab8a29a88f39f0ff14913b15df5ef2ff77ed793140b65c92f pbs-lifecycle-direct.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-direct.probe
|
||||
c24146b38d7d588b6c0d8d5e08add0f884b5b2bc580633bad150c6d0c47814ca pbs-lifecycle-fuel-optimized.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-fuel-optimized.probe
|
||||
8b747f16681b209f6ba05ecd41eba266824938fe446a31ddf55d29115c79a563 pbs-lifecycle-fuel.pbs
|
||||
ce037c0e3206add2f07a47ba55276016915cd431f2051b2f9a9082e6bfb3ef78 pbs-lifecycle-fuel.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-fuel.probe
|
||||
dddc982653e21944186c4825839bd6c016e96fad5163dd952ce5785575e818af pbs-lifecycle-imports.pbx
|
||||
889a67c478fb1e7d369bf3c7cef4074033ab9fee7e18d28a7d85b9b2d33ae2b5 pbs-lifecycle-none-optimized.pbx
|
||||
4fc82b26aecb47d2868c4efbe3581732a3e7cbcc6c2efb32062c08170a05eeb8 pbs-lifecycle-none-optimized.probe
|
||||
5cb251da8ea307dd541698651393f2beb38c7cee19aafd074fdca509f0630ef0 pbs-lifecycle-none.pbs
|
||||
8dddca4ceedd591f4189d7855f9bd679642969821000f5bfb82e14fcafd92adc pbs-lifecycle-none.pbx
|
||||
4fc82b26aecb47d2868c4efbe3581732a3e7cbcc6c2efb32062c08170a05eeb8 pbs-lifecycle-none.probe
|
||||
6bf05d7060e7a1d56db90a8af65159fc960396f462bd0f8527b0387e5dd87508 pbs-lifecycle-pause-optimized.pbx
|
||||
6b51d431df5d7f141cbececcf79edf3dd861c3b4069f0b11661a3eefacbba918 pbs-lifecycle-pause-optimized.probe
|
||||
15f6aa8662ed1554e585dd2420bfd276e526384fbdc255d75247688070684282 pbs-lifecycle-pause.pbs
|
||||
34bfe4bd10f3b1520857ad8155f0ee5cb7948f11e69692e6595f2cf442293f1c pbs-lifecycle-pause.pbx
|
||||
6b51d431df5d7f141cbececcf79edf3dd861c3b4069f0b11661a3eefacbba918 pbs-lifecycle-pause.probe
|
||||
6549eb46d2080018054e2c4f2103493a02174b1734951b5d1296c1087e27cd83 pbs-lifecycle-resume-optimized.pbx
|
||||
6b51d431df5d7f141cbececcf79edf3dd861c3b4069f0b11661a3eefacbba918 pbs-lifecycle-resume-optimized.probe
|
||||
d4102af8845a3d744050570aaf51db9b316d226dac39e6da52661f24e61d6313 pbs-lifecycle-resume.pbs
|
||||
408b88e8be1b42ca2491b6316a0ef66c493792114b0d2089f31cd1ce95f65a27 pbs-lifecycle-resume.pbx
|
||||
6b51d431df5d7f141cbececcf79edf3dd861c3b4069f0b11661a3eefacbba918 pbs-lifecycle-resume.probe
|
||||
9c4f993115ceb999ddbba679e3368eba1e219dcf05becf8b2a57a1ee9d15ee0e pbs-lifecycle-slices-optimized.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-slices-optimized.probe
|
||||
a9aa1216c5d86e82e40fd5606147b17fad80d0b4c46462d8756747142fcbf52f pbs-lifecycle-slices.pbs
|
||||
8fa567dafcd4af866991546ee73fdba47e4d0fbaa07ae83d21e814385af84f38 pbs-lifecycle-slices.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-slices.probe
|
||||
f7090ddffc7a9292e740e883bc67b6fccce7afa5961fa1419a650a0689163e22 pbs-lifecycle-trap-optimized.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-trap-optimized.probe
|
||||
103b2afa4ad1d35fda95d17ff91512cca916bd60cc4b9d4c274382c5741ebfe2 pbs-lifecycle-trap.pbs
|
||||
1189b68937613f275c8bedd71d9c002a717a0b10af36561d22cbddd8be2dc548 pbs-lifecycle-trap.pbx
|
||||
3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278 pbs-lifecycle-trap.probe
|
||||
1e9d96319edace744d5beb7668759ce31561334118fa74f5cc14895d34003514 synthetic-lifecycle-sync-direct.pbx
|
||||
f3cb6eedacec1ea0680422d63df61199bd8e5e6b8682d2aff892cbd5a5d2c2ec synthetic-lifecycle-sync-transitive.pbx
|
||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
a42de4571212c8dff1eef91d23c0dba601775f6e0d7955ee4b9b17f6befff274 docs/compiler/general/specs/typed-registry-and-pbx-v0.md
|
||||
63b86268963c8e55a1c696b4d94336e6b7eebcdff4b42c1f779689f5d105dd6d docs/specs/compiler-languages/pbs/11. AST Specification.md
|
||||
2b00db5545a94c8da9924b8199941531e28745d6fdb98661f2483bf2902d286d docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md
|
||||
e92272412d581986bf5fb7cea3d946847422f9ba3bd7c01d6684fd2d84810dc3 docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md
|
||||
e0e81be40ddac4494e8cf0507dd63f95e2f0e88908b75ec9b62a545d40f393c4 docs/specs/compiler-languages/pbs/3. Core Syntax Specification.md
|
||||
40da42be54056b54edc33c83696315fa48df9b34d97e049b8369ce8c20a3be15 docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md
|
||||
73aba41215252a1397c1d0257d4133aca2dba2b28ce9c946bc79b466e5587c5d docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md
|
||||
35c5df2652f4d1573854f6d57fa11b21dc8cb3eb952298f7dc2b500852a0293f docs/specs/compiler/16. Runtime Execution and Initialization Specification.md
|
||||
6c9f5337ce5aa22a455c5e4dbb76206f69a5ff0b9e4110c3792ec6e8f98e7aa6 docs/specs/compiler/19. Verification and Safety Checks Specification.md
|
||||
d8d45d9a8c48ef13b180255bf261847cfed34704a6c63d4ed4a75c80665322e7 docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md
|
||||
4ecdc9be93b98c016b339ead2e4e90c1785467e844fb68cbf84017052b99074d prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java
|
||||
18f948fb3c87167b8521e28d32a77cad1fab1ed4ab12395f86f12274f3eedb88 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java
|
||||
2b8d17e5ba0145e880af4bc76d4ffe56f20094a0528701069edaf790f61d97e1 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSSemanticTokenProvider.java
|
||||
0e0e08da348a921cc0e4ec17e61fcbdd713811bef7bd31dee1738b8666cd83cd prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAst.java
|
||||
063951bf7ebc9618c1e7868cb44275d4ea01894be94fa4cf4fd9989ebf6173f3 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java
|
||||
02dd5c624df3530054ff35a191fbdac67831c89ef737c59044a1c3cc8b2497d7 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java
|
||||
17e43cc02a33af36debb05f0af237d05813f61b9cbef15d23d96cc7722819c38 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsDeclarationSemanticsValidator.java
|
||||
e31d7159badadbcd3ef5367e72ca6366f91f90a89e9be95d3fcde0115087f246 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsLifecycleSemanticsValidator.java
|
||||
26f56b90f647fe8870ae69efe436599ace45358ae7b00536381ee17014217163 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsSemanticsErrors.java
|
||||
1390df356accad8c02cf48de94b5d8e34cb7c8cb3843420120cfe2b0f72adac4 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsProjectLifecycleSemanticsValidator.java
|
||||
fc078b7f68be79179bddfeeee744e05bf299c32f0ae1352be628a4b4a82a8669 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/LIFECYCLE.md
|
||||
eea76258ef59e43be782bba2813e9398952fe97a224e2011f5b8ffbf16bfccae prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/lifecycle.pbs
|
||||
75c5e944a7ca74896cbe526ad5ec40ab64ed8779e2abc22e5c325232c16bbdd5 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/mod.barrel
|
||||
bafc27685be973fe8d68d16620bab7fabe43e061a84b9f8421bdb5c373257b17 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsGuestLifecycleSemanticsTest.java
|
||||
b5e119757386885f332ebd7cbcc335de07ac479f0baa4482b2f9e19aa66bed18 prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/registry/PbxRegistryConformanceTest.java
|
||||
d366e5e5fb34f80cee5eca654c44b26f5a1f2189ecf0550a3aaf0b4637967fd8 tools/pbx-conformance/README.md
|
||||
68e0a22927e79c6081da7bdf13c2d51f0c3481f1da25df7968085a95e0fc71fb tools/pbx-conformance/lifecycle.rs
|
||||
ab99510c78976e62047c88fd0c0f11e16b8bdb66c3a9b6632b263581a7c92528 tools/pbx-conformance/main.rs
|
||||
29e621bb09f768dcd1cd11a69b338f099e378bfc05ab27fd5cacf69141da7803 tools/pbx-conformance/run.py
|
||||
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"recorded_at_utc": "2026-10-28T09:06:34.710754+00:00",
|
||||
"discussion": "DSC-0084",
|
||||
"decision": "DEC-0081",
|
||||
"plan": "PLN-0159",
|
||||
"owners": [
|
||||
"compiler/pbs",
|
||||
"compiler/general",
|
||||
"studio"
|
||||
],
|
||||
"studio_revision": "eb7d6a23988b2e13ab1e91b7663abbd7ab983f4c",
|
||||
"studio_working_tree": "task changes identified in sources.sha256",
|
||||
"runtime_revision": "dcf6561ea73446e0a3e1cf1c73eda20923b38df0",
|
||||
"runtime_working_tree": "clean",
|
||||
"platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
|
||||
"architecture": "arm64",
|
||||
"capabilities": "NONE",
|
||||
"limits": "production defaults",
|
||||
"features": [
|
||||
"resource-diagnostics"
|
||||
],
|
||||
"checks": {
|
||||
"frontend": {
|
||||
"command": "./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test --tests '*PbsGuestLifecycleSemanticsTest' --console=plain",
|
||||
"exit_code": 0
|
||||
},
|
||||
"source_corpus": {
|
||||
"command": "./gradlew :prometeu-architecture-tests:test --tests '*PbsGuestLifecycleTest' --console=plain",
|
||||
"exit_code": 0
|
||||
},
|
||||
"regression_and_installed": {
|
||||
"command": "./gradlew test :prometeu-app:installedKnowledgeTest --console=plain",
|
||||
"exit_code": 0
|
||||
},
|
||||
"runtime_dev": {
|
||||
"command": "python3 tools/pbx-conformance/run.py --runtime ../runtime --lifecycle-only",
|
||||
"exit_code": 0
|
||||
},
|
||||
"runtime_release": {
|
||||
"command": "python3 tools/pbx-conformance/run.py --runtime ../runtime --lifecycle-only --release",
|
||||
"exit_code": 0
|
||||
},
|
||||
"workflow": {
|
||||
"command": "discussion validate",
|
||||
"exit_code": 0
|
||||
},
|
||||
"whitespace": {
|
||||
"command": "git diff --check",
|
||||
"exit_code": 0
|
||||
}
|
||||
},
|
||||
"junit_suites": {
|
||||
"prometeu-architecture-tests/build/test-results/test/TEST-p.studio.compiler.backend.irvm.PbsGuestLifecycleTest.xml": {
|
||||
"tests": 3,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"prometeu-compiler/prometeu-build-pipeline/build/test-results/test/TEST-p.studio.compiler.backend.registry.PbxRegistryConformanceTest.xml": {
|
||||
"tests": 18,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"prometeu-compiler/prometeu-build-pipeline/build/test-results/test/TEST-p.studio.compiler.workspaces.stages.AssembleLifecyclePipelineStageTest.xml": {
|
||||
"tests": 3,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"prometeu-compiler/prometeu-build-pipeline/build/test-results/test/TEST-p.studio.compiler.lifecycle.LifecycleAssemblerServiceTest.xml": {
|
||||
"tests": 10,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/build/test-results/test/TEST-p.studio.compiler.services.PbsGuestLifecycleSemanticsTest.xml": {
|
||||
"tests": 3,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
}
|
||||
},
|
||||
"runtime_profiles": [
|
||||
"dev",
|
||||
"release"
|
||||
],
|
||||
"producer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"source_pbx_images": 17,
|
||||
"synthetic_sync_pbx_images": 2,
|
||||
"known_limits": [
|
||||
"Local macOS arm64 qualification only",
|
||||
"Installed JAR example compiled and role metadata checked; final installed runtime/reference-game qualification belongs to DSC-0086",
|
||||
"MemcardBoot/persistence remain DSC-0085"
|
||||
],
|
||||
"workflow_cli_gap": "The CLI exposes no next-lesson counter query; metadata counter was read without manual index mutation. Lesson registration and allocation remain discussion housekeep operations.",
|
||||
"source_files": 29,
|
||||
"workflow_status": "done",
|
||||
"lesson": "LSN-0097",
|
||||
"runtime_working_tree_after": "clean"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
Discussion: DSC-0084
|
||||
Status: done
|
||||
Ticket: pbs-guest-lifecycle-hooks
|
||||
Title: PBS Guest Lifecycle Hooks
|
||||
Tags: runtime-integration
|
||||
|
||||
Active artifacts:
|
||||
- LSN-0097 (lessons, done, present): discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/LSN-0097-explicit-guest-hooks-and-preserved-continuations.md
|
||||
|
||||
Suggested next actions:
|
||||
- none
|
||||
|
||||
Final discussion validate: validation passed
|
||||
Final git diff --check: passed
|
||||
+196
@@ -0,0 +1,196 @@
|
||||
---
|
||||
id: LSN-0099
|
||||
ticket: studio-memcard-persistence-integration
|
||||
title: Explicit buffers and process-proven persistence
|
||||
created: 2026-10-30
|
||||
tags: [studio, compiler, pbs, memcard, runtime-integration]
|
||||
---
|
||||
|
||||
## Original problem and ownership
|
||||
|
||||
Owner: Studio, with propagation to compiler/pbs and compiler/general. A native
|
||||
memcard ABI alone did not give a saved-source game a stable cartridge identity,
|
||||
an admitted bootstrap, usable byte storage or a supported installed-process route.
|
||||
The runtime already owned physical storage, admission, asynchronous publication,
|
||||
player choices and recovery. Reimplementing those policies in Studio would have
|
||||
created a second host rather than an integration.
|
||||
|
||||
Historical decision DEC-0083, including the explicitly approved MemcardBuffer
|
||||
revision D5a, was executed through PLN-0161 from AGD-0087. The normative results
|
||||
live in the linked specifications. The runtime provider independently delivered
|
||||
its public host extension; Studio then consumed that published contract. This
|
||||
lesson consolidates the completed work rather than changing its requirements.
|
||||
|
||||
## Identity belongs in versioned source; media selection does not
|
||||
|
||||
`prometeu.json` carries an explicit integral uint32 `app_id` and optional integral
|
||||
`memcard_slots` in 1..64. Slot declaration, capability, imports and exactly one
|
||||
bootstrap role must form a coherent image. Invalid or partial configuration fails
|
||||
before launch. Ordinary projects keep their existing flow.
|
||||
|
||||
New Studio projects persist their initial identity. A legacy project adopts its
|
||||
previous generated ID once, atomically, preserving unknown source JSON fields.
|
||||
Subsequent rename/version/language/stdlib changes do not regenerate it. Copying
|
||||
the manifest copies the game's identity; a distinct game needs a different ID.
|
||||
This prevents a routine upgrade from looking like a different save owner.
|
||||
|
||||
The image stays outside build output. Both Debug and headless default to
|
||||
`.studio/memcard.pmc`; local `.studio/setup.json` may explicitly select another
|
||||
`memcardPath`, including a shared external image. A per-session headless mount
|
||||
may override it explicitly. Debug forwards the provider's `--memcard` option.
|
||||
Neither launching nor a missing file implies permission to create or replace it.
|
||||
The runtime creates, mounts, locks and reconciles media.
|
||||
|
||||
## A byte buffer is a distinct source contract
|
||||
|
||||
Ordinary PBS arrays preserve vacant elements and optional reads using
|
||||
Array<Dynamic> storage. Runtime mem byte transfers require concrete Array<Int32>.
|
||||
Changing every array to satisfy one ABI would break ordinary language semantics.
|
||||
|
||||
`sdk.mem` therefore exports an opaque, origin-verified `MemcardBuffer`:
|
||||
|
||||
```pbs
|
||||
import {Mem, MemcardBuffer} from @sdk:mem;
|
||||
|
||||
let bytes = new MemcardBuffer(4);
|
||||
bytes.write(0, 0);
|
||||
bytes.write(1, 127);
|
||||
bytes.write(2, 128);
|
||||
bytes.write(3, 255);
|
||||
```
|
||||
|
||||
Capacity is an int in 0..4096, fixed and initially zeroed. `capacity()`,
|
||||
`read(index)` and `write(index,value)` use int; writes accept only 0..255.
|
||||
Invalid capacity/index/value traps before mutation. Reference copies alias the
|
||||
same native array, including function parameters and captured references.
|
||||
Successful reads from a slot mutate the same buffer and preserve bytes outside
|
||||
the returned range. No Struct wrapper, Dynamic boxing, adapter copy, runtime
|
||||
BuiltinId or syscall was introduced. User spelling cannot forge the SDK origin.
|
||||
|
||||
The buffer serves both private slot payloads and public icons. A slot is logical
|
||||
save identity, not a buffer object. Presentation supplies public title, format
|
||||
version and icon; the runtime owns publication. No general serialization codec
|
||||
or implicit autosave is part of this integration.
|
||||
|
||||
## Bootstrap is explicit data across the compiler boundary
|
||||
|
||||
PBS selects `[MemcardBoot]` on a unique canonical top-level nongeneric
|
||||
`(context: long) -> int` function without captures. Imported/reexported references
|
||||
to the same declaration do not create competing hooks. The target and its
|
||||
dependencies are retention roots, published as nonzero FunctionId/Registry role 3.
|
||||
|
||||
The frontend requests a neutral host bootstrap through common lifecycle IR.
|
||||
Common assembly emits `mem.bootstrap@1` after all initializers and before the
|
||||
first Frame, inside the once-per-boot guard. It does not inspect PBS marker names
|
||||
or invoke the hook directly. The runtime owns admission and controlled-call fuel.
|
||||
Pause/resume preserves the session rather than rerunning Init or bootstrap.
|
||||
|
||||
A bootstrap commit must not be busy-waited: registration is provisional until
|
||||
READY. The installed opt-in example instead submits in Frame, polls across
|
||||
frames, distinguishes terminal states and releases its retained result.
|
||||
|
||||
## Status-first results must survive the facade
|
||||
|
||||
All fourteen operations retain the exact `mem@1` imports, argument/result order
|
||||
and capability. Numeric context/request/status/domain results are long, bootstrap
|
||||
is int, flags are bool and bytes are MemcardBuffer. In particular,
|
||||
`slot_stat.has_payload` is numeric 0/1, while dirty/info flags are bool.
|
||||
|
||||
On a domain failure, unused native result positions are Null. A conventional
|
||||
typed wrapper RET validated those payload positions before the caller could
|
||||
inspect status. The trusted SDK HostForward path therefore emits the exact host
|
||||
call at the facade callsite, preserving positional/named evaluation and result
|
||||
ordering without that intermediate RET. Check status before reading any payload.
|
||||
The seven slot_stat results are source-grouped under `stat.durable` without
|
||||
changing their flattened ABI slots.
|
||||
|
||||
Native request IDs are opaque; registration can already have used one. Query
|
||||
state, deadline reason, dirty RAM and worker activity are distinct observations.
|
||||
Only SUCCESS establishes durable success. MEMORY_ONLY is completion without a
|
||||
disk claim; INDETERMINATE is not a proven rollback. Releasing a retained result
|
||||
does not imply that outstanding IO relinquished its resources.
|
||||
|
||||
## Published host controls preserve user decisions
|
||||
|
||||
Memcard use explicitly negotiates protocol 1.1 and capability `memcard` from the
|
||||
configured installation. Ordinary projects retain 1.0 compatibility. Studio does
|
||||
not infer support from runtimeVersion or invent flags or a second transport.
|
||||
|
||||
After a successful task build, an MCP boot can explicitly prepare/open media:
|
||||
|
||||
```json
|
||||
{"projectRoot":"/absolute/project","taskId":"current-task","buildId":"current-build","memcard":{"action":"open","access":"read_write"},"memcardChoice":"persistent"}
|
||||
```
|
||||
|
||||
Omitted image path uses the local selection. Deliberate first creation is
|
||||
`action:create`; open errors never trigger create or a RAM fallback.
|
||||
`memory_fresh` and `memory_existing` are explicit alternative choices. Native
|
||||
state, idle mount/unmount, same-card reconcile and continuation in memory are
|
||||
projected through the existing supervised session; the runtime retains policy.
|
||||
|
||||
Reset/shutdown forward explicitly supplied `discardUnsaved` and
|
||||
`pendingWrites:wait/cancel`. A native refusal becomes MEMCARD_ERROR with the
|
||||
original operation/reason/state and keeps the process/channel/session usable.
|
||||
The caller may inspect it and make a later explicit decision. An advance stopped
|
||||
for media action becomes ACTION_REQUIRED with known progress, not session loss.
|
||||
|
||||
Human reclaim first attempts protected shutdown without discard consent. A
|
||||
refusal keeps manual mutation locked and shows native diagnostics. DEV offers a
|
||||
separately confirmed discard of remaining game RAM and cancellation of admitted
|
||||
writes before retrying cleanup. Canceling sends no consent. Stop, release,
|
||||
timeout and process death never imply that a publication did not happen.
|
||||
|
||||
## Final qualification and reproducibility
|
||||
|
||||
Source/PBX tests, native production-host tests and installed-process tests answer
|
||||
different questions. A file remount between Firmware objects proves native
|
||||
behavior but does not qualify a client consuming a distributed executable.
|
||||
|
||||
The process gate builds actual PBS through the production compiler and Studio
|
||||
shipper. A writer observes native terminal commit SUCCESS and exits. Separate
|
||||
reader processes reopen the same image, check exactly 00 7f 80 ff in bootstrap,
|
||||
then render an observable oracle. The reachable reader entry/role call graph has
|
||||
no saving or presentation calls, its native request stays null, and the entire
|
||||
image remains byte-identical. A further reader upgrades app_version from 1 to 2
|
||||
while retaining app_id 4294967295. Both PBS optimizer variants pass against
|
||||
runtime dev/release binary layouts and an independently extracted distribution.
|
||||
|
||||
The same gate proves explicit memory-only admission, missing-file open without
|
||||
creation, protected reset/shutdown refusal, deliberate discard, default-path
|
||||
create/unmount and structured recovery refusal outside a suspended session.
|
||||
Unit/MCP tests retain native state and full uint64 string IDs; actual JavaFX tests
|
||||
exercise canceled and accepted discard confirmation. Full regression and installed
|
||||
knowledge checks pass. [Evidence and commands](evidence/summary.json) distinguish
|
||||
every route, including source hashes, profiles and binary/archive fingerprints.
|
||||
|
||||
Qualification consumed the existing provider delivery on baseline dcf6561,
|
||||
identified by exact per-file hashes. During finalization the provider independently
|
||||
committed it as a4bec5bc4577850543f57c79f5124ca00169e1b3; all recorded provider
|
||||
source hashes still match and its final working tree is clean. Studio performed
|
||||
no runtime source/configuration writes or commits. Qualification
|
||||
is on macOS arm64; physical power-cut, other platforms and the full reference-game
|
||||
Build/Play/UI/MCP deployment remain outside this capacity and belong to DSC-0086.
|
||||
|
||||
## Pitfalls to avoid
|
||||
|
||||
- Regenerating app_id when version or title changes disconnects existing saves.
|
||||
- Treating Array<Dynamic> and concrete native byte arrays as interchangeable
|
||||
hides a real storage contract and breaks vacancy semantics.
|
||||
- A typed facade may trap before a caller checks a failed native status.
|
||||
- Native remounts, successful compilation or advance acknowledgements do not
|
||||
prove durable persistence through the installed process interface.
|
||||
- A retained terminal result does not prove active IO; an IO timeout does not
|
||||
prove publication failed. Preserve the runtime's separate observations.
|
||||
- Killing a process after a native shutdown refusal removes the opportunity for
|
||||
an explicit decision. Refusal must preserve the session; escalation after an
|
||||
actual transport failure must report uncertainty rather than durable failure.
|
||||
|
||||
## References
|
||||
|
||||
- [PBS Memcard Bootstrap and SDK](<../../../docs/specs/compiler-languages/pbs/26. Memcard Bootstrap and SDK Specification.md>).
|
||||
- [Typed Registry and PBX](<../../../docs/specs/compiler/25. Typed Registry and PBX v0 Specification.md>).
|
||||
- [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).
|
||||
- [Independent runtime provider lesson](../../../../runtime/discussion/lessons/DSC-0068-memcard-public-host-persistence/LSN-0073-public-persistence-is-a-process-and-ownership-contract.md).
|
||||
@@ -0,0 +1,42 @@
|
||||
# Memcard integration evidence
|
||||
|
||||
Owner: Studio, with compiler/pbs and compiler/general propagation. Final result:
|
||||
all accepted D1..D7 criteria executed. [Summary](summary.json) identifies exact
|
||||
provider source, binaries, schemas, producer artifacts, platform and commands.
|
||||
|
||||
- `final-regression-and-dist.log`: full regression, installed knowledge, real DEV
|
||||
JavaFX tests, memcard process proof and existing headless process compatibility.
|
||||
- `process-dev.log`, `process-release.log`, `process-dist.log`: actual PBS/Studio
|
||||
shipper/Gateway sessions using the configured executable, both optimizer
|
||||
variants and separate writer/reader processes across versions 1 and 2. Logs
|
||||
identify each PBX/source/manifest and unchanged image hash. Dev/release folders
|
||||
contain isolated development binary layouts; only dist is an extracted archive.
|
||||
- `native-dev.log`, `native-release.log`: 46 observations each against production
|
||||
Firmware/SystemOS/FileMemcard, including the installed-JAR-produced fixture.
|
||||
These observations are deliberately separate from OS-process persistence proof.
|
||||
- `regression-and-ui.log`, `headless-focused.log`: consumer protocol/MCP/authority
|
||||
and UI confirmation checks during implementation.
|
||||
- `history-2026-10-29/`: historical initial carrier failure and successful buffer
|
||||
qualification before the provider's public process extension. Old pending-gate
|
||||
text and clean-provider claims in this directory refer only to that earlier date.
|
||||
|
||||
Final ordinary regression: 1,118 tests across 201 suites, zero failures/errors,
|
||||
13 skipped. Installed knowledge: 2 passed. JavaFX DEV: 5 passed. Existing configured
|
||||
headless: 4 passed. Memcard process: 2 passed in each of dev, release and dist.
|
||||
Native production-host: 46 observations in each runtime profile.
|
||||
|
||||
Runtime source/configuration files and commits were not modified by this work.
|
||||
The selected provider was an existing delivery whose exact source hashes match
|
||||
runtime DSC-0068/LSN-0073 evidence. It was uncommitted during qualification and was
|
||||
independently committed during finalization as a4bec5bc4577850543f57c79f5124ca00169e1b3;
|
||||
the recorded source hashes still match and its final working tree is clean.
|
||||
Binary and archive hashes identify
|
||||
the extracted installation separately from its source baseline commit.
|
||||
|
||||
The discussion CLI manages completion/index/artifact removal. It has no evidence
|
||||
relocation operation, so the old workflow evidence directory was moved here before
|
||||
CLI housekeeping. `discussion validate` passed before and after housekeeping;
|
||||
`git diff --check` passed. Local lesson/spec/memcard-handoff references resolve.
|
||||
|
||||
No other-platform, physical power-cut or complete reference-game deployment claim
|
||||
is made. DSC-0086 retains the latter qualification.
|
||||
+246
@@ -0,0 +1,246 @@
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava
|
||||
> Task :prometeu-studio-ui-javafx:compileJava
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes
|
||||
> Task :prometeu-app:jar
|
||||
> Task :prometeu-app:compileTestJava
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes
|
||||
> Task :prometeu-studio-api:jar
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes
|
||||
> Task :prometeu-studio-core:jar
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
> Task :prometeu-app:test
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses UP-TO-DATE
|
||||
> Task :prometeu-app:jacocoTestReport
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-infra:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-infra:processTestResources NO-SOURCE
|
||||
> Task :prometeu-infra:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:test UP-TO-DATE
|
||||
> Task :prometeu-infra:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-api:test
|
||||
> Task :prometeu-studio-api:jacocoTestReport
|
||||
> Task :prometeu-studio-core:compileTestJava
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses
|
||||
> Task :prometeu-studio-core:test
|
||||
> Task :prometeu-studio-ui-javafx:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-ui-javafx:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
> Task :prometeu-studio-ui-javafx:test
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:test NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:test UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:test NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:test UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jacocoTestReport
|
||||
|
||||
> Task :prometeu-app:assembleStudioRuntime
|
||||
WARNING: Using incubator modules: jdk.incubator.vector
|
||||
|
||||
> Task :prometeu-app:startScripts
|
||||
> Task :prometeu-app:installDist
|
||||
> Task :prometeu-app:installedKnowledgeTest
|
||||
> Task :prometeu-app:devDesktopTest
|
||||
|
||||
> Task :prometeu-app:memcardProcessTest
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16550452293704007266/ordinary/build/program.pbx
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD process=52126 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16550452293704007266/ordinary/build/program.pbx
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD process=52128 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=1
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16550452293704007266/ordinary/build/program.pbx
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD process=52130 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=2
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16550452293704007266/optimized/build/program.pbx
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD process=52132 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16550452293704007266/optimized/build/program.pbx
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD process=52134 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=1
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16550452293704007266/optimized/build/program.pbx
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD process=52136 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=2
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_ERROR
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-9785364890294177630/memory/build/program.pbx
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_OUT
|
||||
PASS protected reset/shutdown, explicit default-path create/unmount and native recovery refusal
|
||||
|
||||
> Task :prometeu-app:headlessProcessTest
|
||||
|
||||
BUILD SUCCESSFUL in 1m 11s
|
||||
97 actionable tasks: 25 executed, 72 up-to-date
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:compileTestJava
|
||||
> Task :prometeu-app:processTestResources
|
||||
> Task :prometeu-app:testClasses
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes
|
||||
> Task :prometeu-studio-core:jar
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
> Task :prometeu-app:test
|
||||
> Task :prometeu-studio-core:compileTestJava
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses
|
||||
> Task :prometeu-app:jacocoTestReport
|
||||
> Task :prometeu-studio-core:test
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
|
||||
BUILD SUCCESSFUL in 30s
|
||||
50 actionable tasks: 9 executed, 41 up-to-date
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:jar UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
|
||||
BUILD SUCCESSFUL in 7s
|
||||
47 actionable tasks: 2 executed, 45 up-to-date
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:jar UP-TO-DATE
|
||||
> Task :prometeu-app:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
> Task :prometeu-app:test
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses UP-TO-DATE
|
||||
> Task :prometeu-app:jacocoTestReport
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-infra:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-infra:processTestResources NO-SOURCE
|
||||
> Task :prometeu-infra:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:test UP-TO-DATE
|
||||
> Task :prometeu-infra:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-api:test UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-core:test UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-ui-javafx:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:test UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:test
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-deps:test
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:test
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:test NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jacocoTestReport
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:test
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:test NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:test UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test
|
||||
> Task :prometeu-app:assembleStudioRuntime UP-TO-DATE
|
||||
> Task :prometeu-app:startScripts
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport
|
||||
> Task :prometeu-app:installDist
|
||||
> Task :prometeu-app:installedKnowledgeTest
|
||||
|
||||
BUILD SUCCESSFUL in 52s
|
||||
94 actionable tasks: 17 executed, 77 up-to-date
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:jar UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
|
||||
BUILD SUCCESSFUL in 7s
|
||||
47 actionable tasks: 2 executed, 45 up-to-date
|
||||
+104
@@ -0,0 +1,104 @@
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:jar UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-studio-core:compileTestJava
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses
|
||||
> Task :prometeu-studio-core:test
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:testClasses
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:test
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport
|
||||
|
||||
BUILD SUCCESSFUL in 15s
|
||||
58 actionable tasks: 13 executed, 45 up-to-date
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
rustc 1.98.1 (48a229cea 2026-09-01)
|
||||
binary: rustc
|
||||
commit-hash: 48a229ceaefd4985c50990b14116b6d856af0985
|
||||
commit-date: 2026-09-01
|
||||
host: aarch64-apple-darwin
|
||||
release: 1.98.1
|
||||
LLVM version: 22.1.8
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/run.py d1338848b1e021d121eb9148d93410e213b219e195eb727d24ea8848a29b30c9
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/main.rs 8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/stack_queue.rs b36c3c8117722328dc136676542fbee675de5a4428aa74af6fc383df48f32326
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/lifecycle.rs 68e0a22927e79c6081da7bdf13c2d51f0c3481f1da25df7968085a95e0fc71fb
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/memcard.rs 58dc3b72cbaa6857b2827bc51d3b397870f7691609e28298c8f7501764d6b450
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java 18f948fb3c87167b8521e28d32a77cad1fab1ed4ab12395f86f12274f3eedb88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java 680402a55fe6b1d3cd41a44caa5ecdda58dbefc0854d3f3df0c25b522c435373
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java ba0b3de2e0aa7177fa71b5a837a56bc262a080717df3276c3a73b67b33dcb384
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5
|
||||
studio 3a3417eb44c2e99ca183ce6f3fbbfff738b70f87
|
||||
runtime dcf6561ea73446e0a3e1cf1c73eda20923b38df0
|
||||
runtime working tree clean
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java 85d8f687a903862b4e7d5a5b8711cc9af720ec7f4d282bba77ddfaee93dff0a8
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsLinkedTest.java 0e3378ea1e09a1182c0d8e15ed6ac555e3bf2e4fdf4049b80bd5ddaecc4b4537
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm/src/virtual_machine/array_copy.rs 122bb20f9041f22a46d7e23398d016fbe365fe93834878a9d6fcc4f4c4b36c1b
|
||||
platform macOS-27.0.1-arm64-arm-64bit-Mach-O limits=default capabilities=NONE
|
||||
profile dev features=resource-diagnostics
|
||||
sha256 Cargo.lock cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795
|
||||
sha256 docs/vm-arch/INTRINSICS.csv 7c1c363f5f0f941b3ab27cfc72af41e13e44cd4371c687db8300721288f47e63
|
||||
sha256 docs/vm-arch/BUILTIN_CONSTANTS.csv e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/numeric-conformance.tsv 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv 0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f
|
||||
Compiling studio-pbx-conformance v0.1.0 (/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbx-conformance-781efy12)
|
||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.81s
|
||||
Running `/tmp/studio-pbx-memcard-target/debug/studio-pbx-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/registry-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/devtools/headless-protocol/response.schema.json --memcard-only`
|
||||
DEFAULT VM LIMIT GuestBytes=268435456
|
||||
DEFAULT VM LIMIT HandleSlots=1048576
|
||||
DEFAULT VM LIMIT AuxiliaryBytes=67108864
|
||||
DEFAULT VM LIMIT TemporaryBytes=67108864
|
||||
DEFAULT VM LIMIT StringBytes=67108864
|
||||
DEFAULT VM LIMIT StringAllocations=262144
|
||||
DEFAULT VM LIMIT IndividualStringBytes=4194304
|
||||
DEFAULT VM LIMIT CallDepth=1024
|
||||
|
||||
thread 'main' (10239634) panicked at src/memcard.rs:39:9:
|
||||
guest crashed: AppCrashes(AppCrashesStep { report: VmTrap { trap: TrapInfo { code: 4, opcode: 112, message: "Invalid native byte-array range/type/value (in function Mem.presentation)", pc: 2764, span: Some(SourceSpan { file_id: 2, start: 8375, end: 8471 }), resource: None } } })
|
||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||
Traceback (most recent call last):
|
||||
File "/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/run.py", line 74, in <module>
|
||||
subprocess.run(["cargo", "run", *(["--release"] if args.release else []), *([] if args.online else ["--offline"]), "--manifest-path", str(root / "Cargo.toml"), "--", str(args.fixtures.resolve()), str(runtime / "devtools/headless-protocol/response.schema.json"), *(["--memcard-only"] if args.memcard_only else []), *(["--lifecycle-only"] if args.lifecycle_only else []), *(["--stack-queue-only"] if args.stack_queue_only else []), *(["--map-only"] if args.map_only else []), *(["--set-only"] if args.set_only else []), *(["--identity-hashing-only"] if args.identity_hashing_only else []), *(["--math-only"] if args.math_only else []), *(["--random-only"] if args.random_only else []), *(["--generic-contracts-only"] if args.generic_contracts_only else []), *(["--generic-structs-only"] if args.generic_structs_only else []), *(["--list-cursor-only"] if args.list_cursor_only else []), *(["--linked-only"] if args.linked_only else [])], check=True)
|
||||
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/Users/niltonconstantino/.pyenv/versions/3.13.5/lib/python3.13/subprocess.py", line 577, in run
|
||||
raise CalledProcessError(retcode, process.args,
|
||||
output=stdout, stderr=stderr)
|
||||
subprocess.CalledProcessError: Command '['cargo', 'run', '--offline', '--manifest-path', '/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbx-conformance-781efy12/Cargo.toml', '--', '/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/registry-conformance', '/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/devtools/headless-protocol/response.schema.json', '--memcard-only']' returned non-zero exit status 101.
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
rustc 1.98.1 (48a229cea 2026-09-01)
|
||||
binary: rustc
|
||||
commit-hash: 48a229ceaefd4985c50990b14116b6d856af0985
|
||||
commit-date: 2026-09-01
|
||||
host: aarch64-apple-darwin
|
||||
release: 1.98.1
|
||||
LLVM version: 22.1.8
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/run.py b4e0d3b384e629cb9327c92d12252f858161c4a42654f924ff8f926d9b8ac993
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/main.rs 8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/stack_queue.rs b36c3c8117722328dc136676542fbee675de5a4428aa74af6fc383df48f32326
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/lifecycle.rs 68e0a22927e79c6081da7bdf13c2d51f0c3481f1da25df7968085a95e0fc71fb
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/memcard.rs 95f58d27feae7a3c8fc520354c1aef40a3b69a89e69a24dd09f5b3314f853d88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMemcardTest.java 1830cc6e508f40660fd224578801098d56e423b14c694dde02343fa45a50cd7d
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs 6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java 18f948fb3c87167b8521e28d32a77cad1fab1ed4ab12395f86f12274f3eedb88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java 680402a55fe6b1d3cd41a44caa5ecdda58dbefc0854d3f3df0c25b522c435373
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java ba0b3de2e0aa7177fa71b5a837a56bc262a080717df3276c3a73b67b33dcb384
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5
|
||||
studio 3a3417eb44c2e99ca183ce6f3fbbfff738b70f87
|
||||
runtime dcf6561ea73446e0a3e1cf1c73eda20923b38df0
|
||||
runtime working tree clean
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java 85d8f687a903862b4e7d5a5b8711cc9af720ec7f4d282bba77ddfaee93dff0a8
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsLinkedTest.java 0e3378ea1e09a1182c0d8e15ed6ac555e3bf2e4fdf4049b80bd5ddaecc4b4537
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm/src/virtual_machine/array_copy.rs 122bb20f9041f22a46d7e23398d016fbe365fe93834878a9d6fcc4f4c4b36c1b
|
||||
platform macOS-27.0.1-arm64-arm-64bit-Mach-O limits=default capabilities=MEMCARD
|
||||
profile dev features=resource-diagnostics
|
||||
sha256 Cargo.lock cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795
|
||||
sha256 docs/vm-arch/INTRINSICS.csv 7c1c363f5f0f941b3ab27cfc72af41e13e44cd4371c687db8300721288f47e63
|
||||
sha256 docs/vm-arch/BUILTIN_CONSTANTS.csv e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/numeric-conformance.tsv 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv 0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f
|
||||
Compiling studio-pbx-conformance v0.1.0 (/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbx-conformance-d2au3gf8)
|
||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.10s
|
||||
Running `/tmp/studio-pbx-memcard-target/debug/studio-pbx-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/registry-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/devtools/headless-protocol/response.schema.json --memcard-only`
|
||||
DEFAULT VM LIMIT GuestBytes=268435456
|
||||
DEFAULT VM LIMIT HandleSlots=1048576
|
||||
DEFAULT VM LIMIT AuxiliaryBytes=67108864
|
||||
DEFAULT VM LIMIT TemporaryBytes=67108864
|
||||
DEFAULT VM LIMIT StringBytes=67108864
|
||||
DEFAULT VM LIMIT StringAllocations=262144
|
||||
DEFAULT VM LIMIT IndividualStringBytes=4194304
|
||||
DEFAULT VM LIMIT CallDepth=1024
|
||||
NATIVE LOAD PASS all 14 mem imports against the production loader
|
||||
NATIVE PASS pbs-memcard-example: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example: 64-slot admission
|
||||
NATIVE PASS pbs-memcard-example-optimized: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract-optimized: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias-optimized: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports-optimized: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy-optimized: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear-optimized: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish-optimized: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit-optimized: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example-optimized: 64-slot admission
|
||||
NATIVE PASS PBS facade query: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS pbs-memcard-inconsistent: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-inconsistent-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS absent/read-only: explicit choice retained; no memory fallback
|
||||
NATIVE PASS corrupt media: rejected without replacing with empty data
|
||||
NATIVE PASS installed-JAR PBS example: native Firmware/SystemOS execution, not installed runtime process
|
||||
+178
@@ -0,0 +1,178 @@
|
||||
rustc 1.98.1 (48a229cea 2026-09-01)
|
||||
binary: rustc
|
||||
commit-hash: 48a229ceaefd4985c50990b14116b6d856af0985
|
||||
commit-date: 2026-09-01
|
||||
host: aarch64-apple-darwin
|
||||
release: 1.98.1
|
||||
LLVM version: 22.1.8
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/run.py b4e0d3b384e629cb9327c92d12252f858161c4a42654f924ff8f926d9b8ac993
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/main.rs 8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/stack_queue.rs b36c3c8117722328dc136676542fbee675de5a4428aa74af6fc383df48f32326
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/lifecycle.rs 68e0a22927e79c6081da7bdf13c2d51f0c3481f1da25df7968085a95e0fc71fb
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/memcard.rs 95f58d27feae7a3c8fc520354c1aef40a3b69a89e69a24dd09f5b3314f853d88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMemcardTest.java 1830cc6e508f40660fd224578801098d56e423b14c694dde02343fa45a50cd7d
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs 6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java 18f948fb3c87167b8521e28d32a77cad1fab1ed4ab12395f86f12274f3eedb88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java 680402a55fe6b1d3cd41a44caa5ecdda58dbefc0854d3f3df0c25b522c435373
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java ba0b3de2e0aa7177fa71b5a837a56bc262a080717df3276c3a73b67b33dcb384
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5
|
||||
studio 3a3417eb44c2e99ca183ce6f3fbbfff738b70f87
|
||||
runtime dcf6561ea73446e0a3e1cf1c73eda20923b38df0
|
||||
runtime working tree clean
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java 85d8f687a903862b4e7d5a5b8711cc9af720ec7f4d282bba77ddfaee93dff0a8
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsLinkedTest.java 0e3378ea1e09a1182c0d8e15ed6ac555e3bf2e4fdf4049b80bd5ddaecc4b4537
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm/src/virtual_machine/array_copy.rs 122bb20f9041f22a46d7e23398d016fbe365fe93834878a9d6fcc4f4c4b36c1b
|
||||
platform macOS-27.0.1-arm64-arm-64bit-Mach-O limits=default capabilities=MEMCARD
|
||||
profile release features=resource-diagnostics
|
||||
sha256 Cargo.lock cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795
|
||||
sha256 docs/vm-arch/INTRINSICS.csv 7c1c363f5f0f941b3ab27cfc72af41e13e44cd4371c687db8300721288f47e63
|
||||
sha256 docs/vm-arch/BUILTIN_CONSTANTS.csv e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/numeric-conformance.tsv 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv 0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f
|
||||
Compiling proc-macro2 v1.0.105
|
||||
Compiling quote v1.0.47
|
||||
Compiling unicode-ident v1.0.22
|
||||
Compiling serde_core v1.0.228
|
||||
Compiling stable_deref_trait v1.2.1
|
||||
Compiling serde v1.0.228
|
||||
Compiling smallvec v1.15.1
|
||||
Compiling memchr v2.7.6
|
||||
Compiling autocfg v1.5.0
|
||||
Compiling zmij v1.0.14
|
||||
Compiling serde_json v1.0.149
|
||||
Compiling libc v0.2.180
|
||||
Compiling itoa v1.0.17
|
||||
Compiling num-traits v0.2.19
|
||||
Compiling writeable v0.6.4
|
||||
Compiling litemap v0.8.3
|
||||
Compiling icu_properties_data v2.3.0
|
||||
Compiling utf8_iter v1.0.4
|
||||
Compiling icu_normalizer_data v2.3.0
|
||||
Compiling rustc_apfloat v0.2.3+llvm-462a31f5a5ab
|
||||
Compiling cfg-if v1.0.4
|
||||
Compiling getrandom v0.3.4
|
||||
Compiling bitflags v2.10.0
|
||||
Compiling zerocopy v0.8.33
|
||||
Compiling ref-cast v1.0.27
|
||||
Compiling parking_lot_core v0.9.12
|
||||
Compiling version_check v0.9.5
|
||||
Compiling ahash v0.8.12
|
||||
Compiling num-integer v0.1.47
|
||||
Compiling syn v3.0.6
|
||||
Compiling syn v2.0.114
|
||||
Compiling aho-corasick v1.1.4
|
||||
Compiling regex-syntax v0.8.8
|
||||
Compiling num-bigint v0.4.8
|
||||
Compiling scopeguard v1.2.0
|
||||
Compiling lock_api v0.4.14
|
||||
Compiling num-iter v0.1.46
|
||||
Compiling fpmath v0.1.1
|
||||
Compiling num-complex v0.4.6
|
||||
Compiling bit-vec v0.8.0
|
||||
Compiling borrow-or-share v0.2.4
|
||||
Compiling synstructure v0.14.0
|
||||
Compiling num-rational v0.4.2
|
||||
Compiling serde_derive v1.0.228
|
||||
Compiling regex-automata v0.4.13
|
||||
Compiling once_cell v1.21.3
|
||||
Compiling zerofrom-derive v0.1.8
|
||||
Compiling yoke-derive v0.8.3
|
||||
Compiling zerovec-derive v0.11.6
|
||||
Compiling zerofrom v0.1.8
|
||||
Compiling displaydoc v0.2.7
|
||||
Compiling yoke v0.8.3
|
||||
Compiling ref-cast-impl v1.0.27
|
||||
Compiling num v0.4.3
|
||||
Compiling zerovec v0.11.8
|
||||
Compiling zerotrie v0.2.5
|
||||
Compiling bit-set v0.8.0
|
||||
Compiling parking_lot v0.12.5
|
||||
Compiling lazy_static v1.5.0
|
||||
Compiling uuid v1.26.1
|
||||
Compiling vsimd v0.8.0
|
||||
Compiling outref v0.5.2
|
||||
Compiling tinystr v0.8.4
|
||||
Compiling potential_utf v0.1.6
|
||||
Compiling percent-encoding v2.3.2
|
||||
Compiling icu_locale_core v2.3.0
|
||||
Compiling icu_collections v2.3.0
|
||||
Compiling regex v1.12.2
|
||||
Compiling uuid-simd v0.8.0
|
||||
Compiling prometeu-bytecode v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-bytecode)
|
||||
Compiling fluent-uri v0.3.2
|
||||
Compiling email_address v0.2.9
|
||||
Compiling fancy-regex v0.16.2
|
||||
Compiling fraction v0.15.4
|
||||
Compiling icu_provider v2.3.1
|
||||
Compiling prometeu-hal v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-hal)
|
||||
Compiling icu_properties v2.3.0
|
||||
Compiling icu_normalizer v2.3.0
|
||||
Compiling referencing v0.33.0
|
||||
Compiling base64 v0.22.1
|
||||
Compiling prometeu-vm v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm)
|
||||
Compiling idna_adapter v1.2.2
|
||||
Compiling bytecount v0.6.9
|
||||
Compiling num-cmp v0.1.0
|
||||
Compiling idna v1.1.0
|
||||
Compiling prometeu-drivers v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-drivers)
|
||||
Compiling jsonschema v0.33.0
|
||||
Compiling prometeu-system v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-system)
|
||||
Compiling prometeu-firmware v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-firmware)
|
||||
Compiling studio-pbx-conformance v0.1.0 (/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbx-conformance-ksxb5ll4)
|
||||
Finished `release` profile [optimized] target(s) in 32.11s
|
||||
Running `/tmp/studio-pbx-memcard-target/release/studio-pbx-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/registry-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/devtools/headless-protocol/response.schema.json --memcard-only`
|
||||
DEFAULT VM LIMIT GuestBytes=268435456
|
||||
DEFAULT VM LIMIT HandleSlots=1048576
|
||||
DEFAULT VM LIMIT AuxiliaryBytes=67108864
|
||||
DEFAULT VM LIMIT TemporaryBytes=67108864
|
||||
DEFAULT VM LIMIT StringBytes=67108864
|
||||
DEFAULT VM LIMIT StringAllocations=262144
|
||||
DEFAULT VM LIMIT IndividualStringBytes=4194304
|
||||
DEFAULT VM LIMIT CallDepth=1024
|
||||
NATIVE LOAD PASS all 14 mem imports against the production loader
|
||||
NATIVE PASS pbs-memcard-example: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example: 64-slot admission
|
||||
NATIVE PASS pbs-memcard-example-optimized: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract-optimized: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias-optimized: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports-optimized: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy-optimized: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear-optimized: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish-optimized: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit-optimized: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example-optimized: 64-slot admission
|
||||
NATIVE PASS PBS facade query: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS pbs-memcard-inconsistent: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-inconsistent-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS absent/read-only: explicit choice retained; no memory fallback
|
||||
NATIVE PASS corrupt media: rejected without replacing with empty data
|
||||
NATIVE PASS installed-JAR PBS example: native Firmware/SystemOS execution, not installed runtime process
|
||||
+171
@@ -0,0 +1,171 @@
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:jar UP-TO-DATE
|
||||
> Task :prometeu-app:compileTestJava
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar
|
||||
> Task :prometeu-app:test
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses
|
||||
> Task :prometeu-app:jacocoTestReport
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-infra:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-infra:processTestResources NO-SOURCE
|
||||
> Task :prometeu-infra:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:test UP-TO-DATE
|
||||
> Task :prometeu-infra:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-api:test
|
||||
> Task :prometeu-studio-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jacocoTestReport
|
||||
> Task :prometeu-studio-core:test
|
||||
> Task :prometeu-studio-ui-javafx:compileTestJava
|
||||
> Task :prometeu-studio-ui-javafx:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-ui-javafx:testClasses
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
> Task :prometeu-studio-ui-javafx:test
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:test
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:test UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-deps:compileTestJava
|
||||
> Task :prometeu-compiler:prometeu-deps:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:testClasses
|
||||
> Task :prometeu-compiler:prometeu-deps:test
|
||||
> Task :prometeu-compiler:prometeu-deps:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileTestJava
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:testClasses
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:test
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileTestJava
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:testClasses
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:test
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:test NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jacocoTestReport
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:testClasses
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:test
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:test NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:test UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jacocoTestReport UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport
|
||||
|
||||
> Task :prometeu-app:assembleStudioRuntime
|
||||
WARNING: Using incubator modules: jdk.incubator.vector
|
||||
|
||||
> Task :prometeu-app:startScripts
|
||||
> Task :prometeu-app:installDist
|
||||
> Task :prometeu-app:installedKnowledgeTest
|
||||
|
||||
BUILD SUCCESSFUL in 1m 16s
|
||||
94 actionable tasks: 35 executed, 59 up-to-date
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
Kotlin does not yet support 25 JDK target, falling back to Kotlin JVM_24 JVM target
|
||||
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileTestJava
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:test
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
|
||||
BUILD SUCCESSFUL in 21s
|
||||
17 actionable tasks: 3 executed, 14 up-to-date
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
{
|
||||
"date": "2026-10-29",
|
||||
"discussion": "DSC-0085",
|
||||
"decision": "DEC-0083 with accepted MemcardBuffer revision D5a",
|
||||
"plan": "PLN-0161",
|
||||
"status": "in_progress; local implementation/qualification complete, provider process gate pending",
|
||||
"studio_head": "3a3417eb44c2e99ca183ce6f3fbbfff738b70f87",
|
||||
"runtime_head": "dcf6561ea73446e0a3e1cf1c73eda20923b38df0",
|
||||
"runtime_worktree": "",
|
||||
"platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
|
||||
"java_regression": {
|
||||
"result": "passed",
|
||||
"junit_suites": 200,
|
||||
"tests": 1111,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 13
|
||||
},
|
||||
"installed_knowledge": [
|
||||
{
|
||||
"tests": 2,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
}
|
||||
],
|
||||
"native_profiles": {
|
||||
"dev": {
|
||||
"result": "passed",
|
||||
"native_pass_observations": 46,
|
||||
"pbs_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"route": "native production Firmware/SystemOS/FileMemcard; not configured installed process"
|
||||
},
|
||||
"release": {
|
||||
"result": "passed",
|
||||
"native_pass_observations": 46,
|
||||
"pbs_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"route": "native production Firmware/SystemOS/FileMemcard; not configured installed process"
|
||||
}
|
||||
},
|
||||
"configured_process": {
|
||||
"result": "not qualified",
|
||||
"owner": "runtime",
|
||||
"reason": "Public headless boot schema/dispatch accepts only path; CLI/JSONL does not expose memcard storage/choice or dirty/pending/discard control. Studio must consume published provider interface, not invent flags or host policy.",
|
||||
"acceptance_retained": "Configured installation process saves SUCCESS, terminates, new process reads exact payload on same image, including project upgrade with stable app_id."
|
||||
},
|
||||
"history": "Initial native failure on ordinary Array<Dynamic> is retained in native-dev-failed.log. User explicitly approved MemcardBuffer; direct Array<Int32> carrier and exact SDK host forwarding resolved the local carrier/Null-return failures. No user decision remains pending.",
|
||||
"source_sha256": {
|
||||
"docs/specs/compiler-languages/pbs/11. AST Specification.md": "425a4580cdea4eda688bf4339b6547c4250c72fde38c9e8cbca6d55abca02e3e",
|
||||
"docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md": "a8c5f17ee18d28cfbdef88102f863e292d204c76e5ae068d843ed52e1be8bd9b",
|
||||
"docs/specs/compiler-languages/pbs/26. Memcard Bootstrap and SDK Specification.md": "59d9b1af779316205929d207f19bc793514a5fd8991e97bb84724fe7172b57f8",
|
||||
"docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md": "0235d0996068713ca0f37480dd826160e1e415aef2fdd199d96ab4fa483fe823",
|
||||
"docs/specs/compiler-languages/pbs/5. Manifest, Stdlib, and SDK Resolution Specification.md": "75b6b5644f14e7711ff7e68bfb76ea3b0f56de48a659941fd3d9f383fd3f4e33",
|
||||
"docs/specs/compiler-languages/pbs/7. Cartridge Manifest and Runtime Capabilities Specification.md": "abca4c93efe7800a1b9e2bf376354a4e2e198339574ff077223fe4c7ab7d4dae",
|
||||
"docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md": "d6b9b5c85008a0ab3f7eca6d82aa7b354ab882d35e4409be19d4ceca2fe5e194",
|
||||
"docs/specs/compiler-languages/pbs/README.md": "3f100094bfa8f1eceb7120f00335d02af08b86214e638b83baad1b41af9f2ba8",
|
||||
"docs/specs/compiler/25. Typed Registry and PBX v0 Specification.md": "c17661de15c78e13804747a0fdab8ab703ddbd96b2f98d71407806c8494cd618",
|
||||
"docs/specs/studio/8. Project-Local Studio State Specification.md": "ba4f8bb43a33bed3744519650639259941834b9287f7071ca306d0619d3e1fec",
|
||||
"prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java": "4cf6274e58174a0c401d94bf809008d78c6ae595f45fc807678c1a0ff0f004f2",
|
||||
"prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeTest.java": "b3c1649c43bece259c2f751cea6f8e4c29e6876750782688542a486ae4ff55b4",
|
||||
"prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMemcardTest.java": "1830cc6e508f40660fd224578801098d56e423b14c694dde02343fa45a50cd7d",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java": "37245fbb266d8a0379a8e5d3bb3ac8cd636c0aa4113a4c06515724cb23dfeb88",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericTemplateValidator.java": "e0555266418d9409736cf2eead5131c46e9998fd06286c8270bf26728391e15b",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsHostAdmissionValidator.java": "4c81a7af9d704529f4bcbf71b1bdbcecba6845da6ae81ba91bc45aff99ca5d4d",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsReservedMetadataExtractor.java": "dc9b13410f0387bec2924311207ec52df79f17828cf45756171c80e84b3e99dc",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSdkMemcard.java": "cccc92a11da2725f114371938535d2bcbbd9ed9f39fec856d22bad8b3a7e15fc",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAst.java": "6e6746ef152fd8861794395fe961c588364cce08969056e9ac77e166e0c04f37",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java": "5537e792f89b78c8752b2279a0a6f4c8b1546c03124413ceff8df35bc56d9eaf",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java": "842b0995a594bce16ee665d4539c498fd5c0b36e10fbed5eb4456853bef4f96f",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java": "d198b95944402b35351bd1c10e1e2718745fdab2dfbabf364acd36414abf101a",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.java": "ed25b917b9b65698705a746b1efe6a2156565056270a4a8d17a3b33f96401f66",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsLifecycleSemanticsValidator.java": "9088660f6885b9a9a2aa994c4dcd592197f2a1ab958446cb93768af5dbe954fc",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsProjectLifecycleSemanticsValidator.java": "049d769c68becb32fb3a51584699642df6b42b5d79e027d3e57f12b82e2aea79",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs": "6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/mod.barrel": "b86c49a3f6dd7e7d179b4919099904a249212a09838492e2bc6b27617d85ab85",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/MEMCARD.md": "a0ccb7e106186a6c1260065ac0ed1434bec454a62a68507854a76d2e223a98f3",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/prometeu.json": "efa72d4d74865cfb5e29caf999a19c05c8936b253dd6a0eb38f12ba798d7add4",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/src/main.pbs": "e3c770368399aaeac2ad4e4583958c7294790432106cec3c3c09d369e73ffed0",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/src/mod.barrel": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsGuestLifecycleSemanticsTest.java": "0d778d518bd2a54341e6844e0dbfe9a314e6e87e6639fbc7dd41dc3589cacd48",
|
||||
"prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/lifecycle/LifecycleAssemblerService.java": "19ec73e38da092a5851b7d312ef90f02b89b40dccbbe4a5f9b9ba24e4b91058e",
|
||||
"prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/AssembleLifecyclePipelineStage.java": "8b18bc48c185681559da8d530a17ff3affbb022c29b3e5242765bc39683284e9",
|
||||
"prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/lifecycle/LifecycleAssemblerServiceTest.java": "b6ebf50ef378baad7a776ac6945c61f6fbf150e4d000c5872f88f41b75353cfd",
|
||||
"prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/dtos/PrometeuManifestDTO.java": "003edde284c72cd89cee2274f880d1a7aa0f1f1ec5426c669f43e8562907349b",
|
||||
"prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/PrometeuManifest.java": "bf87f252b52e7d0baf8254ed7f0c57749a8a8cec7ccfb167f02e4ec2a2841956",
|
||||
"prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/utilities/PrometeuManifestUtils.java": "78262b934a9f9b0b6b5a91313ee70700f04d9788dacb8d68c89c56200491328e",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/HostAdmissionContext.java": "f86bf4c60cc61b37d5c120157a30a76529e3bc45d655a62d982e68a7447e1370",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java": "4dd4836bcb069f5d627c31cd9a355d641d2bda13718ceccc3a746451e6a18800",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleDeclaration.java": "29fd17fabda2c80c2dc5c2c19d63cacc88f57cb15e79ba5eaf4e0fa2c9a550e6",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleFileDeclaration.java": "3b22c6368a39e5b26e98514a1de7cf74683162f8654a892638996a4b7498ab92",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/project/ProjectReference.java": "922ba262e1f6f7777d05bcc96ade037bd09589cfddf4a74d7e0b3b38c20ab7d5",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/project/ProjectCartridgeConfiguration.java": "1c28931c1afba0e2c51b0edf03681dbcff823f2fd865e1e567793fbe8a78958f",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/project/ProjectCatalogService.java": "74f0eb96a0d36086da50f8e730df10948c444902fdf952ee6a1b0fcf33a3f9cf",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java": "16bf4ed0c738a6daf8210bfa0da9ed8b7fbfc417fd149dbd16592705390ffc4b",
|
||||
"prometeu-studio-core/src/test/java/p/studio/core/project/ProjectCartridgeConfigurationTest.java": "a8bbc598bfdb1c387f60094e02d06f5374cc416fd76c2359099453f9ce6dca42",
|
||||
"prometeu-studio-core/src/test/java/p/studio/core/project/StudioMemcardShipperTest.java": "71566118b4be09ca2ede4539abf86773fa7a5755182c3f48dcf777e9aecb910c",
|
||||
"tools/pbx-conformance/README.md": "3841133724aec99da27e7d88686c84363a42d8f3335cfb638d927bf3deaf6e49",
|
||||
"tools/pbx-conformance/main.rs": "8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219",
|
||||
"tools/pbx-conformance/memcard.rs": "95f58d27feae7a3c8fc520354c1aef40a3b69a89e69a24dd09f5b3314f853d88",
|
||||
"tools/pbx-conformance/run.py": "b4e0d3b384e629cb9327c92d12252f858161c4a42654f924ff8f926d9b8ac993"
|
||||
},
|
||||
"fixture_sha256": {
|
||||
"pbs-memcard-abi.pbx": "6c25b94538add375a09e41a92f39f030e98aa261679418f3254a8374e0d95a9b",
|
||||
"pbs-memcard-alias-optimized.pbx": "9f772e8003327804e17cf5bdb67db5a7c52cd75e12270dc20b136238ec955c99",
|
||||
"pbs-memcard-alias.pbx": "e3a082ac05a91c8a3cc01ff0390e4d858dab20c66c6e15546d2418e1bc2c7913",
|
||||
"pbs-memcard-busy-optimized.pbx": "973b47f10f85c61e6d1a828f831ef27932d2608afcb542870a2c78c404c81ca7",
|
||||
"pbs-memcard-busy.pbx": "50f12b84b7a2b9a2d70baf6fcdb1b206650ef5bd42e5d25f9915b08b87ac0434",
|
||||
"pbs-memcard-byte-negative-optimized.pbx": "831aac6f20ee2d5129e60960364180a4043875c9e0b03282c874601a615a5087",
|
||||
"pbs-memcard-byte-negative.pbx": "8203e620d6c4e549c7edf2dac641cad662c1987b79a536faf09870e43b653016",
|
||||
"pbs-memcard-byte-overflow-optimized.pbx": "aa49aa0d685648551620e193033f18dbf44a560e8ad0c374f011ef6b0f519bd1",
|
||||
"pbs-memcard-byte-overflow.pbx": "dd7a734bb6bf221d567806b7504561301c18ea9be7c8230672f41594da20d826",
|
||||
"pbs-memcard-capacity-negative-optimized.pbx": "3b8904b25330f4d85937e46ed2d37c5fac61cb93c081b891afde564f4bfc50da",
|
||||
"pbs-memcard-capacity-negative.pbx": "ebb5943965baa14b543295ecdec8c0d62304275f0d5f4e5df5ddc02e87f59626",
|
||||
"pbs-memcard-capacity-overflow-optimized.pbx": "27ff8d596494280508e50f7d8e18aaab22b0a2a49bfebd0306289b7151a88b6a",
|
||||
"pbs-memcard-capacity-overflow.pbx": "d3becfc124dd9c32e2b614db858bc08ae0efbdf6ca52b697165b750857a86a9c",
|
||||
"pbs-memcard-clear-optimized.pbx": "a1b659bbbebe82d1ad81ae06c8bec4f80e9f363e8e41d89356563d0da39b21ad",
|
||||
"pbs-memcard-clear.pbx": "1ae915f8c2d903cedfa2c53a4a8daa0de0273d8da76a39705b48dcadd5bcc465",
|
||||
"pbs-memcard-contract-optimized.pbx": "62dc586e772cca248ee498ce6651abdbba5e29df67073603b734c7c53b66ccfe",
|
||||
"pbs-memcard-contract.pbx": "8918f2bb0e6c8ebe2afaf89d5a217caf3b747c8ee9d459bf4318f156f16baa68",
|
||||
"pbs-memcard-example-optimized.pbx": "2612cc63bf3f16737db86e7aba35062a4072635fd954dc926d80df5070884f42",
|
||||
"pbs-memcard-example.pbx": "a08aff3fc07cc8f3728813c4855a61f336049ac5145ee5eb085dc437be27bd3a",
|
||||
"pbs-memcard-fuel-optimized.pbx": "e08796b0114915e1665f61dfe1f2b27e5da5d8aeb02daa783c621a44f2307237",
|
||||
"pbs-memcard-fuel.pbx": "95bc60a13414fe8f308575e29721db797741dd94d878769e69e0da3ead393d63",
|
||||
"pbs-memcard-imports-optimized.pbx": "c6ae9c4fb0dbd7b0ce1753678eab7b2f78d48f05d120dee2d93c6b9a39fd7d91",
|
||||
"pbs-memcard-imports.pbx": "964b507df7c7727e8cd0ef0104445a4370d667a4c77b2507faa4cb68bf165e9e",
|
||||
"pbs-memcard-inconsistent-optimized.pbx": "08736dd79326572a2a0499b5a5ea0dc22b72cc835f9a8b870f564fdcd339c124",
|
||||
"pbs-memcard-inconsistent.pbx": "509b0816cdae9f66dde30b8a725b61a1b4a151a82c01b3b989b4aafb10602d87",
|
||||
"pbs-memcard-installed.pbx": "2612cc63bf3f16737db86e7aba35062a4072635fd954dc926d80df5070884f42",
|
||||
"pbs-memcard-publish-optimized.pbx": "858546cff56ab3b4e60339797c8b6a9ad28e5d060c34b46ce8ccbe22fdc07055",
|
||||
"pbs-memcard-publish.pbx": "fb16fd1e7d950baaa567125bc001f9737699be0bd25fdc729c31c4eaf54768da",
|
||||
"pbs-memcard-read-bounds-optimized.pbx": "4ee631f8564a165b3ca512b217ee9dd193e101372b9724f37165feea3e6e10e0",
|
||||
"pbs-memcard-read-bounds.pbx": "7d47e7cb75c9a784620c3bf4b107fef466fd69b8f71fbb1515d9b6876125e5db",
|
||||
"pbs-memcard-retained-optimized.pbx": "9af0cbffe74225503d03a7e9d51bfde04e6061e22adc8b1f8cae8ea164184485",
|
||||
"pbs-memcard-retained.pbx": "afde19ec8accbda70d3802077145dc26f3203c3f18d7bedb1f4e6f4a48c4bd16",
|
||||
"pbs-memcard-transfer-limit-optimized.pbx": "e9ed4b0c09631e27430896437c39529ba7572fb15d1ffe86b8e62ed38ed30e8b",
|
||||
"pbs-memcard-transfer-limit.pbx": "a9e4ef7ac110e318353b3e1f2f1e17456e68b4ae8babb6b0e29a3b3df37daa70",
|
||||
"pbs-memcard-transfer-overflow-optimized.pbx": "6e77600bb4f313c4ae1b8cab4a18b7f8af51294efbb7145955b4417272911c8a",
|
||||
"pbs-memcard-transfer-overflow.pbx": "19eb6a9643625c79e27b0ec83b37d2446ea35a6cd7b3f0c32100ede9fd597b62",
|
||||
"pbs-memcard-trap-optimized.pbx": "fa3b809e852bd8eaebe88477fd63d305d831a941ee536bc19b15abbebc58b70b",
|
||||
"pbs-memcard-trap.pbx": "3ac3700bf90d58874023d24ebb4f4329329021b68251bf27f4518e9491ac2c98",
|
||||
"pbs-memcard-write-bounds-optimized.pbx": "ef3b51a883eb03e5b3d9630f647e311fd5bd3229165d8da9236a0d653b1897b9",
|
||||
"pbs-memcard-write-bounds.pbx": "9d0715ed8004ef68cea02cff8dbe00be1e128b779cf728b23137828309159d65"
|
||||
},
|
||||
"provider_sha256": {
|
||||
"docs/specs/runtime/08-save-memory-and-memcard.md": "65901cb802e125906ea5e6c544a0a2d8598f604f54f61e9263cfde84aa766cc4",
|
||||
"crates/console/prometeu-vm/src/virtual_machine/native_arrays.rs": "21b90ebff618d1799cb41218c4e84c7dd43d2e16cde64d745a6098a6dc02d8d4",
|
||||
"devtools/headless-protocol/request.schema.json": "cb1b13b0416576943d9281ed3265f6c9b3e9c717937e669027a74703621bfd1d",
|
||||
"crates/host/prometeu-host-headless/src/automation/wire.rs": "92e80142172b6f687aa95905d6fbe177b1076a4af1d051ace8b8657b28a0408f",
|
||||
"crates/host/prometeu-host-headless/src/automation/mod.rs": "8abe9095b1ab4fd1acb2f651e942850f5ed68b717b8b7ae4ae7c87edc22b172f",
|
||||
"crates/tools/prometeu-cli/src/lib.rs": "d86e7ba2903a1bd464d38c7691f13908f54ad909b6ba5a238767dcf9ddc13230"
|
||||
},
|
||||
"commands": [
|
||||
"./gradlew test :prometeu-app:installedKnowledgeTest --console=plain",
|
||||
"CARGO_TARGET_DIR=/tmp/studio-pbx-memcard-target python3 tools/pbx-conformance/run.py --runtime ../runtime --memcard-only",
|
||||
"CARGO_TARGET_DIR=/tmp/studio-pbx-memcard-target python3 tools/pbx-conformance/run.py --runtime ../runtime --memcard-only --release"
|
||||
]
|
||||
}
|
||||
+89
@@ -0,0 +1,89 @@
|
||||
rustc 1.98.1 (48a229cea 2026-09-01)
|
||||
binary: rustc
|
||||
commit-hash: 48a229ceaefd4985c50990b14116b6d856af0985
|
||||
commit-date: 2026-09-01
|
||||
host: aarch64-apple-darwin
|
||||
release: 1.98.1
|
||||
LLVM version: 22.1.8
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/run.py b4e0d3b384e629cb9327c92d12252f858161c4a42654f924ff8f926d9b8ac993
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/main.rs 8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/stack_queue.rs b36c3c8117722328dc136676542fbee675de5a4428aa74af6fc383df48f32326
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/lifecycle.rs 68e0a22927e79c6081da7bdf13c2d51f0c3481f1da25df7968085a95e0fc71fb
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/memcard.rs 95f58d27feae7a3c8fc520354c1aef40a3b69a89e69a24dd09f5b3314f853d88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMemcardTest.java 1830cc6e508f40660fd224578801098d56e423b14c694dde02343fa45a50cd7d
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs 6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java 18f948fb3c87167b8521e28d32a77cad1fab1ed4ab12395f86f12274f3eedb88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java 680402a55fe6b1d3cd41a44caa5ecdda58dbefc0854d3f3df0c25b522c435373
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java ba0b3de2e0aa7177fa71b5a837a56bc262a080717df3276c3a73b67b33dcb384
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5
|
||||
studio 3a3417eb44c2e99ca183ce6f3fbbfff738b70f87
|
||||
runtime a4bec5bc4577850543f57c79f5124ca00169e1b3
|
||||
runtime working tree clean
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java 85d8f687a903862b4e7d5a5b8711cc9af720ec7f4d282bba77ddfaee93dff0a8
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsLinkedTest.java 0e3378ea1e09a1182c0d8e15ed6ac555e3bf2e4fdf4049b80bd5ddaecc4b4537
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm/src/virtual_machine/array_copy.rs 122bb20f9041f22a46d7e23398d016fbe365fe93834878a9d6fcc4f4c4b36c1b
|
||||
platform macOS-27.0.1-arm64-arm-64bit-Mach-O limits=default capabilities=MEMCARD
|
||||
profile dev features=resource-diagnostics
|
||||
sha256 Cargo.lock cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795
|
||||
sha256 docs/vm-arch/INTRINSICS.csv 7c1c363f5f0f941b3ab27cfc72af41e13e44cd4371c687db8300721288f47e63
|
||||
sha256 docs/vm-arch/BUILTIN_CONSTANTS.csv e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/numeric-conformance.tsv 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv 0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f
|
||||
Compiling studio-pbx-conformance v0.1.0 (/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbx-conformance-m7lwx1ru)
|
||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.52s
|
||||
Running `/tmp/studio-pbx-memcard-target/debug/studio-pbx-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/registry-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/devtools/headless-protocol/response.schema.json --memcard-only`
|
||||
DEFAULT VM LIMIT GuestBytes=268435456
|
||||
DEFAULT VM LIMIT HandleSlots=1048576
|
||||
DEFAULT VM LIMIT AuxiliaryBytes=67108864
|
||||
DEFAULT VM LIMIT TemporaryBytes=67108864
|
||||
DEFAULT VM LIMIT StringBytes=67108864
|
||||
DEFAULT VM LIMIT StringAllocations=262144
|
||||
DEFAULT VM LIMIT IndividualStringBytes=4194304
|
||||
DEFAULT VM LIMIT CallDepth=1024
|
||||
NATIVE LOAD PASS all 14 mem imports against the production loader
|
||||
NATIVE PASS pbs-memcard-example: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example: 64-slot admission
|
||||
NATIVE PASS pbs-memcard-example-optimized: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract-optimized: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias-optimized: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports-optimized: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy-optimized: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear-optimized: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish-optimized: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit-optimized: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example-optimized: 64-slot admission
|
||||
NATIVE PASS PBS facade query: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS pbs-memcard-inconsistent: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-inconsistent-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS absent/read-only: explicit choice retained; no memory fallback
|
||||
NATIVE PASS corrupt media: rejected without replacing with empty data
|
||||
NATIVE PASS installed-JAR PBS example: native Firmware/SystemOS execution, not installed runtime process
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
rustc 1.98.1 (48a229cea 2026-09-01)
|
||||
binary: rustc
|
||||
commit-hash: 48a229ceaefd4985c50990b14116b6d856af0985
|
||||
commit-date: 2026-09-01
|
||||
host: aarch64-apple-darwin
|
||||
release: 1.98.1
|
||||
LLVM version: 22.1.8
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/run.py b4e0d3b384e629cb9327c92d12252f858161c4a42654f924ff8f926d9b8ac993
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/main.rs 8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/stack_queue.rs b36c3c8117722328dc136676542fbee675de5a4428aa74af6fc383df48f32326
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/lifecycle.rs 68e0a22927e79c6081da7bdf13c2d51f0c3481f1da25df7968085a95e0fc71fb
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/tools/pbx-conformance/memcard.rs 95f58d27feae7a3c8fc520354c1aef40a3b69a89e69a24dd09f5b3314f853d88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMemcardTest.java 1830cc6e508f40660fd224578801098d56e423b14c694dde02343fa45a50cd7d
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs 6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java 18f948fb3c87167b8521e28d32a77cad1fab1ed4ab12395f86f12274f3eedb88
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java 680402a55fe6b1d3cd41a44caa5ecdda58dbefc0854d3f3df0c25b522c435373
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java ba0b3de2e0aa7177fa71b5a837a56bc262a080717df3276c3a73b67b33dcb384
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5
|
||||
studio 3a3417eb44c2e99ca183ce6f3fbbfff738b70f87
|
||||
runtime a4bec5bc4577850543f57c79f5124ca00169e1b3
|
||||
runtime working tree clean
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java 85d8f687a903862b4e7d5a5b8711cc9af720ec7f4d282bba77ddfaee93dff0a8
|
||||
sha256 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsLinkedTest.java 0e3378ea1e09a1182c0d8e15ed6ac555e3bf2e4fdf4049b80bd5ddaecc4b4537
|
||||
sha256 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db
|
||||
sha256 /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm/src/virtual_machine/array_copy.rs 122bb20f9041f22a46d7e23398d016fbe365fe93834878a9d6fcc4f4c4b36c1b
|
||||
platform macOS-27.0.1-arm64-arm-64bit-Mach-O limits=default capabilities=MEMCARD
|
||||
profile release features=resource-diagnostics
|
||||
sha256 Cargo.lock cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795
|
||||
sha256 docs/vm-arch/INTRINSICS.csv 7c1c363f5f0f941b3ab27cfc72af41e13e44cd4371c687db8300721288f47e63
|
||||
sha256 docs/vm-arch/BUILTIN_CONSTANTS.csv e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/numeric-conformance.tsv 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe
|
||||
sha256 crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv 0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f
|
||||
Compiling prometeu-hal v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-hal)
|
||||
Compiling prometeu-vm v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-vm)
|
||||
Compiling prometeu-drivers v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-drivers)
|
||||
Compiling prometeu-system v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-system)
|
||||
Compiling prometeu-firmware v0.1.0 (/Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/crates/console/prometeu-firmware)
|
||||
Compiling studio-pbx-conformance v0.1.0 (/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/pbx-conformance-u3376prp)
|
||||
Finished `release` profile [optimized] target(s) in 13.12s
|
||||
Running `/tmp/studio-pbx-memcard-target/release/studio-pbx-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/prometeu-compiler/prometeu-build-pipeline/build/registry-conformance /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/runtime/devtools/headless-protocol/response.schema.json --memcard-only`
|
||||
DEFAULT VM LIMIT GuestBytes=268435456
|
||||
DEFAULT VM LIMIT HandleSlots=1048576
|
||||
DEFAULT VM LIMIT AuxiliaryBytes=67108864
|
||||
DEFAULT VM LIMIT TemporaryBytes=67108864
|
||||
DEFAULT VM LIMIT StringBytes=67108864
|
||||
DEFAULT VM LIMIT StringAllocations=262144
|
||||
DEFAULT VM LIMIT IndividualStringBytes=4194304
|
||||
DEFAULT VM LIMIT CallDepth=1024
|
||||
NATIVE LOAD PASS all 14 mem imports against the production loader
|
||||
NATIVE PASS pbs-memcard-example: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example: 64-slot admission
|
||||
NATIVE PASS pbs-memcard-example-optimized: exact save/reopen, no resave, memory-only; not installed-process evidence
|
||||
NATIVE PASS pbs-memcard-contract-optimized: zero initialization, aliases, ordinary-array vacancy, domain errors/status-first Null payloads
|
||||
NATIVE PASS pbs-memcard-alias-optimized: imported type/service aliases retain native carrier and forwarding
|
||||
NATIVE PASS pbs-memcard-imports-optimized: one canonical imported role, initialized dependencies, retained target
|
||||
NATIVE PASS pbs-memcard-busy-optimized: committing source rejects write/clear/second commit
|
||||
NATIVE PASS pbs-memcard-clear-optimized: explicit clear commit survives remount
|
||||
NATIVE PASS pbs-memcard-publish-optimized: public title/format/icon publication and retained request
|
||||
NATIVE PASS pbs-memcard-transfer-limit-optimized: exact 4096-byte transfer and byte 255
|
||||
NATIVE PASS pbs-memcard-example-optimized: 64-slot admission
|
||||
NATIVE PASS PBS facade query: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Failure, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS PBS facade query-optimized: Indeterminate, request 2, dirty RAM preserved
|
||||
NATIVE PASS pbs-memcard-inconsistent: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-inconsistent-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-trap-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-fuel-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-capacity-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-read-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-write-bounds-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-negative-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-byte-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS pbs-memcard-transfer-overflow-optimized: trap/failure, no completed gameplay frame
|
||||
NATIVE PASS absent/read-only: explicit choice retained; no memory fallback
|
||||
NATIVE PASS corrupt media: rejected without replacing with empty data
|
||||
NATIVE PASS installed-JAR PBS example: native Firmware/SystemOS execution, not installed runtime process
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:compileTestJava
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
|
||||
> Task :prometeu-app:memcardProcessTest
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-3769445624780325574/ordinary/build/program.pbx
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","version":"1","optimized":false,"producer":"writer","pbxSha256":"1fa2a19ebddcecaf248eb15bff4fd811dbc58d8ba605c3762d2900ec96b58696","sourceSha256":"5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"}
|
||||
MEMCARD process=52441 installation=/tmp/studio-memcard-process-profiles/debug choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-3769445624780325574/ordinary/build/program.pbx
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","version":"1","optimized":false,"producer":"reader","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52443 installation=/tmp/studio-memcard-process-profiles/debug choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=1 unchangedImageSha256=06201a4c859e7cb40bf24f5b795a2cde612bf028c83676a6f7b22e8dfa0cbc7f
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-3769445624780325574/ordinary/build/program.pbx
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2","version":"2","optimized":false,"producer":"reader","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52445 installation=/tmp/studio-memcard-process-profiles/debug choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=2 unchangedImageSha256=06201a4c859e7cb40bf24f5b795a2cde612bf028c83676a6f7b22e8dfa0cbc7f
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-3769445624780325574/optimized/build/program.pbx
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","version":"1","optimized":true,"producer":"writer","pbxSha256":"dcf7135361b6c14a22858df8d8eddb97c368528b7e0ea685d0744e5f275a259e","sourceSha256":"5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"}
|
||||
MEMCARD process=52447 installation=/tmp/studio-memcard-process-profiles/debug choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-3769445624780325574/optimized/build/program.pbx
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","version":"1","optimized":true,"producer":"reader","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52449 installation=/tmp/studio-memcard-process-profiles/debug choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=1 unchangedImageSha256=167098661f6c92dffbc7b747fe604b8203c2d2c1c1ce8311ca620c4df0985f1f
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-3769445624780325574/optimized/build/program.pbx
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2","version":"2","optimized":true,"producer":"reader","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52451 installation=/tmp/studio-memcard-process-profiles/debug choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=2 unchangedImageSha256=167098661f6c92dffbc7b747fe604b8203c2d2c1c1ce8311ca620c4df0985f1f
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_ERROR
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-5479213390110569682/memory/build/program.pbx
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","version":"1","optimized":true,"producer":"dirty","pbxSha256":"f8372490b74aa96313f042fa96222191212024f3841ed414726d5c3eb0563b09","sourceSha256":"0f3e6759a31694b88f225e927df2c436455316342a82dbce10bfc39c9a448e81"}
|
||||
PASS protected reset/shutdown, explicit default-path create/unmount and native recovery refusal
|
||||
|
||||
BUILD SUCCESSFUL in 4s
|
||||
46 actionable tasks: 2 executed, 44 up-to-date
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
|
||||
> Task :prometeu-app:memcardProcessTest
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-17639231823983857366/ordinary/build/program.pbx
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"1fa2a19ebddcecaf248eb15bff4fd811dbc58d8ba605c3762d2900ec96b58696","producer":"writer","optimized":false,"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"}
|
||||
MEMCARD process=52572 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-17639231823983857366/ordinary/build/program.pbx
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":false,"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52574 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=1 unchangedImageSha256=3b17d32f91156d14e4561b55b29a2687081f745ef696e2d44bb8f13aa13aa307
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-17639231823983857366/ordinary/build/program.pbx
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":false,"version":"2","manifestSha256":"835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52576 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=2 unchangedImageSha256=3b17d32f91156d14e4561b55b29a2687081f745ef696e2d44bb8f13aa13aa307
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-17639231823983857366/optimized/build/program.pbx
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"dcf7135361b6c14a22858df8d8eddb97c368528b7e0ea685d0744e5f275a259e","producer":"writer","optimized":true,"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"}
|
||||
MEMCARD process=52578 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-17639231823983857366/optimized/build/program.pbx
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":true,"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52580 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=1 unchangedImageSha256=aee37278686810f854cd7099fb0b47d9664518e27a7e4340b921e46937478cd0
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-17639231823983857366/optimized/build/program.pbx
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":true,"version":"2","manifestSha256":"835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"}
|
||||
MEMCARD process=52582 installation=/tmp/pln199-install-0x57zot6 choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=2 unchangedImageSha256=aee37278686810f854cd7099fb0b47d9664518e27a7e4340b921e46937478cd0
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_ERROR
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-12862658963090233115/memory/build/program.pbx
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"pbxSha256":"f8372490b74aa96313f042fa96222191212024f3841ed414726d5c3eb0563b09","producer":"dirty","optimized":true,"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"0f3e6759a31694b88f225e927df2c436455316342a82dbce10bfc39c9a448e81"}
|
||||
PASS protected reset/shutdown, explicit default-path create/unmount and native recovery refusal
|
||||
|
||||
BUILD SUCCESSFUL in 3s
|
||||
46 actionable tasks: 1 executed, 45 up-to-date
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes UP-TO-DATE
|
||||
> Task :prometeu-app:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar UP-TO-DATE
|
||||
|
||||
> Task :prometeu-app:memcardProcessTest
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2225074751490740384/ordinary/build/program.pbx
|
||||
[pool-1-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261","pbxSha256":"1fa2a19ebddcecaf248eb15bff4fd811dbc58d8ba605c3762d2900ec96b58696","producer":"writer","optimized":false}
|
||||
MEMCARD process=52508 installation=/tmp/studio-memcard-process-profiles/release choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2225074751490740384/ordinary/build/program.pbx
|
||||
[pool-2-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":false}
|
||||
MEMCARD process=52510 installation=/tmp/studio-memcard-process-profiles/release choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=1 unchangedImageSha256=08238ea824e0591575605c302c09620ba112616865ec80d12a82c0bd69a6a0a3
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2225074751490740384/ordinary/build/program.pbx
|
||||
[pool-3-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"2","manifestSha256":"835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":false}
|
||||
MEMCARD process=52512 installation=/tmp/studio-memcard-process-profiles/release choice=persistent
|
||||
PASS PBS process save/reopen optimizer=false version=2 unchangedImageSha256=08238ea824e0591575605c302c09620ba112616865ec80d12a82c0bd69a6a0a3
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2225074751490740384/optimized/build/program.pbx
|
||||
[pool-4-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261","pbxSha256":"dcf7135361b6c14a22858df8d8eddb97c368528b7e0ea685d0744e5f275a259e","producer":"writer","optimized":true}
|
||||
MEMCARD process=52514 installation=/tmp/studio-memcard-process-profiles/release choice=persistent
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2225074751490740384/optimized/build/program.pbx
|
||||
[pool-5-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":true}
|
||||
MEMCARD process=52516 installation=/tmp/studio-memcard-process-profiles/release choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=1 unchangedImageSha256=31f810bc618d6475b58a5d10cf421bd1f84fb6593dab2689865ee4154d452eb5
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_ERROR
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-2225074751490740384/optimized/build/program.pbx
|
||||
[pool-6-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > savesThenDifferentProcessesReadExactBytesAcrossVersionUpgradeWithoutResaving() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"2","manifestSha256":"835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2","sourceSha256":"157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855","pbxSha256":"3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80","producer":"reader","optimized":true}
|
||||
MEMCARD process=52518 installation=/tmp/studio-memcard-process-profiles/release choice=persistent
|
||||
PASS PBS process save/reopen optimizer=true version=2 unchangedImageSha256=31f810bc618d6475b58a5d10cf421bd1f84fb6593dab2689865ee4154d452eb5
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_ERROR
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.DependencyService - [DEPS]: dependency completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.stages.WriteBytecodeArtifactPipelineStage - [BUILD]: wrote bytecode artifact to /private/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/junit-16271616819319959096/memory/build/program.pbx
|
||||
[pool-7-thread-1] INFO p.studio.compiler.workspaces.BuilderPipelineService - builder pipeline completed successfully
|
||||
|
||||
MemcardInstalledRuntimeTest > memoryOnlyShutdownRefusalKeepsSessionUntilExplicitDiscardAndOpenNeverCreates() STANDARD_OUT
|
||||
MEMCARD ARTIFACT {"version":"1","manifestSha256":"3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4","sourceSha256":"0f3e6759a31694b88f225e927df2c436455316342a82dbce10bfc39c9a448e81","pbxSha256":"f8372490b74aa96313f042fa96222191212024f3841ed414726d5c3eb0563b09","producer":"dirty","optimized":true}
|
||||
PASS protected reset/shutdown, explicit default-path create/unmount and native recovery refusal
|
||||
|
||||
BUILD SUCCESSFUL in 3s
|
||||
46 actionable tasks: 1 executed, 45 up-to-date
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
> Task :buildSrc:checkKotlinGradlePluginConfigurationErrors SKIPPED
|
||||
> Task :buildSrc:generateExternalPluginSpecBuilders UP-TO-DATE
|
||||
> Task :buildSrc:extractPrecompiledScriptPluginPlugins UP-TO-DATE
|
||||
> Task :buildSrc:compilePluginsBlocks UP-TO-DATE
|
||||
> Task :buildSrc:generatePrecompiledScriptPluginAccessors UP-TO-DATE
|
||||
> Task :buildSrc:generateScriptPluginAdapters UP-TO-DATE
|
||||
> Task :buildSrc:compileKotlin UP-TO-DATE
|
||||
> Task :buildSrc:compileJava NO-SOURCE
|
||||
> Task :buildSrc:compileGroovy NO-SOURCE
|
||||
> Task :buildSrc:pluginDescriptors UP-TO-DATE
|
||||
> Task :buildSrc:processResources UP-TO-DATE
|
||||
> Task :buildSrc:classes UP-TO-DATE
|
||||
> Task :buildSrc:jar UP-TO-DATE
|
||||
> Task :prometeu-infra:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:compileJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileJava UP-TO-DATE
|
||||
> Task :prometeu-app:compileJava
|
||||
> Task :prometeu-app:processResources UP-TO-DATE
|
||||
> Task :prometeu-app:classes
|
||||
> Task :prometeu-app:jar
|
||||
> Task :prometeu-app:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-app:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-app:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:processResources NO-SOURCE
|
||||
> Task :prometeu-infra:classes UP-TO-DATE
|
||||
> Task :prometeu-infra:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jar UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processResources UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:classes UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:classes UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jar UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jar UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:classes UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jar UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:generatePbsKnowledge
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processResources
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:classes
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jar
|
||||
> Task :prometeu-app:test
|
||||
> Task :prometeu-architecture-tests:compileJava NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:processResources NO-SOURCE
|
||||
> Task :prometeu-architecture-tests:classes UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-architecture-tests:testClasses UP-TO-DATE
|
||||
> Task :prometeu-app:jacocoTestReport
|
||||
> Task :prometeu-architecture-tests:test
|
||||
> Task :prometeu-architecture-tests:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-infra:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-infra:processTestResources NO-SOURCE
|
||||
> Task :prometeu-infra:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:test
|
||||
> Task :prometeu-studio-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-infra:jacocoTestReport
|
||||
> Task :prometeu-studio-api:test
|
||||
> Task :prometeu-studio-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-api:jacocoTestReport
|
||||
> Task :prometeu-studio-core:test
|
||||
> Task :prometeu-studio-ui-javafx:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:processTestResources NO-SOURCE
|
||||
> Task :prometeu-studio-ui-javafx:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-core:jacocoTestReport
|
||||
> Task :prometeu-studio-ui-javafx:test
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:testClasses UP-TO-DATE
|
||||
> Task :prometeu-studio-ui-javafx:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:test
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-build-pipeline:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:test
|
||||
> Task :prometeu-compiler:prometeu-deps:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-deps:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-compiler-core:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-deps:test
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-deps:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:test
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:processTestResources NO-SOURCE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-api:jacocoTestReport
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:test
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:test NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:processTestResources NO-SOURCE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-compiler:prometeu-frontend-registry:jacocoTestReport
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:test
|
||||
> Task :prometeu-packer:prometeu-packer-api:compileTestJava NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:processTestResources NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-api:test NO-SOURCE
|
||||
> Task :prometeu-packer:prometeu-packer-api:jacocoTestReport SKIPPED
|
||||
> Task :prometeu-packer:prometeu-packer-v1:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:testClasses UP-TO-DATE
|
||||
> Task :prometeu-lsp:prometeu-lsp-v1:jacocoTestReport
|
||||
> Task :prometeu-packer:prometeu-packer-v1:test
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:compileTestJava UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:processTestResources UP-TO-DATE
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:testClasses UP-TO-DATE
|
||||
> Task :prometeu-packer:prometeu-packer-v1:jacocoTestReport
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:test
|
||||
> Task :prometeu-compiler:frontends:prometeu-frontend-pbs:jacocoTestReport
|
||||
|
||||
> Task :prometeu-app:assembleStudioRuntime
|
||||
WARNING: Using incubator modules: jdk.incubator.vector
|
||||
|
||||
> Task :prometeu-app:startScripts
|
||||
> Task :prometeu-app:installDist
|
||||
> Task :prometeu-app:installedKnowledgeTest
|
||||
> Task :prometeu-app:devDesktopTest
|
||||
|
||||
BUILD SUCCESSFUL in 1m 13s
|
||||
95 actionable tasks: 37 executed, 58 up-to-date
|
||||
+576
@@ -0,0 +1,576 @@
|
||||
{
|
||||
"date": "2026-10-30",
|
||||
"discussion": "DSC-0085",
|
||||
"historical_decision": "DEC-0083 including accepted MemcardBuffer D5a",
|
||||
"historical_plan": "PLN-0161",
|
||||
"status": "complete; all D1..D7 gates passed; consolidated in LSN-0099",
|
||||
"owner": "studio; propagation compiler/pbs and compiler/general",
|
||||
"studio_head": "3a3417eb44c2e99ca183ce6f3fbbfff738b70f87",
|
||||
"runtime_head": "a4bec5bc4577850543f57c79f5124ca00169e1b3",
|
||||
"runtime_worktree": "",
|
||||
"provider_source_fingerprint_sha256": "87474a7172e3e233a9144c97202a40001892ea0e8a6c814b47581b67527c2575",
|
||||
"provider_fingerprint_matches_published_evidence": true,
|
||||
"provider_source_sha256": {
|
||||
"crates/console/prometeu-drivers/src/memcard.rs": "cc0326c89033cca97d1798e7725f2bf52115c8592a12dab39146c9d3dcb19769",
|
||||
"crates/console/prometeu-firmware/src/firmware/firmware_step_load_cartridge.rs": "3177c16ab016d45424b54e9b3bbf1746f9113db8ec607a2819cabc412202a4fb",
|
||||
"crates/console/prometeu-hal/src/memcard.rs": "263d609d336d6e37b62fa4604d2be5ab98df26c45ec7c611557b0abfb8916bee",
|
||||
"crates/console/prometeu-system/src/os/system_os.rs": "cbca29127df9ca28b6ed84bd5fa3f926b410a34f360c33bfce0456292cf4340b",
|
||||
"crates/console/prometeu-system/src/services/memcard.rs": "a58517232ceef657d005da2f28fbc0cd484398bd407b2340b0d3571d083e53c5",
|
||||
"crates/console/prometeu-system/src/services/memcard/admission.rs": "ecec0b0642da3aba3a38941ce25afdb35dc8d42b15f34d9da6ac9d06f765f741",
|
||||
"crates/console/prometeu-system/src/services/memcard/diagnostics.rs": "99699c14c43090c8eb72624967e96846a99400a5809301a8dcc2564d8164ab61",
|
||||
"crates/console/prometeu-system/src/services/memcard/guest.rs": "507913dc29ed07ab2a4ac6ec93583e935a73e35ec8f16798de0a5b55d392dd98",
|
||||
"crates/console/prometeu-system/src/services/memcard/image.rs": "c4aedb43b050989ef95f8efbd5d0994b23928a16dd49358361ecd96ffed3811d",
|
||||
"crates/console/prometeu-system/src/services/memcard/session.rs": "f6990ddac2f0cd2f2643d4323be6e18eef0e349ea1494c6dfd216cb5e2105d4a",
|
||||
"crates/dev/prometeu-test-support/src/lib.rs": "4cf14e6065e40ec5bc84fdc20f653babee26e1d60c97687b1e68edfda9b1a219",
|
||||
"crates/dev/prometeu-test-support/src/memcard_fixture.rs": "f63fd0c6dff5b862d228709d9160b38ab9edc1a90e62b051eb6540706977bd0f",
|
||||
"crates/dev/prometeu-test-support/src/program.rs": "d6c2f720fb405355ea2d3648a5c08e7fa96f5fc8cfd289be0cfb17f911907696",
|
||||
"crates/host/prometeu-host-headless/src/automation/mod.rs": "7d72c0eddf23b769047812e9a96746380f58dc18d5ef560188999160aee17c68",
|
||||
"crates/host/prometeu-host-headless/src/automation/wire.rs": "0a1e3c786810499857f54d8d1795fded417ed809b17c4a03d1b39941b0d4dd28",
|
||||
"crates/host/prometeu-host-headless/src/host.rs": "fc75f6c9dd842ec241e95f4389935d8edf619ed3c7c5134733d25b6dd58cbb2f",
|
||||
"crates/host/prometeu-host-headless/src/lib.rs": "3b29775d61a26a6098562e2e4e98fba1d43580a36979be43682f44ce5f8655c8",
|
||||
"crates/host/prometeu-host-headless/src/memcard.rs": "a32fcfc9cb30ddf18a2eb848101c34583a215817bf6e185124084a46f22ad329",
|
||||
"crates/host/prometeu-host-headless/src/memcard_tests.rs": "66f566a8291014524a4ef0d5952252adf64d3f8c68b50bd9251f4482664e2f39",
|
||||
"crates/host/prometeu-host-headless/src/resource_qualification_tests.rs": "243f51eadc91c30ef5895d34525574349dbad45ee7b77cb88bee25c7fd2e66a4",
|
||||
"crates/host/prometeu-host-headless/tests/deterministic_control.rs": "5fe3f48575e0fd5f4f2640c76145603baa2571b67ad619de21caadf1ce35aa1b",
|
||||
"crates/tools/prometeu-cli/src/lib.rs": "944840ef6e14400b98cc1dc659c95ba5eb6e7ef8a4cd4d28d37ba70392e7e2d6",
|
||||
"crates/tools/prometeu-cli/src/main.rs": "2c956bc90756e31bc38cd6811933a717b3c49d1f0ab501ed39f5869e6b3d8c92",
|
||||
"crates/tools/prometeu-cli/tests/automation_process.rs": "230dea8a6cabede2e168c35938284903fa41614eaa2619626bb6560a9527640f",
|
||||
"crates/tools/prometeu-cli/tests/support/memcard_process.rs": "0a8581fb129238f39605a6e9485e813e58b639e7a2131e3cf06e9c390cce2bed",
|
||||
"devtools/headless-protocol/invalid-requests.json": "f0f0a9a21735c7f90180e816093a884350c07303ea887ebe89a534fc6c8a7b3a",
|
||||
"devtools/headless-protocol/request.schema.json": "d7e5b39917f0973e0cb697815937e21574bec7f24ebcab8c9a72ca3c05dca553",
|
||||
"devtools/headless-protocol/requests.json": "5821af6fecb51a7b85e502fd27d22e046e140d417982bbb561fd260b9023ddf2",
|
||||
"devtools/headless-protocol/response.schema.json": "0040bb288226eb2f34d4028d8a5f3f8a708d754d51d8f62eaa7e64b0da5c69a8",
|
||||
"docs/specs/runtime/08-save-memory-and-memcard.md": "7ead27a4039a3451909e7319f8624ec37c62602fee4615f6766e4435b0f411d7",
|
||||
"docs/specs/runtime/11a-headless-automation-protocol.md": "526e6aae664ffc5661289150410599fb3494e1a1665ba334fe802b0d69e46313"
|
||||
},
|
||||
"runtime_writes_by_this_work": false,
|
||||
"runtime_commits_by_this_work": false,
|
||||
"platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
|
||||
"protocol": {
|
||||
"major": 1,
|
||||
"minor": 1,
|
||||
"capability": "memcard",
|
||||
"schema_sha256": {
|
||||
"invalid-requests.json": "f0f0a9a21735c7f90180e816093a884350c07303ea887ebe89a534fc6c8a7b3a",
|
||||
"request.schema.json": "d7e5b39917f0973e0cb697815937e21574bec7f24ebcab8c9a72ca3c05dca553",
|
||||
"requests.json": "5821af6fecb51a7b85e502fd27d22e046e140d417982bbb561fd260b9023ddf2",
|
||||
"response.schema.json": "0040bb288226eb2f34d4028d8a5f3f8a708d754d51d8f62eaa7e64b0da5c69a8"
|
||||
}
|
||||
},
|
||||
"java_regression": {
|
||||
"suites": 201,
|
||||
"tests": 1118,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 13
|
||||
},
|
||||
"installed_knowledge": {
|
||||
"suites": 1,
|
||||
"tests": 2,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"dev_javafx": {
|
||||
"suites": 1,
|
||||
"tests": 5,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"existing_configured_headless": {
|
||||
"suites": 2,
|
||||
"tests": 4,
|
||||
"failures": 0,
|
||||
"errors": 0,
|
||||
"skipped": 0
|
||||
},
|
||||
"memcard_process": {
|
||||
"dev": {
|
||||
"result": "passed",
|
||||
"tests": 2,
|
||||
"producer_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"readback_versions": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"readback_checks": 4,
|
||||
"route": "configured HeadlessProcessGateway using isolated dev/release binary layout; not a distribution archive",
|
||||
"installation": "/tmp/studio-memcard-process-profiles/debug",
|
||||
"binary_sha256": {
|
||||
"prometeu": "a9f7f3e10d52b72cb28a16781fcc6d72dc7f811523ada68aabfa8b708743cab6",
|
||||
"prometeu-headless": "a0cb4b16a46634d56ffd7ae5f142017158165f297ddf4925c19da34166482ee6"
|
||||
},
|
||||
"process_ids": [
|
||||
52441,
|
||||
52443,
|
||||
52445,
|
||||
52447,
|
||||
52449,
|
||||
52451
|
||||
],
|
||||
"artifacts": [
|
||||
{
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"version": "1",
|
||||
"optimized": false,
|
||||
"producer": "writer",
|
||||
"pbxSha256": "1fa2a19ebddcecaf248eb15bff4fd811dbc58d8ba605c3762d2900ec96b58696",
|
||||
"sourceSha256": "5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"
|
||||
},
|
||||
{
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"version": "1",
|
||||
"optimized": false,
|
||||
"producer": "reader",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"manifestSha256": "835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2",
|
||||
"version": "2",
|
||||
"optimized": false,
|
||||
"producer": "reader",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"version": "1",
|
||||
"optimized": true,
|
||||
"producer": "writer",
|
||||
"pbxSha256": "dcf7135361b6c14a22858df8d8eddb97c368528b7e0ea685d0744e5f275a259e",
|
||||
"sourceSha256": "5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"
|
||||
},
|
||||
{
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"version": "1",
|
||||
"optimized": true,
|
||||
"producer": "reader",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"manifestSha256": "835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2",
|
||||
"version": "2",
|
||||
"optimized": true,
|
||||
"producer": "reader",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"version": "1",
|
||||
"optimized": true,
|
||||
"producer": "dirty",
|
||||
"pbxSha256": "f8372490b74aa96313f042fa96222191212024f3841ed414726d5c3eb0563b09",
|
||||
"sourceSha256": "0f3e6759a31694b88f225e927df2c436455316342a82dbce10bfc39c9a448e81"
|
||||
}
|
||||
],
|
||||
"unchanged_image_sha256": [
|
||||
"06201a4c859e7cb40bf24f5b795a2cde612bf028c83676a6f7b22e8dfa0cbc7f",
|
||||
"06201a4c859e7cb40bf24f5b795a2cde612bf028c83676a6f7b22e8dfa0cbc7f",
|
||||
"167098661f6c92dffbc7b747fe604b8203c2d2c1c1ce8311ca620c4df0985f1f",
|
||||
"167098661f6c92dffbc7b747fe604b8203c2d2c1c1ce8311ca620c4df0985f1f"
|
||||
],
|
||||
"log": "process-dev.log"
|
||||
},
|
||||
"release": {
|
||||
"result": "passed",
|
||||
"tests": 2,
|
||||
"producer_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"readback_versions": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"readback_checks": 4,
|
||||
"route": "configured HeadlessProcessGateway using isolated dev/release binary layout; not a distribution archive",
|
||||
"installation": "/tmp/studio-memcard-process-profiles/release",
|
||||
"binary_sha256": {
|
||||
"prometeu": "9df76e60d4e6ddc8c8e9596acba6d5287e8dd1805933474ba8a820f07dbcc713",
|
||||
"prometeu-headless": "e1a4d27901e7af7f3b0cbb82ee13c2a1cf48e20d39110740391cb5d62952e5fb"
|
||||
},
|
||||
"process_ids": [
|
||||
52508,
|
||||
52510,
|
||||
52512,
|
||||
52514,
|
||||
52516,
|
||||
52518
|
||||
],
|
||||
"artifacts": [
|
||||
{
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261",
|
||||
"pbxSha256": "1fa2a19ebddcecaf248eb15bff4fd811dbc58d8ba605c3762d2900ec96b58696",
|
||||
"producer": "writer",
|
||||
"optimized": false
|
||||
},
|
||||
{
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": false
|
||||
},
|
||||
{
|
||||
"version": "2",
|
||||
"manifestSha256": "835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": false
|
||||
},
|
||||
{
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261",
|
||||
"pbxSha256": "dcf7135361b6c14a22858df8d8eddb97c368528b7e0ea685d0744e5f275a259e",
|
||||
"producer": "writer",
|
||||
"optimized": true
|
||||
},
|
||||
{
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": true
|
||||
},
|
||||
{
|
||||
"version": "2",
|
||||
"manifestSha256": "835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855",
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": true
|
||||
},
|
||||
{
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "0f3e6759a31694b88f225e927df2c436455316342a82dbce10bfc39c9a448e81",
|
||||
"pbxSha256": "f8372490b74aa96313f042fa96222191212024f3841ed414726d5c3eb0563b09",
|
||||
"producer": "dirty",
|
||||
"optimized": true
|
||||
}
|
||||
],
|
||||
"unchanged_image_sha256": [
|
||||
"08238ea824e0591575605c302c09620ba112616865ec80d12a82c0bd69a6a0a3",
|
||||
"08238ea824e0591575605c302c09620ba112616865ec80d12a82c0bd69a6a0a3",
|
||||
"31f810bc618d6475b58a5d10cf421bd1f84fb6593dab2689865ee4154d452eb5",
|
||||
"31f810bc618d6475b58a5d10cf421bd1f84fb6593dab2689865ee4154d452eb5"
|
||||
],
|
||||
"log": "process-release.log"
|
||||
},
|
||||
"dist": {
|
||||
"result": "passed",
|
||||
"tests": 2,
|
||||
"producer_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"readback_versions": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"readback_checks": 4,
|
||||
"route": "configured HeadlessProcessGateway using extracted distribution",
|
||||
"installation": "/tmp/pln199-install-0x57zot6",
|
||||
"binary_sha256": {
|
||||
"prometeu": "182e4d9a4d32201c8ad892a11c297de7059dcc0a837660bdd173be44808b9906",
|
||||
"prometeu-headless": "7703190f63844d91fa125ba3a322b5e771db79a282b3cfbb3480eef76422b6ef"
|
||||
},
|
||||
"process_ids": [
|
||||
52572,
|
||||
52574,
|
||||
52576,
|
||||
52578,
|
||||
52580,
|
||||
52582
|
||||
],
|
||||
"artifacts": [
|
||||
{
|
||||
"pbxSha256": "1fa2a19ebddcecaf248eb15bff4fd811dbc58d8ba605c3762d2900ec96b58696",
|
||||
"producer": "writer",
|
||||
"optimized": false,
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"
|
||||
},
|
||||
{
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": false,
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": false,
|
||||
"version": "2",
|
||||
"manifestSha256": "835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"pbxSha256": "dcf7135361b6c14a22858df8d8eddb97c368528b7e0ea685d0744e5f275a259e",
|
||||
"producer": "writer",
|
||||
"optimized": true,
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "5c32aad2088ce724ee658a191f42cc445dcea0d59d0e04c43c483e6749d3c261"
|
||||
},
|
||||
{
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": true,
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"pbxSha256": "3538552c37261673366af3ccc9d3380683a996c8c22f57cef886a11071ff8f80",
|
||||
"producer": "reader",
|
||||
"optimized": true,
|
||||
"version": "2",
|
||||
"manifestSha256": "835d4deae52595df90d1934133519c9a756d79d97dbae4fcfd305dea704fd4e2",
|
||||
"sourceSha256": "157effc63f3a324427437fe43c9d308a48ea523a5f0303129f24cfdfac439855"
|
||||
},
|
||||
{
|
||||
"pbxSha256": "f8372490b74aa96313f042fa96222191212024f3841ed414726d5c3eb0563b09",
|
||||
"producer": "dirty",
|
||||
"optimized": true,
|
||||
"version": "1",
|
||||
"manifestSha256": "3b3c3caa46ccbcb94707e4ffb1df710fdc466b10877d7cb8d3f1495593bcf6a4",
|
||||
"sourceSha256": "0f3e6759a31694b88f225e927df2c436455316342a82dbce10bfc39c9a448e81"
|
||||
}
|
||||
],
|
||||
"unchanged_image_sha256": [
|
||||
"3b17d32f91156d14e4561b55b29a2687081f745ef696e2d44bb8f13aa13aa307",
|
||||
"3b17d32f91156d14e4561b55b29a2687081f745ef696e2d44bb8f13aa13aa307",
|
||||
"aee37278686810f854cd7099fb0b47d9664518e27a7e4340b921e46937478cd0",
|
||||
"aee37278686810f854cd7099fb0b47d9664518e27a7e4340b921e46937478cd0"
|
||||
],
|
||||
"log": "process-dist.log"
|
||||
}
|
||||
},
|
||||
"native_profiles": {
|
||||
"dev": {
|
||||
"result": "passed",
|
||||
"observations": 46,
|
||||
"producer_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"route": "production Firmware/SystemOS/FileMemcard native harness; distinct from process evidence",
|
||||
"log": "native-dev.log"
|
||||
},
|
||||
"release": {
|
||||
"result": "passed",
|
||||
"observations": 46,
|
||||
"producer_optimizer_variants": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
],
|
||||
"route": "production Firmware/SystemOS/FileMemcard native harness; distinct from process evidence",
|
||||
"log": "native-release.log"
|
||||
}
|
||||
},
|
||||
"distribution": {
|
||||
"builder": "cargo-dist 0.30.3 via existing local-dist workflow",
|
||||
"target": "aarch64-apple-darwin",
|
||||
"profile": "dist (inherits release, LTO)",
|
||||
"archive": "target/distrib/prometeu-cli-aarch64-apple-darwin.zip",
|
||||
"archive_sha256": "a6f66e814e0e9254cc4bba5e4a4307c9ec8a9963f8332f2f64a283a376d93b7c",
|
||||
"extracted_to": "/tmp/pln199-install-0x57zot6",
|
||||
"binary_sha256": {
|
||||
"prometeu": "182e4d9a4d32201c8ad892a11c297de7059dcc0a837660bdd173be44808b9906",
|
||||
"prometeu-headless": "7703190f63844d91fa125ba3a322b5e771db79a282b3cfbb3480eef76422b6ef",
|
||||
"prometeu-runtime": "0e8e692395cedea799b6d555b416e40536dcabf3a98a2061327d2010c478e446"
|
||||
},
|
||||
"included_schemas_and_spec": "byte-identical to current checkout",
|
||||
"qualification_harness_profile": "dev harness invokes only extracted dist executables"
|
||||
},
|
||||
"source_sha256": {
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/LSN-0099-explicit-buffers-and-process-proven-persistence.md": "8ad8efb4eb334bc895feca9b0641106a4059de0211abed41876853e0d49716ff",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/final-regression-and-dist.log": "6f9563e6b2a271b34fb1c13fadea6f2f3ea1a0dea0e01b20f13c83e1960963da",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/headless-focused.log": "4f6c49d48487713aaa21c3bb2747004667f74e84584a91dbbcdde63bd1551a26",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/buffer-focused.log": "8d418d65c29517675252355dc650b4eedbf4cac81b290147db35b1731e630400",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/buffer-regression.log": "272fa3b556a1d474933cb4fab757fe1217794653a7c0042a2b9976440be164df",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/fixtures.log": "8d418d65c29517675252355dc650b4eedbf4cac81b290147db35b1731e630400",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/focused.log": "0e9945d09a9bbe894a514a67a94aa49dfe4273423abdad457d4aa6f79b373f59",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/native-dev-failed.log": "d4d08b58e163beabc1a7b2b3cb1949e72515c28b4ca10b7927a81699ef704175",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/native-dev.log": "fc2aab68da77fb99e87cdf4266564a1df43e29abb0c79484e2539d8819a58567",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/native-release.log": "05f7b1b11754e70b42ce31b735d57357145ce52f0a8bda72a4f724c8663964fd",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/regression.log": "354791becb2703aaac0fbdebe4c3b5f3520199171d4f0224a3a8b04fa3dcb812",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/shipper.log": "066069bb04d4de9769d9b043dfbd651c26f5ee0e9e5a4cd293941c56476695d3",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/history-2026-10-29/summary.json": "0fbdc20319cdde01484eea53bb064db1c043bf84a2a1400b7f39aecae08fd123",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/native-dev.log": "cfc2bf4b07548ec8c00300a5a137fc4ecb458fee9c8b7d9beec4269d8ab74729",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/native-release.log": "b966a1a98b8894c7561f0b151435ce9daf9a4725e164e8c73fcea1f8951bfc6a",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/process-dev.log": "ab6f317d621ea11b0068c35b7a09ba59256d8241996ad2551af0470eb5dbdb07",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/process-dist.log": "5e3f83f929f1dfe8d7fdfd4b301dacebeb614d35498a24366fa6d7bc8eeb870c",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/process-release.log": "cbc415a82c2b27e56a99c979c08882756facba3796ccb1652ef02c17a440f8a3",
|
||||
"discussion/lessons/DSC-0085-studio-memcard-persistence-integration/evidence/regression-and-ui.log": "5ef8f1a1bc742f118ff7f953d483697cd83a52c57ed9253744e97eb93b2b66bd",
|
||||
"docs/specs/compiler-languages/pbs/11. AST Specification.md": "425a4580cdea4eda688bf4339b6547c4250c72fde38c9e8cbca6d55abca02e3e",
|
||||
"docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md": "a8c5f17ee18d28cfbdef88102f863e292d204c76e5ae068d843ed52e1be8bd9b",
|
||||
"docs/specs/compiler-languages/pbs/26. Memcard Bootstrap and SDK Specification.md": "59d9b1af779316205929d207f19bc793514a5fd8991e97bb84724fe7172b57f8",
|
||||
"docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md": "0235d0996068713ca0f37480dd826160e1e415aef2fdd199d96ab4fa483fe823",
|
||||
"docs/specs/compiler-languages/pbs/5. Manifest, Stdlib, and SDK Resolution Specification.md": "75b6b5644f14e7711ff7e68bfb76ea3b0f56de48a659941fd3d9f383fd3f4e33",
|
||||
"docs/specs/compiler-languages/pbs/7. Cartridge Manifest and Runtime Capabilities Specification.md": "abca4c93efe7800a1b9e2bf376354a4e2e198339574ff077223fe4c7ab7d4dae",
|
||||
"docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md": "d6b9b5c85008a0ab3f7eca6d82aa7b354ab882d35e4409be19d4ceca2fe5e194",
|
||||
"docs/specs/compiler-languages/pbs/README.md": "3f100094bfa8f1eceb7120f00335d02af08b86214e638b83baad1b41af9f2ba8",
|
||||
"docs/specs/compiler/25. Typed Registry and PBX v0 Specification.md": "c17661de15c78e13804747a0fdab8ab703ddbd96b2f98d71407806c8494cd618",
|
||||
"docs/specs/studio/10. DEV and Automation Specification.md": "310044d7d2c7c8352f4eeab11719a55b9ba52614cb4b028a0db0bcb7f22556d8",
|
||||
"docs/specs/studio/11. MCP Tools and Project Knowledge Contract.md": "6dd2eeb902f341b1f91683a99e4583369f2e6c86058d2a55e844e13ba5a0c36d",
|
||||
"docs/specs/studio/8. Project-Local Studio State Specification.md": "709273a71d94665360f3aaca94924ee045431e75460a0bbca3e170873a63d308",
|
||||
"prometeu-app/build.gradle.kts": "eec07ba0e7ba81a8a09f42ec087906ccffdeda5fbcd389108620cfdafe203e7d",
|
||||
"prometeu-app/src/main/java/p/studio/app/mcp/McpTaskTools.java": "6382d9603da04d3f438c6f1d8ea84d7fc1711651ce1cfa3a93ef3e1029229446",
|
||||
"prometeu-app/src/main/java/p/studio/app/runtime/ExternalRuntimeGateway.java": "5298a0541864f8d434d03d06726fd05ccfa0ca93b84538ef65a7158aeb86d9af",
|
||||
"prometeu-app/src/main/java/p/studio/app/runtime/HeadlessMemcard.java": "71521eb4bb62e3e5cbd3e3a6d37b6bfb48762db41346d71fbccca91dcce0612b",
|
||||
"prometeu-app/src/main/java/p/studio/app/runtime/HeadlessProcessGateway.java": "f77350d1e4ee20479effd1c83a90efd1626d868fafbf6e35fbef9834e5eed7c4",
|
||||
"prometeu-app/src/main/java/p/studio/app/runtime/HeadlessProcessSession.java": "eae7597d96f81a00d40a06984eb65c8a642da3bf977fdf5a12652fd43e5c73af",
|
||||
"prometeu-app/src/main/java/p/studio/app/runtime/HeadlessWire.java": "94538f3160db45cb5614dc1cfd61aa973bcedb84338c959a16a474eedad3d4f4",
|
||||
"prometeu-app/src/main/resources/mcp/studio-tools-v1.json": "7a1d04f7b9b691d109b5d4d129ec19e63a7008809f9347cd65e1a992c9d12b17",
|
||||
"prometeu-app/src/test/java/p/studio/app/DevDesktopTest.java": "70e811a22e0e1f50fedd1aadfeee71cbb93ebb75dbf65d5af94cc9221938be3c",
|
||||
"prometeu-app/src/test/java/p/studio/app/StudioApplicationConfigurationTest.java": "2bf01160d7f5dd23a30d5dfe85f7c128cf330aa6c942e2698d921511a50879f4",
|
||||
"prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java": "4cf6274e58174a0c401d94bf809008d78c6ae595f45fc807678c1a0ff0f004f2",
|
||||
"prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeTest.java": "b3c1649c43bece259c2f751cea6f8e4c29e6876750782688542a486ae4ff55b4",
|
||||
"prometeu-app/src/test/java/p/studio/app/mcp/McpContractTest.java": "ef036fdb93496df51dd04e0b014800660e95bf9fa9d1468ba386825df37efae3",
|
||||
"prometeu-app/src/test/java/p/studio/app/mcp/McpTaskToolsTest.java": "12efd610d5cedf52eb891c6cf78d7626567894f83a58d711bbd604962415d09c",
|
||||
"prometeu-app/src/test/java/p/studio/app/mcp/stdio/StudioMcpStdioTest.java": "7018e359bc41d7c18a0ec0b1ba0bec7f8b635334eb2ecae011d572523692f023",
|
||||
"prometeu-app/src/test/java/p/studio/app/runtime/DesktopMemcardSelectionTest.java": "e0334d9cbfd84928c974ac32ad35cb82dae406a36c567ca806eb9fcd5feebac2",
|
||||
"prometeu-app/src/test/java/p/studio/app/runtime/HeadlessFixture.java": "1b06a3ddbbd1b6487c37ac29bcd57b2be85f50e78ff9a1bcd881f168430c4661",
|
||||
"prometeu-app/src/test/java/p/studio/app/runtime/HeadlessMcpDesktopTest.java": "10fe7a9ac44cfe977b3d12f68839ae58a1c1ae74eae1973bd001c9f9f73e0c8f",
|
||||
"prometeu-app/src/test/java/p/studio/app/runtime/HeadlessProcessSessionTest.java": "c9d9fd1dcbfc31802ce9063743f025e902d94b43ecaff04528f7f436b845340c",
|
||||
"prometeu-app/src/test/java/p/studio/app/runtime/MemcardInstalledRuntimeTest.java": "316cc79275ede9609024977e8d09f2375a94357146222c2fb82873e516adf4db",
|
||||
"prometeu-app/src/test/resources/runtime/memcard-state.json": "1b73884af0aaaa5174833dd183e7632af7fc265120a34425289309b9f4621206",
|
||||
"prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsMemcardTest.java": "1830cc6e508f40660fd224578801098d56e423b14c694dde02343fa45a50cd7d",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsFrontendCompiler.java": "37245fbb266d8a0379a8e5d3bb3ac8cd636c0aa4113a4c06515724cb23dfeb88",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericTemplateValidator.java": "e0555266418d9409736cf2eead5131c46e9998fd06286c8270bf26728391e15b",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsHostAdmissionValidator.java": "4c81a7af9d704529f4bcbf71b1bdbcecba6845da6ae81ba91bc45aff99ca5d4d",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsReservedMetadataExtractor.java": "dc9b13410f0387bec2924311207ec52df79f17828cf45756171c80e84b3e99dc",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSdkMemcard.java": "cccc92a11da2725f114371938535d2bcbbd9ed9f39fec856d22bad8b3a7e15fc",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/ast/PbsAst.java": "6e6746ef152fd8861794395fe961c588364cce08969056e9ac77e166e0c04f37",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java": "5537e792f89b78c8752b2279a0a6f4c8b1546c03124413ceff8df35bc56d9eaf",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java": "842b0995a594bce16ee665d4539c498fd5c0b36e10fbed5eb4456853bef4f96f",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java": "d198b95944402b35351bd1c10e1e2718745fdab2dfbabf364acd36414abf101a",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.java": "ed25b917b9b65698705a746b1efe6a2156565056270a4a8d17a3b33f96401f66",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsLifecycleSemanticsValidator.java": "9088660f6885b9a9a2aa994c4dcd592197f2a1ab958446cb93768af5dbe954fc",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/services/PbsProjectLifecycleSemanticsValidator.java": "049d769c68becb32fb3a51584699642df6b42b5d79e027d3e57f12b82e2aea79",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/main.pbs": "6c3f57bae8d41949535ccff50f52a50843237716bd74547b5d5adbe8028116ea",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/mem/mod.barrel": "b86c49a3f6dd7e7d179b4919099904a249212a09838492e2bc6b27617d85ab85",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/MEMCARD.md": "abff1506115508c077bc9e37fc5d5f9ea5cdb093b3f0a6e2b37f1f20745dde6b",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/prometeu.json": "efa72d4d74865cfb5e29caf999a19c05c8936b253dd6a0eb38f12ba798d7add4",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/src/main.pbs": "e3c770368399aaeac2ad4e4583958c7294790432106cec3c3c09d369e73ffed0",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/memcard/src/mod.barrel": "0045386ab39fe188b2d3f6afb0a2126ce951764a9708b8b1368065349dce850c",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsGuestLifecycleSemanticsTest.java": "0d778d518bd2a54341e6844e0dbfe9a314e6e87e6639fbc7dd41dc3589cacd48",
|
||||
"prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/lifecycle/LifecycleAssemblerService.java": "19ec73e38da092a5851b7d312ef90f02b89b40dccbbe4a5f9b9ba24e4b91058e",
|
||||
"prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/AssembleLifecyclePipelineStage.java": "8b18bc48c185681559da8d530a17ff3affbb022c29b3e5242765bc39683284e9",
|
||||
"prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/lifecycle/LifecycleAssemblerServiceTest.java": "b6ebf50ef378baad7a776ac6945c61f6fbf150e4d000c5872f88f41b75353cfd",
|
||||
"prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/dtos/PrometeuManifestDTO.java": "003edde284c72cd89cee2274f880d1a7aa0f1f1ec5426c669f43e8562907349b",
|
||||
"prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/models/PrometeuManifest.java": "bf87f252b52e7d0baf8254ed7f0c57749a8a8cec7ccfb167f02e4ec2a2841956",
|
||||
"prometeu-compiler/prometeu-deps/src/main/java/p/studio/compiler/utilities/PrometeuManifestUtils.java": "78262b934a9f9b0b6b5a91313ee70700f04d9788dacb8d68c89c56200491328e",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/messages/HostAdmissionContext.java": "f86bf4c60cc61b37d5c120157a30a76529e3bc45d655a62d982e68a7447e1370",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRBackend.java": "4dd4836bcb069f5d627c31cd9a355d641d2bda13718ceccc3a746451e6a18800",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleDeclaration.java": "29fd17fabda2c80c2dc5c2c19d63cacc88f57cb15e79ba5eaf4e0fa2c9a550e6",
|
||||
"prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleFileDeclaration.java": "3b22c6368a39e5b26e98514a1de7cf74683162f8654a892638996a4b7498ab92",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationFailure.java": "03c27256aea93b87d4ad7ddbc8eb0f13efdb6cd16f6621ceb89ae190f7114aed",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationOutcome.java": "e79355c5080f1bc391a25061526798041d8d167d07c196c980992d7868717601",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/automation/AutomationSession.java": "3bce86481afeaa86284fbb3ec69b353d156688f6a81fba46a007ab9d92a889c1",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/automation/ManagedHeadlessSession.java": "65cbd2aea7a3c6ecf9374d29f1af216d1fb993f245bf59f8bdad5f3ce2389b5f",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/automation/TaskTools.java": "721e9633d475f1a40e70f7acb2844fad624893a1d0b72fa4bae68bd057e4fef7",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/project/ProjectLocalStudioSetup.java": "029cfcaafa9623c9c433a34dc505737ef309e67e0867458c210d1621747814b6",
|
||||
"prometeu-studio-api/src/main/java/p/studio/api/project/ProjectReference.java": "922ba262e1f6f7777d05bcc96ade037bd09589cfddf4a74d7e0b3b38c20ab7d5",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/project/ProjectCartridgeConfiguration.java": "54f804d015f3d0879d4f02dc0db6cd546196e1131341fb03853f62ab21625b4f",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/project/ProjectCatalogService.java": "74f0eb96a0d36086da50f8e730df10948c444902fdf952ee6a1b0fcf33a3f9cf",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/runtime/HeadlessGateway.java": "23c64a9af3b9bda83129df3e4e637d3c1fe3b50c40d587ea923a2ec505e85108",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/session/DefaultAutomationSession.java": "e34d62935fed672c51079dff722494437303a99e1ea13ac92f531a39756b7ceb",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/session/DefaultTaskTools.java": "a1f42ca97925b7f86c949e9c890741c98b9f32cf09ac90a2613decec38b5d45d",
|
||||
"prometeu-studio-core/src/main/java/p/studio/core/shipper/StudioShipperService.java": "16bf4ed0c738a6daf8210bfa0da9ed8b7fbfc417fd149dbd16592705390ffc4b",
|
||||
"prometeu-studio-core/src/test/java/p/studio/core/project/ProjectCartridgeConfigurationTest.java": "a8bbc598bfdb1c387f60094e02d06f5374cc416fd76c2359099453f9ce6dca42",
|
||||
"prometeu-studio-core/src/test/java/p/studio/core/project/ProjectLocalStudioSetupStoreTest.java": "f8cbffe4dd4392354ed929c93350bf9c9a0f4dd2350966cffa8d8dd721014e4a",
|
||||
"prometeu-studio-core/src/test/java/p/studio/core/project/StudioMemcardShipperTest.java": "71566118b4be09ca2ede4539abf86773fa7a5755182c3f48dcf777e9aecb910c",
|
||||
"prometeu-studio-core/src/test/java/p/studio/core/session/DefaultAutomationSessionTest.java": "5a7ff2a3881157f62f5f862366e83d805146a2b2fdb104df0e25a105aede7e83",
|
||||
"prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/utilities/i18n/I18n.java": "fb39152701e2ca5e63a8a3a874071fce330ecdd5c6262e031abea8ca74ad5071",
|
||||
"prometeu-studio-ui-javafx/src/main/java/p/studio/ui/javafx/workspaces/dev/DevWorkspace.java": "a595b00ea4b7e6b1373951307866fba487f400bdfe6d2b47895982689ffde0c9",
|
||||
"prometeu-studio-ui-javafx/src/main/resources/i18n/messages.properties": "5366d28f895d60ec1bf05e93e9fc2364b5fbb37258f17a152a5898a0ebe9dc14",
|
||||
"prometeu-studio-ui-javafx/src/main/resources/i18n/messages_pt_BR.properties": "bbea7a6ec32ab392232df4e40b7f571a6c40387cbbc074cc39438ba5ce85fee3",
|
||||
"tools/pbx-conformance/README.md": "6bfc9653c51005aba870802338c89ffc4c5d83b380f757f14f4d7838e2a133e7",
|
||||
"tools/pbx-conformance/main.rs": "8aa4915b44f8ada982528fb82eeb6b476142a989552ed589851ff74ee7895219",
|
||||
"tools/pbx-conformance/memcard.rs": "95f58d27feae7a3c8fc520354c1aef40a3b69a89e69a24dd09f5b3314f853d88",
|
||||
"tools/pbx-conformance/run.py": "b4e0d3b384e629cb9327c92d12252f858161c4a42654f924ff8f926d9b8ac993"
|
||||
},
|
||||
"fixture_sha256": {
|
||||
"pbs-memcard-abi.pbx": "6c25b94538add375a09e41a92f39f030e98aa261679418f3254a8374e0d95a9b",
|
||||
"pbs-memcard-alias-optimized.pbx": "9f772e8003327804e17cf5bdb67db5a7c52cd75e12270dc20b136238ec955c99",
|
||||
"pbs-memcard-alias.pbx": "e3a082ac05a91c8a3cc01ff0390e4d858dab20c66c6e15546d2418e1bc2c7913",
|
||||
"pbs-memcard-busy-optimized.pbx": "973b47f10f85c61e6d1a828f831ef27932d2608afcb542870a2c78c404c81ca7",
|
||||
"pbs-memcard-busy.pbx": "50f12b84b7a2b9a2d70baf6fcdb1b206650ef5bd42e5d25f9915b08b87ac0434",
|
||||
"pbs-memcard-byte-negative-optimized.pbx": "831aac6f20ee2d5129e60960364180a4043875c9e0b03282c874601a615a5087",
|
||||
"pbs-memcard-byte-negative.pbx": "8203e620d6c4e549c7edf2dac641cad662c1987b79a536faf09870e43b653016",
|
||||
"pbs-memcard-byte-overflow-optimized.pbx": "aa49aa0d685648551620e193033f18dbf44a560e8ad0c374f011ef6b0f519bd1",
|
||||
"pbs-memcard-byte-overflow.pbx": "dd7a734bb6bf221d567806b7504561301c18ea9be7c8230672f41594da20d826",
|
||||
"pbs-memcard-capacity-negative-optimized.pbx": "3b8904b25330f4d85937e46ed2d37c5fac61cb93c081b891afde564f4bfc50da",
|
||||
"pbs-memcard-capacity-negative.pbx": "ebb5943965baa14b543295ecdec8c0d62304275f0d5f4e5df5ddc02e87f59626",
|
||||
"pbs-memcard-capacity-overflow-optimized.pbx": "27ff8d596494280508e50f7d8e18aaab22b0a2a49bfebd0306289b7151a88b6a",
|
||||
"pbs-memcard-capacity-overflow.pbx": "d3becfc124dd9c32e2b614db858bc08ae0efbdf6ca52b697165b750857a86a9c",
|
||||
"pbs-memcard-clear-optimized.pbx": "a1b659bbbebe82d1ad81ae06c8bec4f80e9f363e8e41d89356563d0da39b21ad",
|
||||
"pbs-memcard-clear.pbx": "1ae915f8c2d903cedfa2c53a4a8daa0de0273d8da76a39705b48dcadd5bcc465",
|
||||
"pbs-memcard-contract-optimized.pbx": "62dc586e772cca248ee498ce6651abdbba5e29df67073603b734c7c53b66ccfe",
|
||||
"pbs-memcard-contract.pbx": "8918f2bb0e6c8ebe2afaf89d5a217caf3b747c8ee9d459bf4318f156f16baa68",
|
||||
"pbs-memcard-example-optimized.pbx": "2612cc63bf3f16737db86e7aba35062a4072635fd954dc926d80df5070884f42",
|
||||
"pbs-memcard-example.pbx": "a08aff3fc07cc8f3728813c4855a61f336049ac5145ee5eb085dc437be27bd3a",
|
||||
"pbs-memcard-fuel-optimized.pbx": "e08796b0114915e1665f61dfe1f2b27e5da5d8aeb02daa783c621a44f2307237",
|
||||
"pbs-memcard-fuel.pbx": "95bc60a13414fe8f308575e29721db797741dd94d878769e69e0da3ead393d63",
|
||||
"pbs-memcard-imports-optimized.pbx": "c6ae9c4fb0dbd7b0ce1753678eab7b2f78d48f05d120dee2d93c6b9a39fd7d91",
|
||||
"pbs-memcard-imports.pbx": "964b507df7c7727e8cd0ef0104445a4370d667a4c77b2507faa4cb68bf165e9e",
|
||||
"pbs-memcard-inconsistent-optimized.pbx": "08736dd79326572a2a0499b5a5ea0dc22b72cc835f9a8b870f564fdcd339c124",
|
||||
"pbs-memcard-inconsistent.pbx": "509b0816cdae9f66dde30b8a725b61a1b4a151a82c01b3b989b4aafb10602d87",
|
||||
"pbs-memcard-installed.pbx": "2612cc63bf3f16737db86e7aba35062a4072635fd954dc926d80df5070884f42",
|
||||
"pbs-memcard-publish-optimized.pbx": "858546cff56ab3b4e60339797c8b6a9ad28e5d060c34b46ce8ccbe22fdc07055",
|
||||
"pbs-memcard-publish.pbx": "fb16fd1e7d950baaa567125bc001f9737699be0bd25fdc729c31c4eaf54768da",
|
||||
"pbs-memcard-read-bounds-optimized.pbx": "4ee631f8564a165b3ca512b217ee9dd193e101372b9724f37165feea3e6e10e0",
|
||||
"pbs-memcard-read-bounds.pbx": "7d47e7cb75c9a784620c3bf4b107fef466fd69b8f71fbb1515d9b6876125e5db",
|
||||
"pbs-memcard-retained-optimized.pbx": "9af0cbffe74225503d03a7e9d51bfde04e6061e22adc8b1f8cae8ea164184485",
|
||||
"pbs-memcard-retained.pbx": "afde19ec8accbda70d3802077145dc26f3203c3f18d7bedb1f4e6f4a48c4bd16",
|
||||
"pbs-memcard-transfer-limit-optimized.pbx": "e9ed4b0c09631e27430896437c39529ba7572fb15d1ffe86b8e62ed38ed30e8b",
|
||||
"pbs-memcard-transfer-limit.pbx": "a9e4ef7ac110e318353b3e1f2f1e17456e68b4ae8babb6b0e29a3b3df37daa70",
|
||||
"pbs-memcard-transfer-overflow-optimized.pbx": "6e77600bb4f313c4ae1b8cab4a18b7f8af51294efbb7145955b4417272911c8a",
|
||||
"pbs-memcard-transfer-overflow.pbx": "19eb6a9643625c79e27b0ec83b37d2446ea35a6cd7b3f0c32100ede9fd597b62",
|
||||
"pbs-memcard-trap-optimized.pbx": "fa3b809e852bd8eaebe88477fd63d305d831a941ee536bc19b15abbebc58b70b",
|
||||
"pbs-memcard-trap.pbx": "3ac3700bf90d58874023d24ebb4f4329329021b68251bf27f4518e9491ac2c98",
|
||||
"pbs-memcard-write-bounds-optimized.pbx": "ef3b51a883eb03e5b3d9630f647e311fd5bd3229165d8da9236a0d653b1897b9",
|
||||
"pbs-memcard-write-bounds.pbx": "9d0715ed8004ef68cea02cff8dbe00be1e128b779cf728b23137828309159d65"
|
||||
},
|
||||
"checks": [
|
||||
"git diff --check passed",
|
||||
"discussion validate passed before and after housekeeping",
|
||||
"lesson/spec/memcard-handoff local references resolve",
|
||||
"provider source fingerprints match independent final commit"
|
||||
],
|
||||
"commands": [
|
||||
"./gradlew test :prometeu-app:installedKnowledgeTest :prometeu-app:devDesktopTest :prometeu-app:memcardProcessTest :prometeu-app:headlessProcessTest -PstudioRuntimeInstall=/tmp/pln199-install-0x57zot6 --console=plain",
|
||||
"./gradlew :prometeu-app:memcardProcessTest -PstudioRuntimeInstall=/tmp/studio-memcard-process-profiles/debug --console=plain",
|
||||
"./gradlew :prometeu-app:memcardProcessTest -PstudioRuntimeInstall=/tmp/studio-memcard-process-profiles/release --console=plain",
|
||||
"CARGO_TARGET_DIR=/tmp/studio-pbx-memcard-target python3 tools/pbx-conformance/run.py --runtime ../runtime --memcard-only",
|
||||
"CARGO_TARGET_DIR=/tmp/studio-pbx-memcard-target python3 tools/pbx-conformance/run.py --runtime ../runtime --memcard-only --release"
|
||||
],
|
||||
"history": "history-2026-10-29 retains initial Array<Dynamic> failure, the accepted buffer correction and the former missing-provider gate; those pending diagnoses are historical.",
|
||||
"limits": [
|
||||
"Qualified on macOS arm64; no other-platform or physical power-cut claim.",
|
||||
"Full reference-game integrated Build/Play/UI/MCP deployment remains DSC-0086."
|
||||
],
|
||||
"runtime_revision_at_qualification_baseline": "dcf6561ea73446e0a3e1cf1c73eda20923b38df0",
|
||||
"runtime_head_at_finalization": "a4bec5bc4577850543f57c79f5124ca00169e1b3",
|
||||
"runtime_worktree_at_finalization": "",
|
||||
"provider_finalization": "Provider independently committed the existing delivery as a4bec5bc4577850543f57c79f5124ca00169e1b3 during finalization; all qualified source hashes still match. No runtime write or commit was performed by Studio work."
|
||||
}
|
||||
+163
@@ -0,0 +1,163 @@
|
||||
---
|
||||
id: LSN-0096
|
||||
ticket: pbs-sdk-collections
|
||||
title: Shared foundations and separate collection contracts
|
||||
created: 2026-10-27
|
||||
tags: [compiler-pbs, sdk, collections, umbrella, navigation, failure-phases]
|
||||
---
|
||||
|
||||
# Shared foundations and separate collection contracts
|
||||
|
||||
**Worker:** Lesson Worker. **Owner domain:** `compiler/pbs`.
|
||||
DSC-0087 / AGD89 coordinated eight completed child discussions. Their accepted
|
||||
decisions/plans remain the sources of technical choices, consolidated in the
|
||||
specifications and lessons below. This umbrella closes coordination and the
|
||||
previously authorized editorial reconciliation; it introduces no new collection
|
||||
contract or implementation scope.
|
||||
|
||||
## Original problem and resolution
|
||||
|
||||
Array syntax, generic language mechanisms, identity policies and several collection
|
||||
APIs were initially mixed into one discussion. A monolithic decision would have
|
||||
made prerequisites, product choices and execution gates hard to distinguish.
|
||||
The user chose an umbrella with separate domain-owned children, ordered as shown
|
||||
below, then added generic structs as a prerequisite and Stack/Queue as one further
|
||||
child. Order of execution did not prescribe one collection's implementation over
|
||||
another.
|
||||
|
||||
The result is a qualified source SDK catalog over shared language/storage
|
||||
mechanisms. Each child completed its own agenda → decision → plan → implementation
|
||||
→ lesson flow. The final umbrella task reconciled List/Linked lessons with the
|
||||
already accepted sequential-storage migration and repaired their provider links.
|
||||
Original evidence files retain their original bytes and provider provenance.
|
||||
|
||||
## Reading and ownership map
|
||||
|
||||
Read the foundations first, then the collection needed by the caller. Specifications
|
||||
are normative; lessons teach the choices and retain implementation/evidence context.
|
||||
|
||||
| Sequence / discussion | Durable lesson | Normative specification |
|
||||
| --- | --- | --- |
|
||||
| 1. Array, DSC-0088 | [LSN-0087: contextual parametric arrays](../DSC-0088-pbs-array-type-syntax/LSN-0087-parametric-arrays-and-contextual-construction.md) | [Array/optional](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md) |
|
||||
| 2. Generic contracts, DSC-0089 | [LSN-0088: concrete contracts](../DSC-0089-pbs-generic-contracts/LSN-0088-concrete-generic-contracts-from-source-to-vm.md) | [Generic contracts](../../../docs/specs/compiler-languages/pbs/16.%20Generic%20Contracts%20Specification.md) |
|
||||
| 3. Generic structs/functions, DSC-0094 | [LSN-0089: concrete state/bodies](../DSC-0094-pbs-generic-structs/LSN-0089-concrete-generic-state-and-bodies.md) | [Generic structs/functions](../../../docs/specs/compiler-languages/pbs/17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md) |
|
||||
| 4. List/Cursor, DSC-0090 | [LSN-0090: mutable positions/stable snapshots](../DSC-0090-pbs-sdk-list/LSN-0090-mutable-lists-and-stable-snapshot-cursors.md) | [List/shared Cursor](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md) |
|
||||
| 5. Linked, DSC-0091 | [LSN-0091: private nodes/sequential phases](../DSC-0091-pbs-sdk-linked/LSN-0091-private-linked-nodes-and-atomic-publication.md) | [Linked](../../../docs/specs/compiler-languages/pbs/22.%20SDK%20Linked%20and%20Cursor%20Specification.md) |
|
||||
| 6. Set/Identity, DSC-0092 | [LSN-0093: reusable identity/buckets](../DSC-0092-pbs-sdk-set/LSN-0093-reusable-identity-and-source-set-buckets.md) | [Set/Identity](../../../docs/specs/compiler-languages/pbs/23.%20SDK%20Set%20and%20Identity%20Specification.md) |
|
||||
| 7. Map/Keyval, DSC-0093 | [LSN-0094: presence/representative keys](../DSC-0093-pbs-sdk-map-keyval/LSN-0094-map-presence-key-identity-and-captured-associations.md) | [Map/Keyval](../../../docs/specs/compiler-languages/pbs/24.%20SDK%20Map%20and%20Keyval%20Specification.md) |
|
||||
| 8. Stack/Queue, DSC-0097 | [LSN-0095: dense/circular arrays](../DSC-0097-pbs-sdk-stack-queue/LSN-0095-private-array-stacks-and-circular-queues.md) | [Stack/Queue](../../../docs/specs/compiler-languages/pbs/25.%20SDK%20Stack%20and%20Queue%20Specification.md) |
|
||||
|
||||
The supporting [LSN-0092 / DSC-0096](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md)
|
||||
explains accepted DEC-0077 / PLN-0155: source checks, ordinary stores/ARRAY_COPY,
|
||||
failure phases and current-provider provenance. It supersedes the early compound
|
||||
publication guarantees without changing the delivered List/Linked APIs or Cursor.
|
||||
Compiler/general owns neutral IR/PBX; the provider owns storage, ISA, quotas and GC.
|
||||
|
||||
## Similar syntax does not imply identical collection semantics
|
||||
|
||||
Concrete generic applications are invariant. Explicit and contextual lowercase
|
||||
construction follow the accepted language rules; argument values do not infer
|
||||
generic parameters. Shared object instances remain shared through collection
|
||||
insertion, mutation and snapshots. No deep freezing or structural equality is
|
||||
silently introduced.
|
||||
|
||||
| Surface | Logical content and traversal | Important distinction |
|
||||
| --- | --- | --- |
|
||||
| array<T> | Fixed length; positions may be empty | Physical length is not a resizable collection contract |
|
||||
| list<T> | Logical positions include holes; snapshot skips holes in index order | Size and capacity differ; clearAt keeps a position while removeAt removes it |
|
||||
| linked<T> | Dense private doubly linked nodes; forward/reverse snapshots | No capacity, holes or Array u32 size bound |
|
||||
| set<T> | Unique members under selected Identity; unordered snapshot | Hash filters; equality resolves collisions; private buckets are not a shared universal table |
|
||||
| map<K,V> | Key associations; unordered read-only Keyval snapshots | Lookup/previous-value optional describes entry existence independently of optional V |
|
||||
| stack<T> | Dense array; LIFO removal/snapshot order | Initial capacity does not cap collection size |
|
||||
| queue<T> | Circular array; FIFO removal/snapshot order | Wrapped growth linearizes occupied segments; dequeue does not shift values |
|
||||
|
||||
Array/List/Linked/Set/Stack/Queue reject directly optional elements. Map rejects a
|
||||
directly optional K but admits optional V; an independent Keyval can hold optional
|
||||
components. Valid objects containing optional fields and optional collections
|
||||
remain distinct from those restrictions. Zero/false are present values; faults
|
||||
are not absence.
|
||||
|
||||
Set/Map reuse Identity/hash policies and helpers, with separate private nodes and
|
||||
algorithms. Eligible object keys use instance identity by default; explicit content
|
||||
strategies must remain coherent while keys are stored. Hashing does not supply an
|
||||
implicit structural equality or freeze mutable key content.
|
||||
|
||||
## One Cursor protocol, collection-specific capture
|
||||
|
||||
The shared Cursor captures complete values in immutable private singly linked,
|
||||
non-circular nodes, independent of source slots/editable nodes. It has no public
|
||||
node, live iterator, reset or removal operation. Captured references remain shared
|
||||
objects; later edits to collection membership do not rewrite the captured sequence.
|
||||
|
||||
A nonempty Cursor begins on first; hasNext tests successor; next without successor
|
||||
is a no-op; only an empty-born Cursor has absent current. Process current before
|
||||
testing whether to advance. Consumed prefixes can become collectible, but final
|
||||
current remains retained. List, Linked, Set, Map, Stack and Queue select their
|
||||
payload/order while reusing this exact state table.
|
||||
|
||||
## Current failure guarantees and historical evidence
|
||||
|
||||
Prepare checks, complete values, return carriers and candidates before visible
|
||||
mutation, then execute source-selected ordinary stores and copies. Before the
|
||||
first visible write, refusal preserves the prior collection. Success restores
|
||||
all invariants. A later internal/resource fault may retain earlier writes and
|
||||
incomplete invariants; no rollback, safe reuse, retry or recovery is promised.
|
||||
Per-instruction preservation does not establish whole-method atomicity. Budget/
|
||||
debugger pauses remain resumable instruction boundaries.
|
||||
|
||||
The List/Linked lessons now teach this contract and link to LSN-0092. Their early
|
||||
INDEX_GUARD/ARRAY_CHECK_LENGTH/STORAGE_PUBLISH/FIELDS_PUBLISH mechanisms are marked
|
||||
retired or historical. Their original evidence JSONs still describe their original
|
||||
provider pins and stronger publication results, not current guarantees. The old
|
||||
missing provider-publication links now point to existing typed-storage/copy sources.
|
||||
The historical Linked filename is retained to preserve existing references.
|
||||
|
||||
The current selected [catalog pin](../../../docs/vm-arch/runtime-catalog.properties)
|
||||
is `dcf6561ea73446e0a3e1cf1c73eda20923b38df0`. The latest
|
||||
[complete qualification record](../DSC-0097-pbs-sdk-stack-queue/evidence/README.md)
|
||||
includes all existing collection corpora in debug/release and both producer paths,
|
||||
1,091 standard JUnit cases with no failures/errors and 13 existing skips, plus
|
||||
two passing installed-JAR tests. Those are retained implementation results;
|
||||
this documentation-only closure validates workflow/links/provenance and does not
|
||||
claim a new test run, benchmark, other-host qualification or game readiness.
|
||||
|
||||
## Candidate backlog retained at closure
|
||||
|
||||
These remain candidates, without accepted APIs, delivery commitments or new
|
||||
discussions created by this closure:
|
||||
|
||||
| Candidate | Questions requiring a separate discussion |
|
||||
| --- | --- |
|
||||
| Deque | Two-ended API, order/capacity and whether to reuse a circular mechanism |
|
||||
| Pools | Distinguish capacity from object creation; acquire/release/reset, full state, duplicate returns and stale references/generations |
|
||||
| Priority queue | Priority/order/equality policy, storage and resource behavior |
|
||||
| Bitset | Representation, bounds and intended operations |
|
||||
| Sparse set | Sparse/dense representation, identity and removal policy |
|
||||
|
||||
Audio, guest lifecycle, memcard, game qualification, installed Build/Play/headless
|
||||
readiness and handoffs to AGD75/AGD88 are outside this umbrella's closure, as
|
||||
explicitly directed by the user. General documentation migration is a separate
|
||||
discussion; the local reconciliation does not require completing that migration.
|
||||
|
||||
## Closure and maintenance guidance
|
||||
|
||||
All eight children and the supporting migration are done, with only lessons in
|
||||
their workflow records. The remaining List/Linked editorial task is complete.
|
||||
DSC-0087 closes through `discussion housekeep`, retaining this English navigation
|
||||
lesson and preserving candidate backlog and scope boundaries. The CLI owns index
|
||||
updates and workflow removal; no manual index edits or runtime writes are involved.
|
||||
|
||||
Avoid these maintenance errors:
|
||||
|
||||
- Do not turn an umbrella's delivery order into a physical implementation dependency.
|
||||
- Do not reinterpret a child decision while planning another collection.
|
||||
- Do not inherit capacity, optional eligibility, equality or traversal order by analogy.
|
||||
- Do not teach a historical provider guarantee as current merely because its evidence passed.
|
||||
- Do not edit historical evidence to make its pin/counts match later implementations.
|
||||
- Do not turn backlog candidates or adjacent runtime-readiness work into accepted scope.
|
||||
|
||||
The CLI currently has no dedicated umbrella/dependency relationship or standalone
|
||||
lesson-ID allocation command. Existing tags and durable links express relationships;
|
||||
the read-only model accessor supplies the next lesson ID and housekeeping owns
|
||||
registration/counter advancement. These tooling gaps remain explicit rather than
|
||||
being filled with manual index conventions.
|
||||
+80
@@ -0,0 +1,80 @@
|
||||
---
|
||||
id: LSN-0087
|
||||
ticket: pbs-array-type-syntax
|
||||
title: Parametric arrays and contextual construction
|
||||
status: consolidated
|
||||
created: 2026-10-19
|
||||
tags: [compiler-pbs, arrays, type-inference, parsing]
|
||||
---
|
||||
|
||||
# Parametric arrays and contextual construction
|
||||
|
||||
Owner: `compiler/pbs`. Worker: Lesson Worker. Discussion: DSC-0088.
|
||||
|
||||
## Original problem and consolidated decision
|
||||
|
||||
Array already executed through PBS, PBX and the VM, but its `array T` and `array[N] T` syntax did not match the parametrized notation selected for future collections. DEC-0071, explicitly accepted by the user and implemented through PLN-0150, replaced that syntax without changing the storage contract. Those completed workflow artifacts were removed by housekeeping; this lesson and the specs retain their operational content.
|
||||
|
||||
Use `array<T>` and composition for nesting. Explicit construction supplies the type; both contextual sugars receive it:
|
||||
|
||||
```pbs
|
||||
let a = new array<Enemy>(10);
|
||||
let b: array<Enemy> = new array<>(10);
|
||||
let c: array<Enemy> = new array(10);
|
||||
let groups: array<array<Enemy>>=new array<>(3);
|
||||
```
|
||||
|
||||
The first binding infers `array<Enemy>`. The next two constructor forms are equivalent and require a sufficient expected array type. Length does not infer the element type. The last allocation creates three empty outer positions, without allocating inner arrays. Old Array spellings are rejected rather than supported in parallel.
|
||||
|
||||
All prior execution rules remain: fixed length, reference aliases, invariance, vacancy versus present zero, optional reads, faults for invalid indices, int/long lengths and indices, single evaluation, complete value groups, nominal identity, ownership, quotas and GC. Optional elements remain invalid; optional arrays remain valid. Literal arrays remain contextual. This work does not implement shifts, new collections, generic structs/functions or broader overload inference.
|
||||
|
||||
## Implementation and architectural boundaries
|
||||
|
||||
`PbsAst.TypeRef` already provides a recursive `inner` node and a span for each type. Reuse that representation for Array's single argument. `NewExpr` now also carries an explicit array TypeRef and a diamond marker; its original total span remains available. An explicit element argument therefore retains its source identity and diagnostics span.
|
||||
|
||||
`PbsTypeParser` recognizes angle delimiters and enforces the existing structural nesting limit, including the constructor's outer array node. Barrel types use the same parser. `PbsTokenCursor.consumeTypeClose` peels one closing `>` and preserves the remaining token and byte offsets. For example, a type close taken from `>=` leaves `=` for the binding parser. The mechanism can also peel combined `>>`/`>>=` tokens if tokenization later changes, without adding shifts now. Ordinary expression comparisons remain intact; result and Fn spellings do not change.
|
||||
|
||||
Flow analysis resolves explicit constructor types without an expected destination, validates element surfaces and names, and checks invariant compatibility when a destination exists. Contextual construction uses the existing expected-type path for local/global bindings, assignment, arguments with a single resolved signature and returns. Missing context is an error, including unresolved overload contexts; no new overload inference was introduced.
|
||||
|
||||
PBS lowering must independently know the explicit constructor type. Local inference already consumes the initializer type, but updating only semantic analysis would leave executable lowering without enough information. Common backend and VM representations remain unchanged. Source type renderers now emit `array<T>`; editorial tests cover constructor-only element references, rename, inferred receiver completion and formatter round trips.
|
||||
|
||||
## Pitfalls exposed by execution
|
||||
|
||||
- Do not assume that parser acceptance proves execution. New constructor AST fields must feed semantic analysis, lowering and editorial type displays.
|
||||
- Do not use the enclosing expression's expected return type to match a contextual constructor argument. The integrated test exposed this in lowering: constructor arguments need the selected parameter's type. Statically validated contextual constructors now follow the contextual argument path.
|
||||
- Do not globally split comparison tokens. Peel type closers only in type context and retain exact remainder spans.
|
||||
- Do not infer element type from length or silently coerce invariant arrays.
|
||||
- Do not leave a second type grammar in barrel parsing or obsolete examples in installed knowledge.
|
||||
- Do not count only the element subtree when checking explicit-constructor nesting limits; the outer array is a node too.
|
||||
|
||||
## Validation and final result
|
||||
|
||||
On 2026-10-19 the following gates passed without failures or errors:
|
||||
|
||||
| Gate | Result |
|
||||
| --- | --- |
|
||||
| PBS frontend | 255 tests, none skipped |
|
||||
| Architecture PBS tests | 64 tests, none skipped |
|
||||
| LSP v1 | 39 tests, one skipped |
|
||||
| Installed knowledge | 2 tests, none skipped |
|
||||
| Production loader/VM harness | Exit 0; new array-parametric fixture and existing structured, optional, alias, group, fault, resource, closure/GC, Random, math and catalog corpora |
|
||||
| Whitespace review | `git diff --check` passed |
|
||||
|
||||
The new runtime fixture checks explicit local inference, diamond/omitted call arguments, global initialization/assignment, return context, nested outer-only allocation, aliases, adjacent closers/assignment and ordinary `>=`; its expected result is 42. Frontend tests separately cover all three constructor forms across expected-type positions, invariant mismatches, unknown/optional/void element types, missing context, malformed/obsolete types, nesting bounds and compound token spans.
|
||||
|
||||
Reproduce the Java gates with:
|
||||
|
||||
```sh
|
||||
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-architecture-tests:test --tests '*Pbs*' :prometeu-lsp:prometeu-lsp-v1:test :prometeu-app:installedKnowledgeTest --console=plain
|
||||
python3 tools/pbx-conformance/run.py --runtime ../runtime
|
||||
```
|
||||
|
||||
Local run logs were `/tmp/agd90-final-tests.log`, `/tmp/agd90-frontend-final.log` and `/tmp/agd90-vm2.log`; this summary preserves the evidence after temporary logs expire.
|
||||
|
||||
## References
|
||||
|
||||
- [Normative Array contract](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
|
||||
- [Function values and captures](../../../docs/specs/compiler-languages/pbs/15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
|
||||
- [Array storage and optional execution](../DSC-0079-pbs-typed-collections-and-dynamic/LSN-0083-pbs-arrays-optional-and-contract-execution.md).
|
||||
- [Executable installed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/arrays.pbs).
|
||||
- Completed workflow: AGD-0090 → DEC-0071 → PLN-0150 → this lesson. Future collection and contract discussions consume this completed syntax foundation independently.
|
||||
+204
@@ -0,0 +1,204 @@
|
||||
---
|
||||
id: LSN-0088
|
||||
ticket: pbs-generic-contracts
|
||||
title: Concrete Generic Contracts from PBS Source to the VM
|
||||
created: 2026-10-20
|
||||
tags: [compiler-pbs, generic-contracts, nominal-identity, runtime-conformance]
|
||||
---
|
||||
|
||||
## Original problem and final result
|
||||
|
||||
Owner: `compiler/pbs`; cross-domain propagation: `compiler/general` and Studio/LSP.
|
||||
DSC-0089 implemented accepted DEC-0072 through PLN-0151. Those control artifacts
|
||||
are removed by housekeeping; the linked specifications are the operational
|
||||
reference. All twelve decision requirements were implemented together.
|
||||
|
||||
PBS already supported nominal contracts and concrete implementation tables. The
|
||||
missing feature was a frontend path from `Identity<T>` to exact concrete types.
|
||||
Simple contract names appeared in the AST, imports, validation, lowering and
|
||||
editor projections. Extending only the parser would have left those consumers
|
||||
disagreeing about the same program.
|
||||
|
||||
The completed path is:
|
||||
|
||||
```text
|
||||
parameterized declaration + explicit application
|
||||
-> resolve defining declarations and logical arguments
|
||||
-> memoize nominal application and substitute signatures
|
||||
-> emit concrete Trait, implementation and function metadata
|
||||
-> existing PBX loader/verifier and CALL_TRAIT execution
|
||||
```
|
||||
|
||||
There is no runtime generic-instantiation engine or new PBX/ISA category. One
|
||||
distinct application has one nominal Trait identity per image. Equivalent
|
||||
applications share it. This delivers user-defined generic contracts; collection
|
||||
storage and algorithms remain separate work.
|
||||
|
||||
## Using a strategy
|
||||
|
||||
```pbs
|
||||
declare contract Identity<T> {
|
||||
fn hash(e: T) -> int;
|
||||
fn equals(a: T, b: T) -> bool;
|
||||
}
|
||||
|
||||
declare service IntIdentity {}
|
||||
|
||||
implements Identity<int> for IntIdentity using strategy {
|
||||
fn hash(e: int) -> int { return e; }
|
||||
fn equals(a: int, b: int) -> bool { return a == b; }
|
||||
}
|
||||
|
||||
fn equalSeven() -> bool {
|
||||
let identity: Identity<int> = IntIdentity;
|
||||
return identity.equals(7, 7);
|
||||
}
|
||||
```
|
||||
|
||||
`IntIdentity` is the receiver; `int` describes the elements. The service keeps
|
||||
its singleton identity. Structs can instead provide constructed strategy
|
||||
instances. Contextual assignments, arguments and returns, or explicit `as`,
|
||||
form a view without allocating an adapter wrapper.
|
||||
|
||||
A contract can have several ordered parameters, such as `Converter<A, B>`.
|
||||
Applications are explicit, exact-arity and invariant. A barrel exports the
|
||||
declaration (`pub contract Identity<T>;`), not one closed application. There are
|
||||
no raw types, contract diamond inference, default arguments, blanket generic
|
||||
implementations or injected direct owner methods.
|
||||
|
||||
## Identity is resolved before representation
|
||||
|
||||
`PbsContractTypes` is the PBS-owned resolution and substitution boundary. Its
|
||||
application key contains the defining declaration and ordered canonical logical
|
||||
argument keys. File/source declaration identity distinguishes unrelated nominal
|
||||
types; length-framed child keys avoid ambiguous nested encodings. Display names
|
||||
and image-local numeric TypeIds are not identity keys.
|
||||
|
||||
Imports carry a semantic `TypeBindingDecl`: the local spelling, original
|
||||
declaration and importing scope. The original signature keeps its lexical scope.
|
||||
Reexports propagate that binding rather than synthesizing a new declaration.
|
||||
Thus importing `Enemy as Opponent` makes `Identity<Opponent>` the same type as
|
||||
`Identity<Enemy>`. Two unrelated declarations both named `Enemy` remain distinct.
|
||||
The production multi-module fixture exercises both properties.
|
||||
|
||||
Physical storage must follow logical resolution. `array<int>` and `array<bool>`
|
||||
can share the internal Array storage carrier while still identifying different
|
||||
`Marker<array<...>>` applications. A parameter that never occurs in a method
|
||||
signature still participates in identity. One owner can implement both
|
||||
applications; implementation function names carry the full application key.
|
||||
|
||||
Substitution traverses arguments, arrays, Fn inputs/results, optional payloads,
|
||||
named tuples and nested contracts. Existing return normalization applies before
|
||||
signature comparison: for example, a one-field named return payload does not
|
||||
create a second Fn result identity. Labels and parameter names remain available
|
||||
for tooling. Existing restrictions still reject invalid substituted positions,
|
||||
including optional void, void Fn inputs and invalid Array elements. `Self`
|
||||
keeps its existing scope rules.
|
||||
|
||||
## Recursive graphs and bounded processing
|
||||
|
||||
Register an application anchor before scanning its substituted signatures. A
|
||||
reference to an existing key closes a finite nominal graph; self and mutual
|
||||
recursion therefore terminate. A work queue discovers further instances.
|
||||
|
||||
`Growing<T>` returning `Growing<array<T>>` continually creates new applications.
|
||||
It is diagnosed as `E_SEM_CONTRACT_EXPANSION`, rather than hanging or becoming an
|
||||
ordinary type mismatch. Analysis has explicit depth, work, instance and key
|
||||
storage ceilings (256, 1,048,576, 65,536 and 64 Mi characters respectively). These producer
|
||||
bounds do not increase runtime admission limits or replace loader accounting.
|
||||
|
||||
## Integration pitfalls exposed by real execution
|
||||
|
||||
**Trait call stack order differs from implementation parameter order.** The
|
||||
implementation function receives its concrete owner first. At the CALL_TRAIT
|
||||
instruction, explicit argument groups precede the two-slot view on the operand
|
||||
stack. Lowering evaluates and roots the receiver, evaluates arguments left to
|
||||
right, then reloads the complete view immediately before the call. No-argument
|
||||
contract tests alone did not expose the old ordering error.
|
||||
|
||||
**Globals have one image namespace.** Independently compiled files can each
|
||||
start allocating globals at slot zero. Common IR aggregation now relocates
|
||||
declarations and GET_GLOBAL/SET_GLOBAL operands together. Lifecycle assembly
|
||||
preserves those linked slots and places its initialization guard after all
|
||||
globals. Without this, an imported strategy singleton could collide with the
|
||||
guard. The fix belongs to the neutral compiler, with no PBS rule in the backend.
|
||||
|
||||
**Aliases must cover all consumers.** Imported function emission uses the true
|
||||
target callable while local resolution uses its alias. Aliased services also
|
||||
retain their constants. Generic hover uses original declaration names in both
|
||||
the application heading and substituted signatures; navigation still reaches
|
||||
the original declaration. A final alias-specific editorial test caught a
|
||||
heading/signature disagreement that plain `Echo<int>` tests did not reveal.
|
||||
|
||||
**Verifier Unknown is not proof of a type error.** A mutated wrong-Trait call
|
||||
can be rejected statically or admitted with unknown local facts. In the latter
|
||||
case, execution must trap with the runtime type check. The conformance harness
|
||||
accepts exactly these valid outcomes rather than weakening runtime checks or
|
||||
requiring the verifier to infer more than its contract promises.
|
||||
|
||||
## Verification evidence
|
||||
|
||||
Verified on 2026-10-20 against runtime revision
|
||||
`f7d7c167531bb662a1af9d73fc326bb476bf8aa7`, macOS/arm64, Rust 1.98.1,
|
||||
development profile with `resource-diagnostics`. Defaults remain unchanged
|
||||
except in explicit refusal tests. The harness builds in a temporary directory
|
||||
and does not modify the provider checkout.
|
||||
|
||||
The fourteen mandatory generic fixtures compile actual PBS through the
|
||||
production frontend, typed IR, PBX emitter, loader, verifier and VM:
|
||||
|
||||
| Fixture | Evidence | Types / implementations | PBX bytes |
|
||||
| --- | --- | --- | --- |
|
||||
| identity | Contextual/explicit adaptation and dispatch | 5 / 1 | 1,921 |
|
||||
| manual | Handwritten concrete behavioral reference | 5 / 1 | 1,859 |
|
||||
| multiple | Same owner, several applications | 6 / 2 | 1,991 |
|
||||
| tuple | Two parameters, Array input, complete tuple result | 9 / 1 | 2,762 |
|
||||
| optional | Absence/presence and optional groups | 6 / 1 | 2,267 |
|
||||
| function | Fn argument and call | 5 / 1 | 1,705 |
|
||||
| contract | Nested contract argument | 5 / 2 | 2,014 |
|
||||
| native | Native vec2 payload groups | 5 / 1 | 1,607 |
|
||||
| recursive | Finite recursive application and chained calls | 4 / 1 | 1,791 |
|
||||
| phantom | Distinct logical Array arguments, identical signatures | 5 / 2 | 2,036 |
|
||||
| receiver | Constructed struct receiver state | 4 / 1 | 1,534 |
|
||||
| gc | Closure retains view/receiver through collection | 7 / 1 | 2,153 |
|
||||
| installed | Packaged runnable contracts example | 5 / 1 | 2,105 |
|
||||
| imports | Aliases/reexports, distinct origins, lifecycle globals | 5 / 3 | 2,540 |
|
||||
|
||||
The generic and handwritten references both succeed with one heap handle and
|
||||
equal guest allocation footprint. Typed absence and ImplementationId zero are
|
||||
checked separately. The GC fixture reclaims at least 1,100 discarded objects
|
||||
while the captured receiver remains callable. Reduced GuestBytes/HandleSlots
|
||||
and zero implementation admission test resource refusal, bounded publication
|
||||
and complete ownership release. These observations do not imply identical PBX
|
||||
bytes or a performance improvement.
|
||||
|
||||
The complete provider harness also passed the existing source/input, structured
|
||||
value, closure, math, Random, lifecycle, malformed-image and resource corpora.
|
||||
Its two previously documented upstream schema enum gaps remain explicitly
|
||||
reported; they are not hidden or counted as schema conformance.
|
||||
|
||||
Compiler API (29 tests), PBS frontend (274 tests) and build-pipeline suites
|
||||
passed, together with 68
|
||||
affected architecture tests, 22 LSP bridge/protocol tests and both installed
|
||||
knowledge tests. The build-pipeline suite retains twelve pre-existing disabled
|
||||
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).
|
||||
The new specification and `contracts.pbs` example are discoverable in installed
|
||||
knowledge, not only in the source checkout.
|
||||
|
||||
## Handoffs and references
|
||||
|
||||
AGD92/List is next in the umbrella sequence. SDK data/algorithm specialization
|
||||
and stable object-identity hashing still require their consumer decisions.
|
||||
Generic functions/structs, constraints, variance, inheritance/default methods,
|
||||
associated strategy members and runtime specialization were not introduced.
|
||||
|
||||
- [PBS generic contracts specification](../../../docs/specs/compiler-languages/pbs/16.%20Generic%20Contracts%20Specification.md).
|
||||
- [Typed Registry/PBX and global relocation](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
|
||||
- [Arrays, optional and contract 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).
|
||||
- [Installed source example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/contracts.pbs).
|
||||
- Historical workflow: AGD-0091, accepted DEC-0072, completed PLN-0151; DSC-0089.
|
||||
+260
@@ -0,0 +1,260 @@
|
||||
---
|
||||
id: LSN-0090
|
||||
ticket: pbs-sdk-list
|
||||
title: Mutable Lists and Stable Snapshot Cursors
|
||||
created: 2026-10-22
|
||||
tags: [compiler-pbs, collections, snapshot-cursor, failure-phases, runtime-conformance]
|
||||
---
|
||||
|
||||
## Original problem and final result
|
||||
|
||||
Owner: `compiler/pbs`. Transversal owners: `compiler/general` for neutral IR/PBX
|
||||
and the runtime provider for storage, faults, ownership and resource accounting.
|
||||
DSC-0090 implemented accepted DEC-0075 through PLN-0153, covering R1–R14.
|
||||
The workflow control artifacts are disposable; the
|
||||
[List/Cursor specification](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md)
|
||||
is the durable normative reference.
|
||||
|
||||
PBS needed a resizable collection whose existing references remain valid, together
|
||||
with a traversal that survives later collection edits. Both now live in the
|
||||
executable SDK: ordinary generic `list<T>`, the shared `Cursor<T>` contract and
|
||||
private snapshot nodes. The compiler provides trusted private bindings and source
|
||||
projections; ordinary typed storage and ARRAY_COPY preserve complete stored groups.
|
||||
|
||||
This lesson was reconciled during AGD89 closure on 2026-10-27 with accepted
|
||||
DEC-0077 / PLN-0155, consolidated in
|
||||
[LSN-0092](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
|
||||
That migration replaced the original guard/publication instructions and universal
|
||||
whole-method refusal guarantee. The current explanation below follows the
|
||||
sequential-store contract; the original evidence remains explicitly historical.
|
||||
Other collection APIs are documented in their own specifications and lessons.
|
||||
|
||||
## Separate collection identity, logical positions and physical storage
|
||||
|
||||
A List is a shared object containing a private fixed-length array and logical size.
|
||||
Growth replaces the backing reference inside that same object. Existing aliases
|
||||
therefore continue to observe the collection after growth, reserve or trim.
|
||||
|
||||
Size includes holes. Capacity alone does not create valid positions. For example,
|
||||
`new list<int>(16)` has size zero; `resize(3)` creates three valid empty positions.
|
||||
Writing position zero then stores a present value without changing size. Zero and
|
||||
false remain present values. `clearAt` leaves a hole, while `removeAt` removes a
|
||||
position and shifts the complete suffix, including its holes.
|
||||
|
||||
The complete API includes constructors, size/capacity, bracket access, add, insert,
|
||||
clearAt, removeAt, clear, resize, reserve, trim and cursor. The
|
||||
[specification](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md) defines
|
||||
their exact results, geometric growth, structural limits and fault classifications.
|
||||
Clear, shrink and removal erase discarded references; later growth cannot resurrect
|
||||
old values. Directly optional elements are rejected, including through grouping;
|
||||
an optional List remains valid. Applications are invariant, and argument values
|
||||
do not infer the element type.
|
||||
|
||||
## A snapshot freezes the sequence of references
|
||||
|
||||
List capture scans its logical positions backwards and prepends one node per
|
||||
present occurrence. The resulting chain visits increasing source indices, skips
|
||||
holes and preserves duplicates. Nodes are private, immutable, singly linked and
|
||||
non-circular. Capture finishes before the Cursor is returned. There is no second
|
||||
array, source-slot alias or source collection reference needed for traversal.
|
||||
|
||||
Replacing, inserting, removing, clearing or resizing the List cannot change this
|
||||
captured sequence. A captured object reference still identifies the same object,
|
||||
so later mutations of its fields remain visible. This distinction lets gameplay
|
||||
change its collections while a consumer walks a stable sequence.
|
||||
|
||||
The private cursor object stores its current-node reference. It can replace that
|
||||
root as it advances without changing any node link. Once other owners and call
|
||||
frames release consumed nodes, the prefix becomes collectible. The current node
|
||||
retains the remaining suffix.
|
||||
|
||||
### Successor-based hasNext and a retained last element
|
||||
|
||||
`current()` initially reports the first element. `hasNext()` asks whether that
|
||||
element has a successor. `next()` follows an existing successor and otherwise
|
||||
does nothing.
|
||||
|
||||
| Snapshot/state | hasNext() | current() |
|
||||
| --- | --- | --- |
|
||||
| Empty, initially or after repeated next | false | none |
|
||||
| [A], initially or after repeated next | false | some(A) |
|
||||
| [A, B], initially | true | some(A) |
|
||||
| [A, B], after one or any further next | false | some(B) |
|
||||
|
||||
Process current, then either advance or stop. A hasNext-only loop omits the last
|
||||
element. A loop waiting for current to become none never finishes a nonempty
|
||||
snapshot. The
|
||||
[distributed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/collections.pbs)
|
||||
captures 20 and 22 around a hole, clears the List, visits both captured values and
|
||||
returns 42. Current still contains 22 afterwards.
|
||||
|
||||
The outer optional describes whether a node exists. A producer with optional T
|
||||
must preserve `some(none)` as a present node whose payload is none. A synthetic
|
||||
non-List producer qualifies that distinction independently of List's element rule.
|
||||
Linked/Set produce Cursor<T>; Map entries use Cursor<keyval<K,V>>, and Stack/Queue
|
||||
capture in removal order. Their construction rules and ordering guarantees belong
|
||||
to their own specifications. These producers reuse the same Cursor state table.
|
||||
|
||||
## Prepare values, then perform sequential updates
|
||||
|
||||
Logical index/length checks are executable PBS comparisons and branches ending in
|
||||
the trusted private terminal TRAP_EXPLICIT binding. They are not INDEX_GUARD or
|
||||
ARRAY_CHECK_LENGTH instructions. ARRAY_COPY remains a neutral complete-group,
|
||||
overlap-safe transfer; STORAGE_PUBLISH and FIELDS_PUBLISH were retired by the
|
||||
migration in LSN-0092. No compound publication instruction is available.
|
||||
|
||||
For insertion with growth, allocate a private candidate and copy prefix/suffix
|
||||
directly into their final positions, including holes and presence tags. Store
|
||||
the new value privately, then assign backing and length in sequence. Without
|
||||
growth, first prepare the inserted stored group in a private one-slot array,
|
||||
shift the suffix with ARRAY_COPY, copy the prepared slot and update length.
|
||||
The temporary array and both copies retain ordinary allocation, scratch,
|
||||
validation and charging costs, including empty copies.
|
||||
|
||||
Removal prepares its optional return, shifts the suffix, clears the old tail and
|
||||
updates length. Clear and in-capacity resize clear the selected interval in index
|
||||
order before assigning length. Growing resize prepares/copies a candidate before
|
||||
backing/length installation; reserve/trim prepare/copy candidates and replace only
|
||||
backing. Indexed replacement/clearAt update one checked position. Complete stored
|
||||
groups move without unpacking/reboxing every shifted element.
|
||||
|
||||
| Outcome | Current guarantee |
|
||||
| --- | --- |
|
||||
| Logical rejection or preparation refusal before the first visible write | Previous backing, capacity, size and slots survive; argument effects and provisional allocations are not undone |
|
||||
| Successful return | All collection, cleanup, identity, group and snapshot invariants hold |
|
||||
| Internal/resource fault after visible writes start | Earlier writes may remain and invariants may be incomplete; no rollback, safe reuse, retry or recovery is promised |
|
||||
|
||||
Preparing values/returns does not make every subsequent instruction infallible.
|
||||
A refused instruction preserves its own entry state, not earlier successful
|
||||
stores. BudgetExhausted/debugger pauses are resumable boundaries; a method is not
|
||||
an atomic host observation region. No callback or explicit suspension is inserted
|
||||
between mutation updates. Candidates, temporary arrays and scratch follow normal
|
||||
ownership/quotas; immediate GC or quota return is not promised.
|
||||
|
||||
The provider has no List/Cursor opcode, category or syscall; algorithms remain in
|
||||
[SDK source](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs).
|
||||
|
||||
## Compiler and tooling integration
|
||||
|
||||
Reserved SDK attributes carry trusted definition origin. Copying their names into
|
||||
a project cannot grant private primitive access, and a user struct named list does
|
||||
not acquire SDK indexing or constructor rules. The public barrel exports List and
|
||||
Cursor; backing fields, storage bindings, nodes and bracket adapters stay private.
|
||||
|
||||
SDK executable functions and implementations use the ordinary generic pipeline.
|
||||
Supporting them exposed reusable shape requirements: optional recursive payload
|
||||
members, concrete contract methods, applicable implementations and native group
|
||||
field maps must survive specialization. Complete values include vec2, pixel,
|
||||
tuples, nested arrays, contracts and function references.
|
||||
|
||||
List index/length arguments accept localized lossless int-to-long promotion.
|
||||
Receiver and arguments execute once in source order, including named arguments.
|
||||
General numeric conversion rules stay unchanged. Common aggregation, optimization,
|
||||
emission and preload verification carry ordinary typed stores, ARRAY_COPY and the
|
||||
terminal operation. Retired encodings are rejected even in dead instructions;
|
||||
matching byte values inside ordinary immediates are not retired instructions.
|
||||
|
||||
Editor projections show concrete public List/Cursor methods, optional results,
|
||||
constructor overloads and SDK definitions. Hover/completion hide private adapters
|
||||
and backing fields. Installed JAR tests load the actual packaged SDK, normative
|
||||
spec and example outside the checkout, generate PBX and execute it in the provider.
|
||||
|
||||
## Current qualification and historical evidence
|
||||
|
||||
The current selected pin is [the catalog revision](../../../docs/vm-arch/runtime-catalog.properties),
|
||||
`dcf6561ea73446e0a3e1cf1c73eda20923b38df0`. The
|
||||
[migration evidence](../DSC-0096-runtime-storage-isa-consumer-migration/runtime-conformance-evidence.json)
|
||||
qualifies sequential stores, logical traps and mutation phases. Later complete
|
||||
[debug/release evidence](../DSC-0097-pbs-sdk-stack-queue/evidence/README.md) includes
|
||||
the current List/Cursor corpus with both producers. This editorial reconciliation
|
||||
does not rerun those suites or change their recorded scope.
|
||||
|
||||
The following table and the original JSON are historical delivery evidence for
|
||||
the superseded storage design, not proof of whole-method preservation today.
|
||||
The original selected provider was clean commit
|
||||
`d9b9eeb171d2861ec660d4cf5703b0795eac49a9`. Studio changes were tested over base
|
||||
`76a8b074e89e17c7425220888eeec38427261d46`. Qualification used macOS 27.0.1 arm64,
|
||||
Rust 1.98.1/LLVM 22.1.8, the dev runtime profile with resource-diagnostics,
|
||||
capabilities NONE, Gradle 9.3.1 and the repository's Java 21 toolchain
|
||||
(Corretto 21.0.4). Ordinary and optimized producer paths were exercised.
|
||||
|
||||
| Historical delivery gate | Result on the original pin |
|
||||
| --- | --- |
|
||||
| Provider bytecode and VM libraries | 6 + 302 passed; 2 existing measurement tests ignored |
|
||||
| Full Studio regression and installed knowledge | Passed; existing skipped tests retained |
|
||||
| Final frontend/editor, LSP, source generation and installed checks | Passed; both installed tests passed |
|
||||
| PBS List/Cursor through production verifier/VM | 27 cases in each producer mode: 54 passed |
|
||||
| Non-PBS common IR | 2 storage fixtures executed through production VM |
|
||||
| Compound-publication refusals, now retired | 71 attempts; prior List state preserved on the original pin |
|
||||
| Cursor GC | Nodes/items: 1200/1200 → 1/1 → 1/1 → 0/0 |
|
||||
| Reexports and installed example execution | Both passed; final captured value 22 retained |
|
||||
| Provider catalogs and canonical mirrors | Clean pinned provider; catalog parity and all four mirrors match |
|
||||
|
||||
That historical refusal matrix lowered GuestBytes, HandleSlots, AuxiliaryBytes and TemporaryBytes
|
||||
around candidate allocation, no-growth publication scratch, optional return
|
||||
preparation, node creation and frame/operand preparation. It compared the typed
|
||||
List fields and every backing group before and after each refusal, and verified
|
||||
resource accounting returned to zero after VM drop. The original provider tests also
|
||||
covered overlapping multi-slot transfers, late invalid fields/ranges, immutable
|
||||
Dynamic-box identity and malformed encodings.
|
||||
|
||||
Controlled normal GC safepoints prove consumed-prefix reclamation, retention of
|
||||
the final value 1199 despite repeated next calls, and release after dropping the
|
||||
Cursor. No source or snapshot Array remains live for that payload type at those
|
||||
safepoints. Optional carriers and other legitimate owners still have their normal
|
||||
allocation and retention costs. Capturing n positions with k present values takes
|
||||
O(n) time and O(k) additional nodes; next follows one link in O(1).
|
||||
|
||||
[Historical machine-readable evidence](runtime-conformance-evidence.json) records commands,
|
||||
source and PBX hashes, default ceilings, every lowered refusal quota, GC observations
|
||||
and tested provenance. New cases are mandatory; missing fixtures fail the harness.
|
||||
The full harness also reports two pre-existing response-schema gaps, LifecycleRole
|
||||
and NonFiniteValue, with original payloads preserved. These were not changed by
|
||||
this original delivery. That historical run makes no release-profile or cross-platform
|
||||
claim; later debug/release qualification is linked separately above.
|
||||
|
||||
The original R1–R5 mapping used type/construction/bounds/mutation/capacity fixtures; R6–R9 used
|
||||
snapshot states, identity, non-List optional production and GC; R10–R11 used direct
|
||||
provider tests, common IR and the refusal matrix; R12 used editor/import/distribution
|
||||
gates; R13 used resource accounting and retention observations; R14 used the mandatory
|
||||
production corpus, full regressions and pinned provenance.
|
||||
|
||||
## Pitfalls to preserve in future work
|
||||
|
||||
- Treat logical size and capacity separately. An index inside physical capacity
|
||||
can still fail the SDK's logical check with TRAP_EXPLICIT; a hole is an optional
|
||||
result only at a valid index. Physical Array instructions retain their own faults.
|
||||
- Keep faults distinct from absence. Long overflow, invalid bounds and resource
|
||||
refusal cannot become none or a truncated index.
|
||||
- Prepare optional returns and temporary groups before visible writes. Preparation
|
||||
and individual instruction preservation do not provide whole-method rollback.
|
||||
- Preserve complete stored groups while shifting. Public optional reboxing can
|
||||
change identity, roots, costs and refusal boundaries.
|
||||
- Follow the Cursor state table. Never advance a nonempty cursor past its last
|
||||
node or retain an initial-head root just to support an unrequested reset.
|
||||
- Account for node and optional-carrier allocation. A linked snapshot has no
|
||||
promise of lower memory use than an array or immediate quota recovery.
|
||||
- Preserve source-selected store/copy order through linking and optimization, and
|
||||
compare refusal observations with the successful prefix at the actual failure phase.
|
||||
- Keep privileged bindings origin-based and private. Names and copied attributes
|
||||
are insufficient authority.
|
||||
|
||||
## References and reproduction
|
||||
|
||||
- [List/Cursor specification](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md)
|
||||
and [Array/optional foundation](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
|
||||
- [Common Registry/PBX specification](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md),
|
||||
[current provider copy code](../../../../runtime/crates/console/prometeu-vm/src/virtual_machine/array_copy.rs)
|
||||
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).
|
||||
- [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).
|
||||
|
||||
Run `./gradlew test :prometeu-app:installedKnowledgeTest --console=plain` before
|
||||
`python3 tools/pbx-conformance/run.py --runtime ../runtime` so the complete fixture
|
||||
corpus, including the installed example, exists. Select the current pin and use
|
||||
the migration/later evidence for current reproduction. The original JSON retains
|
||||
its original provider, commands and configuration unchanged.
|
||||
@@ -0,0 +1,699 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"discussion": "DSC-0090",
|
||||
"historical_decision": "DEC-0075",
|
||||
"historical_plan": "PLN-0153",
|
||||
"owner": "compiler/pbs",
|
||||
"date": "2026-10-22",
|
||||
"provenance": {
|
||||
"studio_base": "76a8b074e89e17c7425220888eeec38427261d46",
|
||||
"studio_changes": "uncommitted implementation",
|
||||
"runtime": "d9b9eeb171d2861ec660d4cf5703b0795eac49a9",
|
||||
"runtime_working_tree": "clean",
|
||||
"platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
|
||||
"java": "Corretto 21.0.4+7-LTS; repository Java toolchain 21",
|
||||
"gradle": "9.3.1",
|
||||
"rustc": "1.98.1 (48a229cea 2026-09-01)",
|
||||
"rust_host": "aarch64-apple-darwin",
|
||||
"llvm": "22.1.8",
|
||||
"runtime_profile": "dev",
|
||||
"features": [
|
||||
"resource-diagnostics"
|
||||
],
|
||||
"capabilities": "NONE",
|
||||
"producer_modes": [
|
||||
"ordinary",
|
||||
"optimized"
|
||||
]
|
||||
},
|
||||
"default_vm_limits": {
|
||||
"GuestBytes": 268435456,
|
||||
"HandleSlots": 1048576,
|
||||
"AuxiliaryBytes": 67108864,
|
||||
"TemporaryBytes": 67108864,
|
||||
"StringBytes": 67108864,
|
||||
"StringAllocations": 262144,
|
||||
"IndividualStringBytes": 4194304,
|
||||
"CallDepth": 1024
|
||||
},
|
||||
"source_sha256": {
|
||||
"tools/pbx-conformance/run.py": "9acf64b74241f65fa09ab33fcb7d0daf57b56142d2874d87812d7b9948fe94ef",
|
||||
"tools/pbx-conformance/main.rs": "c24ade424adfe9edd7168814aabdfc869272c7bcfb816f5e4945b771cca96efd",
|
||||
"prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java": "ba0b3de2e0aa7177fa71b5a837a56bc262a080717df3276c3a73b67b33dcb384",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs": "c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5",
|
||||
"prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java": "e9a7b24ca82a00339c0b0c96a53660ef4dcf69a52587a7c9e56f5f28b5c0b94a",
|
||||
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs": "fd3fb817a55e25553d4f7bbe8cbad5f306f22fd0a8e0bb6f8bf05bc43bc0794b",
|
||||
"../runtime/crates/console/prometeu-vm/src/virtual_machine/storage_publication.rs": "6d63bb474d7659a1e256e242fb2f3c9655d80173d51a263bad56b30cae3088b6",
|
||||
"../runtime/Cargo.lock": "cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795",
|
||||
"../runtime/docs/vm-arch/INTRINSICS.csv": "0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa",
|
||||
"../runtime/docs/vm-arch/BUILTIN_CONSTANTS.csv": "e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039",
|
||||
"../runtime/crates/console/prometeu-vm/tests/fixtures/numeric-conformance.tsv": "5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe",
|
||||
"../runtime/crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv": "0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f"
|
||||
},
|
||||
"pbx_sha256": {
|
||||
"common-storage-optimized.pbx": "2820aa4ab46544e719e73dfce7e2c03b36377399e5f12e44f32d1f3020bbd087",
|
||||
"common-storage.pbx": "2820aa4ab46544e719e73dfce7e2c03b36377399e5f12e44f32d1f3020bbd087",
|
||||
"pbs-list-basic-optimized.pbx": "700dd48e3ceb84ad5f3e3f793fc0d2c6057ce1e87e0fdbadf408f82cf637f5fd",
|
||||
"pbs-list-basic.pbx": "0669143076d8b4e4610c9699b371de539ccd3aedf0a6f2d5dc46cc78f23dd148",
|
||||
"pbs-list-capacity-optimized.pbx": "a75c1ff31ef7527e1097e5da3e33747834ca0bc278f843edde32193aeb489fcc",
|
||||
"pbs-list-capacity.pbx": "35d68be7ffefc4dd930351efd083e78f34af1603e16c85eab96f4611fc8e2415",
|
||||
"pbs-list-construction-optimized.pbx": "21ab588682a00856461f2758cd3135f444fb9477d5dd70f6e48c001f7d54fe36",
|
||||
"pbs-list-construction.pbx": "b10de1f77f47758ca5a1eb7167e0c5241683a660073ae1241063a40b35098100",
|
||||
"pbs-list-contract-optimized.pbx": "5c5737ad4d3db9306415d2e9d389ceff8bef752b9beef2d57b15ee368c029eb9",
|
||||
"pbs-list-contract.pbx": "3c3250138ecaa1235f2bf1351e90a988e440dd34118cc22b1d26ab58c91189b7",
|
||||
"pbs-list-cursor-empty-optimized.pbx": "8741c4ec6a1736a2521fa414def12684af881561c829f88a96dcf1f24b961451",
|
||||
"pbs-list-cursor-empty.pbx": "c65d444082b8ceebfc9ec266811833c4dc40260ed47bc85cd0d9851d5be31cd1",
|
||||
"pbs-list-cursor-many-optimized.pbx": "7f5fa28ad380321f459df27606bc59d7e6d8b0bda7be4acc4305c859ca2af740",
|
||||
"pbs-list-cursor-many.pbx": "3ef35e99df5800fb5368f198a91350ffbb561d46af465db5a19ba986452693e3",
|
||||
"pbs-list-cursor-single-optimized.pbx": "8a19dd496746df5aea0208e983bc50bbdbd4596cea1cc79fed2f94b12e62c939",
|
||||
"pbs-list-cursor-single.pbx": "8ff5fe78d78915e51ad7dce6c1af354b4efc5c4729c9655da2172f0595fbd66a",
|
||||
"pbs-list-evaluation-optimized.pbx": "6e5e5a7e3085ea2eefa5f7e0ff296444eb633072fa8b301224737390d55965d3",
|
||||
"pbs-list-evaluation.pbx": "06f2de5f371973b93ee07577224670a2c02d15899b7dbd791be9733a67a5fb2b",
|
||||
"pbs-list-false-present-optimized.pbx": "48460d05c9dc22c8c3cd7ac87d429ff0e5ecffc17b2ca254196598e965248816",
|
||||
"pbs-list-false-present.pbx": "be70e9a6e741541f68c0180760bfd73ef81c54175c359f2208b512c4f3656816",
|
||||
"pbs-list-fault-constructor-optimized.pbx": "676d4c73965dbf4976de01655c4e0f97601dc1cdc01d312957e5be9d4d5135fd",
|
||||
"pbs-list-fault-constructor.pbx": "89cfeced7967ea96280874591e640eb88c255f88016f16cd69a9b2ed1330e02f",
|
||||
"pbs-list-fault-insert-optimized.pbx": "1c3ade1229ec4ed3095feaf961ad9a1dcedf9d6e2bca2f217187ca1a06be1668",
|
||||
"pbs-list-fault-insert.pbx": "fc92df90d591665f12dafa4ae937b44adb62dd7b308dd38d30b4ea30459f4f5f",
|
||||
"pbs-list-fault-length-optimized.pbx": "c114f0f0bae45d1cc6625319af8c79b158f8e4680448a7343f8899f1ae9e1153",
|
||||
"pbs-list-fault-length.pbx": "fc06adc9a6b67f25644042147f1f7475d9ac9d25b856b1f0ed3d40e3b9e46482",
|
||||
"pbs-list-fault-long-index-optimized.pbx": "b098baa781990fa70baf0d6d4671eb5e24978b4491f6317c9f2466f7535447eb",
|
||||
"pbs-list-fault-long-index.pbx": "10ac9074183cf09ef3e2bff8396bd6451b976a80f3b05458804c20169e353a15",
|
||||
"pbs-list-fault-negative-optimized.pbx": "1f42b229ed6d8118d61767494bc0e132d2a6e63485642ef6f4d218638c676964",
|
||||
"pbs-list-fault-negative.pbx": "0614c7b5dc4d5b4d799c179974e9e614dbc1fbdefba688c0acc0c43984090112",
|
||||
"pbs-list-fault-overflow-optimized.pbx": "c8f9f03f0d4c2d67acff1f094dcce96c129ce9e1abd3b9be04240f780ebe6e46",
|
||||
"pbs-list-fault-overflow.pbx": "3b66b7da63516af9981e3722997aa477bd0736a882eb0fce1c189bf040cf8554",
|
||||
"pbs-list-fault-read-optimized.pbx": "208f256e6c97753611edd7d222923a2b1a855c7ff1a7c872d1bc3bb9c1dfe72b",
|
||||
"pbs-list-fault-read.pbx": "acf039804bc732dc642fea696429bee398c2e6b6b6975e03dc2b2b24e1048c19",
|
||||
"pbs-list-fault-write-optimized.pbx": "35051291b52de2109e5f7f7d4bd0a8a218fefc31cb167fdda173871cd531be2f",
|
||||
"pbs-list-fault-write.pbx": "bcd721c64efe44f073ee660daebff72dca8ac9c2f8619be04d018ead799795ca",
|
||||
"pbs-list-function-optimized.pbx": "1002a115aebb3a7433f3978cbaa300fcadf26ad837da6272fd34260e2a9b7dad",
|
||||
"pbs-list-function.pbx": "1a047759799eff2982e8212a86d7d5237e8584e74cacff8301c29c4ff2c16b7c",
|
||||
"pbs-list-gc.pbx": "265bf39e53bd3e521166dc1ac14c99920d83726ebac8a0e0a3a339d49d19bb29",
|
||||
"pbs-list-holes-optimized.pbx": "ad331fd7f9298eadea06dbc55587d48a964f8b746406b316c108819186633d30",
|
||||
"pbs-list-holes.pbx": "c8263fb24fa8df2b98d7cb405733329281f386946c9c6ad186b01051fa25752c",
|
||||
"pbs-list-identity-optimized.pbx": "f8c572e91351cc8ff4901cc6e972bc05ea0e2e696a550526dc8c511919b438a9",
|
||||
"pbs-list-identity.pbx": "0e20e6c0a1c9d754a3cd9421155debb231b0dbd93d0935cc3e59b1f70dc21eca",
|
||||
"pbs-list-imports.pbx": "2364fde21bb3db0a86717f904103d5df657248e2b7979d0e17d2fe9c27ea7e1e",
|
||||
"pbs-list-installed.pbx": "83748e5203837069363e4d01b0c26e6423d7978f18ee5f6438dcf6336faeef0f",
|
||||
"pbs-list-nested-array-optimized.pbx": "c6d5d630c620589cf72bdad3f4226748c60a64f14d0965d5ee1aa22e89d79e17",
|
||||
"pbs-list-nested-array.pbx": "7e3b07300b6f03eeba738dec95001b6d9ab583f58c268dddfdf0b876605999db",
|
||||
"pbs-list-pixel-optimized.pbx": "ba46dd0ed8efacbbae0015cdfdc0cfa1567684df6681ed836f3ef15a5f828e82",
|
||||
"pbs-list-pixel.pbx": "36ceaa3115e9439ff21550637f62631dbae39ff06c553f459d58fd91e69cea24",
|
||||
"pbs-list-refusal-cursor.pbx": "0734d3608ff52a2cd9754b319c6d8a471429571e4336b9f2ae0cff729177042b",
|
||||
"pbs-list-refusal-growth.pbx": "2c453f52469127cc71818c69d7e3b3dd1add99f524f791ed46fb0c507da2f392",
|
||||
"pbs-list-refusal-insert.pbx": "6786c290f3ed924c6cfc1666afb3624385ca75cf44b397a05071388f951ccb80",
|
||||
"pbs-list-refusal-remove.pbx": "d7f0460f35a716bd0ef6dca47816d5f76bf8b1a9b32d9e3620479d5e2ace0888",
|
||||
"pbs-list-shared-optional-optimized.pbx": "bb71e6ffcae4da82bada01aeda5a8941361417c2eb97186b416715b8087d5ab2",
|
||||
"pbs-list-shared-optional.pbx": "98d12e6ab4eaefdab0c825fc063300feaf74839ad3d695b97187d4b6a510a557",
|
||||
"pbs-list-snapshot-optimized.pbx": "d673a2bbbcbc1de9c343f295fa15cf0a7e68aa2f694474842116fda3f1ec1787",
|
||||
"pbs-list-snapshot.pbx": "11c9dbbdc3ad403c55875e28054343b5275a1467a721ccf8fe1265204858d39e",
|
||||
"pbs-list-structural-growth-optimized.pbx": "d7ef11a773ac5ff179297b5ea89d1e4e7c7abfb9e5ab16d5bdb6860e28550ef9",
|
||||
"pbs-list-structural-growth.pbx": "a35fa7776ce571ceb8c6e77cbc3bcdac98851396eeb581e2445b4a774591d8a3",
|
||||
"pbs-list-tuple-optimized.pbx": "84f12aeb2e7686b91cbcbf4f64e584857184fe0f98bcddb72b6637c8f3cfe8bc",
|
||||
"pbs-list-tuple.pbx": "43d948da3e128f4eaeda52e64cf04c1e3f90df6205c17f847f55365729da1997",
|
||||
"pbs-list-vec2-optimized.pbx": "a2850a8204adaafc9f2bd0d84e01b53ed0898d7d0a5044f5ea716aa2d4429383",
|
||||
"pbs-list-vec2.pbx": "5d31b5f46c75992bcd798363def57509b1600e14e3432316196e000f371d77de"
|
||||
},
|
||||
"full_production_log_sha256": "f9a92347e491173ed11398257aac8cadd098ba9af175958ae920f4ed5339c051",
|
||||
"source_execution_passes": [
|
||||
"basic",
|
||||
"basic-optimized",
|
||||
"construction",
|
||||
"construction-optimized",
|
||||
"capacity",
|
||||
"capacity-optimized",
|
||||
"holes",
|
||||
"holes-optimized",
|
||||
"structural-growth",
|
||||
"structural-growth-optimized",
|
||||
"cursor-empty",
|
||||
"cursor-empty-optimized",
|
||||
"cursor-single",
|
||||
"cursor-single-optimized",
|
||||
"cursor-many",
|
||||
"cursor-many-optimized",
|
||||
"snapshot",
|
||||
"snapshot-optimized",
|
||||
"false-present",
|
||||
"false-present-optimized",
|
||||
"shared-optional",
|
||||
"shared-optional-optimized",
|
||||
"identity",
|
||||
"identity-optimized",
|
||||
"tuple",
|
||||
"tuple-optimized",
|
||||
"nested-array",
|
||||
"nested-array-optimized",
|
||||
"function",
|
||||
"function-optimized",
|
||||
"evaluation",
|
||||
"evaluation-optimized",
|
||||
"vec2",
|
||||
"vec2-optimized",
|
||||
"pixel",
|
||||
"pixel-optimized",
|
||||
"contract",
|
||||
"contract-optimized",
|
||||
"fault-read",
|
||||
"fault-read-optimized",
|
||||
"fault-write",
|
||||
"fault-write-optimized",
|
||||
"fault-negative",
|
||||
"fault-negative-optimized",
|
||||
"fault-insert",
|
||||
"fault-insert-optimized",
|
||||
"fault-length",
|
||||
"fault-length-optimized",
|
||||
"fault-overflow",
|
||||
"fault-overflow-optimized",
|
||||
"fault-long-index",
|
||||
"fault-long-index-optimized",
|
||||
"fault-constructor",
|
||||
"fault-constructor-optimized"
|
||||
],
|
||||
"common_ir_execution_passes": [
|
||||
"common-storage",
|
||||
"common-storage-optimized"
|
||||
],
|
||||
"distribution_execution_passes": [
|
||||
"imports",
|
||||
"installed"
|
||||
],
|
||||
"atomic_refusals": [
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 9736,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 9887,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 10038,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 10339,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 5,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 6,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1408,
|
||||
"opcode": "Call"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1640,
|
||||
"opcode": "GetLocal"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 504,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 2698,
|
||||
"opcode": "StoragePublish"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 4892,
|
||||
"opcode": "StoragePublish"
|
||||
},
|
||||
{
|
||||
"operation": "insert",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 9279,
|
||||
"opcode": "StoragePublish"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 9736,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 10127,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 10518,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 11299,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 5,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 6,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 7,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 8,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 9,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1408,
|
||||
"opcode": "Call"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1760,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 2112,
|
||||
"opcode": "GetLocal"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 504,
|
||||
"opcode": "GetLocal"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 2678,
|
||||
"opcode": "StoragePublish"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 4852,
|
||||
"opcode": "StoragePublish"
|
||||
},
|
||||
{
|
||||
"operation": "remove",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 9199,
|
||||
"opcode": "StoragePublish"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 5640,
|
||||
"opcode": "ArrayNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 7401,
|
||||
"opcode": "ArrayNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 9162,
|
||||
"opcode": "ArrayNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 12683,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 5,
|
||||
"opcode": "ArrayNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 6,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 7,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1408,
|
||||
"opcode": "Call"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1640,
|
||||
"opcode": "GetLocal"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 504,
|
||||
"opcode": "ArrayCopy"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 2938,
|
||||
"opcode": "ArrayCopy"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 5372,
|
||||
"opcode": "ArrayCopy"
|
||||
},
|
||||
{
|
||||
"operation": "growth",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 10239,
|
||||
"opcode": "ArrayCopy"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 9736,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 59424,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 109112,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "GuestBytes",
|
||||
"limit": 208487,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 5,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 6,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 7,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 8,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 9,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 10,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 11,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 12,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 13,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 14,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 15,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 16,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 17,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 18,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 19,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 20,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 165,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 326,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "HandleSlots",
|
||||
"limit": 646,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 1408,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 16648,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "AuxiliaryBytes",
|
||||
"limit": 31888,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 504,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 8058,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 15612,
|
||||
"opcode": "StructNew"
|
||||
},
|
||||
{
|
||||
"operation": "cursor",
|
||||
"resource": "TemporaryBytes",
|
||||
"limit": 30719,
|
||||
"opcode": "StructNew"
|
||||
}
|
||||
],
|
||||
"refusal_observation": "Independent typed List fields, backing identity, capacity and all stored groups before/after each refusal; all resource usage zero after VM drop.",
|
||||
"gc_safepoints": [
|
||||
{
|
||||
"round": 0,
|
||||
"nodes": 1200,
|
||||
"items": 1200,
|
||||
"collected": 6003
|
||||
},
|
||||
{
|
||||
"round": 1,
|
||||
"nodes": 1,
|
||||
"items": 1,
|
||||
"collected": 13197
|
||||
},
|
||||
{
|
||||
"round": 2,
|
||||
"nodes": 1,
|
||||
"items": 1,
|
||||
"collected": 15597
|
||||
},
|
||||
{
|
||||
"round": 3,
|
||||
"nodes": 0,
|
||||
"items": 0,
|
||||
"collected": 16803
|
||||
}
|
||||
],
|
||||
"gc_assertions": [
|
||||
"Consumed prefix reclaimable",
|
||||
"Final current value 1199 retained after repeated next",
|
||||
"No source or snapshot Array remains live for Item payload",
|
||||
"Last node/item released after dropping Cursor"
|
||||
],
|
||||
"gates": [
|
||||
{
|
||||
"command": "cargo test -p prometeu-bytecode -p prometeu-vm --lib --features prometeu-vm/resource-diagnostics --locked --offline",
|
||||
"result": "passed",
|
||||
"working_directory": "../runtime",
|
||||
"passed": 308,
|
||||
"ignored": 2,
|
||||
"environment": {
|
||||
"CARGO_TARGET_DIR": "/tmp/pln153-provider-final-target"
|
||||
}
|
||||
},
|
||||
{
|
||||
"command": "./gradlew -q test :prometeu-app:installedKnowledgeTest --console=plain",
|
||||
"result": "passed",
|
||||
"notes": "Full repository regression and installed gate; 13 existing skipped tests. Subsequent UI projection and positive construction additions also passed the focused gates below."
|
||||
},
|
||||
{
|
||||
"command": "./gradlew -q :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-lsp:prometeu-lsp-v1:test --console=plain",
|
||||
"result": "passed",
|
||||
"notes": "Final frontend/editor and LSP regression."
|
||||
},
|
||||
{
|
||||
"command": "./gradlew -q :prometeu-architecture-tests:test --tests '*PbsListCursorTest' :prometeu-app:installedKnowledgeTest --console=plain",
|
||||
"result": "passed",
|
||||
"notes": "Final source corpus generation and both installed-knowledge tests."
|
||||
},
|
||||
{
|
||||
"command": "python3 tools/pbx-conformance/run.py --runtime ../runtime",
|
||||
"result": "passed",
|
||||
"exit_code": 0,
|
||||
"environment": {
|
||||
"CARGO_TARGET_DIR": "/tmp/pln153-conformance-target"
|
||||
},
|
||||
"notes": "Full mandatory harness, including existing suites, with the final generated and installed List corpus."
|
||||
},
|
||||
{
|
||||
"command": "python3 tools/runtime-catalog/verify.py --runtime ../runtime",
|
||||
"result": "passed",
|
||||
"notes": "Clean committed provider; both catalog hashes and actual provider exporter parity match."
|
||||
}
|
||||
],
|
||||
"limitations": [
|
||||
"Qualification applies to the recorded macOS/arm64 dev runtime profile; no release or cross-platform claim.",
|
||||
"Two pre-existing full-harness response-schema gaps, LifecycleRole and NonFiniteValue, remain reported with original payloads; no new List/Cursor case is skipped.",
|
||||
"Quota matrix intentionally lowers only GuestBytes, HandleSlots, AuxiliaryBytes and TemporaryBytes at each recorded limit; other resource ceilings are unchanged."
|
||||
],
|
||||
"workflow_cli_gap": "No create-lesson/next-id command. LSN-0090 was read from the framework model without mutation; discussion housekeep registers the lesson and updates the index/counter.",
|
||||
"workflow_completion": {
|
||||
"discussion_status": "done",
|
||||
"plan_status_before_housekeeping": "done",
|
||||
"lesson": "LSN-0090",
|
||||
"housekeeping": "discussion housekeep DSC-0090 --lesson discussion/lessons/DSC-0090-pbs-sdk-list/LSN-0090-mutable-lists-and-stable-snapshot-cursors.md",
|
||||
"removed_control_artifacts": 3,
|
||||
"validation_after_housekeeping": "passed"
|
||||
}
|
||||
}
|
||||
+242
@@ -0,0 +1,242 @@
|
||||
---
|
||||
id: LSN-0091
|
||||
ticket: pbs-sdk-linked
|
||||
title: Private Linked Nodes and Sequential Mutation Phases
|
||||
created: 2026-10-23
|
||||
tags: [compiler-pbs, collections, snapshot-cursor, failure-phases, runtime-conformance]
|
||||
---
|
||||
|
||||
## Original problem and final result
|
||||
|
||||
Owner: `compiler/pbs`. Transversal owners: `compiler/general` for neutral IR/PBX
|
||||
and the provider for typed storage, faults, ownership, GC and resource accounting.
|
||||
DSC-0091 executed accepted DEC-0076 through PLN-0154, covering R1–R12. Their
|
||||
workflow control artifacts are disposable; the [Linked specification](../../../docs/specs/compiler-languages/pbs/22.%20SDK%20Linked%20and%20Cursor%20Specification.md)
|
||||
is the durable normative reference.
|
||||
|
||||
PBS needed a dense sequence with private doubly linked nodes and useful end
|
||||
operations, while preserving the shared snapshot traversal already delivered for
|
||||
List. `linked<T>` now supplies that sequence through executable SDK source.
|
||||
Forward and reverse captures both return the existing Cursor<T> contract. Source
|
||||
algorithms prepare nodes/returns, then use ordinary typed field stores with
|
||||
explicit failure phases; node algorithms remain outside the VM.
|
||||
|
||||
This lesson was reconciled during AGD89 closure on 2026-10-27 with accepted
|
||||
DEC-0077 / PLN-0155, consolidated in
|
||||
[LSN-0092](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
|
||||
That migration retired FIELDS_PUBLISH and replaced the original whole-method
|
||||
preservation guarantee. The filename preserves the original delivery's provenance;
|
||||
its atomic-publication wording does not describe today's contract. The original
|
||||
[evidence JSON](runtime-conformance-evidence.json) remains unchanged and is discussed
|
||||
separately as historical evidence below.
|
||||
|
||||
## Dense positions do not change the optional API
|
||||
|
||||
A Linked contains one present value per private node. Its size counts nodes;
|
||||
capacity, holes, reserve, trim, resize and clearAt do not exist. Valid indexed
|
||||
reads/removals return a present optional, and invalid indices fault even when
|
||||
empty. First/last and their removal operations return none for an empty collection.
|
||||
This preserves the accepted API rather than changing return types because a
|
||||
particular representation cannot contain holes.
|
||||
|
||||
Construction is empty and takes no capacity. Explicit and contextual applications
|
||||
follow the existing generic struct rules. Directly optional elements are rejected,
|
||||
including through grouping, just as in Array/List. An optional collection and an
|
||||
otherwise valid element containing optional fields remain valid.
|
||||
|
||||
The executable API includes size, first/last, bracket read/write, add/addFirst,
|
||||
insert, removeAt/removeFirst/removeLast, clear and both capture methods. Adding
|
||||
appends, while addFirst prepends. Replacement preserves size; insertion/removal
|
||||
changes following logical indices. Read/replace/remove require an index below
|
||||
size; insert also accepts size. Long indices are not truncated, int arguments have
|
||||
the same localized lossless promotion as List, and growth is checked before signed
|
||||
long overflow without inheriting Array's structural size maximum.
|
||||
|
||||
Preserving inserted object identity is separate from choosing a comparison policy.
|
||||
There is no remove(value), generic equality or uniqueness rule in this delivery.
|
||||
Repeated occurrences, including repeated references to one instance, remain
|
||||
independent sequence positions. List similarly leaves value search/removal outside
|
||||
its current contract.
|
||||
|
||||
## Keep collection topology separate from traversal topology
|
||||
|
||||
Linked nodes have reciprocal previous/next links. The SDK locates indexed values
|
||||
from the nearer end, so search remains O(n) in the worst case; end operations do
|
||||
not search. A constant number of link updates does not make indexed access O(1).
|
||||
|
||||
Snapshot nodes are different objects: private immutable singly linked nodes with
|
||||
no circular links or editable source association. Forward capture walks Linked
|
||||
backwards and prepends; reverse capture walks it forwards and prepends. Both cost
|
||||
O(n) work and additional nodes, and both finish before returning a Cursor.
|
||||
|
||||
For a source `[20, 22]`, forward starts at 20 and reverse starts at 22. Replacing
|
||||
source values, removing elements or clearing the collection cannot change either
|
||||
captured sequence. Referenced objects remain shared, so later field mutations
|
||||
remain visible. Snapshots preserve occurrences and object identity, not deep copies.
|
||||
|
||||
The existing state table remains the only traversal protocol:
|
||||
|
||||
| State | hasNext() | current() | next() |
|
||||
| --- | --- | --- | --- |
|
||||
| Empty | false | none | No change |
|
||||
| Current node has a successor | true | Present current value | Follow successor |
|
||||
| Last node, including a singleton | false | Present final value | No change |
|
||||
|
||||
Process current before testing whether to advance. A hasNext-only loop omits the
|
||||
last element; waiting for current to become absent never finishes a nonempty
|
||||
snapshot. There is no removal/reset through Cursor.
|
||||
|
||||
The [distributed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/linked.pbs)
|
||||
captures both orders, then replaces a source element and clears Linked. Both
|
||||
traversals still sum to 42, retaining final values 22 and 20 respectively.
|
||||
|
||||
## Prepare nodes and returns, then update links sequentially
|
||||
|
||||
Insertion can update head/tail/size and two existing neighbors. Removal also
|
||||
prepares the returned optional value. Prepare bounds, checked next size, candidate
|
||||
nodes, neighbor values and complete groups before visible mutation. This preparation
|
||||
does not make every later instruction infallible: a later allocation or frame/operand
|
||||
refusal can leave a neighbor pair only partly updated.
|
||||
|
||||
Logical checks run as PBS comparisons/branches ending in the trusted private
|
||||
TRAP_EXPLICIT binding. Insertion first updates previous.next or head, then
|
||||
next.previous or tail, then length. Removal prepares its result/neighbors and
|
||||
updates those two sides in the same order before length. Indexed replacement
|
||||
changes only value. Clear assigns head, tail and length in that order. These are
|
||||
ordinary typed stores, without a publication schema, compound opcode, callbacks
|
||||
or explicit suspension between updates. Do not reconstruct the whole list on
|
||||
every mutation to simulate the retired mechanism.
|
||||
|
||||
| Outcome | Current guarantee |
|
||||
| --- | --- |
|
||||
| Rejection/preparation refusal before visible mutation | Old roots, size, payloads and neighbor links survive; argument effects/provisional allocations are not undone |
|
||||
| Successful return | All reciprocal-link, size, group, identity, cleanup and snapshot invariants hold |
|
||||
| Internal/resource fault after visible mutation starts | Earlier stores may remain and topology/size can be incomplete; no rollback, safe reuse, retry or recovery is promised |
|
||||
|
||||
Individual instruction refusal preserves its own entry state, not earlier stores.
|
||||
This is not a basic-consistency guarantee for a faulted method. BudgetExhausted
|
||||
and debugger pauses are resumable instruction boundaries; host observation is
|
||||
not atomic. No catch, poison flag or recovery API is introduced. Candidate nodes,
|
||||
optional carriers, packing and call/operand preparation retain their normal
|
||||
allocation, rooting and quota costs; immediate reclamation is not promised.
|
||||
|
||||
## GC proofs require an actual collection, not only a safepoint
|
||||
|
||||
Removal disconnects a node from the collection. Clear removes the collection's
|
||||
roots to the whole chain. Unreachable double-link cycles are handled by the normal
|
||||
tracing collector; neither operation promises immediate collection or quota return.
|
||||
A retained snapshot owns captured values through its own nodes and does not need
|
||||
the editable Linked nodes.
|
||||
|
||||
A controlled fixture uses normal GC safepoints and independent non-owning storage
|
||||
observations. With no snapshot, nodes and payloads fall from 1,200 to 1,197 after
|
||||
three removals, then to zero after clear. A second fixture clears the source while
|
||||
retaining its snapshot: original Linked nodes disappear, captured nodes/items go
|
||||
from 1,200/1,200 to 1/1 after traversal, stay at 1/1 after repeated next, and reach
|
||||
0/0 after the final Cursor owner is dropped.
|
||||
|
||||
A safepoint alone does not force this collector to run. The removal/clear fixture
|
||||
therefore creates ordinary garbage pressure and asserts that the collection
|
||||
counter advances at each observed round. Without that check, a test can mistake
|
||||
an uncollected unreachable node for a retention bug. The observer introduces no
|
||||
guest root or mutation.
|
||||
|
||||
## Compiler, tooling and distribution
|
||||
|
||||
Linked reuses ordinary generic specialization, methods, field groups and imports.
|
||||
Origin-checked SDK metadata adds constructor/index integration and the same
|
||||
localized int-to-long argument promotion as List. User homonyms or copied
|
||||
attributes do not acquire those privileges.
|
||||
|
||||
Public projections show concrete Linked methods, optional results and source SDK
|
||||
locations. They hide head/tail/length, private nodes and storage adapters, including
|
||||
the internal nearest-end lookup method. Negative workspace cases reject optional
|
||||
elements, capacity construction, unsupported APIs and private access. Invalid
|
||||
constructor selection now reports diagnostics instead of throwing from lowering.
|
||||
|
||||
The normative English spec and example ship with installed knowledge. An isolated
|
||||
installDist JVM, outside the checkout, loads the actual JAR resources and compiles
|
||||
the Linked example. The production harness executes its emitted PBX and observes
|
||||
both completed traversals. Imports/reexports are qualified separately.
|
||||
|
||||
The full harness also needed its original scalar/input corpus selector to exclude
|
||||
the new Linked fixture prefix. Linked cases remain mandatory in their dedicated
|
||||
validator; they are not silently treated as older scalar fixtures or skipped.
|
||||
|
||||
## Current qualification and historical delivery evidence
|
||||
|
||||
The current pin is [the catalog revision](../../../docs/vm-arch/runtime-catalog.properties),
|
||||
`dcf6561ea73446e0a3e1cf1c73eda20923b38df0`. The
|
||||
[migration evidence](../DSC-0096-runtime-storage-isa-consumer-migration/runtime-conformance-evidence.json)
|
||||
qualifies source checks, sequential stores and failure phases. Later complete
|
||||
[debug/release evidence](../DSC-0097-pbs-sdk-stack-queue/evidence/README.md) includes
|
||||
the current Linked corpus and both producers. No suites were rerun by this
|
||||
editorial reconciliation.
|
||||
|
||||
The table below records the original delivery on clean provider
|
||||
`57992cf214e8a5f9de53a40dba9aaa7fab038c91`, over Studio base
|
||||
`c410e3500150de5e6d55c1da8f9b22076ca84251`. Its original JSON preserves source/PBX
|
||||
hashes, commands, lowered limits and GC observations unchanged. Compound publication
|
||||
and whole-method refusal results in that evidence were superseded by LSN-0092;
|
||||
they are not current guarantees or current-provider reproduction results.
|
||||
|
||||
| Historical delivery gate | Result on the original pin |
|
||||
| --- | --- |
|
||||
| Full Studio regression | 1,030 tests; no failures/errors; 13 existing skips |
|
||||
| Installed knowledge | Both tests passed, including standalone Linked PBX generation |
|
||||
| Provider bytecode/VM libraries | 6 + 305 passed; 2 existing measurement tests ignored |
|
||||
| Linked source to production VM | 26 cases in each producer mode: 52 passed |
|
||||
| Retired publication fixtures | Four common-IR fixtures, including ordinary/optimized FIELDS_PUBLISH on the original pin |
|
||||
| Original whole-operation refusals | 231; original mutation/capture boundaries preserved previous source state on that pin |
|
||||
| Linked removal/clear GC | 1,200 → 1,197 → 0 → 0 nodes and payloads |
|
||||
| Snapshot GC | 1,200 → 1 → 1 → 0 captured nodes/payloads, with no retained Linked topology |
|
||||
| Imports/installed traversal | Passed; installed forward/reverse final values 22/20 |
|
||||
| Catalogs and canonical mirrors | Clean selected provider; catalog/exporter parity and all four mirrors match |
|
||||
|
||||
The original refusal matrix observed GuestBytes, HandleSlots and AuxiliaryBytes
|
||||
refusals. TemporaryBytes was checked against its measured setup/success peaks;
|
||||
no additional peak required a lowered refusal case in that historical corpus.
|
||||
The former no-scratch FIELDS_PUBLISH tests belong only to the retired design.
|
||||
Current source preparation, carriers and sequential stores retain normal quota
|
||||
costs and use the phase-specific evidence linked above.
|
||||
|
||||
Qualification used macOS 27.0.1 arm64, Rust 1.98.1/LLVM 22.1.8, the dev runtime
|
||||
profile with resource-diagnostics, capabilities NONE, Gradle 9.3.1 and the Java 21
|
||||
toolchain; the installed JVM was Corretto 21.0.4. That historical run made no
|
||||
release or cross-platform claim; later debug/release qualification is linked
|
||||
separately above. Two pre-existing full-harness response-schema gaps, LifecycleRole and
|
||||
NonFiniteValue, remain explicitly reported with original payloads.
|
||||
|
||||
## Pitfalls to preserve
|
||||
|
||||
- Prepare values and use source-selected sequential stores with explicit failure
|
||||
phases. Do not claim whole-method atomicity or safe reuse after a later fault.
|
||||
- Prepare the optional removed-value carrier before unlinking the node.
|
||||
- Preserve every field group and native/reference identity, including unchanged
|
||||
payloads when updating neighbor links.
|
||||
- Never expose source nodes to support traversal. Snapshot and collection links
|
||||
have different mutability and lifetime responsibilities.
|
||||
- Keep optional results despite dense positions, and faults distinct from absence.
|
||||
- Keep private SDK authority tied to origin through aliases and specialization.
|
||||
- Check GC collection counters when asserting reclamation at a safepoint.
|
||||
- Record clean provider provenance, explicit lowered limits and mandatory fixture
|
||||
counts; metadata defaults or small unit tests alone do not qualify execution.
|
||||
|
||||
## References and reproduction
|
||||
|
||||
- [Linked specification](../../../docs/specs/compiler-languages/pbs/22.%20SDK%20Linked%20and%20Cursor%20Specification.md),
|
||||
[List/shared Cursor](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md),
|
||||
[generic structs](../../../docs/specs/compiler-languages/pbs/17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md)
|
||||
and [generic Registry/PBX storage](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
|
||||
- [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).
|
||||
- [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).
|
||||
|
||||
Run `./gradlew test :prometeu-app:installedKnowledgeTest --console=plain`, followed
|
||||
by `python3 tools/pbx-conformance/run.py --runtime ../runtime`, using the current
|
||||
pin and the migration/later evidence for current qualification. The original JSON
|
||||
retains its original provider/configuration and R1–R12 delivery traceability.
|
||||
File diff suppressed because it is too large
Load Diff
+218
@@ -0,0 +1,218 @@
|
||||
---
|
||||
id: LSN-0093
|
||||
ticket: pbs-sdk-set
|
||||
title: Reusable identity and source Set buckets
|
||||
created: 2026-10-25
|
||||
tags: [compiler-pbs, collections, hashing, identity, runtime-integration]
|
||||
---
|
||||
|
||||
## Original problem and ownership
|
||||
|
||||
Owner: `compiler/pbs`; propagation: `compiler` and `vm-arch`.
|
||||
|
||||
Set needed a precise equality policy before membership could become an executable
|
||||
SDK algorithm. Mutable objects must retain instance identity by default, while an
|
||||
explicit strategy can intentionally merge distinct objects by content. Importing
|
||||
hash metadata alone did not make source hashing, typed reference queries or Set
|
||||
available to PBS consumers.
|
||||
|
||||
AGD-0094 converged into accepted DEC-0078 and implementation PLN-0156. The user
|
||||
accepted the recommendations, authorized the decision and plan, and requested
|
||||
implementation. These identifiers record provenance; normative behavior now lives
|
||||
in the [Set/Identity specification](../../../docs/specs/compiler-languages/pbs/23.%20SDK%20Set%20and%20Identity%20Specification.md).
|
||||
Completed workflow scaffolding is removed by the discussion CLI.
|
||||
|
||||
The runtime provider is `dcf6561ea73446e0a3e1cf1c73eda20923b38df0`, consumed
|
||||
unchanged. No runtime source, documentation, catalog, manifest, lockfile or commit
|
||||
was changed. Cargo projects/targets used for qualification live outside its
|
||||
checkout. Ordinary Studio builds use versioned local SDK/catalog resources.
|
||||
|
||||
## Consolidated decision and final result
|
||||
|
||||
`@sdk:collections` exports invariant ordinary `set<T>` and nominal `Identity<T>`.
|
||||
Identity supplies `hash(T)->long` and `equals(T,T)->bool`. Set exports
|
||||
add/contains/remove/clear/size/isEmpty/cursor, with either a default constructor or
|
||||
an explicit service/struct strategy. Constructor arguments do not infer T.
|
||||
|
||||
Defaults use value equality for int/long/bool, exact UTF-8 content for str, finite
|
||||
Float equality with normalized signed zeros, and instance identity for
|
||||
struct/array/Fn/Random. Contract identity uses its fully validated receiver,
|
||||
independent of the view/implementation. Tuples and other native values require an
|
||||
explicit strategy. Direct optional elements, including grouped optionals, are
|
||||
invalid; optional Sets and optional fields within elements remain valid.
|
||||
|
||||
```pbs
|
||||
import {set, Cursor} from @sdk:collections;
|
||||
|
||||
declare struct Enemy(pub mut health: int);
|
||||
|
||||
fn sample() -> long {
|
||||
let a = new Enemy(20);
|
||||
let b = new Enemy(20);
|
||||
let enemies: set<Enemy> = new set();
|
||||
enemies.add(a);
|
||||
enemies.add(b); // A distinct instance, despite equal fields.
|
||||
enemies.add(a); // False; keeps the first stored reference.
|
||||
a.health = 42; // Instance identity is stable across mutation.
|
||||
let saved: Cursor<Enemy> = enemies.cursor();
|
||||
enemies.clear(); // The snapshot still retains the shared Enemy references.
|
||||
return enemies.size();
|
||||
}
|
||||
```
|
||||
|
||||
An explicit content strategy may collapse a and b. It must be an equivalence
|
||||
relation, remain stable while stored, and satisfy equal values => equal hashes.
|
||||
Remove from every affected collection before changing content used by that policy,
|
||||
then reinsert. Cached hashes do not freeze mutable equality. The compiler does
|
||||
not prove purity or coherence and does not deep-copy payloads.
|
||||
|
||||
The shared public policy is reusable by Map. Map/keyval API and representation
|
||||
remain a separate discussion; Set does not impose its physical table on Map.
|
||||
|
||||
## Patterns and algorithms
|
||||
|
||||
### Integrate neutral identity before the collection
|
||||
|
||||
Common IR now represents REF_IDENTITY_HASH 0x97 and REF_IDENTITY_EQ 0x98 with static
|
||||
source TypeIds. Lowering derives complete group widths; encoding uses one/two
|
||||
little-endian TypeIds. Producer verification checks eligible categories even in
|
||||
dead code and consumes the complete operands. Existing conversion instructions
|
||||
retain their narrower categories.
|
||||
|
||||
The exact eligible categories are Struct, Array, Fn, Trait and Random. Trait
|
||||
queries validate receiver plus ImplementationId, including valid zero, before
|
||||
using receiver identity. Equality validates both operands left-to-right: an absent
|
||||
or different left operand cannot hide an invalid right operand. Invalid/stale
|
||||
values remain faults. Digests neither root objects nor provide persistent IDs.
|
||||
|
||||
The new `@sdk:hash` facade exposes i64/f64/text plus explicitly applied
|
||||
referenceHash/referenceEquals. Origin-checked private bindings select default
|
||||
hash/equality at concrete logical types. Unsupported default construction is a
|
||||
localized diagnostic; the unreachable default branch of an explicitly configured
|
||||
Set does not reject valid tuple/native strategies. User declarations with matching
|
||||
names or attributes receive no SDK privilege.
|
||||
|
||||
The source-to-PBX-to-production-VM hash gate ran before Set algorithms were
|
||||
written. The initial gate covered 60 scalar/String oracle executions and 14
|
||||
reference executions; later qualification expanded admission/right-side and
|
||||
discarded-reference cases. Temporal gate provenance and retained final logs are
|
||||
distinguished in [the evidence record](evidence/README.md).
|
||||
|
||||
### Cache full hashes and build independent growth candidates
|
||||
|
||||
Private `_SetNode<T>` stores a full signed long hash, complete T and next link.
|
||||
Buckets are an optional array. Empty construction has no table; the first
|
||||
successful inclusion allocates eight buckets. Above 75% next occupancy, capacity
|
||||
doubles, clamped to Array's u32 maximum. At that maximum, chains may continue
|
||||
within checked signed-long size and resource limits. Removal does not shrink;
|
||||
clear releases the table and returns to lazy empty state.
|
||||
|
||||
Use signed remainder followed by correction for negative values. Taking abs of
|
||||
Long.MIN_VALUE or narrowing a digest to int breaks valid inputs, and clamped
|
||||
capacity is not necessarily a power of two.
|
||||
|
||||
Duplicate detection precedes growth. Rehash copies independent nodes from cached
|
||||
hashes, preserving original links and shared payload references until installation.
|
||||
It invokes no strategy callbacks. Ordinary insertion does not copy the whole
|
||||
table. Capture likewise never calls hash/equals.
|
||||
|
||||
The six-to-seven growth case simultaneously retained six old nodes, six copied
|
||||
nodes and the inserted node, plus both tables. GuestBytes high-water rose from
|
||||
21,304 to 44,192 in the measured fixture. These are charged fixture/session peaks,
|
||||
including generic carriers and call preparation, not a universal per-Set bound
|
||||
or a timing benchmark. Detailed resource vectors are retained with the evidence.
|
||||
|
||||
### Separate guard writes from structural mutation
|
||||
|
||||
add/contains/remove install a guard before invoking Identity. Reentrant
|
||||
add/remove/clear/contains on the same Set, including aliases, terminate through
|
||||
TRAP_EXPLICIT. size/isEmpty/cursor may inspect the consistent pre-mutation
|
||||
structure during callbacks and do not invoke Identity. Normal return releases the
|
||||
guard; a callback fault may leave it installed.
|
||||
|
||||
Prepare checks, callbacks, next size, nodes/tables and complete values before
|
||||
structural stores. Then apply ordinary sequential stores without user callbacks.
|
||||
The [shared failure-phase contract](../../../docs/specs/compiler-languages/pbs/23.%20SDK%20Set%20and%20Identity%20Specification.md#guard-mutation-phases-and-faults)
|
||||
is essential:
|
||||
|
||||
| Outcome | Meaning |
|
||||
| --- | --- |
|
||||
| Refusal before structural writes | Old elements/topology survive; guard, callback effects and provisional allocations are not rolled back |
|
||||
| Successful return | Size, table, groups, links and guard satisfy all invariants |
|
||||
| Fault after structural writes | Earlier writes and incomplete invariants may remain; no recovery, safe-reuse or rollback guarantee |
|
||||
|
||||
The natural quota corpus observed 282 refusals across paired producer variants,
|
||||
all before structural mutation. That observation does not prove post-write faults
|
||||
impossible. A separately named test-only in-memory SDK variant inserts an Array
|
||||
allocation after the real table installation. Its quota fault leaves capacity 16,
|
||||
seven reachable nodes, old size six and the active guard. The failed instruction
|
||||
itself preserves its entry state. Production SDK source contains no such probe.
|
||||
|
||||
Budget/debugger pauses are resumable instruction boundaries. They do not make a
|
||||
source method an atomic observation region.
|
||||
|
||||
### Reuse the entire snapshot protocol
|
||||
|
||||
Capture builds one private immutable singly linked snapshot node per element.
|
||||
It scans B buckets and N nodes, costs O(B+N) work and O(N) extra nodes, and returns
|
||||
only a complete Cursor. Payload references stay shared; later Set mutation cannot
|
||||
rewrite the captured sequence. There is no iteration-order promise.
|
||||
|
||||
A nonempty Cursor starts at its first value, hasNext tests a successor, and next
|
||||
without a successor retains the final value. Only empty-born cursors have absent
|
||||
current. Real GC safepoints verified snapshot node/payload retention
|
||||
1,200 -> 1 -> 1 -> 0, and source Set node reclamation 64 -> 61 -> 0 -> 0.
|
||||
|
||||
### Preserve logical identity across specialization and modules
|
||||
|
||||
This consumer exposed several reusable compiler pitfalls. Concrete implementations
|
||||
from the same generic family share a source span; deduplicating by span alone
|
||||
loses later applications. Deduplication now includes logical owner and contract
|
||||
keys. Raw TypeRef equality would instead distinguish incidental spans and produce
|
||||
duplicates.
|
||||
|
||||
An already specialized type used as another module's generic argument still needs
|
||||
its defining dependency. Scoped if-let bindings, member receiver shapes and field
|
||||
assignment paths must also carry their symbolic types through specialization.
|
||||
Expected value contexts now reject mismatched nominal generic applications, such
|
||||
as list<int> assigned to list<long>; Set and ordinary user generic structs obey
|
||||
the same invariant rule. Negative integer literals retain contextual long typing
|
||||
during overload selection instead of falling through to an incorrect call path.
|
||||
|
||||
## Validation and limits of evidence
|
||||
|
||||
The [evidence record](evidence/README.md) preserves commands, raw compressed logs,
|
||||
SHA-256 manifests, generated fixture fingerprints and the regression report.
|
||||
Source fixtures execute through the production loader/VM with ordinary and
|
||||
optimized PBS output, independently of Rust debug/release profiles. Installed
|
||||
examples compile outside the checkout using installDist JARs and their PBX runs
|
||||
on the same unchanged provider. LSP projections expose concrete signatures and
|
||||
hide fields/private helpers.
|
||||
|
||||
Qualification is local macOS/arm64. It does not claim other hosts, installed game
|
||||
deployment, adversarial hash resistance or a performance threshold. Existing
|
||||
upstream headless-schema gaps are printed explicitly by the harness; their
|
||||
historical exceptions are not counted as schema conformance. Existing disabled
|
||||
JUnit cases are listed separately from the mandatory runtime corpus.
|
||||
|
||||
## Pitfalls to avoid
|
||||
|
||||
- Do not compare carrier handles to implement logical tuple/value equality.
|
||||
- Do not reinterpret valid zero/false payloads as absence.
|
||||
- Do not make dead generic default branches reject explicit strategies.
|
||||
- Do not invoke strategy callbacks during rehash/capture or structural updates.
|
||||
- Do not translate resource faults into false/none or silently reset a faulted guard.
|
||||
- Do not infer whole-method rollback from single-instruction refusal preservation.
|
||||
- Do not present test-only fault injection as a natural production allocation.
|
||||
- Do not feed new named corpora through a legacy catch-all fixture verifier;
|
||||
each mandatory corpus has its own assertions and count.
|
||||
|
||||
## References
|
||||
|
||||
- [Set/Identity/hash specification](../../../docs/specs/compiler-languages/pbs/23.%20SDK%20Set%20and%20Identity%20Specification.md).
|
||||
- [Shared Cursor specification](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md).
|
||||
- [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).
|
||||
- [Sequential mutation predecessor](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
|
||||
@@ -0,0 +1,156 @@
|
||||
# Set and reusable identity qualification
|
||||
|
||||
Owner: compiler/pbs. Captured 2026-10-25 for accepted DEC-0078 / PLN-0156.
|
||||
Studio baseline HEAD: `632ba6d0d6988a5e5020f0d70e4fb3993739bc85`.
|
||||
Runtime: clean `dcf6561ea73446e0a3e1cf1c73eda20923b38df0`, unchanged throughout.
|
||||
No commit was created in either repository. Runtime builds used external targets.
|
||||
|
||||
## Commands and outcomes
|
||||
|
||||
All commands ran from Studio unless a runtime working directory is specified.
|
||||
The compressed raw outputs and SHA-256 manifest are alongside this file.
|
||||
|
||||
```sh
|
||||
./gradlew test :prometeu-app:installedKnowledgeTest --console=plain
|
||||
python3 tools/runtime-catalog/verify.py --runtime ../runtime
|
||||
CARGO_TARGET_DIR=/tmp/pln156-pbx-target python3 tools/pbx-conformance/run.py --runtime ../runtime
|
||||
CARGO_TARGET_DIR=/tmp/pln156-pbx-target python3 tools/pbx-conformance/run.py --runtime ../runtime --release
|
||||
```
|
||||
|
||||
All four commands returned zero. Gradle completed in 46 seconds: 94 actionable
|
||||
tasks, 21 executed and 73 up-to-date. Aggregated JUnit reports contain 1,062 cases,
|
||||
zero failures/errors and 13 existing skipped cases (1,049 executed cases). Skips
|
||||
belong to BackendGateIIntegrationTest (8), MainProjectPipelineIntegrationTest (4)
|
||||
and ExternalSourceDevelopmentHostTest (1); individual names and suite counts are
|
||||
in `gradle-results.json`. None belongs to the new identity/Set tests. Installed
|
||||
knowledge validation additionally completed outside the checkout using the built
|
||||
distribution JARs and produced the mandatory hash/Set PBX examples.
|
||||
|
||||
Focused class sizes in the full regression: IdentityHashingPipelineTest 3,
|
||||
PbsIdentityHashingTest 3, PbsSetTest 15. PBS frontend totals 300; architecture totals
|
||||
115; build-pipeline totals 200 including its 12 existing skips. The complete
|
||||
regression also covers editor/LSP, Array, List, Linked, generic structs/contracts,
|
||||
native groups, Random, compiler architecture and ordinary packaging.
|
||||
|
||||
Both complete production VM harness commands passed. Each includes the following
|
||||
new mandatory observations (no missing fixture is skipped):
|
||||
|
||||
| Corpus | Count per Rust profile |
|
||||
| --- | ---: |
|
||||
| Scalar/String independent oracle + exact attempted cost + zero fuel | 60 |
|
||||
| Complete reference/common/source groups, aliases, costs, unused results | 16 |
|
||||
| Neutral category/TypeId/dead-code admission rejects | 8 |
|
||||
| Partial group / truncated instruction admission rejects | 2 |
|
||||
| Null views / complete invalid right operand / cost / fuel | 3 |
|
||||
| Set success and expected callback/overflow faults, paired producers | 52 |
|
||||
| Natural Set quota refusals with instruction-prefix comparison | 282 |
|
||||
| Separate test-only post-publication quota injection | 2 |
|
||||
| Snapshot GC observations / source Set GC observations | 4 / 4 |
|
||||
| Real Set import/reexport and installed-example executions | 2 |
|
||||
| Real installed hash-example execution | 1 |
|
||||
|
||||
The full harness additionally requires the existing common Registry, math, Random,
|
||||
input, structured values, generic contracts/structs, storage/copy, List/Linked,
|
||||
closure/lifecycle and loader/schema corpora. Historical upstream schema exceptions
|
||||
remain explicit: LifecycleRole and NonFiniteValue are absent from the selected
|
||||
provider's published headless enum. The harness preserves the original payload
|
||||
and does not call those two cases unmodified-schema conformance.
|
||||
|
||||
Provider supplement (runtime working directory; external target only):
|
||||
|
||||
```sh
|
||||
cargo test --locked --offline --target-dir /tmp/pln156-provider-target -p prometeu-vm --test identity_hashing
|
||||
cargo test --locked --offline --target-dir /tmp/pln156-provider-target -p prometeu-vm --lib identity_tests
|
||||
cargo test --locked --offline --target-dir /tmp/pln156-provider-target -p prometeu-vm --lib 'hashing::'
|
||||
```
|
||||
|
||||
The three suites passed 7 + 6 + 2 tests in debug and again with `--release`.
|
||||
These provider tests cover stale handles/generation reuse, complete invalid
|
||||
groups, fault order, non-finite injected Float bits, foreign/resident String
|
||||
owners, quota-free borrowed queries, GC non-rooting and all independent reference
|
||||
hash vectors. They supplement actual Studio-produced PBX; they do not substitute
|
||||
for it. Two exploratory `--lib hash_intrinsics::` filters in the retained combined
|
||||
log selected zero tests and provide no additional qualification.
|
||||
|
||||
The explicit catalog exporter check passed one provider test and compared both
|
||||
CSV artifacts byte-for-byte against committed provider source and Studio mirrors.
|
||||
|
||||
## Resource observations
|
||||
|
||||
Ordinary and optimized producers produced identical resource vectors. These are
|
||||
whole-fixture/session high-water measurements, including earlier setup, complete
|
||||
carriers and call preparation, not standalone object layout sizes.
|
||||
|
||||
| Operation | GuestBytes peak before → after | HandleSlots peak before → after | Maximum Set nodes / bucket tables | Natural refusals per producer |
|
||||
| --- | --- | --- | --- | ---: |
|
||||
| Growth 6 → 7 | 21,304 → 44,192 | 68 → 140 | 13 / 2 | 38 |
|
||||
| Add without growth 5 → 6 | 17,288 → 22,216 | 55 → 71 | 6 / 1 | 28 |
|
||||
| Duplicate add | 17,288 → 19,440 | 55 → 62 | 5 / 1 | 13 |
|
||||
| Remove | 17,288 → 20,680 | 55 → 66 | 5 / 1 | 21 |
|
||||
| Clear | 17,288 → 17,592 | 55 → 56 | 5 / 1 | 5 |
|
||||
| Cursor | 17,288 → 31,808 | 55 → 102 | 5 / 1 | 36 |
|
||||
|
||||
Growth's AuxiliaryBytes peak was 9,968 → 17,648, TemporaryBytes 3,840 → 7,680
|
||||
and CallDepth 5 → 7. The eight raw peak entries are GuestBytes, HandleSlots,
|
||||
AuxiliaryBytes, TemporaryBytes, StringBytes, StringAllocations,
|
||||
IndividualStringBytes and CallDepth. Detailed limits, fault opcodes and complete
|
||||
vectors are printed in both profile logs. Every natural refusal was before a
|
||||
structural write; an installed guard may remain. Snapshot failures always
|
||||
preserved the source Set and returned no partial result.
|
||||
|
||||
The independently named `pbs-set-injected-refusal-growth*` fixtures use an
|
||||
in-memory SDK override that inserts one controlled Array allocation after the
|
||||
real candidate table store. A GuestBytes quota refuses the probe: the source now
|
||||
references a 16-bucket table with seven nodes, still reports old size six and
|
||||
retains its guard. The failing instruction preserves its own entry state. This
|
||||
is explicitly test-only post-write evidence, not production refusal frequency.
|
||||
|
||||
The production SDK has no injected allocation. Real safepoints measured snapshot
|
||||
nodes/payloads 1,200 → 1 → 1 → 0 without retained source Set nodes, and source
|
||||
collection nodes 64 → 61 → 0 → 0 after removal/clear/release. Captures and their
|
||||
final values assume no iteration order.
|
||||
|
||||
## Hashing-first chronology and scope
|
||||
|
||||
The plan recorded a successful gate on 2026-10-24 before any Set algorithm edits:
|
||||
60 scalar/String oracle executions plus 14 common/source reference executions.
|
||||
At that stage IdentityHashingPipelineTest had two tests and
|
||||
PbsIdentityHashingTest three. The original `/tmp/pln156-hashing-*` log names were
|
||||
subsequently reused for expanded requalification. Retained focused logs therefore
|
||||
show the later 89-observation corpus; they are not represented as untouched raw
|
||||
outputs from the initial temporal gate. This chronology preserves the original
|
||||
plan's contemporaneous record without fabricating an earlier log.
|
||||
|
||||
Final scope: local macOS 27.0.1, arm64; Rust 1.98.1; Java/Gradle toolchain recorded
|
||||
in `environment.txt`; VM resource-diagnostics feature and default production
|
||||
ceilings except explicitly lowered quotas. Source optimizer paths are independent
|
||||
of Rust runtime profiles. Cross-host, installed game deployment, performance and
|
||||
adversarial hash resistance are not qualified by these runs.
|
||||
|
||||
`source.sha256` fingerprints 39 changed/new Studio production, test and documentation
|
||||
files. `fixtures.sha256.gz` fingerprints 1,301 generated PBX artifacts available to
|
||||
the full harness; regenerate them with the Gradle command. `gradle-results.json`
|
||||
preserves all suite counts and skipped names. `SHA256SUMS` fingerprints retained
|
||||
evidence files. Logs can be read with `gzip -dc <file>.gz`.
|
||||
|
||||
## Workflow closure
|
||||
|
||||
`discussion mark-plan PLN-0156 done` completed successfully, followed by
|
||||
`discussion housekeep DSC-0092 --lesson discussion/lessons/DSC-0092-pbs-sdk-set/LSN-0093-reusable-identity-and-source-set-buckets.md`.
|
||||
The CLI removed three completed control artifacts and registered LSN-0093.
|
||||
`discussion validate` passed afterward; DSC-0092 is done with only its lesson
|
||||
registered. AGD-0089 and AGD-0095 reference the delivered result and keep Map's
|
||||
remaining questions open. Final read-only workflow state is in `workflow.txt`.
|
||||
|
||||
## Accepted requirement coverage
|
||||
|
||||
| Requirements | Final evidence |
|
||||
| --- | --- |
|
||||
| R1 / R3 | Source API/default/explicit/type/privacy tests, generic invariance, concrete editor projections and installed examples |
|
||||
| R2 / R5 | Neutral IR instruction/width/encoding tests, oracle and complete-group source execution, malformed instructions and source-order fixtures |
|
||||
| R4 | Topology assertions, 8 → 16 threshold, duplicate/no-shrink/clear, signed-long/u32 arithmetic and cached rehash counters |
|
||||
| R6 / R7 | Alias reentrancy faults, permitted callback reads, callback-fault guard observations and natural/injected instruction-prefix resource evidence |
|
||||
| R8 | Empty/single/multiple complete Cursor state table, payload sharing, independent capture and real GC lifetime |
|
||||
| R9 / R10 | Hashing-first chronology, paired producer/profile runs, provider supplement, collision/callback counters and measured coexistence |
|
||||
| R11 | Public Identity/hash handoff to Map without Map API/layout implementation |
|
||||
| R12 | Clean fixed provider, external targets, English specs/lesson, packaged SDK/examples, full regression and CLI validation/housekeeping |
|
||||
@@ -0,0 +1,19 @@
|
||||
01b966b6a3f710c150c960c6a5b49f1b45d1db93fe7d5fa536db761f3489dfad README.md
|
||||
fb48082c878378f7fa01009361380b38be074a0b711edc605c531c9fb575ff5a conformance-debug.log.gz
|
||||
4e5b52584c70bca57c3b715558102b663daf51cf84bebf549600bdf11c88cab4 conformance-release.log.gz
|
||||
774b5aa6f29a3e4d986bab805427b7d0a0c53445749e03a93db4320cee376302 distribution-tests.log.gz
|
||||
1510a88944e6a632e4373d35e3e5855a06a1273f7f0be3b590d811faa209d830 environment.txt
|
||||
5b136af3ee037ba0879c02cc57c135350ed446853dedfd41a7455a532e4852e6 fixtures.sha256.gz
|
||||
b7a05d6c252b869cd2a909edd40ef16a094279d6aee4379daa67b607753cfe2b gradle-results.json
|
||||
3e4e33aa6338142b79a4740945c50b149c572980ad108219d930e3909dd73f8a hashing-conformance.log.gz
|
||||
6c4a1723e53ad40a2315a509a43a6a0058db145cc006ee4bc7a346cd12333fee hashing-tests.log.gz
|
||||
79b81e38a9ecf948c7381796c77aa30929dbcfcd2f4eb0a5ead71032fbb5bf04 provider-catalog.log.gz
|
||||
2f53ddd02d054c4c801aeaf20981f83eb28961b9b973fd025c10aed6673dd254 provider-hash-remaining.log.gz
|
||||
0d2a846ee52a7a40662c1720055ffdf36179cdbaf846696e07d7ab0149d4367d provider-identity-debug.log.gz
|
||||
0255d42eb28c98566741fa17987480969ab89b35a113c568481240713f69aa1e provider-identity-private-debug.log.gz
|
||||
f6ca7e0c4865b83031d8f21e166248209089a91466103d193cb14ffd8e533df7 regression.log.gz
|
||||
9f9bf7af13da11147a1388ea86a41f8e59202b4d08333dca24d4385d5329dc21 set-conformance.log.gz
|
||||
60b879014ec61aad58eb6aba651e28fb017077c3c17a6f06b2851f99be50ca72 set-tests.log.gz
|
||||
2d0b3b19a447fa29a4ae127842db26d4adacb400af77837c09edd8ea0c9874c3 source.sha256
|
||||
0e245cc1d83d697f9ffb3fb0a8dd18800cdc0892c23def0d4e14737c3cb42cbc workflow.txt
|
||||
8ee423550b4716622600a4a943084837961ff9587259f2ff485e25d30005e434 ../LSN-0093-reusable-identity-and-source-set-buckets.md
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,32 @@
|
||||
macOS-27.0.1-arm64-arm-64bit-Mach-O
|
||||
632ba6d0d6988a5e5020f0d70e4fb3993739bc85
|
||||
|
||||
dcf6561ea73446e0a3e1cf1c73eda20923b38df0
|
||||
|
||||
runtime working tree: clean
|
||||
|
||||
rustc 1.98.1 (48a229cea 2026-09-01)
|
||||
binary: rustc
|
||||
commit-hash: 48a229ceaefd4985c50990b14116b6d856af0985
|
||||
commit-date: 2026-09-01
|
||||
host: aarch64-apple-darwin
|
||||
release: 1.98.1
|
||||
LLVM version: 22.1.8
|
||||
|
||||
|
||||
------------------------------------------------------------
|
||||
Gradle 9.3.1
|
||||
------------------------------------------------------------
|
||||
|
||||
Build time: 2026-01-29 14:15:01 UTC
|
||||
Revision: 44f4e8d3122ee6e7cbf5a248d7e20b4ca666bda3
|
||||
|
||||
Kotlin: 2.2.21
|
||||
Groovy: 4.0.29
|
||||
Ant: Apache Ant(TM) version 1.10.15 compiled on August 25 2024
|
||||
Launcher JVM: 21.0.4 (Amazon.com Inc. 21.0.4+7-LTS)
|
||||
Daemon JVM: /Users/niltonconstantino/.sdkman/candidates/java/21.0.4-amzn (no Daemon JVM specified, using current Java home)
|
||||
OS: Mac OS X 27.0.1 aarch64
|
||||
|
||||
|
||||
Java toolchain: buildSrc/src/main/kotlin/gradle.java-common-conventions.gradle.kts sets 21
|
||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,39 @@
|
||||
b86f24c8ce609b0994b9fcfabfff0ec2a78a0fafaf242b931db10ba2325d30fb docs/compiler/general/specs/runtime-catalog-support.md
|
||||
cbaec6777d4a41bff62486763a084aaec4fd5a7c9cacbf7c34ec83b50e8c208c docs/compiler/general/specs/typed-registry-and-pbx-v0.md
|
||||
e61f3a1a2d3ebe17f680dddee805de56f8e57356a98ea3821885da1ba70d1d98 docs/compiler/pbs/specs/generic-contracts.md
|
||||
da61fca1efa1410ea1e57452724c022a492356836ca1a113e2668b8255596d85 docs/compiler/pbs/specs/sdk-list-and-cursor.md
|
||||
73de7f4148daf4f40050c503bed8c118f9422a14239082b3e1501ea66fbf509b docs/compiler/pbs/specs/sdk-set-and-identity.md
|
||||
ca7103dbe6613b4501f9a8c8ca210a84b7ce37eb0e1b27e0321dc1b31588e427 docs/specs/compiler-languages/pbs/README.md
|
||||
9e6eb38e60753b9e4b092f14d0aeec9debb7023ee706a8ff4b81d3380334e741 prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java
|
||||
0d29ca282e27488852f35ec36ac858cc23dc69e4acc31812f1c0cb4a49188357 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsIdentityHashingTest.java
|
||||
9cbdfc340dba2467388c09958bb436fc319091b2948ca8b353b0d714b56e7f5e prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java
|
||||
980b429d3c3c823a03e3aa6d63affc7773eda8f260fe72501999bc13aab0682c prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsSetTest.java
|
||||
a863486eaea14ab1a010f076f355eed0d5738207dad3651f7d10e92fc09f74d4 prometeu-architecture-tests/src/test/resources/hash/hash-conformance.tsv
|
||||
9a7d614a6f50b2368d66c2bf7c8b7d706ca609c555c2ed8f1bf447c2568edca8 prometeu-architecture-tests/src/test/resources/hash/provenance.txt
|
||||
3ab546b5e93345442550e385e271b7152aa6a749f1d2b7a7cab3b9b29521c76d prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsContractTypes.java
|
||||
dae77c30a768f709a95b10a909e6b17c82fbf5ed81108c475f8ed07921eb2168 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericInstantiation.java
|
||||
3d771f40ebf91919a6e9f2c0df54aa1de49d7f4daa992fb8ceb44a9db4faaf3e prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericTemplateValidator.java
|
||||
dd0202c2867f9175778bab0476d91dc75fff1f6ac2b56546016461485f3cb9ad prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSdkCollections.java
|
||||
0f5a2a8a1a23519ee315d87703e83db33c1737b1d2213be18387ee64ee2b84be prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java
|
||||
3f713dfc25a34b6b1cdc40ebf74b73d66292ff55704844b81058650a88838bef prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java
|
||||
09b812332999c41161741debb61e509777e5c35661526b14ce5ac1b8ea0db69c prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java
|
||||
6c2f87d0f4409823474df16704d6a3394ad386d8c04402d36e15970799b47150 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsEditorialSupportService.java
|
||||
d3d656a09c5b422b04b69fb8e6178be925e368b39dd52a48ca79d174dad0eb18 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowExpressionAnalyzer.java
|
||||
af43f155ac52d777f0ce33d7abe178175493cf215cdb05fb58c00faeea7d5f64 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport.java
|
||||
0a812aa055a0584a2994cf7e03432e7a793ed3dafa46fb0d99649aa87b61e5fa prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs
|
||||
282bf48949e9541ac0c2b8ac8f22c32c88c2b989db47e735d93986e1be5aa35d prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/mod.barrel
|
||||
5fefadf0c171849db43a84a8e96ee9b65f9085630c54fc2605b478b052202f3e prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/hash/main.pbs
|
||||
96c5efc77fa829cd1ada41551455d5ab702af7d93003bff166a917cfe94d5c91 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/hash/mod.barrel
|
||||
51a535c87ea1f6cfe63921c16116325e98ff5b792c52d29c554708f6f747fbbe prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/hashing.pbs
|
||||
f41f867226127c663a4aff3429c482bab5d685dbdeede7dbb156fd31e8056cb4 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/mod.barrel
|
||||
af301f0399bbf960efb011bc9a64bc203198b5dd808cfce4e726d28460f081a5 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/sets.pbs
|
||||
b2f68ef00a5d2f2b2959ca7b35293b3ebbddaccac6c7983800a3ce2686dfd315 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/PbsGenericStructsTest.java
|
||||
b012912e78dac60d7f87b0133c4a40802acbe8f8470a64aa599e01a745da894f prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/semantics/PbsListCursorEditorialTest.java
|
||||
6924220bb90f36d8e14a7e58a9b645863661fa5244ec2984f380dcdcc135a458 prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeOpcodeLayout.java
|
||||
ff70c90b3803325c21a9c8b7c9614d18df6e70950e2ad04f182e0d02a3ee11bf prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodePreloadVerifierService.java
|
||||
ad66da924ae8a41358f3ccfe31fab2e69e961892bc24dab2dbeb8aa148cfb20e prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/registry/RegistryInstructionLowerer.java
|
||||
b78a89315c3335d13a14e4fae67025844ca06ebdd6cd6450333550a7ffe63670 prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/registry/IdentityHashingPipelineTest.java
|
||||
5b65afa2b540d9322e66e51618e3b30ef48773c21b3b22c449f96151fabff4a4 prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/registry/IRRegistryInstruction.java
|
||||
a97ccf7cf1ef9cc955b4c8149cc4617a0c5d1e7d5bbb1568bf747ed6c8c901a1 tools/pbx-conformance/README.md
|
||||
7034976755c6231001c716190dee2bb45a8fc5123dfe99cbb88eff3cddce6a4a tools/pbx-conformance/main.rs
|
||||
314882419dcab726c9944450e114e8da92348a82976cfb64a4157c47485ddb83 tools/pbx-conformance/run.py
|
||||
@@ -0,0 +1,10 @@
|
||||
$ discussion validate
|
||||
validation passed
|
||||
|
||||
$ discussion inspect DSC-0092
|
||||
DSC-0092 done pbs-sdk-set
|
||||
PBS SDK Set
|
||||
tags: compiler-pbs, collections, umbrella-agd-0089
|
||||
|
||||
lessons:
|
||||
- LSN-0093 done exists /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/discussion/lessons/DSC-0092-pbs-sdk-set/LSN-0093-reusable-identity-and-source-set-buckets.md
|
||||
+194
@@ -0,0 +1,194 @@
|
||||
---
|
||||
id: LSN-0094
|
||||
ticket: pbs-sdk-map-keyval
|
||||
title: Map presence, key identity and captured associations
|
||||
created: 2026-10-26
|
||||
tags: [compiler-pbs, collections, map, keyval, identity, optional, cursor]
|
||||
---
|
||||
|
||||
# Map presence, key identity and captured associations
|
||||
|
||||
**Worker:** Lesson Worker. **Owner domain:** `compiler/pbs`.
|
||||
**Discussion:** DSC-0093, accepted DEC-0079 implemented by PLN-0157 (R1–R12).
|
||||
The normative contract is [SDK Map and Keyval](../../../docs/specs/compiler-languages/pbs/24.%20SDK%20Map%20and%20Keyval%20Specification.md).
|
||||
The [evidence record](evidence/README.md) preserves reproduction commands, source
|
||||
and fixture fingerprints, raw logs and requirement coverage after housekeeping.
|
||||
|
||||
## Original problem
|
||||
|
||||
Map needed to distinguish association existence from the content of its value,
|
||||
define which object represents an equivalent key, and transport read-only entries
|
||||
without exposing mutable hash storage. Set had already delivered reusable Identity
|
||||
and hashing, while List supplied a shared snapshot Cursor. Neither delivery
|
||||
automatically determined Map's API, representation or mutation guarantees.
|
||||
|
||||
The accepted result is a source SDK Map with its own bucket nodes, an ordinary
|
||||
generic Keyval association, optional lookup/previous-value results and independent
|
||||
entry snapshots. The implementation uses existing typed Registry/PBX/VM contracts;
|
||||
the runtime checkout was not modified.
|
||||
|
||||
## Separate presence from payload
|
||||
|
||||
`m[key]`, `put(entry)` and `remove(key)` return optional V. The outer optional
|
||||
answers whether an entry existed. V may itself be optional:
|
||||
|
||||
| Stored state | Lookup or previous-value result |
|
||||
| --- | --- |
|
||||
| No association | none |
|
||||
| Present association, V=none | some(none) |
|
||||
| Present association, V=some(42) | some(some(42)) |
|
||||
|
||||
For example, inside a function:
|
||||
|
||||
```pbs
|
||||
let scores = new map<str, optional int>();
|
||||
scores["pending"] = none;
|
||||
if scores.containsKey("pending") {
|
||||
if let payload = scores["pending"] {
|
||||
// payload is optional int and is currently none.
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Assigning none does not remove an entry. remove is the structural operation.
|
||||
Zero/false are present values, and faults never become none. K directly optional
|
||||
is rejected consistently with Set; independent `keyval<K,V>` remains an ordinary
|
||||
generic struct and can hold optional components. The restriction on
|
||||
`array<optional T>` does not prohibit a V field in a private node.
|
||||
|
||||
## Preserve the stored key representative
|
||||
|
||||
Default Identity follows the [Set policy](../../../docs/specs/compiler-languages/pbs/23.%20SDK%20Set%20and%20Identity%20Specification.md):
|
||||
scalar/String values use their specified value domains; eligible objects use
|
||||
instance identity; contracts use their validated receiver. Unsupported defaults
|
||||
require an explicit Identity<K>. V needs no equality/hash capability.
|
||||
|
||||
A content strategy can consider distinct objects equivalent. If a map already
|
||||
stores object A and a write supplies equivalent object B, replacement changes
|
||||
only V. A remains the key returned by subsequent snapshots; size and capacity do
|
||||
not change. To make B the representative, remove and reinsert. This rule avoids
|
||||
silently replacing object identity while updating an association's value.
|
||||
|
||||
An explicit strategy must remain coherent and stable while keys are stored.
|
||||
Remove keys from affected collections before changing relevant content or policy
|
||||
configuration, then reinsert. Cached hashes do not repair unstable equality.
|
||||
|
||||
## Keyval is an association, not a storage node
|
||||
|
||||
`new keyval<K,V>(key, value)` constructs a normal generic SDK struct. It has private
|
||||
fields and only key()/value() accessors, with no mutators. Assignment shares its
|
||||
instance and payload references. Separately constructed keyvals remain distinct
|
||||
under default instance identity even when their components match.
|
||||
|
||||
Map.put reads those components and returns the previous V. It does not retain the
|
||||
input Keyval as an editable table node. Internal Map nodes store cached long hash,
|
||||
K, mutable V and next link. This keeps storage mutation private and avoids one
|
||||
public Keyval allocation per internally stored association.
|
||||
|
||||
Keyval is shallowly read-only: its association is fixed, but referenced objects
|
||||
remain shared and mutable. An old captured value does not follow replacement
|
||||
with a new object; mutating the old object itself is still visible through aliases.
|
||||
|
||||
## Share policies and helpers without a universal table
|
||||
|
||||
Map and Set share Identity, hash primitives, private bucket/size/growth arithmetic
|
||||
and the Cursor implementation. They retain separate node types and algorithms.
|
||||
Map is not implemented over Set or Linked, and there is no universal Element.
|
||||
|
||||
Empty Map construction is lazy. First inclusion creates 8 buckets, growth occurs
|
||||
above 3/4 occupancy and doubles up to Array's u32 structural maximum. Chaining may
|
||||
continue above that bucket count within checked signed-long size and provider
|
||||
quotas. Removal does not shrink; clear releases the table and restores lazy state.
|
||||
|
||||
Full signed-long hashes select buckets using remainder plus positive correction,
|
||||
without abs or int narrowing. Rehash copies independent topology using cached
|
||||
hashes and complete K/V groups; it never calls Identity or edits old published
|
||||
links during preparation. Old and candidate tables/nodes coexist under normal
|
||||
quota accounting. Search still has a linear worst case.
|
||||
|
||||
## Capture associations independently of later mutation
|
||||
|
||||
Map.cursor returns `Cursor<keyval<K,V>>`. Each association costs a new Keyval and
|
||||
an immutable private snapshot node, plus applicable carriers. Capture takes
|
||||
O(B+N) work and O(N) extra storage, returns only when complete, calls no strategies
|
||||
and retains no editable Map node or bucket position.
|
||||
|
||||
The [shared Cursor table](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md#cursor-protocol)
|
||||
is unchanged: current starts on the first captured entry; hasNext tests for a
|
||||
successor; next without one retains the last entry. Only an empty-born Cursor has
|
||||
absent current. Consume current before checking whether to advance.
|
||||
|
||||
Later insertion, replacement, removal, clear or rehash cannot rewrite captured
|
||||
associations. Order is unspecified. Consumed prefixes may become unreachable,
|
||||
while the final current remains retained until its Cursor releases it. The real
|
||||
GC corpus observes 1,200 -> 1 -> 1 -> 0 snapshot nodes and Keyvals, retaining
|
||||
2,400 -> 2 -> 2 -> 0 distinct key/value objects. The Map-node count is zero after
|
||||
capture ownership leaves the source collection, confirming no source-node link.
|
||||
|
||||
## Prepare even typed absence before structural writes
|
||||
|
||||
The quota corpus exposed an easy source-level mistake: `return none` can lower
|
||||
to instructions that allocate a private typed-default carrier. Returning it after
|
||||
inserting a node therefore introduced a fallible allocation after publication,
|
||||
despite the source text looking like a trivial constant.
|
||||
|
||||
The insertion path now prepares the typed absent previous value before structural
|
||||
writes and returns that prepared local afterward. Existing-entry put/remove also
|
||||
prepare their complete optional previous-value carriers before replacement or
|
||||
unlinking. Optimized and ordinary producers qualify these phases independently.
|
||||
|
||||
This preparation is not a transaction. Read/write indexing, containsKey, put and
|
||||
remove use a guard against Identity-driven reentry on the same Map, including
|
||||
aliases. clear is also blocked during callbacks; size/isEmpty/cursor may inspect
|
||||
the consistent prior structure. Normal returns release the guard. Callback faults
|
||||
may leave it installed while associations remain unchanged.
|
||||
|
||||
Before structural writes, refusal preserves old associations/topology but does
|
||||
not undo callbacks, arguments, guard writes or provisional allocation. After
|
||||
structural writes start, faults may retain earlier writes and incomplete
|
||||
invariants, with no rollback or safe-reuse guarantee. A separate test-only quota
|
||||
probe after candidate-table installation demonstrates table=16/nodes=7 while old
|
||||
size=6 and guard=true. It does not ship in the SDK or represent a natural refusal
|
||||
frequency. Budget/debugger pauses remain resumable instruction boundaries.
|
||||
|
||||
## Compiler and editor integration pitfalls
|
||||
|
||||
- Map keys are K, not positional long indices. Semantic analysis and lowering must
|
||||
select Map handling before Array/List/Linked promotion, passing every key slot.
|
||||
- Indexed reads are optional V while indexed assignment expects V. Contextual
|
||||
generic construction on a key/value expression must use that operand's expected
|
||||
application, not the outer lookup optional.
|
||||
- A chained `optionalCall().hasSome()` has a boolean outer context, but that must
|
||||
not erase the uniquely resolved optional return or change the receiver's lowering
|
||||
context. This front corrected both resolution and receiver lowering.
|
||||
- Keyval privacy must hold in completion, hover, navigation and signature help,
|
||||
while private `this` fields remain available inside their owner. Unknown editor
|
||||
receivers must produce no invented members or null-name resolution failures.
|
||||
- Contextual constructors record application provenance on the entire NewExpr
|
||||
span; signature help must resolve that concrete application as well as explicit
|
||||
angular type applications. Imported aliases keep original SDK definitions.
|
||||
- Generic default constructors must not invalidate explicit-strategy applications
|
||||
for keys without default Identity. Keep K and V restrictions independent.
|
||||
|
||||
## Qualification and maintenance references
|
||||
|
||||
The complete regression and installed-JAR gates passed. Both production runtime
|
||||
profiles executed all 88 mandatory Map PBX fixtures: 64 paired behavior/expected
|
||||
fault cases, 16 natural-resource fixtures, 2 separate injected-fault fixtures,
|
||||
4 GC fixtures covering both producers and 2 import/installed examples. Each profile
|
||||
observed 328 natural refusals before structural writes, 2 post-publication test
|
||||
injections, 8 snapshot GC observations and 10 collection GC observations.
|
||||
|
||||
Qualification is local macOS/arm64 against unchanged provider
|
||||
`dcf6561ea73446e0a3e1cf1c73eda20923b38df0`. It does not establish a performance
|
||||
threshold, other-host qualification or installed game readiness. Existing unrelated
|
||||
disabled JUnit cases and upstream headless-schema gaps remain explicit in the
|
||||
evidence and are not counted as new Map conformance.
|
||||
|
||||
- [Normative Map/Keyval specification](../../../docs/specs/compiler-languages/pbs/24.%20SDK%20Map%20and%20Keyval%20Specification.md).
|
||||
- [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).
|
||||
- [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).
|
||||
@@ -0,0 +1,126 @@
|
||||
# Map/Keyval implementation and qualification evidence
|
||||
|
||||
Owner: `compiler/pbs`. Captured 2026-10-26 for accepted DEC-0079 / PLN-0157,
|
||||
with complete coverage of R1–R12. Studio baseline HEAD and host/tool versions are
|
||||
in [environment.json](environment.json). Runtime remained clean at
|
||||
`dcf6561ea73446e0a3e1cf1c73eda20923b38df0`; no runtime write or commit was made.
|
||||
|
||||
## Reproduction and results
|
||||
|
||||
From the Studio root:
|
||||
|
||||
```sh
|
||||
./gradlew test :prometeu-app:installedKnowledgeTest --console=plain
|
||||
CARGO_TARGET_DIR=/tmp/studio-pbx-map-target python3 tools/pbx-conformance/run.py --runtime ../runtime
|
||||
CARGO_TARGET_DIR=/tmp/studio-pbx-map-target python3 tools/pbx-conformance/run.py --runtime ../runtime --release
|
||||
git diff --check
|
||||
discussion validate
|
||||
```
|
||||
|
||||
All returned zero. The two complete VM runs include all Map cases and the existing
|
||||
Registry, catalog, math, Random, input, Array/optional, Struct/contract, generic,
|
||||
closure, storage/copy, List, Linked, Set, Identity/hash, admission and schema corpora.
|
||||
Focused `--map-only` runs were used during development; final evidence is from
|
||||
the complete harness built from the final source fingerprints.
|
||||
|
||||
Aggregated standard JUnit reports contain 1,079 cases: zero failures/errors,
|
||||
1,066 executed and 13 existing skips. The independent installed-knowledge task
|
||||
adds two passing cases outside the checkout using installed JARs. The final
|
||||
Gradle invocation completed in 15 seconds with 2 executed and 92 up-to-date tasks;
|
||||
unchanged suites retained valid prior successful results. Reported suites and
|
||||
individual skips are preserved in [gradle-results.json](gradle-results.json).
|
||||
Existing skips belong to BackendGateIIntegrationTest (8),
|
||||
MainProjectPipelineIntegrationTest (4) and ExternalSourceDevelopmentHostTest (1).
|
||||
None is a new Map test. Frontend totals are 305 and architecture totals are 127.
|
||||
|
||||
Each Rust profile uses both ordinary and optimized source producers, including
|
||||
the GC fixtures. Eighty-eight mandatory Map files are fingerprinted: 64 behavior
|
||||
and expected-fault cases, 16 resource fixtures, 2 distinct injection fixtures,
|
||||
4 GC fixtures and 2 real import/installed examples. Missing mandatory fixtures
|
||||
fail qualification. The full fixture directory contains 1,389 fingerprinted PBX
|
||||
files; a directory count is not itself a count of executed corpus cases.
|
||||
|
||||
| New observation per Rust profile | Count |
|
||||
| --- | ---: |
|
||||
| Behavior / expected callback and overflow faults | 64 |
|
||||
| Natural quota refusals with successful-prefix comparison | 328 |
|
||||
| Separate test-only post-publication quota injections | 2 |
|
||||
| Snapshot GC observations, ordinary + optimized | 8 |
|
||||
| Collection/replacement/removal GC observations, ordinary + optimized | 10 |
|
||||
| Import/reexport and installed-JAR example executions | 2 |
|
||||
|
||||
Known upstream headless-schema gaps for LifecycleRole and NonFiniteValue remain
|
||||
printed explicitly. Original provider payloads are preserved and those cases are
|
||||
not called conformance to the unmodified published enum. No new exception was
|
||||
introduced for Map. Qualification is local macOS/arm64, not a timing benchmark or
|
||||
other-host/deployed-game qualification.
|
||||
|
||||
## Resource and failure-phase observations
|
||||
|
||||
The paired producer paths and Rust profiles produced the same peak vectors.
|
||||
These are measured whole-fixture/session peaks including setup, wrappers and call
|
||||
preparation, not standalone Map object sizes.
|
||||
|
||||
| Operation | GuestBytes before → after | HandleSlots before → after | Peak Map nodes / tables | Natural refusals per producer |
|
||||
| --- | --- | --- | --- | ---: |
|
||||
| Growth 6 → 7 | 26,776 → 50,576 | 86 → 161 | 13 / 2 | 38 |
|
||||
| Add without growth | 21,848 → 27,688 | 70 → 89 | 6 / 1 | 25 |
|
||||
| Index replacement | 21,848 → 24,912 | 70 → 80 | 5 / 1 | 16 |
|
||||
| put replacement | 21,848 → 25,516 | 70 → 82 | 5 / 1 | 18 |
|
||||
| Remove | 21,848 → 25,540 | 70 → 82 | 5 / 1 | 16 |
|
||||
| Clear | 21,848 → 22,152 | 70 → 71 | 5 / 1 | 5 |
|
||||
| Cursor capture | 21,848 → 37,888 | 70 → 122 | 5 / 1 | 30 |
|
||||
| Read | 21,848 → 25,212 | 70 → 81 | 5 / 1 | 16 |
|
||||
|
||||
All 328 natural refusals in each final profile occurred before structural writes;
|
||||
an installed guard may remain. This does not prove post-write faults impossible
|
||||
or permit automatic safe reuse. The separate test-only probe after actual table
|
||||
installation retains 16 buckets, 7 nodes, old size 6 and active guard when the
|
||||
probe allocation fails, while the refused instruction preserves its own entry state.
|
||||
Production SDK source contains no such probe. The source prepares even typed none
|
||||
before publication because lowering that absence can materialize a private carrier.
|
||||
|
||||
Snapshot GC observes 1,200 -> 1 -> 1 -> 0 nodes and Keyvals and
|
||||
2,400 -> 2 -> 2 -> 0 distinct key/value Items, without retaining the source Map
|
||||
table/nodes. Collection GC observes 64 -> 64 -> 61 -> 0 -> 0 Map nodes and
|
||||
128 -> 128 -> 122 -> 0 -> 0 Items: overwritten values are reclaimed, removals
|
||||
release keys/values and clear releases all associations. Both producer variants
|
||||
pass these observations in both runtime profiles.
|
||||
|
||||
The eight peak vector components are GuestBytes, HandleSlots, AuxiliaryBytes,
|
||||
TemporaryBytes, StringBytes, StringAllocations, IndividualStringBytes and CallDepth.
|
||||
The complete vectors, refusal operation/resource/opcode records and GC counts are
|
||||
in [map-results.json](map-results.json) and the compressed raw logs.
|
||||
|
||||
## Requirement coverage retained after housekeeping
|
||||
|
||||
| Requirement | Final evidence |
|
||||
| --- | --- |
|
||||
| R1 Construction, nominal origin, invariance | Frontend Map tests, SDK interface gate, alias/reexport frame and installed source |
|
||||
| R2 API and evaluation | basic/scalars/evaluation source cases, typed string/object/tuple/native keys |
|
||||
| R3 Optional presence | optional source case, nested payloads, stored none/zero/false, actual installed example |
|
||||
| R4 Representative and previous values | content/basic cases, no-growth replacement resource baseline, snapshot independence |
|
||||
| R5 Identity policies | scalars/objects/references/random/tuple/native/pixel cases and nominal/default-strategy frontend negatives |
|
||||
| R6 Read-only Keyval | content case with distinct association instances and shared payloads; private-field semantic/editorial gates |
|
||||
| R7 Buckets, bounds, cleanup | collisions/arithmetic/overflow, structural validation of resource fixtures, collection GC |
|
||||
| R8 Reuse, rehash, memory | collision strategy counters, 13-node/2-table growth peak and full existing Set corpus |
|
||||
| R9 Entry snapshot | empty/single/multiple states, snapshots/content, callback reads, paired snapshot GC |
|
||||
| R10 Guard and failure phases | hash and equals callback fault matrices, successful-prefix quota comparison, separate post-publication injection |
|
||||
| R11 Groups, owners, LSP | tuple/native/pixel/contract/reference payloads, source-order checks, real GC and SDK provenance/privacy editor tests |
|
||||
| R12 Production qualification and distribution | Complete debug/release logs, both producer paths, isolated installed-JAR compilation/execution and regression reports |
|
||||
|
||||
## Files and workflow mechanics
|
||||
|
||||
- `regression.log.gz`, `conformance-debug.log.gz`, `conformance-release.log.gz`:
|
||||
complete final raw outputs.
|
||||
- `source.sha256`: all changed/new version-controlled surfaces at qualification.
|
||||
- `fixtures.sha256.gz`: actual generated PBX fingerprints, including installed examples.
|
||||
- `gradle-results.json`, `map-results.json`, `environment.json`: machine-readable results.
|
||||
- `workflow.txt`: completed plan, validation and housekeeping output.
|
||||
- `SHA256SUMS`: evidence file integrity manifest.
|
||||
|
||||
The CLI has no standalone lesson creation/next-ID query. LSN-0094 was read through
|
||||
the framework's read-only model accessor; `discussion housekeep` performs its
|
||||
registration, counter advancement, index updates and workflow artifact removal.
|
||||
The index was not edited manually. The English lesson preserves the operational
|
||||
knowledge; completed agenda/decision/plan files are disposable workflow scaffolding.
|
||||
@@ -0,0 +1,10 @@
|
||||
e00bd96cd1e689654be4d563b550e488265c8eaf2038734013219019c508e004 README.md
|
||||
08b3115f4dc03a2a637b4133fd4a7ec6a27395183b8de1d778953e71c2e7df9f conformance-debug.log.gz
|
||||
5efbde06fc26364560cf5e4e717d8023769ce322edb624b01d80e957dfe1a701 conformance-release.log.gz
|
||||
325cb8c0638609340e398352e1c7a006b232ad24c7f860958f84017193266576 environment.json
|
||||
8e8453dbd3b4e336d6fcf5d49337cb03ef2a3365d8e905f4db52d7ce6a8d1000 fixtures.sha256.gz
|
||||
effff1a1552e7210bdb0486e44996d668dfb1d1e1cd1c0f076fe7a47a837f0f6 gradle-results.json
|
||||
be95e4f4aa5c8d2718c8cc356b3eaa68cce050632f0ea6d1ed5051f482013b4e map-results.json
|
||||
5af47b805bcf2c794d95bfaf517fe592e6b24116ba87d1c46a490fbbc18fbce1 regression.log.gz
|
||||
8569d628c2e0305e403197ef8b7c92cb9156bae817529a01f828c7ef340ce3ea source.sha256
|
||||
e93ad3067041f75297210adbf1f6cfd6a30a090c44d74afaf0059b6a1bee1faf workflow.txt
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"captured": "2026-10-26",
|
||||
"owner": "compiler/pbs",
|
||||
"decision": "DEC-0079",
|
||||
"plan": "PLN-0157",
|
||||
"studio_baseline_head": "8105604f9210468fc61950b124cdd7adf58daaf0",
|
||||
"runtime_head": "dcf6561ea73446e0a3e1cf1c73eda20923b38df0",
|
||||
"runtime_working_tree": "",
|
||||
"host": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
|
||||
"rust": "rustc 1.98.1 (48a229cea 2026-09-01)\nbinary: rustc\ncommit-hash: 48a229ceaefd4985c50990b14116b6d856af0985\ncommit-date: 2026-09-01\nhost: aarch64-apple-darwin\nrelease: 1.98.1\nLLVM version: 22.1.8",
|
||||
"map_fixture_count": 88,
|
||||
"all_fixture_count": 1389
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user