feat(core): 引入 plan/effect 执行骨架

新增 plan/effect 数据结构与基础操作
在 runtime 中接入 event -> command_buffer -> plan -> backend 流程
补齐 policy/backend 接口并同步更新测试构建
This commit is contained in:
2026-04-13 05:56:31 +08:00
parent 20e5e57c8c
commit 6561b16be0
11 changed files with 124 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
#include "core/backend.h"
#include "core/command_buffer.h"
#include "core/layout.h"
#include "core/plan.h"
#include "core/rules.h"
#include "core/state.h"
@@ -24,6 +25,7 @@ typedef struct runtime_t {
bool running;
bool will_restart;
plan_t plan;
command_buffer_t command_buffer;
state_t state;
layout_registry_t layouts;