Skip to content

feat: native activation checks and guarded agent harness execution - #8

Merged
QIU-Guanzong merged 2 commits into
mainfrom
codex/native-runtime-automation
Oct 13, 2026
Merged

QIU-Guanzong merged 2 commits into
mainfrom
codex/native-runtime-automation

Conversation

@QIU-Guanzong

@QIU-Guanzong QIU-Guanzong commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

An installed AI runtime now has a verifiable path to the local coordination layer. Add an isolated embedded OpenClaw profile and a verifier that distinguishes missing/conflicting project files, stdio transport, native OpenClaw discovery and untested model access. WorkBuddy uses the current documented .codebuddy/skills and .workbuddy/mcp.json project paths; prior import kits and global settings remain untouched.

Add CLI-only worker run for an explicitly chosen trusted argv. It claims/guards work, invokes the harness without a shell, checks changes, finishes the original claim and sends selected handoffs. A separate worktree lock prevents concurrent runner invocations. Execution failures retain the claim and edits. Opt-in inbox handling accepts only explicit delivered-message receipt IDs and refuses project edits or undelivered ACKs. No arbitrary-command MCP tool, automatic retry, daemon or code approval.

Native evidence: installed OpenClaw 2026.6.8 validated an isolated profile, discovered six workspace Skills and used its actual SessionMcpRuntime for task/claim/completion/handoff calls. A deterministic external harness received the handoff and completed downstream work. No model was invoked. WorkBuddy 5.7.7 official application signature passed; UI inspection timed out and was deferred at the user’s request. OpenClaw model credentials were unavailable and Claude CLI was not logged in.

Validation: 49 focused runner/verifier/setup/integration tests passed. 380 full source tests and 380 independently installed-wheel tests passed on the final head with stable receipts. All four Ubuntu/Windows Python 3.10/3.13 CI jobs and branch digest passed. Includes an ASCII-locale regression for UTF-8 Chinese task/message packets. Native plugin/Skill validation, mirrored assets, config, JSON/YAML and changed local links passed. Adds realistic use-case/search entry points and package metadata without claiming adoption, rankings or productivity gains. Includes task brief, manifest, branch digest and native evidence.

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

CoProgrammer 分支消化报告

分支消化报告

生成时间: 2026-10-13T03:15:36+00:00

Base: base/main
Head: HEAD

分支意图

TODO: 说明这个分支要解决的问题。

核心贡献

TODO: 列出值得保留的思路、实验结果和实现决策。

变更文件

  • M README.md
  • M README.zh-CN.md
  • M docs/EXTENDED_AI_INTEGRATIONS.md
  • A docs/NATIVE_RUNTIME_WORKFLOW.md
  • M docs/PLUGIN_QUICKSTART.md
  • A docs/USE_CASES.md
  • A docs/upgrade-v0.3-a5/branch-digest.md
  • A docs/upgrade-v0.3-a5/change-manifest.json
  • A docs/upgrade-v0.3-a5/native-evidence.json
  • A docs/upgrade-v0.3-a5/task-brief.md
  • A docs/upgrade-v0.3-a5/validation.md
  • M plugins/coprogrammer/.claude-plugin/plugin.json
  • M plugins/coprogrammer/.codex-plugin/plugin.json
  • M plugins/coprogrammer/plugin.json
  • M plugins/coprogrammer/skills/coprogrammer-project-setup/SKILL.md
  • M pyproject.toml
  • M src/coprogrammer/__init__.py
  • M src/coprogrammer/assets/skills/coprogrammer-project-setup/SKILL.md
  • M src/coprogrammer/cli.py
  • A src/coprogrammer/example_harness.py
  • M src/coprogrammer/integrations.py
  • A src/coprogrammer/runner.py
  • A src/coprogrammer/runtime_verify.py
  • M src/coprogrammer/setup.py
  • M src/coprogrammer/worker_cli.py
  • M tests/test_extended_integrations.py
  • A tests/test_runner.py

提交摘要

  • b43e107 fix: read harness packets as UTF-8 bytes across client locales
  • 2bb6ce1 feat: verify native runtimes and automate explicit harness collaboration

契约与架构信号

  • 构建/依赖
    • pyproject.toml

风险等级

medium

受保护路径命中

  • pyproject.toml matches pyproject.toml [medium] (package and entrypoint configuration; 需要 owner review)
  • src/coprogrammer/cli.py matches src/coprogrammer/cli.py [medium] (CLI behavior affects PR digest generation)

噪声 / 非必要变更

TODO: 标记格式化扰动、大范围重写、临时调试、生成物或无关重构。

融合计划

TODO: 说明如何基于最新 main 重建最小安全补丁。

需要验证

  • 格式化
  • Lint 检查
  • 类型检查
  • 单元测试
  • 集成测试
  • 契约测试
  • 受保护区域 owner review

需要人工判断

TODO: 列出不应交给自治 agent 决定的问题。

由 CoProgrammer 生成。

@QIU-Guanzong
QIU-Guanzong marked this pull request as ready for review October 13, 2026 03:15
@QIU-Guanzong
QIU-Guanzong merged commit 6688b3a into main Oct 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants