feat: complete ClawOSS continuous-run MVP validation#13
Merged
Protocol-zero-0 merged 9 commits intoMay 17, 2026
Conversation
feat: make runtime config env-driven and sync dashboard state
ClawOSS 连续运行 MVP:budget pause 验收脚本
ClawOSS 连续运行 MVP
7 tasks
550aa5b
into
billion-token-one-task:v6-release
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10
Builds on #9
实现了什么
本 PR 完成 ClawOSS 长期运行 MVP 的受控验收闭环,重点证明它能持续循环、持续发现 issue、持续过滤不适合提交的任务,并走到 PR preflight,或在受控 dry-run 下停在
gh pr create之前。scripts/mvp-runner.mjs,作为受控 dry-run 验证器,用来证明 continuous-run MVP 闭环;它不是 OpenClaw 服务启动入口。scripts/verify-budget-pause.sh,用于验证预算触发暂停的行为。npm run mvp:dry-run、npm run mvp:verify-budget-pause。.env.example,补充模型、provider、token budget、cost budget、cycle 数、候选数量、discovery repos、dashboard 地址等配置。.gitignore,避免提交.env、本地 runtime state、临时 workdir、raw MVP run artifacts 和可能含 secret 的本地 service 文件。如何启动
推荐的服务启动入口是
npm run startup,它会先做预检,然后执行setup.sh和restart.sh。npm run startup- 预检 + 安装/更新配置 + 重启 gateway,是一键启动入口。npm run start- 直接走 scripts/start.sh,注册 agent / cron 并启动 gateway。npm run startup:check- 只做预检,不会真正拉起 gateway 或后台任务。npm run mvp:dry-run- 只做受控验收,不负责启动服务。如何配置资源
主要资源和运行参数都放在
.env.example和.env里,通过下面这些项控制:CLAWOSS_PRIMARY_PROVIDER、CLAWOSS_PRIMARY_MODEL、CLAWOSS_MODEL_NAMECLAWOSS_TOKEN_BUDGET_TOTAL、CLAWOSS_COST_BUDGET_USD_TOTALCLAWOSS_MVP_CYCLES、CLAWOSS_MVP_MAX_CANDIDATESCLAWOSS_MVP_DISCOVERY_REPOSDASHBOARD_URL、CLAW_API_KEYGITHUB_TOKEN、GITHUB_USERNAME、CLAW_AGENT_USERNAME如何查看 dashboard
验收 Dashboard 地址:https://yuanbaomao.cyou/
该地址用于查看 ClawOSS 的 heartbeat、state、logs、metrics、PR 状态、预算状态和 pause guardrail 行为。
如何复现验收
预期行为:
reports/mvp-run-*.json和reports/mvp-run-*.md。gh pr create之前。实际运行结果
这份汇总同时包含真实 PR 生命周期记录和受控 dry-run 验收:真实 PR 用于证明外部链路已打通,dry-run 用于证明连续循环、过滤和 guardrail 行为。
受控运行报告
controlled dry-run evidence10/10606320gh pr create前,没有创建外部真实 PR。before gh pr createnpm run mvp:verify-budget-pause38Issue 明细样例
billion-token-one-task/ClawOSS#10controlled dry-run evidence10/10cycles,发现60条 records、6个 unique candidates、过滤后3个、尝试2个任务、真实 PR0。onthebed/ClawOSS#9cli/cli#13283gh pr create之前。vitest-dev/vitest#10211gh pr create之前。cli/cli#13280superseded: 2 open PR(s) already linked,后来又出现 competing PR 过滤。vitest-dev/vitest#10204superseded: 1 open PR(s) already linked。vitest-dev/vitest#10199superseded: 2 open PR(s) already linked。astral-sh/ruff#24840superseded: 1 open PR(s) already linked。browser-use/browser-use#4752PR #4753 submitteddiscovered -> triage -> implementation -> linkage -> verification -> PR,PR 仍 open。vercel/ai#14766PR #14776 submitteddiscovered -> implementation -> runtime log -> state snapshot,issue 和 PR 仍 open。AtalayaLabs/OxiCloud#318duplicate-prone abandoned lane。AtalayaLabs/OxiCloud#328stayed in staging, no implementation lane spawned。Issue 生命周期汇总
382browser-use/browser-use#4752、vercel/ai#14766。2AtalayaLabs/OxiCloud#318、AtalayaLabs/OxiCloud#328。3421billion-token-one-task/ClawOSS#10,用于证明连续运行 MVP 闭环。没有实现什么
Future Work
cloudflare/sandbox-sdk#646的ci/gatefailure 和 review。