Skip to content

refactor: complete AgentTeams runtime rename#1063

Merged
shiyiyue1102 merged 2 commits into
mainfrom
codex/complete-agentteams-rename
Jul 20, 2026
Merged

refactor: complete AgentTeams runtime rename#1063
shiyiyue1102 merged 2 commits into
mainfrom
codex/complete-agentteams-rename

Conversation

@shiyiyue1102

Copy link
Copy Markdown
Collaborator

Summary

  • rename the public installer and helper entrypoints to agentteams-*, and update Release Quick Start and current documentation
  • rename the Helm chart directory, chart name, and template helpers from hiclaw to agentteams
  • rename hiclaw-controller to agentteams-controller, move the Go module to github.com/agentscope-ai/AgentTeams/agentteams-controller, and make agt the canonical CLI
  • rename runtime filesystem defaults to /opt/agentteams, /root/agentteams-fs, /var/log/agentteams, /var/run/agentteams, and /data/agentteams-*
  • update CI, image build contexts, tests, docs, and Agent-facing assets to use the canonical AgentTeams names

Upgrade compatibility

  • keep deprecated hiclaw-* installer/helper wrappers and the hiclaw CLI symlink
  • preserve existing resource names when upgrading a Helm release still named hiclaw
  • migrate legacy env files, runtime paths, CoPaw state, and the embedded kine database; bind mounts that cannot be moved are exposed through canonical symlinks
  • keep legacy image fallbacks and persisted/external contracts such as sts-hiclaw, hiclaw-gateway, builtin marker names, the Docker proxy name, and legacy Matrix aliases
  • leave historical changelogs, blog posts, and the legacy FAQ unchanged

Validation

  • go test ./... in agentteams-controller
  • helm lint helm/agentteams
  • bash tests/check-helm-rename-compat.sh
  • bash tests/check-agentteams-rename-defaults.sh
  • bash shared/tests/test-agentteams-paths.sh
  • bash shared/tests/test-agentteams-env.sh
  • bash shared/tests/test-oss-credentials.sh
  • Manager builtin merge tests and find-skill tests
  • bash tests/test-16-import-worker-package-default.sh
  • CoPaw config migration unit test
  • shell syntax, PowerShell parser, CRD sync, and git diff --check

This is intentionally a Draft PR because the repository-wide mechanical rename is large and should receive focused compatibility review before merge.

Change-Id: I7b7caa7aaf141bd01ceac9df1cceaf52f322f7e6
Change-Id: Ic5023d871ac5b30fde36988199cb09be39c6bca2
@github-actions

Copy link
Copy Markdown
Contributor

📊 CI Metrics Report

Summary

Metric Current Baseline Change
LLM Calls 95 97 -2 ↓ -2.1%
Input Tokens 2735882 2719498 +16384 ↑ +0.6%
Output Tokens 18442 16508 +1934 ↑ +11.7%
Total Tokens 2754324 2736006 +18318 ↑ +0.7%

By Role

Role Metric Current Baseline Change
🧠 Manager LLM Calls 74 72 +2 ↑ +2.8%
Input Tokens 2233184 2092724 +140460 ↑ +6.7%
Output Tokens 13876 10274 +3602 ↑ +35.1%
Total Tokens 2247060 2102998 +144062 ↑ +6.9%
🔧 Workers LLM Calls 21 25 -4 ↓ -16.0%
Input Tokens 502698 626774 -124076 ↓ -19.8%
Output Tokens 4566 6234 -1668 ↓ -26.8%
Total Tokens 507264 633008 -125744 ↓ -19.9%

Per-Test Breakdown

Test Mgr Calls Wkr Calls Δ Calls Mgr In Wkr In Mgr Out Wkr Out Δ Tokens Trend
02-create-worker 5 0 0 — 0% 134894 0 708 0 -1386 ↓ -1.0% — unchanged
03-assign-task 11 7 +5 ↑ +38.5% 308402 156357 1489 1053 +157121 ↑ +50.7% ⚠️ regressed
04-human-intervene 13 0 -1 ↓ -7.1% 337080 0 1977 0 +2620 ↑ +0.8% ✅ improved
05-heartbeat 8 0 +1 ↑ +14.3% 253838 0 1709 0 +57343 ↑ +28.9% ⚠️ regressed
06-multi-worker 37 14 -7 ↓ -12.1% 1198970 346341 7993 3513 -197380 ↓ -11.3% ✅ improved

Trends

2 test(s) improved (fewer LLM calls)
⚠️ 2 test(s) regressed (more LLM calls)


Generated by HiClaw CI on 2026-07-20 05:16:08 UTC


📦 Download debug logs & test artifacts

@shiyiyue1102
shiyiyue1102 marked this pull request as ready for review July 20, 2026 06:38
@shiyiyue1102
shiyiyue1102 requested a review from maplefeng-a July 20, 2026 10:55

@maplefeng-a maplefeng-a left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is green. I reviewed the runtime rename compatibility paths; the remaining compatibility nits look non-blocking for this rename, so approving.

