From 4c48b92f3ba36ff144f3deb758e82fada8b08d19 Mon Sep 17 00:00:00 2001 From: bQUARKz Date: Mon, 15 Jun 2026 16:04:36 +0100 Subject: [PATCH] implements PLN-0111 --- crates/console/prometeu-drivers/src/lib.rs | 4 +- .../prometeu-drivers/src/memory_banks.rs | 62 ++++++---- crates/console/prometeu-hal/src/lib.rs | 2 + .../prometeu-hal/src/render_resources.rs | 109 ++++++++++++++++++ discussion/index.ndjson | 2 +- ...define-read-only-render-resource-access.md | 2 +- 6 files changed, 153 insertions(+), 28 deletions(-) create mode 100644 crates/console/prometeu-hal/src/render_resources.rs diff --git a/crates/console/prometeu-drivers/src/lib.rs b/crates/console/prometeu-drivers/src/lib.rs index dacd2eb2..c8fe4afd 100644 --- a/crates/console/prometeu-drivers/src/lib.rs +++ b/crates/console/prometeu-drivers/src/lib.rs @@ -13,8 +13,8 @@ pub use crate::audio::{Audio, AudioCommand, Channel, MAX_CHANNELS, OUTPUT_SAMPLE pub use crate::frame_composer::{ComposerBuffer, FrameComposer, SceneStatus, SpriteController}; pub use crate::gfx::Gfx; pub use crate::memory_banks::{ - GlyphBankPoolAccess, GlyphBankPoolInstaller, MemoryBanks, RenderResourceAccess, - SceneBankPoolAccess, SceneBankPoolInstaller, SoundBankPoolAccess, SoundBankPoolInstaller, + GlyphBankPoolAccess, GlyphBankPoolInstaller, MemoryBanks, SceneBankPoolAccess, + SceneBankPoolInstaller, SoundBankPoolAccess, SoundBankPoolInstaller, }; pub use crate::pad::Pad; pub use crate::test_platform::TestPlatform; diff --git a/crates/console/prometeu-drivers/src/memory_banks.rs b/crates/console/prometeu-drivers/src/memory_banks.rs index 5cc1bc9c..a245a512 100644 --- a/crates/console/prometeu-drivers/src/memory_banks.rs +++ b/crates/console/prometeu-drivers/src/memory_banks.rs @@ -2,11 +2,12 @@ //! //! Render consumers must cross this boundary through small, read-only traits. //! Frame packets carry resource IDs; large resident resources stay in banks and -//! are returned as `Arc` snapshots of the slot contents. Installation and slot -//! replacement remain separate owner-side operations and are not part of the -//! render read surface. +//! are read in place through a narrow HAL callback contract. Installation and +//! slot replacement remain separate owner-side operations and are not part of +//! the render read surface. use prometeu_hal::glyph_bank::GlyphBank; +use prometeu_hal::render_resources::RenderResourceAccess as HalRenderResourceAccess; use prometeu_hal::scene_bank::SceneBank; use prometeu_hal::sound_bank::SoundBank; use std::sync::{Arc, RwLock}; @@ -53,15 +54,6 @@ pub trait SceneBankPoolInstaller: Send + Sync { fn install_scene_bank(&self, slot: usize, bank: Arc); } -/// Read-only resource surface needed by render consumers. -/// -/// This is intentionally narrower than `MemoryBanks`: render code can resolve -/// stable packet IDs to resident glyph/scene banks, but cannot install or swap -/// resources through this trait. -pub trait RenderResourceAccess: GlyphBankPoolAccess + SceneBankPoolAccess {} - -impl RenderResourceAccess for T where T: GlyphBankPoolAccess + SceneBankPoolAccess {} - /// Centralized container for all hardware memory banks. /// /// MemoryBanks represent the actual hardware slot state. @@ -150,6 +142,28 @@ impl SceneBankPoolInstaller for MemoryBanks { } } +impl HalRenderResourceAccess for MemoryBanks { + fn with_glyph_bank(&self, bank_id: usize, read: impl FnOnce(&GlyphBank) -> R) -> Option { + let pool = self.glyph_bank_pool.read().unwrap(); + let bank = pool.get(bank_id)?.as_deref()?; + Some(read(bank)) + } + + fn glyph_bank_count(&self) -> usize { + 16 + } + + fn with_scene_bank(&self, bank_id: usize, read: impl FnOnce(&SceneBank) -> R) -> Option { + let pool = self.scene_bank_pool.read().unwrap(); + let bank = pool.get(bank_id)?.as_deref()?; + Some(read(bank)) + } + + fn scene_bank_count(&self) -> usize { + 16 + } +} + #[cfg(test)] mod tests { use super::*; @@ -193,24 +207,24 @@ mod tests { assert_send_sync::(); assert_send_sync::>(); assert_send_sync::>(); - assert_send_sync::>(); } #[test] - fn render_resource_access_exposes_read_only_glyph_and_scene_banks() { - let banks = Arc::new(MemoryBanks::new()); + fn render_resource_access_exposes_read_only_glyph_and_scene_banks_without_arc_contract() { + let banks = MemoryBanks::new(); banks.install_glyph_bank(0, Arc::new(make_glyph_bank())); banks.install_scene_bank(1, Arc::new(make_scene_bank())); - let render_resources: Arc = banks; - let glyph_bank = - render_resources.glyph_bank_slot(0).expect("glyph bank slot should be readable"); - let scene_bank = - render_resources.scene_bank_slot(1).expect("scene bank slot should be readable"); + let glyph_tile_size = + HalRenderResourceAccess::with_glyph_bank(&banks, 0, |bank| bank.tile_size); + let scene_tile_size = + HalRenderResourceAccess::with_scene_bank(&banks, 1, |bank| bank.layers[0].tile_size); - assert_eq!(glyph_bank.tile_size, TileSize::Size8); - assert_eq!(scene_bank.layers[0].tile_size, TileSize::Size8); - assert!(render_resources.glyph_bank_slot(15).is_none()); - assert!(render_resources.scene_bank_slot(15).is_none()); + assert_eq!(glyph_tile_size, Some(TileSize::Size8)); + assert_eq!(scene_tile_size, Some(TileSize::Size8)); + assert_eq!(HalRenderResourceAccess::with_glyph_bank(&banks, 15, |_| ()), None); + assert_eq!(HalRenderResourceAccess::with_scene_bank(&banks, 15, |_| ()), None); + assert_eq!(HalRenderResourceAccess::glyph_bank_count(&banks), 16); + assert_eq!(HalRenderResourceAccess::scene_bank_count(&banks), 16); } } diff --git a/crates/console/prometeu-hal/src/lib.rs b/crates/console/prometeu-hal/src/lib.rs index 71cc304b..00a8931e 100644 --- a/crates/console/prometeu-hal/src/lib.rs +++ b/crates/console/prometeu-hal/src/lib.rs @@ -21,6 +21,7 @@ pub mod owned_frame; pub mod pad_bridge; pub mod platform; pub mod primitives; +pub mod render_resources; pub mod render_submission; pub mod sample; pub mod scene_bank; @@ -52,6 +53,7 @@ pub use platform::{ NoopTelemetryPlatform, RenderBackend, RenderSubmissionSink, RenderSubmitError, RuntimePlatform, TelemetryPlatform, TestPlatform, }; +pub use render_resources::RenderResourceAccess; pub use render_submission::{ BoundScenePacket, Camera2D, ComposerFramePacket, FrameId, Game2DFramePacket, GameSpritePacket, Gfx2dCommand, GfxUiCommand, HudCommand, HudPacket, RenderOwnership, RenderSubmission, diff --git a/crates/console/prometeu-hal/src/render_resources.rs b/crates/console/prometeu-hal/src/render_resources.rs new file mode 100644 index 00000000..911070f3 --- /dev/null +++ b/crates/console/prometeu-hal/src/render_resources.rs @@ -0,0 +1,109 @@ +use crate::glyph_bank::GlyphBank; +use crate::scene_bank::SceneBank; + +/// Read-only render resource lookup used by render backends. +/// +/// Resource ids are stable bank slots carried by render submissions. The +/// callback shape keeps bank ownership inside the provider while exposing only +/// borrowed read access to the caller. +pub trait RenderResourceAccess { + /// Reads a resident glyph bank by id. + fn with_glyph_bank(&self, bank_id: usize, read: impl FnOnce(&GlyphBank) -> R) -> Option; + + /// Returns the number of glyph bank ids accepted by this provider. + fn glyph_bank_count(&self) -> usize; + + /// Reads a resident scene bank by id. + fn with_scene_bank(&self, bank_id: usize, read: impl FnOnce(&SceneBank) -> R) -> Option; + + /// Returns the number of scene bank ids accepted by this provider. + fn scene_bank_count(&self) -> usize; +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::glyph::Glyph; + use crate::glyph_bank::TileSize; + use crate::scene_layer::{ParallaxFactor, SceneLayer}; + use crate::tile::Tile; + use crate::tilemap::TileMap; + + struct TestRenderResources { + glyph_banks: Vec>, + scene_banks: Vec>, + } + + impl RenderResourceAccess for TestRenderResources { + fn with_glyph_bank( + &self, + bank_id: usize, + read: impl FnOnce(&GlyphBank) -> R, + ) -> Option { + self.glyph_banks.get(bank_id)?.as_ref().map(read) + } + + fn glyph_bank_count(&self) -> usize { + self.glyph_banks.len() + } + + fn with_scene_bank( + &self, + bank_id: usize, + read: impl FnOnce(&SceneBank) -> R, + ) -> Option { + self.scene_banks.get(bank_id)?.as_ref().map(read) + } + + fn scene_bank_count(&self) -> usize { + self.scene_banks.len() + } + } + + fn scene_bank(tile_size: TileSize) -> SceneBank { + let layer = SceneLayer { + active: true, + glyph_asset_id: 7, + tile_size, + parallax_factor: ParallaxFactor { x: 1.0, y: 1.0 }, + tilemap: TileMap { + width: 1, + height: 1, + tiles: vec![Tile { + active: true, + glyph: Glyph { glyph_id: 3, palette_id: 0 }, + flip_x: false, + flip_y: false, + }], + }, + }; + + SceneBank { layers: std::array::from_fn(|_| layer.clone()) } + } + + #[test] + fn reads_resident_resources_by_id() { + let resources = TestRenderResources { + glyph_banks: vec![None, Some(GlyphBank::new(TileSize::Size16, 16, 16)), None], + scene_banks: vec![Some(scene_bank(TileSize::Size8)), None], + }; + + assert_eq!(resources.glyph_bank_count(), 3); + assert_eq!(resources.scene_bank_count(), 2); + assert_eq!(resources.with_glyph_bank(1, |bank| bank.tile_size), Some(TileSize::Size16)); + assert_eq!( + resources.with_scene_bank(0, |bank| bank.layers[0].tile_size), + Some(TileSize::Size8) + ); + } + + #[test] + fn missing_resources_return_none() { + let resources = TestRenderResources { glyph_banks: vec![None], scene_banks: vec![None] }; + + assert_eq!(resources.with_glyph_bank(0, |bank| bank.width), None); + assert_eq!(resources.with_glyph_bank(9, |bank| bank.width), None); + assert_eq!(resources.with_scene_bank(0, |bank| bank.layers[0].active), None); + assert_eq!(resources.with_scene_bank(9, |bank| bank.layers[0].active), None); + } +} diff --git a/discussion/index.ndjson b/discussion/index.ndjson index 8aa2e25f..91e7066c 100644 --- a/discussion/index.ndjson +++ b/discussion/index.ndjson @@ -2,7 +2,7 @@ {"type":"discussion","id":"DSC-0039","status":"abandoned","ticket":"render-pipeline-family-and-future-3d","title":"Render Pipeline Family and Future 3D","created_at":"2026-06-04","updated_at":"2026-06-04","tags":["gfx","renderer","runtime","architecture","pipeline"],"agendas":[{"id":"AGD-0039","file":"AGD-0039-render-pipeline-family-and-future-3d.md","status":"abandoned","created_at":"2026-06-04","updated_at":"2026-06-04","_override_reason":"User explicitly chose to close this agenda without a new decision because DSC-0038 already established enough architecture for future extension, and 3D is intentionally deferred."}],"decisions":[],"plans":[],"lessons":[],"_override_reason":"User explicitly chose to close this agenda without a new decision because DSC-0038 already established enough architecture for future extension, and 3D is intentionally deferred."} {"type":"discussion","id":"DSC-0040","status":"done","ticket":"vm-render-parallel-execution-boundary","title":"VM and Render Parallel Execution Boundary","created_at":"2026-06-04","updated_at":"2026-06-06","tags":["runtime","renderer","vm","concurrency","architecture","perf"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0048","file":"discussion/lessons/DSC-0040-vm-render-parallel-execution-boundary/LSN-0048-render-workers-need-a-closed-packet-contract.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-06"}]} {"type":"discussion","id":"DSC-0041","status":"open","ticket":"foreground-stack-game-pause-shell-vm-backed","title":"Foreground Stack, Game Pause, and VM-Backed Shell Coexistence","created_at":"2026-06-05","updated_at":"2026-06-05","tags":["runtime","os","lifecycle","shell","game","vm","foreground","architecture"],"agendas":[{"id":"AGD-0041","file":"AGD-0041-foreground-stack-game-pause-shell-vm-backed.md","status":"open","created_at":"2026-06-05","updated_at":"2026-06-05"}],"decisions":[],"plans":[],"lessons":[]} -{"type":"discussion","id":"DSC-0042","status":"in_progress","ticket":"real-render-worker-establishment","title":"Real Render Worker Establishment","created_at":"2026-06-06","updated_at":"2026-06-15","tags":["runtime","renderer","worker","concurrency","host","hal","architecture"],"agendas":[{"id":"AGD-0042","file":"AGD-0042-host-hardware-render-boundary-preparation.md","status":"accepted","created_at":"2026-06-06","updated_at":"2026-06-06"},{"id":"AGD-0043","file":"AGD-0043-real-render-worker-establishment.md","status":"accepted","created_at":"2026-06-06","updated_at":"2026-06-15"}],"decisions":[{"id":"DEC-0032","file":"DEC-0032-platform-layer-and-hardwarebridge-elimination.md","status":"accepted","created_at":"2026-06-06","updated_at":"2026-06-06","ref_agenda":"AGD-0042"},{"id":"DEC-0033","file":"DEC-0033-real-render-worker-contract.md","status":"accepted","created_at":"2026-06-15","updated_at":"2026-06-15","ref_agenda":"AGD-0043"}],"plans":[{"id":"PLN-0098","file":"PLN-0098-define-platform-facade-contracts.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0099","file":"PLN-0099-introduce-owned-render-submission-sink.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0100","file":"PLN-0100-migrate-local-render-publication-to-sink.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0101","file":"PLN-0101-remove-immediate-gfx-syscall-rendering.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0102","file":"PLN-0102-introduce-game2d-frame-composer-service.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0103","file":"PLN-0103-introduce-runtime-platform-and-testplatform.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0104","file":"PLN-0104-migrate-vm-runtime-hostcontext-to-platform.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0105","file":"PLN-0105-migrate-firmware-and-hub-to-platform-services.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0106","file":"PLN-0106-migrate-desktop-host-to-platform-services.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0107","file":"PLN-0107-migrate-remaining-platform-domains.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0108","file":"PLN-0108-migrate-tests-to-testplatform.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0109","file":"PLN-0109-remove-hardwarebridge-and-update-specs.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0110","file":"PLN-0110-define-owned-rgba8888-frame-contract.md","status":"done","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0111","file":"PLN-0111-define-read-only-render-resource-access.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0112","file":"PLN-0112-define-render-worker-errors-and-telemetry.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0113","file":"PLN-0113-implement-thread-safe-latest-wins-handoff.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0114","file":"PLN-0114-add-deterministic-render-worker-test-harness.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0115","file":"PLN-0115-implement-render-worker-controller-lifecycle.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0116","file":"PLN-0116-implement-fake-local-render-backend.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0117","file":"PLN-0117-integrate-runtime-submission-with-worker.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0118","file":"PLN-0118-add-stale-epoch-and-repeat-frame-behavior.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0119","file":"PLN-0119-integrate-desktop-host-worker-presentation.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0120","file":"PLN-0120-update-real-render-worker-specs.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0121","file":"PLN-0121-final-worker-path-validation-and-hardening.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]}],"lessons":[]} +{"type":"discussion","id":"DSC-0042","status":"in_progress","ticket":"real-render-worker-establishment","title":"Real Render Worker Establishment","created_at":"2026-06-06","updated_at":"2026-06-15","tags":["runtime","renderer","worker","concurrency","host","hal","architecture"],"agendas":[{"id":"AGD-0042","file":"AGD-0042-host-hardware-render-boundary-preparation.md","status":"accepted","created_at":"2026-06-06","updated_at":"2026-06-06"},{"id":"AGD-0043","file":"AGD-0043-real-render-worker-establishment.md","status":"accepted","created_at":"2026-06-06","updated_at":"2026-06-15"}],"decisions":[{"id":"DEC-0032","file":"DEC-0032-platform-layer-and-hardwarebridge-elimination.md","status":"accepted","created_at":"2026-06-06","updated_at":"2026-06-06","ref_agenda":"AGD-0042"},{"id":"DEC-0033","file":"DEC-0033-real-render-worker-contract.md","status":"accepted","created_at":"2026-06-15","updated_at":"2026-06-15","ref_agenda":"AGD-0043"}],"plans":[{"id":"PLN-0098","file":"PLN-0098-define-platform-facade-contracts.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0099","file":"PLN-0099-introduce-owned-render-submission-sink.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0100","file":"PLN-0100-migrate-local-render-publication-to-sink.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0101","file":"PLN-0101-remove-immediate-gfx-syscall-rendering.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0102","file":"PLN-0102-introduce-game2d-frame-composer-service.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0103","file":"PLN-0103-introduce-runtime-platform-and-testplatform.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0104","file":"PLN-0104-migrate-vm-runtime-hostcontext-to-platform.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0105","file":"PLN-0105-migrate-firmware-and-hub-to-platform-services.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0106","file":"PLN-0106-migrate-desktop-host-to-platform-services.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0107","file":"PLN-0107-migrate-remaining-platform-domains.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0108","file":"PLN-0108-migrate-tests-to-testplatform.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0109","file":"PLN-0109-remove-hardwarebridge-and-update-specs.md","status":"done","created_at":"2026-06-06","updated_at":"2026-06-15","ref_decisions":["DEC-0032"]},{"id":"PLN-0110","file":"PLN-0110-define-owned-rgba8888-frame-contract.md","status":"done","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0111","file":"PLN-0111-define-read-only-render-resource-access.md","status":"done","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0112","file":"PLN-0112-define-render-worker-errors-and-telemetry.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0113","file":"PLN-0113-implement-thread-safe-latest-wins-handoff.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0114","file":"PLN-0114-add-deterministic-render-worker-test-harness.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0115","file":"PLN-0115-implement-render-worker-controller-lifecycle.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0116","file":"PLN-0116-implement-fake-local-render-backend.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0117","file":"PLN-0117-integrate-runtime-submission-with-worker.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0118","file":"PLN-0118-add-stale-epoch-and-repeat-frame-behavior.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0119","file":"PLN-0119-integrate-desktop-host-worker-presentation.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0120","file":"PLN-0120-update-real-render-worker-specs.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]},{"id":"PLN-0121","file":"PLN-0121-final-worker-path-validation-and-hardening.md","status":"open","created_at":"2026-06-15","updated_at":"2026-06-15","ref_decisions":["DEC-0033"]}],"lessons":[]} {"type":"discussion","id":"DSC-0038","status":"done","ticket":"render-frame-packet-boundary","title":"Logical Render Pipelines and Command Packets","created_at":"2026-05-25","updated_at":"2026-06-04","tags":["gfx","renderer","runtime","frame-composer","architecture","ui","pipeline"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0047","file":"discussion/lessons/DSC-0038-render-frame-packet-boundary/LSN-0047-typed-render-submissions-preserve-domain-boundaries.md","status":"done","created_at":"2026-06-04","updated_at":"2026-06-04"}]} {"type":"discussion","id":"DSC-0035","status":"done","ticket":"task-owned-shell-windows","title":"Agenda - Task-Owned Shell Windows","created_at":"2026-05-15","updated_at":"2026-05-15","tags":["runtime","os","task","window-manager","shell","lifecycle"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0044","file":"discussion/lessons/DSC-0035-task-owned-shell-windows/LSN-0044-task-window-liveness-belongs-to-the-task.md","status":"done","created_at":"2026-05-15","updated_at":"2026-05-15"}]} {"type":"discussion","id":"DSC-0034","status":"done","ticket":"system-os-domain-facades","title":"Agenda - SystemOS Domain Facades","created_at":"2026-05-15","updated_at":"2026-05-15","tags":["runtime","os","services","api-surface","lifecycle","fs"],"agendas":[],"decisions":[],"plans":[],"lessons":[{"id":"LSN-0043","file":"discussion/lessons/DSC-0034-system-os-domain-facades/LSN-0043-systemos-domain-facades.md","status":"done","created_at":"2026-05-15","updated_at":"2026-05-15"}]} diff --git a/discussion/workflow/plans/PLN-0111-define-read-only-render-resource-access.md b/discussion/workflow/plans/PLN-0111-define-read-only-render-resource-access.md index 7d561d48..469ab083 100644 --- a/discussion/workflow/plans/PLN-0111-define-read-only-render-resource-access.md +++ b/discussion/workflow/plans/PLN-0111-define-read-only-render-resource-access.md @@ -2,7 +2,7 @@ id: PLN-0111 ticket: real-render-worker-establishment title: Define Read-Only Render Resource Access -status: open +status: done created: 2026-06-15 completed: ref_decisions: [DEC-0033]