Compare commits

...
Author SHA1 Message Date
bquarkz e1e13b47ac fix(compiler): enforce deterministic semantic facts in IR contract
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-11-11 09:34:51 +00:00
bquarkz 1471b427f1 feat(studio): deliver asset authoring and automation workflows
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
Add shared human/task asset batches with reviewed atomic publication, explicit
reference rebinds, ownership inspection and qualified glyph/scene budgets.
Expose the same authoring and capacity results through Assets and MCP.

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

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

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

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

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

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

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

Qualify native dev/release with ordinary and optimized producers, zero-allocation
playback, private-cycle reclamation, canonical Composer pixels, installed JARs
and JavaFX lifecycle. Preserve the runtime checkout and existing host ABI.
2026-11-05 15:16:07 +00:00
bquarkz 1d8b8c2101 feat(studio): integrate memcard persistence and headless controls
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
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
bquarkz 01a1968689 feat(pbs): add Map and read-only Keyval associations
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-10-26 20:37:06 +00:00
bquarkz 8105604f92 feat(pbs): add Set and reusable identity hashing 2026-10-25 12:15:13 +00:00
bquarkz 632ba6d0d6 refactor(compiler)!: migrate SDK to minimal storage ISA
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Replace retired guards and publication opcodes with SDK checks, neutral TRAP and sequential List/Linked mutations with explicit failure phases. Preserve snapshot cursors and import schema 2 metadata with the delivered provider pin.

Include common/source/installed conformance, debug and release evidence, synchronized specs and the consolidated lesson. Runtime checkout remains unchanged.
2026-10-24 01:35:42 +01:00
bquarkz 77aada6259 feat(pbs): add linked collections and bidirectional snapshots
Implement SDK linked<T> with forward and reverse Cursor snapshots, trusted compiler integration, and neutral FIELDS_PUBLISH producer support. Pin the tested runtime revision and include specs, editor and installed knowledge coverage, conformance fixtures, and DSC-0091 lessons and evidence.
2026-10-23 10:28:44 +01:00
bquarkz c410e35001 feat(pbs): add mutable lists and stable snapshot cursors
Implement SDK list<T> and Cursor<T> with trusted compiler bindings and generic storage publication across IR and PBX. Pin the runtime provider and include specs, conformance coverage, installed examples, and DSC-0090 lessons.
2026-10-23 00:46:39 +01:00
bquarkz 76a8b074e8 feat(pbs): add concrete generic structs and free functions 2026-10-22 14:42:38 +01:00
bquarkz 240216170c feat(pbs): add parametric arrays and concrete generic contracts
Support explicit contract type parameters, canonical nominal applications,
recursive substitution, concrete implementations and instantiated editor views.
Complete parametric Array syntax and contextual construction integration.

Preserve type origins across imports and reexports, fix trait argument stack
order, and relocate global slots before lifecycle assembly. Publish specs,
installed examples and consolidated discussion lessons.

Validate frontend, common pipeline, architecture, LSP and installed knowledge
gates, plus the full production VM conformance corpus with 14 generic fixtures.
2026-10-20 11:30:00 +01:00
bquarkz b62db87245 feat(pbs): integrate explicit runtime Random handles 2026-10-17 13:51:12 +01:00
bquarkz d1e9259085 feat(pbs): add service constants and runtime math integration 2026-10-17 11:21:58 +01:00
bquarkz 2a418085d2 feat(pbs): implement first-class functions and explicit captures 2026-10-17 01:27:52 +01:00
bquarkz 39df63581c feat(pbs): implement typed arrays, optional binding and contract execution 2026-10-16 16:21:33 +01:00
bquarkz c4e1b9055d fix(compiler): isolate PBS conformance tests from common pipeline 2026-10-16 11:56:55 +01:00
bquarkz a04214a705 fix(mcp): allow runtime error details in tool output schemas 2026-10-16 11:51:55 +01:00
bquarkz 91eb86f317 test(packer): qualify asset contracts and improve Jenkins reporting 2026-10-16 11:47:58 +01:00
bquarkz 13c0ababbb feat(pbs): align typed values and Pad input facade
Test / Build occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
Intrepid/Prometeu/Studio/pipeline/head There was a failure building this commit
2026-10-15 15:48:50 +01:00
bquarkz 603ed01227 feat(compiler): port runtime catalogs and enforce target ABI (AGD77)
Import both runtime catalogs and provenance, port all intrinsic metadata and exact constants, and validate target signatures and carriers through the common pipeline. Package matching compiler/SDK resources and add active parity plus production runtime conformance checks.

Validation: 420 compiler/PBS tests passed, with 12 existing skips; provider export, runtime execution and installed catalog checks passed. The pre-existing Gfx.clear typed-metadata failure remains active and assigned to AGD78 under the explicitly accepted scope revision recorded in LSN-0080.
2026-10-15 13:07:49 +01:00
bquarkz bd5694dbdf feat(compiler): implement typed registry and production PBX conformance (AGD76) 2026-10-14 21:04:04 +01:00
bquarkz a9ede541af Merge pull request 'feat(pbs): resolve editorial chains and expose read-only external sources' (#35) from dev/pbs-editorial-chains-sdk-navigation into master
Test / Build skipped: 16, passed: 942
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 66.91% (23371/34928) * Branch Coverage: 56.47% (9948/17616) * Lines of Code: 34928 * Cyclomatic Complexity: 15041 #### Quality Gates Summary Output truncated.
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #35
2026-10-07 08:36:18 +00:00
bquarkz d71e46ade8 fix(ci): publish coverage separately from test checks
Test / Build skipped: 16, passed: 838
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 66.91% (23370/34928) * Branch Coverage: 56.47% (9947/17616) * Lines of Code: 34928 * Cyclomatic Complexity: 15041 #### Quality Gates Summary Output truncated.
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-10-07 09:25:14 +01:00
bquarkz 8dff6d8d5f package testing
Test / Build skipped: 16, passed: 838
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-10-07 09:09:31 +01:00
bquarkz 967b9ec598 feat(pbs): resolve editorial chains and expose read-only external sources
Intrepid/Prometeu/Studio/pipeline/head Build started...
Test / Build skipped: 16, passed: 838
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-10-07 09:00:31 +01:00
bquarkz d0737df0ac feat(studio): integrate project MCP setup and lifecycle
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Test / Build skipped: 15, passed: 926
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-09-29 19:24:28 +01:00
bquarkz 97cf5e1919 Merge branch 'dev/studio-headless-runtime-ai-first'
Test / Build skipped: 15, passed: 909
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-09-29 16:42:37 +01:00
bquarkz 3f675ca0c9 test: separate LSP initialization and shutdown timeouts
Test / Build skipped: 15, passed: 805
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-09-29 16:33:36 +01:00
bquarkz 73aaeb0832 fix: synchronize automation termination and stabilize headless tests
Test / Build occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
2026-09-29 16:14:21 +01:00
bquarkz 546c6d1ee5 docs: consolidate Studio AI-first acceptance and lessons
Test / Build occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
Intrepid/Prometeu/Studio/pipeline/head There was a failure building this commit
2026-09-29 15:55:09 +01:00
bquarkz 4c3597a2fb record external agent acceptance and packaging validation 2026-09-29 13:33:40 +01:00
bquarkz e6a83c94e0 verify automation interruption recovery and manual debug lifecycle 2026-09-29 12:06:48 +01:00
bquarkz 4f148a50de verify real MCP runtime and DEV framebuffer parity 2026-09-29 11:40:02 +01:00
bquarkz 379420e7a9 compose real headless runtime with task build and lifecycle 2026-09-29 11:27:42 +01:00
bquarkz bc76f08bbd implement real headless process gateway and supervision 2026-09-29 11:02:21 +01:00
bquarkz 9592c9b274 connect DEV to live MCP configuration and verify tool conformance 2026-09-29 10:36:50 +01:00
bquarkz 20bbbd26bd expose task control and deduplicated operations through MCP 2026-09-29 10:26:19 +01:00
bquarkz c1834bad1f connect MCP language queries to project LSP 2026-09-29 09:21:59 +01:00
bquarkz feb57c5298 package PBS references and expose paginated MCP reads 2026-09-29 08:48:33 +01:00
bquarkz 58f11a8123 expose manifest-driven project knowledge through MCP 2026-09-29 08:30:38 +01:00
bquarkz 9f61f9c07d add MCP tool contracts and authenticated local HTTP transport 2026-09-29 07:55:29 +01:00
bquarkz e3c3b2cbb7 implement DEV workspace and project automation authority 2026-09-29 07:09:37 +01:00
bquarkz 0ddf3ef70d Merge pull request 'dev/studio-core-javafx-decoupling' (#32) from dev/studio-core-javafx-decoupling into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 64.03% (20490/31999) * Branch Coverage: 54.25% (8244/15196) * Lines of Code: 31999 * Cyclomatic Complexity: 13164 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 819
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #32
2026-09-25 10:38:40 +00:00
bquarkz a0a5050d5e complete Studio core and JavaFX boundary migration
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 64.01% (20482/31999) * Branch Coverage: 54.22% (8240/15196) * Lines of Code: 31999 * Cyclomatic Complexity: 13164 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 715
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-09-25 11:28:18 +01:00
bquarkz 10f1b3f87c clean up 2026-09-24 07:41:17 +01:00
bquarkz 7011209675 Merge pull request 'dev/pbs-lsp-remaining-editor-surface' (#31) from dev/pbs-lsp-remaining-editor-surface into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.92% (20214/31624) * Branch Coverage: 54.09% (8188/15137) * Lines of Code: 31624 * Cyclomatic Complexity: 13003 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 701
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #31
2026-09-22 09:00:21 +00:00
bquarkz 274ce28e8d clean up and fixes
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.92% (20214/31624) * Branch Coverage: 54.09% (8188/15137) * Lines of Code: 31624 * Cyclomatic Complexity: 13003 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 701
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-09-22 09:53:21 +01:00
bquarkz 1fcecdb04d implements PLN-0137 (7/7) call-hierarchy
Call hierarchy walks CallExpr nodes for functions and methods. It does
not use the references index. A cursor that is not on a callable is
empty, and type hierarchy stays unadvertised.

Housekeep DSC-0066 with LSN-0074.
2026-09-22 09:20:28 +01:00
bquarkz e456bb8d7a implements PLN-0137 (6/7) module-ref-completion
Completion inside a ModuleRef lists project and stdlib modules the
current resolver can already name. Completion after a dot stays the
existing member list. Items remain eager, resolveProvider stays false,
and there is no snippet or ranking score.
2026-09-22 09:13:40 +01:00
bquarkz 202c785f94 implements PLN-0137 (5/7) semantic-token-overlay
Keep the lexical token provider as the baseline. When hover resolution
names a symbol and an existing semantic key matches it, replace the
weaker identifier token. A failed resolution, a broken file, or a
symbol without an existing key keeps the provider token. No new
semantic key is added.
2026-09-22 09:09:43 +01:00
bquarkz 7629a73e0a implements PLN-0137 (4/7) document-formatting
Advertise full-document formatting only. The formatter reprints the
token stream and changes indentation by four spaces where brace or
parenthesis nesting changes. Doc text-block interiors stay as written,
comments stay on their current line, and declarations are not reordered.
Range formatting and on-type formatting stay off.
2026-09-22 08:50:18 +01:00
bquarkz ce2e3e4cd3 implements PLN-0137 (3/7) folding-and-selection-ranges
Advertise folding and selection only when the frontend supports them.
Folding uses recovered spans for the listed declarations, their bodies,
parameter lists, and Doc text blocks. A brace, parenthesis, or text
block the tree does not cover still folds, including an unmatched
opener through the end of the text. Selection grows outward from the
identifier to the argument or parameter list, the block, and the
declaration.
2026-09-22 08:45:31 +01:00
bquarkz 3320f222bb implements PLN-0137 (2/7) document-links
Advertise document links only when the frontend supports them.
A link covers the ModuleRef span when module assembly already
bound that module to a regular file. Virtual stdlib and unresolved
modules produce no link.
2026-09-22 08:34:13 +01:00
bquarkz 099857b636 implements PLN-0137 (1/7) diagnostic-source
Lock DSC-0066 on Q1-A and Q2-A. Retire AGD-0048 through AGD-0056
into AGD-0069, DEC-0058, and PLN-0137.

Published editor diagnostics use the bound frontend language id as
source. For PBS that is pbs. The stable compiler code stays in code
and is not copied into source. Related locations, phase, and repair
payload stay unpublished.
2026-09-22 08:11:06 +01:00
bquarkz 20adc196d9 Merge pull request 'implements PLN-0136' (#30) from dev/pbs-lsp-code-actions-and-quick-fixes into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.75% (19407/30442) * Branch Coverage: 54.17% (7740/14289) * Lines of Code: 30442 * Cyclomatic Complexity: 12365 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 685
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #30
2026-09-22 06:51:07 +00:00
bquarkz ae891262e1 implements PLN-0136
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.75% (19407/30442) * Branch Coverage: 54.17% (7740/14289) * Lines of Code: 30442 * Cyclomatic Complexity: 12365 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 685
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Add PBS quick fixes as frontend-owned repairs transported by the LSP.
Duplicate reserved attributes are deleted at the extra span. Interface
InitAllowed attributes with arguments become [InitAllowed]. The server
matches Diagnostic.code plus range, does not parse messages, and returns
an empty list when the capability or the fix is absent.

Housekeep DSC-0044 with LSN-0073.
2026-09-22 07:43:05 +01:00
bquarkz 6f45f4f205 Merge pull request 'implements PLN-0135' (#29) from dev/pbs-lsp-rename-symbol into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.56% (19159/30145) * Branch Coverage: 54.14% (7612/14060) * Lines of Code: 30145 * Cyclomatic Complexity: 12214 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 678
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #29
2026-09-22 05:54:40 +00:00
bquarkz 65d2d40310 implements PLN-0135
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.56% (19159/30145) * Branch Coverage: 54.14% (7612/14060) * Lines of Code: 30145 * Cyclomatic Complexity: 12214 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 678
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Add PBS rename as a validated WorkspaceEdit of physical identifier
sites on FrontendLanguageService. Identity is definition; locals and
params rename from their name span. Refuse aliases, virtual stdlib,
builtins, error labels, keywords, and collisions. Advertise
renameProvider with prepareProvider; refused cursors are LSP errors,
not empty success.

Housekeep DSC-0043 with LSN-0072.
2026-09-22 06:40:18 +01:00
bquarkz fa21a029ae Merge pull request 'implements PLN-0134' (#28) from dev/pbs-lsp-workspace-symbols into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.37% (18783/29640) * Branch Coverage: 53.99% (7369/13648) * Lines of Code: 29640 * Cyclomatic Complexity: 11938 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 674
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #28
2026-09-21 16:27:42 +00:00
bquarkz 12e2a4edcc implements PLN-0134
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 63.37% (18783/29640) * Branch Coverage: 53.99% (7369/13648) * Lines of Code: 29640 * Cyclomatic Complexity: 11938 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 674
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Add PBS workspace symbols as a physical flatten of the outline
named-declaration set on FrontendLanguageService. Regular files
only; virtual stdlib, barrels, imports, locals, and compile-only
frontends stay empty. Advertise workspaceSymbolProvider with flat
SymbolInformation. workspace/symbol does not require an open
document.

Housekeep DSC-0042 with LSN-0071.
2026-09-21 17:18:00 +01:00
bquarkz 78d10cf03c Merge pull request 'implements PLN-0133' (#27) from dev/pbs-lsp-document-symbols-and-outline into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.84% (18504/29445) * Branch Coverage: 53.33% (7215/13528) * Lines of Code: 29445 * Cyclomatic Complexity: 11850 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 669
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #27
2026-09-21 09:23:52 +00:00
bquarkz 5d3d48e802 implements PLN-0133
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.84% (18504/29445) * Branch Coverage: 53.33% (7215/13528) * Lines of Code: 29445 * Cyclomatic Complexity: 11850 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 669
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Add PBS document symbols as an AST-backed hierarchical outline of
the open .pbs file on FrontendLanguageService. Recovered syntax is
enough; unnamed InvalidDecl is omitted; barrels, imports, locals,
and compile-only frontends stay empty. Advertise documentSymbolProvider
with hierarchical DocumentSymbol.

Housekeep DSC-0041 with LSN-0070.
2026-09-21 10:16:14 +01:00
bquarkz 331ad752d1 Merge pull request 'implements PLN-0132' (#26) from dev/pbs-lsp-find-references into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.51% (18192/29102) * Branch Coverage: 53.15% (7093/13345) * Lines of Code: 29102 * Cyclomatic Complexity: 11715 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 663
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #26
2026-09-21 08:00:40 +00:00
bquarkz 9458312d73 implements PLN-0132
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.51% (18192/29102) * Branch Coverage: 53.15% (7093/13345) * Lines of Code: 29102 * Cyclomatic Complexity: 11715 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 663
Add PBS find-references as the request-local inverse of definition
identity on FrontendLanguageService. Usage sites are identifier
tokens whose definition locations intersect the cursor set.
Empty results stay honest when definition is empty, including
virtual stdlib paths. Honor includeDeclaration in the LSP bridge.

Housekeep DSC-0040 with LSN-0069.
2026-09-21 08:54:11 +01:00
bquarkz 4b72b2a0dd Merge pull request 'implements PLN-0131' (#25) from dev/pbs-lsp-go-to-definition into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.22% (17996/28921) * Branch Coverage: 52.87% (6986/13213) * Lines of Code: 28921 * Cyclomatic Complexity: 11624 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 659
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #25
2026-09-21 06:57:41 +00:00
bquarkz c2112f6ee1 implements PLN-0131
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.22% (17996/28921) * Branch Coverage: 52.87% (6986/13213) * Lines of Code: 28921 * Cyclomatic Complexity: 11624 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 659
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Add PBS go-to-definition as hover editorial lookup plus physical
declaration locations on FrontendLanguageService. Empty results stay
honest when the target is not a regular file, including virtual stdlib
paths.

Housekeep DSC-0039 with LSN-0068.
2026-09-21 07:50:14 +01:00
bquarkz 9896e7c657 Merge pull request 'implements PLN-0130' (#24) from dev/multi-frontend-avoid-premature-abstractions into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.10% (17811/28682) * Branch Coverage: 52.81% (6878/13025) * Lines of Code: 28682 * Cyclomatic Complexity: 11494 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 654
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #24
2026-09-19 02:47:17 +00:00
bquarkz 4574aa17c3 implements PLN-0130
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.10% (17811/28682) * Branch Coverage: 52.81% (6878/13025) * Lines of Code: 28682 * Cyclomatic Complexity: 11494 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 654
Record the multi-frontend simplicity guardrails in an English lesson:
static registry is allowed, new abstractions need a real in-repo
consumer, and plugin-style infrastructure stays forbidden.

Housekeep DSC-0065 with LSN-0067.
2026-09-19 03:44:10 +01:00
bquarkz bb010d565e Merge pull request 'implements PLN-0129' (#23) from dev/multi-frontend-architectural-tests into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.10% (17811/28682) * Branch Coverage: 52.81% (6878/13025) * Lines of Code: 28682 * Cyclomatic Complexity: 11494 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 654
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #23
2026-09-19 02:40:48 +00:00
bquarkz e809ce63d3 implements PLN-0129
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.10% (17811/28682) * Branch Coverage: 52.81% (6878/13025) * Lines of Code: 28682 * Cyclomatic Complexity: 11494 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 654
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Add ArchUnit guards for Java multi-frontend boundaries in a test-only
module. Identify PBS by frontend-module origin, allow only the registry
as composition root, and lock the wording in specs 19, 20, and 22.

Housekeep DSC-0064 with LSN-0066.
2026-09-19 03:32:43 +01:00
bquarkz 59c0d0c3b4 Merge pull request 'implements PLN-0128' (#22) from dev/multi-frontend-synthetic-test-frontend into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.10% (17811/28682) * Branch Coverage: 52.81% (6878/13025) * Lines of Code: 28682 * Cyclomatic Complexity: 11494 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 653
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #22
2026-09-19 02:10:09 +00:00
bquarkz 79a682b8ec implements PLN-0128
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 62.10% (17811/28682) * Branch Coverage: 52.81% (6878/13025) * Lines of Code: 28682 * Cyclomatic Complexity: 11494 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 653
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Add a test-only synth FrontendProvider that traverses compile() to
verified bytecode without PBS. Expose register/unregister on the static
registry and lock the obligation in specs 23 and 22.

Housekeep DSC-0063 with LSN-0065.
2026-09-19 03:03:37 +01:00
bquarkz d0b91f8526 Merge pull request 'implements PLN-0127' (#21) from dev/multi-frontend-sdk-canonical-definition into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17766/28676) * Branch Coverage: 52.69% (6860/13019) * Lines of Code: 28676 * Cyclomatic Complexity: 11490 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 648
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #21
2026-09-19 01:39:18 +00:00
bquarkz 2b881f5a76 implements PLN-0127
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17766/28676) * Branch Coverage: 52.69% (6860/13019) * Lines of Code: 28676 * Cyclomatic Complexity: 11490 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 648
Publish the console ABI authority map: runtime catalogs win, PBS stdlib is
delivery. Recut specs 18, 8, and 6.2 and lock them with ConsoleAbiAuthoritySpecTest.

Housekeep DSC-0061 with LSN-0064.
2026-09-19 02:35:05 +01:00
bquarkz 4d8dcf28bb Merge pull request 'implements PLN-0126' (#20) from dev/multi-frontend-validation-boundaries into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17766/28676) * Branch Coverage: 52.69% (6860/13019) * Lines of Code: 28676 * Cyclomatic Complexity: 11490 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 645
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #20
2026-09-19 00:16:57 +00:00
bquarkz d7c2ec880f implements PLN-0126
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17766/28676) * Branch Coverage: 52.69% (6860/13019) * Lines of Code: 28676 * Cyclomatic Complexity: 11490 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 645
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Publish the language-versus-platform validation matrix in compiler-general
specs, retitle spec 19, and recut PBS diagnostics so common structural
failures are not PBS coverage.

Housekeep DSC-0060 with LSN-0063.
2026-09-19 01:11:50 +01:00
bquarkz c248b91147 Merge pull request 'implements PLN-0125' (#19) from dev/multi-frontend-common-lifecycle into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17766/28676) * Branch Coverage: 52.69% (6860/13019) * Lines of Code: 28676 * Cyclomatic Complexity: 11490 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 643
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #19
2026-09-18 23:40:50 +00:00
bquarkz 46bd0c42d3 implements PLN-0125
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17766/28676) * Branch Coverage: 52.69% (6860/13019) * Lines of Code: 28676 * Cyclomatic Complexity: 11490 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 643
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Move lifecycle assembly out of the PBS frontend into a common
AssembleLifecyclePipelineStage. PBS emits a typed IRLifecycleDeclaration;
the assembler owns wrappers, boot guard, and single project-init execution.

Housekeep DSC-0059 with LSN-0062, and include the DSC-0062 PVM/PBX
neutrality spec and lesson already present on this branch.
2026-09-19 00:19:45 +01:00
bquarkz c6ef56114f Merge pull request 'dev/multi-frontend-serializable-ir' (#18) from dev/multi-frontend-serializable-ir into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.73% (17590/28493) * Branch Coverage: 52.45% (6778/12924) * Lines of Code: 28493 * Cyclomatic Complexity: 11423 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 624
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #18
2026-07-15 12:47:12 +00:00
bquarkz 701f5b0339 housekeep DSC-0058
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.73% (17590/28493) * Branch Coverage: 52.45% (6778/12924) * Lines of Code: 28493 * Cyclomatic Complexity: 11423 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 624
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-07-15 13:12:36 +01:00
bquarkz cc4cb23b76 implements PLN-0123 2026-07-15 13:03:57 +01:00
bquarkz f42c83bdca implements PLN-0122 2026-07-15 13:02:09 +01:00
bquarkz cf14039077 implements PLN-0121 2026-07-15 12:59:35 +01:00
bquarkz 1f1a92d43f implements PLN-0120 2026-07-15 12:57:36 +01:00
bquarkz 38790c0b45 implements PLN-0119 2026-07-15 12:55:50 +01:00
bquarkz 5f6bd408a4 Unique and Serializable IR 2026-07-15 12:54:39 +01:00
bquarkz a77dce1c56 Merge pull request 'dev/multi-frontend-frontend-backend-contract' (#17) from dev/multi-frontend-frontend-backend-contract into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.73% (17588/28493) * Branch Coverage: 52.44% (6777/12924) * Lines of Code: 28493 * Cyclomatic Complexity: 11423 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 619
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #17
2026-07-15 11:45:42 +00:00
bquarkz b9a32e460a housekeep DSC-0057
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.73% (17588/28493) * Branch Coverage: 52.44% (6777/12924) * Lines of Code: 28493 * Cyclomatic Complexity: 11423 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 619
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 12:18:44 +01:00
bquarkz e8079b67fb implements PLN-0118 2026-07-15 12:13:40 +01:00
bquarkz bde999f1fe implements PLN-0117 2026-07-15 12:10:10 +01:00
bquarkz 26c69d5660 Stable contract FE/BE 2026-07-15 12:07:07 +01:00
bquarkz ffd2975484 Merge pull request 'dev/multi-frontend-remove-pbs-branches' (#16) from dev/multi-frontend-remove-pbs-branches into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.73% (17588/28493) * Branch Coverage: 52.44% (6777/12924) * Lines of Code: 28493 * Cyclomatic Complexity: 11423 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 616
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #16
2026-07-15 10:47:09 +00:00
bquarkz a62ddb0f74 LSP contract generalization
Intrepid/Prometeu/Studio/pipeline/head Build started...
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.73% (17588/28493) * Branch Coverage: 52.44% (6777/12924) * Lines of Code: 28493 * Cyclomatic Complexity: 11423 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 616
2026-07-15 11:40:02 +01:00
bquarkz 79e4a64ff2 implements PLN-0116 2026-07-15 11:33:43 +01:00
bquarkz 3ca58dcc24 implements PLN-0115 2026-07-15 11:31:02 +01:00
bquarkz bb8669bf46 implements PLN-0114 2026-07-15 11:29:02 +01:00
bquarkz 6205b82e0b implements PLN-0113 2026-07-15 11:26:53 +01:00
bquarkz 088101449a implements PLN-0112 2026-07-15 11:24:22 +01:00
bquarkz b1e75973f9 implements PLN-0111 2026-07-15 11:22:38 +01:00
bquarkz 3ee0da3c0a cleanup
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.54% (17430/28323) * Branch Coverage: 52.41% (6739/12858) * Lines of Code: 28323 * Cyclomatic Complexity: 11353 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 611
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 10:40:50 +01:00
bquarkz 29f46c6606 Merge pull request 'dev/multi-frontend-compiler-vs-language-services' (#15) from dev/multi-frontend-compiler-vs-language-services into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.54% (17430/28323) * Branch Coverage: 52.41% (6739/12858) * Lines of Code: 28323 * Cyclomatic Complexity: 11353 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 611
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #15
2026-07-15 09:32:07 +00:00
bquarkz 30e3e4145a Merge branch 'master' into dev/multi-frontend-compiler-vs-language-services
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.54% (17430/28323) * Branch Coverage: 52.41% (6739/12858) * Lines of Code: 28323 * Cyclomatic Complexity: 11353 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 611
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-07-15 10:01:21 +01:00
bquarkz 4233b90b82 housekeep DSC-0055
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.54% (17430/28323) * Branch Coverage: 52.41% (6739/12858) * Lines of Code: 28323 * Cyclomatic Complexity: 11353 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 611
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 09:55:08 +01:00
bquarkz da00e9c50c implements PLN-0110 2026-07-15 09:45:49 +01:00
bquarkz fee89d7522 implements PLN-0109 2026-07-15 09:43:30 +01:00
bquarkz bc95b33bd9 implements PLN-0108 2026-07-15 09:41:54 +01:00
bquarkz 6cd24bf14f implements PLN-0107 2026-07-15 09:40:13 +01:00
bquarkz b86cf0117d Merge pull request 'dev/multi-frontend-provider-contract' (#14) from dev/multi-frontend-provider-contract into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.49% (17397/28294) * Branch Coverage: 52.32% (6724/12852) * Lines of Code: 28294 * Cyclomatic Complexity: 11339 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 608
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #14
2026-07-15 07:42:35 +00:00
bquarkz 6fdb4828c3 housekeep DSC-0054
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.49% (17397/28294) * Branch Coverage: 52.32% (6724/12852) * Lines of Code: 28294 * Cyclomatic Complexity: 11339 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 608
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-07-15 08:37:22 +01:00
bquarkz 44f03f771b implements PLN-0106
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.49% (17397/28294) * Branch Coverage: 52.32% (6724/12852) * Lines of Code: 28294 * Cyclomatic Complexity: 11339 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 608
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-07-15 08:32:19 +01:00
bquarkz ba3af3c01b implements PLN-0105 2026-07-15 08:29:51 +01:00
bquarkz 66c1b1a033 implements PLN-0104 2026-07-15 08:28:30 +01:00
bquarkz f8b9c5b27d implements PLN-0103 2026-07-15 08:26:37 +01:00
bquarkz e99bb58453 Multi Provider FE content 2026-07-15 08:24:56 +01:00
bquarkz db0b71c9ad fix issues with wrong magic number on PBX
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.37% (17351/28272) * Branch Coverage: 52.31% (6722/12850) * Lines of Code: 28272 * Cyclomatic Complexity: 11325 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 08:15:09 +01:00
bquarkz 35b65bb524 multi FE adjustment agendas
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.37% (17351/28272) * Branch Coverage: 52.31% (6722/12850) * Lines of Code: 28272 * Cyclomatic Complexity: 11325 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 07:58:23 +01:00
bquarkz 6e594c15d7 add LSP agendas
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.37% (17351/28272) * Branch Coverage: 52.31% (6722/12850) * Lines of Code: 28272 * Cyclomatic Complexity: 11325 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 07:40:45 +01:00
bquarkz d58a96a4c4 Merge pull request 'dev/pbs-symbol-documentation-and-hover-markdown' (#13) from dev/pbs-symbol-documentation-and-hover-markdown into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.37% (17351/28272) * Branch Coverage: 52.31% (6722/12850) * Lines of Code: 28272 * Cyclomatic Complexity: 11325 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #13
2026-07-15 06:36:29 +00:00
bquarkz 725c28b3f5 implements PLN-0102
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.37% (17351/28272) * Branch Coverage: 52.31% (6722/12850) * Lines of Code: 28272 * Cyclomatic Complexity: 11325 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 601
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-15 07:22:58 +01:00
bquarkz d8db99eb81 implements PLN-0101 2026-07-15 07:20:42 +01:00
bquarkz 63215ac02f implements PLN-0100 2026-07-15 07:18:19 +01:00
bquarkz e7647165bc implements PLN-0099 2026-07-15 07:12:03 +01:00
bquarkz f32a25eb59 implements PLN-0098 2026-07-15 07:10:15 +01:00
bquarkz d680504c31 implements PLN-0097 2026-07-15 07:08:11 +01:00
bquarkz aeea8ca900 implements PLN-0096 2026-07-15 07:05:45 +01:00
bquarkz 05dd37a30a implements PLN-0095 2026-07-15 07:00:43 +01:00
bquarkz f700e400d5 implements PLN-0094 2026-07-15 06:59:16 +01:00
bquarkz 2b25364252 implements PLN-0093 2026-07-15 06:57:19 +01:00
bquarkz 917b0e1b9a implements PLN-0092 2026-07-15 06:55:26 +01:00
bquarkz ad2ae00f39 Variable Glyph Bank Palette Serialization
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.08% (17147/28073) * Branch Coverage: 51.93% (6599/12707) * Lines of Code: 28073 * Cyclomatic Complexity: 11234 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 583
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-07-14 16:53:20 +01:00
bquarkz fa089c5cd0 Merge pull request 'dev/variable-tile-bank-palette-serialization' (#12) from dev/variable-tile-bank-palette-serialization into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.08% (17147/28073) * Branch Coverage: 51.93% (6599/12707) * Lines of Code: 28073 * Cyclomatic Complexity: 11234 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 583
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #12
2026-07-14 15:47:50 +00:00
bquarkz ae1ba0d2d3 implements PLN-0091
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.08% (17147/28073) * Branch Coverage: 51.93% (6599/12707) * Lines of Code: 28073 * Cyclomatic Complexity: 11234 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 583
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-07-14 16:33:59 +01:00
bquarkz ffa41db994 implements PLN-0090 2026-07-14 16:30:53 +01:00
bquarkz 13425cee03 implements PLN-0089 2026-07-14 16:29:18 +01:00
bquarkz fae4e9a9fd implements PLN-0088 2026-07-14 16:27:54 +01:00
bquarkz 340442d374 implements PLN-0087 2026-07-14 16:25:52 +01:00
bquarkz 013ca4355c Variable Glyph Bank Palette Serialization 2026-07-14 16:23:42 +01:00
bquarkz 3f99e90ac8 Logical Render Pipelines and Command Packets
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.06% (17124/28043) * Branch Coverage: 51.92% (6584/12681) * Lines of Code: 28043 * Cyclomatic Complexity: 11219 #### Quality Gates Summary Output truncated.
Test / Build skipped: 15, passed: 594
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-05-25 19:34:19 +01:00
bquarkz 81437b1fc3 Merge pull request 'dev/studio-packer-rgba8888-asset-pipeline' (#11) from dev/studio-packer-rgba8888-asset-pipeline into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.03% (17116/28043) * Branch Coverage: 51.80% (6569/12681) * Lines of Code: 28043 * Cyclomatic Complexity: 11219 #### Quality Gates Summary Output truncated.
Test / Build skipped: 16, passed: 593
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #11
2026-05-24 21:46:21 +00:00
bquarkz cc82e5a59c Studio and Packer RGBA8888 Asset Pipeline Alignment
Intrepid/Prometeu/Studio/pipeline/head Build started...
Intrepid/Prometeu/Studio/pipeline/pr-master Build started...
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.03% (17116/28043) * Branch Coverage: 51.80% (6569/12681) * Lines of Code: 28043 * Cyclomatic Complexity: 11219 #### Quality Gates Summary Output truncated.
Test / Build skipped: 16, passed: 580
2026-05-24 22:37:16 +01:00
bquarkz 5dc876c923 align PBS color builtins with RGBA8888 2026-05-24 09:44:33 +01:00
bquarkz 06f92f808d fix PBS gfx clear syscall binding 2026-05-24 09:24:48 +01:00
bquarkz e32c31a9d3 implements PLN-0086 2026-05-23 22:26:12 +01:00
bquarkz 4bf51998dc implements PLN-0085 2026-05-23 22:24:27 +01:00
bquarkz cfb842c56f implements PLN-0084 2026-05-23 22:22:23 +01:00
bquarkz e17344af63 implements PLN-0083 2026-05-23 22:21:26 +01:00
bquarkz 0be02622c4 implements PLN-0082 2026-05-23 22:20:24 +01:00
bquarkz ad2bfeb66f implements PLN-0081 2026-05-23 22:17:34 +01:00
bquarkz e044fc15fc Studio and Packer RGBA8888 Asset Pipeline Alignment 2026-05-23 22:15:52 +01:00
bquarkz 8a854dc2ee rename System -> Shell
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.98% (17344/27983) * Branch Coverage: 53.07% (6720/12663) * Lines of Code: 27983 * Cyclomatic Complexity: 11207 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 594
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-05-14 17:59:04 +01:00
bquarkz ff26bb3d4b Merge pull request 'add AppMode for best boundaries over stdlib' (#10) from dev/add-app-mode-boundaries-for-stdlib into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.98% (17344/27983) * Branch Coverage: 53.07% (6720/12663) * Lines of Code: 27983 * Cyclomatic Complexity: 11207 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 594
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #10
2026-05-14 10:41:11 +00:00
bquarkz 991863d086 add AppMode for best boundaries over stdlib
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.98% (17344/27983) * Branch Coverage: 53.07% (6720/12663) * Lines of Code: 27983 * Cyclomatic Complexity: 11207 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 581
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-05-14 11:15:00 +01:00
bquarkz 22887b56cd Merge pull request 'dev/pbs-autocomplete-parameter-names' (#9) from dev/pbs-autocomplete-parameter-names into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17314/27950) * Branch Coverage: 53.06% (6712/12651) * Lines of Code: 27950 * Cyclomatic Complexity: 11194 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 592
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #9
2026-05-14 06:55:28 +00:00
bquarkz 0342df1d4e housekeep DSC-0037
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.95% (17314/27950) * Branch Coverage: 53.06% (6712/12651) * Lines of Code: 27950 * Cyclomatic Complexity: 11194 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 579
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-05-14 07:48:12 +01:00
bquarkz db8c5147db implements PLN-0080 2026-05-14 07:43:35 +01:00
bquarkz eab763fd21 implements PLN-0079 2026-05-14 07:41:43 +01:00
bquarkz 4e00584af7 implements PLN-0078 2026-05-14 07:39:38 +01:00
bquarkz 1ed7a8e193 PBS autocomplete parameter names for stdlib and method calls 2026-05-08 23:14:13 +01:00
bquarkz a5c219024e discussion updated
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.88% (17291/27941) * Branch Coverage: 52.91% (6692/12647) * Lines of Code: 27941 * Cyclomatic Complexity: 11191 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 590
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-05-08 17:01:46 +01:00
bquarkz 5cde30f502 Housekeeping
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.88% (17291/27941) * Branch Coverage: 52.91% (6692/12647) * Lines of Code: 27941 * Cyclomatic Complexity: 11191 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 590
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-05-08 16:09:18 +01:00
bquarkz 189f4f2073 Merge pull request 'dev/prometeu-lsp' (#8) from dev/prometeu-lsp into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.88% (17291/27941) * Branch Coverage: 52.91% (6692/12647) * Lines of Code: 27941 * Cyclomatic Complexity: 11191 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 590
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #8
2026-05-08 09:54:16 +00:00
bquarkz 2f289b9425 update gitignore
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 61.88% (17291/27941) * Branch Coverage: 52.91% (6692/12647) * Lines of Code: 27941 * Cyclomatic Complexity: 11191 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 577
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-05-08 10:30:54 +01:00
bquarkz 54339a95b8 implements PLN-0077 2026-05-08 10:15:17 +01:00
bquarkz 7cbe61f5eb implements PLN-0076 2026-05-08 10:13:38 +01:00
bquarkz 7f40541e96 implements PLN-0075 2026-05-08 10:04:39 +01:00
bquarkz 240525286b Wave 1 de assistencia editorial via LSP para PBS no VS Code 2026-05-08 09:48:14 +01:00
bquarkz ef814b2420 housekeeping 2026-05-08 09:17:43 +01:00
bquarkz 0e6a2cd5bc housekeeping 2026-05-07 14:53:33 +01:00
bquarkz 905d92afe7 Highlight color adjustments 2026-05-07 14:21:31 +01:00
bquarkz dfad621d05 Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS 2026-05-06 17:20:38 +01:00
bquarkz e23367b022 Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS 2026-05-06 15:50:35 +01:00
bquarkz 10fd7f6111 Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS 2026-05-06 15:46:46 +01:00
bquarkz fb13e166f1 Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS 2026-05-06 15:39:43 +01:00
bquarkz 7ae2e94d63 implements PLN-0074 2026-05-06 15:28:37 +01:00
bquarkz e5ab4cd021 implements PLN-0073 2026-05-06 15:26:24 +01:00
bquarkz 9d75f2f0e2 implements PLN-0072 2026-05-06 15:24:21 +01:00
bquarkz cab0e92e60 Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS 2026-05-06 15:21:15 +01:00
bquarkz 69f5c4abdd implements PLN-0071 2026-05-06 13:53:23 +01:00
bquarkz ed2070c5a4 implements PLN-0070 2026-05-06 13:49:58 +01:00
bquarkz 41bcd8c52a implements PLN-0069 2026-05-06 13:48:09 +01:00
bquarkz 54f8c0d6d8 implements PLN-0068 2026-05-06 13:46:23 +01:00
bquarkz baf9f90c93 Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS 2026-05-06 13:43:28 +01:00
bquarkz 0cafe84da0 1st semantic version deployed 2026-05-06 09:41:36 +01:00
bquarkz 2994bc67a3 refactor and clean up 2026-05-06 04:15:36 +01:00
bquarkz 0ac7d9e732 adjusts on client-server connection (LSP) 2026-05-06 04:06:09 +01:00
bquarkz 85a224fc7b basic for analyse 2026-05-06 03:40:55 +01:00
bquarkz 41f2c804a0 clean up and simplify 2026-05-06 02:58:18 +01:00
bquarkz 14d4751f9a package moving 2026-05-06 00:25:23 +01:00
bquarkz 7415b70d1b package moving 2026-05-06 00:21:41 +01:00
bquarkz ba88dee8cb connection checker and failure 2026-05-05 16:23:57 +01:00
bquarkz f6774ef568 implements PLN-0067 2026-05-05 15:57:27 +01:00
bquarkz 18dc64e36c implements PLN-0066 2026-05-05 15:54:11 +01:00
bquarkz b0073cd7bd implements PLN-0065 2026-05-05 15:50:55 +01:00
bquarkz e5342e34f7 added simple README.md on vscode-extension 2026-05-05 13:42:05 +01:00
bquarkz 52211ea02c add bare bones for a lsp 2026-05-05 13:39:24 +01:00
bquarkz 6b60fa9d33 implements PLN-0064 2026-05-05 11:20:09 +01:00
bquarkz 1f85be3721 implements PLN-0063 2026-05-05 11:14:45 +01:00
bquarkz cebef90118 implements PLN-0062 2026-05-05 11:12:37 +01:00
bquarkz 85d7211b3c Merge pull request 'Studio scene pack contract for runtime SCENE binary payload' (#7) from dev/studio-scene-pack-runtime-binary-contract into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 59.32% (17061/28759) * Branch Coverage: 51.84% (6536/12607) * Lines of Code: 28759 * Cyclomatic Complexity: 11399 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 601
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #7
2026-05-01 10:25:38 +00:00
bquarkz 1fa9d13044 housekeeping e clean up
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 59.32% (17061/28759) * Branch Coverage: 51.84% (6536/12607) * Lines of Code: 28759 * Cyclomatic Complexity: 11399 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 601
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-05-01 11:19:54 +01:00
bquarkz 913b44c8dd (fixes) changes on commit behaviour 2026-05-01 11:15:36 +01:00
bquarkz 822e892c82 Studio scene pack contract for runtime SCENE binary payload 2026-05-01 06:59:42 +01:00
bquarkz 1182d3ae1f Studio scene pack contract for runtime SCENE binary payload
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 58.63% (16555/28235) * Branch Coverage: 51.34% (6336/12341) * Lines of Code: 28235 * Cyclomatic Complexity: 11205 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 585
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-04-27 06:47:18 +01:00
bquarkz 666100ce64 clean up
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 58.63% (16555/28235) * Branch Coverage: 51.34% (6336/12341) * Lines of Code: 28235 * Cyclomatic Complexity: 11205 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 585
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-04-24 09:07:42 +01:00
bquarkz 5eb8749a90 Merge pull request 'dev/studio-tiled-parser-assets-scene-asset-type' (#6) from dev/studio-tiled-parser-assets-scene-asset-type into master
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 58.63% (16555/28235) * Branch Coverage: 51.34% (6336/12341) * Lines of Code: 28235 * Cyclomatic Complexity: 11205 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 585
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
Reviewed-on: #6
2026-04-23 17:25:24 +00:00
bquarkz 58d0b38ac9 fix tests
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 58.63% (16555/28235) * Branch Coverage: 51.34% (6336/12341) * Lines of Code: 28235 * Cyclomatic Complexity: 11205 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 585
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good
2026-04-23 18:19:45 +01:00
bquarkz c20591d638 Tiled Parser and Scene & Palette Management in Studio 2026-04-23 18:19:45 +01:00
bquarkz 1ec3723c74 implements PLN-0055 2026-04-23 18:19:45 +01:00
bquarkz f1f90976a5 implements PLN-0054 2026-04-23 18:19:45 +01:00
bquarkz 060e3ecef6 implements PLN-0053 2026-04-23 18:19:45 +01:00
bquarkz 3e328814f5 tiled parser discussion 2026-04-23 18:19:45 +01:00
bquarkz 4b82ab30ff initial studies over Tiled@ 2026-04-23 18:19:45 +01:00
bquarkz 3d1e0bc204 readme
JaCoCo Coverage #### Project Overview No changes detected, that affect the code coverage. * Line Coverage: 60.68% (15277/25176) * Branch Coverage: 53.63% (5781/10779) * Lines of Code: 25176 * Cyclomatic Complexity: 9960 #### Quality Gates Summary Output truncated.
Test / Build skipped: 11, passed: 547
Intrepid/Prometeu/Studio/pipeline/head This commit looks good
2026-04-19 09:25:00 +01:00
3056 changed files with 540498 additions and 22741 deletions
+12
View File
@@ -10,6 +10,11 @@ build
# Ignore Kotlin plugin data # Ignore Kotlin plugin data
.kotlin .kotlin
.python-version
.venv
# IA
.junie
/debug/ /debug/
!prometeu-studio/src/main/java/p/studio/workspaces/debug/ !prometeu-studio/src/main/java/p/studio/workspaces/debug/
!prometeu-studio/src/main/java/p/studio/workspaces/debug/** !prometeu-studio/src/main/java/p/studio/workspaces/debug/**
@@ -19,3 +24,10 @@ build
**/.studio/** **/.studio/**
.DS_Store .DS_Store
# Discussion workflow state is local; only consolidated lessons are versioned.
discussion/*
!discussion/lessons/
!discussion/lessons/**
temp/
temp/**
+270 -1
View File
@@ -1 +1,270 @@
# Prometeu Studio # Prometeu Studio
Prometeu Studio is the desktop development environment for the Prometeu toolchain.
This repository packages the Studio shell together with the embedded services it depends on: compiler pipeline integration, asset packing, runtime/debug orchestration, and project-local Studio state. The current implementation is a Java/JavaFX multi-module Gradle build.
## What Lives Here
The root project is a monorepo with these main areas:
- `prometeu-app`: Spring Boot non-web composition, concrete adapters, packaging, and JavaFX entry point (`p.studio.app.StudioLauncher`).
- `prometeu-studio-api`: toolkit-neutral Studio contracts and operation surfaces.
- `prometeu-studio-core`: JavaFX-free project, session, assets, shipper, runtime, and execution services.
- `prometeu-studio-ui-javafx`: the current human-facing JavaFX adapter.
- `prometeu-packer`: embedded packer APIs and implementation used by Studio.
- `prometeu-compiler`: compiler core, build pipeline, frontend APIs, and the PBS frontend.
- `prometeu-infra`: shared infrastructure used across modules.
- `docs/`: normative specifications and architectural references.
- `discussion/`: workflow artifacts for agendas, decisions, plans, and lessons.
- `test-projects/`: sample workspaces used for local development and tests.
## Current Product Shape
The Studio shell currently organizes the product around four workspaces:
- Assets
- Debug
- DEV (external-agent authorization and observation)
- Shipper
At runtime, the app boots an embedded packer, restores project-local Studio state, and opens the Studio launcher window. Project creation currently scaffolds a Prometeu workspace with `prometeu.json`, `src/`, `assets/`, `build/`, `cartridge/`, `.workspace/`, and local Studio metadata.
## External Coding Agents (MCP)
Studio includes its own `mcp --project <absolute-root>` mode. Configure the native
client once; project grants and desktop restarts no longer require copying ports
or tokens. The initial integration targets Codex on macOS.
1. Install/stage Studio with its bundled Java runtime (see below). New projects
prepare the local client entry during scaffolding. Opening an existing project
also prepares its enabled integration automatically; Studio starts the shared
MCP server itself. **DEV → Prepare assistant** retries preparation after resolving
a reported setup conflict. Opening a project does not grant agent control.
2. Open the coding client in the project directory. Trust the project and reload
MCP once if the client requests it. Studio does not alter client approval policy.
Tools can initialize/list even before the desktop is open or access is granted.
3. Open the project in Studio and grant control in DEV (save first if prompted).
Active Debug prevents granting. The connector discovers access automatically.
4. The agent acquires a task, consults project/language/SDK references, edits saved
project files with its native tools and validates through LSP/build. SDK and
external libraries remain read-only.
5. Recover uncertain operations by operationId/clientRequestId lookup within the
same task; never replay build/advance blindly. Explicitly release control when
done. Human reclaim also revokes access; stop direct external file edits separately.
The client invokes the same Studio artifact over stdio. It forwards to Studio's
project-scoped loopback service using protected, transient
`.studio/mcp/connection.json`. The permanent `.codex/config.toml` entry contains
installed Java/classpath/root arguments, not credentials. Both local outputs are
ignored by Git. Unrelated client settings are preserved; tracked or conflicting
Studio entries require deliberate resolution. `.studio/setup.json` preserves
neutral integration intent and existing runtime/editor settings.
After desktop restart, grant again in DEV. Keep the same client session and
configuration; old task identities and operation receipts are not restored.
DEV displays connection separately from project authority. No project-local
launcher, Python transport script or embedded chat is required.
### Reading external source code
VS Code F12 opens SDK/core and admitted libraries as read-only documents, with
hover, continued F12 and syntax highlighting. SDK/core stay bundled; no editorial
copies are created. After a source revision changes or a session ends, navigate
again instead of reusing old positions.
For MCP, use `studio_language_query` with `operation: "definition"`, then pass a
returned `prometeu-source:` URI to `operation: "readExternalSource"`. The response
contains `descriptor` and `text`; hover and definition accept the same URI within
the owning task. Another task cannot reuse it. MCP does not require VS Code open.
External or mixed edit proposals are refused in full. Library installation/cache
management is outside this feature. See the [extension guide](tools/vscode-extension/README.md).
### Installation and IntelliJ development
Build and stage the complete distribution, including its Java runtime:
```bash
./gradlew :prometeu-app:stageStudioInstallation
```
The macOS default is `~/Library/Application Support/Prometeu/Studio/current`.
Staging validates a new version before atomically changing `current`, retaining
older versions for rollback and running processes. Native client registration
uses absolute paths and argument arrays, independent of shell PATH:
```text
command: <installation>/current/runtime/bin/java
args: ["-cp", "<installation>/current/lib/*", "p.studio.app.StudioLauncher", "mcp", "--project", "<absolute-project-root>"]
```
For development, use an isolated installation:
```bash
./gradlew :prometeu-app:stageStudioInstallation -PstudioInstallationRoot=/absolute/dev-installation
```
In IntelliJ, run/debug `p.studio.app.StudioLauncher` with the `prometeu-app`
runtime classpath and VM option `-Dstudio.installationRoot=/absolute/dev-installation`.
The desktop and client-owned connector are separate JVMs. To debug the latter,
add the development-only VM argument
`-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=127.0.0.1:5005`
before `-cp` in the local MCP entry, restart that MCP process, then use IntelliJ's
**Remote JVM Debug** on localhost:5005. Do not commit this local configuration.
Because manual edits to the managed entry are protected, restore its original
content before using preparation again. Regular registration never enables JDWP.
The packaged automated gate checks bundled Java, upgrade/rollback, project paths
with spaces, minimal environment, scaffold/preparation and JavaFX startup:
```bash
./gradlew :prometeu-app:installedConnectorTest
```
The current production tools cover context, references, task control, LSP,
build/pack, operation lookup/cancellation and headless execution (17 tools).
Headless requires a runtime installation configured for the project; missing or
incompatible installations fail explicitly. DEV is an
observation panel, not manual Play/input for the agent's session; **Debug** retains
the human testing workflow. Edits are preserved on cancellation; Git/review/recovery
remain the developer's responsibility.
See the [MCP contract](docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md)
for schemas, authorization, limits and delivery boundaries.
### Troubleshooting automation
| Symptom | Action |
| --- | --- |
| Waiting for access / desktop restarted | Open the project and grant again in DEV. Keep the existing client configuration. |
| Stale connection / incompatible catalog | Grant fresh access, or update the installed Studio when versions differ. Do not edit transient credentials. |
| Preparation conflict | Preserve the existing client settings; resolve a tracked/user-owned/edited Studio table explicitly, then prepare again. |
| Acquisition rejected or project busy | Grant control in DEV first; stop manual Debug before granting. Query an existing operation instead of starting another; serialize headless calls. |
| `RUNTIME_UNAVAILABLE` or handshake incompatibility | Check the project's configured runtime installation and its packaged headless command. Studio does not download a substitute. |
| `NO_FRAME_AVAILABLE` | Advance at least one frame before requesting a capture. |
| Advance/page limit rejected | Respect advertised limits and use reference pagination. Runtime's default maximum is 600 frames per advance; requests are not silently clamped. |
| Unknown language or missing reference | Inspect project context and the declared manifest language; use only advertised capabilities/reference IDs. PBS is a creation default, not an unknown-language fallback. |
| Returning control reports cleanup failure | Stop the external client's direct editing separately, then retry DEV reclaim after owned-process cleanup. Do not bypass the lock or restore stale editor buffers. |
Language and SDK references are bundled locally; reading them does not require a
compiler checkout or network download. SDK/external-library changes remain outside
the game-authoring task, even when a reference exposes a limitation.
The real headless process adapter and task-service composition can be verified
using an extracted runtime distribution:
```bash
./gradlew :prometeu-app:headlessProcessTest -PstudioRuntimeInstall=/absolute/path/to/runtime
```
This gate builds an installed PBS example, launches the actual runtime, checks
canonical PNGs and explicit reset/reboot, cancels an advance and verifies process
cleanup. It also runs the actual app composition through saved-file LSP queries,
rebuilds and corrective loops after compile errors and guest faults. It does not
download a runtime or substitute a protocol fixture.
To verify the complete HTTP-to-runtime-to-DEV image path, run this separate gate
in a desktop environment:
```bash
./gradlew :prometeu-app:headlessMcpDesktopTest -PstudioRuntimeInstall=/absolute/path/to/runtime --max-workers=2
```
It opens the real DEV view, grants control, uses an HTTP MCP client to query LSP,
edit/build the installed PBS example and execute a fixed input timeline. PNG bytes,
frame identities, state and fault are compared with a separate direct-JSONL runtime
process; every decoded ImageView pixel and its visible identity/stale label are
checked. Reset, fresh-session repetition and rebuild are included. This automated
client is not the external coding-agent acceptance gate.
The same suite also exercises cancellation, disconnect/reconnect, revocation,
project/app closure, crash and forced shutdown, corrective builds, and return to
the real manual Debug host. These scenarios require a POSIX desktop (validated
on macOS ARM64) and free port 7777. Only processes created by the test are killed
or suspended. After a forced-shutdown error, an explicit second reclaim can
acknowledge completed cleanup; control stays locked until cleanup is confirmed.
### Follow-ups after the AI-first implementation
The following findings are recorded for investigation after implementation; they
are not considered fixed by the passing integration tests:
- **PBS/LSP SDK navigation:** the historical probe of the former `Input.pad()`
API returned no location; the current input API is `Pad`/`Button` and `Touch`. Project-source navigation and indexed SDK reference
reads work. Investigate SDK symbol resolution separately; an empty definition
result is not evidence of missing runtime support or permission to edit the SDK.
- **Build tooling:** the validation environment's JDK 25 triggers Kotlin's target-24
fallback and Java/Kotlin target compatibility warnings in `buildSrc`. The targeted
regression passes, but the toolchain/target alignment needs separate review.
Cross-platform desktop coverage remains a validation boundary, not a confirmed
product defect. Baseline HTTP desktop acceptance covers macOS ARM64 and Codex CLI only. The integrated stdio flow completed its separate acceptance gates through automated validation and user-confirmed native-client, graphical-launch and IntelliJ checks; see [LSN-0077](discussion/lessons/DSC-0070-studio-persistent-mcp-connector/LSN-0077-integrated-mcp-stable-setup-and-ephemeral-access.md) for evidence provenance.
The first real Codex CLI acceptance run exercised editing, LSP, build/pack, input,
1,110 frames, native MCP images and explicit release. The developer confirmed the
DEV result and successfully ran the edited game using manual Debug Play afterward.
Additional follow-ups from that run: clearer errors for oversized
reference pages, guidance for sequential headless queries after `BUSY`, and easier
discovery of framebuffer dimensions. Capture before the first completed frame
correctly returns `NO_FRAME_AVAILABLE`; it is not a runtime defect. Noninteractive
clients must also provide an approval path for MCP work calls; the acceptance used
Codex's approval review with a project-scoped workspace-write sandbox.
The completed baseline's architecture, acceptance evidence and post-implementation
follow-ups are consolidated in [LSN-0076](discussion/lessons/DSC-0068-studio-headless-runtime-ai-first/LSN-0076-ai-first-studio-through-shared-authority-and-headless-evidence.md).
## Requirements
- JDK 21 or newer recommended for local development
- Gradle wrapper (`./gradlew`) included in the repository
- A desktop environment capable of running JavaFX
## Common Commands
Run the full project graph listing:
```bash
./gradlew projects
```
Run the desktop application:
```bash
./gradlew :prometeu-app:run
```
Run the test suite:
```bash
./gradlew test
```
Generate the aggregated coverage report:
```bash
./gradlew jacocoTestReport
```
## Repository Reading Guide
If you are new to the codebase, this order is usually the fastest path:
1. Start at `prometeu-app` to see application bootstrap.
2. Read `prometeu-studio-api` and `prometeu-studio-core` for Studio contracts and application services.
3. Read `prometeu-studio-ui-javafx` for the current shell, workspaces, and human-facing flows.
4. Read `prometeu-app` for Spring composition and provider gateways.
5. Read `prometeu-packer` for asset and packaging boundaries.
6. Read `prometeu-compiler` when you need compiler or PBS language behavior.
## Specs And Architecture
Important reference surfaces:
- [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.
@@ -1,12 +0,0 @@
{"type":"meta","next_id":{"DSC":12,"AGD":12,"DEC":9,"PLN":12,"LSN":26,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"review","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[{"id":"AGD-0010","file":"AGD-0010-studio-code-editor-workspace-foundations.md","status":"accepted","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[{"id":"DEC-0008","file":"DEC-0008-studio-code-editor-read-only-workspace-foundations.md","status":"review","created_at":"2026-03-30","updated_at":"2026-03-30","ref_agenda":"AGD-0010"}],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
@@ -1,12 +0,0 @@
{"type":"meta","next_id":{"DSC":12,"AGD":12,"DEC":9,"PLN":15,"LSN":26,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"in_progress","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[{"id":"AGD-0010","file":"AGD-0010-studio-code-editor-workspace-foundations.md","status":"accepted","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[{"id":"DEC-0008","file":"DEC-0008-studio-code-editor-read-only-workspace-foundations.md","status":"accepted","created_at":"2026-03-30","updated_at":"2026-03-30","ref_agenda":"AGD-0010"}],"plans":[{"id":"PLN-0012","file":"PLN-0012-studio-code-editor-spec-propagation.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30","ref_decisions":["DEC-0008"]},{"id":"PLN-0013","file":"PLN-0013-editor-workspace-layout-and-passive-surfaces.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30","ref_decisions":["DEC-0008"]},{"id":"PLN-0014","file":"PLN-0014-project-navigator-snapshot-and-read-only-file-opening.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30","ref_decisions":["DEC-0008"]}],"lessons":[]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
@@ -1,13 +0,0 @@
{"type":"meta","next_id":{"DSC":13,"AGD":13,"DEC":10,"PLN":19,"LSN":27,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"open","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[{"id":"AGD-0012","file":"AGD-0012-studio-editor-document-vfs-boundary.md","status":"in_progress","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[{"id":"DEC-0009","file":"DEC-0009-studio-prometeu-vfs-project-document-boundary.md","status":"in_progress","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0012"}],"plans":[{"id":"PLN-0015","file":"PLN-0015-propagate-dec-0009-into-studio-specs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0009"]},{"id":"PLN-0016","file":"PLN-0016-build-prometeu-vfs-filesystem-backed-core.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0009"]},{"id":"PLN-0017","file":"PLN-0017-add-studio-project-session-ownership-for-prometeu-vfs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0009"]},{"id":"PLN-0018","file":"PLN-0018-migrate-code-editor-to-prometeu-vfs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0009"]}],"lessons":[]}
@@ -1,14 +0,0 @@
{"type":"meta","next_id":{"DSC":14,"AGD":15,"DEC":10,"PLN":19,"LSN":28,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"open","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[{"id":"AGD-0013","file":"AGD-0013-studio-editor-write-wave-supported-non-frontend-files.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"},{"id":"AGD-0014","file":"AGD-0014-studio-editor-frontend-edit-rights.md","status":"open","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[],"plans":[],"lessons":[]}
@@ -1,14 +0,0 @@
{"type":"meta","next_id":{"DSC":14,"AGD":15,"DEC":12,"PLN":19,"LSN":28,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"open","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[{"id":"AGD-0013","file":"AGD-0013-studio-editor-write-wave-supported-non-frontend-files.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"},{"id":"AGD-0014","file":"AGD-0014-studio-editor-frontend-edit-rights.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[{"id":"DEC-0010","file":"DEC-0010-studio-controlled-non-frontend-editor-write-wave.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0013"},{"id":"DEC-0011","file":"DEC-0011-studio-frontend-read-only-minimum-lsp-phase.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0014"}],"plans":[],"lessons":[]}
@@ -1,15 +0,0 @@
{"type":"meta","next_id":{"DSC":14,"AGD":15,"DEC":13,"PLN":29,"LSN":28,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"open","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[{"id":"AGD-0013","file":"AGD-0013-studio-editor-write-wave-supported-non-frontend-files.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"},{"id":"AGD-0014","file":"AGD-0014-studio-editor-frontend-edit-rights.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31"}],"decisions":[{"id":"DEC-0010","file":"DEC-0010-studio-controlled-non-frontend-editor-write-wave.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0013"},{"id":"DEC-0011","file":"DEC-0011-studio-frontend-read-only-minimum-lsp-phase.md","status":"accepted","created_at":"2026-03-31","updated_at":"2026-03-31","ref_agenda":"AGD-0014"}],"plans":[{"id":"PLN-0019","file":"PLN-0019-propagate-dec-0010-into-studio-and-vfs-specs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0010"]},{"id":"PLN-0020","file":"PLN-0020-build-dec-0010-vfs-access-policy-and-save-core.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0010"]},{"id":"PLN-0021","file":"PLN-0021-integrate-dec-0010-editor-write-ui-and-workflow.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0010"]},{"id":"PLN-0022","file":"PLN-0022-propagate-dec-0011-into-studio-vfs-and-lsp-specs.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]},{"id":"PLN-0023","file":"PLN-0023-scaffold-flat-packed-prometeu-lsp-api-and-session-seams.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]},{"id":"PLN-0024","file":"PLN-0024-implement-read-only-fe-diagnostics-symbols-and-definition.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]},{"id":"PLN-0025","file":"PLN-0025-implement-fe-semantic-highlight-consumption.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31","ref_decisions":["DEC-0011"]}],"lessons":[]}
{"type":"discussion","id":"DSC-0014","status":"open","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[{"id":"AGD-0015","file":"AGD-0015-studio-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02"}],"decisions":[{"id":"DEC-0012","file":"DEC-0012-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02","ref_agenda":"AGD-0015"}],"plans":[{"id":"PLN-0026","file":"PLN-0026-propagate-dec-0012-into-studio-and-frontend-specs.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0027","file":"PLN-0027-add-frontend-semantic-presentation-contract-and-lsp-descriptor.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0028","file":"PLN-0028-consume-frontend-owned-semantic-presentation-in-studio.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]}],"lessons":[]}
@@ -1,15 +0,0 @@
{"type":"meta","next_id":{"DSC":15,"AGD":16,"DEC":13,"PLN":29,"LSN":29,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0014","status":"open","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[{"id":"AGD-0015","file":"AGD-0015-studio-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02"}],"decisions":[{"id":"DEC-0012","file":"DEC-0012-frontend-owned-semantic-editor-presentation.md","status":"accepted","created_at":"2026-04-02","updated_at":"2026-04-02","ref_agenda":"AGD-0015"}],"plans":[{"id":"PLN-0026","file":"PLN-0026-propagate-dec-0012-into-studio-and-frontend-specs.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0027","file":"PLN-0027-add-frontend-semantic-presentation-contract-and-lsp-descriptor.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]},{"id":"PLN-0028","file":"PLN-0028-consume-frontend-owned-semantic-presentation-in-studio.md","status":"review","created_at":"2026-04-02","updated_at":"2026-04-02","ref_decisions":["DEC-0012"]}],"lessons":[]}
@@ -1,19 +0,0 @@
{"type":"meta","next_id":{"DSC":19,"AGD":20,"DEC":17,"PLN":38,"LSN":31,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
{"type":"discussion","id":"DSC-0016","status":"open","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[{"id":"AGD-0017","file":"AGD-0017-studio-editor-scope-guides-and-brace-anchoring.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0014","file":"DEC-0014-studio-editor-active-scope-and-structural-anchors.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"plans":[{"id":"PLN-0030","file":"PLN-0030-studio-active-container-and-active-scope-gutter-wave-1.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0031","file":"PLN-0031-studio-structural-anchor-semantic-surface-specification.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0032","file":"PLN-0032-frontend-structural-anchor-payloads-and-anchor-aware-tests.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}],"lessons":[]}
{"type":"discussion","id":"DSC-0017","status":"open","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[{"id":"AGD-0018","file":"AGD-0018-studio-editor-inline-type-hints-for-let-bindings.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0015","file":"DEC-0015-studio-editor-inline-type-hints-contract-and-rendering-model.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03","ref_agenda":"AGD-0018"}],"plans":[{"id":"PLN-0033","file":"PLN-0033-inline-hint-spec-and-contract-propagation.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0034","file":"PLN-0034-lsp-inline-hint-transport-contract.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0035","file":"PLN-0035-pbs-inline-type-hint-payload-production.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0036","file":"PLN-0036-studio-inline-hint-rendering-and-rollout.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]}],"lessons":[]}
{"type":"discussion","id":"DSC-0018","status":"open","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[{"id":"AGD-0019","file":"AGD-0019-studio-project-open-state-under-dot-studio.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04"}],"decisions":[{"id":"DEC-0016","file":"DEC-0016-project-local-studio-state-under-dot-studio.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04","ref_agenda":"AGD-0019"}],"plans":[{"id":"PLN-0037","file":"PLN-0037-project-local-studio-state-store-and-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04","ref_decisions":["DEC-0016"]}],"lessons":[]}
@@ -1,20 +0,0 @@
{"type":"meta","next_id":{"DSC":20,"AGD":21,"DEC":18,"PLN":39,"LSN":32,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
{"type":"discussion","id":"DSC-0016","status":"open","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[{"id":"AGD-0017","file":"AGD-0017-studio-editor-scope-guides-and-brace-anchoring.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0014","file":"DEC-0014-studio-editor-active-scope-and-structural-anchors.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"plans":[{"id":"PLN-0030","file":"PLN-0030-studio-active-container-and-active-scope-gutter-wave-1.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0031","file":"PLN-0031-studio-structural-anchor-semantic-surface-specification.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0032","file":"PLN-0032-frontend-structural-anchor-payloads-and-anchor-aware-tests.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}],"lessons":[]}
{"type":"discussion","id":"DSC-0017","status":"open","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[{"id":"AGD-0018","file":"AGD-0018-studio-editor-inline-type-hints-for-let-bindings.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0015","file":"DEC-0015-studio-editor-inline-type-hints-contract-and-rendering-model.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03","ref_agenda":"AGD-0018"}],"plans":[{"id":"PLN-0033","file":"PLN-0033-inline-hint-spec-and-contract-propagation.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0034","file":"PLN-0034-lsp-inline-hint-transport-contract.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0035","file":"PLN-0035-pbs-inline-type-hint-payload-production.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0036","file":"PLN-0036-studio-inline-hint-rendering-and-rollout.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]}],"lessons":[]}
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0019","status":"open","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[{"id":"AGD-0020","file":"AGD-0020-project-local-setup-separate-from-main-studio-state.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04"}],"decisions":[{"id":"DEC-0017","file":"DEC-0017-project-local-setup-separate-from-session-state.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04","ref_agenda":"AGD-0020"}],"plans":[{"id":"PLN-0038","file":"PLN-0038-separate-project-local-setup-from-session-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04","ref_decisions":["DEC-0017"]}],"lessons":[]}
@@ -1,22 +0,0 @@
{"type":"meta","next_id":{"DSC":22,"AGD":23,"DEC":20,"PLN":41,"LSN":34,"CLSN":1}}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"open","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["studio","debugger","workspace","integration","shell"],"agendas":[{"id":"AGD-0009","file":"AGD-0009-studio-debugger-workspace-integration.md","status":"open","created_at":"2026-03-30","updated_at":"2026-03-30"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
{"type":"discussion","id":"DSC-0016","status":"open","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[{"id":"AGD-0017","file":"AGD-0017-studio-editor-scope-guides-and-brace-anchoring.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0014","file":"DEC-0014-studio-editor-active-scope-and-structural-anchors.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"plans":[{"id":"PLN-0030","file":"PLN-0030-studio-active-container-and-active-scope-gutter-wave-1.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0031","file":"PLN-0031-studio-structural-anchor-semantic-surface-specification.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"},{"id":"PLN-0032","file":"PLN-0032-frontend-structural-anchor-payloads-and-anchor-aware-tests.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}],"lessons":[]}
{"type":"discussion","id":"DSC-0017","status":"open","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[{"id":"AGD-0018","file":"AGD-0018-studio-editor-inline-type-hints-for-let-bindings.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03"}],"decisions":[{"id":"DEC-0015","file":"DEC-0015-studio-editor-inline-type-hints-contract-and-rendering-model.md","status":"accepted","created_at":"2026-04-03","updated_at":"2026-04-03","ref_agenda":"AGD-0018"}],"plans":[{"id":"PLN-0033","file":"PLN-0033-inline-hint-spec-and-contract-propagation.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0034","file":"PLN-0034-lsp-inline-hint-transport-contract.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0035","file":"PLN-0035-pbs-inline-type-hint-payload-production.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]},{"id":"PLN-0036","file":"PLN-0036-studio-inline-hint-rendering-and-rollout.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03","ref_decisions":["DEC-0015"]}],"lessons":[]}
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0021","status":"open","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[{"id":"AGD-0022","file":"AGD-0022-studio-frontend-editor-write-and-save-wave.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04"}],"decisions":[{"id":"DEC-0019","file":"DEC-0019-studio-frontend-editor-write-and-save-wave.md","status":"accepted","created_at":"2026-04-04","updated_at":"2026-04-04","ref_agenda":"AGD-0022"}],"plans":[{"id":"PLN-0040","file":"PLN-0040-studio-frontend-editor-write-and-save-wave.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04","ref_decisions":["DEC-0019"]}],"lessons":[]}
-30
View File
@@ -1,30 +0,0 @@
{"type":"meta","next_id":{"DSC":30,"AGD":32,"DEC":28,"PLN":56,"LSN":42,"CLSN":1}}
{"type":"discussion","id":"DSC-0029","status":"done","ticket":"studio-frame-composer-syscall-and-sprite-alignment","title":"Studio Alignment with Runtime FrameComposer Syscalls and Sprite Composition","created_at":"2026-04-18","updated_at":"2026-04-18","tags":["studio","compiler","pbs","stdlib","runtime-alignment","abi","syscall","frame-composer","sprites"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0041","file":"discussion/lessons/DSC-0029-studio-frame-composer-syscall-and-sprite-alignment/LSN-0041-composer-must-own-public-sprite-composition.md","status":"done","created_at":"2026-04-18","updated_at":"2026-04-18"}]}
{"type":"discussion","id":"DSC-0028","status":"open","ticket":"studio-tiled-parser-assets-scene-asset-type","title":"Tiled Parser and Scene Asset-Type Ownership in Assets Workspace","created_at":"2026-04-15","updated_at":"2026-04-15","tags":["studio","assets","scene","tiled","parser","asset-type"],"agendas":[{"id":"AGD-0030","file":"AGD-0030-tiled-parser-and-scene-asset-type.md","status":"open","created_at":"2026-04-15","updated_at":"2026-04-15"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0027","status":"abandoned","ticket":"studio-scene-workspace","title":"Scene Workspace for SCENE Authoring","created_at":"2026-04-14","updated_at":"2026-04-15","tags":["studio","workspace","scene","tilemap","asset","runtime-alignment"],"agendas":[{"id":"AGD-0029","file":"AGD-0029-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted agenda and its downstream work."}],"decisions":[{"id":"DEC-0026","file":"DEC-0026-studio-scene-workspace.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_agenda":"AGD-0029","_override_reason":"Explicit user request on 2026-04-15 to abandon the accepted decision and stop using it as normative guidance."}],"plans":[{"id":"PLN-0049","file":"PLN-0049-scene-workspace-spec-and-boundary-propagation.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0050","file":"PLN-0050-scene-workspace-shell-and-project-state-foundations.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0051","file":"PLN-0051-scene-artifact-and-assets-handoff-contract.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."},{"id":"PLN-0052","file":"PLN-0052-scene-workspace-wave-1-tilemap-editor.md","status":"abandoned","created_at":"2026-04-14","updated_at":"2026-04-15","ref_decisions":["DEC-0026"],"_override_reason":"Explicit user request on 2026-04-15 to abandon all plans derived from DEC-0026."}],"lessons":[]}
{"type":"discussion","id":"DSC-0026","status":"done","ticket":"glyph-bank-naming-alignment-with-runtime","title":"Glyph Bank Naming Alignment with Runtime DEC-0006","created_at":"2026-04-10","updated_at":"2026-04-10","tags":["packer","studio","naming","asset-contract","runtime-alignment","glyph-bank"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0040","file":"discussion/lessons/DSC-0026-glyph-bank-naming-alignment-with-runtime/LSN-0040-glyph-bank-artifact-naming-alignment.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
{"type":"discussion","id":"DSC-0025","status":"done","ticket":"packer-pipeline-metadata-ownership","title":"Pipeline Metadata Ownership and Runtime Contract","created_at":"2026-04-09","updated_at":"2026-04-10","tags":["packer","metadata","runtime-contract","tooling","studio"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0039","file":"discussion/lessons/DSC-0025-packer-pipeline-metadata-ownership/LSN-0039-runtime-header-boundary-and-tooling-owned-pipeline-metadata.md","status":"done","created_at":"2026-04-10","updated_at":"2026-04-10"}]}
{"type":"discussion","id":"DSC-0024","status":"done","ticket":"jacoco-reports-consolidation","title":"JaCoCo Reports Consolidation in Gradle","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["infra","gradle","jacoco","coverage","jenkins"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0038","file":"discussion/lessons/DSC-0024-jacoco-reports-consolidation/LSN-0038-jacoco-reports-consolidation.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
{"type":"discussion","id":"DSC-0001","status":"done","ticket":"studio-docs-import","title":"Import docs/studio into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0001","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0001-assets-workspace-execution-wave-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0002","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0002-bank-composition-editor-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0003","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0003-mental-model-asset-mutations-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0004","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0004-mental-model-assets-workspace-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0005","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0005-mental-model-studio-events-and-components-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0006","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0006-mental-model-studio-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0007","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0007-pack-wizard-shell-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0008","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0008-project-scoped-state-and-activity-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0016","file":"discussion/lessons/DSC-0001-studio-docs-import/LSN-0016-studio-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0002","status":"open","ticket":"palette-management-in-studio","title":"Palette Management in Studio","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["studio","legacy-import","palette-management","tile-bank","packer-boundary"],"agendas":[{"id":"AGD-0002","file":"AGD-0002-palette-management-in-studio.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0003","status":"done","ticket":"packer-docs-import","title":"Import docs/packer into discussion-framework artifacts","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","migration","discussion-framework","docs-import"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0009","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0009-mental-model-packer-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0010","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0010-asset-identity-and-runtime-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0011","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0011-foundations-workspace-runtime-and-build-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0012","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0012-runtime-ownership-and-studio-boundary-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0013","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0013-metadata-convergence-and-runtime-sink-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0014","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0014-pack-wizard-summary-validation-and-pack-execution-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0015","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0015-tile-bank-packing-contract-legacy.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"},{"id":"LSN-0017","file":"discussion/lessons/DSC-0003-packer-docs-import/LSN-0017-packer-docs-import-pattern.md","status":"done","created_at":"2026-03-26","updated_at":"2026-03-26"}]}
{"type":"discussion","id":"DSC-0004","status":"open","ticket":"tilemap-and-metatile-runtime-binary-layout","title":"Tilemap and Metatile Runtime Binary Layout","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tilemap","metatile","runtime-layout"],"agendas":[{"id":"AGD-0004","file":"AGD-0004-tilemap-and-metatile-runtime-binary-layout.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0005","status":"open","ticket":"variable-tile-bank-palette-serialization","title":"Variable Tile Bank Palette Serialization","created_at":"2026-03-26","updated_at":"2026-03-26","tags":["packer","legacy-import","tile-bank","palette-serialization","versioning"],"agendas":[{"id":"AGD-0005","file":"AGD-0005-variable-tile-bank-palette-serialization.md","status":"open","created_at":"2026-03-26","updated_at":"2026-03-26"}],"decisions":[],"plans":[],"lessons":[]}
{"type":"discussion","id":"DSC-0006","status":"done","ticket":"pbs-game-facing-asset-refs-and-call-result-discard","title":"PBS Game-Facing Asset References and Ignored Call Result Lowering","created_at":"2026-03-27","updated_at":"2026-03-30","tags":["compiler","pbs","ergonomics","lowering","runtime","asset-identity","expression-statements"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0024","file":"discussion/lessons/DSC-0006-pbs-game-facing-asset-refs-and-call-result-discard/LSN-0024-addressable-surface-host-metadata-and-ignored-value-discipline.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0007","status":"done","ticket":"pbs-learn-to-discussion-lessons-migration","title":"Migrate PBS Learn Documents into Discussion Lessons","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","migration","discussion-framework","lessons","learn-prune"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0018","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0018-pbs-ast-and-parser-contract-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0019","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0019-pbs-name-resolution-and-linking-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0020","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0020-pbs-runtime-values-identity-memory-boundaries-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0021","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0021-pbs-diagnostics-and-conformance-governance-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"},{"id":"LSN-0022","file":"discussion/lessons/DSC-0007-pbs-learn-to-discussion-lessons-migration/LSN-0022-pbs-globals-lifecycle-and-published-entrypoint-legacy.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0008","status":"done","ticket":"pbs-low-level-asset-manager-surface","title":"PBS Low-Level Asset Manager Surface for Runtime AssetManager","created_at":"2026-03-27","updated_at":"2026-03-27","tags":["compiler","pbs","runtime","asset-manager","host-abi","stdlib","asset"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0023","file":"discussion/lessons/DSC-0008-pbs-low-level-asset-manager-surface/LSN-0023-lowassets-runtime-aligned-sdk-surface.md","status":"done","created_at":"2026-03-27","updated_at":"2026-03-27"}]}
{"type":"discussion","id":"DSC-0009","status":"done","ticket":"studio-debugger-workspace-integration","title":"Integrate ../debugger into Studio as a dedicated workspace","created_at":"2026-03-30","updated_at":"2026-04-07","tags":["studio","debugger","workspace","integration","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0022","file":"discussion/lessons/DSC-0022-studio-play-stop-and-debugger-integration/LSN-0022-studio-play-stop-and-debugger-integration.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
{"type":"discussion","id":"DSC-0010","status":"done","ticket":"studio-code-editor-workspace-foundations","title":"Establish Code Editor workspace foundations in Studio without LSP","created_at":"2026-03-30","updated_at":"2026-03-31","tags":["studio","editor","workspace","multi-frontend","lsp-deferred"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0026","file":"discussion/lessons/DSC-0010-studio-code-editor-workspace-foundations/LSN-0026-read-only-editor-foundations-and-semantic-deferral.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0011","status":"done","ticket":"compiler-analyze-compile-build-pipeline-split","title":"Split compiler pipeline into analyze, compile, and build entrypoints","created_at":"2026-03-30","updated_at":"2026-03-30","tags":["compiler","pipeline","artifacts","build","analysis"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0025","file":"discussion/lessons/DSC-0011-compiler-analyze-compile-build-pipeline-split/LSN-0025-compiler-pipeline-entrypoints-and-result-boundaries.md","status":"done","created_at":"2026-03-30","updated_at":"2026-03-30"}]}
{"type":"discussion","id":"DSC-0012","status":"done","ticket":"studio-editor-document-vfs-boundary","title":"Definir um boundary de VFS documental para tree/view/open files no Code Editor do Studio","created_at":"2026-03-31","updated_at":"2026-03-31","tags":["studio","editor","workspace","vfs","filesystem","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0027","file":"discussion/lessons/DSC-0012-studio-editor-document-vfs-boundary/LSN-0027-project-document-vfs-and-session-owned-editor-boundary.md","status":"done","created_at":"2026-03-31","updated_at":"2026-03-31"}]}
{"type":"discussion","id":"DSC-0013","status":"done","ticket":"studio-editor-write-wave-supported-non-frontend-files","title":"Definir a wave inicial de edicao no Code Editor apenas para arquivos aceitos e nao relacionados ao FE","created_at":"2026-03-31","updated_at":"2026-04-02","tags":["studio","editor","workspace","write","read-only","vfs","frontend-boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0028","file":"discussion/lessons/DSC-0013-studio-editor-write-wave-supported-non-frontend-files/LSN-0028-controlled-editor-write-wave-and-read-only-frontend-semantic-phase.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0014","status":"done","ticket":"studio-frontend-owned-semantic-editor-presentation","title":"Definir ownership do schema visual semantico do editor por frontend","created_at":"2026-04-02","updated_at":"2026-04-02","tags":["studio","editor","frontend","presentation","semantic-highlighting","compiler","pbs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0029","file":"discussion/lessons/DSC-0014-studio-frontend-owned-semantic-editor-presentation/LSN-0029-frontend-owned-semantic-presentation-descriptor-and-host-consumption.md","status":"done","created_at":"2026-04-02","updated_at":"2026-04-02"}]}
{"type":"discussion","id":"DSC-0015","status":"done","ticket":"pbs-service-facade-reserved-metadata","title":"SDK Service Bodies Calling Builtin/Intrinsic Proxies as Ordinary PBS Code","created_at":"2026-04-03","updated_at":"2026-04-03","tags":["compiler","pbs","sdk","stdlib","lowering","service","intrinsic","sdk-interface"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0030","file":"discussion/lessons/DSC-0015-pbs-service-facade-reserved-metadata/LSN-0030-sdk-service-bodies-over-private-reserved-proxies.md","status":"done","created_at":"2026-04-03","updated_at":"2026-04-03"}]}
{"type":"discussion","id":"DSC-0016","status":"done","ticket":"studio-editor-scope-guides-and-brace-anchoring","title":"Scope Guides do Code Editor com ancoragem exata em braces e destaque do escopo ativo","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","scope-guides","braces","semantic-read","frontend-contract"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0034","file":"discussion/lessons/DSC-0016-studio-editor-scope-guides-and-brace-anchoring/LSN-0034-active-scope-gutter-and-frontend-owned-structural-anchors.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
{"type":"discussion","id":"DSC-0017","status":"done","ticket":"studio-editor-inline-type-hints-for-let-bindings","title":"Inline Type Hints for Let Bindings in the Studio Editor","created_at":"2026-04-03","updated_at":"2026-04-06","tags":["studio","editor","inline-hints","inlay-hints","lsp","pbs","type-inference"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0035","file":"discussion/lessons/DSC-0017-studio-editor-inline-type-hints-for-let-bindings/LSN-0035-frontend-owned-inline-hints-with-decorative-inline-rendering.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
{"type":"discussion","id":"DSC-0018","status":"done","ticket":"studio-project-local-studio-state-under-dot-studio","title":"Persist project-local Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","shell","layout","setup"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0031","file":"discussion/lessons/DSC-0018-studio-project-local-studio-state-under-dot-studio/LSN-0031-project-local-studio-state-and-lifecycle-safe-layout-restoration.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0019","status":"done","ticket":"studio-project-local-setup-separate-from-main-studio-state","title":"Separate project-local setup from the main Studio state under .studio","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","project-session","project-state","persistence","dot-studio","setup","boundary"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0032","file":"discussion/lessons/DSC-0019-studio-project-local-setup-separate-from-main-studio-state/LSN-0032-separate-project-config-from-session-restoration-state.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0020","status":"done","ticket":"studio-editor-indentation-policy-and-project-setup","title":"Indentation Policy, Status-Bar Semantics, and Project-Local Editor Setup","created_at":"2026-04-04","updated_at":"2026-04-04","tags":["studio","editor","indentation","tabs","setup","dot-studio","configuration","ux"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0033","file":"discussion/lessons/DSC-0020-studio-editor-indentation-policy-and-project-setup/LSN-0033-setup-owned-indentation-policy-and-project-bootstrap-defaults.md","status":"done","created_at":"2026-04-04","updated_at":"2026-04-04"}]}
{"type":"discussion","id":"DSC-0021","status":"done","ticket":"studio-frontend-editor-write-and-save-wave","title":"Enable Frontend Editing and Save in the Studio Code Editor","created_at":"2026-04-04","updated_at":"2026-04-06","tags":["studio","editor","frontend","write","save","vfs","lsp","pbs","access-policy"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0036","file":"discussion/lessons/DSC-0021-studio-frontend-editor-write-and-save-wave/LSN-0036-vfs-owned-frontend-edit-and-save-wave.md","status":"done","created_at":"2026-04-06","updated_at":"2026-04-06"}]}
{"type":"discussion","id":"DSC-0022","status":"done","ticket":"studio-play-stop-cartridge-flow","title":"Wire the Studio Play/Stop button to shipper phase 1 cartridge preparation and runtime execution","created_at":"2026-04-06","updated_at":"2026-04-07","tags":["studio","play-stop","shipper","runtime","cartridge","shell"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0022","file":"discussion/lessons/DSC-0022-studio-play-stop-and-debugger-integration/LSN-0022-studio-play-stop-and-debugger-integration.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
{"type":"discussion","id":"DSC-0023","status":"done","ticket":"gradle-version-catalog-migration","title":"Move dependency version management to Version Catalog (TOML)","created_at":"2026-04-07","updated_at":"2026-04-07","tags":["gradle","buildSrc","dependency-management","version-catalog"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0037","file":"discussion/lessons/DSC-0023-gradle-version-catalog-migration/LSN-0037-gradle-version-catalog-adoption.md","status":"done","created_at":"2026-04-07","updated_at":"2026-04-07"}]}
@@ -0,0 +1,106 @@
---
id: LSN-0042
ticket: palette-management-in-studio
title: Schema-Driven Palette Authoring and Local Metadata Events
created: 2026-04-23
tags:
- studio
- glyph-bank
- palette-management
- color-schema
- local-events
---
## Context
The glyph-bank palette workflow originally treated palette candidates as extracted tile artifacts. That made grouping, recoloring, and final bank palette selection compete in the same surface.
The completed palette-management work split the workflow into two authored layers:
1. `Color Schema Groups`, where selected tiles are grouped into a shared index structure.
2. `Palette Overhauling`, where palettes are authored and selected against already-ready schemas.
The durable implementation lesson is that schema edits, palette edits, and build selection are all local glyph-material metadata operations first. They should update local metadata projections directly instead of forcing a full asset-details reload.
## Key Decisions
### Schema Owns Index Semantics
**What:** A schema is the authored index structure for a group of selected glyph-bank tiles. It owns `material_indices`, artifact bindings, fingerprint snapshots, version, and status.
**Why:** The source PNG stays unchanged, while Studio records how tile colors map into stable bank-local indices. This keeps tile grouping separate from recoloring.
**Trade-offs:** Schema invalidation must be explicit. When selected tile fingerprints drift, the schema can become inconsistent and dependent palettes become invalid or stale.
### Palettes Are Schema-Scoped
**What:** A palette always belongs to exactly one schema. It stores concrete `#RRGGBB` colors for that schema's visible indices and carries the schema version it was authored against.
**Why:** Multiple recolors can safely exist for one index structure without duplicating tile grouping metadata.
**Trade-offs:** Duplicate detection must use the tuple `schemaId + colors + order`, not display name or source tile identity.
### Original Palettes Are Synthetic and Read-Only
**What:** The original palette is the synthetic `schema-<schemaId>-original` projection derived from the current schema colors. It is not a persisted user palette.
**Why:** Updating the schema should update the original palette automatically. The original represents the schema's source color meaning, not a user-authored recolor.
**Trade-offs:** Users cannot edit or delete the original palette directly. If they want a changed palette, they create or edit a separate persisted palette for the same schema.
### Local Metadata Events Beat Global Reloads
**What:** Schema and palette metadata mutations should publish `StudioGlyphMaterialMetadataChangedEvent` and let interested sections rebind local state.
**Why:** Global asset refresh and selection events can close edit mode, reset form state, and make small metadata edits feel destructive.
**Trade-offs:** Controls must keep their local coordinators robust: stale button handlers should read the current view model at click time, and metadata replacement must preserve edit-mode drafts where possible.
## Patterns and Algorithms
### `glyph-material.json`
`glyph-material.json` is the Studio-owned support file for glyph-bank material authoring. It persists schemas and user-authored palettes, while derived original palettes remain a view projection.
Schema records store:
- stable `schema_id`
- `status`
- `version`
- dense visible `material_indices`
- artifact bindings with fingerprint snapshots
Palette records store:
- stable `palette_id`
- persisted `name`
- parent `schema_id`
- schema `version`
- concrete `colors`
### Palette Names
Palette names are persisted even when the user leaves the name field blank. The blank-name path resolves to a deterministic, simple generated name such as `snow white`, `fog twist`, or `ember bloom`.
The generated name is a convenience label only. Palette identity remains `palette_id`, and duplicate detection remains schema plus ordered colors.
### Original Palette Projection
Every ready schema projects a synthetic original palette from the schema's current `material_indices`.
This projection must always exist in the palette view, even if a user-authored palette has the same colors. A saved palette with the same schema and colors is still user-authored and can be deleted.
## Pitfalls
- Do not treat same colors as proof that a palette is original. Original means "synthetic schema projection", not "matches current schema colors".
- Do not publish global asset refresh events for local schema or palette metadata changes. Use local metadata events unless pack/runtime state truly changed.
- Do not let button handlers capture stale preview objects. Fetch the current coordinator view model at click time for destructive actions.
- Do not let blank palette names remain blank on disk. Resolve the generated name before persisting.
- Do not open the palette wizard for synthetic original palettes. They are read-only projections.
## Takeaways
- Schema formation and palette authoring are separate lifecycle stages.
- Original palettes are derived views, not persisted editable records.
- User-created palettes remain editable and removable even when they share a schema or colors with an original.
- Local metadata events preserve form continuity better than full asset refreshes.
@@ -0,0 +1,126 @@
---
id: LSN-0054
ticket: variable-tile-bank-palette-serialization
title: Runtime-Owned Variable Glyph Palette Counts
created: 2026-07-14
tags:
- packer
- studio
- glyph-bank
- palette-serialization
- rgba8888
- runtime-alignment
---
# Runtime-Owned Variable Glyph Palette Counts
### Original Problem
The first RGBA8888 alignment wave made Studio and packer emit palette colors in
the runtime channel order, but it deliberately kept the old fixed glyph-bank
palette payload shape. Every `GLYPH/indexed_v1` payload still reserved room for
64 palettes, so the emitted palette block was always `64 * 16 * 4 = 4096`
bytes even when the bank used one or a few palettes.
That fixed shape left two problems:
- packer output was larger than the runtime needed;
- `palette_count` could not be trusted as the effective runtime resident count,
because the payload still looked like a 64-palette bank.
Runtime later accepted the variable-palette protocol for
`GLYPH/indexed_v1`. Studio and packer had to follow that runtime-owned wire
contract instead of keeping a stale producer-side convention.
### Consolidated Decision
Runtime owns the `GLYPH/indexed_v1` protocol. Studio and packer are downstream
producers of runtime-conforming `assets.pa` payloads.
The accepted rule is:
1. `palette_count` is the effective serialized and resident palette count.
2. `palette_count` must be in the inclusive range `1..=64`.
3. Palette bytes are exactly `palette_count * 16 * 4`.
4. `size = ceil(width * height / 2) + palette_count * 16 * 4`.
5. `decoded_size = width * height + palette_count * 16 * 4`.
6. Palette bytes remain RGBA8888 in `R`, `G`, `B`, `A` order.
7. `GLYPH/indexed_v1` remains the format name. This change does not introduce
`GLYPH/indexed_v2`.
8. There is no compatibility mode for the old fixed 64-palette padding.
9. Palette IDs remain direct. There is no sparse-to-dense remapping metadata in
v1.
10. `palette_authored`, when present, is informative tooling metadata only.
### Implementation Result
The packer specs now define `palette_count` as runtime-effective metadata for
glyph banks and describe the variable palette payload in the build-artifact
contract. Studio-facing asset workspace docs now keep `palette_count` distinct
from any authored or tooling-only palette count.
The packer metadata model derives and validates effective palette count instead
of hard-coding `64`. Sparse direct palette IDs are preserved by materializing
intermediate palette slots up to the highest referenced ID; those slots are not
a remapping table.
Payload emission now writes exactly the effective number of palette slots. Size
and decoded-size accounting use the same formula as the runtime contract, so
metadata, asset-table entries, and payload lengths agree.
Tests and fixtures cover `palette_count = 1`, intermediate counts, `64`, sparse
direct identity, invalid counts above `64`, RGBA8888 byte order, and payload
size accounting. Final validation passed with:
- `discussion validate`;
- `./gradlew :prometeu-packer:prometeu-packer-v1:test`;
- `./gradlew build`.
### Practical Examples
A 256 by 256 glyph bank with one palette has:
```text
pixel bytes = ceil(256 * 256 / 2) = 32768
palette bytes = 1 * 16 * 4 = 64
size = 32768 + 64 = 32832
decoded_size = 256 * 256 + 64 = 65600
```
A bank that references palette ID `6` has an effective `palette_count` of at
least `7`. Palette slots `0` through `6` exist in the serialized palette block.
If some lower slots were not authored directly, they are deterministic
placeholders; palette `6` is not remapped to palette `0`.
### Common Pitfalls and Anti-patterns
- Do not infer runtime payload length from the maximum allowed palette count.
`64` is the upper bound, not the default emitted count.
- Do not use `palette_authored` as a runtime-effective field. It may describe a
tool view, but runtime loads `palette_count`.
- Do not preserve fixed 4096-byte palette padding for banks with fewer than 64
effective palettes.
- Do not create `GLYPH/indexed_v2` to carry this change. The accepted runtime
protocol keeps the v1 format name.
- Do not introduce sparse-to-dense palette remapping metadata. Existing scene,
sprite, packer, and runtime references use direct palette identity.
- Do not combine RGBA8888 channel-order work with palette-count semantics.
RGBA8888 defines each color value; `palette_count` defines how many palettes
are serialized and resident.
### References
- Runtime decision:
`../runtime/discussion/workflow/decisions/DEC-0041-variable-glyph-bank-palette-protocol.md`.
- Studio/packer decision:
`discussion/workflow/decisions/DEC-0038-variable-glyph-bank-palette-serialization.md`.
- `PLN-0087`: Variable glyph palette spec propagation.
- `PLN-0088`: Variable glyph palette metadata and count model.
- `PLN-0089`: Variable glyph palette payload emission and size accounting.
- `PLN-0090`: Studio and packer projections for variable glyph palettes.
- `PLN-0091`: Variable glyph palette tests, fixtures, and final validation.
- Prior lesson:
`discussion/lessons/DSC-0038-studio-packer-rgba8888-asset-pipeline/LSN-0053-rgba8888-is-the-canonical-studio-packer-palette-contract.md`.
- `docs/specs/packer/3. Asset Declaration and Virtual Asset Contract Specification.md`.
- `docs/specs/packer/4. Build Artifacts and Deterministic Packing Specification.md`.
- `docs/specs/studio/4. Assets Workspace Specification.md`.
@@ -6,6 +6,10 @@ created: 2026-03-31
tags: [studio, editor, workspace, read-only, navigator, tabs, lsp-deferred, ui-foundations] tags: [studio, editor, workspace, read-only, navigator, tabs, lsp-deferred, ui-foundations]
--- ---
## Historical Status
This lesson documents the removed embedded Studio code editor. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
Studio needed a real `Code Editor` workspace, but the team explicitly did not want the first wave to collapse UI structure, file management, write behavior, and language semantics into one premature implementation. Studio needed a real `Code Editor` workspace, but the team explicitly did not want the first wave to collapse UI structure, file management, write behavior, and language semantics into one premature implementation.
@@ -6,6 +6,10 @@ created: 2026-03-31
tags: [studio, editor, vfs, project-session, filesystem, boundary, architecture] tags: [studio, editor, vfs, project-session, filesystem, boundary, architecture]
--- ---
## Historical Status
This lesson documents the removed embedded Studio editor/VFS split. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The first Studio `Code Editor` wave had already established a read-only editorial shell, but the concrete implementation still let the editor package own direct filesystem concerns for: The first Studio `Code Editor` wave had already established a read-only editorial shell, but the concrete implementation still let the editor package own direct filesystem concerns for:
@@ -6,6 +6,10 @@ created: 2026-04-02
tags: [studio, editor, vfs, lsp, access-policy, save, read-only, frontend-boundary] tags: [studio, editor, vfs, lsp, access-policy, save, read-only, frontend-boundary]
--- ---
## Historical Status
This lesson documents the removed embedded Studio editor, VFS, and legacy LSP flow. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The first Studio `Code Editor` implementation had already established a session-owned document boundary through `prometeu-vfs`, but it was still missing the next operational split: The first Studio `Code Editor` implementation had already established a session-owned document boundary through `prometeu-vfs`, but it was still missing the next operational split:
@@ -6,6 +6,10 @@ created: 2026-04-02
tags: [studio, editor, frontend, semantic-highlighting, lsp, compiler, pbs, presentation] tags: [studio, editor, frontend, semantic-highlighting, lsp, compiler, pbs, presentation]
--- ---
## Historical Status
This lesson documents the removed embedded Studio semantic editor presentation path. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The first semantic highlight wave for frontend documents had already proved that Studio could consume semantic spans through the integrated LSP path. The first semantic highlight wave for frontend documents had already proved that Studio could consume semantic spans through the integrated LSP path.
@@ -6,6 +6,10 @@ created: 2026-04-06
tags: [studio, editor, scope-guides, structural-anchors, semantic-read, frontend-contract] tags: [studio, editor, scope-guides, structural-anchors, semantic-read, frontend-contract]
--- ---
## Historical Status
This lesson documents the removed embedded Studio editor gutter and structural-anchor flow. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The Studio editor already exposed structural guides in the gutter, but the old behavior mixed two different concerns: The Studio editor already exposed structural guides in the gutter, but the old behavior mixed two different concerns:
@@ -6,6 +6,10 @@ created: 2026-04-06
tags: [studio, editor, inline-hints, lsp, compiler, pbs, type-inference, rendering] tags: [studio, editor, inline-hints, lsp, compiler, pbs, type-inference, rendering]
--- ---
## Historical Status
This lesson documents the removed embedded Studio inline-hint path. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The repository needed inline type hints for inferred PBS `let` bindings, but the real architectural issue was broader than one PBS feature. The repository needed inline type hints for inferred PBS `let` bindings, but the real architectural issue was broader than one PBS feature.
@@ -6,6 +6,10 @@ created: 2026-04-04
tags: [studio, editor, indentation, tabs, setup, dot-studio, project-creation, gitignore] tags: [studio, editor, indentation, tabs, setup, dot-studio, project-creation, gitignore]
--- ---
## Historical Status
This lesson documents indentation policy choices made for the removed embedded Studio editor. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The Studio editor exposed an indentation chip in the status bar, but that chip was driven by file-content heuristics rather than by a stable editor policy. The Studio editor exposed an indentation chip in the status bar, but that chip was driven by file-content heuristics rather than by a stable editor policy.
@@ -6,6 +6,10 @@ created: 2026-04-06
tags: [studio, editor, frontend, write, save, vfs, lsp, access-policy, persistence] tags: [studio, editor, frontend, write, save, vfs, lsp, access-policy, persistence]
--- ---
## Historical Status
This lesson documents the removed embedded Studio frontend edit/save wave. Keep it as historical context only; do not treat it as current product guidance after `DEC-0031`.
## Context ## Context
The first editor write wave had deliberately kept frontend files hard `read-only` while semantic-read support shipped through `prometeu-lsp`. The first editor write wave had deliberately kept frontend files hard `read-only` while semantic-read support shipped through `prometeu-lsp`.
@@ -1,5 +1,5 @@
--- ---
id: LSN-0022 id: LSN-0043
ticket: studio-play-stop-cartridge-flow ticket: studio-play-stop-cartridge-flow
title: Studio Play/Stop and Debugger Workspace Integration title: Studio Play/Stop and Debugger Workspace Integration
status: done status: done
@@ -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. - **Naming Consistency**: Ensure library aliases in TOML follow a clear pattern (e.g., `slf4j-api` vs `slf4jApi`) to keep the build scripts readable.
## References ## References
- [DEC-0023-gradle-version-catalog-adoption.md](../../workflow/decisions/DEC-0023-gradle-version-catalog-adoption.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](../../workflow/plans/PLN-0046-implement-gradle-version-catalog.md) - PLN-0046-implement-gradle-version-catalog.md (`PLN-0046-implement-gradle-version-catalog.md`, historical workflow artifact removed by housekeeping)
@@ -1,16 +0,0 @@
# LSN-0039: Jenkins + JaCoCo Integration with Multi-Module Gradle
- **Problem:** O Jenkinsfile estava desatualizado, tentando rodar uma task de cobertura inexistente (`testCodeCoverageReport`) em um subprojeto específico, ignorando a cobertura global e causando falhas no pipeline.
- **Decision:** Alinhar o `Jenkinsfile` com a task de agregação customizada no root project (`jacocoTestReport`), removendo a dependência de subprojetos específicos para métricas globais.
- **Implementation:**
- Atualizado o comando de execução no Jenkins: `./gradlew clean test jacocoTestReport`.
- Ajustado o `recordCoverage` para ler o XML consolidado em `build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml`.
- Ajustado o `publishHTML` para exibir o relatório consolidado em `build/reports/jacoco/jacocoTestReport/html`.
- **Example:**
- Antes: `SRS_APP/build/reports/...` (específico por app).
- Depois: `build/reports/...` (global do projeto).
- **Pitfalls:**
- Ao usar relatórios consolidados no root, deve-se garantir que o Gradle rode a task de agregação *após* os testes de todos os subprojetos.
- O Jenkins precisa de acesso ao workspace root para encontrar esses arquivos; caminhos relativos no `Jenkinsfile` geralmente partem do root do checkout.
- **References:**
- `DSC-0024`, `DEC-0025`, `PLN-0048`.
@@ -0,0 +1,45 @@
---
id: LSN-0044
ticket: jacoco-reports-consolidation
title: Jenkins Alignment with Consolidated JaCoCo Reports
created: 2026-04-07
tags:
- infra
- gradle
- jacoco
- jenkins
---
## Context
The Jenkins pipeline was still wired to an outdated coverage task and module-specific report paths. That made CI brittle after the project moved coverage reporting to the root-level consolidated `jacocoTestReport` task.
## Key Decisions
### Jenkins Reads Root-Level Coverage
**What:** Jenkins should run `./gradlew clean test jacocoTestReport` and publish coverage from the root project report directory.
**Why:** Coverage is aggregated across modules, so CI should not depend on a single application subproject path.
**Trade-offs:** The root task must run after all relevant tests. Jenkins paths must be rooted at the checkout workspace rather than a submodule directory.
## Patterns and Algorithms
The canonical report locations are:
- XML: `build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml`
- HTML: `build/reports/jacoco/jacocoTestReport/html`
Jenkins `recordCoverage` should consume the XML report. Jenkins `publishHTML` should expose the HTML directory.
## Pitfalls
- Do not point Jenkins at `SRS_APP/build/reports/...` or another module-local report when the project expects consolidated root coverage.
- Do not run only the reporting task without ensuring tests have executed first.
- Do not assume Jenkins relative paths start inside a Gradle subproject; treat the checkout root as the base.
## Takeaways
- Root-level coverage aggregation needs root-level CI report paths.
- The Jenkinsfile and Gradle coverage task names must move together.
@@ -0,0 +1,103 @@
---
id: LSN-0045
ticket: studio-tiled-parser-assets-scene-asset-type
title: Asset-Owned Scene Bank and Tiled XML Workflow
created: 2026-04-23
tags:
- studio
- assets
- scene-bank
- tiled
- tmx
- tsx
---
## Context
The abandoned scene-workspace direction was replaced by an asset-first model. Scene authoring and validation now belong to the `Assets` workspace, while heavy map editing remains external in Tiled.
The final model keeps runtime asset families disciplined:
- `Scene Bank` is the scene-facing asset managed by Studio.
- `Glyph Bank` remains the base family for tilesets.
- `Tileset`, `Sprites`, and `UI` are Studio-only glyph-bank specializations, not new runtime families.
## Key Decisions
### Scene Banks Are Assets, Not Workspaces
**What:** Scene-bank lifecycle is owned by the `Assets` workspace: creation, metadata, layer configuration, validation, acceptance, and diagnostics.
**Why:** The product direction explicitly discarded a dedicated scene workspace. Asset ownership keeps scene work aligned with existing asset actions, summaries, diagnostics, and refresh flows.
**Trade-offs:** Studio does not provide a heavy map editor in this wave. Users edit `TMX` and `TSX` externally in Tiled, then return to Studio for validation and acceptance.
### TMX and TSX Are the Wave-1 XML Surfaces
**What:** Wave 1 supports XML read/write for `TMX` map documents and `TSX` tileset documents.
**Why:** Tiled is the interoperability surface. Keeping `TMX` as the maintained scene document avoids inventing a parallel normalized scene schema too early.
**Trade-offs:** Unsupported Tiled features must fail explicitly rather than being silently normalized away.
### Tileset Specialization Stays Studio-Only
**What:** A `Glyph Bank / Tileset` specialization generates the Tiled-facing `TSX` document for that glyph bank.
**Why:** Tileset generation is editorial Studio behavior over a glyph bank. It should not leak into runtime family identity.
**Trade-offs:** The asset summary must show both the base type and specialization so users understand the role without confusing it for a new runtime asset family.
### Scene Validation Requires Explicit Acceptance
**What:** A scene bank is not ready merely because files exist. Studio validates the current `TMX`/`TSX` state and requires explicit acceptance of the converged result.
**Why:** External editing can change files behind Studio's back. Acceptance makes the boundary deliberate and auditable.
**Trade-offs:** Users must perform an extra validation/accept step after external edits, but Studio avoids silently blessing invalid or unsupported scene state.
## Patterns and Algorithms
### Scene-Bank Support Metadata
Scene-bank support metadata lives with the scene asset and records the wave-1 layer model:
- fixed `1..4` scene layers;
- per-layer enabled state;
- per-layer `tilemap` filename;
- per-layer linked `tileset_asset_root`;
- map dimensions and explicit layer-to-tilemap binding.
This support file is the Studio-owned convention that lets a scene bank contain multiple maintained `TMX` documents while preserving deterministic layer mapping.
### Tiled File Generation
`Tileset` glyph banks generate `TSX` files. Scene banks generate or maintain layer-specific `TMX` files that reference those generated `TSX` files.
Each wave-1 tilemap references exactly one generated `TSX`. Multi-tileset maps remain outside this wave.
### Validation and Acceptance Files
Scene validation records the inspected file state and diagnostics. Acceptance records the validated state that Studio has explicitly approved.
This creates a useful external-edit loop:
1. generate or edit `TMX`/`TSX`;
2. validate in Studio;
3. inspect diagnostics;
4. accept only after validation succeeds.
## Pitfalls
- Do not reintroduce a dedicated scene workspace for wave 1.
- Do not turn `Tileset` specialization into a runtime asset family.
- Do not silently auto-accept external Tiled edits after refresh.
- Do not treat `TMX`/`TSX` generation as pack publication. Runtime scene packing remains a separate later concern.
- Do not allow unsupported Tiled constructs to disappear quietly. They must surface as diagnostics.
## Takeaways
- Scene Bank belongs in Assets, not in a separate authoring workspace.
- `TMX` remains the maintained scene document for wave 1.
- `TSX` generation belongs to `Glyph Bank / Tileset`.
- Validation plus explicit acceptance is the core safety gate for external Tiled editing.
@@ -0,0 +1,60 @@
---
id: LSN-0046
ticket: studio-scene-pack-runtime-binary-contract
title: Canonical scene owns editorial truth while pack stays request-driven
created: 2026-05-01
tags: [studio, packer, runtime, scene, tiled, import-export]
---
## Context
`Scene Bank` needed a stable path from Studio authoring to runtime `SCENE` bytes without letting editor-specific files become the product contract. The first accepted direction closed the `studio -> packer -> runtime` boundary correctly, but the initial editorial implementation still treated `TMX` as if it were the unit of truth. That created friction because the supported external editor (`Tiled`) was being modeled around the wrong ownership boundary.
The final state of `DSC-0030` keeps the publication contract from `DEC-0029` and replaces only the mistaken editorial model through `DEC-0030`.
## Key Decisions
### Request-driven publication boundary
**What:** Publication of `Scene Bank` assets uses a canonical `studio -> packer` request that packer compiles directly into runtime `SCENE` payload bytes.
**Why:** This keeps `prometeu-packer` isolated from `TMX`, `TSX`, and any future editor-specific format. It also preserves runtime ownership of `glyph_asset_id -> slot` resolution instead of leaking runtime operational details back into Studio.
**Trade-offs:** Studio must project editorial state into a separate publication representation, so the system carries more than one representation of the same scene on purpose.
### Studio-owned canonical scene entity
**What:** The primary editorial source of truth is a Studio-native canonical scene entity, not `TMX`, not `TSX`, and not the pack request itself.
**Why:** The external editor format should remain replaceable. If `TMX` becomes the canonical model, Studio evolution gets trapped by Tiled semantics and every future interoperability choice becomes harder.
**Trade-offs:** Studio now owns more editorial modeling and validation logic internally instead of delegating shape decisions to external files.
### Tiled as compatibility, not authority
**What:** `TMX (Tiled)` scene import/export and `TSX (Tiled)` glyph export are compatibility workflows around the canonical scene entity.
**Why:** This preserves interoperability with the supported wave-1 tooling while making it explicit that external files are adapters, not authoritative persistence.
**Trade-offs:** Import must reject unsupported structural mutations instead of silently absorbing arbitrary external edits.
## Patterns and Algorithms
- Keep three representations distinct: Studio canonical scene entity, canonical pack request, and runtime `SCENE` bytes.
- Validate canonical scene integrity in `Analyse` and/or `Pack`, not by treating editor files as the lifecycle owner.
- Use import compatibility checks before mutating canonical state, and fail without partial rewrite on unsupported structural divergence.
- Keep packer request-driven so tests can prove scene packing succeeds without parsing `TMX` or `TSX`.
## Pitfalls
- Do not let a supported editor file become a hidden canonical model just because it is easy to serialize.
- Do not collapse the canonical Studio scene entity into the pack request; publication shape and editorial shape serve different purposes.
- Do not reintroduce `TMX per layer` or any equivalent workflow that makes scene cohesion secondary.
- Do not relax the packer boundary by teaching packer to read editor-native files directly.
## Takeaways
- Scene editorial truth belongs to Studio.
- Scene publication truth belongs to the canonical request.
- Runtime operational truth belongs to the runtime `SCENE` contract and slot resolution logic.
- Import/export support should stay replaceable as long as it materializes the same request boundary.
@@ -0,0 +1,84 @@
---
id: LSN-0049
discussion: DSC-0031
title: Remove the embedded editor stack before rebuilding code workflows
status: done
created: 2026-05-08
updated: 2026-05-08
tags: [studio, editor, cleanup, lsp, vfs, shell, migration]
---
## Original Problem
Studio still carried an embedded `Code Editor` workspace together with a `prometeu-vfs` boundary and a legacy `prometeu-lsp` path that existed only to support that editor.
That stack had become architectural drag:
- the JavaFX editor was no longer a product direction;
- the legacy `VFS` and `LSP` contracts were shaped around that editor model;
- shell state and project session still persisted editor-specific assumptions;
- and keeping those surfaces alive made any future code-backend redesign harder.
## Consolidated Decision
`DEC-0031` locked a full cleanup of the embedded editor stack.
The repository removed:
- the `Code Editor` workspace as an active Studio surface;
- the legacy editor-owned `VFS` boundary;
- the legacy editor-era `LSP` assumptions;
- shell/session/state dependencies that expected the editor to exist;
- and normative references that treated that stack as current architecture.
The decision also locked an equally important limit:
- this cleanup was not allowed to define the future code backend;
- a replacement LSP or automation boundary had to come later, in separate discussion.
## Final Result
The Studio shell now opens with surviving workspaces only: `Assets`, `Debug`, and `Shipper`.
Project-local state no longer persists editor restoration or editor layout fields, while still loading old state safely and falling back to surviving shell behavior.
The cleanup also succeeded without freezing the repository in a "no LSP ever again" state.
Later work in `DSC-0032` introduced a new project-scoped LSP boundary as separate architecture, which is exactly what `DEC-0031` required: remove the old stack first, then rebuild cleanly under a new decision.
## Implementation Notes
The cleanup landed in three coordinated waves:
1. shell/session/state cleanup removed `WorkspaceId.EDITOR`, editor restoration state, and editor-owned session composition;
2. the old editor-era `VFS` and `LSP` stack stopped being the active Studio foundation;
3. specs, tests, and historical references were revised so the removed editor stack no longer appears as current product guidance.
This produced an important boundary reset:
- Studio remains responsible for launcher, assets, shipper, debug, build, and run orchestration;
- code-editing architecture is no longer smuggled in through dead UI or legacy session seams.
## Example
Before the cleanup, an old `.studio/state.json` could still restore editor-centric state.
After the cleanup, the same persisted payload is treated defensively:
- old editor fields are ignored;
- the selected workspace falls back safely when `EDITOR` is present;
- the project reopens into a surviving workspace instead of reviving a dead surface.
## Pitfalls and Anti-Patterns
- Do not preserve dead editor-era boundaries "for compatibility" when the product direction has already moved.
- Do not treat naming continuity as architectural continuity. A later `prometeu-lsp` module can be valid if it comes from a new discussion and a new boundary.
- Do not leave project-local state as an accidental migration trap; persisted legacy fields must degrade safely.
## References
- `AGD-0034` Limpeza completa do Workspace Editor do Studio e remoção dos acoplamentos legados
- `DEC-0031` Limpeza completa do Workspace Editor do Studio e remoção dos acoplamentos legados
- `PLN-0062` Shell Session and State Cleanup After Editor Removal
- `PLN-0063` Legacy LSP and VFS Module Removal with Runtime Preservation
- `PLN-0064` Normative Test and Lesson Cleanup for Editor Stack Removal
- `LSN-0047` Project-scoped LSP boundary and protocol containment
@@ -0,0 +1,106 @@
---
id: LSN-0047
ticket: studio-new-lsp-api-and-v1-boundary
title: Project-Scoped LSP Boundary and Protocol Containment
created: 2026-05-07
tags: [studio, lsp, vscode, protocol, api, boundary, compiler]
---
## Context
After the legacy embedded editor stack was removed, Prometeu needed a new LSP baseline without repeating the old mistake of collapsing protocol, session lifecycle, host UI, and semantic ownership into one module.
The main architectural pressure came from two facts:
- the VS Code extension already existed as a real LSP client over TCP,
- and the compiler already existed as the canonical owner of semantic behavior.
That meant the missing piece was not "add editor features first". The missing piece was a strict boundary that let the Studio host, the protocol adapter, and the compiler evolve without contaminating each other.
## Key Decisions
### Keep `lsp-api` Minimal and Internal
**What:**
`lsp-api` became a narrow internal Studio boundary, starting with project-scoped lifecycle operations such as boot and shutdown instead of mirroring the LSP protocol.
**Why:**
The Studio needed a reusable internal service boundary, not a second copy of the external wire protocol.
**Trade-offs:**
The API starts intentionally small and may need explicit growth later, but that is safer than locking protocol-shaped DTOs into the internal architecture too early.
### Contain `LSP4J` and Protocol DTOs Inside `lsp-v1`
**What:**
`lsp-v1` became the only concrete protocol adapter and the only module allowed to depend on `LSP4J`.
**Why:**
Protocol libraries are integration details. If they leak outward, the host architecture starts depending on the current transport and implementation framework instead of on stable domain boundaries.
**Trade-offs:**
This forces explicit mapping layers and a little more ceremony, but it keeps protocol churn from infecting the rest of the codebase.
### Make the Server Lifecycle Project-Scoped
**What:**
The LSP server now belongs to project open/close lifecycle instead of global Studio process startup.
**Why:**
Project scope is the real ownership boundary for source roots, compiler context, and editor-facing behavior.
**Trade-offs:**
Lifecycle wiring is slightly more involved, but resource ownership becomes predictable and multi-project behavior stays sane.
### Keep `compiler` as Semantic Owner Even in a Dumb First Wave
**What:**
The baseline server remained intentionally simple in behavior, but its request handling already routes through compiler-facing bridge seams.
**Why:**
A "temporary mock" becomes dangerous when it also becomes the architecture. The repository needed a structurally correct baseline before adding semantic depth.
**Trade-offs:**
Wave 1 delivered less feature richness, but it created a safe foundation for later layering.
## Patterns and Algorithms
### Pattern: Internal Boundary, External Adapter
The stable split is:
1. `lsp-api` exposes internal lifecycle operations,
2. `lsp-v1` speaks protocol and transport,
3. `compiler` owns semantic and analysis behavior,
4. the VS Code extension remains an ordinary external LSP client.
### Pattern: Build the Seams Before the Features
The server can begin "dumb" in capability coverage if:
- the lifecycle boundary is already correct,
- compiler access already flows through explicit bridge services,
- and protocol containment is already enforced.
That sequence is safer than shipping richer features on top of a blurred module boundary.
## Pitfalls
- Do not let `lsp-api` grow into a shadow copy of the LSP protocol.
- Do not import `LSP4J` outside `lsp-v1`, even for convenience.
- Do not move semantic ownership into the protocol adapter just because the adapter is the caller-facing layer.
- Do not boot a global server for the entire Studio process when the actual ownership boundary is the project session.
- Do not treat a connectivity mock as an acceptable long-term module shape.
## References
- `DEC-0032` Boundary normativo entre lsp-api, lsp-v1 e a extensao VS Code
- `PLN-0065` LSP Boundary and Module Scaffolding
- `PLN-0066` Project-Scoped LSP Server Lifecycle in Studio
- `PLN-0067` Compiler-Backed Dumb LSP Server Baseline
## Takeaways
- Protocol adapters should stay narrow and concrete; internal Studio boundaries should stay protocol-agnostic.
- Project-scoped lifecycle is the correct owner for the LSP server.
- A dumb first wave is acceptable only when the architecture is already correct.
@@ -0,0 +1,93 @@
---
id: LSN-0050
discussion: DSC-0033
title: Frontend-owned visual themes with structured contract and host adapters
status: done
created: 2026-05-08
updated: 2026-05-08
tags: [compiler, compiler-general, frontend, presentation, theming, lsp, vscode, pbs]
---
## Original Problem
Frontend semantic presentation was frontend-owned in principle, but not in a form that could survive multiple hosts.
PBS still depended on authored semantic CSS as the practical visual source of truth, which created three problems:
- CSS was a host-facing artifact rather than a compiler-general contract;
- VS Code could only approximate frontend intent through manual translation;
- every host risked drifting away from the frontend's real visual identity.
## Consolidated Decision
`DEC-0033` replaced authored host-consumed semantic CSS with a structured frontend-owned visual contract.
That contract now owns:
- the frontend theme list;
- the default active theme;
- token-scoped styles;
- editor-surface palette data;
- and host projections used to translate frontend semantic keys into host-native semantic selectors.
Hosts are adapters over this data.
They do not own frontend visual truth.
## Final Result
The canonical visual source now lives in `FrontendSemanticPresentationSpec`, with concrete PBS theme data and host projections authored in structured Java models instead of CSS resources.
The new LSP path transports:
- frontend semantic keys;
- visual themes;
- active theme identity;
- and host projection metadata.
The VS Code extension consumes that payload and writes semantic token and workbench color customizations dynamically, which means routine frontend color changes no longer require hand-edited extension theme tables.
The old PBS semantic CSS still exists only as migration residue and derivative compatibility material.
It is no longer the authored canonical contract.
## Implementation Notes
The decision was realized across four layers:
1. compiler/frontend metadata grew a structured presentation contract;
2. PBS migrated its theme definition into that contract;
3. the LSP description path started exporting visual themes and host projections;
4. the VS Code extension became a mechanical translator of the contract at runtime.
This also clarified the relationship between `DSC-0033` and `DSC-0034`:
- `DSC-0033` established the structured theme contract and CSS retirement;
- `DSC-0034` established that host projections belong in the frontend contract rather than in the host.
Together they define the current highlight pipeline.
## Example
For PBS today:
- the frontend publishes semantic keys such as `pbs-keyword` and `pbs-service`;
- the same frontend publishes the canonical theme colors and emphasis flags for those keys;
- the LSP sends the theme plus a `vscode` host projection;
- the VS Code extension applies both the canonical semantic selectors and the projected host selectors.
This is why a color change in PBS theme data can flow to VS Code without a new curated palette in `package.json`.
## Pitfalls and Anti-Patterns
- Do not reintroduce CSS as a silent second source of truth.
- Do not move frontend theme authorship into host adapters just because one host has capability gaps.
- Do not collapse frontend semantic identity into generic host categories during transport; host categories are projections, not the canonical vocabulary.
## References
- `AGD-0036` Frontend Visual Theme Spec and Retirement of Host-Consumed Semantic CSS
- `DEC-0033` Frontend-owned visual theme spec as canonical presentation contract
- `PLN-0068` Frontend Visual Contract and PBS Migration
- `PLN-0069` LSP Visual Theme Transport and Theme Selection Propagation
- `PLN-0070` Studio Visual Theme Adapter and CSS Retirement
- `PLN-0071` VS Code Dynamic Theme Translation Adapter
- `LSN-0048` Frontend-owned semantic vocabularies with declarative host projection
@@ -0,0 +1,90 @@
---
id: LSN-0048
ticket: frontend-semantic-host-projection-flexibility
title: Frontend-Owned Semantic Vocabularies with Declarative Host Projection
created: 2026-05-07
tags: [compiler, compiler-general, frontend, semantics, vscode, host-projection, lsp]
---
## Context
Prometeu had already established that frontend-owned visual themes should remain canonical.
The remaining semantic risk was subtler: VS Code prefers host-shaped token categories, and that pressure could easily turn the host taxonomy into the real source of semantic truth.
This discussion closed that gap by making semantic ownership explicit:
- the frontend keeps the canonical semantic vocabulary,
- host adaptation is additional metadata,
- and the adapter translates mechanically instead of inventing semantic policy.
## Key Decisions
### Keep Frontend Semantic Keys Canonical
**What:**
Each frontend remains free to define and evolve its own semantic keys, and those keys stay canonical across the stack.
**Why:**
Semantic meaning belongs to the language frontend, not to a single host's preferred category system.
**Trade-offs:**
Adapters must handle more varied vocabularies, but that is the correct cost of preserving frontend ownership.
### Add Declarative Host Projection Instead of Global Normalization
**What:**
The frontend now authors host projection metadata describing how canonical semantic keys should map into VS Code token types, modifiers, and fallbacks.
**Why:**
Hosts still need a practical adaptation path, but that adaptation should be explicit projection data rather than a hidden normalization rule.
**Trade-offs:**
The contract grows an extra layer, but it stays declarative and prevents semantic meaning from being reauthored inside the adapter.
### Keep LSP and the Extension Mechanical
**What:**
LSP transports canonical keys plus projection metadata, and the VS Code extension consumes both mechanically.
**Why:**
If either layer starts hand-mapping semantic meaning, the host stack becomes the de facto author of language semantics.
**Trade-offs:**
The transport and adapter need clearer model shapes, but their responsibilities stay cleaner and more reusable.
## Patterns and Algorithms
### Pattern: Canonical Vocabulary Plus Per-Host Projection
The stable flow is:
1. frontend defines semantic keys,
2. frontend defines host projections for those keys,
3. LSP transports canonical keys and projection data together,
4. the host adapter applies the projection without reinterpretation.
### Pattern: Mechanical Translation with Explicit Fallbacks
Projection metadata should say not only the preferred host token type, but also the fallback when the host cannot represent the frontend key exactly.
That keeps fallback behavior visible and reviewable instead of implicit in adapter code.
## Pitfalls
- Do not collapse frontend semantic keys into a repository-wide host taxonomy.
- Do not hide semantic policy inside the VS Code extension just because the platform has its own token vocabulary.
- Do not transport only host-shaped token types and discard canonical frontend identity.
- Do not confuse projection metadata with the canonical semantic contract itself.
## References
- `DEC-0034` Frontend semantic vocabularies remain canonical and hosts consume declarative projections
- `PLN-0072` Frontend Semantic Host Projection Contract
- `PLN-0073` LSP Semantic Host Projection Transport
- `PLN-0074` VS Code Semantic Host Projection Adapter
- `DEC-0033` Frontend-owned visual theme spec as canonical presentation contract
## Takeaways
- Semantic ownership stays with the frontend even when the host prefers a different taxonomy.
- Host projection is the right adaptation mechanism; global normalization is not.
- LSP and host adapters stay healthier when they translate declaratively instead of authoring semantic meaning.
@@ -0,0 +1,78 @@
---
id: LSN-0051
ticket: pbs-lsp-editor-assistance-wave-1
title: Compiler-Backed Editor Assistance for PBS
created: 2026-05-08
tags: [studio, lsp, vscode, compiler, compiler-pbs, editor, completion, hover, signature-help]
---
## Original Problem
PBS editing in VS Code already had basic diagnostics and frontend-owned semantic highlighting, but it still lacked the minimum assistance expected during everyday code authoring:
1. no `completion`;
2. placeholder-only `hover`;
3. no `signature help`.
Without those features, the editor behaved more like a colored diagnostic viewer than a practical PBS authoring surface.
## Consolidated Decision
Wave 1 of PBS editor assistance is `completion`, symbol-resolved `hover`, and `signature help`.
These features must be built on one compiler-backed editorial resolution surface. The VS Code extension remains a thin LSP client, and the LSP layer projects compiler knowledge into protocol responses instead of inventing editor-local semantic tables.
The shared surface must be able to describe:
1. symbol identity and kind;
2. module or origin when relevant;
3. signature or shape when applicable;
4. available members for recognized receivers;
5. optional documentation when available.
The wave explicitly excludes formatter work, robust automatic indentation, `go to definition`, `references`, `rename`, quick fixes, broad code actions, and the PBS authored-documentation syntax.
## Final Implementation Shape
The work was decomposed into three execution fronts:
1. `compiler/pbs` owns the editorial resolution model for symbols, members, signatures, and optional documentation.
2. `studio/lsp` exposes completion, hover, and signature-help request handling over that model and advertises the corresponding LSP capabilities.
3. `tools/vscode-extension` consumes the LSP responses as a thin client and must not add hardcoded PBS semantic tables for members, stdlib, or signatures.
This split keeps semantic truth in the compiler, protocol ownership in the LSP server, and UI integration in the extension.
## Examples
Completion should cover at least:
1. language keywords;
2. local names in scope;
3. relevant imported or public symbols;
4. members after `.` for recognized surfaces such as services, hosts, builtin types, structs, and related callable surfaces.
Hover should include, when available:
1. symbol kind;
2. signature;
3. module or origin;
4. basic type or shape.
Signature help should cover function, method, and constructor calls with active signature and active parameter information.
## Pitfalls
Do not implement completion, hover, and signature help as three independent semantic paths. That duplicates parser, linking, stdlib, and member knowledge, then makes the editor inconsistent.
Do not patch around missing server behavior in the VS Code extension. Client-local tables for PBS members, stdlib, or signatures turn the extension into a second semantic engine.
Do not block this wave on authored PBS documentation syntax. The editorial model should have an optional documentation slot, but the language feature for authoring that documentation belongs to a separate discussion.
Do not broaden this wave into general IDE support. Definition, references, rename, formatter, quick fixes, and broad code actions are later work.
## References
- `DEC-0035` captured the normative decision for wave 1.
- `PLN-0075` covered the compiler-side editorial resolution surface.
- `PLN-0076` covered LSP projection and protocol capabilities.
- `PLN-0077` covered VS Code thin-client consumption and validation.
@@ -0,0 +1,104 @@
---
id: LSN-0057
ticket: pbs-symbol-documentation-and-hover-markdown
title: Compiler-Owned PBS Doc Markdown for Editor Assistance
created: 2026-07-15
tags: [compiler, compiler-pbs, studio, lsp, vscode, editor, hover, documentation, markdown]
---
## Original Problem
PBS editor assistance had compiler-backed completion, hover, and signature-help surfaces, but it did not yet have a canonical authored documentation model for named API symbols.
Without that model, hover could show mechanical facts such as kind, signature, origin, and type shape, but it could not reliably explain intent, parameter meaning, semantic constraints, or usage notes. Any editor-side solution would have risked reparsing PBS source or inventing a second documentation binding model outside the compiler.
## Consolidated Decision
PBS symbol documentation is authored with a reserved compiler-recognized `Doc` attribute:
```pbs
[Doc(markdown = """
Draws a sprite.
- `x`: screen x coordinate
- `y`: screen y coordinate
""")]
```
The v1 shape is intentionally narrow:
1. `Doc` has exactly one required named argument, `markdown`.
2. The `markdown` argument uses a triple-quoted documentation text block.
3. The text block is documentation-only metadata, not a general runtime multiline string literal.
4. `[Doc]` attaches to the following declaration using the normal PBS attribute association rule.
5. Attribute order is semantically irrelevant.
6. Parameters do not receive `[Doc]` in v1; parameter notes live inside the owning declaration's Markdown.
7. Duplicate `Doc`, missing `markdown`, extra arguments, aliases, positional arguments, empty normalized payloads, and invalid targets are semantic errors.
The compiler owns documentation resolution. LSP and editor consumers receive normalized compiler metadata; they must not reparse PBS source to discover documentation.
## Final Implementation Shape
The work landed as a staged compiler-to-editor pipeline:
1. PBS specs define the syntax, static semantics, AST shape, diagnostics, and stdlib documentation policy for `[Doc(markdown = """...""")]`.
2. The PBS lexer recognizes triple-quoted documentation text blocks without changing ordinary string literal behavior.
3. The parser and AST preserve documentation text block payloads and spans as structured attribute values.
4. A shared normalizer removes incidental surrounding blank lines and common indentation while preserving Markdown content and internal line breaks.
5. Semantic validation reserves `Doc` and enforces the single canonical v1 shape.
6. Normalized Markdown is attached to resolved PBS semantic symbols as structured documentation metadata.
7. PBS editorial and LSP surfaces transport that metadata without source reparsing.
8. Hover composition includes the normalized Markdown while preserving existing fallback behavior for undocumented symbols.
9. Stdlib, SDK, and interface declarations use the same authored documentation surface.
10. Runtime-facing artifacts remain unchanged by documentation metadata.
This preserves a clean boundary: PBS source authors write documentation in the language, the compiler resolves it, LSP transports it, and editors render it.
## Examples
Valid documentation belongs on named API declarations that introduce semantic symbols and can carry attributes, such as functions, methods, services, hosts, interface declarations, and repository-owned stdlib or SDK declarations.
Parameter documentation is written inside the callable's Markdown:
```pbs
[Doc(markdown = """
Fills a rectangle.
- `x`: left edge in screen coordinates
- `y`: top edge in screen coordinates
- `width`: rectangle width in pixels
- `height`: rectangle height in pixels
""")]
```
Invalid v1 forms include:
```pbs
[Doc("Draws a sprite.")]
[Doc(text = """Draws a sprite.""")]
[Doc(markdown = """Draws a sprite.""", format = "markdown")]
[Documentation(markdown = """Draws a sprite.""")]
```
These are rejected because accepting aliases or positional shortcuts would immediately expand the language contract and make future compatibility harder.
## Pitfalls
Do not treat `"""..."""` as a general PBS runtime string literal. Runtime multiline strings raise separate questions about type behavior, lowering, constant pools, equality, escaping, and artifact representation.
Do not let LSP or editor code rediscover documentation by scanning source. That duplicates language semantics outside the compiler and breaks as soon as imports, stdlib declarations, interface modules, or generated sources participate.
Do not attach `[Doc]` to parameters in v1. Parameter docs are authored inside the declaration Markdown so the compiler can keep one documentation payload per API symbol.
Do not reflow authored Markdown in a formatter or hover composer. The normalizer may remove incidental indentation, but it must preserve the author's Markdown content.
Do not lower documentation into runtime artifacts by default. Documentation is compile/editor metadata unless a future runtime or packaging decision explicitly changes that boundary.
## References
- `DEC-0039` captured the normative decision for PBS `Doc` markdown text blocks.
- `PLN-0092` specified the PBS docs and diagnostics contract.
- `PLN-0093` through `PLN-0099` implemented lexer, parser, normalization, semantics, symbol metadata, LSP exposure, and hover composition.
- `PLN-0100` authored stdlib, SDK, and interface documentation.
- `PLN-0101` protected runtime artifacts from documentation lowering.
- `PLN-0102` closed end-to-end conformance coverage.
@@ -0,0 +1,77 @@
---
id: LSN-0052
ticket: pbs-autocomplete-parameter-names
title: Canonical callable parameter names through PBS editor assistance
created: 2026-05-14
tags: [compiler-pbs, studio, lsp, autocomplete, signature-help, stdlib]
---
## Context
PBS editor assistance is compiler-backed. Completion, hover, and signature help should therefore expose the same callable shape that the compiler understands, not a parallel UI-only interpretation.
Before this discussion, some callable surfaces could reach editor assistance with synthesized labels such as `arg0` and `arg1`. Those labels made stdlib and method calls harder to use because they erased the public meaning of each argument exactly where the editor is meant to help.
`DEC-0036` made callable parameter names normative semantic metadata. `PLN-0078`, `PLN-0079`, and `PLN-0080` implemented that rule in specs, compiler semantics, and LSP regression coverage.
## Key Decisions
### Compiler semantics own parameter identity
**What:** Every user-visible PBS callable must expose a semantic parameter list with canonical name, zero-based order, type when known, and origin/source metadata.
**Why:** Completion, hover, signature help, diagnostics, and later documentation surfaces need one source of truth for callable shape. If each editor adapter invents labels independently, stdlib and host-backed API names drift from compiler truth.
**Trade-offs:** This makes stdlib and host-backed parameter names part of public API shape. Renaming them becomes compatibility-sensitive, but that cost is appropriate because these names are visible to users and tooling.
### Generated ordinal names stay internal
**What:** `arg0`, `arg1`, and equivalent ordinal placeholders must not appear in user-facing editor or LSP output.
**Why:** A generated ordinal name is not a public API name. Publishing it trains users and tests to rely on a placeholder that carries no semantic meaning.
**Trade-offs:** If a callable genuinely lacks a canonical parameter name, the boundary should represent the metadata as incomplete instead of fabricating a plausible-looking name. That can make missing metadata more visible, but it prevents false API contracts.
## Patterns and Algorithms
The compiler-side pattern is to keep parameter identity attached to callable symbols, not only to AST declarations used by direct hover paths.
The PBS semantic support model now carries `CallableParameter` records beside callable input types. This preserves:
- authored parameter name;
- parameter order;
- resolved type view;
- source span as origin metadata.
Editor-facing formatting should then render signatures from those semantic parameters. Direct AST formatting and model-backed callable formatting should produce the same names for user-authored methods, stdlib services, host-backed declarations, and visible builtin/intrinsic method surfaces.
The LSP bridge should stay thin. It should map compiler editorial signatures into baseline completion, hover, and signature-help payloads without inventing names. The LSP4J mapper should preserve labels and parameter lists exactly as received from the baseline protocol model.
## Pitfalls
- Do not fix missing parameter names with an editor-side rename table. That creates a second source of callable truth.
- Do not treat stdlib parameter names as incidental implementation details. They are public API surface once completion and signature help expose them.
- Do not use `argN` as a harmless fallback in tests. A passing test that expects `arg0` is a regression against the semantic contract.
- Be careful when testing stdlib signatures that reference imported types. A test for parameter identity should not accidentally become a test for transitive type rendering unless that is the intended scope.
## Final Result
The implemented slice updated:
- PBS and compiler specs to define callable parameter identity and `argN` leak prevention;
- PBS compiler semantic callable symbols to preserve structured parameter metadata;
- PBS editorial formatting to render semantic names instead of synthesized ordinals;
- LSP bridge and mapper tests to prove completion, hover, and signature help preserve semantic names.
The validating commits were:
- `4e00584` implements `PLN-0078`;
- `eab763f` implements `PLN-0079`;
- `db8c514` implements `PLN-0080`.
## Takeaways
- Parameter names are structural callable metadata, not documentation prose.
- Editor assistance should consume compiler semantics rather than patching over missing names locally.
- Public stdlib and host-backed parameter renames need compatibility review.
- Missing semantic metadata is better exposed as incomplete than disguised as `arg0`.
@@ -0,0 +1,108 @@
---
id: LSN-0053
ticket: studio-packer-rgba8888-asset-pipeline
title: RGBA8888 Is the Canonical Studio and Packer Palette Contract
created: 2026-07-14
tags:
- studio
- packer
- assets
- glyph-bank
- palette
- rgba8888
- runtime-alignment
---
# RGBA8888 Is the Canonical Studio and Packer Palette Contract
### Original Problem
The runtime moved to RGBA8888 as the canonical logical color and framebuffer
format, but Studio and packer still treated glyph-bank palettes as RGB565-era
data. The old pipeline exposed `convertedRgb565`, preserved ARGB as normal
projected metadata, reserved palette index `0` for transparency, flattened or
discarded alpha semantics, and carried magenta color-key behavior as a hidden
transparency shortcut.
That made the asset pipeline ambiguous. A glyph-bank asset could look valid to
Studio while still carrying palette data that no longer matched the runtime
contract.
### Consolidated Decision
`GLYPH/indexed_v1` remains the runtime-facing format name and keeps its
indexed/paletized glyph-bank identity. The incompatible change is inside the
palette contract:
1. `rgba8888` is the canonical authored, projected, and emitted palette field.
2. RGBA8888 values are interpreted as `0xRRGGBBAA` in runtime channel order.
3. Java `BufferedImage` ARGB values are input-only host API details and must be
converted deliberately at the packer boundary.
4. Palette index `0` is ordinary. Glyph palettes have 16 usable entries.
5. Transparency, including partial transparency, is represented only by alpha.
6. Magenta color-key behavior is not a normal Studio or packer feature.
7. RGB565 is not a compatibility path for runtime-facing glyph-bank palettes.
### Implementation Result
The packer specs now define glyph-bank palette metadata with `rgba8888`, and
the binary `GLYPH/indexed_v1` payload uses a `64 * 16 * 4 = 4096` byte palette
block instead of the old `64 * 16 * 2 = 2048` byte RGB565 block.
The packer palette model now carries canonical RGBA8888 values. Image import
converts Java ARGB pixels into runtime RGBA values before palette extraction,
and palette identity includes alpha. This allows transparent and partially
transparent colors to be distinct palette entries.
Packer read, detail, write, and cache paths now use `rgba8888` as the normal
metadata contract. Emission writes palette bytes in `R`, `G`, `B`, `A` order
and no longer emits a synthetic magenta entry for index `0`.
Tests and fixtures were updated to prove the new contract: RGBA channel order,
alpha preservation, 16 usable colors, index `0` as ordinary data, magenta as
ordinary color data, and 4096-byte palette blocks. Final validation confirmed
that remaining stale-looking references are either normative "not supported"
statements, historical discussion context, or explicitly out-of-scope generated
project cache data.
### Practical Pattern
When a host API exposes color in a different layout than the runtime contract,
name the boundary explicitly and keep the canonical field runtime-oriented.
For this pipeline:
- accept host ARGB only at import/read time;
- convert to RGBA8888 before storing palette metadata;
- project `rgba8888` to Studio and packer clients;
- emit RGBA bytes directly into `assets.pa`;
- convert back to UI-friendly ARGB only inside presentation code.
This keeps tooling convenient without letting host representation leak into the
runtime asset contract.
### Common Pitfalls and Anti-patterns
- Do not treat `originalArgb8888` as canonical pipeline data. ARGB can be a UI
or image-input representation, but `rgba8888` owns the contract.
- Do not reintroduce `convertedRgb565` as a normal projected field or emitted
payload. RGB565 compatibility was deliberately rejected for this path.
- Do not reserve palette index `0` for transparency. Alpha owns transparency.
- Do not use magenta as a hidden color key. A magenta RGBA value is just color
data unless an explicit future import tool defines a separate conversion.
- Do not change scene `palette_id` semantics as part of color-format work.
Scene records still reference glyph-bank palette indices.
- Do not fold `DSC-0005` variable palette-count work into RGBA8888 cleanup.
Palette encoding changed here; palette-count optimization remains separate.
### References
- `DEC-0037`: Studio and Packer RGBA8888 Asset Pipeline Contract.
- `PLN-0081`: Packer and Studio spec propagation.
- `PLN-0082`: Palette model and ARGB conversion boundary.
- `PLN-0083`: Glyph payload emission and size accounting.
- `PLN-0084`: Packer projections and workspace APIs.
- `PLN-0085`: Tests, fixtures, and conformance updates.
- `PLN-0086`: Final integration and residue removal.
- `docs/specs/packer/3. Asset Declaration and Virtual Asset Contract Specification.md`.
- `docs/specs/packer/4. Build Artifacts and Deterministic Packing Specification.md`.
- `docs/specs/studio/4. Assets Workspace Specification.md`.
@@ -0,0 +1,106 @@
---
id: LSN-0068
ticket: pbs-lsp-go-to-definition
title: PBS go-to-definition uses editorial lookup and physical files
created: 2026-09-21
tags: [studio, lsp, vscode, compiler-pbs, editor, definition]
---
# PBS go-to-definition uses editorial lookup and physical files
> Historical policy: DEC-0062 / PLN-0141 explicitly superseded the physical-only
> definition restriction in October 2026. SDK/core and dependencies now use
> revision-bound read-only external documents for supporting clients. Compiler
> Spec 23 and Studio Spec 11 define the current contract. The original lesson below
> preserves the earlier decision; it must not be read as prohibiting today's
> external navigation. References, symbols, links and hierarchies retain their
> separately scoped contracts. See LSN-0078 for the implementation and pitfalls.
## Original Problem
PBS editor assistance already had compiler-backed completion, hover, and signature help (`LSN-0051`). Users still could not jump from a use to a declaration. Wave 1 explicitly deferred `go to definition`.
The remaining LSP navigation family (references, rename, workspace symbols, document links, hierarchy) needed a destination policy before those features could be honest. The risk was shipping a text search, a new `SymbolId` index, or virtual documents for stdlib before a real physical target existed.
## Consolidated Decision
PBS Go to Definition is the LSP projection of **physical declaration locations** on top of the **same editorial lookup hover already uses**.
Durable locks from `DEC-0052`:
1. Resolve the identifier under the cursor through the hover path (locals, parameters, members, imports/supplementals, current-module top-level). Do not use text search or a new usage index.
2. Keep the capability on the existing aggregated `FrontendLanguageService`. Add a default-empty `definition` method and a generic location DTO. Do not add a Definition SPI.
3. Map PBS editorial spans inside `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`.
4. Jump only when `Span.fileId` maps to a **regular filesystem file**. Otherwise return an empty list. Do not create virtual documents, `untitled:` buffers, or synthetic URIs.
5. The destination is the canonical declaration, not the import-alias line. Overloads return every matching location.
6. Advertise `definitionProvider`. Partial coverage is valid. Keywords, source-less builtins, unresolved names, and virtual stdlib paths stay empty; hover is unchanged.
7. Analysis stays request-local, like hover. This discussion does not build references, rename, or snapshot cache.
Spec 23 §8.3 already listed definition as an optional editor capability. It now also states: a definition location must identify a compiler-known physical source file, or the response must be empty.
## Final Implementation
| Layer | What landed |
|---|---|
| PBS editorial | `PbsEditorialSupportService.definition` reuses hover dispatch and attaches declaration `Span`s (`PbsEditorialLocation`). |
| Generic contract | `FrontendDefinitionLocation` (absolute path + offsets) and `FrontendLanguageService.definition` defaulting to `List.of()`. |
| PBS mapping | `PBSFrontendLanguageService` maps `FileId` through `fileTable` and keeps the location only if `Files.isRegularFile(path)`. |
| LSP | `LanguageServiceBridge.definition`, `definitionProvider`, `textDocument/definition`. Compile-only frontends return empty. |
| VS Code | Unchanged thin client. |
Stdlib and SDK modules are still registered under virtual paths such as `/virtual/stdlib/...`. Those handles are not regular files, so F12 on `Gfx.clear` is empty even though hover works. That is the physical-file rule, not a missing lookup.
The location payload (path + span of an already resolved symbol) is reusable later by references (`AGD-0043`) and rename (`AGD-0046`). Those indexes were not built here. Snapshots (`AGD-0051`) remain a later performance discussion, not a prerequisite for this request-local feature.
## Examples
Same-file jump:
```pbs
fn helper() -> int { return 42; }
fn frame() -> void {
helper(); // definition -> helper's declaration in this file
}
```
Aliased import jumps to the original declaration span, not the `import` line:
```pbs
import { Log as Logger } from @sdk:log;
Logger.info("hello");
```
If `@sdk:log` is only a virtual stdlib handle, definition is empty. If a project file owns the declaration and that file exists on disk, definition uses that path.
Builtins stay hover-only:
```pbs
let n: int = 1; // hover describes the builtin; definition is empty
```
## Pitfalls
Do not implement definition as a second name search in `lsp-v1` or in the VS Code extension. It will break on imports, overloads, and members, then be thrown away when references arrive.
Do not open `/virtual/stdlib/...` or invent an `untitled:` document so stdlib F12 “does something”. Empty is the honest result until those sources are real files.
Do not pick the first overload location in the server. Return the full `Location[]`.
Do not wait for snapshot cache before definition. Hover is already request-local; definition follows that shape.
Do not split a new top-level definition service “for future languages”. PBS is a real consumer of the existing language-service surface (`LSN-0067`).
Do not treat this lesson as closing references, rename, outline, workspace symbols, or document links. Those agendas stay open. This lesson only locks the destination policy they can reuse.
## References
- Agenda: `AGD-0042` (Q1–Q6 = A)
- Decision: `DEC-0052`
- Plan: `PLN-0131`
- Spec 23 §8.3 — optional definition capability; physical-file-or-empty
- `LSN-0051` — wave 1 deferred go-to-definition
- `LSN-0058` — generic `FrontendLanguageService` for LSP
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
- `LSN-0067` — no SPI or virtual-document host without a real consumer
- Still open: `AGD-0043` references, `AGD-0045` workspace symbols, `AGD-0046` rename, `AGD-0051` snapshots, `AGD-0055` document links, `AGD-0056` hierarchy
@@ -0,0 +1,111 @@
---
id: LSN-0069
ticket: pbs-lsp-find-references
title: PBS find-references is the physical inverse of definition
created: 2026-09-21
tags: [studio, lsp, vscode, compiler-pbs, editor, references]
---
# PBS find-references is the physical inverse of definition
## Original Problem
PBS already had compiler-backed completion, hover, signature help, and go-to-definition (`LSN-0051`, `LSN-0068`). Users still could not ask where a resolved symbol is used. Text search confuses overloads, shadowing, members, comments, and coincidental names. Rename (`AGD-0046`) and hierarchy (`AGD-0056`) need an honest usage list before they exist.
The risk was inventing a `SymbolId` / `RefIndex`, waiting for snapshot cache (`AGD-0051`), or listing uses of stdlib APIs whose declarations are still virtual paths.
## Consolidated Decision
PBS Find References is the LSP projection of **physical usage sites** of the **same identity definition already returns**.
Durable locks from `DEC-0053` (AGD-0043 Q1–Q6 = A):
1. Resolve the cursor through the definition path (locals, parameters, members, imports/supplementals, current-module top-level). Identity is that physical declaration-location set. Do not text-search. Do not add `SymbolId` or a persistent `RefIndex`.
2. A site is a usage when its definition locations intersect the cursor identity. Overloads follow that intersection.
3. If definition at the same offset is empty, references is empty.
4. Walk regular `fileTable` files from the current `analyze()` surface. Do not scan `/virtual/stdlib` or other non-regular handles.
5. Keep the capability on the existing aggregated `FrontendLanguageService`. Reuse `FrontendDefinitionLocation`. Map PBS spans in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No References SPI.
6. Honor LSP `includeDeclaration` in the server: union usage sites with definition locations when the host asks and the declaration is a regular file. No read/write classification.
7. Advertise `referencesProvider`. Partial coverage is valid. Analysis stays request-local. This discussion does not build rename, hierarchy, workspace symbols, virtual documents, or snapshot cache.
Spec 23 §8.3 now also states: a references location must identify a compiler-known physical source file; empty definition implies empty references; `includeDeclaration` must not invent a virtual location.
## Final Implementation
| Layer | What landed |
|---|---|
| PBS editorial | `PbsEditorialSupportService.references` walks `IDENTIFIER` tokens and keeps sites whose `definition` locations intersect the cursor identity (`FileId` + start + end). |
| Generic contract | `FrontendLanguageService.references` defaults to `List.of()`. `FrontendEditorialContext.projectSurface` carries the PBS semantic read surface so the walk can see `astByFile`. |
| PBS mapping | `PBSFrontendLanguageService` requires a non-empty physical definition set, skips non-regular files, and maps surviving spans through the same `Files.isRegularFile` helper as definition. |
| LSP | `referencesProvider`, `textDocument/references`. The bridge applies `includeDeclaration` by unioning `references` with `definition`. Compile-only frontends stay empty. |
| VS Code | Unchanged thin client. |
Stdlib and SDK modules remain virtual (`/virtual/stdlib/...`). Shift+F12 on `Gfx.clear` is empty, matching F12. Hover is unchanged.
Local binding names are not usage sites: definition at `let total` is empty because the name is not yet in scope. The use `return total` matches. `includeDeclaration` adds the declaration span from definition, not a second name search.
## Examples
Same-file function uses, including the declaring identifier (top-level names resolve to themselves):
```pbs
fn helper() -> int { return 42; }
fn frame() -> void {
helper();
helper();
// helper // not a reference
let text = "helper"; // not a reference
}
```
Imported project (or otherwise physical) symbols collect uses in the importing file. Identity is the foreign declaration span.
```pbs
import { Log as Logger } from @sdk:log;
Logger.info("a");
Logger.info("b");
```
If `@sdk:log` is only a virtual handle, definition is empty, so references is empty.
Builtins stay hover-only:
```pbs
let n: int = 1; // hover works; references is empty
```
`includeDeclaration=true` adds the canonical declaration location on top of identifier usage sites. `false` returns usages only.
## Pitfalls
Do not implement find-references as workspace text search in `lsp-v1` or in the VS Code extension. It will lie about overloads, members, and imports, then poison rename.
Do not add a `SymbolId` index “for rename later”. Definition already gave the key: physical declaration locations. Rename can consume this list once it has its own decision.
Do not wait for snapshot cache. The LSP already reanalyzes on each editorial request. Snapshots (`AGD-0051`) can make the walk cheaper without changing the contract.
Do not treat empty stdlib references as a missing feature. Virtual paths are not regular files. Empty is the honest result until those sources live on disk.
Do not expect `let total` to appear as a usage of `total`. Inverse-of-definition only keeps identifier sites that themselves resolve. The declaration span arrives through `includeDeclaration`.
Do not put `includeDeclaration` into PBS types. It is a host flag applied in the LSP bridge.
Do not scan `/virtual/stdlib` to “find more uses”. That reopens virtual documents.
Do not split a References SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
Do not treat this lesson as closing rename, snapshots, workspace symbols, document links, or hierarchy.
## References
- Agenda: `AGD-0043` (Q1–Q6 = A)
- Decision: `DEC-0053`
- Plan: `PLN-0132`
- Spec 23 §8.3 — optional navigation; physical-file-or-empty; empty definition implies empty references
- `LSN-0068` — definition identity this feature inverts
- `LSN-0051` — wave 1 deferred navigation
- `LSN-0058` — generic `FrontendLanguageService` for LSP
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
- `LSN-0067` — no SPI without a real in-repo consumer
- Still open: `AGD-0046` rename, `AGD-0045` workspace symbols, `AGD-0051` snapshots, `AGD-0055` document links, `AGD-0056` hierarchy
@@ -0,0 +1,141 @@
---
id: LSN-0070
ticket: pbs-lsp-document-symbols-outline
title: PBS outline is an AST-backed document-symbol tree
created: 2026-09-21
tags: [studio, lsp, vscode, compiler-pbs, editor, outline, document-symbols]
---
# PBS outline is an AST-backed document-symbol tree
## Original Problem
PBS already had compiler-backed completion, hover, signature help, go-to-definition (`LSN-0068`), and find-references (`LSN-0069`). VS Code Outline stayed empty. Long `.pbs` files had to be scanned by hand.
The risk was building outline from semantic success (so the tree vanishes while typing), flattening to `SymbolInformation`, inventing a Document Symbol SPI, or stuffing workspace search and folding into the same payload.
## Consolidated Decision
PBS Document Symbols is the LSP projection of the **named declaration tree of the open `.pbs` file**, with the **recovered AST as backbone**.
Durable locks from `DEC-0054` (AGD-0044 Q1 A, Q2 AST tree, Q3 A, Q4 A, Q5 A, Q6 `.pbs`-only, Q7 existing kinds):
1. Presence, hierarchy, and ranges come from the document AST. Kind and `detail` may use cheap semantic enrichment. Semantics must not drop a named declaration still in the syntax tree, and must not require full analysis.
2. Named `TopDecl` plus syntactic members:
- `fn` → Function, no children;
- `declare struct` → Struct, children: fields, `ctor`s, methods;
- `declare service` → Service, children: methods;
- `declare contract` → Contract, children: signatures as methods;
- `declare host` → Host, children: signatures;
- `declare builtin type` → Builtin type, children: projection fields and signatures;
- `declare enum` → Enum, children: cases;
- `declare error` → Error, children: labels;
- `declare callback` → Callback, no children;
- `declare global` / `const` → Global / Const, no children;
- `implements Contract for Owner` → top-level Contract named `contractName`, `detail` = owner name, children: methods.
Locals, parameters, `this`, imports, and comments stay out. Private fields stay in. Overloads stay siblings. Host and builtin type appear only if the open file declares them.
3. Recovered AST is enough. Unnamed `InvalidDecl` is omitted. Named decls survive later semantic errors. No `PbsAst.File` → empty list. Do not invent nodes from text or token pairs.
4. Keep the capability on aggregated `FrontendLanguageService.documentSymbols` (default empty) plus a hierarchical DTO (`name`, `kind`, optional `detail`, range offsets, selection offsets, `children`). No file path on the DTO. PBS builds the tree in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No Document Symbol SPI.
5. Advertise `documentSymbolProvider`. Payload is hierarchical `DocumentSymbol`, not flat `SymbolInformation`. `range` is the declaration span. `selectionRange` is the name span only if the AST already has one; this wave reuses the declaration span. Do not scan tokens for identifier spans. VS Code stays a thin client.
6. First wave is the current `.pbs` only. Out: imported supplementals, `mod.barrel`, locals, parameters, imports, comments, virtual documents, workspace symbols, folding, rename, snapshot cache. Server order is AST declaration order, not alphabetical.
7. Reuse `FrontendSymbolKind` / `PbsEditorialSymbolKind`. LSP projects to the closest host `SymbolKind`. Name is the identifier. `detail` may carry the AST signature (`(a: int) -> int`). Attributes such as `[Init]` do not enter the name.
Outline does not jump to another file. The physical-file destination policy of definition/references is not the outline policy.
Spec 23 §8.3 now also states: document symbols are the named declaration tree of the requested document; recovered syntax is enough; a missing syntax tree is empty; this is not a workspace index, folding ranges, or a foreign-file navigation list.
## Final Implementation
| Layer | What landed |
|---|---|
| PBS editorial | `PbsAstDocumentSymbols` walks `PbsAst.File.topDecls` in source order. `PbsEditorialSupportService.documentSymbols` delegates to that walk. |
| Generic contract | `FrontendLanguageService.documentSymbols` defaults to `List.of()`. `FrontendDocumentSymbol` is hierarchical and pathless. |
| PBS mapping | `PBSFrontendLanguageService` requires `editorialContext.syntaxTree()` to be `PbsAst.File`. Barrels and unknown trees stay empty. Kinds map with `valueOf(kind.name())`. |
| LSP | `documentSymbolProvider`, `textDocument/documentSymbol`, hierarchical `DocumentSymbol`. Nested enum/error children project to `EnumMember`. Compile-only frontends stay empty. |
| VS Code | Unchanged thin client. |
`mod.barrel` is assembled as `BarrelFile`, not `PbsAst.File`, so `astByFile` has no barrel outline. Empty is the honest first-wave result.
Error case labels have no per-label span in the AST. Children reuse the parent `ErrorDecl` span rather than scanning tokens.
## Examples
Outline of a file is the declarations in that file, not imports or locals:
```pbs
import { Log } from @sdk:log;
fn helper() -> int { return 42; }
fn frame() -> void {
let local = 1;
helper(local);
}
```
Outline: `helper`, `frame`. Not `Log`, not `local`.
Struct members and overloads as siblings:
```pbs
declare struct Vec(x: int) {
ctor make(x: int) { return; }
fn blend(dx: int, dy: int) -> int { return dx; }
}
fn helper() -> int { return 42; }
fn helper(value: int) -> int { return value; }
```
Outline: `Vec` (`x`, `make`, `blend`), then two `helper` siblings. Private field `x` is present. `detail` on `blend` is `(dx: int, dy: int) -> int`.
Recovered parse keeps the named decl:
```pbs
declare ;
fn ok() -> int { return 1; }
```
Outline: `ok`. The unnamed `InvalidDecl` is omitted.
`[Init] fn init()` still names the symbol `init`.
`implements TickLike for Point` is a top-level node named `TickLike` with detail `Point`.
## Pitfalls
Do not wait for semantic analysis to succeed before showing outline. The tree must survive broken intermediate edits.
Do not omit private fields because they are not in `mod.barrel`. Outline is for the author of this file.
Do not collapse overloads. AST identity forbids merging declaration sets.
Do not walk `File.imports` or supplemental imported `TopDecl`s. Those symbols are not declared in this document.
Do not implement outline for `mod.barrel` in this contract. Barrel AST is a different root. Empty is correct until a later decision.
Do not scan tokens to invent a tighter `selectionRange`. This wave uses the declaration span.
Do not put a file path on `FrontendDocumentSymbol`. The host already has the document URI. Outline is not go-to-definition.
Do not reuse the physical-file jump rule of `LSN-0068` as an outline destination policy. Clicking outline stays inside the buffer.
Do not overload document symbols with folding or scope guides (`LSN-0034`, `AGD-0053`).
Do not split a Document Symbol SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
Do not treat this lesson as closing workspace symbols, folding, rename, document links, or hierarchy.
## References
- Agenda: `AGD-0044` (Q1 A, Q2 AST tree, Q3 A, Q4 A, Q5 A, Q6 `.pbs`-only, Q7 existing kinds)
- Decision: `DEC-0054`
- Plan: `PLN-0133`
- Spec 23 §8.3 — optional document symbols; recovered AST tree of the requested document
- `LSN-0068` — definition is a jump; outline is not
- `LSN-0069` — references invert definition identity
- `LSN-0034` — do not overload document symbols with structural anchors
- `LSN-0058` — generic `FrontendLanguageService` for LSP
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
- `LSN-0067` — no SPI without a real in-repo consumer
- Still open: `AGD-0045` workspace symbols, `AGD-0046` rename, `AGD-0051` snapshots, `AGD-0053` folding, `AGD-0055` document links, `AGD-0056` hierarchy
@@ -0,0 +1,149 @@
---
id: LSN-0071
ticket: pbs-lsp-workspace-symbols
title: PBS workspace symbols are a physical named-declaration search
created: 2026-09-21
tags: [studio, lsp, vscode, compiler-pbs, editor, workspace-symbols]
---
# PBS workspace symbols are a physical named-declaration search
## Original Problem
PBS already had compiler-backed completion, hover, signature help, go-to-definition (`LSN-0068`), find-references (`LSN-0069`), and an AST-backed outline of the open `.pbs` file (`LSN-0070`). VS Code workspace search (`Ctrl+T` / `workspace/symbol`) stayed empty.
The risk was treating workspace symbols as a second outline, inventing a `SymbolId` index, waiting for snapshot cache (`AGD-0051`), or returning stdlib/SDK hits whose declarations are still virtual paths (`/virtual/stdlib`). Workspace symbols is a jump. Outline is not.
## Consolidated Decision
PBS Workspace Symbols is the LSP projection of a **flat named-declaration search** over **regular filesystem files** of the current analysis, flattening the **same outline set** and using the **same physical-file destination policy** as definition.
Durable locks from `DEC-0055` (AGD-0045 Q1 A, Q2 A, Q3 A, Q4 A, Q5 A, Q6 first-wave exclusions):
1. Emit only declarations whose `fileTable` handle is a regular filesystem file. Virtual stdlib/SDK, including `/virtual/stdlib`, is omitted. Do not invent virtual documents, `untitled:` buffers, or synthetic URIs.
2. `workspace/symbol` does not require an open text document. The server obtains the project analysis surface (`astByFile` / `projectSurface`) from `analyze()`. Missing surface → empty list.
3. The set is the flatten, file by file, of the named-declaration tree locked by outline (`LSN-0070`):
- `fn` → Function;
- `declare struct` → Struct plus fields, `ctor`s, methods;
- `declare service` → Service plus methods;
- `declare contract` → Contract plus signatures;
- `declare host` → Host plus signatures;
- `declare builtin type` → Builtin type plus projection fields and signatures;
- `declare enum` → Enum plus cases;
- `declare error` → Error plus labels;
- `declare callback` → Callback;
- `declare global` / `const` → Global / Const;
- `implements Contract for Owner` → `contractName`, kind CONTRACT, `detail` = owner, plus methods.
Locals, parameters, `this`, imports, and comments stay out. Private fields stay in. Overloads stay sibling hits. Unnamed `InvalidDecl` is omitted. Named decls survive later semantic errors.
4. First wave is `.pbs` whose recovered root is `PbsAst.File`. `mod.barrel` (`BarrelFile`) stays empty. Presence, name, kind, `detail`, and spans come from recovered AST. Do not invent nodes from text search.
5. Query is a case-insensitive substring of `name` only. Blank query returns the full first-wave corpus. Do not match `detail`, path, `containerName`, or qualified `Vec.blend`. No fuzzy ranking, no `top N`. After the filter, order is stable by name, then path, then start offset.
6. `containerName` is the parent name for members and empty for top-level declarations. `detail` may repeat the outline AST signature. Attributes such as `[Init]` do not enter the name.
7. Keep the capability on aggregated `FrontendLanguageService`. Add `workspaceSymbols` (default empty) plus a flat DTO with `name`, `kind`, optional `detail`, `containerName`, absolute path, and offsets. Do not reuse pathless `FrontendDocumentSymbol`. PBS flattens in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No Workspace Symbol SPI, `SymbolId`, `RefIndex`, or snapshot cache.
8. Advertise `workspaceSymbolProvider` when the frontend exposes a language service. Payload is flat `SymbolInformation`. Do not emit hierarchical `DocumentSymbol` on this request. Compile-only frontends stay empty. VS Code stays a thin client.
Spec 23 §8.3 now also states: workspace symbols are a flat search of named declarations in compiler-known physical source files of the current analysis; recovered syntax is enough; a missing analysis surface is empty; the request must not require an open document; a declaration without a physical file is omitted; this is not outline, folding, a persistent index, or navigation to virtual locations.
## Final Implementation
| Layer | What landed |
|---|---|
| PBS editorial | `PbsAstWorkspaceSymbols` flattens `PbsAstDocumentSymbols` and filters by name. `PbsEditorialSupportService.workspaceSymbols(ast, query)` delegates to that flatten. |
| Generic contract | `FrontendWorkspaceRequest` (`projectRoot`, `query`). `FrontendWorkspaceSymbol` carries path. `FrontendLanguageService.workspaceSymbols` defaults to `List.of()`. `prepareEditorialContext(FrontendPhaseContext)` defaults to empty so a workspace request can obtain project surface without a `FileId`. |
| PBS mapping | Project-level `prepareEditorialContext` attaches `fileTable` + `astByFile`. Regular `PbsAst.File` entries are flattened; non-regular handles are skipped. Results sort by name, path, offset. |
| LSP | `workspaceSymbolProvider`, `workspace/symbol` on `PrometeuWorkspaceService` (no document URI). `CompilerLanguageServiceBridge` analyzes the project with an empty overlay map. Mapper emits flat `SymbolInformation`. Nested enum/error hits with a container project to `EnumMember`. Compile-only frontends stay empty. |
| VS Code | Unchanged thin client. |
`workspace/symbol` in this wave reads the project on disk. Unsaved editor overlays are not shared into the search. Empty is honest until a later overlay/snapshot decision.
`mod.barrel` is still `BarrelFile`, not `PbsAst.File`. Empty barrel hits are the honest first-wave result.
Error case labels still have no per-label span. Flattened children reuse the parent `ErrorDecl` span, same as outline.
## Examples
Workspace search of a project file is the flatten of that file's outline, not imports or locals:
```pbs
import { Log } from @sdk:log;
fn helper() -> int { return 42; }
fn frame() -> void {
let local = 1;
helper(local);
}
```
Query `frame` → `frame`. Query `helper` → `helper`. Query empty → `helper`, `frame` (plus other physical decls), sorted. Not `Log`, not `local`.
Members keep a container; overloads stay siblings:
```pbs
declare struct Vec(x: int) {
ctor make(x: int) { return; }
fn blend(dx: int, dy: int) -> int { return dx; }
}
fn helper() -> int { return 42; }
fn helper(value: int) -> int { return value; }
```
Query `blend` → method `blend` with `containerName` `Vec`. Query `helper` → two hits. Query `Vec.blend` → empty (this wave matches `name` only).
Stdlib remains hover-only while the handle is virtual:
```pbs
import { Gfx } from @sdk:gfx;
Gfx.clear(0);
```
Query `Gfx` is empty. F12 on `Gfx.clear` is already empty (`LSN-0068`). Workspace search does not reopen that jump.
Recovered parse keeps the named decl:
```pbs
declare ;
fn ok() -> int { return 1; }
```
Query empty → `ok`. The unnamed `InvalidDecl` is omitted.
`[Init] fn init()` still names the symbol `init`.
## Pitfalls
Do not implement workspace symbols as workspace text search in `lsp-v1` or in the VS Code extension. It will lie about overloads, members, and imports.
Do not reuse `FrontendDocumentSymbol`. Outline is pathless because the host already has the document URI. Workspace symbols is a jump and must carry a path.
Do not require an open editor buffer to answer `workspace/symbol`. Analyze the project and walk `astByFile`.
Do not include `/virtual/stdlib` so Ctrl+T on `Gfx` “does something”. Empty is the honest result until those sources are regular files.
Do not wait for snapshot cache. References already walks the current analysis request-locally. Snapshots (`AGD-0051`) can make the walk cheaper without changing this contract.
Do not add a `SymbolId` index “for rename later”. Outline already named the declarations; definition already named the destination.
Do not match `containerName`, path, or `Vec.blend` in this wave. The query is a substring of `name`.
Do not emit hierarchical `DocumentSymbol` on `workspace/symbol`. That payload is outline.
Do not treat unsaved overlay absence as a missing feature of this contract. First-wave analysis is the project on disk.
Do not split a Workspace Symbol SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
Do not treat this lesson as closing rename, snapshots, folding, document links, or hierarchy.
## References
- Agenda: `AGD-0045` (Q1 A, Q2 A, Q3 A, Q4 A, Q5 A, Q6 first-wave exclusions)
- Decision: `DEC-0055`
- Plan: `PLN-0134`
- Spec 23 §8.3 — optional workspace symbols; physical-file-or-omit; no open document required
- `LSN-0070` — outline set this feature flattens
- `LSN-0068` — physical-file destination this feature reuses
- `LSN-0069` — project `astByFile` walk already exists for references
- `LSN-0058` — generic `FrontendLanguageService` for LSP
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
- `LSN-0067` — no SPI without a real in-repo consumer
- Still open: `AGD-0046` rename, `AGD-0051` snapshots, `AGD-0053` folding, `AGD-0055` document links, `AGD-0056` hierarchy
@@ -0,0 +1,128 @@
---
id: LSN-0072
ticket: pbs-lsp-rename-symbol
title: PBS rename is a validated physical workspace edit
created: 2026-09-22
tags: [studio, lsp, vscode, compiler-pbs, editor, rename]
---
# PBS rename is a validated physical workspace edit
## Original Problem
PBS already had compiler-backed completion, hover, signature help, go-to-definition (`LSN-0068`), find-references (`LSN-0069`), outline (`LSN-0070`), and workspace symbols (`LSN-0071`). Users still could not rename a symbol through the editor. Manual text edits miss uses or rewrite unrelated overloads, comments, strings, and same-name declarations.
The risk was a file-local rename, a lexeme replace, a new `SymbolId` / `RefIndex`, snapshot cache (`AGD-0051`) as a prerequisite, virtual stdlib documents, or a successful empty `WorkspaceEdit` that pretends the symbol changed.
## Consolidated Decision
PBS Rename Symbol is the LSP projection of a **validated `WorkspaceEdit`** over **physical identifier spans** of the **same identity definition already returns**.
Durable locks from `DEC-0056` (AGD-0046 Q1–Q6 = A):
1. Identity is the physical declaration-location set from definition. Do not text-search. Do not add `SymbolId` or a persistent `RefIndex`.
2. Sites are identifier tokens whose definition intersects that identity, plus identifier-sized declaration name spans. Overloads of the same name in the same owner rewrite together. Members rewrite only that member. Comments, strings, and homonyms of another identity stay.
3. Walk regular `fileTable` files of the current `analyze()` surface. Omit `/virtual/stdlib` and other non-regular handles. Every edit location must be a compiler-known physical source file.
4. Refuse when physical identity is empty: builtins, virtual stdlib/SDK, unresolved names, keywords, comments, strings, `this`, `Self`. Refuse `mod.barrel`. Refuse `declare error` case labels that have no per-label span.
5. Exception: a local or parameter name span is renameable even when definition at that offset is empty. Identity becomes that name span; uses are identifiers whose definition intersects it.
6. Refuse when the cursor lexeme is an import alias (`item.alias()` distinct from `item.name()`), including uses of that alias. Do not follow alias definition and rewrite the export. Export rename happens only when the cursor writes the original name. Export rewrite must not change `as Alias` tokens or uses that spell a differing alias.
7. `prepareRename` validates the cursor and returns the identifier range, or null. `rename` also validates the new name: PBS identifier, not a keyword, no collision in the same binding space (top-level `fn`/`service`/`global`/`const`, local/param in the same scope, field in the same struct, method in the same owner, case in the same enum), ignoring rewritten sites and the overload set. Failure is an LSP error. Never return a successful empty `WorkspaceEdit`. The server does not write files and does not rename paths.
8. Keep the capability on aggregated `FrontendLanguageService`. `prepareRename` defaults empty; `rename` defaults unsupported. PBS maps in `prometeu-frontend-pbs`. Common LSP must not import `p.studio.compiler.pbs.*`. No Rename SPI. Advertise `renameProvider` with `prepareProvider`. Compile-only stays unsupported. VS Code stays a thin client.
Spec 23 §8.3 now also states: rename is a validated workspace edit of identifier spans in compiler-known physical source files; identity is definition; local/param name spans remain renameable; alias, virtual, and error-label cursors refuse; invalid names and collisions are protocol errors, not empty success; the server does not write files; `prepareProvider` is advertised when rename is exposed.
## Final Implementation
| Layer | What landed |
|---|---|
| PBS editorial | `PbsEditorialSupportService.planRename` builds identity from definition or local/param name span, refuses aliases and error labels, walks `IDENTIFIER` tokens whose definition intersects identity and whose lexeme is the original name, then validates identifier/keyword/collision. |
| Generic contract | `FrontendLanguageService.prepareRename` defaults empty. `rename` defaults `FrontendRenameResult.unsupported()`. `FrontendRenameEdit` is path + offsets + `newText`. Applied results reject an empty edit list. |
| PBS mapping | `PBSFrontendLanguageService` reuses `projectDocuments` and `toFrontendLocation`. Empty physical identity is refuse, even if editorial sites exist on virtual handles. |
| LSP | `renameSupported`, `prepareRename`, `rename`. Mapper advertises `RenameOptions.prepareProvider`. Refused rename is `ResponseErrorException`, not an empty `WorkspaceEdit`. Compile-only does not advertise. |
| VS Code | Unchanged thin client. |
Stdlib and SDK modules remain virtual (`/virtual/stdlib/...`). F2 on `Gfx.clear` is refused, matching empty F12 / Shift+F12. Hover is unchanged.
`let total` at the binding itself still has empty definition. Rename uses the name span as identity so F2 on the binding works.
## Examples
Same-file function, including overloads and the declaring identifier. Comment and string stay:
```pbs
fn helper() -> int { return 1; }
fn helper(value: int) -> int { return value; }
fn frame() -> void {
helper();
helper(2);
// helper
let text = "helper";
}
```
F2 on `helper` → `aid` rewrites both declarations and both calls.
Local name span:
```pbs
fn frame() -> void {
let total = 1;
return total;
}
```
F2 on `let total` or on the use rewrites both identifier sites.
Alias is refused. Export rename keeps the local alias:
```pbs
import { Log as Logger } from @sdk:log;
Logger.info("a");
```
F2 on `Logger` or `Logger.info` is refused. F2 on a physical `Log` declaration rewrites the original name and `import { Log as Logger }`, and leaves `Logger` / `Logger.info`.
Builtins and virtual stdlib stay hover-only:
```pbs
let n: int = 1;
Gfx.clear(5);
```
Invalid new names (`fn`, `1ab`) and collisions (`helper` → existing `frame`) fail with an LSP error.
## Pitfalls
Do not implement rename as workspace text search in `lsp-v1` or in the VS Code extension. It will rewrite comments, strings, overloads of another identity, and import aliases.
Do not follow definition through an import alias. `Logger` currently resolves to `Log`'s span; a blind inverse-of-definition rename would rewrite the export.
Do not return a successful empty `WorkspaceEdit` for a refused cursor. The editor will treat that as “renamed”.
Do not skip the local/param name-span exception. F2 on `let total` is the common case, and definition there is empty.
Do not rewrite `declare error` case labels by using the parent `ErrorDecl` span. Those labels have no per-label span.
Do not wait for snapshot cache. Rename reuses the request-local walk already used by references.
Do not treat empty/refused stdlib rename as a missing feature. Virtual paths are not regular files.
Do not split a Rename SPI “for future languages”. PBS is a real consumer of `FrontendLanguageService` (`LSN-0067`).
Do not treat this lesson as closing snapshots, folding, document links, hierarchy, code actions, formatting, file rename, or local-alias rename.
## References
- Agenda: `AGD-0046` (Q1–Q6 = A)
- Decision: `DEC-0056`
- Plan: `PLN-0135`
- Spec 23 §8.3 — optional rename; physical-file-or-empty; alias refuse; error instead of empty success; `prepareProvider`
- Spec: `docs/specs/compiler-languages/pbs/3. Core Syntax Specification.md` §4.3–4.4
- `LSN-0068` — definition identity this feature writes
- `LSN-0069` — physical inverse that supplies usage sites
- `LSN-0051` — wave 1 deferred rename
- `LSN-0058` — generic `FrontendLanguageService` for LSP
- `LSN-0047` — protocol stays in `lsp-v1`; compiler owns semantics
- `LSN-0067` — no SPI without a real in-repo consumer
- Still open: `AGD-0051` snapshots, `AGD-0053` folding, `AGD-0055` document links, `AGD-0056` hierarchy
@@ -0,0 +1,130 @@
---
id: LSN-0073
ticket: pbs-lsp-code-actions
title: PBS quick fixes are frontend repairs transported by the LSP
created: 2026-09-22
tags: [studio, lsp, vscode, compiler-pbs, editor, code-actions, quick-fix]
---
# PBS quick fixes are frontend repairs transported by the LSP
## Original Problem
PBS diagnostics already reach the editor, but the server did not advertise `codeActionProvider`. A user could see a duplicate attribute or a bad `InitAllowed` and still had to repair it by hand.
The tempting shortcut was a code-to-edit table in the LSP. That shortcut does not work. Compiler `Diagnostic` values carry a stable code, phase, template, placeholders, span, and related locations, but the reserved-attribute reports use the short constructor: empty placeholders, and the English sentence is the only fine discriminator. `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` covers Doc without `markdown`, a wrong payload, empty markdown, an unknown argument, `InitAllowed` with arguments, an out-of-range `AssetLowering`, and a bad `Host` shape. A switch on the code cannot pick a safe edit without reading the message. Diagnostic wording is rendering, not identity. Code actions are an optional editorial capability: the frontend owns the meaning, and the LSP transports it.
## Consolidated Decision
PBS quick fix is one `WorkspaceEdit` tied to one diagnostic of the requested physical document. The frontend produces the repair from the syntax tree. The LSP does not invent it.
Durable locks from `DEC-0057` (AGD-0047: scope A, producer B, residence B, first wave C):
1. This wave is quick fix only. No organize-imports, source action, refactor, function or struct stub, code lens, or server command.
2. The server does not write files. The client applies the edit.
3. Each repair names the stable diagnostic code, the primary span of that diagnostic, and exactly one local text edit. The LSP must not keep a code-to-edit table and must not read the diagnostic message to build the edit.
4. The repair is computed on `textDocument/codeAction` from the current document analysis. It is not a required field of compiler `Diagnostic`, and it is not published inside `publishDiagnostics`, including `data`.
5. `publishDiagnostics` carries the stable compiler code on `Diagnostic.code` so the client can echo it. Source, severity, message, and related information stay as they were. Those presentation questions remain with `AGD-0054`.
6. A repair is returned only when the request context contains a diagnostic with the same code and the same primary range. An empty diagnostic list returns an empty action list. An `only` filter that does not include quick fix returns an empty action list.
7. Each item is a QuickFix `CodeAction`, not a `Command`. The edit touches one file, the requested physical document, and contains one `TextEdit`. There is no lazy resolve.
8. A path that is not a compiler-known regular file, including `/virtual/stdlib`, gets no edit.
9. If the frontend does not expose the capability, the server does not advertise `codeActionProvider`. A request that arrives anyway returns an empty list, not a protocol error. Absence of a fix is not a refused cursor.
10. PBS exposes the capability. Another frontend does not gain it merely by having a language service.
11. The first wave is two shapes, not three diagnostic codes.
- For every extra reserved attribute the declaration validator already reports as `E_SEM_DUPLICATE_RESERVED_ATTRIBUTE`, delete exactly that occurrence's span. Do not delete the first occurrence, the declaration, or neighboring whitespace.
- For an `InitAllowed` attribute with a non-empty argument list on a host signature, the shape the validator reports as `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` when the file is an interface module, replace that attribute span with `[InitAllowed]`. Do not emit that repair for any other attribute that shares the code. `[InitAllowed()]` is not diagnosed today and gets no repair.
12. Nothing else gets a quick fix in this wave. In particular: inserting `[Doc(markdown = """""")]` or any other Doc rewrite, inserting an empty or incomplete `[Host]` or `[BuiltinType]`, `W_SEM_IGNORED_VALUE`, unresolved imports, an invalid reserved-attribute target, parse errors, unresolved overloads, and method stubs.
`AGD-0048` still owns formatting. `AGD-0049` still owns import assistance and organize-imports. `AGD-0054` still owns range, related locations, and diagnostic presentation. The PBS diagnostics spec does not gain a mandatory remediation field.
Spec 23 §8.3 now states the shared contract: code actions are quick fixes only; the frontend produces each repair from the document syntax; tooling transports it and does not parse the message or switch on codes; the published diagnostic carries the stable code; a repair is returned only for a matching context diagnostic; the edit is one physical file; the server does not write files, return a command, or require resolve; a missing capability is an empty list, not an error; virtual documents get no edit.
## Final Implementation
| Layer | What landed |
|---|---|
| PBS repairs | `PbsQuickFixCollector` walks the same attribute surfaces as `PbsDeclarationSemanticsValidator`, including the interface-module gate. Duplicate reserved attributes become an empty replacement of the extra span. The first `InitAllowed` with arguments on an interface host signature becomes `[InitAllowed]`. |
| Source kind | `PbsSemanticReadSurface.sourceKindByFile` records the kind used to parse each file. A missing kind means project rules, so a project `declare host` does not pretend the validator emitted the interface-only `InitAllowed` diagnostic. |
| Generic contract | `FrontendLanguageService.codeActionsSupported` defaults false. `codeActions` defaults empty. `FrontendCodeAction` is title, diagnostic code, path, offsets, and `newText`. Empty `newText` is a deletion and is allowed. |
| PBS mapping | `PBSFrontendLanguageService` exposes the capability and returns repairs only for the requested regular file. `/virtual/stdlib` fails `Files.isRegularFile` and produces nothing. |
| LSP | `BaselineDocumentIssue.code` is copied onto `Diagnostic.code`. `data` stays unset. The bridge drops repairs whose code and range do not match a context diagnostic. `PrometeuTextDocumentService.codeAction` honors the quick-fix `only` filter and never fails the request for “no fix”. |
| Protocol | `codeActionProvider` is `CodeActionOptions` with kind `quickfix` and `resolveProvider` false, and only when the frontend reports support. Mapped actions are `CodeAction` values with a `WorkspaceEdit`. They are not `Command`s. |
Titles are `Remove duplicate reserved attribute` and `Remove InitAllowed arguments`.
## Examples
Duplicate `Doc` on a project file. The first copy stays. Each later copy is deleted at its own span:
```pbs
[Doc(markdown = """
First.
""")]
[Doc(markdown = """
Second.
""")]
fn duplicated() -> void { return; }
```
The quick fix removes the second attribute and leaves `First.`. A context diagnostic with the same range but code `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` produces no action. An empty diagnostic list produces no action.
Malformed or empty Doc is visible and not repairable here:
```pbs
[Doc(text = """
Wrong argument.
""")]
fn malformed() -> void { return; }
```
`InitAllowed` with arguments is repaired only on an interface-module host signature:
```pbs
declare host Gfx {
[Host(module = "gfx2d", name = "clear", version = 1)]
[InitAllowed(flag = 1)]
fn clear() -> void;
[Host(module = "gfx2d", name = "fill", version = 1)]
[InitAllowed()]
fn fill() -> void;
}
```
`clear` becomes `[InitAllowed]`. `fill` is already valid to the validator, so `[InitAllowed()]` is left alone. The same `InitAllowed(flag = 1)` inside a project file does not get that repair, because the validator does not emit the malformed-attribute diagnostic there.
The same collector deletes the extra copy of `BuiltinType`, `IntrinsicCall`, `BuiltinConst`, `Host`, and `AssetLowering` when the validator reports `E_SEM_DUPLICATE_RESERVED_ATTRIBUTE` for that surface. A malformed `Host` that merely shares the malformed-attribute code gets no edit.
## Pitfalls
Do not choose the edit in `prometeu-lsp` by switching on `E_SEM_MALFORMED_RESERVED_ATTRIBUTE` or by parsing the English message. The code is too coarse, and the message is not the identity.
Do not store the repair on compiler `Diagnostic` or in `Diagnostic.data`. Compilation and quick fix stay different surfaces. The published code exists so the client can echo it back.
Do not match on `Diagnostic.source` as if it were the long-term identity field. Today the bridge still copies the code into `source` for the existing presentation. The code-action match uses `Diagnostic.code`. `AGD-0054` may change `source` later.
Do not delete the first duplicate, and do not trim the whitespace around the deleted span. That cleanup is formatting and belongs to `AGD-0048`.
Do not insert `[Doc(markdown = """""")]`, an empty `[Host]`, or an empty `[BuiltinType]`. Those edits trade one diagnostic for another, or invent a declaration.
Do not treat `W_SEM_IGNORED_VALUE` as a source edit. Discard exists in lowering, not as PBS syntax.
Do not offer the `InitAllowed` rewrite for `[InitAllowed()]` or for a project file. The validator does not diagnose those shapes as “arguments not allowed”, so there is no diagnostic to attach.
Do not return a protocol error when there is no fix. Rename refuses a bad cursor with an error. Quick fix answers “nothing to do” with an empty list.
Do not advertise `codeActionProvider` for every frontend that has a language service. The default capability is unsupported.
Do not treat this lesson as closing formatting, import assistance, diagnostic presentation, snapshots, folding, document links, or hierarchy.
## References
- Agenda: `AGD-0047` (scope A, producer B, residence B, first wave C)
- Decision: `DEC-0057`
- Plan: `PLN-0136`
- Spec 23 §8.3 — optional code actions; frontend-owned repair; match by code and range; empty list when unsupported
- Spec: `docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md` — wording is not identity; remediation stays outside the v1 diagnostic minimum
- `LSN-0056` — code actions are an optional editorial capability
- `LSN-0058` — generic `FrontendLanguageService` for the LSP
- `LSN-0067` — no new editorial SPI without a real consumer; PBS implements the existing language service
- Still open: `AGD-0048` formatting, `AGD-0049` import assistance, `AGD-0054` diagnostics UX, `AGD-0051` snapshots, `AGD-0056` hierarchy
@@ -0,0 +1,74 @@
---
id: LSN-0055
ticket: multi-frontend-provider-contract
title: Static frontend providers before plugin architecture
created: 2026-07-15
tags: [compiler, compiler-general, studio, frontend, registry, multi-frontend]
---
## Context
Prometeu needed a multi-frontend boundary without turning the compiler or Studio into a dynamic plugin platform. Before this work, shared code could ask the registry for frontend specs or phase services, and PBS was registered directly as the default language. That worked for a single frontend, but it made the next frontend harder because common code could still depend on PBS-specific construction details.
The durable ownership rule is now: common compiler and Studio code select a frontend by `languageId`, then consume a provider contract. PBS remains the first and only real provider, but it is no longer the shape of the shared abstraction.
## Key Decisions
### `FrontendProvider` is the common registration unit
**What:** Each registered frontend is represented by a `FrontendProvider` with:
- `specification()`, for the static frontend contract and `languageId`;
- `compiler()`, for compiler-facing frontend execution;
- `languageService()`, as an optional editor-facing capability.
**Why:** This groups the frontend identity, compiler entrypoint, and optional tooling capability without forcing every frontend to implement Studio/editor services.
**Trade-offs:** The provider is intentionally small. It does not solve dynamic discovery, plugin installation, external loading, or all future language-service APIs. Those are separate architectural decisions.
### Registration is explicit
**What:** Frontend registration is static and composition-root-owned. The application composition path bootstraps the default provider set, and the registry resolves providers by `languageId`.
**Why:** Explicit registration keeps dependencies visible and testable. It lets composition know about PBS while preventing common compiler and Studio consumers from directly constructing PBS services.
**Trade-offs:** Adding a new in-repository frontend still requires a code change in composition. That is acceptable because this decision optimizes for repository-internal multi-frontend readiness, not external plugin extensibility.
### PBS is a provider, not the shared model
**What:** PBS is wrapped by `PBSFrontendProvider`. Shared build and Studio consumers obtain frontend behavior through `FrontendRegistryService.require(languageId)` or provider-derived listings.
**Why:** PBS remains the correctness baseline, but it must not become the exclusive owner of compiler pipeline semantics.
**Trade-offs:** PBS-specific tests may still instantiate `PBSFrontendPhaseService` directly because they test PBS internals. Common modules should not.
## Patterns and Algorithms
Use this path for common compiler execution:
1. Resolve the project language from the manifest or default provider.
2. Resolve `FrontendProvider` by `languageId`.
3. Use `provider.specification()` for static metadata.
4. Use `provider.compiler()` for frontend compilation.
5. Use `provider.languageService()` only when a tooling consumer needs optional editor services.
Use this path for Studio language catalogs:
1. List providers from the registry.
2. Derive templates from `provider.specification()`.
3. Do not hardcode PBS templates in Studio catalog code.
## Pitfalls
- Do not add reflection, classpath scanning, external JAR loading, or runtime plugin installation to solve repository-internal frontend registration.
- Do not make `languageService()` mandatory. Compilation and editor assistance are separate capabilities.
- Do not instantiate `PBSFrontendPhaseService` from common build, dependency, Studio, or app code.
- Do not use PBS as a fallback for unknown `languageId`. Unknown languages must fail explicitly.
- Do not move frontend semantic ownership into Studio just because Studio consumes provider metadata.
## Takeaways
- Static providers are enough to prepare for multiple in-repository frontends.
- The registry boundary is provider-based, not PBS-based.
- Composition may know which frontends exist; common consumers should only know `FrontendProvider`.
- Optional editor capabilities keep compiler readiness independent from Studio feature depth.
@@ -0,0 +1,88 @@
# Compile-first frontends with optional editorial capabilities
## Original Problem
Prometeu is moving from a PBS-centered compiler/editor stack toward a multi-frontend compiler. PBS already provides compilation plus rich editor assistance, so it was easy for shared code, LSP, or Studio consumers to assume that every frontend can provide diagnostics, semantic tokens, completion, hover, and signature help as one package.
That assumption makes future frontend adoption too expensive. A new frontend must be able to compile before it has a complete IDE experience.
## Consolidated Decision
The frontend contract is compile-first.
Every frontend must provide a compiler capability through `FrontendProvider.compiler()`. Editorial services are optional and live behind `FrontendProvider.languageService()`.
A frontend that can compile but has no language service is valid. Missing editor assistance must not block `analyze`, `compile`, `build`, backend lowering, bytecode emission, verification, or artifact writing.
LSP and Studio consumers must query editorial capability before invoking editor-specific behavior. Absence of a capability is a normal state, not a compiler failure.
## Final Implementation
The compiler pipeline spec now defines the provider boundary explicitly:
- `compiler()` is the only required executable frontend capability.
- `languageService()` is optional.
- editor capabilities such as completion, hover, definition, signature help, semantic tokens, formatting, rename, and code actions are optional unless a future accepted decision narrows the requirement.
- absent editor capabilities have deterministic fallback behavior.
- compiler diagnostics and editor diagnostics are separate ownership surfaces.
PBS keeps its rich editor assistance, but now exposes it through `PBSFrontendLanguageService`, returned by `PBSFrontendProvider.languageService()`.
The LSP bridge resolves the active `FrontendProvider` and checks for `languageService()` before using editor behavior. For now, PBS remains an adapter-specific implementation because the common language-service DTOs are not yet generalized. That is acceptable because the important boundary is already enforced: the LSP no longer assumes that compiler support implies editor support.
Conformance coverage now includes:
- a compile-only provider fixture with no language service;
- LSP neutral responses when editor capability is absent;
- PBS regression coverage for existing completion, hover, signature help, semantic tokens, and documentation behavior;
- architecture tests preventing common modules from directly instantiating PBS editor support.
## Examples
A compile-only frontend should look like this at the provider boundary:
```java
public final class ExampleFrontendProvider implements FrontendProvider {
@Override
public FrontendSpec specification() {
return EXAMPLE_SPEC;
}
@Override
public FrontendPhaseService compiler() {
return exampleCompiler;
}
}
```
It does not need to override `languageService()`. The default empty optional is a valid frontend state.
An editor consumer should treat missing services as a normal fallback:
```java
return provider.languageService()
.filter(ExpectedLanguageService.class::isInstance)
.map(ExpectedLanguageService.class::cast)
.map(service -> service.completion(...))
.orElseGet(List::of);
```
## Pitfalls
Do not use PBS as the minimum frontend contract. PBS is the first rich frontend, not the definition of frontend validity.
Do not make editor diagnostics a prerequisite for compilation. Build/analyze diagnostics are compiler output; live editor diagnostics may reuse compiler results but have different latency, cancellation, overlay, and UX concerns.
Do not split the language service into many top-level interfaces before implementation pressure proves a real lifecycle or ownership boundary. The current contract intentionally keeps an aggregated optional language-service surface.
Do not call PBS editorial classes directly from common compiler, LSP, Studio, or app code. Go through `FrontendProvider.languageService()` and adapter-local capability checks.
## References
- Spec: `docs/specs/compiler/23. Compiler Pipeline Entry Points Specification.md`
- Provider API: `prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendProvider.java`
- PBS language service: `prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/PBSFrontendLanguageService.java`
- LSP bridge: `prometeu-lsp/prometeu-lsp-v1/src/main/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridge.java`
- Conformance tests:
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/FrontendProviderBoundaryTest.java`
- `prometeu-lsp/prometeu-lsp-v1/src/test/java/p/studio/lsp/services/compiler/CompilerLanguageServiceBridgeTest.java`
@@ -0,0 +1,92 @@
---
id: LSN-0058
ticket: multi-frontend-remove-pbs-branches
title: Generic Frontend Editorial Contract for LSP
created: 2026-07-15
tags: [compiler, compiler-general, compiler-pbs, studio, frontend, lsp, coupling, multi-frontend]
---
## Original Problem
Prometeu was preparing for multiple compiler frontends while the LSP bridge still knew too much about PBS internals. The first framing was broad: remove explicit PBS checks from common code. After inspection, that was too blunt.
PBS was already mostly centered in `prometeu-frontend-pbs`. Defaults, templates, `.pbs` fixtures, VS Code language registration, semantic keys, and composition-root bootstrap were legitimate PBS references. The real architectural problem was narrower: common LSP code imported and called PBS-specific editorial types and services for semantic tokens, completion, hover, signature help, and semantic read preparation.
## Consolidated Decision
The common LSP/editorial path must consume frontend-provided editorial capabilities through generic contracts exposed by `prometeu-frontend-api`.
The provider contract remains stable:
1. `FrontendProvider.compiler()` is mandatory.
2. `FrontendProvider.languageService()` is optional.
3. Compile-only frontends are valid.
4. Unknown `languageId` values fail explicitly.
5. PBS may be the product default only when the user has not chosen a language.
PBS is not the shared editor model. PBS implements the generic contract from inside its frontend boundary.
## Final Implementation Shape
The implementation introduced generic frontend editorial DTOs and default methods in `FrontendLanguageService`:
1. `FrontendDocumentRequest`
2. `FrontendEditorialContext`
3. `FrontendCompletionCandidate`
4. `FrontendHover`
5. `FrontendSignatureHelp`
6. `FrontendSignature`
7. `FrontendSymbolKind`
8. `FrontendDocumentation`
`CompilerLanguageServiceBridge` now resolves the selected provider and calls generic `FrontendLanguageService` methods for semantic tokens, completion, hover, and signature help.
PBS-specific analysis setup moved behind `PBSFrontendLanguageService.prepareEditorialContext(...)`. The bridge no longer imports `p.studio.compiler.pbs.*`, no longer knows `PbsAst.File`, and no longer calls `PBSFrontendPhaseService.semanticReadSurface(...)` directly.
An architectural test now protects the common LSP code from reintroducing PBS implementation imports.
## Examples
A frontend with no language service remains valid:
```java
public final class CompileOnlyFrontendProvider implements FrontendProvider {
@Override
public FrontendSpec specification() {
return SPEC;
}
@Override
public FrontendPhaseService compiler() {
return compiler;
}
}
```
An LSP consumer should resolve the selected provider, ask for `languageService()`, and fall back deterministically when editorial capability is absent.
PBS can still keep rich internal models such as `PbsEditorialResolvedSymbol`, but those models must be mapped to generic `FrontendHover`, `FrontendCompletionCandidate`, or `FrontendSignatureHelp` before common LSP consumes them.
## Pitfalls
Do not remove legitimate PBS defaults just because they mention PBS. PBS remains the product default when the user has not chosen another language.
Do not use PBS as a fallback for unknown `languageId`. Unknown language identity is a configuration error and must fail explicitly.
Do not make editor assistance mandatory. Compilation and editor support are separate frontend capabilities.
Do not move frontend semantic ownership into LSP or Studio. The LSP bridge transports frontend-owned editorial results; it does not author language semantics.
Do not reintroduce PBS imports in common LSP code for convenience. If a capability needs PBS-specific state, create or extend a frontend-owned generic boundary and keep the PBS mapping inside `prometeu-frontend-pbs`.
## References
- `DEC-0042` locked the generic frontend editorial language-service contract.
- `PLN-0111` introduced generic frontend editorial DTOs and defaults.
- `PLN-0112` migrated semantic tokens.
- `PLN-0113` migrated completion.
- `PLN-0114` migrated hover and documentation.
- `PLN-0115` migrated signature help.
- `PLN-0116` removed PBS imports from common LSP and added boundary coverage.
- Related lesson: `LSN-0055` Static frontend providers before plugin architecture.
- Related lesson: `LSN-0056` Compile-first frontends with optional editorial capabilities.
@@ -0,0 +1,98 @@
---
id: LSN-0059
ticket: multi-frontend-frontend-backend-contract
title: Common IRBackend handoff and backend guardrails
created: 2026-07-15
tags: [compiler, compiler-general, compiler-pbs, ir, backend, multi-frontend]
---
# Common IRBackend handoff and backend guardrails
## Context
The multi-frontend work needed a clear boundary between language-specific frontends and common backend stages.
The existing code was already close to the desired architecture: PBS parsing, AST construction, and semantic analysis lowered into `IRBackend`, while the backend consumed `IRBackend` and lowered it into `IRVM`. The risk was not a known broken dependency. The risk was that common backend behavior still looked PBS-owned in specs, names, and missing guardrails, which could invite future coupling when another frontend is introduced.
## Key Decisions
### `IRBackend` is the common executable handoff
**What:** `IRBackend` remains the normative frontend-to-backend executable handoff. Frontends emit it; common backend stages consume it.
**Why:** The existing model already provides a language-neutral executable contract with modules, callable identities, executable functions, instruction metadata, globals, synthetic functions, host calls, intrinsics, spans, and capabilities. Renaming or redesigning it without a concrete leak would add churn without improving the boundary.
**Trade-offs:** Keeping the name `IRBackend` means the architecture relies on documentation and tests to communicate its common role. That is acceptable because the name is already established and the guardrails now enforce the boundary.
### PBS owns lowering into `IRBackend`, not backend consumption of it
**What:** PBS specs describe PBS admission and translation into `IRBackend`. Compiler-general specs describe the common `IRBackend -> IRVM` contract and backend obligations.
**Why:** PBS is currently the only rich frontend producing executable `IRBackend`, so many examples naturally come from PBS. Specs must still separate source-language obligations from backend obligations so future frontends do not inherit PBS-specific rules by accident.
**Trade-offs:** Some PBS-facing examples remain useful, especially around lifecycle wrappers and asset metadata. They must be phrased as current frontend sources of a common backend obligation, not as backend ownership by PBS.
## Implementation Result
The completed work:
1. rewrote the general backend spec so `IRBackend -> IRVM` is explicitly compiler-general;
2. rewrote the PBS lowering spec so PBS emits the common handoff instead of owning backend behavior;
3. updated the conformance matrix with DEC-0043 guardrail rows;
4. added a direct backend test that manually constructs common `IRBackend` and lowers it without PBS parser or frontend services;
5. added an architectural test preventing common backend imports from `p.studio.compiler.pbs`;
6. added a reflection-based contract test preventing public `IRBackend` model types from exposing PBS packages;
7. renamed the common lifecycle helper from `validatePbsLifecycleStructure` to `validateCommonLifecycleStructure`.
## Patterns and Algorithms
### Boundary consolidation before abstraction
When an existing boundary is already technically sound, prefer consolidation over redesign:
1. document the current contract as normative;
2. identify only concrete leaks;
3. add tests that would fail if the boundary regresses;
4. avoid renames or model extraction until there is evidence of real coupling.
This keeps multi-frontend preparation focused on preventing regressions rather than inventing abstractions prematurely.
### Guardrails for common backend neutrality
A useful backend neutrality guardrail has two layers:
1. source/package guard: common backend source must not import language frontend packages;
2. public-contract guard: common handoff types must not expose language-owned types through fields, constructors, methods, or record components.
The package guard catches implementation coupling. The reflection guard catches API coupling.
### Direct handoff construction test
A backend test should be able to construct executable `IRBackend` manually using only common model types and lower it through `LowerToIRVMService`.
That test proves the backend consumes the contract, not a specific frontend pipeline.
## Pitfalls
- Do not treat the presence of PBS examples as proof that the backend is PBS-owned.
- Do not move PBS source rules into compiler-general specs.
- Do not let lifecycle terms such as published wrapper, boot guard, or frame root hide whether the obligation is common or PBS-specific.
- Do not rename `IRBackend` for aesthetics when the real problem is missing ownership language and missing guardrails.
- Do not use a future synthetic test frontend as a substitute for simple direct `IRBackend` construction tests.
## Takeaways
- `IRBackend` is the common executable handoff.
- PBS owns PBS-to-`IRBackend` lowering; compiler-general owns `IRBackend -> IRVM`.
- Common backend code must not depend on `p.studio.compiler.pbs`.
- Public `IRBackend` contract types must not expose PBS AST, token, parser, semantic, or editorial types.
- Multi-frontend preparation should first lock existing good boundaries before introducing new abstractions.
## References
- `docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md`
- `docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`
- `docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/LowerToIRVMServiceTest.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/CommonBackendArchitectureTest.java`
- `prometeu-compiler/prometeu-frontend-api/src/test/java/p/studio/compiler/models/IRBackendExecutableContractTest.java`
@@ -0,0 +1,82 @@
---
id: LSN-0060
ticket: multi-frontend-serializable-ir
title: Data contract first for serializable IRBackend
created: 2026-07-15
tags: [compiler, compiler-general, ir, backend, serialization, multi-frontend]
---
# Data contract first for serializable IRBackend
## Original Problem
The compiler already had a common executable handoff: `IRBackend`. PBS emits it, and common backend stages consume it before lowering to `IRVM`.
The remaining risk was subtler than direct PBS coupling. A Java-only handoff can accidentally grow around process-local assumptions: callbacks, services, object identity, mutable global state, unordered collections, lazy values, or direct references between live objects. Those shapes can work inside one JVM and still make a future external frontend or out-of-process boundary expensive to add.
The work needed to keep the handoff serializable by design without choosing JSON, Protobuf, RPC, plugin loading, or a separate process too early.
## Consolidated Decision
`IRBackend` is a data contract first.
Public `IRBackend` contract types must remain modelable as an acyclic, deterministic data graph made from primitives, strings, enums, immutable values, ordered lists, explicit ids, stable symbolic keys, and source attribution values such as file ids and spans.
The public handoff must not expose callbacks, lambdas, service objects, registries, visitors, live compiler services, frontend AST/parser/token/semantic/editorial objects, mutable global state, object identity semantics, unordered output-affecting collections, cyclic public references, process-dependent lazy values, or a selected wire format.
The important boundary is the data shape, not a codec. A future serializer should be able to consume the handoff because the public model is already disciplined, but this decision does not require a serializer to exist now.
## Final Implementation
The implementation updated the compiler-general backend spec with a new `IRBackend` serializability-by-design subsection. The spec now states the allowed and forbidden public shapes and keeps wire format selection explicitly deferred.
The conformance matrix added `G20-4.2.x` rows for the new requirements:
- public `IRBackend` modelability as an acyclic deterministic data graph;
- rejection of callbacks, services, mutable or unordered collections, frontend-owned objects, process-dependent lazy values, cyclic public references, and wire-format commitments;
- use of explicit ids or stable symbolic keys for cross-object references.
The executable guardrails live in `IRBackendExecutableContractTest`:
- the public contract audit covers all current `p.studio.compiler.models` handoff types and nested value types;
- support types such as `FileId`, `ModuleId`, `CallableId`, `IntrinsicId`, `Span`, table reference records, and `ReadOnlyList` are explicitly classified;
- reflection checks inspect public fields, record components, public constructors, public methods, and generic type arguments;
- guardrails reject PBS/frontend exposure, callback shapes, service-like public shapes, mutable/unordered collection contracts, and other non-serializable public exposures;
- deterministic aggregation tests prove stable ordering for functions, synthetic functions, globals, executable functions, module pools, callable signatures, intrinsic pools, reserved metadata, and required capabilities;
- known references are locked to explicit ids or stable keys rather than direct object references.
The audit found no concrete public serialization leak that required changing the production model. That result is meaningful: the current `IRBackend` shape was already close to the target, so the correct implementation was spec clarification plus tests, not a redesign.
## Examples
Good public handoff shapes:
- `ModuleId`, `CallableId`, `IntrinsicId`, and `FileId` for table-scoped references;
- `ReadOnlyList<T>` for ordered collections;
- `ModuleReference`, `CallableSignatureRef`, and `IntrinsicReference` as stable table values;
- `Span` for source attribution;
- enums and records for fixed value surfaces.
Bad public handoff shapes:
- `Map`, `Set`, or mutable collection interfaces where output order matters;
- `Runnable`, `Callable`, `Function`, visitors, or callbacks;
- compiler services or registries exposed as public fields or constructor parameters;
- frontend AST, parser, token, semantic, or editor types;
- direct references to another handoff object where an id or ordered table entry is the stable contract.
## Pitfalls
- Do not confuse "serializable by design" with "serialize it now." A codec is a future implementation detail.
- Do not add typed ids everywhere by taste. Add them when a real public field would otherwise depend on textual identity, object identity, or direct object references.
- Do not treat `ReadOnlyList` as cosmetic. Ordered collections are part of the deterministic contract.
- Do not let a private assembler or aggregator implementation shape leak into public handoff semantics.
- Do not move the rule into PBS specs. PBS owns how it populates the handoff; compiler-general owns the common handoff contract.
## References
- `docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md`
- `docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`
- `prometeu-compiler/prometeu-frontend-api/src/test/java/p/studio/compiler/models/IRBackendExecutableContractTest.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/BackendConformanceMatrixSpecTest.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/backend/irvm/LowerToIRVMServiceTest.java`
@@ -0,0 +1,143 @@
---
id: LSN-0062
ticket: multi-frontend-common-lifecycle
title: Common lifecycle assembly after frontend declaration
created: 2026-09-19
tags: [compiler, compiler-general, compiler-pbs, lifecycle, backend, multi-frontend]
---
# Common lifecycle assembly after frontend declaration
## Original Problem
`IRBackend` was already the common executable handoff, but the PBS frontend still
owned two different jobs. It admitted language markers `[Init]`, `[Frame]`, and
`InitAllowed`, and it also assembled the platform lifecycle: module init,
project-init wrapper, published frame wrapper, physical entrypoint, and boot
guard.
That second job discovered roles through `__pbs.*` names and lived inside
`PBSFrontendPhaseService`. Another frontend could not reuse the boot sequence
without copying PBS. Common backend code also risked treating PBS naming as the
integration contract.
The old path had a concrete defect. The `[Init]` colocated with `[Frame]` is
project init, but it was also included in the file-init fragment. The published
wrapper then called module init and project init separately, so the same
callable could run twice. Specs required project init exactly once, after all
module initializers and before the frame root.
## Consolidated Decision
Declaration and assembly are separate.
An executable frontend emits an immutable, ordered, typed
`IRLifecycleDeclaration` on `IRBackend`. The declaration carries:
- modules in explicit dependency order;
- each module's ordered file-init fragment references;
- an optional project-init callable;
- exactly one frame-root callable.
References use `ModuleId`, `FileId`, `CallableId`, a typed role, and source
attribution. Absence of a declaration means a deliberately non-executable
handoff. It must not synthesize a default `main`.
`FrontendPhasePipelineStage` stops at that declarative backend.
`AssembleLifecyclePipelineStage` runs immediately after it and is the terminal
stage of `analyze()`. `LifecycleAssemblerService` is the only owner of derived
lifecycle artifacts. `compile()` and `build()` reuse that single assembly pass.
`ResolveDepsPipelineStage` remains the ordering authority. Frontends propagate
that order; the assembler validates and applies it. Neither side may rebuild
order from synthetic names, `FileId`, textual module names, or incidental map
order.
Project init is excluded from file-init fragments and runs exactly once. Common
derived identities are neutral and deterministic. Common code must not import
PBS packages or inspect `__pbs.*` prefixes. Typed roles, ids, and origins are
the stable inspection surface; synthetic names are internal.
## Final Implementation
PBS now emits per-file lifecycle contributions and a project-level declaration.
A colocated `[Init]` is the project-init reference only. File-init fragments
remain frontend-lowered executables, consumed by id and role rather than by
name prefix. `synthesizePublishedLifecycle` was removed.
The common assembler validates the declaration and materializes:
1. module init callables in declared module/file order;
2. an optional project-init wrapper, invoked once;
3. the published frame wrapper, which is the physical entrypoint;
4. a hidden boot guard that prevents a second bootstrap after success.
The declaration remains on the assembled `IRBackend` as provenance. IRVM
lowering keeps only assembled-graph preconditions such as wrapper identity,
synthetic origin, and boot-guard presence. It does not reconstruct lifecycle
from names.
`analyze()` still returns a fully assembled executable backend, without IRVM,
bytecode, or file output. Neutral names use the `__prometeu.lifecycle.*` prefix.
Diagnostics stay split: PBS reports marker, signature, placement, cardinality,
and colocation errors; the common layer reports unresolved ids, incompatible
roles, missing frame root, invalid origins, and frontend-preassembled derived
artifacts.
## Examples
Good frontend output:
- a file with globals or a non-project `[Init]` contributes a
`FILE_INIT_FRAGMENT`;
- the `[Init]` next to `[Frame]` is `PROJECT_INIT` only;
- `[Frame]` is `FRAME_ROOT`;
- module order follows the resolved dependency graph even when names or file
ids would sort the other way.
Good assembled output:
- wrapper call order is module inits, then project init once, then frame root;
- boot guard is a hidden global, not a user global;
- `getLifecycleDeclaration()` still exposes the original typed references.
Bad output:
- PBS emitting `MODULE_INIT`, `PROJECT_INIT` wrappers, published wrappers, or
boot guards;
- common code matching `__pbs.frame_wrapper$m0` to discover the entrypoint;
- sorting modules by `FileId` or textual path because the declaration order was
inconvenient;
- leaving both the PBS assembler and the common stage active.
## Pitfalls
- Do not treat `analyze()` as "frontend only." It now includes common lifecycle
assembly so callers still receive an executable `IRBackend`.
- Do not keep a temporary dual path. Two assemblers duplicate wrappers or init.
- Do not infer missing frame roots or repair invalid declarations in the common
layer. Fail deterministically.
- Do not move PBS marker rules into the assembler. Language admission stays in
PBS; structural handoff checks stay common.
- Do not preserve `__pbs.*` names for common-derived artifacts as compatibility
behavior. They were never a public ABI.
- Do not confuse a frontend file-init fragment name with a common-derived
identity. PBS may still name its own fragments; common code must not parse
those names.
## References
- Decision: `DEC-0046`
- Plan: `PLN-0125`
- Related lessons: `LSN-0059`, `LSN-0060`
- `docs/specs/compiler/23. Compiler Pipeline Entry Points Specification.md`
- `docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md`
- `docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`
- `docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md`
- `docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md`
- `docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md`
- `docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md`
- `prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/models/IRLifecycleDeclaration.java`
- `prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/lifecycle/LifecycleAssemblerService.java`
- `prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/workspaces/stages/AssembleLifecyclePipelineStage.java`
@@ -0,0 +1,129 @@
---
id: LSN-0063
ticket: multi-frontend-validation-boundaries
title: Language vs platform validation ownership
created: 2026-09-19
tags: [compiler, compiler-general, compiler-pbs, backend, validation, multi-frontend]
---
# Language vs platform validation ownership
## Original Problem
PBS mixed two kinds of rejection. Some failures only make sense with the
language: syntax, types, markers, barrel files, imports. Others belong to any
executable frontend: malformed `IRBackend`, invalid lifecycle declarations,
missing assembled wrappers, host-capability identity, bytecode/preload.
Without an ownership rule, the next frontend would copy PBS validators, or the
common layer would start knowing `[Init]`, barrel, and `E_SEM_*`. Spec 19 was
still titled as PBS verification, and the PBS diagnostics catalog listed
wrapper and boot-guard failures as PBS coverage.
Lifecycle assembly had already moved (`LSN-0062`). That proved the pattern. It
did not inventory the rest.
## Consolidated Decision
A validation lives at the lowest layer that understands the failure without
knowing the source language.
- Language: needs AST, tokens, a language marker, a barrel, or another source
rule.
- Platform: can be checked on `IRBackend`, `IRLifecycleDeclaration`, IRVM, PBX,
host/capability tables, or ids.
The discussion published that matrix. It did not extract a generic
validator-core and did not move validators whose common contract is not closed.
Host admission is split. PBS owns the source shape of `[Host]` and
`[Capability]`. Platform owns canonical `(module, name, version)` identity and
capability consistency once those facts exist on `IRReservedMetadata`. The
current validator may stay in the PBS package until a later plan. `E_HOST_*`
is not eternal PBS semantics.
The same fact may exist on both sides with distinct identities. PBS can report
`E_SEM_MISSING_PROJECT_FRAME`; the common layer still rejects an executable
declaration with no frame root.
Platform codes are `COMMON_*`, `LOWER_IRVM_*`, or `MARSHAL_*`. PBS keeps
`E_PARSE_*`, `E_SEM_*`, `E_LINK_*`, and `E_HOST_*`. Copy origin/span when
present; a missing origin is a structural error, not a reason to invent a span.
Linking and barrel stay language-owned. `Addressable` is platform-owned and was
classified only. SDK canonical source and the broad architectural harness stay
on adjacent discussions.
## Final Implementation
The work was editorial and test-facing.
Spec 19 is now `Compiler Verification and Safety Checks Specification`. Gates
S-U and S-I are unchanged. Section 11 states the classification rule, the
English ownership matrix, diagnostic identity, dual reporting, and the
host-admission split. It explicitly refuses validator-core extraction and
package moves.
PBS diagnostics spec 12 keeps marker, syntax, semantics, linking, and
host-attribute coverage. Common structural failures now point at spec 19
section 11 and spec 20 instead of appearing as PBS required coverage.
Spec 20 cross-references that same compiler-general ownership. The conformance
matrix added `G19-11.1` through `G19-11.6` and `PBS12-11`.
`CommonBackendArchitectureTest` now guards `backend/`, `lifecycle/`, and all
common pipeline stages. `ValidationOwnershipSpecTest` locks the title, matrix,
and PBS recut.
`PbsHostAdmissionValidator` remains under `p.studio.compiler.pbs`. No linking
or asset production code moved.
## Examples
Language-owned:
- parse errors;
- `[Init]` / `[Frame]` signature and colocation;
- barrel and import failures;
- `host call not allowed during init`.
Platform-owned and already implemented:
- invalid `IRLifecycleDeclaration`;
- assembled wrapper, boot guard, and synthetic origin preconditions;
- IRVM and marshal rejection families.
Classified as platform, not moved:
- canonical host-binding identity on `IRReservedMetadata`;
- `Addressable` / asset path.
Dual reporting:
- missing `[Frame]` in PBS source is `E_SEM_MISSING_PROJECT_FRAME`;
- an executable declaration without frame root is a common structural error.
## Pitfalls
- Do not treat “classified as platform” as “move the class now.” Host admission
still waits on the SDK source discussion.
- Do not merge language and platform failures into one hybrid code. Two
identities are cheaper than a lost message.
- Do not put PBS governance or PBS diagnostics in charge of compiler-general
safety gates.
- Do not scan PBS frontend sources with the platform architecture guard. The
guard is for common validators, not for the language package that must remain.
- Do not invent a validator-core because several common checks exist. They
already live on their stages.
## References
- Decision: `DEC-0047`
- Plan: `PLN-0126`
- Related lesson: `LSN-0062` - Common lifecycle assembly after frontend declaration
- Related lesson: `LSN-0059` - Common IRBackend handoff and backend guardrails
- `docs/specs/compiler/19. Verification and Safety Checks Specification.md`
- `docs/specs/compiler-languages/pbs/12. Diagnostics Specification.md`
- `docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md`
- `docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/ValidationOwnershipSpecTest.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/CommonBackendArchitectureTest.java`
@@ -0,0 +1,121 @@
---
id: LSN-0064
ticket: multi-frontend-sdk-canonical-definition
title: Runtime owns console ABI; PBS is delivery
created: 2026-09-19
tags: [compiler, compiler-general, sdk, stdlib, hostcalls, intrinsics, multi-frontend]
---
# Runtime owns console ABI; PBS is delivery
## Original Problem
"SDK" mixed three layers: platform ABI, PBS stdlib shells, and docs. The PBS
compiler reads `[Host]` and `[IntrinsicCall]` from `.pbs` files. It does not
read the runtime registry. Intrinsics already had a CSV in the runtime
repository, a handwritten Java enum, and a disabled parity test. Spec 8
documented `audio` and `@core:math`. Disk had `game/stdlib/1` with `color`,
`asset`, `composer`, `gfx`, `input`, and `log`. Spec 18 preferred `@sdk:*` for
host APIs while `@sdk:input` was a builtin.
There is no second language in this phase. The risk was not a missing generic
SDK. The risk was treating PBS shells, or a stale spec, as console ABI.
DEC-0047 had already classified canonical host identity as platform-owned and
left `PbsHostAdmissionValidator` in the PBS package until a shared source
existed.
## Consolidated Decision
This discussion was an audit. It published an authority map. It did not create
a canonical schema, generate bindings, enable intrinsic parity, or move the
host-admission validator.
The console has two distinct axes:
- VM-owned intrinsics, identity `canonical_name@version` plus `final_id`;
- host-backed calls, identity `(module, name, version)` plus capability.
Do not unify those axes into one catalog while PBS is the only frontend.
Conflict resolution:
- Intrinsic conflict: `runtime/docs/vm-arch/INTRINSICS.csv` wins. Studio
`docs/vm-arch/INTRINSICS.csv` is a mirror. `IRVMIntrinsicDefinition` is
derived. PBS `[BuiltinType]` / `[IntrinsicCall]` shells are delivery.
- Host conflict: runtime spec 16 and `SyscallMeta` win. PBS `[Host]` attributes
must not define ABI. They declare the shell the PBS compiler reads today.
`@sdk:*` / `@core:*` paths must not imply ownership. `@sdk:input` is a
registered builtin exception. It was not moved to `@core`.
PBS conformance means PBS shells and docs match runtime ABI, not the reverse.
`PbsHostAdmissionValidator` may stay in the PBS package. `E_HOST_*` is not
eternal PBS semantics.
## Final Implementation
The work was editorial and test-facing.
Spec 18 now states that PBS stdlib is delivery and must not define syscall IDs,
intrinsic `final_id` values, or `SyscallMeta`. Runtime catalogs outrank it.
`@sdk:input` is recorded as the current builtin exception.
Spec 8 now documents `<target>/stdlib/<N>/...` with current line `1` at
`game/stdlib/1`: `core/color` and `sdk/{asset,composer,gfx,input,log}`. It no
longer ships `audio` or `@core:math` as current modules.
Spec 6.2 now requires PBS host shells to repeat the runtime registry and forbids
inventing `(module, name, version)`. The authority example is
`("gfx2d", "clear", 1)`.
`ConsoleAbiAuthoritySpecTest` locks those sentences. No production compiler
code, stdlib `.pbs`, or validator package moved. The intrinsic parity test
stays disabled.
## Examples
Runtime wins:
- `color.rgb@1` / `final_id` `0x1101` come from `INTRINSICS.csv`;
- `("gfx2d", "clear", 1)` and `("asset", "load", 1)` come from `SyscallMeta`.
PBS delivers, and does not own, those identities:
- `@core:color` with `[BuiltinType(name = "color", version = 1)]`;
- `@sdk:gfx` `LowGfx.clear` with `[Host(module = "gfx2d", name = "clear", version = 1)]`;
- `@sdk:input` with `[BuiltinType]` / `[IntrinsicCall]` under `@sdk`.
Stale docs that the recut removed as current line-1 inventory:
- `stdlib/1/sdk/audio`;
- `@core:math` as a packaged module.
## Pitfalls
- Do not treat PBS stdlib as the ABI catalog because the compiler already reads
it. That is convenience, not authority.
- Do not create `HOSTCALLS.csv` or generate the Java enum because the map now
exists. A catalog waits on a second consumer.
- Do not move `PbsHostAdmissionValidator` on the strength of this map. DEC-0047
classified identity as platform; this discussion published who wins; the
validator still has no shared catalog to consume.
- Do not read `@sdk` as host and `@core` as VM. Path is packaging. `@sdk:input`
is builtin.
- Do not enable `IRVMIntrinsicRegistryParityTest` as a side effect of a doc
recut. That is compiler/runtime sync, not PBS packaging conformance.
- Do not put the authority map only in a decision. Housekeep deletes workflow
artifacts. Specs and this lesson keep the map.
## References
- Decision: `DEC-0048`
- Plan: `PLN-0127`
- Related lesson: `LSN-0063` - Language vs platform validation ownership
- Related lesson: `LSN-0061` - PBX is the language-neutral runtime boundary
- `docs/specs/compiler/18. Standard Library Surface Specification.md`
- `docs/specs/compiler-languages/pbs/8. Stdlib Environment Packaging and Loading Specification.md`
- `docs/specs/compiler-languages/pbs/6.2. Host ABI Binding and Loader Resolution Specification.md`
- `docs/vm-arch/README.md`
- `../runtime/docs/vm-arch/INTRINSICS.csv`
- `../runtime/docs/specs/runtime/16-host-abi-and-syscalls.md`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/ConsoleAbiAuthoritySpecTest.java`
@@ -0,0 +1,136 @@
---
id: LSN-0061
ticket: multi-frontend-pvm-neutrality
title: PBX is the language-neutral runtime boundary
created: 2026-09-18
tags: [vm-arch, runtime, pvm, pbx, compiler, multi-frontend]
---
# PBX is the language-neutral runtime boundary
## Original Problem
PBS was the first implemented frontend, so its name still appeared in a few
common compiler specification titles. That editorial residue made it easier to
misread the architecture as if PBS owned bytecode, IRVM, or the PVM execution
model.
The implementation was already mostly neutral: the compiler emitted PBX, the
runtime loaded PBX, and the common backend did not import PBS frontend packages.
The real risk was future drift. In particular, IRVM could be mistaken for a
runtime input, `PBS\0` could be confused with the executable magic, and duplicated
VM-architecture documents could silently become competing authorities.
## Consolidated Decision
The executable pipeline is:
```text
language frontend -> IRBackend -> IRVM -> PBX -> loader/verifier -> PVM
```
`IRBackend`, `IRVM`, optimization, and PBX emission are compiler-owned.
`IRVM` is an internal compiler representation and never crosses the runtime
boundary. PBX is the only executable artifact consumed by the runtime.
The runtime repository owns PBX binary layout, Core ISA, loader behavior,
verification, and PVM execution. Studio owns the common compiler transformations
that produce conforming PBX. Studio copies of VM-architecture documents are
mirrors, not independent authorities.
`PBS` names a language, frontend, stdlib, and explicitly language-specific
integration. It does not name the executable format, magic, ISA, ABI, program
image, or runtime type. The canonical persisted artifact is `program.pbx`, and
its binary magic is `PBX\0`.
## Final Implementation
The common compiler specifications now identify bytecode/PBX and IRVM
optimization as language-neutral surfaces. They explicitly state that IRVM is
internal to the compiler and that PBX is the compiler/runtime boundary. Existing
PBS references were retained where they describe legitimate frontend-specific
publication or metadata behavior.
Studio's copies of `ARCHITECTURE.md`, `ISA_CORE.md`, and `INTRINSICS.csv` were
synchronized with the runtime repository. A mirror policy now identifies the
runtime repository as canonical and provides byte-for-byte comparison commands.
Existing Studio tests already proved two important invariants:
- `BytecodeModule` serializes the exact `PBX\0` header;
- common backend contracts neither import nor publicly expose PBS frontend
types.
Runtime conformance was strengthened in three focused places:
- the bytecode invalid-magic regression now explicitly proves that legacy
`PBS\0` is rejected;
- the PVM initialization regression now creates a `BytecodeModule` directly,
serializes it, loads and verifies it, prepares the boot call, and executes it
through `HALT` without any frontend;
- a quality check inspects the `prometeu-bytecode` and `prometeu-vm` manifests
and rejects dependencies whose identities belong to compiler or frontend
layers.
No production VM behavior, ISA, ABI, or binary format changed.
## Examples
Language-specific work stops before the common backend:
```text
PBS AST and semantic model
-> PBS lowering
-> neutral IRBackend data
-> common IRVM lowering and optimization
-> PBX\0
```
A future frontend follows the same boundary:
```text
FutureLanguage AST and semantic model
-> FutureLanguage lowering
-> neutral IRBackend data
-> the same common IRVM and PBX stages
```
The runtime sees the same PBX contract in both cases. It does not receive a
`languageId`, source extension, AST object, IRVM object, or frontend service.
## Pitfalls and Anti-Patterns
- Do not expose IRVM as a convenient runtime protocol. It is optimized for
compiler transformations, not binary compatibility or runtime loading.
- Do not rename PBX concepts after the first frontend. `PBS\0` is invalid even
when PBS produced the program.
- Do not globally ban the word `PBS` from runtime documentation. PBS is a valid
guest-language example; guards should inspect dependencies, public types, and
format identities instead of raw text.
- Do not duplicate tests when an existing guard proves the entire invariant.
Extend coverage only for the missing distinction, such as explicit `PBS\0`
rejection.
- Do not let a documentation mirror become a second authority. Synchronize it
against runtime or replace it with an explicit reference.
- Loading a PBX image is not the same as beginning execution. The PVM boot test
must prepare the published boot call before running the instruction budget.
## References
- `docs/specs/compiler/15. Bytecode and PBX Mapping Specification.md`
- `docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md`
- `docs/specs/compiler/21. IRVM Optimization Pipeline Specification.md`
- `docs/vm-arch/README.md`
- `prometeu-compiler/prometeu-build-pipeline/src/main/java/p/studio/compiler/backend/bytecode/BytecodeModule.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/specs/CommonBackendArchitectureTest.java`
- Runtime: `crates/console/prometeu-bytecode/src/model.rs`
- Runtime: `crates/console/prometeu-vm/src/virtual_machine.rs`
- Runtime: `crates/dev/prometeu-quality-checks/tests/pvm_frontend_neutrality.rs`
## Takeaways
- PBX is the stable, language-neutral executable boundary.
- IRVM stays private to the compiler pipeline.
- Runtime authority and compiler authority are complementary, not competing.
- Small dependency and artifact tests are enough to protect this boundary
without introducing a plugin platform or a second language.
@@ -0,0 +1,148 @@
---
id: LSN-0065
ticket: multi-frontend-synthetic-test-frontend
title: Synthetic test frontend proves common pipeline neutrality
created: 2026-09-19
tags: [compiler, compiler-general, frontend, tests, backend, multi-frontend]
---
# Synthetic test frontend proves common pipeline neutrality
## Original Problem
The common pipeline already had `FrontendProvider`, `IRBackend` as the
executable handoff, common lifecycle assembly, and `IRBackend -> IRVM -> PBX`.
Direct construction tests proved the backend could lower a handmade
`IRBackend`. Import guards proved common backend code did not depend on PBS
packages.
That was not enough. Nothing proved that a second provider, resolved by
`languageId`, could enter through `DiscoverPhase` and
`FrontendPhasePipelineStage`, assemble lifecycle, and finish
`BuilderPipelineService.compile()` at verified bytecode without instantiating
PBS, reading `.pbs` files, or loading PBS stdlib.
`CompileOnlyFrontendProvider` already existed as a local test double. It was
not registered, returned an empty `IRBackend`, and never called the pipeline.
It did not close this gap.
## Consolidated Decision
Pipeline neutrality is proved by a **test-only** compile-only
`FrontendProvider`, not by a second product language and not by injecting IR
into compile stages.
Locked shape (former Option A):
- `languageId` is `synth`.
- The provider and `FrontendPhaseService` live only in
`prometeu-build-pipeline` test sources.
- `languageService()` is empty. There is no parser, grammar, semantic
presentation, or stdlib catalog.
- `sourceRoots` is `src`. `allowedExtensions` must not collide with `pbs` /
`barrel`. The fixture must **not** create a source file of that extension.
An empty `src/` directory must still exist because `WireProjectsPhase`
resolves `toRealPath()`.
- The compiler ignores source text and emits one module, one `frame` body
that is a single `RET`, and an `IRLifecycleDeclaration` with exactly one
`FRAME_ROOT` whose origin span is filled.
- The handoff must not declare `FILE_INIT_FRAGMENT` or `PROJECT_INIT`, and
must not pre-materialize wrappers, module-init, or `BOOT_GUARD`. The common
assembler produces `__prometeu.lifecycle.frame_wrapper$mN` and the boot
guard.
- The IR must not contain host bindings, capabilities, intrinsics, PBS types,
PBS stdlib, or `__pbs.` names.
The acceptance path is `compile()` through `VerifyBytecode`. Writing
`program.pbx` is not the criterion. `build()` only adds disk I/O.
Registration stays on the existing static `FrontendRegistryService`.
`register` and `unregister` are public. `unregister` refuses to remove the
default PBS provider and is a no-op for unknown ids. Tests register `synth`
for the duration of the run and unregister in `try/finally`.
`bootstrapDefaults()`, `AppContainer`, and the Studio language catalog must
not register `synth`.
Do not inject a `Registry` into the pipeline, add a `frontends/synth` module,
scan the classpath, or treat a dummy on-disk extension as a language. Do not
replace `LifecycleAssemblerServiceTest`, `LowerToIRVMServiceTest`, or
`IRBackendExecutableContractTest` with this fixture.
A blank `prometeu.json` `language` field still defaults to PBS. The synthetic
project must set `language: synth` explicitly.
## Final Implementation
`FrontendRegistryService.register(FrontendProvider)` is the explicit
registration API. `unregister(String languageId)` removes a non-PBS provider
or no-ops if the id is absent. Duplicate `register` still fails.
`bootstrapDefaults()` still registers only PBS.
The test fixture is:
- `p.studio.compiler.synth.SyntheticFrontendProvider`
- `p.studio.compiler.synth.SyntheticFrontendPhaseService`
`SyntheticFrontendPipelineTest` writes a temporary project
(`language: synth`, `target: Game`, numeric `stdlib`, empty `src/`),
registers the provider, calls `BuilderPipelineService.compile()`, and
asserts:
- the synthetic compiler ran;
- resolved `languageId` is `synth`, not `pbs`;
- diagnostics have no errors;
- in-memory bytecode is non-empty and verified;
- assembled entrypoint is `__prometeu.lifecycle.frame_wrapper$m0`;
- a hidden boot guard is present;
- no `__pbs.` names;
- no `.pbs` / `.barrel` sources were required;
- after `unregister`, `listProviders()` is PBS-only.
Spec 23 section 8.3 records that a compile-only registered provider is a
valid pipeline participant and that the common pipeline must not require PBS
types, PBS sources, or PBS stdlib to emit verified bytecode. Spec 22 row
`G23-8.3` binds that obligation to the synthetic pipeline test.
PBS production code, Studio, and `AppContainer` were not changed.
## Examples
Good:
- register `synth`, compile a temp project with empty `src/`, unregister;
- `FRAME_ROOT` with `FileId(0)` and a non-none span, even with no source file
in `FileTable`;
- assert the synthetic compiler was invoked instead of importing
`PBSFrontendPhaseService` from build-pipeline tests.
Bad:
- omitting `language` in the manifest so discovery silently uses PBS;
- creating `main.dummy` and calling that a second frontend;
- putting the provider under `prometeu-compiler/frontends/`;
- leaving `synth` registered after the test so later tests see two providers;
- using this pipeline test as a substitute for assembler or IRVM unit tests.
## Pitfalls
- `WireProjectsPhase` still needs `src/` on disk. Empty is not the same as
missing.
- Origin span `Span.none()` is rejected by the assembler. Use a real
`FileId` even when no file was loaded.
- `unregister("pbs")` must fail. A cleanup path that blindly unregisters the
resolved language would delete the product default.
- `listProviders()` feeds the Studio catalog. A leaked test registration
would show `synth` as a new-project language.
- Direct `IRBackend` construction tests still own backend-only proofs. The
synthetic frontend owns the registry-plus-pipeline proof. Keep both.
## References
- Decision: `DEC-0049`
- Plan: `PLN-0128`
- Related lessons: `LSN-0055`, `LSN-0056`, `LSN-0059`, `LSN-0062`, `LSN-0061`
- `docs/specs/compiler/23. Compiler Pipeline Entry Points Specification.md`
- `docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`
- `prometeu-compiler/prometeu-frontend-registry/src/main/java/p/studio/compiler/FrontendRegistryService.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/synth/SyntheticFrontendProvider.java`
- `prometeu-compiler/prometeu-build-pipeline/src/test/java/p/studio/compiler/integration/SyntheticFrontendPipelineTest.java`
@@ -0,0 +1,151 @@
---
id: LSN-0066
ticket: multi-frontend-architectural-tests
title: ArchUnit guards Java multi-frontend boundaries
created: 2026-09-19
tags: [compiler, compiler-general, studio, frontend, architecture, tests, multi-frontend]
---
# ArchUnit guards Java multi-frontend boundaries
## Original Problem
The multi-frontend boundaries already existed in specs and lessons: common
code selects a frontend by `languageId`, `IRBackend` is language-neutral,
lifecycle assembly is common, and PBS is one provider. The automated
protection did not match that model.
The old guards walked Java source and searched for substrings:
- `import p.studio.compiler.pbs`
- `new PBSFrontendPhaseService(`
- `new PbsEditorialSupportService(`
Those checks missed field, signature, and constructor coupling. They also
treated `p.studio.compiler.pbs` as the whole PBS surface. Facades such as
`PBSFrontendProvider`, `PBSDefinitions`, and `PBSFrontendPhaseService` live
in the PBS module but not in that package. `prometeu-app` and
`prometeu-lsp-v1` declared an `implementation` dependency on PBS without
importing any PBS type.
## Consolidated Decision
Java multi-frontend boundaries are enforced by **ArchUnit + JUnit 5**, not by
source substring search, except for the `__pbs.` literal scan that bytecode
cannot see.
Durable locks from DEC-0050:
- ArchUnit is test-only, pinned in `gradle/libs.versions.toml`.
- Rules live in the test-only Gradle project `:prometeu-architecture-tests`.
That project has no production sources. It is not a plugin loader.
- A PBS type is a class whose bytecode originates from
`:prometeu-compiler:frontends:prometeu-frontend-pbs`. Package
`p.studio.compiler.pbs` is not the complete boundary. Name prefixes
`PBS*` / `Pbs*` are not the identity.
- Production may depend on PBS types only in:
- the PBS module itself;
- `prometeu-frontend-registry` / `FrontendRegistryService`, and only on
`PBSFrontendProvider` and `PBSDefinitions`.
- `AppContainer` is not a PBS composition root. It may call
`FrontendRegistryService.bootstrapDefaults()`. It must not instantiate PBS
types.
- `synth` is not in the production allowlist and must not be registered in
`bootstrapDefaults()`.
- Runtime, PVM, and the Rust repository stay out of this discussion
(LSN-0061).
- `IRBackendExecutableContractTest` remains the public-contract shape audit.
ArchUnit covers module-origin dependence.
Do not migrate PBS facades into another package just to make the test
easier. Do not ban the word `PBS` in docs, fixtures, or comments.
## Final Implementation
`:prometeu-architecture-tests` imports production classes under `p.studio`
with `ImportOption.DoNotIncludeTests` and applies three ArchUnit rules:
1. classes outside the PBS module and the registry must not depend on
PBS-module types;
2. registry production may depend only on `PBSFrontendProvider` and
`PBSDefinitions` from that module;
3. frontend-api `p.studio.compiler.models` must not depend on PBS-module
types.
A separate JUnit test walks `build.gradle.kts` files and allows the PBS
project dependency only for:
- `:prometeu-compiler:prometeu-frontend-registry` as `implementation`/`api`;
- `:prometeu-architecture-tests` as `testImplementation` (needed to classify
class origin).
The `__pbs.` source scan moved to
`CommonBackendPbsPrefixScanTest` and still covers `backend/`, `lifecycle/`,
and `workspaces/stages/`.
Gradle graph cleanup:
- `prometeu-app` and `prometeu-lsp-v1` no longer `implementation` PBS.
Runtime classloading of `PBSFrontendProvider` still comes through the
registry's implementation dependency.
- `prometeu-studio` no longer `testImplementation` PBS. No studio test
compiled against PBS types.
Source-walk import/constructor tests were deleted.
`FrontendProviderBoundaryTest` keeps only
`compileOnlyFrontendProviderMayOmitLanguageService`.
Specs 19 §11 and 20 now say common/platform code must not depend on types
from the PBS frontend module. Matrix rows G19-11.6, G20-4.1.2, and G20-4.3.3
point at the ArchUnit rules and the `__pbs.` scan.
## Examples
Good:
- ArchUnit failure names the class that depends on a PBS-module type,
including a facade in package `p.studio.compiler`.
- Registry `bootstrapDefaults()` constructs `PBSFrontendProvider`. That is
the allowed composition root.
- App calls `FrontendRegistryService.bootstrapDefaults()` and has no PBS
project dependency.
Bad:
- Searching source for `import p.studio.compiler.pbs` and calling the
boundary protected.
- Treating `AppContainer` as the place that may `new PBSFrontendProvider()`.
- Identifying PBS by class name prefix, so a future `PbsLike` helper in
common code is banned or a PBS facade is missed.
- Adding ArchUnit to `java-common-conventions` for every module.
## Pitfalls
- Same Java package does not mean same Gradle module.
`FrontendRegistryService` and `PBSFrontendProvider` both sit in
`p.studio.compiler`. Origin is the module path or JAR name.
- `@AnalyzeClasses` classes must not mix `@ArchTest` and Jupiter `@Test` on
the same class. The ArchUnit engine owns `@ArchTest`.
- `DoNotIncludeTests` is required. The architecture-test sources themselves
reference PBS types in order to name the allowlist.
- Removing PBS from app/lsp compile classpath is safe only because registry
still `implementation`s PBS, which is runtime-transitive.
- `testImplementation` of PBS on studio is not a production leak, but if no
studio test needs PBS types it is still a lying graph. The allowlist test
rejects it.
- Do not point ArchUnit at the Rust runtime. `__pbs.` in Java source is a
string contract, not a type dependency.
## References
- Decision: `DEC-0050`
- Plan: `PLN-0129`
- Related lessons: `LSN-0055`, `LSN-0059`, `LSN-0062`, `LSN-0063`,
`LSN-0061`, `LSN-0065`
- `docs/specs/compiler/19. Verification and Safety Checks Specification.md`
- `docs/specs/compiler/20. IRBackend to IRVM Lowering Specification.md`
- `docs/specs/compiler/22. Backend Spec-to-Test Conformance Matrix.md`
- `prometeu-architecture-tests/src/test/java/p/studio/architecture/PbsModuleBoundaryArchTest.java`
- `prometeu-architecture-tests/src/test/java/p/studio/architecture/PbsGradleDependencyAllowlistTest.java`
- `prometeu-compiler/prometeu-frontend-registry/src/main/java/p/studio/compiler/FrontendRegistryService.java`
- `prometeu-compiler/prometeu-frontend-api/src/test/java/p/studio/compiler/models/IRBackendExecutableContractTest.java`
@@ -0,0 +1,167 @@
---
id: LSN-0067
ticket: multi-frontend-avoid-premature-abstractions
title: Multi-frontend phase rejects premature infrastructure
created: 2026-09-19
tags: [compiler, compiler-general, studio, frontend, architecture, multi-frontend, simplicity]
---
# Multi-frontend phase rejects premature infrastructure
## Original Problem
The multi-frontend preparation needed a standing simplicity rule. The original
agenda asked for that rule *before* the other multi-frontend discussions.
Those discussions already closed (DSC-0054 through DSC-0064). The remaining
risk was not a missing plugin platform.
The remaining risk was twofold:
1. using "keep it simple" to put PBS construction back into common compiler,
Studio, LSP, or app code;
2. inventing marketplace, JAR loading, RPC, validator-core, or a generic SPI
"for a future language" that does not exist in this repository.
`FrontendRegistryService` is a static singleton. The original agenda listed
a global service locator as out of scope. Without an explicit exception, a
later change could inject a `Registry` into the pipeline for purity, which
DSC-0063 already refused.
## Consolidated Decision
This is standing policy for *future* work in the current phase: PBS as the
only product frontend, `synth` as a test-only provider, frontends in-repo.
It is not an audit of closed discussions and must not rewrite them.
Durable locks from DEC-0051:
- Implementation of this discussion is the decision plus this lesson. There
is no new spec, no new ArchUnit rule, and no production refactor.
- Spec 23 §2 and §8.3 remain the discovery MUST NOT surface. Do not copy
those sentences into a new spec.
- Architectural tests stay owned by LSN-0066.
### Static registry is allowed
`FrontendRegistryService` as a static singleton, with public `register` and
`unregister` and `bootstrapDefaults()` registering only PBS, is the
composition mechanism of this phase. Treat that as an explicit exception,
not as a banned service locator.
Discovery must not use `ServiceLoader`, classpath scanning, reflection-based
discovery, an external JAR, or runtime plugin installation.
Do not inject a `Registry` into the pipeline, LSP, or `AppContainer`.
`AppContainer` is not a PBS composition root. It may call
`FrontendRegistryService.bootstrapDefaults()`. It must not instantiate PBS
types.
### Real in-repo consumer
A new interface, module, SPI, generator, or framework is allowed only when
a real in-repo consumer exists. In this phase that consumer is one of:
- the PBS product frontend;
- the `synth` test frontend;
- a second product frontend accepted by its own decision.
"For a future language", "for the marketplace", or "when we have plugins"
is not a consumer.
`FrontendProvider`, `IRBackend`, common lifecycle assembly, and test-only
ArchUnit are not premature. They already have consumers.
### Forbidden in this phase
Until a later decision authorizes it with a real consumer, do not introduce:
1. dynamic frontend discovery (plugin, `ServiceLoader`, scan, external JAR,
runtime install);
2. RPC, sockets, a process supervisor, or version negotiation between
compiler and frontend;
3. a marketplace, hot reload, or frontend sandbox;
4. a validator-core or generic validation framework;
5. an SDK schema/generator or `HOSTCALLS.csv` as canonical ABI (LSN-0064);
6. a product module `frontends/synth`;
7. an injected `Registry`, or `AppContainer` as the PBS composition root.
This list is not a monorepo-wide simplicity charter. It does not govern
JavaFX, packer, or LSP protocol design. Owner is `compiler/general`, with
impact on `studio` on the multi-frontend axis.
### Neighbors stay closed
Do not reinterpret, relax, "simplify", or reimplement:
- provider/registry (LSN-0055 / spec 23 §8.3);
- common lifecycle;
- console ABI / PBS delivery;
- `synth`;
- ArchUnit / PBS module identity.
Using this policy to keep `new PBSFrontendPhaseService()` (or equivalent)
in common code is refused. That is PBS recoupling, not simplicity.
A second product frontend needs its own decision. This lesson neither
replaces that decision nor blocks it.
## Final Implementation
No production Java, Gradle, spec, or ArchUnit file changed.
The map above is the implementation. Future compiler/studio plans on this
axis should cite it when they propose a new module, SPI, or discovery
mechanism.
Code that already matches the phase:
- `FrontendProvider` exposes `specification()`, `compiler()`, and optional
`languageService()`;
- `FrontendRegistryService.bootstrapDefaults()` registers PBS only;
- `AppContainer` only calls that bootstrap;
- `synth` lives in build-pipeline test sources;
- ArchUnit lives in `:prometeu-architecture-tests`.
## Examples
Good:
- add a method to `FrontendProvider` because PBS or `synth` cannot compile
or register without it;
- keep `unregister` on the static registry so `synth` tests can clean up;
- reject a proposal to load language JARs from a plugin directory.
Bad:
- inject `Registry` into `BuilderPipelineService` because static state looks
like a service locator;
- create `frontends/synth` as a product module;
- add validator-core "so the next language has somewhere to put checks";
- keep `new PBSFrontendPhaseService()` in pipeline code and call that
simpler than going through the provider.
## Pitfalls
- The original agenda order ("before the other agendas") is historical.
Do not reopen DSC-0054..DSC-0064 to satisfy it.
- Static registry plus explicit `register`/`unregister` is visible. Hidden
`ServiceLoader` discovery is not the same thing.
- A second product frontend *is* a real consumer. Do not use this lesson to
refuse that frontend; use it to refuse infrastructure that frontend does
not yet need.
- Spec 23 already forbids plugin discovery. Do not duplicate it. Do not
treat silence in spec 23 as permission for RPC or validator-core.
- Simplicity does not mean PBS may leak into common modules. LSN-0066 still
owns that boundary.
## References
- Decision: `DEC-0051`
- Plan: `PLN-0130`
- Related lessons: `LSN-0055`, `LSN-0060`, `LSN-0063`, `LSN-0064`,
`LSN-0065`, `LSN-0066`
- `docs/specs/compiler/23. Compiler Pipeline Entry Points Specification.md`
(§2, §8.3)
- `prometeu-compiler/prometeu-frontend-registry/src/main/java/p/studio/compiler/FrontendRegistryService.java`
- `prometeu-compiler/prometeu-frontend-api/src/main/java/p/studio/compiler/services/FrontendProvider.java`
- `prometeu-app/src/main/java/p/studio/AppContainer.java`
@@ -0,0 +1,70 @@
---
id: LSN-0074
ticket: pbs-lsp-remaining-editor-surface
title: PBS remaining editor surface is frontend-owned and transported by the LSP
created: 2026-09-22
tags: [studio, lsp, vscode, compiler-pbs, editor]
---
# PBS remaining editor surface is frontend-owned and transported by the LSP
## Original Problem
Nine open LSP agendas still described formatting, imports, semantic tokens, snapshots, completion, folding, diagnostics, document links, and call hierarchy as if none of that surface existed. By the time those agendas were still open, the server already advertised hover, completion, signature help, definition, references, outline, workspace symbols, rename, quick fix, and full semantic tokens. Each request still rebuilt analysis. References and rename had already shipped without a snapshot cache. There was no diagnostic whose meaning was "this name is not imported."
Treating the nine agendas as nine decisions would have reimplemented finished work and locked stale premises.
## Consolidated Decision
`DEC-0058` retired that split. One plan, `PLN-0137`, landed seven steps. The frontend produces the editorial result. The LSP transports it and does not invent a second policy. A missing capability is not advertised and returns an empty list, not a protocol error.
The wave explicitly does not add a project snapshot cache, type hierarchy, `completionItem/resolve`, snippets, a ranking score, range or on-type formatting, organize imports, a missing-import quick fix, `relatedInformation`, or a new semantic-token key.
1. Published editor diagnostic `source` is the bound frontend `languageId`. For PBS that is `pbs`. `code` stays the stable compiler code. The code is not copied into `source`.
2. A document link covers only the span of a `ModuleRef` whose module assembly already resolved to a regular file. Virtual stdlib and unresolved modules produce no link.
3. Folding comes from recovered spans of the listed declarations, their bodies, parameter lists, and `Doc` text blocks. A brace, parenthesis, or text block the tree does not cover still folds, including an unmatched opener through the end of the text. Selection grows outward from identifier, to argument or parameter list, to block or `Doc` text block, to declaration.
4. Formatting is full-document only. It reprints the token stream, indents by four spaces where brace or parenthesis nesting changes, leaves `Doc` text-block interiors untouched, and does not reorder declarations or move comments off their line.
5. Semantic tokens keep `PBSSemanticTokenProvider` as the baseline. Hover resolution may replace an identifier token only when an existing `PbsSemanticKind` matches the symbol. Failure, a broken file, or a symbol with no existing key keeps the baseline token.
6. Completion inside a `ModuleRef` lists project and stdlib modules the current resolver can already name. Every other offset keeps the existing member or general completion. Items stay eager and `resolveProvider` stays false.
7. Call hierarchy walks `CallExpr` nodes for functions and methods. It does not use the references index. A cursor that is not on a callable is empty. Type hierarchy is not advertised.
## Final Implementation
`CompilerLanguageServiceBridge` reads `LspProjectContext.languageId` into `BaselineDocumentIssue.source`. Document links read the physical module map that module assembly already built; stdlib files under `/virtual/stdlib` are not regular files, so they are not links. Folding, selection, and formatting reparse the open buffer with the existing lexer and parser. They do not require a successful project analysis. The semantic-token overlay runs only when editorial context is available and otherwise returns the provider tokens, including when project discovery fails. Module completion labels are the project modules from that same physical map plus the modules `ResourceStdlibEnvironmentResolver` can already resolve. Call hierarchy collects function, method, and constructor declarations from the recovered AST and matches `CallExpr` callees by name and call shape.
Spec 23 §8.3 states each of these rules. The nine earlier agendas, `AGD-0048` through `AGD-0056`, were abandoned and are not normative.
## Examples
A project import `@app:a` that resolves to `src/a/source.pbs` is one document link on that module-reference span. `@sdk:log` is not, because the stdlib file is virtual.
```pbs
fn helper() -> int { return 1; }
fn main() -> int { return helper; }
```
The use of `helper` without a call is an identifier in the lexical pass. Hover resolves it as a function, so the overlay key is `pbs-function`. A local such as `value` has no existing key, so it stays `pbs-identifier`.
```pbs
fn helper() -> int { return 1; }
fn main() -> int { return helper(); }
```
Prepare on `main` returns that function. Outgoing calls include `helper`. Incoming calls of `helper` include `main`. A cursor on a struct name returns no item.
## Common Pitfalls
- Do not copy the diagnostic code into `source`. The editor then shows the code twice and loses the language id.
- Do not build document links to `/virtual/stdlib`. Definition already refuses that destination.
- Do not treat document symbols as folding ranges. Outline and folding are different payloads.
- Do not pretty-print from the AST. Comments and `Doc` text-block interiors are not fully modeled as trivia on the tree.
- Do not add `pbs-local`, `pbs-parameter`, or `pbs-field` in the overlay. Those symbols stay on the baseline token until a later decision adds the key.
- Do not implement call hierarchy by inverting the references index. A reference is a use of a name, not a call.
- Do not start a snapshot cache because a later feature feels slow. This wave deliberately kept request-local analysis.
## References
- `DEC-0058` and `PLN-0137`, removed by housekeeping after this lesson
- `docs/specs/compiler/23. Compiler Pipeline Entry Points Specification.md` §8.3
- Earlier surface: `LSN-0068`, `LSN-0069`, `LSN-0070`, `LSN-0071`, `LSN-0072`, `LSN-0073`
- Abandoned agendas: `AGD-0048` through `AGD-0056`
@@ -0,0 +1,103 @@
---
id: LSN-0075
ticket: studio-core-javafx-decoupling
title: Studio Services Must Outlive the Current UI
created: 2026-09-25
tags: [studio, architecture, spring, spring-modulith, javafx, adapters]
---
## Context
Prometeu Studio began as a desktop application in which JavaFX controls, application workflows, provider integrations, background execution, and lifecycle management shared one Gradle module. A static `p.studio.Container` made these dependencies easy to reach, but it also made the visual adapter the practical center of the product. That shape could not support another consumer, such as a future agent adapter, without either driving the UI or duplicating Studio behavior.
The migration needed to preserve the existing Java product and its behavior while making JavaFX replaceable. It also needed to preserve the autonomy of compiler, LSP, runtime, and especially `p.packer`; separating Studio did not authorize absorbing those domains.
## Key Decisions
### Human and non-visual adapters consume the same Studio services
**What:** The Studio is physically divided into `prometeu-studio-api`, `prometeu-studio-core`, `prometeu-studio-ui-javafx`, and `prometeu-app`. JavaFX depends on the neutral API, Core implements application use cases, and the application module composes concrete adapters.
**Why:** The stable boundary is UI versus application services, not JavaFX versus a future web framework. A future agent can depend on the same API without moving application rules out of Core.
**Trade-offs:** More constructor parameters and explicit contracts are required. That cost is intentional: dependencies are visible, testable, and constrained by Gradle instead of hidden behind a global container.
### Spring is a composition mechanism, not a domain dependency
**What:** Spring Boot runs in non-web mode only in `prometeu-app`. Core objects remain constructor-injected POJOs. Spring Modulith verifies the six functional Core modules: project, session, assets, shipper, runtime, and execution.
**Why:** Spring provides deterministic construction and lifecycle without contaminating the public API or Core. Modulith supplies executable documentation and dependency checks while Gradle remains the physical classpath boundary.
**Trade-offs:** The application configuration is deliberately explicit. Broad component scanning and turning JavaFX controls into Spring singletons would recreate hidden ownership and lifecycle problems.
### Provider boundaries follow stability, not uniformity
**What:** Core uses a provider's public API directly when it is stable and neutral. It owns a narrow port when the available integration is static, concrete, lifecycle-oriented, or otherwise unsuitable for Core. Packer's stable API is consumed directly; compiler static access, LSP lifecycle, and runtime process integration are isolated behind consumer-owned gateways implemented in `prometeu-app`.
**Why:** Wrapping every dependency creates redundant abstractions, while importing concrete implementations leaks infrastructure into Core. The useful boundary depends on the provider contract.
**Trade-offs:** The integration matrix must be reviewed case by case. There is no universal rule that every provider receives a gateway.
### Long-running work is a neutral application contract
**What:** Build, pack, and execution expose `OperationHandle<R>` with identity, snapshots, completion, cancellation, updates, and typed results. The application owns the executor implementation; JavaFX only projects operation state and switches to the FX thread.
**Why:** Background work must be equally consumable by JavaFX and future adapters. An executor or JavaFX `Task` is an implementation detail, not an application contract.
**Trade-offs:** Cancellation races and terminal state transitions require explicit tests. In particular, stopping execution must cancel the outer execution handle before its nested preparation handle can complete it successfully.
## Patterns and Algorithms
The dependency pattern is:
```text
JavaFX adapter ---> Studio API <--- future adapters
^
|
Studio Core
^
|
Spring non-web composition
```
External providers remain outside the Core module graph. Stable public provider APIs may be direct Core dependencies; concrete adapters remain in the application module.
Operational failures that a caller can recover from are returned as typed results or diagnostics. For example, metadata writes convert I/O failures into `AssetMetadataWriteResult`. JavaFX renders that result and does not treat an unexpected exception message or stack trace as a functional contract.
The removal sequence for a service locator is also reusable:
1. establish architecture tests and final modules;
2. introduce neutral contracts and explicit factories;
3. move behavior slice by slice into constructor-injected services;
4. reduce static call sites to zero;
5. delete the static container and manual composition together;
6. remove the mixed legacy module;
7. run the full build, packaging, desktop smoke, and shutdown gate as one indivisible acceptance step.
## Pitfalls
- Renaming packages without changing Gradle dependencies does not create a replaceable frontend.
- Replacing `Container` with `ApplicationContext.getBean()` throughout the code is still a service locator. Context lookup belongs only at the explicit application bootstrap boundary.
- Registering every control or dialog as a Spring singleton gives Spring ownership of visual lifecycle and makes multiple windows or future adapters harder.
- A gateway that merely mirrors a stable provider API adds indirection without protection. Conversely, direct use of static or concrete provider entry points leaks infrastructure into Core.
- Moving Packer behavior into `p.studio.core.assets` would reverse domain ownership. Studio coordinates Packer; `p.packer` remains independently consumable.
- Returning raw exception messages to JavaFX turns implementation accidents into an unstable user-facing protocol. Expected failures need neutral results or diagnostics.
- Marking the migration complete after compilation alone misses packaging, restoration, real JavaFX interaction, cancellation, and shutdown leaks.
## Takeaways
- The durable product boundary is the Studio service surface, not the current frontend technology.
- Spring belongs in composition; Spring Modulith belongs in verification and documentation; neither belongs in the neutral API.
- Gradle modules enforce physical isolation, while functional Core modules express ownership and allowed dependencies.
- JavaFX is an equivalent adapter, not the owner of project, asset, build, runtime, or execution rules.
- `Container` removal is a completion criterion, not an optional cleanup step.
- A future agent module can now be added as another API consumer without revisiting this migration or coupling AI concerns to JavaFX.
## References
- Decision: `DEC-0059` — Separate Studio Core from JavaFX with Spring Boot non-web and Spring Modulith.
- Plan: `PLN-0138` — Complete Studio Core and JavaFX Boundary Migration.
- Studio architecture: `docs/specs/studio/9. Studio Core and Adapter Architecture Specification.md`.
- Studio specifications: `docs/specs/studio/README.md`.
- Packer boundary: `docs/specs/packer/1. Domain and Artifact Boundary Specification.md`.
- Packer integration: `docs/specs/packer/5. Diagnostics, Operations, and Studio Integration Specification.md`.
@@ -0,0 +1,303 @@
---
id: LSN-0076
ticket: studio-headless-runtime-ai-first
title: AI-first Studio Through Shared Authority and Headless Evidence
created: 2026-09-29
tags: [studio, runtime, headless, ai, mcp, automation]
---
## Context
Owner: **studio**, with runtime preparation in `../runtime` and language-owned PBS
documentation/LSP integration. DSC-0068, accepted DEC-0060 and PLN-0139 delivered
28 ordered steps: runtime (01–07), DEV/shared services (08–14), MCP (15–21), and
real integration/acceptance (22–28). Those workflow identifiers are historical
references; maintained contracts live in the specs linked below.
The original headless host was an in-process runtime API. Studio's human Debug
was useful, but neither a public automation protocol nor a safe authority boundary
for another editor. The goal was an external coding agent able to learn PBS,
edit a game, build/run it, see its pixels and iterate while the developer watches.
A complete gameplay library or embedded AI chat was not a prerequisite.
## Key Decisions
### Separate ownership, not parallel implementations
The external coding client owns conversation, model/provider, native file edits
and budget. Studio owns project authority, build orchestration, process supervision
and the shared observation model. Runtime owns execution and framebuffer semantics.
The language frontend/SDK owns its references; the existing project LSP owns semantic
queries. DEV and MCP consume the same neutral services.
```text
External coding agent -- local MCP HTTP --> Studio API/Core <-- DEV (JavaFX)
|
compiler/packer + existing LSP
|
supervised runtime JSONL/stdio
|
canonical PNG + frame identity
```
The configured installation provides `prometeu headless --stdio`. UTF-8 JSONL is
versioned, bounded and protocol-only on stdout; logs belong on stderr. A process
contains one session, with no implicit conflicting-work queue. Handshake establishes
runtime/protocol versions, capabilities and effective limits. Human Debug keeps its
own host/protocol. API/Core do not depend on JavaFX, Spring, HTTP/MCP or wire DTOs.
This avoids a provider adapter inside Studio and avoids automating the human debugger
as the execution API. The deliberate cost is an explicit process boundary and
reconfiguration of the external client after Studio restarts.
### Connection, authority and operation receipts are different identities
Authentication to loopback `/mcp` permits discovery/context/reference reads, not
editing authority. A human grants a specific project in DEV; acquisition then
returns a task identity. Manual Debug and agent work exclude each other in services,
not only through disabled UI buttons. Waiting for acquisition already blocks
conflicting manual work. A disconnected client does not release the project.
An operation's `clientRequestId` deduplicates a build or advance within the task.
The same ID and parameters return the same operation; changing parameters fails.
Lookup recovers a lost receipt without replaying frames. These records are in-memory,
not a source journal or restart-recovery mechanism. Runtime wire correlation has
its own `requestId`; neither identity is a substitute for valid task authority.
### Return is a cleanup barrier
The sequence is: invalidate task authority → stop managed work/processes → refresh
open documents from saved files → enable manual control. A late result cannot publish
a new capture or restore authority. Closing only DEV does not end the task; closing
the project/app does. Reopening starts manual, never with recovered agent authority.
Compile errors, guest faults and runtime loss remain distinct outcomes. The first
two permit correction within the same task. Runtime loss requires explicit session
replacement, not replay. Forced cleanup reports infrastructure failure first; a
later explicit reclaim may acknowledge success only after the process tree is dead.
The adversarial gate exposed a real app-teardown gap: UI closure alone did not own
every project session. The project-session factory now tracks and closes sessions
before dependent executors/LSP are destroyed, attempts other sessions after a failure,
and rejects new opens once closure begins. Cancellation also tolerates a concurrent
writer/timer shutdown so that it cannot bypass cleanup waiting.
### Direct edits require truthful boundaries
The agent edits actual project files. No worktree, merge/apply stage, code rollback,
Git cleanliness gate or automatic commit is imposed. Studio offers save-all-and-grant
for its dirty buffers and refreshes from disk on return. External unsaved buffers,
concurrent native writes and Git discipline remain the developer's responsibility.
Revocation cannot stop an external process from writing files directly; the developer
must also stop that client. SDK/external libraries are readable, not editable by
the game task. Read-only semantic refactoring scopes are enforced by the adapter.
### Pixels are evidence; metadata explains which evidence
MCP returns the lossless canonical PNG as native image content, plus session/build,
logical frame, render FrameId, dimensions, stride and pixel format. DEV projects
the same capture, with an explicit stale label after edits/rebuild/session changes.
Logical frames and render frames are independent counters. Neither a hash nor a
desktop screenshot replaces framebuffer pixels. Captures do not travel through
temporary image files, and there is no continuous video requirement.
Default bounds are 600 frames/advance, 64 KiB/command, 32 MiB/response including
image/envelope, 5 s handshake, 60 s call, and 5 s cancel/shutdown grace. Oversized
requests fail rather than clamp. Deadlines supervise processes, not simulated time.
## Final Result and Acceptance Evidence
All 28 plan steps completed on the tested platform. Production exposes 17 MCP
tools, live DEV configuration-copy, shared task authority, existing LSP/build,
indexed offline language references and the supervised real Rust headless host.
There is no production fake, embedded agent/chat, generic MCP editor/shell or
provider-specific runtime behavior.
### Requirement-to-evidence map
| Requirement and steps | Evidence retained in code or acceptance record |
| --- | --- |
| Runtime contract, commands, limits, determinism; 01–07 | Runtime `automation_process.rs`, headless tests, published request/response schemas and packaged-installation smoke |
| Neutral architecture; 08, 14, 15, 27 | Studio specs 9–11; architecture/Modulith tests, 17 passing cases in final full rerun |
| Grant/revoke, symmetric locks, dirty-buffer handoff; 09–14 | `DefaultAutomationSessionTest`, Core execution/session tests, `DevDesktopTest`, `DevWorkspaceProjectionTest` |
| HTTP authentication/Origin/restart and real config; 16, 21 | `LocalMcpServerTest`, `McpContractTest`, `McpConnectionGuideTest`; packaged restart rejects prior credential |
| Manifest context, unknown languages/versions, indexed offline docs; 17–18 | `CompilerProjectKnowledgeTest`, `CompilerProjectLanguageCatalogTest`, `InstalledKnowledgeTest` |
| Saved-source LSP and dependency navigation; 19 | `AutomationLspQueriesTest`, including `externalDependencyNavigationIsReadableButRefactoringIsReadOnly`; SDK limitation remains explicit below |
| Task operations, lost receipts, deduplication; 20–21 | `McpTaskToolsTest`, Core operation tests; reconnect/duplicate advance in real desktop HTTP gate |
| Real supervision/build/corrective iterations; 22–23 | `HeadlessProcessSessionTest`, `HeadlessInstalledRuntimeTest`, `HeadlessTaskIntegrationTest` |
| Runtime/MCP/DEV pixel and identity parity; 24 | `HeadlessMcpDesktopTest` + independent `DirectHeadlessOracle`; compare every ImageView pixel, PNG bytes, metadata, reset/fresh-session/rebuild |
| Interruption/cleanup/Debug regression; 25 | Nine real HTTP/runtime/DEV tests, including crash, forced shutdown, app close, stale-result rejection and real manual Debug; controlled document participant makes refresh barrier observable |
| Real coding client and human confirmation; 26 | Codex CLI 0.158.0 run described below; developer confirmed DEV and manual Debug Play |
| Full regression and distribution; 27 | Commands/counts below; installed references and two extracted-ZIP application lifecycle cycles |
| Final propagation and handoff; 28 | This lesson, updated spec 11 delivery boundary, README troubleshooting, CLI validation and housekeeping |
### Real external-client example
The developer granted control in `../ai-first-smoke` and copied the descriptor.
Codex CLI 0.158.0 used a fresh ephemeral session, only the configured Studio MCP,
project-root workspace-write isolation and its approval-review mechanism. Default
noninteractive approval policy initially blocked acquisition before any edit; the
retry retained sandboxing and did not bypass the human grant. The configured default
model was used; this record does not assert an independently verified model identity.
Credentials stayed out of versioned files and reports.
The agent consulted language/SDK references, edited only `src/main.pbs`, queried
LSP, built/packed and consumed native MCP image blocks. It changed the bundled
16x16 orange rectangle to one-pixel/frame directional movement in a 480x270 frame,
with no idle movement, opposing directions canceled before clamping, and unchanged
colors. Both builds succeeded; diagnostics were empty; final guest fault was null.
The 77 MCP calls included rejected/recovered calls and 13 native image blocks.
| Scenario | Logical frame / FrameId | Client-reported observed position |
| --- | --- | --- |
| Idle for 10 frames | 10 / 9 | (0,32) |
| Right 20; down 20 | 30 / 29; 50 / 49 | (20,32); (20,52) |
| Left 10; up 10 | 60 / 59; 70 / 69 | (10,52); (10,42) |
| Horizontal then vertical opposites, 10 each | 80 / 79; 90 / 89 | (10,42), unchanged |
| Right + down, 500 | 590 / 589 | (464,254), intact at bottom-right |
| All directions, 10 | 600 / 599 | (464,254), unchanged at edge |
| Left + up, 500; idle 10 | 1100 / 1099; 1110 / 1109 | (0,0), intact at top-left |
Build ID: `da441f65-479b-4099-8b86-fe48c7750e76`; runtime session:
`aa089209ec22c9a07286e5b01e967a57`. Frame identities/statuses were checked in tool
evidence; positions are the coding client's visual observations, not an invented
independent pixel measurement. Step 24 separately supplies exhaustive pixel parity.
Release returned MANUAL, no headless host remained, and game edits were preserved.
The developer confirmed the DEV result and successfully played the game through
normal Debug afterward. No game commit was made automatically.
### Builds, commands and scope
Studio executable code was `e6a83c94`; acceptance/troubleshooting documentation
was committed as `4c3597a2`. Runtime is merged at `01fab56`, distribution 0.1.0,
protocol 1.0. Native acceptance was **macOS ARM64 only**; no other coding client,
operating system or native-installer matrix is claimed.
Studio final commands:
```sh
./gradlew test build :prometeu-app:installDist --max-workers=2 --console=plain
./gradlew test :prometeu-app:installedKnowledgeTest :prometeu-app:headlessProcessTest --rerun-tasks -PstudioRuntimeInstall=/absolute/path/to/runtime --max-workers=2 --console=plain
```
The forced rerun executed all 91 tasks: normal suite **803 passed, 15 pre-existing
disabled tests, zero failures/errors**; installed knowledge **1 passed**; real
headless integration **4 passed**. The disabled compiler classes were
`IRVMIntrinsicRegistryParityTest`, `BackendGateIIntegrationTest` and
`MainProjectPipelineIntegrationTest`; none was disabled for this delivery.
The earlier step 25 targeted run had **254 passing tests**, including 9 real
HTTP/runtime/DEV and 4 DEV/Debug desktop tests. These overlap the full suite and
must not be added together as unique tests.
The Studio ZIP was extracted outside the checkout. A test-only JavaFX probe loaded
only its distribution JARs, delegated to the real App init/start/stop, used isolated
preferences, and passed two shown-launcher/closed-listener cycles, credential
renewal and old-token rejection. It did not operate the developer's open window.
ZIP SHA-256: `256f80b25416c284dca58e5519fdde0be36e9a6a2a450cb58f9c453862188c8d`.
Runtime final commands (cwd `../runtime`, separate temporary Cargo target):
```sh
cargo test --workspace --offline --quiet
PROMETEU_PROTOCOL_TEST_INSTALL=/absolute/path/to/runtime cargo test -p prometeu-cli --offline --test automation_process -- --include-ignored
cargo test -p prometeu-host-desktop-winit --offline --lib -- --ignored
```
Workspace **678 passed**, with six opt-in tests ignored there; separate runs passed
all **13** process/protocol cases including the installed package, and all **5**
localhost Debug cases. Twelve process cases overlap the workspace result. The
runtime package was built during preparatory delivery; the final gate reused and
validated it rather than claiming a fresh distribution build. Installed headless
SHA-256: `24b74712397545ddd7f745daded859c12d19102f81c5b51bf46c202fb8d6b65d`.
## Deferred Findings — Return Here After Implementation
The user requested deferred investigation, not silent removal of these findings.
| Finding | Owner and next investigation |
| --- | --- |
| `Input.pad()` SDK definition returns no location | Investigated on 2026-09-29: editorial lookup succeeds, but the physical-file policy filters the virtual SDK source. A separate chained-call editorial limitation was reproduced; see below. No runtime defect or fix is claimed. |
| Oversized reference page produces generic `-32602` | Studio MCP: improve parameter-limit discoverability/error specificity; default pagination already works. |
| Concurrent capture/fault/state may return BUSY | Studio MCP/Core: review concurrency guidance and clarity. Sequential calls work; do not weaken accepted exclusivity implicitly. |
| Framebuffer dimensions were discovered from capture | Language/runtime documentation: improve discovery; this does not prove dimensions are absent from every reference. |
| JDK 25/Kotlin target-24 fallback, JavaFX module/native-access/Unsafe warnings | Build/desktop tooling: review supported toolchain alignment and startup options separately. Passing tests do not erase warnings. |
| UI automation helper required newer Node than 22.13.1 | Environment tooling, not Studio: upgrade only as separate authorized work; human DEV confirmation supplied acceptance. |
| macOS ARM64 + Codex is the validated matrix | Future interoperability/platform testing; no uniform Grok/Windows/Linux promise. |
`NO_FRAME_AVAILABLE` before the first completed frame and client permission prompts
are expected boundaries, not guest defects. The shutdown ownership/reclaim bugs
found during step 25 are fixed and tested, not outstanding issues.
### Follow-up Investigation: SDK Navigation and Chained Calls
Owner: `compiler/pbs`, with propagation to compiler tooling contracts and Studio/LSP
consumers. This diagnosis does not reopen the completed AI-first delivery or change
its accepted requirements.
On 2026-09-29, a temporary Java probe exercised `CompilerLanguageServiceBridge`
with a request-local PBS overlay on `test-projects/main/src/main.pbs`, using the
application runtime classpath. It compared raw PBS editorial locations, exported
frontend locations, final LSP definitions, and hover. No production source was
changed. The comparison included imports from `@sdk:input` and `@sdk:gfx`, a local
`helper()`, an explicitly typed `pad: InputPad`, and `button: InputButton`.
| Cursor target | Raw PBS locations | Frontend / LSP locations | Hover |
| --- | --- | --- | --- |
| Local `helper()` | 1 | 1 / 1 | Resolved |
| `pad` in `Input.pad()` | 1 | 0 / 0 | `pad() -> InputPad` |
| `left` in `pad.left()` | 1 | 0 / 0 | `left() -> InputButton` |
| `down` in `button.down()` | 1 | 0 / 0 | `down() -> bool` |
| `down` in `pad.left().down()` | 0 | 0 / 0 | No symbol information |
| `left` and `down` in `Input.pad().left().down()` | 0 each | 0 / 0 each | No symbol information |
| `clear` in `Gfx.clear(0)` | 1 | 0 / 0 | Resolved |
There are two separate causes:
1. **SDK destination policy, not failed lookup.** `InterfaceModuleLoader` registers
SDK declarations under `/virtual/stdlib/sdk/input/main.pbs` (and the corresponding
`gfx` path). The source handle can read the declaration text, but the path is not
a physical file. `PBSFrontendLanguageService.toFrontendLocation` explicitly
rejects it via `Files.isRegularFile`. The LSP bridge also reads destination text
from disk; removing the frontend check alone would not deliver a usable target.
This behavior follows Compiler Spec 23 §8.3 and the physical-file rule preserved
in `LSN-0068`, and already has an explicit `Gfx.clear()` regression assertion in
`CompilerLanguageServiceBridgeTest.definitionUsesEditorialLookupAndPhysicalStdlibFiles`.
2. **Chained-call editorial receiver resolution.**
`PbsEditorialSupportService.resolveReceiverTypeBeforeDot` uses
`resolveChainSegmentsEndingAt`, which walks identifier/dot chains, not a call
expression ending in `)`. Thus the receiver of `down` in `pad.left().down()` is
unknown before destination mapping even begins. An explicitly typed intermediate
`button` restores raw lookup and hover, while the virtual-source policy still
prevents navigation. This is an editorial limitation, not evidence that executing
the same expression fails.
Recommended follow-up, not an accepted implementation decision: address chained
receiver resolution in the PBS editorial layer, and separately decide how to expose
the exact SDK sources as navigable read-only files. A version-scoped physical source
cache is compatible with the existing destination policy; virtual-document support
would require an explicit contract revision. Neither approach should duplicate SDK
semantics in MCP, permit SDK edits, or point to an unrelated developer checkout.
## Pitfalls and Takeaways
- A successful HTTP fixture is not an external-agent acceptance test. Prove both.
- Tab disposal is not task disposal; application teardown must own hidden sessions.
- Never unlock before process termination and document refresh acknowledge completion.
- Do not replay an advance because a connection or receipt was lost.
- A matching hash/blank canvas is weak visual evidence. Compare actual pixels,
metadata and an input timeline that changes a known object.
- An empty SDK definition is a language limitation, not permission to edit SDK code.
- Packaging language knowledge is part of making an unfamiliar language usable by
agents; adding another hidden language configuration is not.
- Keep provider permissions separate from Studio authority. Neither bypasses the other.
- Preserve explicit platform/client/test exclusions and deferred findings at closure.
## References
- Historical accepted decision DEC-0060 and completed plan PLN-0139, DSC-0068.
- [Studio architecture](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md).
- [DEV and authority contract](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md).
- [MCP tools and knowledge contract](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
- [Usage and troubleshooting](../../../README.md#external-coding-agents-mcp).
- Runtime-owned contract: `../runtime/docs/specs/runtime/11a-headless-automation-protocol.md`.
- Previous foundation: [Services must outlive UI](../DSC-0067-studio-core-javafx-decoupling/LSN-0075-studio-services-must-outlive-the-current-ui.md).
@@ -0,0 +1,190 @@
---
id: LSN-0078
ticket: pbs-editorial-chains-sdk-navigation
title: PBS chains and revision-bound external sources
created: 2026-10-07
tags: [compiler, compiler-pbs, lsp, studio, sdk, navigation]
---
# PBS chains and revision-bound external sources
Domain owner: `compiler/pbs`. Propagation: `compiler/general` and `studio`.
DEC-0062 and PLN-0141 were implemented together. This lesson preserves the outcome
and validation after their workflow artifacts are removed.
## Original problem
Compilation supported expressions such as `Input.pad().left().down()`, but the
editorial receiver scanner only understood identifier/dot sequences. Hover,
definition, completion and signature help therefore lost the receiver after a call.
Separately, definition discarded SDK/core handles because their bundled resources
had virtual paths rather than regular files. SDK hover could succeed while F12
returned nothing. These were independent defects requiring integrated acceptance.
A third regression fixture confirmed that source discovery skipped a dependency
explicitly admitted under `.workspace`: the crawler tested every ancestor of the
absolute path against ignored directory names.
## Consolidated decision
Keep language resolution in the frontend. Share receiver typing across the four
project queries, using PBS parsing and flow semantics. Support known-return call
chains, nested arguments, typed/inferred variables, parentheses and recoverable
partial code. Unknown or ambiguous receivers stay unresolved. This changes no
language rule, compiler/linker pipeline, ABI or runtime behavior.
Expose SDK/core and admitted dependency sources as read-only in-memory documents.
SDK/core remain bundled, without editorial extraction. Libraries remain their
existing physical sources; a library inside the project directory is still an
external owner. Dependency installation, download, cache management and its future
Studio UI remain DSC-0072 / AGD-0074.
Each external document binds content, byte ranges and frontend semantic context to
the same analyzed revision. The host emits an opaque project-session URI; the
content digest is not an SDK version. VS Code and MCP share that source and
semantic authority. They do not implement another PBS resolver.
All proposals touching external sources are refused as a whole. Normal project
editing remains available. References, workspace symbols, links and hierarchies
retain their earlier physical scopes. External definition does not expand them.
## Final implementation
1. `PbsParser.parseExpression` exposes the existing expression grammar for complete
receiver fragments. `PbsEditorialSupportService` locates a fragment boundary and
delegates its type to `PbsFlowExpressionAnalyzer`. The same path serves all four
project queries, including trailing dots and unfinished arguments.
2. `SourceCrawler` tests ignored descendants relative to the explicitly admitted
traversal root. It does not admit incidental `.workspace` trees as project code.
3. `FrontendSourceDocument` carries exact text, origin, presentation metadata,
read-only ownership and opaque frontend context. Definition locations optionally
carry that source; invalid path/range combinations are rejected. PBS preserves
source ownership separately from `SourceKind.PROJECT`; external ownership wins
when paths overlap. Existing default-empty frontend capabilities remain valid.
4. `ExternalSourceRegistry` belongs to `TcpLspServerHost`, not the shared compiler
bridge. It retains source/context together, with separate consumer grants,
acknowledged uses and reconnect validation. Repeated uses in one semantic
snapshot coalesce. Another reader's release cannot invalidate a retained source.
5. LSP negotiates external support and emits `prometeu-source:` destinations only
to supporting clients. External read, retain, release and revalidate requests
share server-issued consumer identity. The bridge uses retained content for
positions, hover, definition and highlighting. Unsupported consumers keep local
physical navigation without receiving unusable external targets.
6. VS Code registers a `TextDocumentContentProvider`, assigns PBS language, routes
hover/F12/highlighting and prevents external edit commands. Disconnect preserves
displayed text but disables queries until validation; the status bar explains
unavailable external documents. Changed revisions require fresh navigation.
7. MCP adds `readExternalSource` to `studio_language_query`. Task-owned consumers
survive short-lived sockets, acknowledge returned definitions, revalidate before
reuse, and release on task return/cancellation. Cross-task/project replay is
refused. Failed navigation releases unacknowledged results; failed responses
roll back newly retained sources. No human editor is needed.
### Example
A project definition on `Gfx.clear` opens the bundled SDK source. Hover/F12 on its
`LowGfx.clear` call reaches the host declaration. F12 on `Color` reaches the core
resource. The same operations work through MCP by reading the returned external
URI and querying positions in that text. A dependency under `.workspace/repos/lib`
uses the same presentation and write protection.
If that library changes on disk while a document is open, the retained document's
hover/F12 still use its old AST and old text. After disconnect, revalidation against
the changed source fails; clients must navigate again for new content and ranges.
## Validation evidence
Failures were reproduced before production changes: all four chain assertions
failed, both crawler/admitted-FileTable fixtures failed, and the old bridge test
confirmed SDK hover with empty bundled definition alongside working local F12.
Final module results (2026-10-07):
| Suite | Executed successfully | Skipped |
| --- | ---: | ---: |
| PBS frontend | 245 | 0 |
| Frontend API | 27 | 0 |
| Build pipeline | 141 | 15 existing disabled cases |
| LSP | 38 | 1 opt-in development-host case in the ordinary run |
| App: AutomationLspQueries, McpContract, CompilerProjectKnowledge | 24 | 0 |
| Core: TaskLanguageQueries | 1 | 0 |
| Actual VS Code Development Host, run separately | 1 | 0 |
All 477 executed JUnit cases passed across these scoped runs. TypeScript compilation,
`discussion validate` and `git diff --check` also passed. The disabled main-project
pipeline integration test was not treated as evidence.
The actual VS Code host exercised typing refusal, declaration selection, semantic
highlighting, hover, continued F12, a physical `.workspace` library with Unicode/CRLF,
reconnection and normal project edits. Provider tests exercised cached disconnected
text, matching/changed revisions, close and canceled reads. MCP tests used the actual
TCP server independently of VS Code, including task return, aliases, mixed rename
refusal and changed revisions. Registry tests covered multiple readers, distinct
projects, last release, task/session lifetime and canceled/unopened navigation.
The source-snapshot regression changed a dependency on disk after navigation and
verified that old hover/F12 still used the original declaration and semantic context.
Dedicated write-boundary checks refuse external didChange/didSave, formatting,
rename, prepareRename and code actions, including unnegotiated identities.
Commands are preserved in the plan-derived development instructions and test owners:
```sh
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-frontend-api:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-lsp:prometeu-lsp-v1:test --console=plain
./gradlew :prometeu-app:test --tests '*AutomationLspQueriesTest' --tests '*McpContractTest' --tests '*CompilerProjectKnowledgeTest' :prometeu-studio-core:test --tests '*TaskLanguageQueriesTest' --console=plain
npm --prefix tools/vscode-extension run compile
PROMETEU_VSCODE_DEV_TEST=1 ./gradlew :prometeu-lsp:prometeu-lsp-v1:test --tests '*ExternalSourceDevelopmentHostTest' --console=plain
```
Packaged Studio was excluded from the initial acceptance above. On 2026-10-07,
the user explicitly requested this additional validation. The existing
`InstalledKnowledgeTest` now launches its isolated probe with the Java runtime
from `installDist`, using distribution JARs plus test probe classes, with its working
directory and projects outside the checkout. It asserts that the frontend and LSP
bridge load from JARs and that SDK/core resources have `jar:` URLs.
The packaged gate passed:
```sh
./gradlew :prometeu-app:installedKnowledgeTest --console=plain
```
Besides reading the installed documentation and compiling its example, it verifies
project-to-SDK, SDK-to-host and SDK-to-core definitions, matching declaration lines,
exact SDK/core text against JAR bytes, read-only bundled descriptors, SDK hover and
semantic tokens, and source revalidation after reconnect. The project contains only
its original manifest and sources after navigation: no bundled source extraction.
The first run caught an incorrect cursor position in the test fixture; calculating
the position from the source fragment fixed the fixture. No production fix was needed.
This is a packaged resource/backend gate; it does not launch the Studio desktop or
repeat the VS Code UI checks against the installed process.
## Pitfalls
- Compiler success does not prove editorial resolution. Query the four surfaces.
- A physical path under the project root is not proof of editable ownership.
- Retaining text alone is insufficient: fresh analysis can attach different meaning
to old positions. Keep the corresponding semantic context.
- MCP socket closure is not task completion. Retain consumer state independently.
- VS Code normalizes escaped URI components. The first actual-host run exposed
mismatched identities from escaped slashes; emitted URIs now use unreserved
characters and keep names separately in metadata.
- `TextEditor.edit` is an extension programming API, not user typing. The real UI
gate uses the `type` command; backend edit proposals are checked independently.
If another extension changes a virtual buffer, the provider refuses queries whose
text differs from the retained revision.
- VS Code MarkdownString properties need direct inspection; JSON serialization can
show `{}` even when hover contains valid content.
- Enriching a shared definition DTO can accidentally expand references. Keep each
surface's admission policy explicit; the compatibility suite caught this coupling.
- Do not silently drop external edits from a mixed proposal. Refuse the operation.
## References
- [Compiler Spec 23](../../../docs/specs/compiler/23.%20Compiler%20Pipeline%20Entry%20Points%20Specification.md).
- [PBS Spec 5](../../../docs/specs/compiler-languages/pbs/5.%20Manifest,%20Stdlib,%20and%20SDK%20Resolution%20Specification.md).
- [PBS Spec 8](../../../docs/specs/compiler-languages/pbs/8.%20Stdlib%20Environment%20Packaging%20and%20Loading%20Specification.md).
- [Studio Spec 11](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
- [Extension guide](../../../tools/vscode-extension/README.md).
- [Historical physical-only policy, LSN-0068](../DSC-0039-pbs-lsp-go-to-definition/LSN-0068-pbs-go-to-definition-uses-editorial-lookup-and-physical-files.md).
- DEC-0031 / LSN-0049 still govern removal of the old embedded editor/VFS; none was restored.
@@ -0,0 +1,178 @@
---
id: LSN-0077
ticket: studio-persistent-mcp-connector
title: Integrated Studio MCP Through Stable Setup and Ephemeral Access
created: 2026-09-29
tags: [studio, mcp, connection, lifecycle, installation]
---
# Integrated Studio MCP: Stable Setup, Ephemeral Access
Owner: **studio**, MCP integration, project lifecycle and local installation.
DSC-0070 / DEC-0061 / PLN-0140 delivered this integration, including the user's
accepted revision for automatic preparation on project open. These identifiers
are historical references; maintained contracts are linked below. Automated
validation and the user's confirmation of final manual acceptance are recorded
separately.
## Original Problem
The original integration exposed a new HTTP port and bearer token on each Studio
restart. Developers had to configure their coding client repeatedly. Ad hoc
transport scripts then duplicated initialization, authentication and result
handling, obscuring native MCP tools and images.
The durable solution separates three lifetimes: installation, connection and
project authority. A stable client registration must not imply durable permission
to edit, and a transport interruption must not replay work.
## Consolidated Design
The distributed Studio artifact supports two modes. Normal invocation opens the
desktop. `StudioLauncher mcp --project <absolute-root>` runs a stdio connector
without JavaFX, Spring desktop composition, LSP or a second HTTP server. The coding
client owns that process; developers do not launch it manually for each project.
The desktop starts one shared loopback HTTP server. Opening a project prepares its
enabled integration automatically through the same neutral port used by scaffold
and the explicit DEV retry. An explicitly disabled integration remains disabled.
Preparation failure is visible in DEV and does not make the project unusable.
Opening a project does not publish credentials or grant control.
The macOS installation has a stable `current` reference pointing to a validated,
versioned distribution containing dependency JARs and Java. The native client
invokes the absolute installed Java path with a classpath/main/project argument
array. Updating the installation changes the reference, not every project's client
entry. Old versions remain available for rollback and existing processes.
The tradeoff is an additional lightweight JVM for stdio transport, plus managed
installation lifecycle. In return, there are no per-project launchers or copied
connector binaries, and execution does not depend on an interactive shell PATH.
## Configuration and Authority Have Different Owners
| Surface | Lifetime and responsibility |
| --- | --- |
| `.studio/setup.json` | Neutral integration intent; preserves runtime/editor settings |
| `.codex/config.toml` | Local installed command, arguments and canonical project binding; no transient credentials |
| `.studio/mcp/connection.json` | Protected, temporary discovery data published by human grant |
| Core grant/task/operation records | In-memory authority and receipts; never restored from configuration |
Preparation edits only a managed client entry, validates the result with a TOML
parser and preserves unrelated settings/comments. User-owned, edited or tracked
entries cause explicit conflicts. Initial client trust or reload may still be
required; Studio does not change approval policy.
Human grant publishes a fresh credential scoped to one canonical project root.
HTTP sessions are bound to that credential, and the server enforces scope even
for knowledge reads. Restricting only the connector would leave a direct HTTP
bypass. Acquisition still creates a separate task identity through shared Core
services.
## Publication Is Part of the Grant Transaction
Publication cannot be a best-effort snapshot listener. The neutral lifecycle port
coordinates preparation, publication, activation, invalidation and cleanup:
1. Save and verify documents under the existing handoff rules.
2. Acquire the OS publication lock and write a private temporary descriptor outside
the authority monitor.
3. Atomically publish, then activate under the grant generation fence. Acquisition
remains unavailable until the transition completes.
4. Abort failed or superseded grants and remove their provisional access.
5. Revoke credentials before asynchronous work cleanup; remove only the owned
publication and release its lock.
The lock file's inode is retained. Deleting it could let another process lock a
new inode while the first owner still holds the old one. The OS releases the lock
after a crash, allowing safe replacement of stale discovery data. Directories are
0700 and secret-bearing files 0600; Git exclusion alone is not access control.
Cleanup checks publication ownership so an old callback cannot delete newer data.
File cleanup failure must not prevent runtime cancellation.
## Reconnect Without Replaying Intent
The stdio connector initializes and lists its packaged catalog before Studio or a
grant is available. It verifies live instance, root and catalog identity before
forwarding. Calls preserve structured results and native image blocks; response
limits are separate from the smaller request limit.
Discovery and ping may be retried. Build and frame advancement must not be
resubmitted automatically after a lost response. Within the same authorized task,
recover by operationId/clientRequestId lookup. After restart, old in-memory
receipts are unavailable: report an unknown outcome and require a fresh grant/task
and an explicit next intent. Connection liveness and working/manual authority are
separate DEV states.
## Implementation Findings
- JSON-RPC numeric IDs must be compared by numeric value. Jackson can represent
the same wire number with different integer node types.
- Grant publication is asynchronous. Tests must await the transition without
blocking the JavaFX thread or assuming a button callback completes filesystem IO.
- `jlink` can generate read-only license files. Normalize staged runtime write
permissions so subsequent Gradle installation updates can replace them.
- An IntelliJ desktop can run from classes without a managed installation. A
generic “preparation incomplete” message hid this prerequisite. The specific
diagnostic now points to `:prometeu-app:stageStudioInstallation` and the optional
`studio.installationRoot` VM setting.
- Preparation belongs to project opening, not only creation or a manual DEV
button. Otherwise existing projects retain unnecessary onboarding friction.
- Capture data larger than 1 MiB must not inherit the request-body cap. The
connector bounds response size and body-read time separately.
## Verified Results and Acceptance
The full implementation gate recorded 839 passing tests, 15 existing skips and no
failures, including installation, desktop and real runtime gates. The later
missing-installation diagnostic and automatic-open revision passed their targeted
preparation, Core, app, architecture and runtime suites. Installation staging,
`git diff --check` and `discussion validate` also passed.
Process tests cover cold initialization, later grant and restart in one connector;
large images; root/session scope; stale identity/catalog rejection; lost build
response with execution count remaining one; unknown old-task receipts; concurrent
publisher JVMs and crash recovery; protected files; grant/close races; TOML
preservation; and stable installed Java across updates.
On 2026-09-29, after being asked specifically about the outstanding manual gates,
the user confirmed that all were finished. This closes the native Codex
acquire/build/image/release and reconnect-after-restart cycle, installation update
and graphical-client launch, and IntelliJ debugger attachment. The provenance of
this final evidence is **user-reported acceptance**, not an additional automated
run or an independently observed transcript. The implementation's automated
environment was macOS ARM64 with bundled Corretto 21.0.4 and Codex CLI 0.158.0
installed; that version inspection alone was not treated as native-client proof.
The prior HTTP-only acceptance from DSC-0068 was not substituted for these gates.
The first accepted integration remains Codex on macOS; other clients/platforms
and the embedded terminal are outside this delivery.
## Operational Example
Open the project in Studio. Its enabled client integration is prepared without a
separate per-project Run. Start the coding client in that project and satisfy its
initial trust/reload requirements. Grant access in DEV, acquire the task through
native tools, edit/validate, then release. After Studio restarts, grant again;
keep the client configuration unchanged. An old task is never restored.
For an IntelliJ desktop, run `p.studio.app.StudioLauncher` with the
`prometeu-app` classpath and Java 21. If a managed installation is missing, stage
it once with `./gradlew :prometeu-app:stageStudioInstallation`. An isolated
installation uses the `studio.installationRoot` desktop VM property. The MCP
stdio process remains client-owned; attach Remote JVM Debug to that process using
an explicit development-only loopback JDWP option. Do not configure the desktop
Run itself with `mcp --project` arguments.
## References
- DEC-0061 and PLN-0140: historical source decision and completed implementation
plan for DSC-0070; removed from active workflow during housekeeping.
- [Studio shell and project creation](../../../docs/specs/studio/1.%20Studio%20Shell%20and%20Workspace%20Layout%20Specification.md).
- [Project-local state and discovery](../../../docs/specs/studio/8.%20Project-Local%20Studio%20State%20Specification.md).
- [Core and adapter architecture](../../../docs/specs/studio/9.%20Studio%20Core%20and%20Adapter%20Architecture%20Specification.md).
- [DEV and authority](../../../docs/specs/studio/10.%20DEV%20and%20Automation%20Specification.md).
- [MCP contract and acceptance boundary](../../../docs/specs/studio/11.%20MCP%20Tools%20and%20Project%20Knowledge%20Contract.md).
- [Setup and IntelliJ debugging](../../../README.md).
- [DSC-0068 baseline lesson](../DSC-0068-studio-headless-runtime-ai-first/LSN-0076-ai-first-studio-through-shared-authority-and-headless-evidence.md).
- DSC-0071: the separate embedded-terminal discussion; unchanged by this work.
@@ -0,0 +1,145 @@
---
id: LSN-0079
ticket: compiler-pbx-registry-conformance
title: Typed common IR through production PBX admission
created: 2026-10-14
tags: [runtime-integration]
---
## Original problem and ownership
Owner: compiler/general; interfaces: compiler/pbs and studio.
The old producer carried parameter/result slot counts without complete semantic
types and emitted a retired PBX function layout. A writer-only repair could not
recover signatures, distinguish nominal identities or describe closures and
trait implementations. The fix had to cross the entire common producer chain.
This lesson consolidates AGD-0076, accepted DEC-0063 and completed PLN-0142
(DSC-0074). Those workflow artifacts were removed by housekeeping after their
normative content and evidence were propagated. The active integration umbrella
is [AGD75](../../workflow/agendas/AGD-0075-studio-runtime-readiness.md).
## Consolidated decisions
Use stable declaration references before assigning deterministic dense image
IDs. Preserve Struct/Trait nominal identity; canonicalize Builtin imports,
Array elements and Fn signatures. Names are descriptive, not nominal keys.
Parameters, results, captures, implementations and lifecycle roles are explicit
common values, preserved through IRVM, optimization and emission.
The common IR remains serializable by design, but a concrete codec was
explicitly deferred. Complete representation does not require selecting a
transport format. References avoid recursive Java object graphs and the public
contract audit rejects mutable or frontend-specific shapes.
PBS is one frontend. Optional and Result already belong to PBS's normative
language contract and have parser/semantic implementations. Defects in their
executable lowering do not justify new backend categories or rejection rules.
Their implementation and carrier choices remain frontend-owned. The user
explicitly scoped consumer migration to subsequent tickets and a single AGD75
integrated delivery. No PBS semantics were added to this backend change.
## Final implementation
- IRRegistry and FunctionMetadata represent all five type categories, ordered
signatures/captures, roles and implementations. Aggregation remaps callable
references while preserving stable type identity.
- LinkedRegistry canonicalizes imports/structural declarations deterministically
with an iterative dependency traversal. Nominal anchors permit recursion;
purely structural cycles reject.
- Lowering derives widths from semantic signatures, links typed operands and
remaps implementation targets. IRVM coherence and optimization preserve the
Registry and function metadata.
- The PBX writer emits the 32-byte header and all eight mandatory sections,
optional debug, strict UTF-8, exact function records and explicit empty capture
environments. Width caches are not serialized. Constant deduplication now
relocates PUSH_CONST indices rather than silently changing their meanings.
- Local verification decodes all function ranges, validates references and
operand categories, forbids retired/raw opcodes and analyzes reachable stack
and type facts to convergence. Conflicts become Unknown; exact semantic groups
retain provenance when available. Unknown remains subject to runtime checks.
- Production loading remains authoritative for native identity/capability/ABI,
runtime budgets and executable admission.
- Studio previously discarded error.details when a headless response rejected
boot. AutomationFailure now preserves the entire runtime error envelope,
including initialization, binding and resource details, through MCP output.
## Examples and pitfalls
A `vec2 -> vec2` function has logical arity one/one and derived slot widths two/two.
The function record writes the two TypeId lists, not the numbers two/two. A test
compares that record with independent fixed bytes from the runtime contract.
A capturing body is not a direct-call target. MAKE_CLOSURE names the body and
expected Fn type, consumes its explicit capture groups and produces a callable.
CALL_CLOSURE consumes that callable after the explicit arguments. The synthetic
frontend test proves this path without PBS source, SDK or language ASTs.
Jumps contain absolute offsets from the current function start. They are not
relative to the next PC. A taken jump to function end is a return boundary;
ordinary fallthrough is invalid. These details were checked against the actual
runtime verifier, not inferred from older emitter behavior.
Do not derive type identity from slot width, spelling or display names. Do not
claim a self-round-trip proves external conformance. Do not treat parser tests
as execution evidence or a load-only argument-taking entry as a boot test.
Initialization diagnostics have null outer executed PC. A verifier PC remains
nested in initError.load.pc; file offsets remain offsets. Preserve the original
JSON structure rather than flattening it into human-readable messages.
## Qualification evidence
Runtime: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`.
Platform: macOS 27.0.1 arm64. Rust harness uses the runtime Cargo.lock, default
load limits and NONE capabilities except the positive native case (SYSTEM).
Resource-negative cases explicitly lower Types, TemporaryBytes or Work.
Runtime checkout remained unchanged.
| Gate | Result |
| --- | --- |
| Build-pipeline suite | 178 tests: 163 passed, 15 skipped, no failures |
| Frontend-api suite | 28 passed |
| PBS suite | 245 passed; not a claim of complete executable migration |
| Headless process suite | 9 passed, including six observed runtime fault payloads |
| Architecture suite | 17 passed |
| Independent binary oracle | Exact 194-byte minimal image and fixed vec2 function bytes |
| Production loader positives | 12 admitted images, including native binding |
| Genuine execution | 11 programs: direct/common path, closures/captures, trait, Array/Dynamic, joins, roles, intrinsic and native; vec2 signature is load-only |
| Production negative corpus | 32 rejected malformed/binding/code/resource fixtures |
| Workflow and patch integrity | discussion validate and git diff --check passed |
The 15 skipped tests are older conditional integration adapters. The dedicated
production harness above ran explicitly; their skip state is not substituted
for runtime evidence. The intrinsic/native catalogue goldens are serialization
fixtures and do not claim current PBS catalogue compatibility.
Reproduce with the commands in
[the harness README](../../../tools/pbx-conformance/README.md). The harness
creates its Cargo build outside the runtime checkout and saves generated PBX and
observed JSON under the build-pipeline build directory.
## Remaining integration work
The runtime LoadReason enum has four values missing from the published headless
schema: LifecycleRole, LifecycleSignature, DuplicateLifecycleRole and
NonFiniteValue. The corpus observes the first and last. Both payloads fail the
original schema solely because of the missing enum value. The harness explicitly
reports this upstream gap, validates the original payload with that single enum
addition, and leaves the payload unchanged. It does not claim those two cases
conform to the unmodified schema. Runtime must correct the schema under AGD75.
PBS typed producer migration, Optional/Result executable lowering, catalogue
alignment, installed runtime delivery, hook selection, memcard gating and
persistence remain with their consumer tickets. The common schema and synthetic
producer work without those features. There is no legacy PBX fallback and no
slot-to-type inference to conceal an incomplete handoff.
## References
- [Typed common Registry/PBX specification](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
- [Backend conformance matrix](../../../docs/specs/compiler/22.%20Backend%20Spec-to-Test%20Conformance%20Matrix.md)
- [Runtime qualification harness](../../../tools/pbx-conformance/README.md)
- Runtime sources: registry_v0.rs, program_image.rs, registry_verifier, and
devtools/headless-protocol/response.schema.json at the revision above.
@@ -0,0 +1,182 @@
---
id: LSN-0080
ticket: compiler-runtime-catalog-parity
title: Manual runtime catalog port and independent conformance
created: 2026-10-15
tags: [runtime-integration]
---
## Original problem and ownership
Owner: `compiler/general`; consumers: `compiler/pbs`, `vm-arch` and `studio`.
This lesson consolidates AGD-0077, accepted DEC-0064 and completed PLN-0143
(DSC-0075), including the user's explicit acceptance revision on 2026-10-15.
Their workflow files were removed after propagation and CLI housekeeping.
The runtime published 105 intrinsics with 18 fields and 15 builtin constants
occupying 16 slots. Studio had 42 intrinsic records with 12 fields, no constant
mirror and a disabled parity test. Copying the CSV could not update the compiler's
manual ABI representation, reject retired endpoints or preserve new effects.
Against the previous Studio catalog, the port added 82 identities, removed 19
and updated 23 retained identities.
## Consolidated decision
The runtime owns identities, layouts, constant values, effects and costs.
Studio imports both CSVs unchanged at an explicit target revision, inventories
the differences, then manually ports the compiler representation and consumers.
`IRVMIntrinsicDefinition` represents the runtime supported by this compiler
version. Normal compilation uses local versioned code/resources; it neither
queries the latest runtime nor depends on a sibling checkout.
Manual maintenance keeps compiler adaptations explicit and reviewable, at the
cost of maintaining a port. Active comparisons against independently exported
CSV data detect drift. Enum generation, a shared implementation library and
moving the backend were not required. An explicit provider check uses runtime
source/tests to establish behavior and export provenance. A different runtime
commit is not itself proof of incompatibility; revision and hashes identify
the evidence target without introducing version negotiation.
Read dispatch, verifier and execution tests as well as CSVs. CSV fields describe
the published shape but cannot explain all null handling, native-reference
validation, traps or charging behavior.
## Final implementation
- `IRVMIntrinsicDefinition` and `IRVMIntrinsicRegistry` cover all 105 entries and
18 published fields. Exact name/version resolution and ID lookup reject
retired identities; old IDs are not compatibility aliases.
- `IRVMBuiltinConstantDefinition` independently groups all 15 constants by
target/name/version, preserving ordered slots and exact values/bits. Its
materialization supplies common bytecode constant values.
- Lowering checks caller counts against the selected definition. IRVM validation,
emission and bytecode precheck reject unknown IDs and inconsistent signature
caches, including unknown IDs in unreachable code. Module-only IRVM emission
derives intrinsic signatures from the same target definitions.
- Explicit carrier mappings distinguish Int32, Int64, Float, Bool, String,
color and Random. Unsupported tokens fail. Static facts do not claim to prove
native handle identity or session validity; the runtime remains authoritative.
- Compiler and PBS SDK JARs package both CSVs and provenance from checked-in
mirrors at `runtime-catalog/compiler/` and `runtime-catalog/pbs-sdk/`.
Installed-resource tests validate actual JAR bytes/hashes outside the checkout.
- Active parity tests, synthetic common-IR behavior and the production runtime
harness provide separate evidence. No new PBS facade or numeric/random
algorithm was implemented in this common backend work.
## Examples and pitfalls
**A retained name can have a different ABI.** `input.touch.x/y` moved to
`0x2134/0x2135`, lost their receivers and return Int64. Resolving the name alone
is insufficient; stale caller counts must fail. Input metadata coverage does
not mean the existing PBS input syntax already lowers to these direct queries.
**Constants are not generic zero-argument intrinsics.** `mathf.pi` and
`mathf.tau` materialize Float bits `0x400921FB54442D18` and
`0x401921FB54442D18`. `vec2.zero` materializes two Float slots and has no
intrinsic ID. Some color names independently have both mechanisms, which does
not establish a rule for other constants. Pool deduplication may share the
zero value but must preserve both emitted vec2 components.
**Determinism is not purity.** All four Random intrinsics mutate guest state;
only `random.new` allocates. The tested common program aliases one generator,
discards a `next` result, then mixes `nextf`, `range` and `next`. Removing the
discarded call changes the sequence. Optimized and unoptimized executions
matched the independent seed-42 vector and each used 100 cycles/20 steps.
`random.range` preserves base cost 4, cost 8 per attempt and limit 64. The VM
performs charging; storing metadata does not create a second Java scheduler.
**Static and dispatch rules can differ.** Runtime `abi_mask` permits String
only for intrinsic String arguments, while `value_matches_abi_type` accepts
String or null in dispatch. The Studio precheck therefore rejects a proven
null at load time. The production loader confirmed that rejection with
`LOAD_INVALID_CODE/TypeMismatch`; a String `#AABBCCDD` executed to color
`0xAABBCCDD`. Random's static reference mask includes null, leaving native
handle validity to runtime checks.
Do not use a serializer of the Java enum as its own expected catalog, infer
carrier identity from slot width, disable stale fixtures to hide regressions,
or equate JAR resource parity with successful PBS or installed-host execution.
## Qualification evidence
Selected runtime: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`, clean checkout.
Host: macOS 27.0.1 arm64; JDK 25 for Studio build and JDK 21 for the installed
launcher. Provider exporter used Cargo test profile/default features; the
production VM harness used dev profile/default features and default load
limits. New catalog fixtures used NONE capabilities. Runtime was not modified.
| Artifact | SHA-256 |
| --- | --- |
| INTRINSICS.csv | `0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa` |
| BUILTIN_CONSTANTS.csv | `e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039` |
| Check | Result |
| --- | --- |
| Build-pipeline suite | 187 tests: 175 passed, 12 existing skips, zero failures |
| PBS suite | 245 passed, zero failures; no claim of executable PBS migration |
| Normal catalog parity | All fields, identities, constant bits/groups and packaged hashes passed |
| Explicit provider check | Committed-source/mirror/hash comparison and real runtime exporter test passed; missing provider failed as required |
| Catalog execution corpus | Random with alias/discarded mutation, exact constants, vec2.zero and String conversion passed on the actual VM |
| Admission/availability negatives | Removed unreachable ID and proven-null String rejected; known input loaded then trapped UNAVAILABLE without hardware |
| Installed catalog gate | Passed using actual compiler/SDK JAR resources and bundled launcher outside the checkout |
| Full installed example gate | Failed before and after the port: missing typed metadata for Gfx.clear; explicit consumer handoff and acceptance revision below |
| Workflow/patch integrity | `discussion validate` and `git diff --check` passed |
The complete existing PBX harness corpus also passed with its already documented
runtime schema exceptions: LifecycleRole and NonFiniteValue remain absent from
the published fault-schema enum. The harness reports these gaps and preserves
payloads; this port does not claim the upstream schema was corrected.
Reproduce the catalog and consumer checks from the repository root:
```sh
./gradlew :prometeu-compiler:prometeu-build-pipeline:test :prometeu-compiler:frontends:prometeu-frontend-pbs:test --console=plain
./gradlew :prometeu-app:installedKnowledgeTest --tests '*installedCompilerAndSdkCarryTheSameVerifiedCatalog' --console=plain
python3 tools/runtime-catalog/verify.py --runtime ../runtime
python3 tools/pbx-conformance/run.py --runtime ../runtime
```
## Accepted boundary and remaining consumer work
The full `:prometeu-app:installedKnowledgeTest` failed with
`LOWER_IRVM_INVALID_TYPED_REGISTRY: typed function metadata required: Gfx.clear`.
The same failure was reproduced on an independent archive of previous Studio
HEAD `bd5694dbdf5b214b4295fc8e01ddbe0ba5479599`; only diagnostic stdout was
enabled in its test probe to reveal the exact existing error.
On 2026-10-15 the user explicitly approved concluding catalog acceptance and
leaving that correction with AGD-0078. DEC-0064 and PLN-0143 recorded this precise
revision before housekeeping: the installed catalog probe is this delivery's
mandatory installed gate; the full example test remains active and failing.
All catalog, common behavior, affected module and provider-execution checks
remain required and passed. No general waiver for future failures was granted.
- AGD-0078 owns PBS typed metadata, existing input/types and vec2 source
materialization. Correct the Gfx.clear producer path and rerun the full
installed example gate; do not weaken the common typed Registry contract.
- AGD-0083 owns math/mathf facades, overloads and source constant exposure.
`PbsExecutableBodyLowerer.emitBuiltinConstFetch` still assumes an intrinsic
with one return; pi/tau require the independent constant materialization path.
- AGD-0084 owns PBS Random handles, storage, aliasing and source replay tests.
Common-IR execution provides a base, not proof of the future PBS facade.
- AGD-0080 owns actual installed-runtime Build/Play/headless qualification.
Catalog resources identify the compiler target without proving that flow.
These handoffs and the explicit acceptance revision are recorded in the active
agendas and [integration umbrella](../../workflow/agendas/AGD-0075-studio-runtime-readiness.md).
Future catalog updates must review source, imports, manual consumers, provenance
and behavior together. Roll back that set together if necessary.
## References
- [Normative catalog support](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Typed common Registry/PBX contract](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
- [VM mirror and provider verification policy](../../../docs/vm-arch/README.md)
- [Production runtime harness](../../../tools/pbx-conformance/README.md)
- Runtime sources at the recorded revision: catalog.rs, builtins.rs,
input_intrinsics.rs, math_intrinsics.rs, random_intrinsics.rs, random.rs,
registry_verifier/{heights,types}.rs and tests/numeric_contract.rs.
Workflow tooling note: the installed CLI registers an existing lesson but has
no lesson-allocation command. LSN-0080 was selected by reading the next counter;
`discussion housekeep` performed all index mutations and counter advancement.
@@ -0,0 +1,83 @@
---
id: LSN-0081
ticket: pbs-existing-types-input-alignment
title: PBS Typed Values and Direct Input Queries
created: 2026-10-15
tags: [compiler/pbs, runtime-integration]
---
## Context and result
Owner: **compiler/pbs**, with shared compiler IR and installed Studio consumer propagation. DSC-0076 (AGD-0078, accepted DEC-0065, completed PLN-0144) aligned existing PBS values and input with the published runtime. The original object chain exposed intermediate input objects that had no useful runtime representation. PBS also omitted exact executable function metadata, causing the full installed example to fail at `Gfx.clear` under the shared typed registry validator.
The delivered implementation replaces those chains, produces typed function metadata, preserves complete value groups, and passes both actual-runtime execution and the full installed knowledge gate. The completed agenda, decision and plan were removed through framework housekeeping; this lesson preserves their implementation evidence.
## Public selectors and direct runtime endpoints
Use a nominal selector value and a public query:
```pbs
let button = Button.A;
let pressed = Pad.pressed(button);
let frames: long = Pad.hold(button);
let x: long = Touch.x();
```
`Button` has twelve cases: Up, Down, Left, Right, A, B, X, Y, L, R, Start, Select. The four Pad operations are pressed, released, down and hold. Each public function dispatches through an exhaustive enum switch to one of the 48 zero-argument LowPad endpoints. For example, `Pad.pressed(Button.A)` reaches `LowPad.a_pressed()`, bound to `input.pad.a.pressed`. The selector is evaluated once and only the selected endpoint reads input. Obtaining or passing a Button has no input effect. Constant specialization is unnecessary for correctness.
Touch exposes pressed/released/down as Bool and hold/x/y as Int64. The implementation uses existing runtime endpoints, with no ABI or lifecycle redesign. `Input.pad().a()` and aliases of its intermediate object are removed; import diagnostics explain the replacement. Strings, integers and unrelated enums cannot substitute for Button. The source type remains nominal even though its executable carrier is Int32.
## Exact values must survive frontend lowering
The explicitly accepted integer mapping is `int` to Int32 and `long` to Int64. Integer literals default to int; an explicit long context admits Int64 literals. Conversions use existing `as` syntax. Variables of different numeric widths require explicit conversion. Pad.hold and Touch.hold/x/y therefore return long.
`PbsRuntimeTypes` connects source types and declarations to canonical registry types and exact parameter/result groups. Callable lookup includes arity so overloaded SDK functions do not overwrite each other's signatures. Existing unsupported source types retain their previous executable boundary; shared strict metadata validation was not relaxed to admit them.
Locals, parameters, calls and returns carry whole groups: vec2 uses two Float slots and pixel uses two Int64 coordinates plus color. Slot count alone never establishes type identity. Builtin constants are resolved through the shared constant catalog: vec2.zero materializes two Float zero values, without inventing a one-result intrinsic. The backend validates the declared group width against the catalog materialization.
Named application first evaluates expressions in source order, stores their complete groups, and then loads those values in parameter order. The runtime proof calls `combine apply (y: Probe.y(), x: Probe.x())`: effects record Y then X while combine receives x then y. Its final oracle is 211020.
## Qualification evidence
Qualification date: 2026-10-15; platform: Darwin arm64. Studio base revision: `603ed012272b137361ba618f6887f015f7317803` plus this delivery's working-tree changes. Runtime revision: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`. The runtime checkout was not modified. Default Gradle configuration; controlled input and no-platform configurations in the real runtime harness.
```sh
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-compiler:prometeu-frontend-api:test :prometeu-lsp:prometeu-lsp-v1:test :prometeu-app:installedKnowledgeTest --console=plain
CARGO_TARGET_DIR=/tmp/pln144-cargo-target python3 tools/pbx-conformance/run.py --runtime ../runtime
git diff --check
discussion validate
```
| Suite | Passed | Existing skips | Failures/errors |
| --- | ---: | ---: | ---: |
| PBS frontend | 246 | 0 | 0 |
| Build pipeline | 179 | 12 | 0 |
| Frontend API | 28 | 0 | 0 |
| LSP | 38 | 1 | 0 |
| Full installed knowledge | 2 | 0 | 0 |
`PbsRuntimeAlignmentTest` generates 114 PBX programs through the production compiler, lowerer, emitter and preload verifier. The actual runtime harness loads and executes all of them:
- 48 Pad combinations using a local Button passed through a typed function, plus 48 direct constant combinations; controlled input asserts the exact returned value and exactly one selected read.
- All six Touch queries, including signed x/y values. All 102 input programs are also executed without a platform and must trap with TRAP_UNAVAILABLE.
- Twelve value/fault programs cover Int32, Int64, Float, String, color, vec2, pixel, tuple returns, named evaluation order, Int32 wrapping, checked narrowing and division by zero. Bool is covered by input queries. Registry default layouts are checked for all eight existing canonical value types.
Frontend negatives cover invalid Button arguments, mixed int/long variables, literal overflow and migration diagnostics. Existing shared tests continue to cover wrong typed signatures, stale touch signatures, unreachable removed IDs, and lifecycle assembly. The original full installed failure at `Gfx.clear` is fixed. This does not claim completion of the separate Studio desktop integration agenda. Existing upstream fault-schema gaps (LifecycleRole/NonFiniteValue) remain explicitly reported by the shared harness, without suppressing this delivery's oracles.
## Pitfalls and reusable patterns
- A dotted builtin target is already a complete catalog name: use `input.pad.a.pressed`, not a partial `a.pressed` that silently loses its owner.
- A numeric literal's context must reach calls, returns and constructors; parsing an integer into a wide host value is insufficient to give it an Int64 guest type.
- Handle the signed minimum literal before rejecting its positive magnitude. A positive value above Int64 maximum must produce a diagnostic, not become zero.
- Preserve catalog overflow behavior: Int32 addition wraps; out-of-range narrowing traps with TRAP_NUMERIC_RANGE. Do not assume all numeric operations trap on overflow.
- A switch can omit its final comparison only when exhaustive coverage is proven. Non-exhaustive statement switches must not execute an unmatched final arm.
- A catalog or structural test alone cannot prove a frontend consumer. Generate PBS programs, run the real VM, and keep the full installed example as an independent gate.
- Publish the focused canonical spec in installed knowledge as well as in the checkout. SDK exports, diagnostics, language services and examples must migrate together.
## References
- [Normative PBS input and existing-value contract](../../../docs/specs/compiler-languages/pbs/18.%20Input%20and%20Existing%20Type%20Runtime%20Alignment%20Specification.md)
- [Shared runtime catalog contract](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Typed registry and PBX contract](../../../docs/specs/compiler/25.%20Typed%20Registry%20and%20PBX%20v0%20Specification.md)
- [PBS source-to-PBX qualification](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeAlignmentTest.java)
- [Actual-runtime harness instructions](../../../tools/pbx-conformance/README.md)
@@ -0,0 +1,85 @@
---
id: LSN-0082
ticket: packer-runtime-graphics-conformance
title: Packer Contracts and CI Failure Evidence
created: 2026-10-16
tags: [packer, studio, testing, jenkins]
---
# Packer Contracts and CI Failure Evidence
## Original problem and scope
A broad runtime-readiness audit suggested graphics integration qualification,
but historical review did not establish a new asset format migration. Existing
Studio work already covered RGBA8888, scene identity and variable palettes.
The actual opportunity was to strengthen producer-boundary evidence and ensure
CI preserved useful results when tests failed.
Owner: packer; transverse owner: Studio Gradle/Jenkins infrastructure. The user
explicitly excluded runtime provisioning in Jenkins and all new automated
runtime tests, including local ones. Existing games remain the manual integrated
verification method. This lesson does not claim those games were run.
## Consolidated decision and implementation
The packer's ordinary Java/JUnit suite now checks complete serialized GLYPH
payloads for tile sizes 8/16/32 and palette counts 1/3/64, using independently
authored hex expectations. Alpha, ordinary index zero and high-first nibble
order are compared as bytes. A complete four-layer SCENE fixture covers
little-endian identity, parallax, flags/flips and decoded-size accounting.
An out-of-range palette cannot publish a new artifact.
A mixed-asset test reads the embedded header of assets.pa, checks sidecar
agreement and proves that all payload slices cover the file contiguously.
Two GLYPH preloads use slots 0/1 while SCENE uses its own slot 0; a fourth
asset is deliberately not preloaded. AssetId 16909060 remains the scene's
cold dependency even though the glyph preload slot is 1. These identities
must not be conflated.
Jenkins now uses the repository wrapper, headless JVMs and a separate clean
stage. Verification uses --continue: independent tests and reports complete,
but Gradle still fails on test failure. Unconditional post handling isolates
JUnit, coverage, HTML and archive publishers. Missing evidence after a successful
verification is an error; failed preparation does not publish old reports.
Existing coverage thresholds and their UNSTABLE policy remain unchanged.
No production writer change was necessary.
## Evidence and limits
Studio base: 13c0ababbb0ff8623eb4df671729a891788b1ab1. Contract reference:
runtime f7d7c167531bb662a1af9d73fc326bb476bf8aa7. Validation on 2026-10-16:
- Packer suite: 119 tests passed, zero skips; five new contract cases included.
- Ordinary headless repository run: 897 tests, two failures, 13 existing skips.
Consolidated JaCoCo XML and HTML were generated despite test failure.
- Failures in unchanged files: PbsGradleDependencyAllowlistTest rejects the
existing build-pipeline testImplementation PBS dependency; McpContractTest
rejects an existing tool exampleArguments contract. The complete repository
test gate is not green; these failures were not suppressed by this change.
- Groovy 4.0.29 parsed the Jenkinsfile. Seven local step-double scenarios passed:
success, test failure, publisher failure, missing contract report, absent
reports on success/failure and clean failure. This does not validate actual
controller plugins or constitute a Jenkins job run.
- git diff --check and discussion validate passed.
No runtime invocation, automated frame comparison or manual gameplay was
performed. Producer bytes passing these assertions do not prove live loading
or presentation. Report manual game/revision/actions/results only after play.
## Pitfalls
- Deriving expected bytes through the production writer makes an oracle circular.
- Checking only exported JSON misses corruption in the embedded artifact header.
- Publishing reports only after a successful shell step hides failure diagnostics.
- Allowing empty reports on successful verification can turn absent execution into
apparent success. Allow absence only when the build already failed.
- A broad contract corpus is not a reason to duplicate existing tests or port a
runtime decoder into Java. Keep checks at the producer's actual output boundary.
## References
- [Fixture interpretation and commands](../../../prometeu-packer/prometeu-packer-v1/src/test/resources/fixtures/contracts/README.md).
- [CI commands and failure behavior](../../../files/config/README.md).
- [Build artifact specification](../../../docs/specs/packer/4.%20Build%20Artifacts%20and%20Deterministic%20Packing%20Specification.md).
- Completed workflow provenance: AGD-0079, DEC-0066, PLN-0145 (housekept after implementation).
@@ -0,0 +1,70 @@
---
id: LSN-0083
ticket: pbs-typed-collections-and-dynamic
title: PBS Arrays Optional and Contract Execution
created: 2026-10-16
tags: [compiler/pbs, runtime-integration]
---
# PBS arrays, optional values and contract execution
Owner: compiler/pbs. This lesson consolidates accepted DEC-0067 and completed PLN-0146 (DSC-0079). The [typed arrays specification](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md) is the normative reference; the [implementation evidence](../../evidence/DSC-0079-implementation/README.md) records the tested tree and commands.
## The original problem
Games need to reserve enemy positions before constructing enemies. Filling storage with fabricated objects or treating numeric zero as absence gives the wrong semantics. The runtime already offered Array, Dynamic, Struct and Trait, but their existence did not make PBS source executable: optional lowering, struct construction/fields and contract dispatch were incomplete.
The solution separates static source types, optional presence and physical storage. It also completes the existing struct/contract execution path instead of deferring it to closure work.
## The resulting source contract
```pbs
let enemies: array<Enemy> = new array(10);
let groups: array<array<Enemy>> = new array(3);
let scores: array<int> = [10, 20, 30];
if let enemy = enemies[1] {
enemy.takeDamage(10);
}
enemies.clear(1);
```
Arrays have fixed length, shared reference identity and invariant element/depth types. Allocation initializes only outer positions to empty; it does not create enemies or nested arrays. Following DSC-0088, explicit `new array<T>(n)` supplies its own type; `new array<>(n)`, `new array(n)` and every array literal require an expected array type. Nesting uses `array<array<T>>`; compiler structural limits prevent unbounded expansion. Length and indices accept int/long without loss, with the promotion confined to these operations.
Reads return optional T. A vacant position is none, zero is present, and an invalid index faults. `if let` evaluates once and binds only in the success block. Optional fallback is lazy. Optional values, tuples, fields, parameters and results preserve complete groups. Optional array elements are rejected; an optional array itself is valid. PBS gains neither public Dynamic nor public null.
## How the implementation works
Array positions use internal Array<Dynamic>. Single-slot values are packed directly, while native multi-slot values use the runtime's immutable Dynamic boxing. A null Dynamic tag marks vacancy. Checking DYN_CAN_UNPACK alone is incorrect because a null carrier can be compatible with nullable types such as strings or references.
Private nullable Struct carriers represent optional values. None is null; some owns a carrier holding the complete payload. Named tuples are flattened across callable boundaries and privately boxed for storage. Tuple labels remain editorial metadata rather than changing compatible storage identity. Nominal struct and contract identities include declaration provenance, preventing unrelated modules from sharing a type merely because their names match.
The compiler emits actual struct allocations, field loads/stores, constructors, typed receivers, contract adapters and CALL_TRAIT. It selects overloads using parameter and result shapes and substitutes Self consistently in semantics and executable metadata. Imported calls retain their module identity. Services have a private singleton accessor so imports share the provider's instance.
Global initializers run through the file-init path in dependency order. This matters for reserved arrays: a source declaration must create storage before subsequent code uses it. Grouped global values use private carriers rather than losing slots.
## Lessons from failures found during implementation
- **VM availability is not frontend support.** A parser accepting an expression, or an assembly probe passing, says nothing about complete source lowering.
- **Presence and compatibility are different questions.** Test the Dynamic tag before unpacking; do not turn type or bounds faults into absence.
- **Global defaults are not nullable defaults.** VM global slots initially contain Int32 zero. The service singleton guard must recognize that initial state before publishing a reference.
- **A tuple is not just its first slot.** Optional extraction, field storage and callable transport must agree on full layouts. Tuples stored in private carriers must be flattened again when read.
- **Arity is insufficient for overloads.** Preserve input/output shape, Self substitution and module identity. Choosing a method by name and arity silently changes program meaning.
- **Lexical scope also exists during lowering.** Restore slot/type/owner/projection bindings after blocks and if-let branches; semantic scope checks alone do not preserve shadowed runtime locals.
- **Generated tests must be mandatory.** A runtime harness that scans only available files can pass while a producer stopped generating required fixtures. The structured corpus names every required case.
## Verified result and boundaries
The final gates executed 500 tests without failures; 13 pre-existing disabled tests are listed in the evidence. All 27 new PBS-to-production-PBX cases and 18 resource-refusal runs passed the real loader/VM, alongside 114 existing PBS fixtures and the common backend/catalog corpus. The integer-array case succeeds with one handle total. The GC case reclaims at least 1,100 discarded objects while preserving referenced objects, tuples and strings.
The GC safepoint is provided by an explicit test-only driver hook; it does not claim PBS sync/closure delivery. Default runtime quotas and GC thresholds were not relaxed. Two pre-existing upstream JSON-schema enum gaps remain explicitly reported by the existing harness. No installed-game qualification or performance claim is inferred from these results.
The installed knowledge package includes the specification and an executable [array example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/arrays.pbs). SDK collections continue in AGD89, closures in AGD82, and installed reference-game qualification in AGD88.
## Implementation references
- [Source conformance tests](../../../prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsStructuredValuesTest.java)
- [Runtime harness and reproduction instructions](../../../tools/pbx-conformance/README.md)
- [Static semantics](../../../docs/specs/compiler-languages/pbs/4.%20Static%20Semantics%20Specification.md)
- [Dynamic semantics](../../../docs/specs/compiler-languages/pbs/9.%20Dynamic%20Semantics%20Specification.md)
- [Earlier typed common IR/PBX lesson](../DSC-0074-compiler-pbx-registry-conformance/LSN-0079-typed-common-ir-to-production-pbx.md)
@@ -0,0 +1,113 @@
---
id: LSN-0084
ticket: pbs-closures-and-indirect-calls
title: PBS Function Values and Explicit Captures
created: 2026-10-17
tags: [compiler, pbs, runtime-integration]
---
## Context
Owner: `compiler/pbs`. PBS needed functions usable as ordinary values for game
logic and agent-authored programs. Its nominal callback declarations and bind
model did not provide the chosen structural function surface. Runtime support
for closures already existed; source typing, lowering, tooling and executable
integration still had to be delivered together.
The accepted DEC-0068 was implemented through PLN-0147. Both are completed
workflow artifacts; this lesson preserves their durable rationale and outcome.
## Consolidated decision
`Fn(int) -> int` identifies the ordered parameter/result types. Named functions
and lambdas with that signature can be assigned, passed, returned and stored.
Calls use ordinary parentheses. Overloaded function identifiers need an expected
signature that selects exactly one target.
Lambdas use `fn [captures](name: Type) -> Return { ... }`. Captures, parameter
annotations, result annotation and block are explicit, including empty `[]`.
This makes dependencies visible to both programmers and code-generating agents.
The cost is deliberate verbosity; implicit capture and expression-body shorthand
are not alternative forms.
Captures snapshot values at creation. Captured bindings cannot be reassigned,
even when their source bindings were mutable. Capturing an object reference
preserves object identity and permitted field mutation. Shared state therefore
uses explicit objects instead of hidden shared lexical cells.
```pbs
declare struct Counter(pub mut value: int);
fn createCounter() -> Fn() -> int {
let counter = new Counter(0);
return fn [counter]() -> int {
counter.value += 1;
return counter.value;
};
}
```
Each factory call creates independent state. Two closures capturing the same
counter intentionally share state. Arrays use `array<(Fn() -> int)>` and existing
optional-read rules. Methods become function values through explicit lambdas
capturing their receiver. The old `declare callback`, callback barrel exports
and `bind(context, function)` are rejected.
## Objects and frames
A closure is a managed object with the same reachability lifecycle as other
objects. Returning from its creator does not destroy it. Globals, arrays, fields
and other captures can retain it across frames. GC traces its environment and
collects unreachable closures and objects.
An invocation completes within its frame. Keeping a closure alive across frames
does not suspend an invocation. PBS has no coroutine or sync syntax. The frontend
already publishes FRAME_ROOT; the existing lifecycle assembler supplies the
guarded wrapper and its return. Reuse that integration rather than introducing
a new loop or frame-ending operation for closures.
## Implementation
The AST and type parser represent structural Fn inputs/results and explicit
lambda captures. Semantic analysis creates an isolated capture/parameter scope,
checks returns and signatures, and rejects uncaptured outer locals. Editor
traversal uses lambda scopes so references, rename and completion preserve
binding identity.
Lowering registers deterministic generated functions and ordered typed capture
metadata. MAKE_CLOSURE creates values, GET_CAPTURE reads environments, and
CALL_CLOSURE invokes the expected signature. Named functions use empty capture
lists. Captures do not become public parameters. Existing common IR/PBX registry
and runtime contracts supply the execution machinery without production changes
to frame assembly or runtime authority.
Complete logical groups must survive capture and return: a tuple or contract
receiver cannot be treated as one slot simply because its containing closure
occupies one slot. Imported functions retain provider callable identity.
## Validation and pitfalls
The production VM executes nine closure programs returning 42 and six allocation
quota/ownership cases. A separate fixture uses the real lifecycle wrapper for
three frames: a stored closure and captured object survive the first collection,
execute in the next frame, then become collectible after their root is cleared.
Each frame discards another 1,200 closures. This proves both retention and release.
The final Gradle gates execute 513 tests without failures; 13 existing disabled
tests and two existing runtime JSON-schema enum gaps are recorded explicitly.
Installed knowledge includes the owner specification and a compiled example.
Common mistakes to avoid:
- Treating frame completion as destruction of all closure objects.
- Adding coroutine/sync machinery merely to retain a function value.
- Capturing a mutable local as a hidden shared cell instead of a snapshot.
- Deep-copying captured objects and losing intended shared identity.
- Testing only opcode emission while missing runtime roots, imports or full groups.
- Leaving editor visitors or installed examples on the retired callback model.
## References
- [Normative function and capture specification](../../../docs/specs/compiler-languages/pbs/15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
- [Implementation evidence and reproducible commands](../../evidence/DSC-0080-implementation/README.md).
- [Production VM conformance harness](../../../tools/pbx-conformance/README.md).
- [Executable installed example](../../../prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/closures.pbs).
@@ -0,0 +1,160 @@
---
id: LSN-0085
ticket: pbs-runtime-math-integration
title: Service constants and source-to-runtime math conformance
created: 2026-10-17
tags: [runtime-integration]
---
## Original problem and ownership
Owner: compiler/pbs. Supporting contract: compiler/general; runtime numeric
semantics remain owned by the VM. This lesson consolidates accepted DEC-0069
and implemented PLN-0148 from AGD-0083 / DSC-0081.
The common compiler already represented all runtime math identities and canonical
constants. That did not make them usable from PBS source. The remaining work was
service syntax, exact overload resolution, SDK publication, constant reads and
source-to-production execution evidence.
## Consolidated decision
The user explicitly chose services themselves as namespaces. Services export
constants alongside methods; there is no separate namespace declaration or new
numeric builtin type. The same capability applies to project and SDK services.
`math` exposes exact int/long overloads and `mathf` exposes Float functions.
Conversions between numeric carriers are explicit. The compiler consumes its
existing manually ported, independently checked common catalog. It does not query
a runtime checkout during normal compilation or duplicate the VM's math backend.
Pi and tau use canonical builtin constant materialization, not zero-argument
intrinsics. Mathematical calls retain their faults and costs even with literal
arguments. Qualification must start with source and compare exact bits, faults
and cycles on a named runtime build.
## Final implementation
The service AST retains constant declarations with their owner. Parser, declaration
checks, dependency/cycle validation, type resolution, lowering and editor member
surfaces carry them through. Constants are immutable, exported with their service,
and available through qualified reads and import aliases. Within the owner, a
constant reference takes precedence over a same-named global; locals retain their
normal lexical precedence. Explicit long annotations contextually type integer
constant literals, without converting references to already typed int constants.
SDK services at `@sdk:math` and `@sdk:mathf` bind their 26 exact signatures through
reserved IntrinsicCall metadata. Each generated callable loads its declared
arguments, calls the common catalog identity and returns. Consequently its normal
CALL/GET_LOCAL/RET overhead is distinct from the intrinsic's own charge. Imports
with aliases resolve to the original provider callable identity.
BuiltinConst metadata on service constants records the qualified source name.
The existing BUILTIN_CONST instruction materializes `IRVMBuiltinConstantDefinition`.
Pi and tau retain bits `0x400921FB54442D18` and `0x401921FB54442D18`. A qualified
constant read does not construct a singleton or call a getter. Constant-only
probes cost six cycles: an ordinary load plus the root return.
```pbs
import { math } from @sdk:math;
import { mathf as numbers } from @sdk:mathf;
fn example(counter: long, angle: float) -> float {
let bounded = math.clamp(counter, 0 as long, 100 as long);
return math.to_float(bounded) + numbers.sin(angle) + numbers.pi;
}
```
General service constants use ordinary source expressions:
```pbs
declare service Settings {
declare const base: int = 40;
declare const answer: int = base + 2;
fn read() -> int { return answer; }
}
```
## Qualification and reproducibility
Runtime revision: `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`, unchanged clean checkout.
Platform: macOS 27.0.1 arm64. Production harness profiles: dev and release;
VM feature: resource-diagnostics, default load limits, NONE capabilities for math.
Java build uses JDK 25; installed launcher uses the existing distribution runtime.
The corpus contains 261 independent numeric cases, emitted both normally and with
the PBS/common optimizer enabled: 522 mandatory cases in each runtime profile.
It combines the first 240 scalar provider fixture rows with exact published
contract examples, removing duplicates. It covers all 26 signatures, signed zeros,
subnormals, finite extrema, checked conversions, ties-to-even, invalid clamp,
negative sqrt, abs(MIN) and atan2 axes. Additional probes cover pi/tau, direct
literal sin, ordinary int/long constants, dependencies and a real project with
SDK imports, service aliases and exported project constants.
Every numeric case checks the selected intrinsic identity, exactly one retained
call, exact result bits or fault code, and per-instruction charging. Numeric costs
come from independent fixture rows; other instruction costs come from the provider
ISA contract. A full-budget execution must charge the sum of those steps.
Optimized and unoptimized versions must charge identical totals.
| Gate | Result |
| --- | --- |
| PBS frontend suite | 249 tests passed |
| Common backend suite | 175 passed, 12 pre-existing skips |
| Selected architecture/source suites | Math, existing values/input, structured values and closures passed |
| Installed knowledge | Both gates passed; packaged example imports math and aliased mathf |
| Complete production harness | Passed in dev and release, including 522 math vectors per profile |
| Workflow and patch integrity | discussion validate and git diff --check passed |
| Evidence artifact | SHA-256 |
| --- | --- |
| Runtime Cargo.lock | cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795 |
| INTRINSICS.csv | 0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa |
| BUILTIN_CONSTANTS.csv | e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039 |
| Provider numeric-conformance.tsv | 5536ee18cadaf32e3719b0e8d541dfcf1a84a49ea978a702101547c5ccdee3fe |
| Consumer numeric-source.tsv | 95067131dbc7a4252352424ee52f4b9215c8d8ecd80124218a38819211ff7ccb |
Reproduce from the Studio root:
```sh
./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-compiler:prometeu-build-pipeline:test
./gradlew :prometeu-architecture-tests:test --tests '*PbsRuntimeMathTest' --tests '*PbsRuntimeAlignmentTest' --tests '*PbsStructuredValuesTest' --tests '*PbsClosuresTest'
./gradlew :prometeu-app:installedKnowledgeTest
python3 tools/pbx-conformance/run.py --runtime ../runtime
python3 tools/pbx-conformance/run.py --runtime ../runtime --release
```
Optional CARGO_TARGET_DIR can preserve harness compilation artifacts in a temporary
directory. The script never writes to the runtime checkout. Use --math-only for
the complete math subset; it still rejects missing mandatory math fixtures.
Qualification on macOS/x86_64 and Linux/x86_64 remains pending. This delivery does
not qualify those hosts, installed-runtime deployment or a complete reference game.
The existing provider schema gaps for LifecycleRole and NonFiniteValue remain
explicitly reported by the full harness; original payloads are preserved.
## Pitfalls and maintenance
- Catalog parity is not source integration. Test the facade, imports, overloads,
actual emission and production VM together.
- Constants are not nullary intrinsics. Preserve their canonical bits and ordinary
load costs independently of method binding.
- A service alias changes source spelling, not the provider callable identity.
- Preserve constant ownership during expansion. Caller locals/globals must not
accidentally change the lexical meaning of a constant's initializer.
- Float equality hides the sign of zero. Conformance must compare raw bits.
- Intrinsic costs exclude wrapper and argument-producing instructions. Charge and
compare the complete program without treating virtual cycles as CPU timings.
- Extend the corpus and its mandatory count together. Never silently skip absent
fixtures, accept host tolerances, or replace provider oracles with compiler output.
## References
- [Service constants and runtime math specification](../../../docs/specs/compiler-languages/pbs/19.%20Service%20Constants%20and%20Runtime%20Math%20Specification.md)
- [Runtime catalog policy](../../../docs/specs/compiler/24.%20Runtime%20Catalog%20Support%20Specification.md)
- [Production harness](../../../tools/pbx-conformance/README.md)
- [Catalog-port lesson](../DSC-0075-compiler-runtime-catalog-parity/LSN-0080-manual-runtime-catalog-port-and-conformance.md)
- Historical execution artifacts: DEC-0069 and PLN-0148, removed by CLI housekeeping after completion.
Tooling note: the CLI has no lesson-allocation command. LSN-0085 was selected from
the next counter; CLI housekeeping registers the lesson and advances that counter.
@@ -0,0 +1,161 @@
---
id: LSN-0086
ticket: pbs-runtime-random-integration
title: Explicit Random handles and source-to-runtime conformance
created: 2026-10-17
tags: [runtime-integration]
---
## Original problem and ownership
Owner: `compiler/pbs`; supporting integration: `compiler/general`. This lesson
consolidates AGD-0084, accepted DEC-0070 and completed PLN-0149 of DSC-0082.
The user accepted the direction and authorized plan generation and implementation.
The workflow scaffolding is removed by housekeeping; the normative PBS contract
is [Runtime Random Integration](../../../docs/specs/compiler-languages/pbs/20.%20Runtime%20Random%20Integration%20Specification.md).
The common catalog already contained all four Random entries, with a synthetic
IR test of mutation and aliasing. That did not establish a usable PBS SDK or
prove source evaluation, typed storage, imports and captures. A deterministic
operation can still mutate state: the same seed is not permission to fold or
eliminate a call.
## Consolidated decision
Expose an explicit opaque `Random` handle and `random.new/next/nextf/range`.
Use the runtime's exact signatures, single-slot BuiltinId 0x0016 and catalog
metadata. All operations mutate guest state; only new allocates. Do not add an
implicit global generator, duplicate algorithm or compiler-side billing engine.
Copies alias the same generator. Two allocations with the same seed begin with
equal sequences and evolve independently. Source order, named-argument effects
and discarded calls must survive lowering and optimization. Handle identity must
survive locals, globals, fields, arrays, parameters, results, captures and private
Dynamic storage. The runtime remains authoritative for faults, transactional
mutation, resources and cycles. No game seed policy or replay serialization API
is introduced.
## Final implementation
Game SDK 1 publishes `Random` and `random` from `@sdk:random`, with normal import
aliases and reserved metadata bindings. PBS registers Random as the existing
runtime builtin. The parser accepts `new` in callable/member positions so the
published spelling is `random.new(seed)`. It still distinguishes source allocation
expressions, and rejects `new Random()`.
Fieldless builtins are treated as opaque by the semantic model. Exact contextual
types prevent returning a Random reference as an unrelated Struct or contract;
explicit contract adaptation is rejected too. Existing member checks reject
payload access. The discovered return-path gap is now a frontend diagnostic,
not a later backend stack/Registry error.
Existing array, optional, struct and closure lowering already preserves reference
identity, so no second storage representation or common backend algorithm was
needed. Common catalog tests and runtime execution verify the inherited effects
and costs. The reference model remains language-neutral.
```pbs
import { Random, random } from @sdk:random;
fn sample() -> long {
let generator: Random = random.new(42 as long);
let alias = generator;
random.next(generator); // discarded result still advances shared state
return random.range(alias, 0 as long, 100 as long);
}
```
The four operations use long/Float carriers exactly. `nextf` returns `[0,1)`;
`range` returns `[min,max)` and requires `min < max`. Intrinsic costs are 32, 8,
12 and `4 + 8*N` respectively. Range accepts at most 64 attempted words: attempt
64 can succeed, while rejecting all 64 faults and rolls state back without
refunding 516 charged cycles. Explicit source conversions and ordinary bytecode
instructions have separate costs.
## Source evidence and provider evidence
`PbsRuntimeRandomTest` compiles the packaged SDK and project declarations through
production linking, common lowering, optimization and PBX emission. A dedicated
fixture uses the real workspace builder, import aliases and lifecycle assembler.
The focused callable driver explicitly calls file initialization before Probe.main;
it does not replace or introduce a lifecycle feature.
The 48 provider oracle rows cover six seeds and eight draws. Projecting both
integer and Float outputs, with optimization off/on, produces 192 fixtures.
Another 30 source fixtures cover aliases, independent objects, mixed/discarded
operations, named/positional effects, storage/captures, limits, faults and GC. Four
controlled provider fixtures cover null and typed-null carriers. Together with real
imports this is **223 source fixtures plus four controlled provider fixtures**.
The DEC-0073 follow-up requalified this revised corpus in the dev profile; the
original debug/release evidence below describes the earlier source corpus.
Each of the 226 callable fixtures executes with single-step budgets and twice
with full budgets to compare exact bits/faults, call charges and total cycles.
The runner checks oracle byte equality against the selected runtime.
The GC fixture reuses the established test-only FRAME_SYNC marker mechanism.
All allocations and accesses are PBS source. After at least 1,100 discarded
Random objects are reclaimed, array, field and closure roots still draw the
expected shared sequence. The source corpus also exercises a genuine rejected
PCG word followed by acceptance, charging range 20 cycles.
PBS has no public null or Dynamic type. Following the explicit DEC-0073
clarification, every completing constructor path initializes every field. Null
coverage uses a controlled provider fixture: compile a fully initialized Random
field, then suppress its unique field store in test bytecode to exercise the provider
reference default.
Storing it in a typed array preserves a present Dynamic tag and exact TypeId;
extracting it then drawing traps NULL_REFERENCE. This must not be confused with
an empty array slot. Existing global-initializer restrictions are unchanged.
Provider evidence is separate: 13 guest contract tests and 11 private Random
engine/VM tests passed in both debug and release. Those prove synthetic
64th-attempt success, capped rejection rollback, malformed carriers, fault
precedence, resource refusal, exact Dynamic types, stale handles, reset and
native provenance. They are not described as PBS-produced rare-path execution.
## Validation and limits
The [evidence record](evidence.json) pins source/catalog/oracle/lockfile hashes,
commands, toolchains, profiles and suite counts. Executed on macOS arm64 with
runtime `f7d7c167531bb662a1af9d73fc326bb476bf8aa7`.
- Java: frontend 249 passed; architecture 63 passed; common pipeline 175 passed
with 12 existing skips; installed knowledge 2 passed. Total: 489 passed.
- Full production-loader conformance harness passed in debug and release,
including all 227 Random fixtures and existing math/input/Registry/collection
and closure suites.
- Runtime provider Random suites: 13 contract + 11 private tests per profile.
- Catalog copies and provider exporter matched; workflow and diff validation passed.
Qualification covers the local target only. Other platforms and the reference
game's corpus are not claimed. The full harness retains the pre-existing,
explicitly reported runtime fault-schema gaps for LifecycleRole and NonFiniteValue;
this work neither changes nor hides them. Installed knowledge validates packaged
SDK/spec/example delivery, not execution through an installed runtime process.
## Pitfalls and maintenance
1. Do not confuse deterministic with pure. Eliminating a discarded draw changes
every subsequent result; eliminating discarded new also changes allocation.
2. Do not duplicate the RNG in Java to prove Java output. Keep independent provider
vectors and execute generated PBX on the VM.
3. Do not use interface-module validation for arbitrary project code. The tests
compile SDK metadata separately and link trusted declarations into project source.
4. Do not use a runtime carrier's physical HeapRef shape as permission for a
Struct/contract adaptation. Exact source and Registry identities matter.
5. Distinguish present typed null from absent Dynamic. Check the tag before unpacking.
6. Keep new fixture families separate from older enumerated corpora; the old
eight-type input suite must not accidentally count Random fixtures.
7. Record fingerprints and distinguish provider rare-path proofs from source
tests. A passing synthetic common-IR test is not a source integration claim.
## References
- [PBS Random specification](../../../docs/specs/compiler-languages/pbs/20.%20Runtime%20Random%20Integration%20Specification.md).
- [Typed arrays and optional execution](../../../docs/specs/compiler-languages/pbs/14.%20Typed%20Arrays%20and%20Optional%20Execution%20Specification.md).
- [Functions and captures](../../../docs/specs/compiler-languages/pbs/15.%20First-Class%20Functions%20and%20Captures%20Specification.md).
- [Conformance commands and boundaries](../../../tools/pbx-conformance/README.md).
- [Provider Random specification](../../../../runtime/docs/specs/runtime/02e-vm-owned-random-core.md).
- [Provider qualification](../../../../runtime/docs/vm-arch/RANDOM_QUALIFICATION.md).
- Historical accepted DEC-0070 and completed PLN-0149: obligations are preserved
in the normative spec, this lesson and its evidence after workflow cleanup.
@@ -0,0 +1,114 @@
{
"date": "2026-10-17",
"discussion": "DSC-0082",
"decision": "DEC-0070",
"plan": "PLN-0149",
"runtime_revision": "f7d7c167531bb662a1af9d73fc326bb476bf8aa7",
"platform": "macOS-27.0.1-arm64-arm-64bit-Mach-O",
"rustc": "rustc 1.98.1 (48a229cea 2026-09-01)\nbinary: rustc\ncommit-hash: 48a229ceaefd4985c50990b14116b6d856af0985\ncommit-date: 2026-09-01\nhost: aarch64-apple-darwin\nrelease: 1.98.1\nLLVM version: 22.1.8",
"java": "openjdk version \"25.0.4\" 2026-07-21 LTS\nOpenJDK Runtime Environment Corretto-25.0.4.7.1 (build 25.0.4+7-LTS)\nOpenJDK 64-Bit Server VM Corretto-25.0.4.7.1 (build 25.0.4+7-LTS, mixed mode, sharing)",
"runtime_profiles": [
"dev",
"release"
],
"harness_features": [
"resource-diagnostics"
],
"provider_features": "default",
"source_fingerprints": {
"../runtime/Cargo.lock": "cffad9ed62f38a591538abd81dd39270d6022397342c8189f4ac6c7baaa8e795",
"../runtime/docs/vm-arch/INTRINSICS.csv": "0c1bb78a9b81d1e3480ef5713f3d70f0b06772a7dfab2fd00c1f0a6364f98daa",
"../runtime/docs/vm-arch/BUILTIN_CONSTANTS.csv": "e407e4718127aa7ef7b1097b5b4b67d86dd979235e73a551a7c36b628cddc039",
"../runtime/crates/console/prometeu-vm/tests/fixtures/random-conformance.tsv": "0bee1cd0366f1716687aee8c7ac39dd495da5fe2908cce37b1443cb04fac542f",
"../runtime/crates/console/prometeu-vm/tests/random_contract.rs": "de961a4c57c4ed7b1f01b002abd8a319c3fed90cb5bce07a5c023ef9239490b1",
"../runtime/crates/console/prometeu-vm/src/random.rs": "48e46d50f0665c85bb899d7324783cb1b5121378cb21f06059f2c2617e6d9e16",
"../runtime/crates/console/prometeu-vm/src/virtual_machine/random.rs": "136cdbe46a687a7b755d559a2842d44f494cf76e8a34427eeb48494820935a42",
"tools/pbx-conformance/main.rs": "76d3d1b90b417c33737fb0ede6ea7af8ffe586bfb2bf4f710684a8d9f72c7466",
"tools/pbx-conformance/run.py": "49b01cfc81d378871ca3cc32dec7b1f830fdb7c86545d5a32e2e3455c4f1588f",
"prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsRuntimeRandomTest.java": "2d474bd65b0ddcfa2b9ad8d7887c2f964cf73336a8747f4f34478e6a2137bf59",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/main.pbs": "c21c12d99c5a033a1e4026432bbab56393ad09c0fe2d36711504ccca01ce93b5",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/game/stdlib/1/sdk/random/mod.barrel": "7924c022a140b9bc634f3699175c8775f24093d3aa82e650752232971b0380fb",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/lowering/PbsRuntimeTypes.java": "c973cb5de13a3e1bddaecad140436ea54d4a78ac5f08310511a60b637630889a",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsDeclarationParser.java": "50d494f4e2b79d7147acc25e0ce4cad244ef2a04288ea823aecdd5347feb48c6",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/parser/PbsExprParserContext.java": "7b6de40de18fd676210bcfc6655b0dbbd10d589513d35f1cf0c4b01cbf30e7d5",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowExpressionAnalyzer.java": "4775395a00edba94ff55cd2d93959973fc8ad70cae260cc5e2631087827eee9d",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowSemanticSupport.java": "2c39d3fed360aeef0ac1c6c8f8c1d92989f84f60cbe23dd01ebce8a9d575d128",
"prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/java/p/studio/compiler/pbs/semantics/PbsFlowStructuralExpressionAnalyzer.java": "ba32cc9521ee4bc4840e0910566b4fad7d50a382dac8288c4f6e1ac3ab2fe4ab"
},
"java_tests": {
"frontend": {
"passed": 249
},
"architecture": {
"passed": 63
},
"common_pipeline": {
"passed": 175,
"existing_skipped": 12
},
"installed_knowledge": {
"passed": 2
}
},
"random_fixtures_per_profile": 227,
"callable_replays_per_fixture": 3,
"provider_tests_per_profile": {
"random_contract": 13,
"private_random": 11
},
"commands": [
"./gradlew :prometeu-compiler:frontends:prometeu-frontend-pbs:test :prometeu-architecture-tests:test :prometeu-compiler:prometeu-build-pipeline:test :prometeu-app:installedKnowledgeTest --console=plain",
"CARGO_TARGET_DIR=/tmp/pln149-cargo-target python3 tools/pbx-conformance/run.py",
"CARGO_TARGET_DIR=/tmp/pln149-cargo-target python3 tools/pbx-conformance/run.py --release",
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm random --target-dir /tmp/pln149-provider-target",
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm --lib random --release --target-dir /tmp/pln149-provider-target",
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm --test random_contract --target-dir /tmp/pln149-provider-target",
"cargo test --manifest-path ../runtime/Cargo.toml --locked --offline -p prometeu-vm --test random_contract --release --target-dir /tmp/pln149-provider-target",
"python3 tools/runtime-catalog/verify.py --runtime ../runtime"
],
"logs": {
"regression": {
"sha256": "1379beaf5dbb205c9ff5894775835467dd0772fad3b87f3241b94e03c6609bf8",
"result": "passed"
},
"conformance-dev": {
"sha256": "99e7c3a4b5c3f1a408d22eef8a736b9a6fd061eff5c13e405c1bd019f504ce4d",
"result": "passed"
},
"conformance-release": {
"sha256": "f1df27a348bb98976b4ee0b46a0e121b56d524aab5f43deecc0c705c08e1fd79",
"result": "passed"
},
"provider-dev": {
"sha256": "3b9b0b522d3c5ed305536aa5be621fc34f0b4cce0f6b5705626052a4fb252be2",
"result": "passed"
},
"provider-release": {
"sha256": "8555828137f4e747f079145892c7c11e18ac55f2e9720497affaf9fe828f48b9",
"result": "passed"
},
"provider-contract-dev": {
"sha256": "5c2a31b0f33e75dfe644993e0e79f8cf19bd01bc95db23b41190fc2069d16f8e",
"result": "passed"
},
"provider-contract-release": {
"sha256": "cbf430b84132edbdda2fe0b5ab34cf5fad6e78a048811695efe223eac37a3333",
"result": "passed"
},
"catalog": {
"sha256": "66b7003ff94115aece4b278522b0c080e806497e26ca17dd756163bc7974fa83",
"result": "passed"
}
},
"limitations": [
"macOS arm64 only",
"Reference-game and installed-runtime process qualification excluded",
"Existing explicit provider schema gaps LifecycleRole and NonFiniteValue retained"
],
"follow_up_2026_10_22": {
"discussion": "DSC-0094",
"scope": "Explicitly authorized complete PBS constructor field initialization; revise null fixtures to controlled provider injection",
"qualification": "227 Random fixtures passed on macOS arm64 dev; prior release evidence describes the original corpus",
"evidence": "../DSC-0094-pbs-generic-structs/evidence.json"
}
}
@@ -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

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