Knowledge Runtime State Bootstrap And Observability

覆盖 Blade 的进程启动目录状态、跨异步上下文 cwd 隔离、共享 Vanilla Store、日志与运行环境观测、运行时包信息、Session ID、原生目录选择和项目注册。 使用时机:调整 CLI 启动顺序、排查多 workspace 状态串扰、从 React 外访问 Store、增加运行态观测、修改版本识别、Session 标识或项目选择/绑定流程。 不包含:配置层级与持久化路由见 layered-configuration-and-runtime-settings,事件日志与持久投影见 durable-transcript-and-event-projection,容量和关闭编排见 capacity-lifecycle-and-egress。 关键词:bootstrap state, getCwd, runWithCwdOverride, vanillaStore, ensureStoreInitialized, Logger, streamDebug, getEnvironmentContext, getVersion, createSessionId, NativeDirectoryPicker, ProjectRegistry。

echovic 1e0c7da 14.3 KB Updated

File contents

echovic/blade-code/tree/main/.trae/knowledges/workspace-policy-and-shared-foundations/runtime-state-bootstrap-and-observability commit 1e0c7da1e4

Frequently asked questions

npx skillmds@latest add echovic/knowledge-runtime-state-bootstrap-and-observability