On this page
Frame posture public door๏
๐ Advanced ยท Lesson 03
Frame POSTURE through the public door. configure_aether_frame() is the manual fluent path: set the world's system_state BEFORE anyone conjures, and every conjure then INHERITS it - no dynamic=True flag needed anywhere (the settle-then-inherit law from intermediate 21, driven from the configuration side this time). The posture FREEZES at the first conjure: configuring after that refuses - a world's mode is decided once.
Before you run๏
Use the Advanced guide for prerequisite concepts. Run from a checkout with Melder installed and Python 3.14 free-threading selected. The collection download includes the level's local helper modules.
Run the saved script๏
python UX_and_AIX_experiences/03_advanced/03_frame_posture_public_door.py
py -3.14t UX_and_AIX_experiences/03_advanced/03_frame_posture_public_door.py
Public surface๏
Spellbook(aetheric_frame=...), configure_aether_frame(system_state=...), plain-conjure inheritance, the freeze law
Code๏
1"""
2TIER: advanced (03)
3GOAL: Frame POSTURE through the public door. configure_aether_frame()
4 is the manual fluent path: set the world's system_state BEFORE
5 anyone conjures, and every conjure then INHERITS it - no
6 dynamic=True flag needed anywhere (the settle-then-inherit law
7 from intermediate 21, driven from the configuration side this
8 time). The posture FREEZES at the first conjure: configuring
9 after that refuses - a world's mode is decided once.
10SURFACE EXERCISED: Spellbook(aetheric_frame=...),
11 configure_aether_frame(system_state=...),
12 plain-conjure inheritance, the freeze law
13"""
14import melder as md
15
16
17class OpsService:
18 pass
19
20
21def main() -> None:
22 # A named world, postured dynamic through the PUBLIC door -
23 # before any conjure has settled anything.
24 book = md.Spellbook(aetheric_frame="ops-world")
25 book.bind(spell=OpsService, existence="unique")
26 book.configure_aether_frame(system_state="dynamic", disposal=None,
27 disposal_method_names=None)
28
29 # Plain conjures INHERIT the configured posture - no flags.
30 root = book.conjure(name="ops-root")
31 peer = md.Spellbook(aetheric_frame="ops-world").conjure(name="ops-peer")
32 assert root.link(peer) is True
33 print("configured world: plain conjures inherited dynamic and linked")
34
35 # The mode is decided ONCE. After the first conjure froze the
36 # posture, reconfiguring the world refuses.
37 try:
38 book.configure_aether_frame(system_state="automatic", disposal=None,
39 disposal_method_names=None)
40 print("post-freeze reconfigure unexpectedly succeeded")
41 except Exception as err:
42 print("post-freeze reconfigure refused:", type(err).__name__)
43
44
45if __name__ == "__main__":
46 main()
Check the outcome๏
The script contains its own assertions or demonstrated refusal paths. Run it to evaluate those checks against your installed version. The code above is taken directly from the saved file; no run output is invented here.