Integrate KunlunCode native Goal Pro with LoopX - #2791
Integrate KunlunCode native Goal Pro with LoopX#2791yixuanchen189756-source wants to merge 8 commits into
Conversation
27e9348 to
f528e70
Compare
|
Premerge validation receipt
This coverage is sufficient because it combines the complete Python suite, host identity/runtime contract tests, existing Claude compatibility smokes, risk-selected control-plane checks, direct public-boundary scanning, and an actual KunlunCode MCP lifecycle. This is a runtime change and remains a draft for maintainer review; no self-merge is proposed. |
# Conflicts: # tests/test_host_loop_activation.py
|
Updated pre-merge validation receipt (supersedes the earlier bounded-worker receipt)
This coverage is sufficient because it combines the complete repository suite, post-mainline-merge host/controller regressions, a real installed native Goal Pro protocol run with recovery and verifier proof, changed-path static checks, risk-selected canaries, documentation structure validation, and direct public/private boundary enforcement. This is a runtime change and remains a draft for maintainer review; no self-merge is proposed. |
Summary
2026-07-27app-server protocolkunlunagent identity, uv-managed provisioning, a real protocol smoke, and complete Chinese Markdown and HTML operator guidesWhy
KunlunCode
/goaland/goal-proare interactive host commands; a model cannot reliably select those commands for itself. The earlier adapter exposed LoopX lifecycle tools to a bounded worker but did not programmatically activate KunlunCode's native long-running goal mode. This change moves activation to the LoopX controller by callingthread/goal/setandturn/startdirectly through app-server.Execution model
should_runand claims the agent-scoped todo.completegoal withverification_passedmay be written back to LoopX.User impact and authority boundary
Users invoke
loopx-kunluncode run --mode goal-pro; neither the user nor the model needs to type/goal-pro. Activation grants no additional repository, publishing, destructive, credential, production, or external-service authority. Raw model output, trajectories, credentials, absolute paths, and verifier tails are excluded from the durable runtime journal and public evidence.The adapter uses a project
.venvmanaged withuv. It can be disabled per invocation, disconnected from a project, or uninstalled using the documented commands without mutating unrelated KunlunCode configuration.Documentation
docs/guides/kunluncode-adapter.zh-CN.mddocs/guides/kunluncode-adapter.zh-CN.htmlloopx/kunluncode_goal_mode/README.mdThe public first screen was previewed and approved before publication.
Validation
2037 passed, 2 skipped92 passedverification_passed, and same-thread resume passedloopx canary premerge --from-git-diff --tier standard: 18/18 checks passed, 0 failures, 0 warnings, 0 advisory failures, 0 manual holdsReview notes
Changed surfaces are the KunlunCode app-server client, outer controller, control-plane writeback seam, MCP/direct-CLI write guards, host activation/help projection, focused tests, durable protocol smoke, and public operator documentation. The latest
origin/mainis merged into the branch. This changes runtime behavior and intentionally remains a draft for maintainer review; no self-merge is proposed.