This repository has been archived on 2026-09-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
BPOS-MVP/db/migrations/meta/_journal.json
T
ChaiHaoandClaude Fable 5 1917320584 Mastra 化前置:loop 三修 —— 提交放行发真验收卡、事件只记不跑、轨迹喂回叙事面
勘察(两路 code-explorer)坐实 loop 范式三处真缺口,本轮先修(用户拍板),
与 Mastra 化解耦、按外科手术做(活动内 MVP 期高内聚不过度抽象):

① 提交放行走不到 released:submit/判齐只返回 submitted,task 层当 running
  处理,任务原地重跑到预算耗尽(exhausted 而非 released)。
  修:提交 = 发**验收卡**挂起等裁决(raiseAcceptance 唯一出口:发卡、立监听、
  在途验收入状态信封 sys.loop_state.pending,迁移 0015);判齐重入不发第二张卡;
  裁决 pass → finished released(选口随放行带回),reject → finished 不放行。
  TurnOutcome 增 finished/released/selectedPorts,engines 接线透传。

② onEvent 双拍:自跑一整拍后 deliver 的 tick 再跑一拍 —— 每次人卡回传多耗
  一次不计 steps/activeMs 预算的模型决策。修:onEvent **只记不跑**
  (登记 occur / 收验收裁决入信封,存快照即返),推进统一归 tick,预算一个口径。

③ Agent 每拍失忆:memory.window 定义了但零调用,任务自身轨迹从不喂回 prompt。
  修:叙事面新增【本任务最近轨迹】段,窗口大小取活动声明的
  manifest.declarations.harness.memoryWindow(活动侧唯一记忆配置,不再硬编码)。

测试:turn-runner-acceptance 八例;全量绿,五闸退出码过;loop CONTRACT.md 同步。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KeDBx2PHLavbURXB8LJJ7m
2026-07-28 23:02:41 +08:00

119 lines
2.3 KiB
JSON

{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1785084862267,
"tag": "0000_luxuriant_gorilla_man",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1785086083016,
"tag": "0001_nostalgic_cobalt_man",
"breakpoints": true
},
{
"idx": 2,
"version": "7",
"when": 1785086166573,
"tag": "0002_superb_talisman",
"breakpoints": true
},
{
"idx": 3,
"version": "7",
"when": 1785086925397,
"tag": "0003_youthful_swarm",
"breakpoints": true
},
{
"idx": 4,
"version": "7",
"when": 1785087362238,
"tag": "0004_nice_ravenous",
"breakpoints": true
},
{
"idx": 5,
"version": "7",
"when": 1785088279529,
"tag": "0005_broad_sprite",
"breakpoints": true
},
{
"idx": 6,
"version": "7",
"when": 1785088864829,
"tag": "0006_easy_enchantress",
"breakpoints": true
},
{
"idx": 7,
"version": "7",
"when": 1785089035016,
"tag": "0007_swift_silver_samurai",
"breakpoints": true
},
{
"idx": 8,
"version": "7",
"when": 1785094481010,
"tag": "0008_strange_quasar",
"breakpoints": true
},
{
"idx": 9,
"version": "7",
"when": 1785096293279,
"tag": "0009_cute_bromley",
"breakpoints": true
},
{
"idx": 10,
"version": "7",
"when": 1785128271937,
"tag": "0010_clammy_fabian_cortez",
"breakpoints": true
},
{
"idx": 11,
"version": "7",
"when": 1785129993168,
"tag": "0011_little_pet_avengers",
"breakpoints": true
},
{
"idx": 12,
"version": "7",
"when": 1785130053168,
"tag": "0012_process_no_publish",
"breakpoints": true
},
{
"idx": 13,
"version": "7",
"when": 1785130113168,
"tag": "0013_one_active_version",
"breakpoints": true
},
{
"idx": 14,
"version": "7",
"when": 1785130113169,
"tag": "0014_instance_assignee",
"breakpoints": true
},
{
"idx": 15,
"version": "7",
"when": 1785130113170,
"tag": "0015_loop_pending_acceptance",
"breakpoints": true
}
]
}