@shiyiyue1102
shiyiyue1102 merged commit e6fa64c into main Jul 20, 2026
24 checks passed
nattiini45 added a commit to nattiini45/AgentTeams that referenced this pull request Jul 23, 2026
* fix: align AgentTeams runtime naming defaults (agentscope-ai#1041)

* fix: prepare beta release workflow (agentscope-ai#1054)

* fix: harden beta release gates (agentscope-ai#1056)

* fix(cli): reject unsafe plugin archive links (agentscope-ai#1043)

* fix(scripts): redact complete Matrix events (agentscope-ai#1047)

* fix(migrate): analyze current cron job format (agentscope-ai#1049)

* fix(migrate): print runnable ZIP import command (agentscope-ai#1048)

* fix(replay): capture immediate manager replies (agentscope-ai#1045)

* fix(hack): persist containerized skopeo auth (agentscope-ai#1050)

* chore: archive changelog for v1.2.0-beta.1 (agentscope-ai#1058)

Co-authored-by: shiyiyue1102 <20452676+shiyiyue1102@users.noreply.github.com>

* fix(copaw): route Team Leader assignments to Team Room (agentscope-ai#1060)

* fix(install): user can specify which docker.sock to mount when run install script (agentscope-ai#553)

* docs: clarify Element homeserver port (agentscope-ai#978)

Co-authored-by: Ziyang Guo <121015044+RunMarshal@users.noreply.github.com>

* docs: clarify Higress AI route matching (agentscope-ai#980)

Co-authored-by: Ziyang Guo <121015044+RunMarshal@users.noreply.github.com>

* docs: clarify OpenAI-compatible provider setup (agentscope-ai#1013)

* refactor: complete AgentTeams runtime rename (agentscope-ai#1063)

* refactor: complete the AgentTeams hard-cut rename (agentscope-ai#1065)

* docs: add v1.2.0-beta.1 release news (agentscope-ai#1066)

* feat(sync): restore fork-only product trees on agentteams paths

Replay dashboard Helm templates under helm/agentteams, dashboard values and
helpers, qwenpaw worker image defaults, and path-adapted remediation-gates
(agentteams-controller / helm/agentteams). Root dashboard/, shared/python/,
openwiki/, and Gastown skills already survived the merge baseline.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat(controller): port fork Project CRD, health, APIs, and status CLI

Replay fork-only agentteams-controller features onto the upstream rename
baseline: Project CRD/reconciler/Helm, health monitor, message and
manager-tasks APIs, worker health probes, managerstate CLI, enhanced agt
status overview, SoloOperator/QwenPaw/docker resource wiring, and related
tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat(runtimes): restore quiet-rooms and Higress extra-provider prefix strip

Keep upstream CoPaw Team Leader DM-to-Team-Room routing while replaying
fork AGENTTEAMS_QUIET_ROOMS bridge/channel wiring. Restore OPT-IN
AGENTTEAMS_EXTRA_LLM_PROVIDERS setup with modelMapping prefix strip in
setup-higress.sh (route names agentteams-*-route).

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs(sync): truth-up migration doc, merge changelog, agt naming sweep

Rewrite upstream-integration-migration.md for rename acceptance + fork
overlay DoD (drop dual-CRD/HICLAW_* claims). Merge changelog entries from
both sides. Point pre-commit and openwiki paths at agentteams-controller /
helm/agentteams. Align agent-facing CLI examples to agt.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(qwenpaw): resolve Windows file:// agent package refs

urlparse puts file://C:\path entirely in netloc with an empty path; Path('') became cwd and silently copied the repo instead of the package archive.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(ci): purge brand leftovers and restore fork runtime bridge/sync

Clear remaining retired-brand strings/paths so helm-lint rename gate passes, restore CoPaw fork bridge/worker APIs and Hermes thin sync semantics, and harden installer prompt helpers with printf -v.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(copaw): restore Matrix channel APIs and thin sync wrapper

Bring back fork Matrix channel behavior needed by worker tests, switch sync back to the agentteams_sync wrapper, and share filesync helpers via _toolhelpers.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(sync): restore agentteams- bucket prefix stripping for team storage

The rename pass incorrectly shortened the hiclaw- bucket prefix check to agt-, breaking team path derivation for agentteams-* buckets.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(security): remediate Kilo review findings on sync/upstream-main

Harden appservice token compare, proxy body limits, lifecycle error logging,
Helm image/RBAC/CRD alignment, OpenHuman TOML escaping, and storage alias safety.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(helm): avoid retired brand in storage.bucket comment

Rename gate rejects hiclaw tokens even in comments; keep migration note brand-free.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: shiyiyue1102 <zunfei.lzf@alibaba-inc.com>
Co-authored-by: Ziyang Guo <121015044+RerankerGuo@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shiyiyue1102 <20452676+shiyiyue1102@users.noreply.github.com>
Co-authored-by: Daniel Qian <chanjarster@gmail.com>
Co-authored-by: Ziyang Guo <121015044+RunMarshal@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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