Skip to content

fix: align AgentTeams runtime naming defaults#1041

Merged
shiyiyue1102 merged 5 commits into
mainfrom
codex/fix-agentteams-rename-defaults
Jul 16, 2026
Merged

fix: align AgentTeams runtime naming defaults#1041
shiyiyue1102 merged 5 commits into
mainfrom
codex/fix-agentteams-rename-defaults

Conversation

@shiyiyue1102

@shiyiyue1102 shiyiyue1102 commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • switch Helm storage and controller resource defaults to AgentTeams names
  • register both the new #agentteams-* and legacy #hiclaw-* Matrix AppService alias namespaces
  • make the OpenHuman entrypoint consume canonical AGENTTEAMS_* variables while retaining HICLAW_* fallbacks
  • add focused contract coverage for the renamed defaults
  • correct the English, Chinese, and Japanese README legacy-name text to “formerly HiClaw”
  • reorganize changelog/current.md for the v1.2.0-beta1 window against v1.1.2

Why

Fresh deployments still created HiClaw-prefixed resources and storage paths. OpenHuman also read legacy environment variables instead of the controller-injected AgentTeams contract, while the AppService registration only claimed legacy room aliases.

The existing unreleased changelog mixed incremental bullets and duplicated sections, and the README rename had mechanically produced “AgentTeams (formerly AgentTeams)”.

Impact

Fresh installs use AgentTeams naming. Existing HiClaw environment variables and Matrix aliases remain compatible.

The beta changelog now highlights migration boundaries, major features and fixes, and summarizes the 66-commit window since v1.1.2 into 15 functional areas.

Validation

  • GOCACHE=/private/tmp/agentteams-go-cache go test ./... (hiclaw-controller)
  • bash tests/check-agentteams-rename-defaults.sh
  • bash -n openhuman/scripts/openhuman-worker-entrypoint.sh
  • helm lint helm/hiclaw
  • helm template hiclaw helm/hiclaw --set credentials.registrationToken=test --set credentials.adminPassword=test --set credentials.llmApiKey=test --set gateway.publicURL=http://localhost:18080
  • verified changelog/current.md contains 15 functional entries covering the v1.1.2..HEAD release scope
  • git diff --check

Change-Id: I4890bf9516a3f7a44be6cf56233377b8a8e7bc6f
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=copaw / wk=hermes)

Commit: 1007e6f
Workflow run: #1672

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr-2 / mgr=copaw / wk=copaw)

Commit: a6ffc23
Workflow run: #1676

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction-2 / mgr=openclaw / wk=openclaw)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=copaw / wk=copaw)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr / mgr=copaw / wk=hermes)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction / mgr=openclaw / wk=openclaw)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction-2 / mgr=copaw / wk=hermes)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (llm-interaction-2 / mgr=copaw / wk=copaw)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr / mgr=copaw / wk=copaw)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

❌ Integration Tests Failed (controller-cr / mgr=openclaw / wk=openclaw)

Commit: b58beec
Workflow run: #1671

Test Results
No test output captured.
Debug Log (tail)
No debug logs available.

📦 Download full debug logs & test artifacts

Change-Id: I785abf93e8fefbf9df109bc1d799fd300b147e3d
Change-Id: I894835a01ab34af9e811dbf061b63e13ade0b5fd
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

📊 CI Metrics Report

Summary

Metric Current Baseline Change
LLM Calls 64 81 -17 ↓ -21.0%
Input Tokens 1753922 2803871 -1049949 ↓ -37.4%
Output Tokens 10063 16791 -6728 ↓ -40.1%
Total Tokens 1763985 2820662 -1056677 ↓ -37.5%

By Role

Role Metric Current Baseline Change
🧠 Manager LLM Calls 56 68 -12 ↓ -17.6%
Input Tokens 1575995 2502214 -926219 ↓ -37.0%
Output Tokens 9040 13725 -4685 ↓ -34.1%
Total Tokens 1585035 2515939 -930904 ↓ -37.0%
🔧 Workers LLM Calls 8 13 -5 ↓ -38.5%
Input Tokens 177927 301657 -123730 ↓ -41.0%
Output Tokens 1023 3066 -2043 ↓ -66.6%
Total Tokens 178950 304723 -125773 ↓ -41.3%

Per-Test Breakdown

Test Mgr Calls Wkr Calls Δ Calls Mgr In Wkr In Mgr Out Wkr Out Δ Tokens Trend
02-create-worker 3 0 -9 ↓ -75.0% 78626 0 563 0 -279433 ↓ -77.9% ✅ improved
03-assign-task 13 5 +3 ↑ +20.0% 288942 112719 1754 545 -69696 ↓ -14.7% ⚠️ regressed
04-human-intervene 12 0 -1 ↓ -7.7% 285528 0 1457 0 -146013 ↓ -33.7% ✅ improved
05-heartbeat 6 0 -1 ↓ -14.3% 167910 0 998 0 -106344 ↓ -38.6% ✅ improved
06-multi-worker 22 3 -9 ↓ -26.5% 754989 65208 4268 478 -455191 ↓ -35.6% ✅ improved

Trends

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


Generated by HiClaw CI on 2026-07-16 15:22:11 UTC


📦 Download debug logs & test artifacts

Change-Id: I1798a94b35c1aeecfa9ff3b359285a2f7ca1a08a
Change-Id: If4d3e6bc6145aa1567df7e89a7406901af41fc38

@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 and the AgentTeams runtime naming default alignment looks good under the agreed review scope. Approving.

@shiyiyue1102
shiyiyue1102 marked this pull request as ready for review July 16, 2026 17:02
@shiyiyue1102
shiyiyue1102 merged commit 581dc37 into main Jul 16, 2026
23 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