feat(agent): Wave B0 constitution demos + harness

Lock code-as-doc / call_site / OKF as first-class: reorder step
context, ship agent-pong and okf-flywheel examples, offline harness,
and skill/docs refresh. Dev LLM template via .env.example only.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-04 11:17:25 +08:00
1 parent ff1b846b73
commit d1b4e62d4d
18 files changed
+428 -29

No files matched your search

+4 -4
View File
@@ -17,8 +17,8 @@ import plugin:lib/plugin.mq.md
+ `source_depth`=default
+ `skill_depth`=default
Assemble a readable prompt: standing, task, tools, call site, **budgeted** source + skill, and the act protocol.
Default budgets keep long runbooks from exploding the window; emit `READ:source` / `READ:skill` (Chinese `读取:`) to deepen, then answer or `CALL:`.
Assemble a readable prompt: standing, task, **call site**, tools, **budgeted** source + skill, and the act protocol.
The runbook `.mq.md` is ground truth (code as documentation). Default budgets keep long files from exploding the window; emit `READ:source` / `READ:skill` (Chinese `读取:`) to deepen, then answer or `CALL:`.
*standing = > json.get value=`agent` key="standing"*
1. `standing`
@@ -43,8 +43,8 @@ Default budgets keep long runbooks from exploding the window; emit `READ:source`
*f = > json.get value=`esc` key="f"*
*g = > json.get value=`esc` key="g"*
*p = "You are a Marqdo agent. The runbook source is your ground truth — code is documentation."*
*p = p + a + up + b + task_s + c + tools_s + g + d + site_s + e + src + f + skill*
*p = "You are a Marqdo agent. Code is documentation: this runbook source and call site are your ground truth — not a hidden system prompt."*
*p = p + a + up + b + task_s + d + site_s + c + tools_s + e + src + f + skill + g*
**p**
---
+4 -3
View File
@@ -14,7 +14,8 @@ import json:lib/json.mq.md
+ `智能体`
+ `任务`
组装可读提示:站立提示、任务、工具、调用位置、源码、Skill,以及人可见的行动约定。
组装可读提示:站立提示、任务、**调用位置**、工具、源码、Skill,以及人可见的行动约定。
编排 `.mq.md` 即真相源(代码即文档)。
*standing = > json.get value=`智能体` key="standing"*
1. `standing`
@@ -39,8 +40,8 @@ import json:lib/json.mq.md
*f = > json.get value=`esc` key="f"*
*g = > json.get value=`esc` key="g"*
*p = "You are a Marqdo agent. The runbook source is your ground truth — code is documentation."*
*p = p + a + up + b + task_s + c + tools_s + g + d + site_s + e + src + f + skill*
*p = "You are a Marqdo agent. Code is documentation: this runbook source and call site are your ground truth — not a hidden system prompt."*
*p = p + a + up + b + task_s + d + site_s + c + tools_s + e + src + f + skill + g*
**p**
---