Compare commits

...
5 Commits
Author SHA1 Message Date
bquarkz 1d8b8c2101 feat(studio): integrate memcard persistence and headless controls
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Test / Tests and coverage
Persist cartridge identity and slot configuration, add MemcardBoot and the MemcardBuffer SDK, and consume the runtime's negotiated memcard host controls with protected teardown.

Qualify save/reopen and version upgrades through distinct configured runtime processes. Include specs, examples, regression evidence and the consolidated discussion lesson.
2026-10-30 11:01:02 +00:00
bquarkz 3a3417eb44 docs: consolidate canonical specs and preserve PBS reference IDs 2026-10-28 15:11:00 +00:00
bquarkz 9504f4694a feat(pbs): add explicit guest lifecycle hooks 2026-10-28 09:12:48 +00:00
bquarkz eb7d6a2398 docs(pbs): consolidate collection lessons and failure guarantees 2026-10-27 13:40:38 +00:00
bquarkz 0016d92ac3 feat(pbs): add array-backed Stack and circular Queue 2026-10-27 09:37:10 +00:00
218 changed files with 16508 additions and 472 deletions
+2
View File
@@ -29,3 +29,5 @@ build
discussion/*
!discussion/lessons/
!discussion/lessons/**
temp/
temp/**
+5 -2
View File
@@ -260,8 +260,11 @@ If you are new to the codebase, this order is usually the fastest path:
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.
@@ -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)
@@ -138,7 +138,7 @@ slot-to-type inference to conceal an incomplete handoff.
## References
- [Typed common Registry/PBX specification](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md)
- [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
@@ -169,8 +169,8 @@ and behavior together. Roll back that set together if necessary.
## References
- [Normative catalog support](../../../docs/compiler/general/specs/runtime-catalog-support.md)
- [Typed common Registry/PBX contract](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md)
- [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,
@@ -76,8 +76,8 @@ Frontend negatives cover invalid Button arguments, mixed int/long variables, lit
## References
- [Normative PBS input and existing-value contract](../../../docs/compiler/pbs/specs/input-and-existing-type-runtime-alignment.md)
- [Shared runtime catalog contract](../../../docs/compiler/general/specs/runtime-catalog-support.md)
- [Typed registry and PBX contract](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md)
- [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)
@@ -8,7 +8,7 @@ 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/compiler/pbs/specs/typed-arrays-and-optional-execution.md) is the normative reference; the [implementation evidence](../../evidence/DSC-0079-implementation/README.md) records the tested tree and commands.
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
@@ -107,7 +107,7 @@ Common mistakes to avoid:
## References
- [Normative function and capture specification](../../../docs/compiler/pbs/specs/first-class-functions-and-captures.md).
- [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).
@@ -150,8 +150,8 @@ explicitly reported by the full harness; original payloads are preserved.
## References
- [Service constants and runtime math specification](../../../docs/compiler/pbs/specs/service-constants-and-runtime-math.md)
- [Runtime catalog policy](../../../docs/compiler/general/specs/runtime-catalog-support.md)
- [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.
@@ -12,7 +12,7 @@ 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/compiler/pbs/specs/runtime-random-integration.md).
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
@@ -151,9 +151,9 @@ SDK/spec/example delivery, not execution through an installed runtime process.
## References
- [PBS Random specification](../../../docs/compiler/pbs/specs/runtime-random-integration.md).
- [Typed arrays and optional execution](../../../docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md).
- [Functions and captures](../../../docs/compiler/pbs/specs/first-class-functions-and-captures.md).
- [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).
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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"
]
}
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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."
}
@@ -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.
@@ -73,8 +73,8 @@ Local run logs were `/tmp/agd90-final-tests.log`, `/tmp/agd90-frontend-final.log
## References
- [Normative Array contract](../../../docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md).
- [Function values and captures](../../../docs/compiler/pbs/specs/first-class-functions-and-captures.md).
- [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.
@@ -196,9 +196,9 @@ 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/compiler/pbs/specs/generic-contracts.md).
- [Typed Registry/PBX and global relocation](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md).
- [Arrays, optional and contract execution](../../../docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md).
- [Functions and captures](../../../docs/compiler/pbs/specs/first-class-functions-and-captures.md).
- [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.
@@ -3,7 +3,7 @@ id: LSN-0090
ticket: pbs-sdk-list
title: Mutable Lists and Stable Snapshot Cursors
created: 2026-10-22
tags: [compiler-pbs, collections, snapshot-cursor, atomic-publication, runtime-conformance]
tags: [compiler-pbs, collections, snapshot-cursor, failure-phases, runtime-conformance]
---
## Original problem and final result
@@ -12,15 +12,22 @@ 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/compiler/pbs/specs/sdk-list-and-cursor.md)
[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; generic storage instructions support complete publication in the VM.
Linked, Set and Map remain separate discussions.
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
@@ -36,7 +43,7 @@ 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/compiler/pbs/specs/sdk-list-and-cursor.md) defines
[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;
@@ -84,44 +91,47 @@ 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.
Future Linked/Set producers use Cursor<T>; Map entries use Cursor<keyval<K,V>>.
Their construction rules and ordering guarantees belong to their own discussions.
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 the whole mutation before publishing
## Prepare values, then perform sequential updates
An insert without growth can shift many slots and update size. A remove also
prepares an optional result and clears its old tail. Each operation needs a single
failure boundary for all observable changes.
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.
The generic provider adds four operations, carried through common IR and PBX:
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.
| Operation | Purpose |
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 |
| --- | --- |
| INDEX_GUARD | Check a signed-long logical index against an exclusive limit |
| ARRAY_CHECK_LENGTH | Validate a structural length without allocating |
| ARRAY_COPY | Transfer complete stored groups with overlap-safe prestate semantics |
| STORAGE_PUBLISH | Prepare and commit source-selected copy/fill ranges and two typed fields |
| 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 |
The SDK chooses its indices, ranges, fill value, target backing and resulting size.
The generic layer validates those operands and resource charges. It snapshots
complete source groups into charged scratch before any write, then commits the
selected copy, fill and field updates without allocation, callbacks, scheduler or
GC interleaving. Its four immediate operands identify the Array/Struct types and
two distinct fields. There is no exported preparation token or general transaction
syntax.
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.
For growth, a private candidate array is allocated and populated first. For a
no-growth edit, scratch and all argument/result carriers are prepared first.
`removeAt` obtains its previous optional value before publication. Raw transfer
keeps presence tags, full value groups and existing reference/carrier identity.
Per-element public optional unpack/repack would add failure points and allocation
costs while shifting.
Refusal leaves backing identity, capacity, size and complete stored groups
unchanged. Argument effects evaluated before the call remain ordinary source
effects. Unpublished candidates and scratch follow normal ownership and budgets.
The provider has no List/Cursor opcode, category or syscall; collection algorithms
remain in
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
@@ -140,41 +150,52 @@ 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 retain all four publication operands; malformed
types or fields are rejected even in unreachable instructions.
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.
## Evidence and practical limits
## Current qualification and historical evidence
The selected provider is clean commit
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.
| Gate | Observed result |
| 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 |
| Whole-operation quota refusals | 71 attempts; independently observed prior List state preserved |
| 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 |
The refusal matrix lowers GuestBytes, HandleSlots, AuxiliaryBytes and TemporaryBytes
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 compares the typed
List fields and every backing group before and after each refusal, and verifies
resource accounting returns to zero after VM drop. Generic provider tests also
cover overlapping multi-slot transfers, late invalid fields/ranges, immutable
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
@@ -184,51 +205,56 @@ safepoints. Optional carriers and other legitimate owners still have their norma
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).
[Machine-readable evidence](runtime-conformance-evidence.json) records commands,
[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 delivery. Qualification makes no release-profile or cross-platform claim.
this original delivery. That historical run makes no release-profile or cross-platform
claim; later debug/release qualification is linked separately above.
R1–R5 are covered by type/construction/bounds/mutation/capacity fixtures; R6–R9 by
snapshot states, identity, non-List optional production and GC; R10–R11 by direct
provider tests, common IR and the refusal matrix; R12 by editor/import/distribution
gates; R13 by resource accounting and retention observations; R14 by the mandatory
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 require TRAP_OOB; a hole is an optional result only at a valid index.
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 publication. Individual
Array instruction atomicity alone cannot prove whole-mutator atomicity.
- 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.
- Carry all publication operands through linking and optimization. A lost second
field identity can invalidate otherwise well-typed SDK calls after imports.
- 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/compiler/pbs/specs/sdk-list-and-cursor.md)
and [Array/optional foundation](../../../docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md).
- [Common Registry/PBX specification](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md)
and [canonical provider publication code](../../../../runtime/crates/console/prometeu-vm/src/virtual_machine/storage_publication.rs).
- [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).
- [Generic structs lesson](../DSC-0094-pbs-generic-structs/LSN-0089-concrete-generic-state-and-bodies.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. Provider and catalog commands,
their working directories and the tested configuration are in the evidence file.
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.
@@ -1,9 +1,9 @@
---
id: LSN-0091
ticket: pbs-sdk-linked
title: Private Linked Nodes and Atomic Publication
title: Private Linked Nodes and Sequential Mutation Phases
created: 2026-10-23
tags: [compiler-pbs, collections, snapshot-cursor, atomic-publication, runtime-conformance]
tags: [compiler-pbs, collections, snapshot-cursor, failure-phases, runtime-conformance]
---
## Original problem and final result
@@ -11,20 +11,24 @@ tags: [compiler-pbs, collections, snapshot-cursor, atomic-publication, runtime-c
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/compiler/pbs/specs/sdk-linked-and-cursor.md)
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. A
neutral FIELDS_PUBLISH operation provides complete publication across the collection
and its neighbors, without moving node algorithms into the VM.
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.
The selected provider is clean commit `57992cf214e8a5f9de53a40dba9aaa7fab038c91`.
Studio changes were qualified over base `c410e3500150de5e6d55c1da8f9b22076ca84251`.
[Machine-readable evidence](runtime-conformance-evidence.json) records source/PBX
hashes, commands, configuration, lowered refusal limits and observed GC states.
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
@@ -86,38 +90,35 @@ The [distributed example](../../../prometeu-compiler/frontends/prometeu-frontend
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 every object before changing any object
## Prepare nodes and returns, then update links sequentially
Insertion can update the collection's head/tail/size and two existing neighbors.
Removal also prepares the returned optional value. Separate successful field
stores are insufficient: a later allocation or frame/operand refusal could leave
half of a neighbor pair updated.
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.
The existing range-based STORAGE_PUBLISH operation covered an Array and two
fields of one owner. Its guarantee did not automatically extend to Linked.
The new generic FIELDS_PUBLISH uses a normal Struct TypeId as a schema: each
schema field names one destination Struct type. The stack supplies each nullable
destination followed by all its complete field groups. No request object, new
Registry category or public preparation token is needed.
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.
All non-null destinations must have the exact concrete type and live provenance.
All supplied value groups are validated, including those paired with a null
(skipped) destination. The original operands stay rooted and unconsumed until the
whole attempt is admitted. The VM then commits in schema order without allocation,
validation, callbacks or GC/scheduler interleaving, and consumes the operands.
Repeated destinations have ordered last-write semantics using pre-captured inputs.
| 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 |
The SDK selects topology and values. It allocates and initializes a private
candidate node before publishing an insertion. Removal prepares its optional
result first. Private helper bindings lower those source-selected values to the
neutral operation. A refusal preserves the old roots, size, values and reciprocal
links; already evaluated caller argument effects remain ordinary source effects.
Publication itself needs no heap object or scratch. This does not make a source
mutation allocation-free: optional carriers, candidate nodes, packing and call
preparation still have their normal costs. Provider tests execute publication at
already exhausted allocation ceilings, preserve native String/reference identity
and multi-slot groups, and reject a late invalid group before every shared write.
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
@@ -162,38 +163,55 @@ The full harness also needed its original scalar/input corpus selector to exclud
the new Linked fixture prefix. Linked cases remain mandatory in their dedicated
validator; they are not silently treated as older scalar fixtures or skipped.
## Qualification and limits
## Current qualification and historical delivery evidence
| Gate | Observed result |
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 |
| Neutral storage/publication | Four common-IR fixtures executed, including ordinary/optimized FIELDS_PUBLISH |
| Whole-operation refusals | 231; all ten mutation/capture boundaries preserved previous source state |
| 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 refusal matrix observed GuestBytes, HandleSlots and AuxiliaryBytes refusals.
TemporaryBytes was checked against the measured setup/success peaks; no additional
peak required a lowered refusal case in this Linked corpus. FIELDS_PUBLISH has no
scratch allocation, and the direct provider test proves publication succeeds with
TemporaryBytes already capped at current usage. This is not a claim that general
source preparation never needs temporary resources.
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. No release or cross-platform claim
is made. Two pre-existing full-harness response-schema gaps, LifecycleRole and
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
- Do not implement a multi-object mutation as a sequence of fallible stores.
- Prepare the optional removed-value carrier before publishing the removal.
- 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
@@ -206,18 +224,19 @@ NonFiniteValue, remain explicitly reported with original payloads.
## References and reproduction
- [Linked specification](../../../docs/compiler/pbs/specs/sdk-linked-and-cursor.md),
[List/shared Cursor](../../../docs/compiler/pbs/specs/sdk-list-and-cursor.md),
[generic structs](../../../docs/compiler/pbs/specs/generic-structs-and-free-functions.md)
and [generic Registry/PBX publication](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md).
- [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).
- [Provider publication implementation](../../../../runtime/crates/console/prometeu-vm/src/virtual_machine/storage_publication.rs)
and [previous List/Cursor lesson](../DSC-0090-pbs-sdk-list/LSN-0090-mutable-lists-and-stable-snapshot-cursors.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`, after selecting the
recorded provider. The evidence file retains command/configuration details and
R1–R12 traceability after removal of the completed workflow controls.
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.
@@ -19,7 +19,7 @@ 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/compiler/pbs/specs/sdk-set-and-identity.md).
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
@@ -132,7 +132,7 @@ 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/compiler/pbs/specs/sdk-set-and-identity.md#guard-mutation-phases-and-faults)
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 |
@@ -209,9 +209,9 @@ JUnit cases are listed separately from the mandatory runtime corpus.
## References
- [Set/Identity/hash specification](../../../docs/compiler/pbs/specs/sdk-set-and-identity.md).
- [Shared Cursor specification](../../../docs/compiler/pbs/specs/sdk-list-and-cursor.md).
- [Common Registry/PBX specification](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md).
- [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).
@@ -10,7 +10,7 @@ tags: [compiler-pbs, collections, map, keyval, identity, optional, cursor]
**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/compiler/pbs/specs/sdk-map-and-keyval.md).
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.
@@ -58,7 +58,7 @@ generic struct and can hold optional components. The restriction on
## Preserve the stored key representative
Default Identity follows the [Set policy](../../../docs/compiler/pbs/specs/sdk-set-and-identity.md):
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.
@@ -113,7 +113,7 @@ 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/compiler/pbs/specs/sdk-list-and-cursor.md#cursor-protocol)
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.
@@ -185,7 +185,7 @@ threshold, other-host qualification or installed game readiness. Existing unrela
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/compiler/pbs/specs/sdk-map-and-keyval.md).
- [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).
@@ -193,10 +193,10 @@ language prerequisite does not approve those collection proposals.
## References
- [Generic structs and free functions](../../../docs/compiler/pbs/specs/generic-structs-and-free-functions.md).
- [Generic contracts](../../../docs/compiler/pbs/specs/generic-contracts.md).
- [Arrays and optional](../../../docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md).
- [Functions and captures](../../../docs/compiler/pbs/specs/first-class-functions-and-captures.md).
- [Random integration](../../../docs/compiler/pbs/specs/runtime-random-integration.md).
- [Concrete common Registry/PBX](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md).
- [Generic structs and free functions](../../../docs/specs/compiler-languages/pbs/17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md).
- [Generic contracts](../../../docs/specs/compiler-languages/pbs/16.%20Generic%20Contracts%20Specification.md).
- [Arrays and optional](../../../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).
- [Random integration](../../../docs/specs/compiler-languages/pbs/20.%20Runtime%20Random%20Integration%20Specification.md).
- [Concrete common Registry/PBX](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
- Historical execution plan: PLN-0152, completed and removed by discussion housekeeping.
@@ -0,0 +1,158 @@
---
id: LSN-0098
ticket: canonical-documentation-migration
title: One specification tree and stable installed reference IDs
created: 2026-10-28
tags: [compiler, compiler-pbs, packer, studio, documentation, migration]
---
# One specification tree and stable installed reference IDs
**Worker:** Lesson Worker. **Owner:** `compiler/general`.
Propagation: `compiler/pbs`, `packer`, `studio` and cross-domain navigation.
DSC-0095 executed accepted DEC-0082 through PLN-0160. These are historical
workflow identifiers; the durable entry point is the
[specification guide](../../../docs/specs/README.md).
## Original problem
Compiler contracts were split between `docs/specs` and `docs/compiler`.
The earlier generic-struct implementation exposed contradictory constructor
descriptions across those surfaces. That semantic choice had already been
settled explicitly, but separate document roots still encouraged competing
authority, incomplete navigation and filename-derived installed IDs.
The user explicitly chose consolidation **into `docs/specs`**, reversing the
initial migration proposal. Updating paths also required updating AGENTS.md
routing, the PBS knowledge build, consumers and historical navigation.
## Consolidated decision and final result
There is one specification tree with distinct owners:
| Owner | Canonical reading guide |
| --- | --- |
| `compiler/general` | [Shared compiler contracts](../../../docs/specs/compiler/README.md) |
| `compiler/pbs` | [PBS source, SDK and projections](../../../docs/specs/compiler-languages/pbs/README.md) |
| `packer` | [Packer contracts](../../../docs/specs/packer/README.md) |
| `studio` | [Studio contracts](../../../docs/specs/studio/README.md) |
All 14 specifications formerly under `docs/compiler` were incorporated as
numbered chapters. Existing chapter numbers remained unchanged. Packer and
Studio retained their established directories; their affected navigation was
corrected. The replaced source tree was removed, and the PBS build consumes
only `docs/specs/compiler-languages/pbs`.
General compiler additions are [24: Runtime Catalog Support](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
and [25: Typed Registry and PBX v0](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
PBS additions and their retained published aliases are:
| Filename part of the published `pbs:spec:<filename>` ID | Canonical chapter ID |
| --- | --- |
| `typed-arrays-and-optional-execution.md` | `pbs:spec:14` |
| `first-class-functions-and-captures.md` | `pbs:spec:15` |
| `generic-contracts.md` | `pbs:spec:16` |
| `generic-structs-and-free-functions.md` | `pbs:spec:17` |
| `input-and-existing-type-runtime-alignment.md` | `pbs:spec:18` |
| `service-constants-and-runtime-math.md` | `pbs:spec:19` |
| `runtime-random-integration.md` | `pbs:spec:20` |
| `sdk-list-and-cursor.md` | `pbs:spec:21` |
| `sdk-linked-and-cursor.md` | `pbs:spec:22` |
| `sdk-set-and-identity.md` | `pbs:spec:23` |
| `sdk-map-and-keyval.md` | `pbs:spec:24` |
| `sdk-stack-and-queue.md` | `pbs:spec:25` |
The [content verification map](evidence/content-verification.json) preserves
every exact source/destination path, original and final fingerprints, and the
result of comparing all 14 contract bodies while excluding changed link
destinations, owner/status/scope metadata, added authority sections and whitespace.
All 14 bodies matched under that normalization. No source contract was dropped.
## Preserve identity independently of editorial filenames
Previously, `substringBefore(". ")` produced chapter IDs for numbered files and
whole-filename IDs for unnumbered files. A rename could therefore change a
published reference without changing its actual contract.
The build now emits an explicit compatibility catalog. For example:
```text
pbs:spec:generic-contracts.md -> pbs-knowledge/specs/16. Generic Contracts Specification.md
pbs:spec:16 -> pbs-knowledge/specs/16. Generic Contracts Specification.md
```
Both entries use the same resource and SHA-256. The old ID still resolves,
while the editor can follow the existing numbered-document pattern. There is
one canonical resource, not two source documents. The former unnumbered resource
path is replaced; reference clients resolve IDs through the catalog instead of
constructing filenames. Duplicate IDs and missing alias targets fail generation.
`PbsDocumentationTest` checks all 12 published aliases against their numbered
counterparts, including text, kind, resource and hash. The installed probe repeats
the identity checks using actual installed JARs in a process outside the checkout.
The normal quickstart, previous chapter IDs, SDK and example IDs remain available.
## Consolidate authority without changing semantics
Thematic chapters own complete feature contracts. Base chapters retain distinct
syntax, AST, diagnostic and lowering requirements and refer to those owners for
shared detail. Static-semantics feature summaries were reduced to owner references;
unique spans, error codes, substitution and runtime-hook requirements were retained.
Editorial alignment also removed stale descriptions already superseded by
accepted contracts: nominal callback/bind forms are retired in favor of structural
Fn, numeric `as` conversions retain their value-alignment contract, and reserved
service constants retain their supported BuiltinConst form. The existing
[explicit constructor initialization rule](../../../docs/specs/compiler-languages/pbs/17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md#construction-and-expected-types)
continues to cover ordinary/generic constructors and opaque Random fields.
Runtime reference defaults do not exempt PBS source constructors.
The migration does not redesign APIs or infer a new solution to substantive
normative disagreement. A future unresolved conflict still requires an explicit
decision rather than an editorial compromise.
## Navigation and provenance need different treatment
Rebase a moved file's relative links from its **original** location and then map
the target to its new location. A global text replacement cannot distinguish
general compiler, language, packer and provider ownership or different path depths.
The migration also repaired Studio-to-packer links and links to completed workflow
artifacts, using completed lessons or explicit historical citations.
Obsolete local hardware/bytecode authority pointers were replaced with provider
references and the [mirror policy](../../../docs/vm-arch/README.md). Retired PBS
drafts are historical context, not a competing normative source.
Architecture/ISA mirrors retain byte-exact provider content. Their relative links
belong to the original runtime context; changing them inside the mirror would
invalidate byte identity. The navigation checker resolves those links against
that context when a runtime checkout is supplied. It performs no runtime writes.
The 65 pre-existing evidence/mirror files recorded in the verification map retained
their exact hashes. Updated lesson links do not imply that historical executions
were repeated or newly qualified.
## Validation and common pitfalls
The final normal Gradle suite and installed-knowledge gate passed: 1,099 normal
test cases, zero failures/errors, 13 skipped; two installed tests passed. The final
JAR contains 79 references, 12 compatibility aliases and 28 canonical spec
resources, each byte-identical to its final source. The installed examples compile
outside the checkout. No runtime repository changes were required.
Avoid these failure modes:
- Moving files without updating the generated knowledge index or root locators.
- Letting a filename rename silently break a public reference ID.
- Preserving compatibility with a second editable spec tree or source fallback.
- Replacing shared text with links while dropping unique AST/diagnostic requirements.
- Editing mirrored provider bytes just to repair provider-relative links.
- Rewriting historical fingerprints or linking to workflow artifacts already removed.
Run `python3 tools/documentation/verify.py` for local navigation. Add
`--runtime ../runtime` to verify provider references against a read-only checkout;
ordinary builds do not require it. Run the existing installed-knowledge gate after
source changes because a passing checkout read does not prove packaged delivery.
[Validation evidence](evidence/README.md) records commands, results, fingerprints
and the complete migration map. Completed workflow artifacts are disposed of
through the local discussion CLI.
@@ -0,0 +1,38 @@
# Canonical documentation migration evidence
Owner: `compiler/general`. Discussion: DSC-0095; accepted decision DEC-0082;
implementation plan PLN-0160. Recorded on 2026-10-28, macOS ARM64.
## Commands and results
- `./gradlew test :prometeu-app:installedKnowledgeTest --console=plain` passed
against the final corpus. The normal suite reports 1,099 cases, zero failures
and errors, and 13 skipped. The installed suite reports two passing tests.
- `python3 tools/documentation/verify.py --runtime ../runtime` checks local paths,
encoded spaces and anchors, and provider-context mirror links. Final navigation
output is retained in `navigation.log`.
- `git diff --check` and `discussion validate` pass; the workflow is finalized
through CLI housekeeping rather than manual index edits.
- The installed probe runs the real JAR distribution outside the checkout. All
12 old filename IDs share canonical resources/hashes with numbered IDs. Existing
SDK and example reads, example compilation and packaged LSP checks also pass.
## Retained artifacts
- `regression.log.gz`: final Gradle command output.
- `results.json`: baseline revision, platform, normal/installed suite counts,
installed JAR fingerprint and packaged-corpus results.
- `content-verification.json`: exact 14-file source/destination map, original and
final source hashes, body-preservation results and 65 unchanged evidence/mirror
fingerprints. Body normalization excludes changed Markdown link destinations,
status/owner/scope metadata, the added authority section and whitespace.
- `installed-reference-index.json`: actual index extracted from the final installed
PBS JAR. There are 79 references, 12 aliases and 28 distinct specification resources.
- `navigation.log`: final documentation navigation verification.
- `SHA256SUMS`: fingerprints of these evidence files.
All 28 packaged specification resources were also compared byte-for-byte with
their final checked-in source paths. Old unnumbered spec resources are absent.
Historical evidence/mirrors were not rewritten. The sibling runtime was used
only to resolve provider-reference targets and anchors; no files or commits were
written there. These checks do not claim new runtime/platform qualification.
@@ -0,0 +1,6 @@
1e6833fdcbc45f3c7e98eb948853d146e995d6d175ee8f0d7c7eaf2997649de6 README.md
8302f59b2bcf2cc9efef753b26f817bee4fcf1a53d9e9f8087522ee1730aa013 content-verification.json
9181e0b8eb616f73a27aa65b304878778a8c07e18f6abfde05d9374a2a184621 installed-reference-index.json
f80e769dc456b8f4803811f0f391c0d9bbe8f7afcfce038944112a60eabf89d7 navigation.log
908c11a200bdd366355a558cc6edc74421a2c9a893c9dee84f57f3fdf060032e regression.log.gz
3a6b6ba35f8bdb024c4290b56ec1193585efbffd34dca196f465c09d79b51f72 results.json
@@ -0,0 +1,170 @@
{
"mapped_chapters": [
{
"source": "docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md",
"destination": "docs/specs/compiler-languages/pbs/14. Typed Arrays and Optional Execution Specification.md",
"body_preserved": true,
"original_sha256": "fe0e0d0eccfacd5b3f5ca220ec8c7a7c82f7bc527c5317d4b0651443b021f73e",
"destination_sha256": "6140d19a9aac04f0a0ef90321b19fa36779b264626061d3e841cd23be1efdf07"
},
{
"source": "docs/compiler/pbs/specs/first-class-functions-and-captures.md",
"destination": "docs/specs/compiler-languages/pbs/15. First-Class Functions and Captures Specification.md",
"body_preserved": true,
"original_sha256": "6523139b7232938993254b6ed91c46769e8bdee67d9b9158f9476c73d0d2216d",
"destination_sha256": "510c13899a498137df539ae0df8bbb5b969cc955591a074a734d76e26e45d8a4"
},
{
"source": "docs/compiler/pbs/specs/generic-contracts.md",
"destination": "docs/specs/compiler-languages/pbs/16. Generic Contracts Specification.md",
"body_preserved": true,
"original_sha256": "e61f3a1a2d3ebe17f680dddee805de56f8e57356a98ea3821885da1ba70d1d98",
"destination_sha256": "d1b20ca41bda3a47782d24c9793eaba1a2ef24fa378fe899c25d34ffe060c84e"
},
{
"source": "docs/compiler/pbs/specs/generic-structs-and-free-functions.md",
"destination": "docs/specs/compiler-languages/pbs/17. Generic Structs and Free Functions Specification.md",
"body_preserved": true,
"original_sha256": "8d5804910106bfa3f654edcefd2a7d196d70fdf19fd67b86bc80d8d766ffe25b",
"destination_sha256": "c56a68e6e76aa32d4d4c631f89f286604315197bdfc50981c5547c005fae1556"
},
{
"source": "docs/compiler/pbs/specs/input-and-existing-type-runtime-alignment.md",
"destination": "docs/specs/compiler-languages/pbs/18. Input and Existing Type Runtime Alignment Specification.md",
"body_preserved": true,
"original_sha256": "3ad61545fd377377b769e356c419b10d58aa12c8eb80eba993145d5990d06449",
"destination_sha256": "30bd2f9bd20a2d65cc0f23396d2b893088252f08c673ab26baff252614c20ad5"
},
{
"source": "docs/compiler/pbs/specs/service-constants-and-runtime-math.md",
"destination": "docs/specs/compiler-languages/pbs/19. Service Constants and Runtime Math Specification.md",
"body_preserved": true,
"original_sha256": "ad18ab0bc5605f4600554eae8c0fa676b3c3c5de285e92290b6c708ed4b3170d",
"destination_sha256": "98d51fc380ee8e43837b655ccf9af6bbec892bc9a5e5f7ddcf701642b1a7c006"
},
{
"source": "docs/compiler/pbs/specs/runtime-random-integration.md",
"destination": "docs/specs/compiler-languages/pbs/20. Runtime Random Integration Specification.md",
"body_preserved": true,
"original_sha256": "da5258e630d286690a50a1a1a687e670429f0e15f710245b3134bb16043b56c8",
"destination_sha256": "a148e7b7c397eab1853b8c63fc90526e869e9c26f13c179d1cf88db7c3db1559"
},
{
"source": "docs/compiler/pbs/specs/sdk-list-and-cursor.md",
"destination": "docs/specs/compiler-languages/pbs/21. SDK List and Cursor Specification.md",
"body_preserved": true,
"original_sha256": "7f46e87702529c8ea94660a644580c0c884bb27a965a2612d32a92bc31ff9b52",
"destination_sha256": "037ee143e9748a34a3de569ea935449450f225d96759bc983839a49e5a7d892c"
},
{
"source": "docs/compiler/pbs/specs/sdk-linked-and-cursor.md",
"destination": "docs/specs/compiler-languages/pbs/22. SDK Linked and Cursor Specification.md",
"body_preserved": true,
"original_sha256": "bd399f1923353390c6bd7e8613c53a1656e99fbb37e750abd840ceee77dd4c68",
"destination_sha256": "d7c0ad5756920033e4f9d12c7980f5d1262431feea8b59857381a2cff0717f03"
},
{
"source": "docs/compiler/pbs/specs/sdk-set-and-identity.md",
"destination": "docs/specs/compiler-languages/pbs/23. SDK Set and Identity Specification.md",
"body_preserved": true,
"original_sha256": "4af3aa15ce6da20ae83c39ab4fcca38beba6f634ee5e55bf5f6edb0b5018ad50",
"destination_sha256": "ec94a33bd55600fb12deb2d02abe2a985ea3b5f559ddc222c52f89336c6d5bb7"
},
{
"source": "docs/compiler/pbs/specs/sdk-map-and-keyval.md",
"destination": "docs/specs/compiler-languages/pbs/24. SDK Map and Keyval Specification.md",
"body_preserved": true,
"original_sha256": "12135be9ff129493eb332f4bb9c05e36d7667e001f52669d03d90221d1232d9a",
"destination_sha256": "3c1912adacca020f17747430275619a0cc9972a02835a7aac66ca053403978cc"
},
{
"source": "docs/compiler/pbs/specs/sdk-stack-and-queue.md",
"destination": "docs/specs/compiler-languages/pbs/25. SDK Stack and Queue Specification.md",
"body_preserved": true,
"original_sha256": "a47f6fc58068a333119e73201a1a04b5ba96c916ccf6c22a4a13161ee92e7629",
"destination_sha256": "90e6bf7bae68872a5294c7d5bede4ecd4f7cfc26513c26d6cffe82f046ab56fb"
},
{
"source": "docs/compiler/general/specs/runtime-catalog-support.md",
"destination": "docs/specs/compiler/24. Runtime Catalog Support Specification.md",
"body_preserved": true,
"original_sha256": "b86f24c8ce609b0994b9fcfabfff0ec2a78a0fafaf242b931db10ba2325d30fb",
"destination_sha256": "cae949ceafa346348fb71a31bdb001ec967014df028f93907a104e872510aa62"
},
{
"source": "docs/compiler/general/specs/typed-registry-and-pbx-v0.md",
"destination": "docs/specs/compiler/25. Typed Registry and PBX v0 Specification.md",
"body_preserved": true,
"original_sha256": "a42de4571212c8dff1eef91d23c0dba601775f6e0d7955ee4b9b17f6befff274",
"destination_sha256": "95ccf43d7622fd6a1a63f8e9bc98222d0df044c188dba3e2a86915bc752d25b0"
}
],
"immutable_files_verified": 65,
"immutable_sha256": {
"discussion/lessons/DSC-0082-pbs-runtime-random-integration/evidence.json": "e2ec8184e0f62a57a7d1647bb471f8a14349408abdea3dfac17207d2203d5a2f",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/SHA256SUMS": "ae8bd14891e5f9d6ad62c0b5535bd3217bf1dc90dbdc4174646f7a55772995b6",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/TEST-p.studio.compiler.backend.irvm.PbsGuestLifecycleTest.xml.gz": "e520456a82c905db92598e4a314b1614d409358674e73d0dcd61416b146d3c6d",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/fixtures.sha256": "638814b1afabc2e156de2eb6f018400aab7fea2c9b69c7f956ab16251dd5ed60",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/frontend.log.gz": "ceb059e502313f0327e0560a4532c57f4a341776d054fee1558c54e6de82c4b1",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/regression-and-installed.log.gz": "44619de3dcc5ca667a2dbe951146eba0cf21a919f8d0a1610dc5fec8ade1f33d",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/runtime-dev.log.gz": "cd7051255fed7a2760fbec8be05b9e8a98b224f704828a26e28ee71097810bbf",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/runtime-release.log.gz": "3bd1c9aceb4a05bfcd5ddaa4a1d8e2ed96270e3666b7f4ce46a91f7e7bf902ee",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/sources.sha256": "bd704a8fe37c15f2b404c3924e49b06f5a8b3a1e389be9252cd3dae953b67f7a",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/summary.json": "867e02d58fcd451a68a54c59ae63e0d57d2c08fc79861d5d0d8b20ee832b5d81",
"discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/workflow.txt": "d7e7bdfdb38395e54163d7b9d24d7a6f1ce5fb5d017feac63c6e0fc463c7afaf",
"discussion/lessons/DSC-0090-pbs-sdk-list/runtime-conformance-evidence.json": "9790633203a0694c0cc3b30081116d9245db4a53491bd75b168d0ca02d6aeb52",
"discussion/lessons/DSC-0091-pbs-sdk-linked/runtime-conformance-evidence.json": "bd3b7f24c1d2720afea49917f64dad7f1f0a001bdb9e9812bb4aaad16f8cdf1c",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/SHA256SUMS": "34db4219c9173ebb433baab58f32d600b6d325f9bd884e47a48f83b22e9fa405",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/conformance-debug.log.gz": "fb48082c878378f7fa01009361380b38be074a0b711edc605c531c9fb575ff5a",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/conformance-release.log.gz": "4e5b52584c70bca57c3b715558102b663daf51cf84bebf549600bdf11c88cab4",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/distribution-tests.log.gz": "774b5aa6f29a3e4d986bab805427b7d0a0c53445749e03a93db4320cee376302",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/environment.txt": "1510a88944e6a632e4373d35e3e5855a06a1273f7f0be3b590d811faa209d830",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/fixtures.sha256.gz": "5b136af3ee037ba0879c02cc57c135350ed446853dedfd41a7455a532e4852e6",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/gradle-results.json": "b7a05d6c252b869cd2a909edd40ef16a094279d6aee4379daa67b607753cfe2b",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/hashing-conformance.log.gz": "3e4e33aa6338142b79a4740945c50b149c572980ad108219d930e3909dd73f8a",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/hashing-tests.log.gz": "6c4a1723e53ad40a2315a509a43a6a0058db145cc006ee4bc7a346cd12333fee",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/provider-catalog.log.gz": "79b81e38a9ecf948c7381796c77aa30929dbcfcd2f4eb0a5ead71032fbb5bf04",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/provider-hash-remaining.log.gz": "2f53ddd02d054c4c801aeaf20981f83eb28961b9b973fd025c10aed6673dd254",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/provider-identity-debug.log.gz": "0d2a846ee52a7a40662c1720055ffdf36179cdbaf846696e07d7ab0149d4367d",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/provider-identity-private-debug.log.gz": "0255d42eb28c98566741fa17987480969ab89b35a113c568481240713f69aa1e",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/regression.log.gz": "f6ca7e0c4865b83031d8f21e166248209089a91466103d193cb14ffd8e533df7",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/set-conformance.log.gz": "9f9bf7af13da11147a1388ea86a41f8e59202b4d08333dca24d4385d5329dc21",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/set-tests.log.gz": "60b879014ec61aad58eb6aba651e28fb017077c3c17a6f06b2851f99be50ca72",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/source.sha256": "2d0b3b19a447fa29a4ae127842db26d4adacb400af77837c09edd8ea0c9874c3",
"discussion/lessons/DSC-0092-pbs-sdk-set/evidence/workflow.txt": "0e245cc1d83d697f9ffb3fb0a8dd18800cdc0892c23def0d4e14737c3cb42cbc",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/SHA256SUMS": "3b675bbd28c69f6cfc08611a045a5adcee47b546080c50c7aa18468d478c5633",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/conformance-debug.log.gz": "08b3115f4dc03a2a637b4133fd4a7ec6a27395183b8de1d778953e71c2e7df9f",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/conformance-release.log.gz": "5efbde06fc26364560cf5e4e717d8023769ce322edb624b01d80e957dfe1a701",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/environment.json": "325cb8c0638609340e398352e1c7a006b232ad24c7f860958f84017193266576",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/fixtures.sha256.gz": "8e8453dbd3b4e336d6fcf5d49337cb03ef2a3365d8e905f4db52d7ce6a8d1000",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/gradle-results.json": "effff1a1552e7210bdb0486e44996d668dfb1d1e1cd1c0f076fe7a47a837f0f6",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/map-results.json": "be95e4f4aa5c8d2718c8cc356b3eaa68cce050632f0ea6d1ed5051f482013b4e",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/regression.log.gz": "5af47b805bcf2c794d95bfaf517fe592e6b24116ba87d1c46a490fbbc18fbce1",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/source.sha256": "8569d628c2e0305e403197ef8b7c92cb9156bae817529a01f828c7ef340ce3ea",
"discussion/lessons/DSC-0093-pbs-sdk-map-keyval/evidence/workflow.txt": "e93ad3067041f75297210adbf1f6cfd6a30a090c44d74afaf0059b6a1bee1faf",
"discussion/lessons/DSC-0094-pbs-generic-structs/evidence.json": "fb82fab4caf77094fba012085df288c0218881a3c0a68e7cfb6b554968bab383",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/conformance-debug.log.gz": "df08969fd266c7b8844146a42bcfc63d078792d0fa69441c5660a553a73e0255",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/conformance-release.log.gz": "346711a7d78590e803d478520423584d60501fc70ea4856a1ed4b565ba25c7d1",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/generated-pbx-manifest.json": "f2679f21014e51812a5a79e8de26297828a7ba8685142811bff786f5fd5f5453",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/gradle-packaged-final.log.gz": "dc391a4532e28387573f4b65b02395b38ed164fd851d0b4423a4408396a46bd0",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/gradle-regression.log.gz": "85eb690857eea9e1961cf1011fff23c2f9e66185868a38681624c66a7cea3e92",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/provider-catalog.log.gz": "bab6e8190952884c3a24cf2f0cdf46890f294b150ff6accfb60f58a82aabacc3",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/provider-copy-tests.log.gz": "a0b8f2692556846cd7b418ae91993ddd3d0c6fef1f6fb2aa4551b962996b4d3e",
"discussion/lessons/DSC-0096-runtime-storage-isa-consumer-migration/runtime-conformance-evidence.json": "b4f69e1a2d22734053126a579de52c42bff22a2bf58f1dcdb3820a6e085ac156",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/SHA256SUMS": "d6f11fbec59c8b7894d7d7ca57ba89c6982c6543cd3d42ef79956512a77c43f2",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/conformance-debug.log.gz": "4e16e23cfc9d75228649d632f590183523fb6a854ac0f2d940eaffe021b6a70d",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/conformance-release.log.gz": "c74d26c969512b48895178a7bdbc542c15c736b5f2a41b7b864bafb58dadc837",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/environment.json": "c6d5b81a62d8e9a274615f2ca0aaf0b0f4a7159e57be8911f8f9926a507a5811",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/fixtures.sha256.gz": "31a231667d6dab2d50eac1814d12b9fe24deea737fd0933146a78ae3458138df",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/gradle-results.json": "0bc694f54f81807ed1d856d10e370eb652ca833ba9fc1f8a229feb8bdaee4f8c",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/regression.log.gz": "23844d7c633f5d92e3b0a0998582272383eeb1a293571553809b274303806d01",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/source.sha256": "7f405c7a5cd9d47c6b46fe903e019fe4dfe8e189f9596b8133e9510ceb14a784",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/stack-queue-results.json": "64272efe4bf46ab787455c5a82a20e5857f8ca72e39a2bdcfcde191221b0e63f",
"discussion/lessons/DSC-0097-pbs-sdk-stack-queue/evidence/workflow.txt": "2a42448fbc6324cc52b1840e6f337d92843a6d9209854307096916dbf8d3d6bb",
"docs/vm-arch/ARCHITECTURE.md": "d7e3487bb2d9718bba810cf4cfaec175dcbf9b079f7df12a4fad537bd1606146",
"docs/vm-arch/BUILTIN_CONSTANTS.csv": "e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039",
"docs/vm-arch/INTRINSICS.csv": "7c1c363f5f0f941b3ab27cfc72af41e13e44cd4371c687db8300721288f47e63",
"docs/vm-arch/ISA_CORE.md": "6b3207f81d3bd782e4f9b445b19c80b64bc599d8aebc5f01d8627a477bd09c8b",
"docs/vm-arch/runtime-catalog.properties": "ee236a887514d31f8996c5186796fee353ad89d112614ebbf23c9ed17a84deed"
}
}
@@ -0,0 +1,717 @@
{
"schemaVersion": 1,
"owner": "pbs",
"references": [
{
"id": "pbs:spec:1",
"title": "PBS Language Charter",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/1. Language Charter.md",
"sha256": "eac12dcc1a8d8b2a20a98cdf95d380501826c16dad476bd7360432770acfd8bc",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:10",
"title": "PBS Memory and Lifetime Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/10. Memory and Lifetime Specification.md",
"sha256": "1d8d4797fddb565d57f0dca0dc35d88a80b81366eae57173b5dc4c83d2ebf080",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:11",
"title": "PBS AST Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/11. AST Specification.md",
"sha256": "f9b731243f69ae1434eb4e0400c341367ddb23eea84e8df9adbb2f58d037bdef",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:12",
"title": "PBS Diagnostics Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/12. Diagnostics Specification.md",
"sha256": "255fbb5767b0e57bcb0147aa6059018a2f37992251b21d1cc2afef509fadcd01",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:13",
"title": "PBS Lowering IRBackend Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/13. Lowering IRBackend Specification.md",
"sha256": "ee21aa9ba4916478ced6d4d291aed6e39ca79a14c7526a42676a0251864befa6",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:14",
"title": "Typed arrays and optional execution",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/14. Typed Arrays and Optional Execution Specification.md",
"sha256": "6140d19a9aac04f0a0ef90321b19fa36779b264626061d3e841cd23be1efdf07",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:typed-arrays-and-optional-execution.md",
"title": "Typed arrays and optional execution",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/14. Typed Arrays and Optional Execution Specification.md",
"sha256": "6140d19a9aac04f0a0ef90321b19fa36779b264626061d3e841cd23be1efdf07",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:15",
"title": "First-class functions and explicit value captures",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/15. First-Class Functions and Captures Specification.md",
"sha256": "510c13899a498137df539ae0df8bbb5b969cc955591a074a734d76e26e45d8a4",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:first-class-functions-and-captures.md",
"title": "First-class functions and explicit value captures",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/15. First-Class Functions and Captures Specification.md",
"sha256": "510c13899a498137df539ae0df8bbb5b969cc955591a074a734d76e26e45d8a4",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:16",
"title": "PBS Generic Contracts",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/16. Generic Contracts Specification.md",
"sha256": "d1b20ca41bda3a47782d24c9793eaba1a2ef24fa378fe899c25d34ffe060c84e",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:generic-contracts.md",
"title": "PBS Generic Contracts",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/16. Generic Contracts Specification.md",
"sha256": "d1b20ca41bda3a47782d24c9793eaba1a2ef24fa378fe899c25d34ffe060c84e",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:17",
"title": "Concrete Generic Structs and Free Functions",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/17. Generic Structs and Free Functions Specification.md",
"sha256": "c56a68e6e76aa32d4d4c631f89f286604315197bdfc50981c5547c005fae1556",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:generic-structs-and-free-functions.md",
"title": "Concrete Generic Structs and Free Functions",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/17. Generic Structs and Free Functions Specification.md",
"sha256": "c56a68e6e76aa32d4d4c631f89f286604315197bdfc50981c5547c005fae1556",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:18",
"title": "PBS input and existing value runtime alignment",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/18. Input and Existing Type Runtime Alignment Specification.md",
"sha256": "30bd2f9bd20a2d65cc0f23396d2b893088252f08c673ab26baff252614c20ad5",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:input-and-existing-type-runtime-alignment.md",
"title": "PBS input and existing value runtime alignment",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/18. Input and Existing Type Runtime Alignment Specification.md",
"sha256": "30bd2f9bd20a2d65cc0f23396d2b893088252f08c673ab26baff252614c20ad5",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:19",
"title": "Service constants and runtime math",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/19. Service Constants and Runtime Math Specification.md",
"sha256": "98d51fc380ee8e43837b655ccf9af6bbec892bc9a5e5f7ddcf701642b1a7c006",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:service-constants-and-runtime-math.md",
"title": "Service constants and runtime math",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/19. Service Constants and Runtime Math Specification.md",
"sha256": "98d51fc380ee8e43837b655ccf9af6bbec892bc9a5e5f7ddcf701642b1a7c006",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:2",
"title": "PBS Governance and Versioning",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/2. Governance and Versioning.md",
"sha256": "8fd78f7f4962cfe5d0243199ea71e0c563a8e3999437e1adcdfeb0df256aed75",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:20",
"title": "PBS Runtime Random Integration",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/20. Runtime Random Integration Specification.md",
"sha256": "a148e7b7c397eab1853b8c63fc90526e869e9c26f13c179d1cf88db7c3db1559",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:runtime-random-integration.md",
"title": "PBS Runtime Random Integration",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/20. Runtime Random Integration Specification.md",
"sha256": "a148e7b7c397eab1853b8c63fc90526e869e9c26f13c179d1cf88db7c3db1559",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:21",
"title": "SDK List and snapshot Cursor",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/21. SDK List and Cursor Specification.md",
"sha256": "037ee143e9748a34a3de569ea935449450f225d96759bc983839a49e5a7d892c",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:sdk-list-and-cursor.md",
"title": "SDK List and snapshot Cursor",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/21. SDK List and Cursor Specification.md",
"sha256": "037ee143e9748a34a3de569ea935449450f225d96759bc983839a49e5a7d892c",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:22",
"title": "SDK Linked and bidirectional snapshot capture",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/22. SDK Linked and Cursor Specification.md",
"sha256": "d7c0ad5756920033e4f9d12c7980f5d1262431feea8b59857381a2cff0717f03",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:sdk-linked-and-cursor.md",
"title": "SDK Linked and bidirectional snapshot capture",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/22. SDK Linked and Cursor Specification.md",
"sha256": "d7c0ad5756920033e4f9d12c7980f5d1262431feea8b59857381a2cff0717f03",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:23",
"title": "SDK Set, Identity and hashing",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/23. SDK Set and Identity Specification.md",
"sha256": "ec94a33bd55600fb12deb2d02abe2a985ea3b5f559ddc222c52f89336c6d5bb7",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:sdk-set-and-identity.md",
"title": "SDK Set, Identity and hashing",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/23. SDK Set and Identity Specification.md",
"sha256": "ec94a33bd55600fb12deb2d02abe2a985ea3b5f559ddc222c52f89336c6d5bb7",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:24",
"title": "SDK Map and read-only Keyval associations",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/24. SDK Map and Keyval Specification.md",
"sha256": "3c1912adacca020f17747430275619a0cc9972a02835a7aac66ca053403978cc",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:sdk-map-and-keyval.md",
"title": "SDK Map and read-only Keyval associations",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/24. SDK Map and Keyval Specification.md",
"sha256": "3c1912adacca020f17747430275619a0cc9972a02835a7aac66ca053403978cc",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:25",
"title": "SDK Stack and Queue",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/25. SDK Stack and Queue Specification.md",
"sha256": "90e6bf7bae68872a5294c7d5bede4ecd4f7cfc26513c26d6cffe82f046ab56fb",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:sdk-stack-and-queue.md",
"title": "SDK Stack and Queue",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/25. SDK Stack and Queue Specification.md",
"sha256": "90e6bf7bae68872a5294c7d5bede4ecd4f7cfc26513c26d6cffe82f046ab56fb",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:3",
"title": "PBS Core Syntax Specification",
"kind": "SYNTAX",
"resource": "pbs-knowledge/specs/3. Core Syntax Specification.md",
"sha256": "b0feed2b4ad90049b9dbb703c058926b15e6c47c263fd29efc7d9187d6ad4eb7",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:4",
"title": "PBS Static Semantics Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/4. Static Semantics Specification.md",
"sha256": "4da635db643a9d00aed30d51296b539e8d78a2b55459494898abbdb7e5ac0ab3",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:5",
"title": "PBS Manifest, Module, Stdlib, and SDK Resolution Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/5. Manifest, Stdlib, and SDK Resolution Specification.md",
"sha256": "c137f9be1eb382c3bbf48e49dc0e4ac4f4092bc8b7f88dfcbdabe6ac5f582f24",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:6",
"title": "VM-owned vs Host-backed",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/6. VM-owned vs Host-backed.md",
"sha256": "443fff2759475c602e225f71cadb84192550efce692ceb66a7c383de425995a1",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:6.1",
"title": "Intrinsics and Builtin Types Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/6.1. Intrinsics and Builtin Types Specification.md",
"sha256": "fc935bf25cf50c7dc9444580805d8be033d78a53aa1519efcddea2ea6f1c88dc",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:6.2",
"title": "Host ABI Binding and Loader Resolution Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/6.2. Host ABI Binding and Loader Resolution Specification.md",
"sha256": "939e77cab3e9620e2b88e0250d8d0a1963997b85deac62b5ed291c9e9f20bf05",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:7",
"title": "Cartridge Manifest and Runtime Capabilities Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/7. Cartridge Manifest and Runtime Capabilities Specification.md",
"sha256": "7a933b5cfe2a6519a4edc9054d49631c74c11597392a942047b4d480bdb0c789",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:8",
"title": "PBS Stdlib Environment Packaging and Loading Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/8. Stdlib Environment Packaging and Loading Specification.md",
"sha256": "145f629db68e4800044a2333e31941f2e65b58904eddbd1b301b923cf756a562",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:spec:9",
"title": "PBS Dynamic Semantics Specification",
"kind": "SEMANTICS",
"resource": "pbs-knowledge/specs/9. Dynamic Semantics Specification.md",
"sha256": "2e987459d1860f9e851005664e3127c98ab46a878098c58755a5a6513a0178ac",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:quickstart",
"title": "PBS Specs",
"kind": "QUICKSTART",
"resource": "pbs-knowledge/specs/README.md",
"sha256": "0c97ce725d2b0264f57052874c955701279833c42adbfefac892288360556d9e",
"sdkVersion": null,
"target": null
},
{
"id": "pbs:sdk:game:1:core/color/main.pbs",
"title": "PBS SDK 1 @core:color / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/core/color/main.pbs",
"sha256": "9f53b51de963c3524dc94f4c29d28ec2df8323f68325bef3baee59d86e639f57",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:core/color/mod.barrel",
"title": "PBS SDK 1 @core:color / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/core/color/mod.barrel",
"sha256": "d27ddb4c8dd7bc88d5623483246e05110d966af695338b24846a87a171ab5ca9",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/asset/main.pbs",
"title": "PBS SDK 1 @sdk:asset / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/asset/main.pbs",
"sha256": "f2c6a717e6d93ad8185ed097a9860cd02067673d7a7a264659680098ab296db5",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/asset/mod.barrel",
"title": "PBS SDK 1 @sdk:asset / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/asset/mod.barrel",
"sha256": "d508aa056a444fa4a03343d2284f955e70afa33899ec87fe45982125181abf21",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/collections/main.pbs",
"title": "PBS SDK 1 @sdk:collections / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/collections/main.pbs",
"sha256": "ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/collections/mod.barrel",
"title": "PBS SDK 1 @sdk:collections / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/collections/mod.barrel",
"sha256": "6567377cbb58c2e2332556fa759667e63923b7e1cfb44fe65e440c6db309d15c",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/composer/main.pbs",
"title": "PBS SDK 1 @sdk:composer / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/composer/main.pbs",
"sha256": "588e767def8524d3769cefd1601cd3d43406ead1d38c2f77a7cfa774c1823ff4",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/composer/mod.barrel",
"title": "PBS SDK 1 @sdk:composer / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/composer/mod.barrel",
"sha256": "643deb907dd8cf3ecbfdd061c9cffa10e9b03c8ff3a0b6768925fc347f954e64",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/gfx/main.pbs",
"title": "PBS SDK 1 @sdk:gfx / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/gfx/main.pbs",
"sha256": "1ad24c64723a4a488847f3c8e08bf7161be6b961d53e5db7243e54a0210b3296",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/gfx/mod.barrel",
"title": "PBS SDK 1 @sdk:gfx / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/gfx/mod.barrel",
"sha256": "88f95f637d4982cca334582329437bc8ddf33135f6e7d64fbaf744ca806964c6",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/hash/main.pbs",
"title": "PBS SDK 1 @sdk:hash / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/hash/main.pbs",
"sha256": "5fefadf0c171849db43a84a8e96ee9b65f9085630c54fc2605b478b052202f3e",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/hash/mod.barrel",
"title": "PBS SDK 1 @sdk:hash / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/hash/mod.barrel",
"sha256": "96c5efc77fa829cd1ada41551455d5ab702af7d93003bff166a917cfe94d5c91",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/input/main.pbs",
"title": "PBS SDK 1 @sdk:input / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/input/main.pbs",
"sha256": "d11c86bd0d8eac9b1a154495e88ad47bd5d3bc66697203699a05844a26a6e7a3",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/input/mod.barrel",
"title": "PBS SDK 1 @sdk:input / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/input/mod.barrel",
"sha256": "72b6ad3d2ab5595779e76a4e9382befae7cab6f00f55d189691821b3bae36c04",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/log/main.pbs",
"title": "PBS SDK 1 @sdk:log / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/log/main.pbs",
"sha256": "0dc20fc6dbe6cfd50b5817846e6c655480d2db2ac127a262ef1fb77e1ea10816",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/log/mod.barrel",
"title": "PBS SDK 1 @sdk:log / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/log/mod.barrel",
"sha256": "977bbb548f9e465baf2b61e38af278238ab9e52ff5fd19dbe214aaf5405294c0",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/math/main.pbs",
"title": "PBS SDK 1 @sdk:math / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/math/main.pbs",
"sha256": "c51fc028504c17a9e14518dc026277d42658a9567dd88d50a0a140f8321381d0",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/math/mod.barrel",
"title": "PBS SDK 1 @sdk:math / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/math/mod.barrel",
"sha256": "b522c3a04b1f53a600196b903f0b7a346bc5aaf762a121c9fb1bb2736239fd6c",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/mathf/main.pbs",
"title": "PBS SDK 1 @sdk:mathf / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/mathf/main.pbs",
"sha256": "642af3933021103294b8439b1c950382f76a477aa439f09fdbe465a98a15035c",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/mathf/mod.barrel",
"title": "PBS SDK 1 @sdk:mathf / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/mathf/mod.barrel",
"sha256": "0f1f5f3961b3a53b0b19839e6d27f8b008022e1fd78e447669877c632ad2c49a",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/random/main.pbs",
"title": "PBS SDK 1 @sdk:random / main.pbs",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/random/main.pbs",
"sha256": "c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:sdk:game:1:sdk/random/mod.barrel",
"title": "PBS SDK 1 @sdk:random / mod.barrel",
"kind": "SDK",
"resource": "game/stdlib/1/sdk/random/mod.barrel",
"sha256": "7924c022a140b9bc634f3699175c8775f24093d3aa82e650752232971b0380fb",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:LIFECYCLE.md",
"title": "PBS Game / SDK 1 example: LIFECYCLE.md",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/LIFECYCLE.md",
"sha256": "fc078b7f68be79179bddfeeee744e05bf299c32f0ae1352be628a4b4a82a8669",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:prometeu.json",
"title": "PBS Game / SDK 1 example: prometeu.json",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/prometeu.json",
"sha256": "d858da746b04800892c180f45d9f6b51eedc325c801f2b767820b66cacb56669",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/arrays.pbs",
"title": "PBS Game / SDK 1 example: src/arrays.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/arrays.pbs",
"sha256": "db19768350c471d4585121f74042458c8f4050a68c2a3302c2e2fa9a37d21f89",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/closures.pbs",
"title": "PBS Game / SDK 1 example: src/closures.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/closures.pbs",
"sha256": "570cd71c7bb4de98b512c2671d410c057a188f8861f3e5e77dfdb8a26d7d64bd",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/collections.pbs",
"title": "PBS Game / SDK 1 example: src/collections.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/collections.pbs",
"sha256": "1dc2910220e0b7ee7f5e51105986d088eaa8035fb4e793ba457aa4c6449eb836",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/contracts.pbs",
"title": "PBS Game / SDK 1 example: src/contracts.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/contracts.pbs",
"sha256": "7a854cca79f8d8160e2a5cfc1108f562701f11b45d5981b539d2c27189f8a524",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/generics.pbs",
"title": "PBS Game / SDK 1 example: src/generics.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/generics.pbs",
"sha256": "a791cabb967558f53fb745533d040789179cd15a2c8c389e9ad1ecea79cf8ad5",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/hashing.pbs",
"title": "PBS Game / SDK 1 example: src/hashing.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/hashing.pbs",
"sha256": "51a535c87ea1f6cfe63921c16116325e98ff5b792c52d29c554708f6f747fbbe",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/lifecycle.pbs",
"title": "PBS Game / SDK 1 example: src/lifecycle.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/lifecycle.pbs",
"sha256": "eea76258ef59e43be782bba2813e9398952fe97a224e2011f5b8ffbf16bfccae",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/linked.pbs",
"title": "PBS Game / SDK 1 example: src/linked.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/linked.pbs",
"sha256": "061d9f67c7b01bec16d6b60eee68ec023bdd6478cc1bbbeda0c83c914f040550",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/main.pbs",
"title": "PBS Game / SDK 1 example: src/main.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/main.pbs",
"sha256": "08bd09f2f36465ee4e7ae93c7382ce4307dcbe8fbad80a746a7eea858c358822",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/maps.pbs",
"title": "PBS Game / SDK 1 example: src/maps.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/maps.pbs",
"sha256": "25d85ee0698f6e5e0ffae561ebf639a5942b4c990418fcbd5d9a4992c37109ea",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/math.pbs",
"title": "PBS Game / SDK 1 example: src/math.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/math.pbs",
"sha256": "a3fde92e079565ae2b67b755b6eb0d4dfeccbc5f578c61e36d144de825bce83a",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/mod.barrel",
"title": "PBS Game / SDK 1 example: src/mod.barrel",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/mod.barrel",
"sha256": "75c5e944a7ca74896cbe526ad5ec40ab64ed8779e2abc22e5c325232c16bbdd5",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/random.pbs",
"title": "PBS Game / SDK 1 example: src/random.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/random.pbs",
"sha256": "0b18a24ba471d5b533347d47145ae6d995c83e14b701696c8654d383a15b9e1a",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/sets.pbs",
"title": "PBS Game / SDK 1 example: src/sets.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/sets.pbs",
"sha256": "af301f0399bbf960efb011bc9a64bc203198b5dd808cfce4e726d28460f081a5",
"sdkVersion": 1,
"target": "Game"
},
{
"id": "pbs:example:game:1:src/stack-queue.pbs",
"title": "PBS Game / SDK 1 example: src/stack-queue.pbs",
"kind": "EXAMPLE",
"resource": "pbs-knowledge/examples/game/1/src/stack-queue.pbs",
"sha256": "053b62206cb45a5c5736ef43b58c869031bd0524a06b29be1353bba25826abe2",
"sdkVersion": 1,
"target": "Game"
}
]
}
@@ -0,0 +1 @@
Markdown: 180 files; 470 local links; 66 provider links (checked); 0 failures
@@ -199,11 +199,11 @@ they are not silently relabeled as schema conformance or fixed in runtime here.
## Durable references
- [Common Registry/PBX](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.md).
- [Runtime catalog consumer](../../../docs/compiler/general/specs/runtime-catalog-support.md).
- [List/Cursor](../../../docs/compiler/pbs/specs/sdk-list-and-cursor.md),
[Linked](../../../docs/compiler/pbs/specs/sdk-linked-and-cursor.md) and
[Array/optional](../../../docs/compiler/pbs/specs/typed-arrays-and-optional-execution.md).
- [Common Registry/PBX](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
- [Runtime catalog consumer](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md).
- [List/Cursor](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md),
[Linked](../../../docs/specs/compiler-languages/pbs/22.%20SDK%20Linked%20and%20Cursor%20Specification.md) and
[Array/optional](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
- [Conformance commands and coverage](../../../tools/pbx-conformance/README.md).
- [Selected provider pin](../../../docs/vm-arch/runtime-catalog.properties).
- Original decisions/planning: accepted DEC-0077 and completed PLN-0155 in DSC-0096,
@@ -0,0 +1,193 @@
---
id: LSN-0095
ticket: pbs-sdk-stack-queue
title: Private array stacks and circular queues
created: 2026-10-27
tags: [compiler-pbs, collections, stack, queue, snapshot-cursor, failure-phases]
---
# Private array stacks and circular queues
**Worker:** Lesson Worker. **Owner domain:** `compiler/pbs`.
DSC-0097 executed accepted DEC-0080 through PLN-0158, covering R1–R9 completely.
The durable normative reference is [SDK Stack and Queue](../../../docs/specs/compiler-languages/pbs/25.%20SDK%20Stack%20and%20Queue%20Specification.md).
[Qualification evidence](evidence/README.md) retains commands, fingerprints,
counts, raw logs and coverage after disposal of the workflow control artifacts.
## Original problem and delivered result
PBS had typed arrays, generic source structs, mutable collections and a shared
snapshot Cursor, but none automatically defined Stack/Queue's API, growth, resource
policy or removal order. Wrapping List/Linked would inherit different storage and
allocation costs without resolving those product choices.
The delivered `stack<T>` owns a dense private array and consumes LIFO. `queue<T>`
owns a circular private array and consumes FIFO. Both reuse checked arithmetic,
ordinary typed storage/copy and the exact shared Cursor implementation. Queue
dequeue does not shift the remaining values; insertion does not allocate a collection
node. No runtime change, new ISA, public node or universal Element was required.
## Separate physical capacity from occupied positions
Both collections start empty, with capacity 16 by default or the exact explicit
capacity, including zero. Int capacities promote locally without granting implicit
conversion to element arguments. Contextual/diamond construction still requires
an expected concrete generic type. Aliases/reexports retain original SDK authority.
```pbs
fn example() -> int {
let history = new stack<int>(0);
let pending: queue<int> = new queue<>(2);
history.push(20);
history.push(22);
pending.enqueue(20);
pending.enqueue(22);
// Stack first returns 22; Queue first returns 20.
return (history.pop() else 0) + (pending.dequeue() else 0);
}
```
Explicit capacity is not a maximum size. Growth reuses the checked formula
`min(u32max, max(required, capacity + max(1, ceil(capacity/2))))`, validating the
required size before clamping. From zero the capacities are 1,2,3,5,8,... .
Physical limits and ordinary quotas remain distinct; negative/above-u32 requests
terminate through the trusted SDK check, while actual storage instructions retain
their own failures. Pop/dequeue/clear retain capacity and never expose an indexer.
Stack occupies `[0,size)`. Queue's logical position i is start+i, wrapped into its
backing. Empty Queue normalizes start to zero. Zero-capacity operations do not
perform circular access; the first insertion grows before selecting a destination.
At maximum u32 capacity, start+offset still fits long without narrowing.
## Wrapped growth copies two complete regions
A capacity-four Queue can have physical slots `[4,5,2,3]`, start=2 and logical
contents `[2,3,4,5]`. Enqueueing 6 prepares capacity six with `[2,3,4,5,6,empty]`:
copy the occupied suffix, then the wrapped prefix, then insert privately. Only
afterward install backing, start=0 and size=5 in sequence. Old/candidate arrays
coexist under ordinary quotas; preparation never edits the old array.
Stack similarly prepares its copied dense prefix and new top before installing
the backing. In-capacity push/enqueue write only their inactive destination and
then count. There is no whole-backing reconstruction on ordinary operations.
Complete tuple/native/contract/function/reference groups retain their ownership
and identity; packing costs are still ordinary runtime costs.
## Dense storage still needs an optional result
Pop/dequeue/peek return optional T: none means empty, while zero/false are present.
Type/resource failures never become absence. T directly optional is rejected,
including grouping, consistently with Array/List/Linked. Struct payloads containing
optional fields remain valid, as does an optional collection itself. This avoids
an extra private cell per item merely to circumvent Array's type restriction.
Object insertion preserves shared instance identity and occurrences; snapshots
do not freeze objects. The same object inserted twice remains two positions, and
later object field mutation is visible through aliases. Capacity growth replaces
private storage without replacing the public collection identity.
## Prepare returns before clearing, then document actual writes
Pop prepares its optional return, clears the old top and updates size. Dequeue
prepares return and next start/count, clears the front, assigns start (zero if
empty), then size. Clear visits occupied slots in Stack index/Queue FIFO order
before resetting metadata. Inactive storage must be empty after every success.
An empty removal and all reads/capture perform no collection writes.
This preparation is not a transaction. Before the first write, refusal preserves
the prior collection. After it, earlier stores may remain and invariants can be
incomplete; there is no rollback, safe reuse or recovery promise. Budget/debugger
pauses remain resumable instruction boundaries. Optional carriers, including typed
absence, can allocate and must be prepared before destructive writes.
The actual corpus observes 18 Stack and 12 Queue natural refusals after writes
in each profile, all in clear, by comparing complete original-object states at
each instruction with the successful execution prefix. It therefore does not
mistake partial clear for whole-method rollback. Separate test-only growth probes
demonstrate capacity=3 with appended 42 and old size=2 after a later allocation
fault. Those probes do not ship or describe natural refusal frequency.
## Share traversal protocol, choose each collection's order
Stack captures top → base; Queue captures front → back. For inserted 20,22 the
snapshots are 22,20 and 20,22. Both finish capture before returning and use one
immutable private singly linked non-circular node per occurrence, with no snapshot
array or association to editable source slots. Later growth/removal/clear does
not alter the captured sequence. Capture costs O(n) work and additional nodes.
The existing Cursor state table is unchanged:
| State | current() | hasNext() | next() |
| --- | --- | --- | --- |
| Born empty | none | false | No change |
| Current has successor | some(current value) | true | Follow successor |
| Last, including singleton | some(final value) | false | No change |
Consume current before checking whether to advance. A hasNext-only loop skips
the final item; waiting for current to become absent does not finish a nonempty
snapshot. Prefix nodes can become unreachable, but final current remains retained.
Real provider collections observe 1,200 → 1 → 1 → 0 snapshot nodes/payloads,
with no retained source backing. Removal/clear/reuse fixtures observe
64 → 61 → 0 → 1 → 0 payloads and one live backing until final owner release.
These tests assert advancing GC collection counters, not merely safepoint entry.
Clear retains capacity but not discarded values, and replaced growth arrays
disappear after actual collection. No immediate reclamation is promised.
## Compiler integration stays smaller than the source algorithms
Trusted `SdkStack`/`SdkQueue` metadata selects constructor naming, optional-element
diagnostics and localized capacity conversion. Capacity-constructor handling is
separate from positional indexer eligibility: adding a capacity constructor must
not grant brackets or int-to-long payload conversion. Project homonyms remain
ordinary generic structs, and project code cannot forge the reserved attributes.
The editor exposes the concrete eight-method API, both constructor overloads and
original SDK definition locations, hiding storage/start/length. The English spec
and [executable example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/stack-queue.pbs)
ship in installed knowledge. An isolated JVM compiles that actual installed-JAR
example outside the checkout; production VM execution independently observes both
completed snapshots retaining final values 20 and 22. An alias/reexport workspace
fixture proves the same source/SDK authority through module boundaries.
## Qualification and maintenance limits
| Gate | Result |
| --- | --- |
| Standard JUnit reports | 1,091 cases; zero failures/errors; 13 existing skips |
| Installed knowledge | Two passing isolated-JAR tests |
| Mandatory new PBX files | 106, all required in each runtime profile |
| Behavior/expected-fault executions per profile | 58, including both producers |
| Natural quota refusals per profile | 364 total; 30 after visible writes |
| Separate post-write growth probes per profile | Four |
| GC observations per profile | 36, both collections/producers |
| Import/installed source executions per profile | Two |
| Complete production harness | Passed in debug and release |
The selected runtime remains clean at
`dcf6561ea73446e0a3e1cf1c73eda20923b38df0`; no runtime write or commit occurred.
Qualification is local macOS/arm64, not a benchmark, cross-host qualification or
installed game readiness claim. Existing disabled JUnit cases and upstream
LifecycleRole/NonFiniteValue schema gaps remain explicit in the retained evidence.
Avoid these maintenance mistakes:
- Do not equate capacity with count, or use a capacity-zero remainder/access.
- Do not shift a Queue on every dequeue or wrap these collections over List/Linked.
- Do not skip clearing inactive references because later insertion overwrites them.
- Do not flatten optional absence into zero/false or hide storage faults as none.
- Do not confuse a prepared return/candidate with whole-method atomicity.
- Do not grant an indexer while adding capacity-constructor recognition.
- Do not replace the accepted snapshot table with a conventional live iterator.
- Do not count test probes as natural failures or safepoints as actual collections.
## Durable references
- [Stack/Queue spec](../../../docs/specs/compiler-languages/pbs/25.%20SDK%20Stack%20and%20Queue%20Specification.md) and
[shared Cursor](../../../docs/specs/compiler-languages/pbs/21.%20SDK%20List%20and%20Cursor%20Specification.md).
- [SDK algorithms](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs).
- [Source/PBX corpus](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java).
- [Conformance module](../../../tools/pbx-conformance/stack_queue.rs) and
[reproduction instructions](../../../tools/pbx-conformance/README.md).
- [Sequential mutation lessons](../DSC-0096-runtime-storage-isa-consumer-migration/LSN-0092-sequential-collection-mutations-need-explicit-failure-boundaries.md).
- [Evidence and R1–R9 coverage](evidence/README.md).
@@ -0,0 +1,106 @@
# Stack/Queue implementation and qualification evidence
Owner: `compiler/pbs`. Accepted DEC-0080 / completed PLN-0158 in DSC-0097, R1–R9.
Captured 2026-10-27 over Studio baseline `01a19686`. The provider remained clean at
`dcf6561ea73446e0a3e1cf1c73eda20923b38df0`; no runtime write or commit occurred.
## Reproduction and outcome
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. Temporary Cargo projects/targets stay outside the read-only
runtime checkout. Focused development runs used `--stack-queue-only`; retained
final VM evidence is from the two complete harness runs, including all existing
Registry, storage/copy, language and collection corpora.
Aggregated standard JUnit reports have 1,091 cases, zero failures/errors and 13
existing skips; 1,078 executed. The separate installed-knowledge task adds two
passing cases, compiling actual JAR resources in an isolated outside-checkout JVM.
The final Gradle run completed in 32 seconds with 15 executed and 79 up-to-date
tasks; unchanged suites retained valid passing results. See exact suites/skips in
[gradle-results.json](gradle-results.json). Existing skips remain BackendGateIIntegrationTest
(8), MainProjectPipelineIntegrationTest (4), ExternalSourceDevelopmentHostTest (1).
There are 106 mandatory new PBX files: 58 paired behavior/expected-fault cases,
34 paired operation-resource fixtures, four separate test-only injection files,
eight paired GC files and two import/installed examples. Each runtime profile
requires them all. The complete fixture directory contains 1,495 fingerprinted
PBX files; directory size is not itself a count of executed cases.
Each final profile observes 184 Stack + 180 Queue natural quota refusals, including
18 + 12 after visible writes (all during clear), four separate growth probes,
36 real GC observations and both distribution examples. Both ordinary and optimized
producer paths are mandatory in each profile. Missing fixtures fail qualification.
## Resources, phases and GC
[stack-queue-results.json](stack-queue-results.json) records all 34 operation/producer
peak vectors and refusal summaries per profile, natural counts, separate probes,
GC rounds and distribution results. Peak vector order is GuestBytes, HandleSlots,
AuxiliaryBytes, TemporaryBytes, StringBytes, StringAllocations, IndividualStringBytes,
CallDepth. These are whole-session/fixture peaks including setup and calls, not
standalone collection object sizes. Limits are lowered only where setup-to-operation
peaks increase, retaining the measured no-increase domains in the raw vectors.
Non-owning observations compare complete original collection/backing objects at
each instruction to the successful prefix. Before mutation, prior state survives;
afterward, earlier successful stores remain and no rollback is asserted. Clear
naturally demonstrates partial updates. Result preparation, typed empty returns,
copy/backing construction and snapshot-node refusals remain charged. Growing paths
observe at least two coexisting arrays; ordinary updates/capture retain one backing
and never reconstruct the whole collection.
The separate test-only growth probes fail after installing capacity three with
the new slot=42 and old size=2. The refused probe instruction preserves its own
entry storage/operands, retaining the earlier publication. These probes are only
in fixture-local SDK copies, never in production source, and are not counted as
natural refusal frequency.
Snapshot GC observes 1,200 → 1 → 1 → 0 nodes and Items, with no retained source
array. Collection GC observes 64 → 61 → 0 → 1 → 0 Items, one retained current/empty
backing through the first four rounds and zero afterward. Old growth backings are
not retained. Every observation asserts that the actual collection counter advanced.
Both producers and both runtime profiles pass. Final VM owner drop also releases
GuestBytes/HandleSlots/AuxiliaryBytes/TemporaryBytes/StringBytes/StringAllocations.
## Requirement coverage
| Requirement | Final evidence |
| --- | --- |
| R1 Types, identity, origin, construction | Frontend context/invariance/optional/privacy/homonym gates, SDK workspace gate, basic/capacity/references/snapshot/evaluation and alias imports |
| R2 Complete API and absence | basic/capacity, empty/single/multiple Cursor states, zero/false, evaluation, negative indexer/unsupported API cases |
| R3 Growth and bounds | exact 0→1→2→3→5→8, default/explicit capacities, arithmetic helper checks and negative/above-u32/required-size faults |
| R4 Dense/circular groups | wrap and wrapped-growth source cases, resource validation of every active/inactive slot and start/count/backing, tuple/native/reference execution |
| R5 Failure phases | 34 marked paired fixtures, successful-prefix comparisons, 364 natural refusals including 30 after writes, four separate post-write probes |
| R6 Lifetime and coexistence | array peak counts, no reconstruction on ordinary updates, actual removal/clear/reuse/old-backing GC, complete owner release |
| R7 Shared Cursor | both capture orders, sticky final/empty states, duplicates/shared mutation, mutation independence, both snapshot GC paths |
| R8 Frontend/editor/distribution | concrete public eight-method APIs/constructors/definitions, hidden fields, trusted aliases/reexports, isolated JAR compile and actual PBX execution |
| R9 Complete qualification | full regression, complete production debug/release corpora with both producers, reproducible fingerprints/raw logs and limits |
## Integrity and limits
- `source.sha256`: every changed/new code/spec/test surface, excluding discussion prose/evidence.
- `fixtures.sha256.gz`: all actual generated PBX fingerprints, including installed examples.
- `environment.json`: baseline/provider, host/tool versions, commands, mandatory fixture names,
uncompressed log digests and counts.
- `conformance-debug.log.gz`, `conformance-release.log.gz`, `regression.log.gz`:
lossless raw final outputs, compressed deterministically.
- `workflow.txt`: completion, CLI validation and housekeeping results.
- `SHA256SUMS`: integrity hashes of this evidence directory.
The standard existing skips and upstream headless-schema LifecycleRole/NonFiniteValue
gaps remain explicit. Original provider payloads remain in complete logs; those
cases are not called conformance to the unchanged schema. Qualification is local
macOS/arm64 without benchmark, cross-host or installed-game-readiness claims.
The CLI has no standalone lesson-ID query/creation. LSN-0095 was obtained through
the framework's read-only `DiscussionIndex.next_id` accessor; CLI housekeeping owns
lesson registration, counter advancement, index changes and workflow deletions.
@@ -0,0 +1,10 @@
1db55d241bb0f3088afefccf7596bf7a9014bc0dae54b80d54e15a3a47a91135 README.md
4e16e23cfc9d75228649d632f590183523fb6a854ac0f2d940eaffe021b6a70d conformance-debug.log.gz
c74d26c969512b48895178a7bdbc542c15c736b5f2a41b7b864bafb58dadc837 conformance-release.log.gz
c6d5b81a62d8e9a274615f2ca0aaf0b0f4a7159e57be8911f8f9926a507a5811 environment.json
31a231667d6dab2d50eac1814d12b9fe24deea737fd0933146a78ae3458138df fixtures.sha256.gz
0bc694f54f81807ed1d856d10e370eb652ca833ba9fc1f8a229feb8bdaee4f8c gradle-results.json
23844d7c633f5d92e3b0a0998582272383eeb1a293571553809b274303806d01 regression.log.gz
7f405c7a5cd9d47c6b46fe903e019fe4dfe8e189f9596b8133e9510ceb14a784 source.sha256
64272efe4bf46ab787455c5a82a20e5857f8ca72e39a2bdcfcde191221b0e63f stack-queue-results.json
2a42448fbc6324cc52b1840e6f337d92843a6d9209854307096916dbf8d3d6bb workflow.txt
@@ -0,0 +1,129 @@
{
"captured": "2026-10-27T08:57:39.430825+00:00",
"owner": "compiler/pbs",
"decision": "DEC-0080",
"plan": "PLN-0158",
"studio_baseline_head": "01a196868929fb87a4e3b326481e8818f77c597e",
"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",
"stack_queue_fixture_count": 106,
"all_fixture_count": 1495,
"fixture_names": [
"pbs-queue-arithmetic-optimized.pbx",
"pbs-queue-arithmetic.pbx",
"pbs-queue-basic-optimized.pbx",
"pbs-queue-basic.pbx",
"pbs-queue-capacity-optimized.pbx",
"pbs-queue-capacity.pbx",
"pbs-queue-cursor-empty-optimized.pbx",
"pbs-queue-cursor-empty.pbx",
"pbs-queue-cursor-order-optimized.pbx",
"pbs-queue-cursor-order.pbx",
"pbs-queue-cursor-single-optimized.pbx",
"pbs-queue-cursor-single.pbx",
"pbs-queue-evaluation-optimized.pbx",
"pbs-queue-evaluation.pbx",
"pbs-queue-fault-negative-optimized.pbx",
"pbs-queue-fault-negative.pbx",
"pbs-queue-fault-required-optimized.pbx",
"pbs-queue-fault-required.pbx",
"pbs-queue-fault-too-large-optimized.pbx",
"pbs-queue-fault-too-large.pbx",
"pbs-queue-gc-collection-optimized.pbx",
"pbs-queue-gc-collection.pbx",
"pbs-queue-gc-snapshot-optimized.pbx",
"pbs-queue-gc-snapshot.pbx",
"pbs-queue-groups-optimized.pbx",
"pbs-queue-groups.pbx",
"pbs-queue-injected-growth-optimized.pbx",
"pbs-queue-injected-growth.pbx",
"pbs-queue-native-optimized.pbx",
"pbs-queue-native.pbx",
"pbs-queue-references-optimized.pbx",
"pbs-queue-references.pbx",
"pbs-queue-refusal-clear-optimized.pbx",
"pbs-queue-refusal-clear.pbx",
"pbs-queue-refusal-cursor-optimized.pbx",
"pbs-queue-refusal-cursor.pbx",
"pbs-queue-refusal-empty-optimized.pbx",
"pbs-queue-refusal-empty.pbx",
"pbs-queue-refusal-growth-optimized.pbx",
"pbs-queue-refusal-growth.pbx",
"pbs-queue-refusal-insert-optimized.pbx",
"pbs-queue-refusal-insert.pbx",
"pbs-queue-refusal-peek-optimized.pbx",
"pbs-queue-refusal-peek.pbx",
"pbs-queue-refusal-remove-optimized.pbx",
"pbs-queue-refusal-remove.pbx",
"pbs-queue-refusal-wrapped-optimized.pbx",
"pbs-queue-refusal-wrapped.pbx",
"pbs-queue-refusal-zero-optimized.pbx",
"pbs-queue-refusal-zero.pbx",
"pbs-queue-snapshot-optimized.pbx",
"pbs-queue-snapshot.pbx",
"pbs-queue-wrap-optimized.pbx",
"pbs-queue-wrap.pbx",
"pbs-stack-arithmetic-optimized.pbx",
"pbs-stack-arithmetic.pbx",
"pbs-stack-basic-optimized.pbx",
"pbs-stack-basic.pbx",
"pbs-stack-capacity-optimized.pbx",
"pbs-stack-capacity.pbx",
"pbs-stack-cursor-empty-optimized.pbx",
"pbs-stack-cursor-empty.pbx",
"pbs-stack-cursor-order-optimized.pbx",
"pbs-stack-cursor-order.pbx",
"pbs-stack-cursor-single-optimized.pbx",
"pbs-stack-cursor-single.pbx",
"pbs-stack-evaluation-optimized.pbx",
"pbs-stack-evaluation.pbx",
"pbs-stack-fault-negative-optimized.pbx",
"pbs-stack-fault-negative.pbx",
"pbs-stack-fault-required-optimized.pbx",
"pbs-stack-fault-required.pbx",
"pbs-stack-fault-too-large-optimized.pbx",
"pbs-stack-fault-too-large.pbx",
"pbs-stack-gc-collection-optimized.pbx",
"pbs-stack-gc-collection.pbx",
"pbs-stack-gc-snapshot-optimized.pbx",
"pbs-stack-gc-snapshot.pbx",
"pbs-stack-groups-optimized.pbx",
"pbs-stack-groups.pbx",
"pbs-stack-injected-growth-optimized.pbx",
"pbs-stack-injected-growth.pbx",
"pbs-stack-native-optimized.pbx",
"pbs-stack-native.pbx",
"pbs-stack-queue-imports.pbx",
"pbs-stack-queue-installed.pbx",
"pbs-stack-references-optimized.pbx",
"pbs-stack-references.pbx",
"pbs-stack-refusal-clear-optimized.pbx",
"pbs-stack-refusal-clear.pbx",
"pbs-stack-refusal-cursor-optimized.pbx",
"pbs-stack-refusal-cursor.pbx",
"pbs-stack-refusal-empty-optimized.pbx",
"pbs-stack-refusal-empty.pbx",
"pbs-stack-refusal-growth-optimized.pbx",
"pbs-stack-refusal-growth.pbx",
"pbs-stack-refusal-insert-optimized.pbx",
"pbs-stack-refusal-insert.pbx",
"pbs-stack-refusal-peek-optimized.pbx",
"pbs-stack-refusal-peek.pbx",
"pbs-stack-refusal-remove-optimized.pbx",
"pbs-stack-refusal-remove.pbx",
"pbs-stack-refusal-zero-optimized.pbx",
"pbs-stack-refusal-zero.pbx",
"pbs-stack-snapshot-optimized.pbx",
"pbs-stack-snapshot.pbx"
],
"commands": [
"./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"
],
"regression_log_sha256": "8d7faf3e6164d929353fb6cfbba25d5abdbe5f12cc1e759cb41522b80ec9d1a1"
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,22 @@
7f46e87702529c8ea94660a644580c0c884bb27a965a2612d32a92bc31ff9b52 docs/compiler/pbs/specs/sdk-list-and-cursor.md
a47f6fc58068a333119e73201a1a04b5ba96c916ccf6c22a4a13161ee92e7629 docs/compiler/pbs/specs/sdk-stack-and-queue.md
d9e307588aa286a90a7b8906d50569d432ffa675c99d308e4f281833a8758524 prometeu-app/src/test/java/p/studio/app/compiler/CompilerProjectKnowledgeTest.java
cf4615c65aed22ccbfbb860c070b03dad1910c8dc48adc4fc03dca4d50ba91e7 prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeProbe.java
e206ff3b35b3a0f1fd18946b0522ff7d36c94156121a31a9e3e45a897e4e2c39 prometeu-app/src/test/java/p/studio/app/compiler/InstalledKnowledgeTest.java
85d8f687a903862b4e7d5a5b8711cc9af720ec7f4d282bba77ddfaee93dff0a8 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsListCursorTest.java
680402a55fe6b1d3cd41a44caa5ecdda58dbefc0854d3f3df0c25b522c435373 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStackQueueTest.java
d4bdf6179293b12af929369fd332a5e42143d042db64b2a248621a59a5d93a46 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsGenericInstantiation.java
e4480f091cbd9d8ea92750f31cacc667d0b288ce82b810e0ba0d952abfe8d4f4 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/PbsSdkCollections.java
3cb79ef5f9a97dbfc48ec717de4b9f9f5624e50ce52833595851714908f78ae6 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsExecutableBodyLowerer.java
6d181bf1a77ef50d6e2f89962f04e1a04d56e56d44493a5af97c897a323bb33f prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java
ac41b92f699aba21fc885b00e6ae59d313f24e084d5436655b493257430364db prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/main.pbs
6567377cbb58c2e2332556fa759667e63923b7e1cfb44fe65e440c6db309d15c prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/collections/mod.barrel
a00ed6bfa995119b339443a5fc36f420c6793d1ed2f06b1fa5fca9b3b536362b prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/mod.barrel
053b62206cb45a5c5736ef43b58c869031bd0524a06b29be1353bba25826abe2 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/stack-queue.pbs
a9fdd1f53a9be0db51fdf141513c845aef39ee603c58717a177b098dcec9d986 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/PbsGateUSdkInterfaceConformanceTest.java
4007df0d9e100df34d26fe4bee3e758fe7b5d75130d46d4428d9d0f5ae81cb30 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/PbsStackQueueTest.java
f25b614021eb6918e845d3e4b5076fc0a4dccc9b89a2c281cbb59cd0b4bb0385 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/pbs/semantics/PbsStackQueueEditorialTest.java
d7de3d9d235678b39cdfc8d626558e026d35352aa78f98e78bda8b13507fa8e3 tools/pbx-conformance/README.md
eef34cb97cd82e162e4be6f1c0caccd0058fc44721cd9dca6cf1b9fb6c2afd09 tools/pbx-conformance/main.rs
b9a8b4d1b31d327a1e42ec1d58bb38795a68b77a298f4d77ab34cb75f8658be1 tools/pbx-conformance/run.py
b36c3c8117722328dc136676542fbee675de5a4428aa74af6fc383df48f32326 tools/pbx-conformance/stack_queue.rs
@@ -0,0 +1,32 @@
LSN-0095 allocated via read-only DiscussionIndex.next_id; all state mutations use CLI.
discussion validate
validation passed
exit=0
discussion mark-plan PLN-0158 done --json
{
"discussion_id": "DSC-0097",
"plan_id": "PLN-0158",
"status": "done"
}
exit=0
discussion housekeep DSC-0097 --lesson discussion/lessons/DSC-0097-pbs-sdk-stack-queue/LSN-0095-private-array-stacks-and-circular-queues.md
housekept DSC-0097
removed workflow artifacts: 3
registered lesson: LSN-0095
exit=0
discussion validate
validation passed
exit=0
discussion inspect DSC-0097
DSC-0097 done pbs-sdk-stack-queue
PBS SDK Stack and Queue
tags: compiler-pbs, collections, umbrella-agd-0089
lessons:
- LSN-0095 done exists /Users/niltonconstantino/personal/workspace.personal/intrepid/prometeu/studio/discussion/lessons/DSC-0097-pbs-sdk-stack-queue/LSN-0095-private-array-stacks-and-circular-queues.md
exit=0
+36
View File
@@ -0,0 +1,36 @@
# Specification Guide
Specifications live under this tree and are organized by contract owner:
| Owner | Canonical corpus | Responsibility |
| --- | --- | --- |
| `compiler/general` | [General compiler](compiler/README.md) | Shared compilation, linking, typed handoff, emission and acceptance |
| `compiler/pbs` | [PBS language](compiler-languages/pbs/README.md) | PBS source, semantics, SDK and frontend projections |
| `packer` | [Packer](packer/README.md) | Assets, artifacts, packing and diagnostics |
| `studio` | [Studio](studio/README.md) | Shell, workspaces, adapters and visual/automation integration |
New compiler languages receive their own corpus under `compiler-languages/`.
Shared compiler policy stays in `compiler/`; PBS is not the root for other domains.
Each domain README provides a chapter index and reading order. Numbered chapters
are normative within their stated scope. Feature chapters own their detailed
contracts; cross-cutting chapters reference those rules rather than maintaining
competing versions. Write specifications and durable lessons in English.
The runtime repository owns PBX, ISA, admission and VM execution. Studio's
[VM architecture references and catalog mirrors](../vm-arch/README.md) retain
their separate provenance and synchronization policy. [Roadmaps](../roadmaps/)
describe cross-domain planning, not an alternative contract source.
The operational lifecycle is `agenda -> decision -> plan -> implement -> lesson`.
Keep its artifacts in `discussion/` and use the local `discussion` CLI for state
transitions, validation and housekeeping. See [repository instructions](../../AGENTS.md).
## Navigation verification
Run `python3 tools/documentation/verify.py` from the repository root to check local
links and anchors. Pass `--runtime ../runtime` to also check provider references
against an available read-only runtime checkout. The byte-exact architecture/ISA
mirrors retain the link context of their runtime originals; the checker resolves
them there. Ordinary builds and installed documentation reads do not require that
checkout.
@@ -82,7 +82,7 @@ Before implementation starts, PBS must define at least:
7. AST Specification.
8. Diagnostics Specification.
9. Lowering IRBackend Specification.
10. Shared acceptance specs in `docs/general/specs` (Conformance, Compatibility, Verification).
10. Shared acceptance specs in `docs/specs/compiler` (Conformance, Compatibility, Verification).
## 11. Decision Rule
@@ -39,8 +39,8 @@ This document does not define:
Normative precedence:
1. Runtime authority (`docs/specs/hardware/topics/chapter-2.md`, `chapter-3.md`, `chapter-9.md`, `chapter-12.md`, `chapter-16.md`)
2. Bytecode authority (`docs/specs/bytecode/ISA_CORE.md`)
1. Runtime authority ([provider specifications](../../../../../runtime/docs/specs/runtime/README.md); [mirror and provenance policy](../../../vm-arch/README.md))
2. Bytecode authority ([provider Core ISA](../../../../../runtime/docs/vm-arch/ISA_CORE.md))
3. `1. Language Charter.md`
4. `3. Core Syntax Specification.md`
5. `4. Static Semantics Specification.md`
@@ -126,7 +126,7 @@ They are runtime views over an underlying identity-bearing value together with t
### 7.5 Function values and closures
Closures are ordinary managed objects retaining their typed captures. Reachable closures may survive across frames; unreachable closures are eligible for GC. Their invocations do not suspend across frames. See [First-class functions and explicit value captures](../../../compiler/pbs/specs/first-class-functions-and-captures.md).
Closures are ordinary managed objects retaining their typed captures. Reachable closures may survive across frames; unreachable closures are eligible for GC. Their invocations do not suspend across frames. See [First-class functions and explicit value captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
## 8. Identity, Aliasing, and Copy Behavior
@@ -177,7 +177,7 @@ At minimum, those roots include:
- currently active local/frame state,
- reachable fields of reachable struct instances,
- service singleton roots,
- retained callback state that remains reachable,
- retained closure state that remains reachable,
- and any other runtime roots required to preserve already-observable PBS behavior.
If a GC-managed value remains reachable through the normative runtime state, the implementation must preserve its continued semantic availability.
@@ -325,4 +325,7 @@ This document is ready to move beyond temporary draft status only when:
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter supplies shared reachability and ownership rules; Array storage
and complete-group packing are defined by that owner.
@@ -76,7 +76,7 @@ Mandatory declaration metadata on required declaration nodes includes:
2. declared signature/surface when applicable (parameters/return),
3. declaration-level syntactic flags/attributes required by later phases,
4. stable `file/start/end` attribution,
5. lifecycle-marker metadata when a declaration carries `[Init]` or `[Frame]`,
5. lifecycle-marker metadata when a declaration carries `[Init]`, `[Frame]`, `[BeforePause]` or `[BeforeResume]`,
6. documentation attribute metadata when a declaration carries `[Doc(markdown = """...""")]`.
Missing required attribution or metadata on mandatory nodes is non-conformant.
@@ -110,6 +110,7 @@ Lifecycle-observable declarations must preserve marker metadata explicitly:
- top-level `fn` marked with `[Init]`,
- top-level `fn` marked with `[Frame]`,
- top-level `fn` marked with `[BeforePause]` or `[BeforeResume]`,
- and host method signatures marked with `[InitAllowed]`.
Documentation-observable declarations must preserve `Doc` metadata explicitly on every accepted named API declaration surface that carries `[Doc(markdown = """...""")]`.
@@ -179,20 +180,42 @@ This document is healthy when:
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter preserves syntax and type arguments in the AST; the owner chapter
defines Array application admissibility and execution.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
Array spelling and construction are owned by [Core Syntax](3.%20Core%20Syntax%20Specification.md)
and the Array chapter; AST, diagnostics and lowering MUST consume that same syntax.
## Parameterized contracts
Contract declarations and barrel items preserve ordered type-parameter names and individual spans. Applied type references preserve ordered child arguments and spans. Implements and as carry a complete target type reference. Semantic imported bindings retain the original declaration and importing lexical scope rather than inventing nominal origins. Existing visitors must traverse type arguments as well as inner/group/Fn/tuple children.
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
See [PBS generic contracts](16.%20Generic%20Contracts%20Specification.md).
## Concrete generic structs and free functions
Structs and free functions preserve ordered parameter declarations and spans. Explicit applied function references preserve type arguments and their source span. Implements preserves its binder, full applied owner and target. Substitution rewrites every field, signature, annotation and executable body/capture position with a declaration-local environment. Concrete application provenance retains original declaration, canonical logical arguments and requesting use; it is not an executable runtime template.
See [Concrete generic structs and free functions](../../../compiler/pbs/specs/generic-structs-and-free-functions.md).
See [Concrete generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md).
## Guest hook marker identity
LifecycleMarker explicitly distinguishes NONE, INIT, FRAME, BEFORE_PAUSE and
BEFORE_RESUME and MEMCARD_BOOT. Preserve marker attributes and source spans alongside the marker;
never reconstruct the role from a function name or an import alias. Invalid
attribute targets/combinations MUST be diagnosed rather than silently treated
as ordinary functions. Generic substitution/import processing MUST preserve
canonical source identity and marker metadata. The additional MEMCARD_BOOT marker follows the dedicated memcard contract.
## Memcard integration
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
bootstrap, project identity/slot validation and complete installed mem ABI.
Its requirements apply in addition to this chapter; pause/resume remain independent.
@@ -299,24 +299,51 @@ This document is ready to move beyond temporary status only when:
## Existing values and input runtime alignment
The [PBS input and value alignment contract](../../../compiler/pbs/specs/input-and-existing-type-runtime-alignment.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
The [PBS input and value alignment contract](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter owns diagnostic classification and source attribution; the owner
chapter defines which Array forms are rejected.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
Array spelling and construction are owned by [Core Syntax](3.%20Core%20Syntax%20Specification.md)
and the Array chapter; AST, diagnostics and lowering MUST consume that same syntax.
## Parameterized contracts
Parameterized contract diagnostics distinguish exact arity (E_SEM_CONTRACT_ARITY), undeclared/duplicate parameters (E_SEM_CONTRACT_PARAMETER), invalid applications (E_SEM_CONTRACT_ARGUMENT), incompatible or incomplete implementations (E_SEM_CONTRACT_SIGNATURE), duplicate pairs (E_SEM_CONTRACT_DUPLICATE_IMPLEMENTATION), invalid owners/modules (E_SEM_CONTRACT_OWNER / E_SEM_CONTRACT_OWNER_MODULE), invalid coercions (E_SEM_CONTRACT_COERCION), and bounded expansion/resource exhaustion (E_SEM_CONTRACT_EXPANSION). Barrel parameter disagreement uses E_LINK_CONTRACT_PARAMETERS. Existing invalid Array/Fn/optional/Self diagnostics also apply after substitution.
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
See [PBS generic contracts](16.%20Generic%20Contracts%20Specification.md).
## Concrete generic structs and free functions
Generic diagnostics distinguish duplicate/unbound parameters, exact arity, raw or improperly inferred application, unjustified symbolic capabilities, invalid substituted positions, constructor errors, collapsed overloads, invalid bound owners, overlap and bounded expansion. Preserve declaration and requesting-use locations with a short instantiation chain. Editor projections retain symbolic parameter, concrete argument and generic origin identities. Generated instance names and host stacks do not replace source explanations.
See [Concrete generic structs and free functions](../../../compiler/pbs/specs/generic-structs-and-free-functions.md).
See [Concrete generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md).
## Guest lifecycle diagnostics and conformance
Invalid target, marker arguments and combinations are source-anchored syntax or
reserved-attribute diagnostics. Nongeneric empty signatures use
`E_SEM_INVALID_LIFECYCLE_SIGNATURE`; generic-instantiation admission may also
report the existing generic lifecycle error. `E_SEM_DUPLICATE_LIFECYCLE_ROLE`
identifies the role, conflicting declarations and their source locations across
the project graph; import order MUST NOT select a winner. Source diagnostics do
not guess physical FunctionIds. Typed handoff/PBX validation rejects duplicate
roles, captures, invalid signatures and physical entry-zero targets separately
from runtime load failures and executed traps.
Conformance MUST include both/one/no-hook cases, arbitrary names, imported and
repeated-import targets, invalid source surfaces, valid globals/closures,
optimized targets with no callers and ordinary direct calls. Execute generated
production PBX through production runtime/host Home/resume, observing ordered
effects, retained PC/state/init guard and gameplay frame/tick counters. Trap,
fuel exhaustion across slices and direct/transitive FRAME_SYNC are required;
sync fixtures use synthetic common IR because PBS exposes no sync construct.
Record revisions, platform/configuration, commands, scenarios, oracles and
results. Existing runtime tests alone are not producer integration evidence.
@@ -229,7 +229,7 @@ For executable PBS frontends, PBS lowering MUST emit a typed `IRLifecycleDeclara
At frontend `IRBackend` emission time:
1. PBS MUST retain marker admission for `[Init]`, `[Frame]`, and `InitAllowed`,
1. PBS MUST retain marker admission for `[Init]`, `[Frame]`, `[BeforePause]`, `[BeforeResume]`, and `InitAllowed`,
2. PBS MUST emit typed references for:
- file-init fragments that include global materialization and non-project `[Init]`,
- the optional project-init callable, which is the `[Init]` colocated with `[Frame]`,
@@ -241,24 +241,53 @@ At frontend `IRBackend` emission time:
## Existing values and input runtime alignment
The [PBS input and value alignment contract](../../../compiler/pbs/specs/input-and-existing-type-runtime-alignment.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
The [PBS input and value alignment contract](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter owns source-to-common-IR projection; the owner chapter defines
Array storage, optional carriers and complete-group requirements.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
Array spelling and construction are owned by [Core Syntax](3.%20Core%20Syntax%20Specification.md)
and the Array chapter; AST, diagnostics and lowering MUST consume that same syntax.
## Parameterized contracts
The frontend substitutes each closed application and emits a concrete nominal Trait descriptor shared by equivalent uses. Distinct logical applications remain distinct despite shared physical carriers. Concrete implementation functions take the receiver first. CALL_TRAIT evaluates and roots the receiver before arguments, evaluates arguments left to right, then places the complete receiver/ImplementationId view after the argument groups as required by the runtime ABI. Preserve exact signatures, absence, ImplementationId zero, ownership, GC and quotas; generic calls do not add a Dynamic ABI or adaptation wrapper.
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
See [PBS generic contracts](16.%20Generic%20Contracts%20Specification.md).
## Concrete generic structs and free functions
Instantiate structs, free functions and owner-bound implementations within PBS before publishing executable descriptors. Registry receives concrete fields, signatures, bodies, capture groups and targets. Specialized free-function references use existing empty-environment Closure values; Fn remains structural. Preserve receiver identity, implementation zero, singletons, rooting, GC, ownership, evaluation/fault order and quotas. No generic Dynamic/boxing ABI, opcode, descriptor category or runtime instantiation engine is introduced.
See [Concrete generic structs and free functions](../../../compiler/pbs/specs/generic-structs-and-free-functions.md).
See [Concrete generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md).
## Lowering optional runtime hook roles
Map BEFORE_PAUSE/BEFORE_RESUME to `IRRegistry.Role.BEFORE_PAUSE` (1) /
`BEFORE_RESUME` (2) in typed FunctionMetadata. Preserve the declaration/callable
identity, empty signature and capture list; no hidden receiver or parameter is
introduced. INIT/FRAME and ordinary functions retain role None (0). Function
names/exports/manifests are not role binding mechanisms. No MemcardBoot role is
inferred or emitted by these markers.
Each role target and its dependencies are externally entered retention roots,
even without source callers. Merge, lifecycle assembly, linking and optimization
MUST preserve bodies and metadata. Common code consumes neutral typed roles,
never PBS ASTs/names. The ordinary assembled entry remains physical FunctionId
zero; hook targets are nonzero after deterministic linking. Common Registry/PBX
validation and production runtime admission remain mandatory defenses.
## Memcard integration
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
bootstrap, project identity/slot validation and complete installed mem ABI.
Its requirements apply in addition to this chapter; pause/resume remain independent.
@@ -1,6 +1,17 @@
# Typed arrays and optional execution
Owner: `compiler/pbs`. This specification defines the source contract for typed arrays and their integration with existing optional, struct and contract semantics. Runtime Registry, PBX, ownership, limits and faults remain governed by the runtime specifications. The completed implementation and conformance gates are recorded in [LSN-0083](../../../../discussion/lessons/DSC-0079-pbs-typed-collections-and-dynamic/LSN-0083-pbs-arrays-optional-and-contract-execution.md) and its evidence.
Status: Normative. Owner: `compiler/pbs`.
Scope: Typed Arrays and Optional Execution.
This specification defines the source contract for typed arrays and their integration with existing optional, struct and contract semantics. Runtime Registry, PBX, ownership, limits and faults remain governed by the runtime specifications. The completed implementation and conformance gates are recorded in [LSN-0083](../../../../discussion/lessons/DSC-0079-pbs-typed-collections-and-dynamic/LSN-0083-pbs-arrays-optional-and-contract-execution.md) and its evidence.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Types and construction
@@ -76,35 +87,34 @@ Conformance must compile real PBS through typed IR and production PBX into the p
## Related specifications
- [Core syntax](../../../specs/compiler-languages/pbs/3.%20Core%20Syntax%20Specification.md)
- [Static semantics](../../../specs/compiler-languages/pbs/4.%20Static%20Semantics%20Specification.md)
- [Dynamic semantics](../../../specs/compiler-languages/pbs/9.%20Dynamic%20Semantics%20Specification.md)
- [Existing type runtime alignment](input-and-existing-type-runtime-alignment.md)
- [Core syntax](3.%20Core%20Syntax%20Specification.md)
- [Static semantics](4.%20Static%20Semantics%20Specification.md)
- [Dynamic semantics](9.%20Dynamic%20Semantics%20Specification.md)
- [Existing type runtime alignment](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md)
[SDK List and Cursor](sdk-list-and-cursor.md) define logical size, growth and
[SDK List and Cursor](21.%20SDK%20List%20and%20Cursor%20Specification.md) define logical size, growth and
snapshot traversal above private fixed-length arrays. List capacity does not
create logical elements; fixed array length does. Set/Map, equality and hashing
policies remain separate concerns.
See [Runtime Random integration](runtime-random-integration.md) for opaque generator aliases in typed storage and captures.
See [Runtime Random integration](20.%20Runtime%20Random%20Integration%20Specification.md) for opaque generator aliases in typed storage and captures.
[Map/Keyval](sdk-map-and-keyval.md) stores V in generic node fields and therefore
[Map/Keyval](24.%20SDK%20Map%20and%20Keyval%20Specification.md) stores V in generic node fields and therefore
admits optional values. Its outer lookup/previous-value optional describes entry
existence independently of stored V; some(none) is distinct from absent none.
This does not change Array's direct optional-element restriction.
## Parameterized contract integration
[Generic contracts](generic-contracts.md) extend nominal contract declarations with explicit type arguments. Valid Array/Fn/optional/tuple compositions preserve their existing logical and physical rules after substitution. No generic-only Dynamic transport, view wrapper, altered resource limit or new runtime opcode is introduced.
[Generic contracts](16.%20Generic%20Contracts%20Specification.md) extend nominal contract declarations with explicit type arguments. Valid Array/Fn/optional/tuple compositions preserve their existing logical and physical rules after substitution. No generic-only Dynamic transport, view wrapper, altered resource limit or new runtime opcode is introduced.
[Generic structs and free functions](generic-structs-and-free-functions.md) reuse
[Generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md) reuse
these contextual construction positions and storage rules. A generic T field can
hold an optional value, but substituting an optional value type into array<T>
remains invalid. Array's private packing does not become a generic argument ABI.
SDK collections add logical checks before physical Array operations and terminate
logical refusals with TRAP_EXPLICIT. Their multi-instruction methods use the
[List mutation-phase contract](sdk-list-and-cursor.md#mutation-preparation-visible-writes-and-faults)
and [Linked contract](sdk-linked-and-cursor.md#mutation-phases-and-lifetime);
[List mutation-phase contract](21.%20SDK%20List%20and%20Cursor%20Specification.md#mutation-preparation-visible-writes-and-faults)
and [Linked contract](22.%20SDK%20Linked%20and%20Cursor%20Specification.md#mutation-phases-and-lifetime);
per-instruction storage guarantees do not imply whole-method rollback.
@@ -1,6 +1,17 @@
# First-class functions and explicit value captures
Owner: `compiler/pbs`. This specification defines PBS function values and closures. Runtime Registry/PBX layout, allocation, GC, resource limits and faults remain governed by the runtime contracts. It supersedes the retired nominal callback and `bind` model.
Status: Normative. Owner: `compiler/pbs`.
Scope: First-Class Functions and Captures.
This specification defines PBS function values and closures. Runtime Registry/PBX layout, allocation, GC, resource limits and faults remain governed by the runtime contracts. It supersedes the retired nominal callback and `bind` model.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Types and calls
@@ -75,14 +86,13 @@ Function creation and calls remain subject to existing resource checks and runti
Conformance must compile actual PBS through production PBX and execute it in the production VM. Required cases include signature errors, explicit capture enforcement, snapshots, escaped closures, shared and isolated objects, collection transport, nested closures and function captures, receiver/contract integration, and reachable/unreachable closure behavior across the existing frame lifecycle and GC. Installed knowledge must package this specification and a compilable example.
See [Runtime Random integration](runtime-random-integration.md) for opaque generator aliases in typed storage and captures.
See [Runtime Random integration](20.%20Runtime%20Random%20Integration%20Specification.md) for opaque generator aliases in typed storage and captures.
## Parameterized contract integration
[Generic contracts](generic-contracts.md) extend nominal contract declarations with explicit type arguments. Valid Array/Fn/optional/tuple compositions preserve their existing logical and physical rules after substitution. No generic-only Dynamic transport, view wrapper, altered resource limit or new runtime opcode is introduced.
[Generic contracts](16.%20Generic%20Contracts%20Specification.md) extend nominal contract declarations with explicit type arguments. Valid Array/Fn/optional/tuple compositions preserve their existing logical and physical rules after substitution. No generic-only Dynamic transport, view wrapper, altered resource limit or new runtime opcode is introduced.
[Generic structs and free functions](generic-structs-and-free-functions.md) extend
[Generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md) extend
that concrete model to state and bodies. A closed free-function application such
as `identity<int>` supplies an ordinary concrete Fn through an empty-environment
Closure. Lambdas inside specialized bodies preserve explicit captures and complete
@@ -1,6 +1,17 @@
# PBS Generic Contracts
Owner: `compiler/pbs`. This specification extends nominal contracts with explicit type parameters. Registry, PBX, instruction, ownership and resource contracts remain governed by the runtime provider. [Set, SDK Identity and hashing](sdk-set-and-identity.md) are consumers with their own public policy; the examples below illustrate generic language syntax, not the SDK Identity declaration.
Status: Normative. Owner: `compiler/pbs`.
Scope: Generic Contracts.
This specification extends nominal contracts with explicit type parameters. Registry, PBX, instruction, ownership and resource contracts remain governed by the runtime provider. [Set, SDK Identity and hashing](23.%20SDK%20Set%20and%20Identity%20Specification.md) are consumers with their own public policy; the examples below illustrate generic language syntax, not the SDK Identity declaration.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Declaration and application
@@ -17,7 +28,7 @@ declare contract Converter<A, B> {
A parameterized declaration has one or more distinct ordered type parameters. Their scope is the contract's signatures, including nested type references. A type parameter is not the receiver. `Self` retains its existing meaning and validity restrictions.
Applications supply explicit ordered type arguments with exact arity: `Identity<int>` and `Converter<Enemy, str>`. The declaration's raw name, omitted arguments, `<>`, default arguments and blanket generic implementations are not value types or inference mechanisms. Nonparameterized contracts remain valid. [Generic structs and free functions](generic-structs-and-free-functions.md) add restricted owner-bound implementation families; they do not introduce blanket implementations for arbitrary owners.
Applications supply explicit ordered type arguments with exact arity: `Identity<int>` and `Converter<Enemy, str>`. The declaration's raw name, omitted arguments, `<>`, default arguments and blanket generic implementations are not value types or inference mechanisms. Nonparameterized contracts remain valid. [Generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md) add restricted owner-bound implementation families; they do not introduce blanket implementations for arbitrary owners.
The same compositional type grammar applies in annotations, nested applications, implementation targets and expression-form `as`. Existing contextual angle closers and expression comparisons retain their meanings. A barrel exports the declaration, for example `pub contract Identity<T>;`, preserving its origin and ordered parameters rather than exporting a particular application.
@@ -71,4 +82,4 @@ Navigation reaches generic declarations, parameters and argument declarations. H
Compile real PBS through typed IR and production PBX into the production loader, verifier and VM. Cover multiple parameters/applications, several applications on one owner, imports/aliases/reexports, nominal origin, phantom arguments, composed and multi-slot payloads, finite recursion, expanding recursion rejection, service/struct views, typed absence, implementation zero, GC and resource refusal.
A specialized contract and a manually written concrete equivalent must exhibit the same behavior without generic-only adaptation/boxing. Identical image bytes and a performance improvement are not required. Installed knowledge packages this specification and a runnable source example. Generic structs/functions are defined by the separate [owner specification](generic-structs-and-free-functions.md), sharing canonical identities, provenance and bounded expansion with contracts. Bounds, variance, inheritance/default methods, generic reflection, runtime instantiation and collection algorithms remain outside these extensions.
A specialized contract and a manually written concrete equivalent must exhibit the same behavior without generic-only adaptation/boxing. Identical image bytes and a performance improvement are not required. Installed knowledge packages this specification and a runnable source example. Generic structs/functions are defined by the separate [owner specification](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md), sharing canonical identities, provenance and bounded expansion with contracts. Bounds, variance, inheritance/default methods, generic reflection, runtime instantiation and collection algorithms remain outside these extensions.
@@ -1,10 +1,21 @@
# Concrete Generic Structs and Free Functions
Owner: `compiler/pbs`. This specification adds parameterized state and executable
Status: Normative. Owner: `compiler/pbs`.
Scope: Generic Structs and Free Functions.
This specification adds parameterized state and executable
bodies to the nominal, concrete application model of generic contracts. It applies
uniformly to SDK modules and program sources. Registry, PBX, VM admission, resource
limits and instruction semantics remain governed by the existing provider contracts.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Declarations and identity
Structs and module-level named free functions may declare one or more distinct,
@@ -58,7 +69,7 @@ and generic structs, including fields of opaque builtin type Random. Assignment
in only one conditional branch or in a loop that may execute zero times is
insufficient. Runtime reference defaults are provider behavior and do not exempt
PBS constructors from this rule. Controlled null-provider fixtures are described
in [Runtime Random integration](runtime-random-integration.md).
in [Runtime Random integration](20.%20Runtime%20Random%20Integration%20Specification.md).
## Composition and symbolic capabilities
@@ -265,9 +276,9 @@ iteration protocols and List logical bounds/slot transfer are separate decisions
## Related specifications
- [Generic contracts](generic-contracts.md).
- [Typed arrays and optional execution](typed-arrays-and-optional-execution.md).
- [First-class functions and captures](first-class-functions-and-captures.md).
- [Concrete Registry and PBX handoff](../../general/specs/typed-registry-and-pbx-v0.md).
- [SDK Map and Keyval](sdk-map-and-keyval.md), a two-parameter source consumer
- [Generic contracts](16.%20Generic%20Contracts%20Specification.md).
- [Typed arrays and optional execution](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
- [First-class functions and captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
- [Concrete Registry and PBX handoff](../../compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md).
- [SDK Map and Keyval](24.%20SDK%20Map%20and%20Keyval%20Specification.md), a two-parameter source consumer
preserving separate key/value policies and complete optional/grouped fields.
@@ -1,8 +1,19 @@
# PBS input and existing value runtime alignment
Status: normative. Owner: `compiler/pbs`. Common ABI authority:
[typed Registry/PBX](../../general/specs/typed-registry-and-pbx-v0.md) and
[runtime catalogs](../../general/specs/runtime-catalog-support.md).
Status: Normative. Owner: `compiler/pbs`.
Scope: Input and Existing Type Runtime Alignment.
Common ABI authority:
[typed Registry/PBX](../../compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md) and
[runtime catalogs](../../compiler/24.%20Runtime%20Catalog%20Support%20Specification.md).
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Source types and exact carriers
@@ -1,8 +1,19 @@
# Service constants and runtime math
Owner: compiler/pbs. Common catalog authority: compiler/general. Numeric behavior,
Status: Normative. Owner: `compiler/pbs`.
Scope: Service Constants and Runtime Math.
Common catalog authority: compiler/general. Numeric behavior,
exact identities, faults and virtual costs remain owned by the runtime.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Services are the public namespaces
A service groups methods and immutable constants. The service barrel entry exports
@@ -113,6 +124,6 @@ remain separately pending; local results and cross-compilation do not qualify th
## References
- [Common runtime catalog support](../../general/specs/runtime-catalog-support.md)
- [Common runtime catalog support](../../compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Runtime numeric contract](../../../../../runtime/docs/specs/runtime/02d-gameplay-math-and-numeric-semantics.md)
- [Production conformance harness](../../../../tools/pbx-conformance/README.md)
@@ -136,7 +136,7 @@ Every accepted change MUST update, when relevant:
- diagnostics documentation,
- conformance tests,
- compatibility matrix/changelog.
- For executable FE/BE conformance-relevant code changes, the backend conformance matrix (`docs/general/specs/22. Backend Spec-to-Test Conformance Matrix.md`) MUST be updated and pass hard-gate policy checks.
- For executable FE/BE conformance-relevant code changes, the backend conformance matrix (`docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`) MUST be updated and pass hard-gate policy checks.
## 12. Conflict Resolution
@@ -1,6 +1,17 @@
# PBS Runtime Random Integration
Owner: `compiler/pbs`. This specification defines the PBS projection of runtime Random v1. The runtime owns the algorithm, heap identity, validation, atomicity, resource accounting and virtual cycles. The common catalog is the binding authority; the frontend does not implement a generator.
Status: Normative. Owner: `compiler/pbs`.
Scope: Runtime Random Integration.
This specification defines the PBS projection of runtime Random v1. The runtime owns the algorithm, heap identity, validation, atomicity, resource accounting and virtual cycles. The common catalog is the binding authority; the frontend does not implement a generator.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Source surface
@@ -64,8 +75,8 @@ Null receivers and present typed-null Array elements MUST be covered by separate
## References
- [Typed arrays and optional execution](typed-arrays-and-optional-execution.md).
- [First-class functions and captures](first-class-functions-and-captures.md).
- [Runtime math and exact numeric carriers](service-constants-and-runtime-math.md).
- [Typed arrays and optional execution](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
- [First-class functions and captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
- [Runtime math and exact numeric carriers](19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md).
- [Runtime Random v1](../../../../../runtime/docs/specs/runtime/02e-vm-owned-random-core.md).
- [Provider handoff](../../../../../runtime/docs/vm-arch/random-producer-handoff.md).
@@ -1,11 +1,22 @@
# SDK List and snapshot Cursor
Owner: `compiler/pbs`. List and Cursor algorithms belong to the executable PBS
Status: Normative. Owner: `compiler/pbs`.
Scope: SDK List and Cursor.
List and Cursor algorithms belong to the executable PBS
SDK. Typed storage, complete stored-group transfers and terminal failure are
language-neutral compiler/runtime mechanisms. Logical checks are SDK algorithms. This contract builds on
[arrays and optional](typed-arrays-and-optional-execution.md),
[generic structs](generic-structs-and-free-functions.md) and
[generic contracts](generic-contracts.md).
[arrays and optional](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md),
[generic structs](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md) and
[generic contracts](16.%20Generic%20Contracts%20Specification.md).
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Type, identity and construction
@@ -176,9 +187,10 @@ faults. List itself rejects directly optional elements.
## Reuse, costs and conformance
The shared implementation is independent of List representation.
[Linked](sdk-linked-and-cursor.md) uses Cursor<T> for forward and reverse captures.
[Set](sdk-set-and-identity.md) produces Cursor<T>; Map<K,V> uses
Cursor<keyval<K,V>> as specified by [Map/Keyval](sdk-map-and-keyval.md).
[Stack/Queue](25.%20SDK%20Stack%20and%20Queue%20Specification.md) capture in their LIFO/FIFO removal orders.
[Linked](22.%20SDK%20Linked%20and%20Cursor%20Specification.md) uses Cursor<T> for forward and reverse captures.
[Set](23.%20SDK%20Set%20and%20Identity%20Specification.md) produces Cursor<T>; Map<K,V> uses
Cursor<keyval<K,V>> as specified by [Map/Keyval](24.%20SDK%20Map%20and%20Keyval%20Specification.md).
Set/Map gain no ordering guarantee between captures.
A captured keyval association is read-only
and does not follow later association replacement; referenced objects stay shared.
@@ -1,10 +1,21 @@
# SDK Linked and bidirectional snapshot capture
Owner: `compiler/pbs`. Linked algorithms belong to executable PBS SDK source.
Status: Normative. Owner: `compiler/pbs`.
Scope: SDK Linked and Cursor.
Linked algorithms belong to executable PBS SDK source.
Typed storage, faults, ownership, GC and quotas remain generic
compiler/provider mechanisms. This contract builds on [generic structs](generic-structs-and-free-functions.md),
[arrays and optional](typed-arrays-and-optional-execution.md) and the
[shared Cursor protocol](sdk-list-and-cursor.md#cursor-protocol).
compiler/provider mechanisms. This contract builds on [generic structs](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md),
[arrays and optional](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md) and the
[shared Cursor protocol](21.%20SDK%20List%20and%20Cursor%20Specification.md#cursor-protocol).
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Type, identity and construction
@@ -131,5 +142,5 @@ projections. Ship the specification and executable example with installed SDK
knowledge, compile the actual packaged example outside the checkout and execute
its emitted PBX with the production provider.
See [generic Registry/PBX storage](../../general/specs/typed-registry-and-pbx-v0.md)
See [generic Registry/PBX storage](../../compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
for the language-neutral instruction contract.
@@ -1,10 +1,21 @@
# SDK Set, Identity and hashing
Owner: `compiler/pbs`. Set algorithms belong to executable PBS SDK source. Typed
Status: Normative. Owner: `compiler/pbs`.
Scope: SDK Set and Identity.
Set algorithms belong to executable PBS SDK source. Typed
reference queries, storage, admission, faults and resource limits are generic
compiler/provider mechanisms. This contract builds on [generic structs](generic-structs-and-free-functions.md),
[generic contracts](generic-contracts.md), [Array/optional](typed-arrays-and-optional-execution.md)
and the [shared snapshot Cursor](sdk-list-and-cursor.md#cursor-protocol).
compiler/provider mechanisms. This contract builds on [generic structs](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md),
[generic contracts](16.%20Generic%20Contracts%20Specification.md), [Array/optional](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
and the [shared snapshot Cursor](21.%20SDK%20List%20and%20Cursor%20Specification.md#cursor-protocol).
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Types, construction and operations
@@ -235,8 +246,8 @@ PBX. Normal compilation uses versioned Studio catalogs/resources without a sibli
checkout. Runtime ownership, limits and semantics remain the provider contract;
Set adds no VM collection instruction/syscall or provider source change.
Identity/hash are reused by [Map/Keyval](sdk-map-and-keyval.md). Its API, representation
Identity/hash are reused by [Map/Keyval](24.%20SDK%20Map%20and%20Keyval%20Specification.md). Its API, representation
and implementation are separate consumers; sharing policy does not impose a shared
physical table or universal entry type. See the
[common typed Registry contract](../../general/specs/typed-registry-and-pbx-v0.md)
and [catalog consumer rules](../../general/specs/runtime-catalog-support.md).
[common typed Registry contract](../../compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
and [catalog consumer rules](../../compiler/24.%20Runtime%20Catalog%20Support%20Specification.md).
@@ -1,12 +1,23 @@
# SDK Map and read-only Keyval associations
Owner: `compiler/pbs`. Map algorithms execute as PBS SDK source. This contract
builds on [generic structs](generic-structs-and-free-functions.md),
[Array/optional](typed-arrays-and-optional-execution.md),
[Set/Identity/hash](sdk-set-and-identity.md) and the
[shared snapshot Cursor](sdk-list-and-cursor.md#cursor-protocol).
Status: Normative. Owner: `compiler/pbs`.
Scope: SDK Map and Keyval.
Map algorithms execute as PBS SDK source. This contract
builds on [generic structs](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md),
[Array/optional](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md),
[Set/Identity/hash](23.%20SDK%20Set%20and%20Identity%20Specification.md) and the
[shared snapshot Cursor](21.%20SDK%20List%20and%20Cursor%20Specification.md#cursor-protocol).
Registry/PBX, storage, ownership, faults and resource limits remain provider contracts.
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Types, construction and public API
`@sdk:collections` exports invariant ordinary generic structs `map<K,V>` and
@@ -0,0 +1,146 @@
# SDK Stack and Queue
Status: Normative. Owner: `compiler/pbs`.
Scope: SDK Stack and Queue.
Algorithms execute as PBS SDK source over existing typed
storage, complete-group copies, terminal checks and shared snapshot Cursor.
This contract builds on [Array/optional](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md),
[generic structs](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md) and
[List/shared Cursor](21.%20SDK%20List%20and%20Cursor%20Specification.md#cursor-protocol).
## Authority and scope
This chapter is the canonical owner of the detailed contract described below.
The [domain reading guide](README.md) identifies related chapters and their
separate responsibilities. Cross-cutting chapters refer here for these rules.
Runtime-owned ABI, instruction, resource and execution contracts retain their
authority; this chapter specifies their compiler or PBS consumer requirements.
## Types, identity and construction
`@sdk:collections` exports ordinary invariant nominal structs `stack<T>` and
`queue<T>`. Directly optional T, including grouping, is invalid; optional of the
collection and valid payloads containing optional fields remain valid. Tuple,
native, contract, function and reference groups retain their complete types and
owners. No extra cell per element circumvents Array's optional restriction.
Project homonyms/copied metadata acquire no SDK authority. Imports, aliases,
reexports and specializations preserve original SDK identity and privacy.
`new stack<T>()` / `new queue<T>()` create size zero and capacity 16. Their
one-argument constructors create size zero and exactly that capacity, including
zero. Diamond/omitted type arguments require an expected concrete application;
values do not infer T. Capacity accepts int/long with localized lossless promotion,
without general conversion/truncation. Negative/above-u32 capacity is rejected.
Collection references have stable identity through backing replacement. Assignment
and parameter passing share mutations. Payload objects remain shared instances;
duplicates and repeated aliases are separate occurrences, without deep copies or
structural equality. Storage, start, length and private helpers are inaccessible.
## Public API
| Collection | Operation | Result and behavior |
| --- | --- | --- |
| Both | size() | long count of present occurrences |
| Both | capacity() | long physical backing length |
| Both | isEmpty() | bool, size equals zero |
| Both | peek() | optional T, next removal value; none when empty |
| Both | clear() | unit, discard contents and preserve capacity |
| Both | cursor() | Cursor<T>, complete removal-order snapshot |
| Stack | push(value: T) | unit, append at top |
| Stack | pop() | optional T, remove top; none when empty |
| Queue | enqueue(value: T) | unit, append at back |
| Queue | dequeue() | optional T, remove front; none when empty |
Stack consumes LIFO, Queue FIFO. Receiver/arguments evaluate once in source order,
including named calls. Zero/false are present. Faults remain faults, never absence.
No indexer, holes, reserve/trim/resize, bounded/bulk variant, public nodes or
mutation/reset through Cursor exists.
## Capacity and private storage
`0 <= size <= capacity <= 4294967295`. Initial capacity does not cap collection size.
When required r exceeds c, automatic growth chooses
`min(4294967295, max(r, c + max(1, ceil(c/2))))`, after checking r itself fits.
Arithmetic uses checked long values without narrowing; zero grows to one.
Invalid logical requests terminate through the private SDK TRAP_EXPLICIT binding
with source attribution. Actual Array instructions retain their physical faults.
Ordinary quotas can refuse earlier. Removal/clear never shrink capacity.
Stack owns a dense array occupying exactly `[0,size)`, with top at size-1.
Queue owns a circular array occupying size logical positions from start. Empty
Queue has start zero; otherwise capacity is positive and start is below capacity.
Circular addressing avoids zero-capacity access/remainder. Every inactive slot is
empty after successful operations. Neither collection is a List/Linked adapter;
inclusion creates no collection node and dequeue never shifts remaining values.
Stack growth privately copies its dense prefix and inserts the value. Queue
growth privately copies occupied suffix and wrapped prefix directly into `[0,size)`,
then inserts at size; it installs backing, start=0 and size in that sequence.
Old storage is not edited during candidate preparation. Complete groups and payload
identities survive copies, including native owners. In-capacity insertion does not
rebuild the whole backing. End operations without growth cost O(1) apart from normal
value/carrier work; growth and clear cost O(n), plus physical capacity allocation.
## Mutation phases and lifetime
Prepare checks, next count, payloads, optional returns (including typed absence)
and candidates before visible mutation. Source-selected write sequences are:
| Operation | Writes after preparation |
| --- | --- |
| In-capacity push/enqueue | Inactive destination slot, then size |
| Growing push | Prepared backing, then size |
| Growing enqueue | Prepared backing, start=0, then size |
| Nonempty pop | Clear old top, then size |
| Nonempty dequeue | Clear front, next start (zero when empty), then size |
| Stack clear | Clear occupied slots in index order, then size=0 |
| Queue clear | Clear occupied slots in FIFO order, then start=0, then size=0 |
Reads, capture and empty removals do not write the collection. Before the first
visible write, rejection/preparation refusal preserves old backing, slots, start
and size; argument effects/provisional allocations are not undone. Success restores
all invariants. Later internal/resource faults may retain writes and incomplete
invariants, without rollback, safe reuse, retry or recovery. Per-instruction refusal
preserves its own entry state, not earlier instructions. No callback/explicit
suspension occurs between update stores. Budget/debugger pauses remain resumable
instruction boundaries; a method is not an atomic host observation region.
Removal clears the discarded slot; clear removes all occupied references while
retaining empty backing. Later reuse cannot resurrect old payloads. Old/candidate
arrays, multi-slot packing, optional carriers, copy scratch and snapshots coexist
under unchanged quotas/GC. No allocation-free insertion/result, immediate collection
or immediate quota return is promised.
## Removal-order snapshot Cursor
Stack captures top → base, Queue front → back. Inserting 20,22 yields Stack
snapshot 22,20 and Queue snapshot 20,22. Capture completes before returning and
owns one immutable private singly linked non-circular node per occurrence, with
no snapshot array/source-slot association. It costs O(n) work/additional nodes;
refusal returns no partial Cursor and leaves the source unchanged.
Reuse the entire shared table: a nonempty Cursor starts on first; hasNext tests
successor; next without successor does nothing; only empty-born current is none.
Consume current before deciding whether to advance. Captured sequence/order is
independent of later insertion/removal/growth/clear; referenced objects still share
later field changes. Consumed prefixes can become collectible, while final current
node/value remain retained until the Cursor releases them.
## Conformance and distribution
Qualify real PBS through common IR/PBX and production loader/VM, using ordinary
and optimized producers and runtime debug/release profiles. Cover complete APIs,
context/types/origin/privacy, exact capacities/growth/maximum checks, zero/false,
complete groups and ownership, order/duplicates/aliases, source/named evaluation,
wrap-around/wrapped growth, fill/drain/reuse, snapshots and sharing.
Measure coexisting arrays/carriers, quota preparation/write boundaries with
independent original-object observations and successful-prefix comparisons. Keep
explicit test-only post-write probes separate from natural refusal frequencies.
Observe actual GC collections for discarded values/replaced backings and snapshot
prefix/final release. Ship this spec and executable example in installed knowledge,
compile real installed-JAR examples outside the checkout and execute emitted PBX.
Regress shared storage/generic/Cursor behavior; retain provenance and limitations.
Runtime storage, ISA, quotas, faults and GC remain unchanged provider contracts.
@@ -0,0 +1,153 @@
# Memcard Bootstrap and SDK Specification
Owner: compiler/pbs; propagation to compiler/general and studio.
## Source configuration and identity
`prometeu.json` accepts numeric integral `app_id` (uint32, 0..4294967295) and
optional integral `memcard_slots` (1..64). Strings, booleans, Null, fractions and
out-of-range values MUST fail validation. Memcard opt-in MUST have exactly one
role 3 target, capability memcard and a bootstrap boundary. Memcard imports without
that complete declaration MUST fail before launch; ordinary projects remain unchanged.
Studio persists an explicit initial app_id for new projects and adopts the
legacy generated value once for an older project before shipping. Adoption MUST
preserve unrelated manifest fields and existing explicit IDs. Rename, version,
language and stdlib changes MUST NOT derive a new ID. A copied manifest is the
same game; a distinct game needs an explicitly different identity. The source
identity is propagated losslessly to build/manifest.json, with slots only when
memcard is enabled. Media path and session policy are local host configuration.
## Marker and lifecycle boundary
```pbs
[MemcardBoot]
fn restore(context: long) -> int {
// Inspect admitted RAM and provide presentation through @sdk:mem.
return 0;
}
```
The marker MUST select a nongeneric top-level user function of exact signature
(long)->int with no captures. It accepts no arguments and MUST NOT combine with
another lifecycle marker. Doc metadata, global access and internal closures remain
allowed. Uniqueness is per compiled image and canonical source identity, including
imports and reexports. Names and normal direct calls do not grant lifecycle authority.
The target and its dependencies MUST survive optimization without source callers.
Registry role is 3 and physical FunctionId MUST NOT be zero.
PBS contributes an explicit neutral host-bootstrap request through serializable
common lifecycle declarations. Common assembly emits mem.bootstrap@1 HOSTCALL
with 0 arguments/1 Int32 result after all file/module/project initialization,
inside the once-per-boot guard and before the first Frame. It discards the gate
result after runtime admission. It MUST NOT directly invoke the role, inspect
PBS names or teach the runtime Init/Frame concepts. Ordinary images emit no gate.
READY=0 and INCONSISTENT=1, diagnostic text (at most 1024 UTF-8 bytes), continuation,
budget/trap behavior and provisional registration follow the runtime contract.
A commit submitted in the hook stays pending until READY/coherent registration;
the hook MUST return rather than await it. Resume/remount does not rerun Init or
bootstrap. BeforePause may submit/return and BeforeResume may query across frames.
## MemcardBuffer
`@sdk:mem` exports the nongeneric opaque source type MemcardBuffer. Construct
`new MemcardBuffer(capacity)` with int capacity in 0..4096. Storage is fixed length
and zero initialized; `capacity() -> int`, `read(index: int) -> int` and
`write(index: int, value: int) -> void` provide checked access. Reads always return
an int, with no vacancy/optional representation. Values MUST be in 0..255;
invalid capacity/index/value traps before mutation. Copies alias the same buffer.
The compiler MUST identify the origin-verified SDK declaration, not its spelling,
and lower it directly to concrete Array<Int32> in common Registry/PBX. There is
no Struct wrapper, Dynamic boxing, automatic conversion from ordinary arrays,
copying adapter, new runtime BuiltinId or syscall. Allocation and work obey the
existing VM limits and element charge (four bytes per element). Ordinary PBS
arrays retain their existing vacancy and optional-read semantics.
The same carrier serves slot_read, slot_write and presentation. Successful reads
mutate the same buffer only over the returned range. The buffer owns guest RAM,
not a persistent logical slot or the runtime's asynchronous snapshot.
## Installed SDK
`import {Mem} from @sdk:mem;` selects the forwarding facade. LowMem contains the
exact module mem/version 1/capability memcard host bindings. Bootstrap is compiler
owned; a game MUST NOT manually substitute a direct hook call or bootstrap call.
All numeric domain results/context/request use long, except the Int32 bootstrap
result. Flags are bool; text is str; ranges/local slots are int; presentation
format version is long to represent uint32. Byte transport is MemcardBuffer, each
value 0..255, at most 4096 per transfer; slot capacity is 65536 private bytes.
| Native ID | Binding | Arguments | Results (native order) |
| --- | --- | ---: | --- |
| 0x4200 | bootstrap | 0 | int readiness |
| 0x4201 | slot_count | 1 | status, count |
| 0x4202 | slot_stat | 2 | status, has_payload, used_bytes, generation, update_at, crc32c, dirty |
| 0x4203 | slot_read | 6 | status, bytes_read |
| 0x4204 | slot_write | 6 | status, bytes_written |
| 0x4205 | slot_commit | 2 | status, request |
| 0x4206 | slot_clear | 2 | status |
| 0x4207 | query | 2 | status, state, reason |
| 0x4208 | release | 2 | status |
| 0x4209 | info | 1 | status, mode, is_new, recovered, degraded, write_blocked |
| 0x420A | metadata | 1 | status, title, data_format_version, created_at |
| 0x420B | presentation | 8 | status |
| 0x420C | diagnostic | 2 | status |
| 0x420D | publish_presentation | 1 | status, request |
slot_stat.has_payload is numeric 0/1; dirty/info health flags are bool.
The PBS source tuple groups generation/update_at/crc32c under `stat.durable`;
recursive flattening preserves all seven native results and their exact types/order,
without increasing the language's six-field tuple bound. CRC/generation/timestamp
are durable descriptor data; used_bytes/dirty describe RAM. Unsigned 64-bit values
retain their bit pattern in long. This SDK introduces no general save codec.
The installed facade uses origin-checked exact host forwarding. Its callsites
emit the native operation directly, preserving error Null payloads until the
caller checks status; an intermediate typed-return wrapper MUST NOT turn an
ordinary domain error into a VM type trap. Argument order and evaluation are
preserved. The private HostForward binding accepts only a single exact host
return of unchanged positional parameters and matching result ABI.
Every operation checks status before using payload. Error payload positions are
Null and MUST remain unobserved on a failed status. Status 0 is OK; 3 no space,
4 access denied, 5 corrupt, 6 indeterminate, 7 unavailable, 8 invalid state/canceled,
9 busy, 10 read-only/counter exhausted, 11 invalid range, 12 unsupported,
13 IO error, 16 out of memory. Type/heap/carrier violations are VM traps.
Submitting a commit does not establish persistence. Query state 0 pending,
1 success, 2 failure, 3 indeterminate, 4 memory-only is independent of reason.
Reason 15 is deadline/restart; Success/15 is valid. Only one request/result is
retained until release. Release MUST NOT free in-flight resources. A source slot
is readable but rejects writes/clear with BUSY while committing; other slots
continue. Clear changes RAM and requires explicit commit. No implicit retries,
autosave or disk waits are hidden by the facade.
## Provider boundary and qualification
Runtime owns hosts/headless/storage, explicit persistent/fresh-RAM/load-existing-RAM
choices, concurrent image access, discard confirmation and reconciliation. Studio
uses supported public configuration/operations/diagnostics of its configured
installation. Missing/failed media MUST NOT silently choose memory-only. Image
creation is explicit and never overwrites a file. The development image location
is .studio/memcard.pmc, outside build output; shared images require explicit choice.
Transport loss/timeout/forced termination cannot prove rollback or durable failure.
A missing provider surface is an explicit external dependency, never invented flags,
a second host or a duplicated SO/Hub UI. RAM survives pause/resume.
The installed opt-in `memcard/` subproject demonstrates presentation, status-first
read/write, query and release separately from the ordinary example. Qualification
MUST distinguish source/PBX, native production-host and configured-process evidence.
Complete persistence proof requires SUCCESS, process termination, a new process on
the same image, exact bytes, and the same result after a project-version change.
Record provider revision, OS/architecture, runtime dev/release and PBS optimizer
variants. Native injection is useful contract evidence but never substitutes for
that process proof.
## References
- [Runtime memcard contract](../../../../../runtime/docs/specs/runtime/08-save-memory-and-memcard.md).
- [Common Registry](<../../compiler/25. Typed Registry and PBX v0 Specification.md>).
@@ -20,10 +20,10 @@ This document defines syntax only. Runtime behavior, optimizer policy, and bytec
Normative precedence:
1. Runtime authority (`docs/specs/hardware/topics/chapter-2.md`, `chapter-3.md`, `chapter-9.md`, `chapter-12.md`, `chapter-16.md`)
2. Bytecode authority (`docs/specs/bytecode/ISA_CORE.md`)
1. Runtime authority ([provider specifications](../../../../../runtime/docs/specs/runtime/README.md); [mirror and provenance policy](../../../vm-arch/README.md))
2. Bytecode authority ([provider Core ISA](../../../../../runtime/docs/vm-arch/ISA_CORE.md))
3. This document
4. Legacy references (`docs/specs/random/pbs_old/*`)
4. Retired PBS drafts are historical context only and carry no normative authority.
If a rule here conflicts with higher authority, it is invalid.
@@ -76,8 +76,8 @@ Keywords are not valid identifiers.
Active keywords in `.pbs`:
- `import`, `from`, `as`
- `service`, `host`, `fn`, `apply`, `bind`, `new`, `implements`, `using`, `ctor`
- `declare`, `struct`, `contract`, `error`, `enum`, `callback`, `global`, `Self`, `this`
- `service`, `host`, `fn`, `apply`, `new`, `implements`, `using`, `ctor`
- `declare`, `struct`, `contract`, `error`, `enum`, `global`, `Self`, `this`
- `pub`, `mut`
- `let`, `const`
- `if`, `else`, `switch`, `default`, `for`, `from`, `until`, `step`, `while`, `break`, `continue`, `return`
@@ -96,6 +96,10 @@ Reserved (not active syntax in v1 core):
- `spawn`, `yield`, `sleep`
- `match`
Retired source forms `declare callback` and `bind(...)` MUST be rejected;
[function values and captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md)
defines their replacement. Retired tokens are not active declaration/call syntax.
Note:
- `host` is used only by reserved SDK/toolchain `declare host` surfaces in v1 core; ordinary user-authored modules MUST reject those declarations.
@@ -253,7 +257,7 @@ Rules:
- An attribute attaches syntactic metadata to the declaration surface that immediately follows it.
- Attributes do not introduce values, types, callables, or modules by themselves.
- In v1 core, ordinary user-authored modules MUST reject attributes unless another specification explicitly permits them.
- Ordinary userland source MAY use `[Init]` and `[Frame]` only on top-level `fn` declarations.
- Ordinary userland source MAY use `[Init]`, `[Frame]`, `[BeforePause]` and `[BeforeResume]` only on top-level `fn` declarations.
- Ordinary userland source MAY use `[Doc(markdown = """...""")]` on named API declarations where the static semantics specification permits documentation.
- Reserved stdlib/toolchain interface modules MAY use attributes where explicitly allowed by syntax and semantics.
- Reserved stdlib/toolchain interface modules MAY additionally use `[InitAllowed]` only on `declare host` method signatures where another specification explicitly permits it.
@@ -366,7 +370,7 @@ Rules:
### 7.2 First-class function values
Function types use `Fn(T1, T2) -> R`. Lambdas use `fn [captures](name: Type) -> Return { ... }`; `[]` and all signature annotations are mandatory. See [First-class functions and explicit value captures](../../../compiler/pbs/specs/first-class-functions-and-captures.md).
Function types use `Fn(T1, T2) -> R`. Lambdas use `fn [captures](name: Type) -> Return { ... }`; `[]` and all signature annotations are mandatory. See [First-class functions and explicit value captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
### 7.3 Services
@@ -380,7 +384,7 @@ ServiceMember ::= 'fn' Identifier ParamList ReturnAnn? Block | ConstDecl
Rules:
- `declare service Name { ... }` declares a nominal service type together with its canonical module-owned singleton value `Name`.
- A service body contains method declarations and `declare const` members. SDK service intrinsic signatures may terminate with `;`; see [Service constants and runtime math](../../../compiler/pbs/specs/service-constants-and-runtime-math.md).
- A service body contains method declarations and `declare const` members. SDK service intrinsic signatures may terminate with `;`; see [Service constants and runtime math](19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md).
- Service methods have an implicit receiver binding `this` of type `Self` and do not declare `this: Self` explicitly.
- Services do not declare fields.
- Services do not declare `ctor`.
@@ -446,7 +450,7 @@ Rules:
- A `declare const` initializer is required unless another specification explicitly permits a reserved declaration-only shell such as builtin constant metadata.
- A `declare const` initializer, when present, MUST be a constant expression as defined by static semantics.
- `declare const` values are compile-time constants, not runtime-initialized module storage.
- A reserved top-level builtin constant shell MAY use attributes such as `BuiltinConst(...)` and omit the initializer when another specification explicitly defines VM-owned materialization.
- A reserved top-level or SDK service builtin constant shell MAY use attributes such as `BuiltinConst(...)` and omit the initializer when another specification explicitly defines VM-owned materialization.
## 8. Type syntax
@@ -611,7 +615,7 @@ Rules:
- `new Type(args...)` is the canonical struct construction surface.
- `new Type.ctorName(args...)` is the canonical named-constructor surface.
- Struct construction arguments are positional and follow the declared struct field order.
- `as` is reserved in expressions for explicit contract-view conversion only; it does not denote a general cast surface in v1 core.
- `as` expresses explicit contract-view conversion or the supported numeric conversions defined by [input and value alignment](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md). It is not an unrestricted cast.
- A contract-view `as` target is a visible contract type, including explicit arguments such as `Identity<int>`, never a qualified module path. Existing numeric conversions retain their value-alignment rules.
- `this` is an implicit receiver name available only inside struct method, service method, and `ctor` bodies.
- `Self` is valid only inside struct method declarations, service method declarations, and `ctor` declarations.
@@ -1199,22 +1203,43 @@ fn test(e: Enum) -> str {
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter owns the source syntax and spans consumed by that feature.
Retired `declare callback`, callback exports and `bind(...)` are rejected. They do not provide alternative spellings for Fn or lambdas.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
## Parameterized contracts
Parameterized contracts use explicit angular arguments in annotations, nested types, implements and as. Barrels export the ordered parameter list. Raw generic uses, empty argument lists and default arguments are invalid; existing contextual closers and Array construction sugars remain unchanged.
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
See [PBS generic contracts](16.%20Generic%20Contracts%20Specification.md).
## Concrete generic structs and free functions
Struct and module-level free-function declarations and their barrel items accept ordered type parameters. Explicit function applications are reference expressions; calls use existing parentheses/apply. Generic construction supports explicit arguments and contextual diamond/omission. Owner-bound `implements` accepts its own parameter binder and a full applied owner. Independent method parameters, function diamond/inference and polymorphic Fn remain invalid. The owner specification defines exact arity, comparison disambiguation and recovery.
See [Concrete generic structs and free functions](../../../compiler/pbs/specs/generic-structs-and-free-functions.md).
See [Concrete generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md).
## Controlled guest lifecycle marker syntax
`[BeforePause]` and `[BeforeResume]` select optional runtime lifecycle hooks:
```pbs
[BeforePause]
fn preparePause() -> void {}
[BeforeResume]
fn prepareResume() -> void {}
```
These markers accept no arguments and MUST NOT combine with another lifecycle
marker (`Init`, `Frame`, `BeforePause`, `BeforeResume`). Existing `[Doc]` metadata
may accompany them. Targets MUST be nongeneric top-level userland functions;
methods, lambdas, host/interface declarations and other declaration kinds are
invalid targets. Function names are arbitrary and do not select runtime roles.
PBS exposes no sync statement, lifecycle syscall or termination marker.
@@ -20,8 +20,8 @@ It is intended to:
Normative precedence:
1. Runtime authority (`docs/specs/hardware/topics/chapter-2.md`, `chapter-3.md`, `chapter-9.md`, `chapter-12.md`, `chapter-16.md`)
2. Bytecode authority (`docs/specs/bytecode/ISA_CORE.md`)
1. Runtime authority ([provider specifications](../../../../../runtime/docs/specs/runtime/README.md); [mirror and provenance policy](../../../vm-arch/README.md))
2. Bytecode authority ([provider Core ISA](../../../../../runtime/docs/vm-arch/ISA_CORE.md))
3. `3. Core Syntax Specification.md`
4. This document
@@ -80,14 +80,14 @@ Rules:
- Attributes are not first-class values and are not reflectable in v1 core.
- Attributes do not automatically survive into runtime or bytecode artifacts.
- An attribute affects runtime artifacts only when another specification defines an explicit lowering for its semantic effect.
- In v1 core, the normative reserved attributes are `Host`, `Capability`, `AssetLowering`, `BuiltinType`, `BuiltinConst`, `IntrinsicCall`, `Init`, `Frame`, `InitAllowed`, and `Doc`.
- In v1 core, the normative reserved attributes are `Host`, `Capability`, `AssetLowering`, `BuiltinType`, `BuiltinConst`, `IntrinsicCall`, `Init`, `Frame`, `BeforePause`, `BeforeResume`, `MemcardBoot`, `InitAllowed`, and `Doc`.
- `Host` is valid only on a host method signature declared directly inside a reserved stdlib/interface-module `declare host` body.
- `Capability` is valid only on a host method signature declared directly inside a reserved stdlib/interface-module `declare host` body.
- `AssetLowering` is valid only on a host method signature declared directly inside a reserved stdlib/interface-module `declare host` body.
- `Init` is valid only on a top-level userland `fn` declaration with lifecycle-admissible signature.
- `Frame` is valid only on a top-level userland `fn` declaration with lifecycle-admissible signature.
- `InitAllowed` is valid only on a host method signature declared directly inside a reserved stdlib/interface-module `declare host` body.
- `Host` is invalid on ordinary user-authored modules, top-level `fn`, struct methods, service methods, callbacks, contracts, and constants.
- `Host` is invalid on ordinary user-authored modules, top-level `fn`, struct methods, service methods, lambdas, contracts, and constants.
- `Host` metadata is consumed by the compiler during host-binding lowering.
- `AssetLowering` MUST declare exactly the named argument `param`.
- `AssetLowering.param` MUST be a zero-based integer literal that names a valid host parameter position.
@@ -95,7 +95,7 @@ Rules:
- `AssetLowering` metadata is consumed by backend-owned host-call lowering to rewrite the targeted symbolic `Addressable` operand into runtime-facing `asset_id`.
- The `Host` attribute syntax itself is not exported as runtime metadata; instead, its canonical identity participates in PBX host-binding emission as defined by the Host ABI Binding specification.
- `BuiltinType` is valid only on a reserved top-level `declare builtin type` declaration.
- `BuiltinConst` is valid only on a reserved top-level `declare const` declaration that omits an initializer.
- `BuiltinConst` is valid on reserved top-level and SDK service `declare const` shells that omit an initializer, as defined by [service constants and runtime math](19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md).
- `IntrinsicCall` is valid on a method signature inside a reserved `declare builtin type` body or an SDK service body. SDK service signatures have no implementation body and bind their exact declared argument/result carriers to the common intrinsic catalog.
- Builtin metadata is consumed by the compiler during VM-owned builtin and intrinsic lowering rather than by host-binding lowering.
- `Init` and `Frame` are consumed by lifecycle analysis and lowering rather than by ordinary runtime reflection.
@@ -195,7 +195,7 @@ The following constructs are callable in v1 core:
- top-level `fn`,
- struct methods on concrete receivers,
- contract values,
- callback values,
- structural `Fn` values,
- service methods,
- host methods on declared host owners,
- builtin intrinsic methods on declared builtin types.
@@ -252,7 +252,7 @@ Rules:
- Project init must be colocated with `[Frame]`.
- PBS static semantics and lowering admit those markers and translate them into a typed `IRLifecycleDeclaration`.
- PBS MUST NOT materialize module init, project-init wrapper, published frame wrapper, physical entrypoint, or boot guard; those artifacts belong to common lifecycle assembly.
- `InitAllowed` is valid only on SDK host methods and is invalid on userland `fn`, `global`, `service`, `const`, `struct`, `contract`, and callback surfaces.
- `InitAllowed` is valid only on SDK host methods and is invalid on userland `fn`, `global`, `service`, `const`, `struct`, `contract`, and lambda surfaces.
- A host method signature in a reserved stdlib/interface module MUST carry exactly one `Host` attribute.
- A host method signature in a reserved stdlib/interface module MUST carry exactly one `Capability` attribute.
- A `Host` attribute MUST declare exactly the named arguments `module`, `name`, and `version`.
@@ -349,7 +349,7 @@ Rules:
### 3.6 Structs, services, methods, and contracts
Service constants follow [Service constants and runtime math](../../../compiler/pbs/specs/service-constants-and-runtime-math.md).
Service constants follow [Service constants and runtime math](19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md).
They are immutable members exported with their service. Qualified constant reads
materialize the constant without constructing a singleton or invoking a method.
@@ -376,7 +376,7 @@ Rules:
- A named `ctor` declared in a struct body is not a method, but it does introduce an implicit under-construction `this`.
- A `ctor` has no declared return annotation and is not a `fn`.
- A `ctor` completes by falling off the end of its body after initializing the enclosing struct instance.
- Every field of the enclosing struct must be definitely assigned on every completing `ctor` path.
- Every field of the enclosing struct must be definitely assigned on every completing `ctor` path, including ordinary/generic owners and opaque Random fields. Provider reference defaults do not exempt PBS constructors; [generic construction](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md#construction-and-expected-types) owns this complete rule.
- Named constructors participate in overload resolution by name plus parameter signature.
- `return;` and `return expr;` are both invalid inside `ctor` bodies.
- Methods declared in a struct body belong to the direct method namespace of that concrete struct type.
@@ -395,7 +395,7 @@ Rules:
- Methods declared directly inside a struct or service follow the visibility of their enclosing owner declaration; they do not have independent visibility.
- A struct value or service singleton value may be coerced to a contract value when exactly one visible `implements Contract for Owner ...` applies.
- Contract coercion may happen by explicit `expr as ContractType` or by contextual typing in assignments, parameter passing, and returns.
- `as` in expression position is reserved for explicit contract coercion only; no other cast semantics exist in v1 core.
- `as` supports explicit contract coercion and the numeric conversions owned by [input and value alignment](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md); other casts remain invalid.
- The contract in `expr as ContractType` is resolved through ordinary scope/import rules and may carry explicit type arguments. Aliases preserve declaration identity.
- A contract value carries the underlying struct reference or service singleton value together with the selected contract implementation for runtime dispatch.
- Calling `contractValue.method(...)` uses dynamic dispatch through the contract value.
@@ -442,7 +442,7 @@ fn demo() -> int {
### 3.7 Structural function values
[First-class functions and explicit value captures](../../../compiler/pbs/specs/first-class-functions-and-captures.md) defines structural Fn compatibility, explicit snapshot captures and lambda typing. Assignment of a named function requires exactly one matching overload. Bare method extraction remains invalid; use an explicit receiver-capturing lambda.
[First-class functions and explicit value captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md) defines structural Fn compatibility, explicit snapshot captures and lambda typing. Assignment of a named function requires exactly one matching overload. Bare method extraction remains invalid; use an explicit receiver-capturing lambda.
### 3.8 Canonical application
@@ -457,7 +457,7 @@ Rules:
- `apply` is an infix operator that is right-associative.
- `f1 apply f2 apply x` is defined as `f1 apply (f2 apply x)`.
- `f1 apply f2 apply f3 apply params` is defined as `f1 apply (f2 apply (f3 apply params))`.
- The left operand of `apply` must resolve to one of: a callable candidate set, a bound struct method target, a bound service method target, a contract-method target, or a callback value.
- The left operand of `apply` must resolve to one of: a callable candidate set, a bound struct method target, a bound service method target, a contract-method target, or a `Fn` value.
- The right operand of `apply` is an argument expression.
- If the callable input arity is `0`, the argument expression must be `()`.
- If the callable input arity is `1`, the argument expression is checked against the carrier type of the single input slot.
@@ -497,7 +497,7 @@ Rules:
- If the selected callable output arity is `1`, the result of `apply` is the carrier type of the single output slot.
- If the selected callable output arity is `2..6`, the result of `apply` has the named output tuple shape of the selected callable.
- Multi-slot output tuple results expose their labels for member projection.
- If the selected callable is a callback value, the visible multi-slot output labels come from the callback type rather than from the original source `fn`.
- If the selected callable is a `Fn` value, the visible multi-slot output labels come from the `Fn` type rather than from the original source `fn`.
- If the selected callable returns `()`, the application result is unit.
Example:
@@ -749,10 +749,10 @@ At minimum, deterministic static diagnostics are required for:
- invalid named constructor target,
- unresolved named constructor overload,
- ambiguous named constructor overload,
- incompatible top-level `fn` assignment to callback type,
- ambiguous overloaded top-level `fn` assignment to callback type,
- attempted assignment of service method to callback type,
- attempted assignment of host method to callback type,
- incompatible top-level `fn` assignment to `Fn` type,
- ambiguous overloaded top-level `fn` assignment to `Fn` type,
- attempted assignment of service method to `Fn` type,
- attempted assignment of host method to `Fn` type,
- `apply` on a non-callable target,
- arity mismatch in `apply`,
- argument type mismatch in `apply`,
@@ -816,24 +816,53 @@ At minimum, deterministic static diagnostics are required for:
## Existing values and input runtime alignment
The [PBS input and value alignment contract](../../../compiler/pbs/specs/input-and-existing-type-runtime-alignment.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
The [PBS input and value alignment contract](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter supplies shared static checks; Array-specific admissibility and
contextual construction are defined by that owner.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
Array syntax uses `array<T>` with compositional nesting. Explicit `new array<T>(n)` supplies its type; `new array<>(n)` and `new array(n)` use the expected type. The [Array contract](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md) defines contextual closers, spans, invariant validation and lowering; obsolete Array spellings are rejected.
## Parameterized contracts
Application identity combines the defining nominal declaration with ordered canonical logical arguments after alias resolution. Applications are invariant. Substitution preserves existing type-position restrictions, names, labels and complete groups across Array, Fn, optional, tuples and nested contracts. A struct/service may implement several applications, with complete unique implementations in its owner module. Finite instance recursion is accepted within resource limits; unbounded expansion receives a bounded diagnostic.
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
The [generic contract chapter](16.%20Generic%20Contracts%20Specification.md)
owns the complete application, substitution, coherence and bounded-validation rules.
Compilation and editor analysis MUST share that resolution.
## Concrete generic structs and free functions
Templates are checked symbolically in definition scope. Required concrete owners validate all methods and constructors, including unused methods. Substitute complete bodies and applied Self; preserve position restrictions, invariant nominal/phantom identity and logical groups. Explicit function applications filter generic overloads by type arity; ordinary calls never infer them. Bound owner implementations require complete exact signatures and symbolic overlap rejection before use. Finite recursive applications are anchored; expanding type/body families are bounded errors.
The [generic struct and free-function chapter](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md)
owns the complete application, substitution, coherence and bounded-validation rules.
Compilation and editor analysis MUST share that resolution.
See [Concrete generic structs and free functions](../../../compiler/pbs/specs/generic-structs-and-free-functions.md).
## Controlled guest lifecycle admission
`[BeforePause]` and `[BeforeResume]` targets MUST be nongeneric top-level
userland functions with explicit unit signature `fn name() -> void`, zero
parameters, zero logical results and zero captures. Marker arguments and
combinations with any other lifecycle marker are invalid; `[Doc]` remains
allowed. Globals are not captures. Normal calls and closure creation/use inside
the body remain subject to ordinary PBS rules.
Each role is independently optional and has at most one distinct target across
the compiled graph/image, including imported modules. Targets may be in any
compiled userland file, without colocation with `[Frame]`. Repeated imports of
the same source declaration MUST NOT manufacture duplicate targets; distinct
declarations for one role MUST produce a deterministic conflict diagnostic.
Direct calls remain normal calls and do not request an OS transition or create
a controlled invocation. Runtime FunctionId zero is reserved for the ordinary
entry; physical hook IDs are validated after linking. Init/Frame requirements
and their frontend/common assembly remain unchanged.
## Memcard integration
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
bootstrap, project identity/slot validation and complete installed mem ABI.
Its requirements apply in addition to this chapter; pause/resume remain independent.
@@ -562,11 +562,19 @@ new coverage; existing behavior MUST NOT regress.
A barrel exports a parameterized contract declaration with the same ordered parameters as its source declaration. Imported bindings retain the original declaration and lexical source scope, including aliases in signatures of dependencies. A local alias never creates another nominal type. Implementations remain in the declaring module of the concrete struct/service owner.
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
See [PBS generic contracts](16.%20Generic%20Contracts%20Specification.md).
## Concrete generic structs and free functions
Generic struct/function barrels export declarations and ordered parameters, including complete function signatures, rather than enumerated specializations. Imports and aliases preserve nominal origins and definition-scoped bodies/private helpers. Specializations are shared across equivalent uses and do not export private dependencies. SDK and program sources use the same language machinery.
See [Concrete generic structs and free functions](../../../compiler/pbs/specs/generic-structs-and-free-functions.md).
See [Concrete generic structs and free functions](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md).
## Memcard integration
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
bootstrap, project identity/slot validation and complete installed mem ABI.
Its requirements apply in addition to this chapter; pause/resume remain independent.
@@ -56,8 +56,8 @@ This document does not define:
Normative precedence:
1. Runtime authority (`docs/specs/hardware/topics/chapter-2.md`, `chapter-3.md`, `chapter-9.md`, `chapter-12.md`, `chapter-16.md`)
2. Bytecode authority (`docs/specs/bytecode/ISA_CORE.md`)
1. Runtime authority ([provider specifications](../../../../../runtime/docs/specs/runtime/README.md); [mirror and provenance policy](../../../vm-arch/README.md))
2. Bytecode authority ([provider Core ISA](../../../../../runtime/docs/vm-arch/ISA_CORE.md))
3. `1. Language Charter.md`
4. `3. Core Syntax Specification.md`
5. `4. Static Semantics Specification.md`
@@ -45,8 +45,8 @@ This document does not define:
Normative precedence:
1. Runtime authority (`docs/specs/hardware/topics/chapter-2.md`, `chapter-3.md`, `chapter-9.md`, `chapter-12.md`, `chapter-16.md`)
2. Bytecode authority (`docs/specs/bytecode/ISA_CORE.md`)
1. Runtime authority ([provider specifications](../../../../../runtime/docs/specs/runtime/README.md); [mirror and provenance policy](../../../vm-arch/README.md))
2. Bytecode authority ([provider Core ISA](../../../../../runtime/docs/vm-arch/ISA_CORE.md))
3. `1. Language Charter.md`
4. `3. Core Syntax Specification.md`
5. `4. Static Semantics Specification.md`
@@ -242,7 +242,7 @@ changes the rule:
- user-declared structs,
- services,
- contracts,
- callbacks,
- function values,
- `optional`,
- `result`,
- and any type with runtime-variable or heap-defined width.
@@ -563,4 +563,4 @@ The current temporary contract is:
## Existing values and input runtime alignment
The [PBS input and value alignment contract](../../../compiler/pbs/specs/input-and-existing-type-runtime-alignment.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
The [PBS input and value alignment contract](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
@@ -252,3 +252,11 @@ The current temporary contract is:
6. PBX `SYSC` declares required host bindings, not authority.
7. Loader validation fails if PBX host requirements exceed granted cartridge capabilities.
8. `manifest.json` is not entrypoint authority for PBS v1 boot.
## Memcard integration
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
bootstrap, project identity/slot validation and complete installed mem ABI.
Its requirements apply in addition to this chapter; pause/resume remain independent.
@@ -13,7 +13,7 @@ Its purpose is to make runtime behavior convergent across implementations by fix
- runtime evaluation of expressions and statements,
- abrupt completion and propagation behavior,
- runtime behavior of effect surfaces such as `optional` and `result`,
- the execution boundary between ordinary PBS code, callbacks, contract calls, and host-backed calls.
- the execution boundary between ordinary PBS code, function values, contract calls, and host-backed calls.
## 2. Scope
@@ -22,7 +22,7 @@ This document defines:
- the observable execution model of PBS core,
- evaluation order for expressions, statements, and blocks,
- runtime branch selection for `if` and `switch`,
- runtime application behavior for `apply`, call sugar, methods, contracts, callbacks, and host-backed call surfaces,
- runtime application behavior for `apply`, call sugar, methods, contracts, function values, and host-backed call surfaces,
- runtime behavior of `optional`, `result<E>`, `else`, `!`, and `handle`,
- abrupt completion (`return`, `break`, `continue`) and trap propagation,
- determinism requirements that affect execution behavior.
@@ -39,8 +39,8 @@ This document does not define:
Normative precedence:
1. Runtime authority (`docs/specs/hardware/topics/chapter-2.md`, `chapter-3.md`, `chapter-9.md`, `chapter-12.md`, `chapter-16.md`)
2. Bytecode authority (`docs/specs/bytecode/ISA_CORE.md`)
1. Runtime authority ([provider specifications](../../../../../runtime/docs/specs/runtime/README.md); [mirror and provenance policy](../../../vm-arch/README.md))
2. Bytecode authority ([provider Core ISA](../../../../../runtime/docs/vm-arch/ISA_CORE.md))
3. `3. Core Syntax Specification.md`
4. `4. Static Semantics Specification.md`
5. This document
@@ -265,7 +265,7 @@ The same observable call model applies to:
- struct methods,
- service methods,
- contract calls,
- callback calls,
- `Fn` calls,
- host-backed calls.
Callable-specific dispatch may differ internally, but it does not change the user-visible sequencing model defined in this document.
@@ -281,7 +281,7 @@ If a callable returns:
### 11.3 Closure creation and invocation
Explicit capture lists snapshot values at creation. Object references retain identity. Calls complete within the current frame; objects may remain reachable between frames. See [First-class functions and explicit value captures](../../../compiler/pbs/specs/first-class-functions-and-captures.md).
Explicit capture lists snapshot values at creation. Object references retain identity. Calls complete within the current frame; objects may remain reachable between frames. See [First-class functions and explicit value captures](15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
## 12. Branch Selection
@@ -377,8 +377,46 @@ This document is ready to move beyond temporary draft status only when:
## Existing values and input runtime alignment
The [PBS input and value alignment contract](../../../compiler/pbs/specs/input-and-existing-type-runtime-alignment.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
The [PBS input and value alignment contract](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md) governs int/Int32, long/Int64, exact builtin carriers, the Pad/Button/LowPad and Touch API, named-argument evaluation order, migration diagnostics and executable conformance. It supersedes older input-object and untyped executable-lowering descriptions.
## Typed arrays and optional execution extension
The [typed arrays and optional execution specification](../../../compiler/pbs/specs/typed-arrays-and-optional-execution.md) defines array types/construction/indexing, contextual literals, optional bindings and runtime storage. Its rules extend this specification, including source typing, complete groups, Struct/contract execution and diagnostics.
The [Array owner chapter](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
defines the complete type, optional-flow and storage contract.
This chapter supplies common evaluation and abrupt-completion rules; Array-specific
evaluation, presence and mutation rules are defined by that owner.
## Controlled pause and resume hooks
Source-selected BeforePause/BeforeResume functions lower to existing runtime
roles 1/2. Runtime owns invocation ordering, continuation, fuel and failures.
Home's existing handoff precedes BeforePause; suspension completes after normal
hook return. Reactivation precedes BeforeResume; no normal gameplay instruction
is eligible until that hook returns. Direct suspension and Shell handoff follow
the runtime contract without an additional gameplay reaction tick. Missing
hooks preserve existing transitions.
Controlled calls retain the same VM stacks, suspended values, environments,
globals and heap roots, restoring the continuation on outer return and handing
control immediately to the OS. Mutations persist. They MUST NOT reprepare entry,
repeat Init, reset the boot guard, or add gameplay ticks/logical frames. Ordinary
calls to marked functions do not themselves acquire controlled-call semantics.
Each controlled invocation has 1,500,000 virtual cycles total, sliced at at most
250,000 admitted cycles per host update, with the runtime's whole-instruction
overshoot rule. Slices/debugger stops do not renew fuel. There is no wall-clock
deadline. FRAME_SYNC, including in a callee, traps before frame/GC/publication
effects. Fatal traps/host failures and unfinished fuel exhaustion fail the
session, block gameplay and retain the existing crash envelope, without retry,
rollback or compensation. HALT is OS termination, not successful hook return.
Existing capability/service rules apply, without auto-save, flush, disk wait,
transition veto or reason argument. MemcardBoot and persistence follow the dedicated memcard chapter.
## Memcard integration
The [Memcard Bootstrap and SDK contract](<26. Memcard Bootstrap and SDK Specification.md>)
defines the additional [MemcardBoot] marker, exact signature, neutral once-only
bootstrap, project identity/slot validation and complete installed mem ABI.
Its requirements apply in addition to this chapter; pause/resume remain independent.
+57 -5
View File
@@ -1,5 +1,7 @@
# PBS Specs
Owner: `compiler/pbs`. Canonical source: `docs/specs/compiler-languages/pbs`.
This directory contains the normative PBS specification set.
## Installed Quickstart (Informative)
@@ -82,7 +84,7 @@ Specs define the official PBS language/frontend contract.
They exist to make behavior, constraints, and interfaces stable across implementations and reviews.
Cross-language acceptance rules are not defined here.
Those are maintained in `docs/general/specs`.
Those are maintained in `docs/specs/compiler`.
## Expected Format
@@ -143,12 +145,62 @@ That means:
- and Studio/LSP consume that contract without becoming owners of PBS semantic presentation assets.
The `@sdk:random` module exports `Random` and `random`. Use an explicit long seed;
copying a generator shares its state. Read `pbs:spec:runtime-random-integration.md`
copying a generator shares its state. Read `pbs:spec:20`
and `pbs:example:game:1:src/random.pbs` for the exact contract and a small example.
## Parameterized contracts
Parameterized nominal contracts, concrete frontend specialization, implementation/coercion rules, composition, recursion and production conformance are defined by the owner specification.
## Authority and reading order
See [PBS generic contracts](../../../compiler/pbs/specs/generic-contracts.md).
Read syntax and static semantics (3–4), module/SDK resolution (5), host/intrinsic
boundaries (6–8), execution/memory (9–10), and compiler projections (11–13).
Thematic chapters 14–25 own their complete feature contracts. Base chapters
retain syntax, AST, diagnostics and lowering responsibilities and refer to those
owners for detailed rules. The accepted explicit-initialization rule in chapter 17
applies to every completing ordinary/generic constructor, including Random fields.
[General compiler specifications](../../compiler/README.md) own shared handoff
and acceptance; the [runtime mirror policy](../../../vm-arch/README.md) identifies
the provider's separate ABI/execution authority. Keep those boundaries explicit.
## Chapter index
- [1. Language Charter](1.%20Language%20Charter.md)
- [2. Governance and Versioning](2.%20Governance%20and%20Versioning.md)
- [3. Core Syntax Specification](3.%20Core%20Syntax%20Specification.md)
- [4. Static Semantics Specification](4.%20Static%20Semantics%20Specification.md)
- [5. Manifest, Stdlib, and SDK Resolution Specification](5.%20Manifest%2C%20Stdlib%2C%20and%20SDK%20Resolution%20Specification.md)
- [6. VM-owned vs Host-backed](6.%20VM-owned%20vs%20Host-backed.md)
- [6.1. Intrinsics and Builtin Types Specification](6.1.%20Intrinsics%20and%20Builtin%20Types%20Specification.md)
- [6.2. Host ABI Binding and Loader Resolution Specification](6.2.%20Host%20ABI%20Binding%20and%20Loader%20Resolution%20Specification.md)
- [7. Cartridge Manifest and Runtime Capabilities Specification](7.%20Cartridge%20Manifest%20and%20Runtime%20Capabilities%20Specification.md)
- [8. Stdlib Environment Packaging and Loading Specification](8.%20Stdlib%20Environment%20Packaging%20and%20Loading%20Specification.md)
- [9. Dynamic Semantics Specification](9.%20Dynamic%20Semantics%20Specification.md)
- [10. Memory and Lifetime Specification](10.%20Memory%20and%20Lifetime%20Specification.md)
- [11. AST Specification](11.%20AST%20Specification.md)
- [12. Diagnostics Specification](12.%20Diagnostics%20Specification.md)
- [13. Lowering IRBackend Specification](13.%20Lowering%20IRBackend%20Specification.md)
- [14. Typed Arrays and Optional Execution Specification](14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md)
- [15. First-Class Functions and Captures Specification](15.%20First-Class%20Functions%20and%20Captures%20Specification.md)
- [16. Generic Contracts Specification](16.%20Generic%20Contracts%20Specification.md)
- [17. Generic Structs and Free Functions Specification](17.%20Generic%20Structs%20and%20Free%20Functions%20Specification.md)
- [18. Input and Existing Type Runtime Alignment Specification](18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md)
- [19. Service Constants and Runtime Math Specification](19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md)
- [20. Runtime Random Integration Specification](20.%20Runtime%20Random%20Integration%20Specification.md)
- [21. SDK List and Cursor Specification](21.%20SDK%20List%20and%20Cursor%20Specification.md)
- [22. SDK Linked and Cursor Specification](22.%20SDK%20Linked%20and%20Cursor%20Specification.md)
- [23. SDK Set and Identity Specification](23.%20SDK%20Set%20and%20Identity%20Specification.md)
- [24. SDK Map and Keyval Specification](24.%20SDK%20Map%20and%20Keyval%20Specification.md)
- [25. SDK Stack and Queue Specification](25.%20SDK%20Stack%20and%20Queue%20Specification.md)
## Installed reference compatibility
Each numbered chapter is indexed as `pbs:spec:<number>`; this README is
`pbs:quickstart`. Published filename-based IDs for chapters 14–25 remain aliases
of the same canonical packaged text and hash. New callers should use the numbered
IDs returned by project context. The alias catalog is generated by the frontend
build from this single source directory. It does not read a second spec tree.
The internal resource path is `pbs-knowledge/specs/<numbered filename>.md`;
reference clients resolve IDs through the catalog instead of constructing paths.
- [Memcard Bootstrap and SDK](<26. Memcard Bootstrap and SDK Specification.md>): opt-in persistence producer and runtime-consumer boundaries.

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