From 9504f4694a3990c32c806f5a8af257a471b965c1 Mon Sep 17 00:00:00 2001 From: bQUARKz Date: Wed, 28 Oct 2026 09:12:48 +0000 Subject: [PATCH] feat(pbs): add explicit guest lifecycle hooks --- ...guest-hooks-and-preserved-continuations.md | 160 +++++++++++++ .../evidence/README.md | 32 +++ .../evidence/SHA256SUMS | 10 + ....backend.irvm.PbsGuestLifecycleTest.xml.gz | Bin 0 -> 592 bytes .../evidence/fixtures.sha256 | 43 ++++ .../evidence/frontend.log.gz | Bin 0 -> 515 bytes .../evidence/regression-and-installed.log.gz | Bin 0 -> 1205 bytes .../evidence/runtime-dev.log.gz | Bin 0 -> 3366 bytes .../evidence/runtime-release.log.gz | Bin 0 -> 3364 bytes .../evidence/sources.sha256 | 29 +++ .../evidence/summary.json | 104 +++++++++ .../evidence/workflow.txt | 14 ++ .../specs/typed-registry-and-pbx-v0.md | 13 ++ .../pbs/11. AST Specification.md | 14 +- .../pbs/12. Diagnostics Specification.md | 23 ++ .../13. Lowering IRBackend Specification.md | 19 +- .../pbs/3. Core Syntax Specification.md | 21 +- .../pbs/4. Static Semantics Specification.md | 22 +- .../pbs/9. Dynamic Semantics Specification.md | 27 +++ ...cution and Initialization Specification.md | 15 ++ ...ication and Safety Checks Specification.md | 12 + ...RBackend to IRVM Lowering Specification.md | 12 + .../app/compiler/InstalledKnowledgeProbe.java | 7 + .../backend/irvm/PbsGuestLifecycleTest.java | 157 +++++++++++++ .../compiler/PBSSemanticTokenProvider.java | 2 +- .../p/studio/compiler/pbs/ast/PbsAst.java | 21 +- .../pbs/lowering/PbsRuntimeTypes.java | 6 +- .../pbs/parser/PbsDeclarationParser.java | 26 ++- .../PbsDeclarationSemanticsValidator.java | 2 +- .../PbsLifecycleSemanticsValidator.java | 7 +- .../pbs/semantics/PbsSemanticsErrors.java | 1 + ...PbsProjectLifecycleSemanticsValidator.java | 19 ++ .../examples/game/1/LIFECYCLE.md | 20 ++ .../examples/game/1/src/lifecycle.pbs | 18 ++ .../examples/game/1/src/mod.barrel | 1 + .../PbsGuestLifecycleSemanticsTest.java | 90 +++++++ .../registry/PbxRegistryConformanceTest.java | 17 ++ tools/pbx-conformance/README.md | 38 +++ tools/pbx-conformance/lifecycle.rs | 219 ++++++++++++++++++ tools/pbx-conformance/main.rs | 3 + tools/pbx-conformance/run.py | 9 +- 41 files changed, 1209 insertions(+), 24 deletions(-) create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/LSN-0097-explicit-guest-hooks-and-preserved-continuations.md create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/README.md create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/SHA256SUMS create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/TEST-p.studio.compiler.backend.irvm.PbsGuestLifecycleTest.xml.gz create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/fixtures.sha256 create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/frontend.log.gz create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/regression-and-installed.log.gz create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/runtime-dev.log.gz create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/runtime-release.log.gz create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/sources.sha256 create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/summary.json create mode 100644 discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/workflow.txt create mode 100644 prometeu-architecture-tests/src/test/java/p/studio/compiler/backend/irvm/PbsGuestLifecycleTest.java create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/LIFECYCLE.md create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/main/resources/pbs-knowledge/examples/game/1/src/lifecycle.pbs create mode 100644 prometeu-compiler/frontends/prometeu-frontend-pbs/src/test/java/p/studio/compiler/services/PbsGuestLifecycleSemanticsTest.java create mode 100644 tools/pbx-conformance/lifecycle.rs diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/LSN-0097-explicit-guest-hooks-and-preserved-continuations.md b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/LSN-0097-explicit-guest-hooks-and-preserved-continuations.md new file mode 100644 index 00000000..19f863ea --- /dev/null +++ b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/LSN-0097-explicit-guest-hooks-and-preserved-continuations.md @@ -0,0 +1,160 @@ +--- +id: LSN-0097 +ticket: pbs-guest-lifecycle-hooks +title: Explicit Guest Hooks and Preserved Continuations +created: 2026-10-28 +tags: [runtime-integration] +--- + +# Explicit Guest Hooks and Preserved Continuations + +Owner: `compiler/pbs`, with propagation to `compiler/general` and `studio`. +Historical workflow: AGD-0086 → accepted DEC-0081 → completed PLN-0159. +The normative language/runtime contracts live in the linked specifications; +this lesson explains their implementation and qualification. + +## Original problem + +The runtime already published optional BeforePause and BeforeResume Registry +roles. Studio's common IR/PBX represented them, but PBS had no source declaration +selecting their targets. Init and Frame were already frontend-owned inputs to a +guarded common entry wrapper. Turning them into runtime callbacks would have +changed initialization and frame semantics unnecessarily. + +The missing producer capability was explicit selection, validation and metadata +propagation, followed by source-to-production-runtime evidence. Existing runtime +unit tests were useful oracles but did not prove the PBS producer path. + +## Consolidated decision + +Use marker attributes on nongeneric top-level userland functions: + +```pbs +declare global transitions: int = 0; + +[BeforePause] +fn preparePause() -> void { + transitions += 1; +} + +[BeforeResume] +fn prepareResume() -> void { + transitions += 1; +} +``` + +Each target has zero parameters, logical results and captures. Reading/writing +globals is allowed and does not create a function capture. Closures can still be +created and used in the body. Markers accept no arguments, cannot combine with +another lifecycle marker and may accompany existing Doc metadata. + +Each role is independently optional, with at most one distinct declaration in +the compiled image, including imports. No colocation with Frame is required. +Repeated imports and reexports preserve the original declaration's identity. +Function names do not select roles; an unmarked function named BeforePause is +ordinary. A direct call to preparePause is also ordinary and does not request an +OS transition or acquire a controlled-call context. + +BeforePause/BeforeResume lower to existing role bytes 1/2. Init, Frame, ordinary +functions and physical entry zero retain role None. The selected targets and +their dependencies are externally entered retention roots, even without source +callers. MemcardBoot selection/bootstrap/persistence remain a separate scope; +there is no termination hook or new lifecycle syscall. + +## Implementation result + +The PBS AST/parser recognizes both markers and rejects invalid declaration +targets, arguments and lifecycle combinations. Source semantic validation checks +empty nongeneric signatures; project validation detects distinct conflicting +targets and reports their names/locations. Canonical source spans distinguish a +new declaration from the same declaration encountered repeatedly. + +PbsRuntimeTypes emits the role in typed FunctionMetadata. Existing common +assembly, lowering, optimization, linking and PBX writing preserve that metadata +and retain the functions/callees. The common writer independently rejects +captures, invalid typed signatures, duplicate roles and physical entry-zero +targets. It consumes neutral roles rather than PBS ASTs or names. + +Editorial token classification recognizes both attributes. The installed +knowledge package includes the updated English specs, both hooks in the complete +example and a lifecycle guide. The installed-JAR gate compiles the example and +checks exactly one target per role. No runtime source or commit was needed. + +## Execution model and qualification + +Home's existing gameplay handoff precedes BeforePause and suspension. Reactivation +precedes BeforeResume; normal gameplay becomes eligible after the hook's outer +return. Controlled calls use the same stacks, globals and heap roots and restore +the interrupted continuation. Init and its guard are not restarted. + +The runtime owns 1,500,000 total virtual cycles per controlled invocation, in +slices of at most 250,000 admitted cycles with whole-instruction overshoot. +Slices/debugger stops do not renew fuel. FRAME_SYNC traps inside a controlled +hook or its callees before frame publication. Fatal trap/fuel failure blocks +gameplay through the existing crash path. There is no automatic save, rollback, +compensation or wall-clock timeout. + +Qualification used runtime `dcf6561ea73446e0a3e1cf1c73eda20923b38df0`, a clean +checkout, on local macOS arm64. Both Rust dev/release profiles executed ordinary +and optimized producer images. Seventeen actual PBS-produced images cover both, +each and neither hook, ordinary calls, successful multi-slice execution, fatal +trap/fuel, and an actual import/alias/reexport project. Two explicitly synthetic +binary fixtures cover direct/transitive sync because PBS has no sync syntax. + +The production Firmware/SystemOS foreground path ran on the standard +TestPlatform hardware. It checked ordered guest effects, preserved PC, game +session tick/frame counters, global/heap state and one Init execution. Direct +suspension and Shell handoff added no reaction tick. A partial-frame VM check +retained its operand and call frame while both hooks executed. Breakpoint and +instruction stepping used the retained total fuel budget. Failure replays made +zero subsequent VM steps and produced no additional gameplay frame. + +The guest observation encodes `trace * 10000 + initCount * 100 + heapValue`: + +| Hooks | Trace | Init count | Heap value | Expected observation | +| --- | --- | --- | --- | --- | +| Both | 23 | 1 | 12 | 230112 | +| Pause only | 2 | 1 | 9 | 20109 | +| Resume only | 3 | 1 | 10 | 30110 | +| Neither | 0 | 1 | 7 | 107 | + +Probe calls are terminal observations after all continuation/frame assertions; +they do not instrument or replace the foreground lifecycle path. + +Full Gradle regression and installedKnowledgeTest passed, along with source, +semantic/editorial, common Registry/PBX and lifecycle-assembly tests. Commands, +suite summaries, profile logs and source/fixture hashes are retained in +[evidence](evidence/summary.json). This is local lifecycle qualification; +reference-game/installed-runtime qualification remains DSC-0086 and persistence +remains DSC-0085. Other platforms are not claimed by this evidence. + +## Pitfalls and reusable patterns + +- **Source selection is not invocation.** Preserve normal function-call behavior; + only the OS-controlled boundary changes the execution context. +- **No caller does not mean dead.** A runtime role is an external entry edge. + Verify final optimized bytes and execution, not just parser acceptance. +- **Zero captures does not prohibit globals or internal closures.** Validate the + target environment rather than banning ordinary language facilities. +- **Count declarations, not import appearances.** Cross-file uniqueness must + reject distinct targets while accepting an alias/reexport of the original. +- **Check physical IDs after linking.** Frontends select stable callable identity; + the common linker/writer validates final entry-zero exclusion. +- **Observe the retained session after failure.** A crash activates another UI + context. Reading an active-foreground telemetry facade can return the UI's zero + counters and produce a false lifecycle failure. Read the game's session counters. +- **Keep synthetic instruction tests explicit.** A binary sync oracle qualifies + runtime rejection without advertising unsupported PBS syntax. +- **Separate producer and provider variants.** Optimized PBS and release Rust are + two independent dimensions; qualify both instead of using one as a substitute. + +## References + +- [Static source contract](<../../../docs/specs/compiler-languages/pbs/4. Static Semantics Specification.md>). +- [Dynamic execution contract](<../../../docs/specs/compiler-languages/pbs/9. Dynamic Semantics Specification.md>). +- [PBS lowering](<../../../docs/specs/compiler-languages/pbs/13. Lowering IRBackend Specification.md>). +- [Common typed Registry/PBX](../../../docs/compiler/general/specs/typed-registry-and-pbx-v0.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). diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/README.md b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/README.md new file mode 100644 index 00000000..0a257c9e --- /dev/null +++ b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/README.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. diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/SHA256SUMS b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/SHA256SUMS new file mode 100644 index 00000000..992db3db --- /dev/null +++ b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/SHA256SUMS @@ -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 diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/TEST-p.studio.compiler.backend.irvm.PbsGuestLifecycleTest.xml.gz b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/TEST-p.studio.compiler.backend.irvm.PbsGuestLifecycleTest.xml.gz new file mode 100644 index 0000000000000000000000000000000000000000..69c2e6587e175d0fcae99a83bb9621455b7a3513 GIT binary patch literal 592 zcmV-W0TrLZ*6dCY-MsTVqs%zWo~3HX>xXL zE>L1~M|EX$bWCYxWn+0`Y-Lnsb963vZEOJ5ludKmFc60C{0dd4_F!X7!VtzLLvY-W zVF(jQIxWM&$V*X?Ek!F)++SZANWx6pL#Mgq=JmTDk6x`EUG54&wxE&AGNvs*pae=L zb6$Rn>D?^#y7aQ&hzy`X%MFk+D{D&-J$OCrf;9UCD^A zfK^Pu%mtL}yTr6j32wMjkjK=`TV-5W4Y&_LYpD;9h8HeBD^yIwAnbUpzze&x;G!3V zz4nl9}~8 zN?bbPf0=b8Z+9-}A5pO?%^D16ljUw&l`Q2uQ~NlS?miPo#*9Oq>8wO<_!e&AyL(k5 zz9e1{gnz-4Rx{Z9IJJ7~00xLqEJbyrTrvOoXy)|}m^JX3oAp=@GvNsEMG;$_))5ga zG*Ecbntt?VK1>F)!F;jkN6i!AB+o75bKbmeN`6Sa0lgp}$LS6E9jlg6Wem_yKsiA7 zF;!D=$7eu1GEc52(?yTuPa3I91-OkPXql_Sl@+3D{OhzU%S8@)!W9T!!t==GK_Kd= eyxM`U%+J%cs`sc7HJ^T>{l+iLc~E?K1pokMpcIt= literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/fixtures.sha256 b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/fixtures.sha256 new file mode 100644 index 00000000..0dafdb55 --- /dev/null +++ b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/fixtures.sha256 @@ -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 diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/frontend.log.gz b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/frontend.log.gz new file mode 100644 index 0000000000000000000000000000000000000000..b50f83b6c24c8fa490f8041a80ab9a9768ec85ad GIT binary patch literal 515 zcmV+e0{s0SiwFoByWwgA|7LP;ZggdCWG-xPX8^U9(QcbC6o&74it_;FV$rHfxtP=d zs~Wlmm9X2%F(;HlZR^-{>D$i~T8&U38R`vK@So4;|BY-yY06wcDp7-w242vBu9T8w zU~vg+KLo=lLvsOpR$6HWJH`tz62hi*{p-i?#n<}QDxGhzWx9anuFA_aCcfkk$csjP zLo6*ZDyu9Po)r5$tB9FgihxLxhB&;9qQLJnG8AZ)7#s|eU}b}d74lUrL0g+d?snt) z*V~|9jt4`Gn~0FhCzY3&#+-6x8ccH?C$x2~bX7`Tj2FChJTT`q=cu)$(;%J7lqqv$ zc(C7gmHv^2pRnYE)34bxgP$8W-X!RAG?EQ zI0JVa`y8uH?DNCgqBeD4^KI3n(GBl>vav{Sw$qw2qx_L^$z|iNKBOFHmE7L>5GS4& z#PRp!4(yq9rJcnB>=AGOCD^V+dot-lFX0mKfV?u8Uci?tsFZ7@o7!*6`3p!ksB`-W F004J|0?_~f literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/regression-and-installed.log.gz b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/regression-and-installed.log.gz new file mode 100644 index 0000000000000000000000000000000000000000..51d5f6892d60124afb8b2e87172280cf5b713dcc GIT binary patch literal 1205 zcmV;m1WNlKiwFoByWwgA|8iw#a%FRKX>V>VVQyqCX>N0LVQg$=WG-xPX8^TYOLN;e z48HqU@VK3+4(ar<&7m`m?RJ`UH=Zco>kci!E*n|Yl2n@f`=uVSCF?l^UkMDIcH5 z46`!y1?W-;mu#7mg}Qg3Wv=XB<5xD}T03lha@F^~J!cOF@<60p#als-S!SO@~$#1 zjOxbZ#lCc8o(Xr>47S;jB6kvVMK{{>j*5N=1ChxU1cixqEDOdwDGAkgFs7>?nQS7yM*J7oxfNp(xR8zo}A`zCNOX#oXcAzN_%f_7l0Z4@SD>EI)XsfwSjE6ySN0n=amdZk29;eHad zCn5(;sY?#3hP@zI(FUE#C*u43kw-zOL>yVx_={#S&hQ~`?8jVLH^ji_*)As6+-oDW zcq33)4IL1kr{iVr%=}D_T=laMVCQ^G`k}QNCH-PxCEG-~s zv#a&D?+X^L=ksM4ep!EKB4rnQ_EFD1zGXZrz8uDF=*(D1eaSBVWbg!0ZXkZmKD=jn T78n`C+`#OA5L1|W2`2ymf;mgf literal 0 HcmV?d00001 diff --git a/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/runtime-dev.log.gz b/discussion/lessons/DSC-0084-pbs-guest-lifecycle-hooks/evidence/runtime-dev.log.gz new file mode 100644 index 0000000000000000000000000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