mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 21:19:28 +08:00
docs: 交付203兼容团队更新指南 (#260)
## 变更说明 / Description manage-teams 1.5.1 的最低客户端更正为 **10.0.203**。正式 release v10.0.203(源码 `33417de26273e31625317d2637a62bda4a9ffeae`)已包含团队成员统一更新主体:lock 只记录观察版本,已有成员保留本机内容,内容更新复用 Agent Sync,forceUpdate 仅保留兼容回执。 保留用户已决定的 tag/完整 commit 默认分支规则:精确来源 pin 与跟踪分支分开,同仓 repository.branch 优先,否则取真实远端 symbolic HEAD,并核对分支 OID。双语同时明确:203 尚不含产品 PR #5930 的这组补充,相关新装/无上游采纳入口会失败或延后,sourceConflict 也可能反映 pin 与跟踪分支差异。保留现有成员、报告具体限制并继续其它工作;不把旧“请用户选分支”恢复为通用策略,不猜未来最低版本。 Both locales set the real supported minimum to **10.0.203**, whose released source contains the main unified-member-update behavior. They retain the decided remote-default-branch policy while explicitly documenting the 203 limitations for the later #5930 tag/commit paths. No unsupported capability is attributed to 203, no future version is invented, and existing members and local history remain protected. 普通追加整合最新 main 后,本 PR 相对 main 仍只改 manage-teams 的三个文件;双语、sidecar、日期与官方生产摘要算法一致。未改许可、凭据、SDK、产品源码或授权。产品主体来源为 https://github.com/desirecore/desirecore/pull/5814 ,默认分支补充来源为 https://github.com/desirecore/desirecore/pull/5930 。 ## 验证 / Validation - `uv run scripts/i18n/validate-i18n.py skills/manage-teams`:0 errors,104 条已有治理证据提示。 - `uv run scripts/i18n/translate.py --check skills/manage-teams`:通过;双语人工同步,source_hash 使用当前生产函数计算,未调用翻译模型。 - `uv run scripts/catalog/validate_catalog_metadata.py --require-complete`:0 errors,104 条已有提示。 - 完整三文件 diff、通用示例及公开信息边界核对;检查完整工作树(包含隐藏、忽略及二进制文件,排除 .git)、本次 Git 与 PR 文本。 - 正常准确 head 门禁及 review 条件另取真实终态。未把源码祖先或旧验证代替已下载安装包运行验收。 Scoped i18n, translation freshness and strict catalog checks pass. The source hash is computed using the repository's production function without any model call. Complete diffs and the public-information boundary are reviewed. Exact-head merge checks remain required. 市场正常合入后,内置 market ZIP 将由主仓独立普通 PR 从已合入的唯一来源同步;不会从 draft 打包,也不会追溯改变已经发布的 203 安装器。本 PR 不发布客户端,不启用 Run writer v2。 After this market PR merges normally, a separate product PR will synchronize the bundled ZIP from the merged source. Existing released installers are unchanged; this is guide/source-seed delivery, not an application release or Run writer v2 activation.
This commit is contained in:
3 files changed
+38
-22
No files matched your search
@@ -2,7 +2,7 @@
|
||||
license: "MIT"
|
||||
name: manage-teams
|
||||
description: 创建和管理 Agent 团队,组织多 Agent 协作。Use when 需要多个 Agent 持续协作、建立组织架构,或发布、安装和同步团队仓库时。
|
||||
version: 1.5.0
|
||||
version: 1.5.1
|
||||
type: procedural
|
||||
risk_level: medium
|
||||
status: enabled
|
||||
@@ -13,7 +13,7 @@ tags:
|
||||
- organization
|
||||
metadata:
|
||||
author: desirecore
|
||||
updated_at: '2026-10-28'
|
||||
updated_at: '2026-11-16'
|
||||
i18n:
|
||||
default_locale: en-US
|
||||
source_locale: zh-CN
|
||||
@@ -26,7 +26,7 @@ metadata:
|
||||
description: >-
|
||||
创建和管理 Agent 团队,组织多 Agent 协作。Use when 需要多个 Agent 持续协作、建立组织架构,或发布、安装和同步团队仓库时。
|
||||
body: ./SKILL.zh-CN.md
|
||||
source_hash: sha256:1695a3d0b629eed5
|
||||
source_hash: sha256:49059437971354e5
|
||||
translated_by: human
|
||||
en-US:
|
||||
name: Team Management
|
||||
@@ -34,7 +34,7 @@ metadata:
|
||||
description: >-
|
||||
Create and govern Agent teams. Use when multiple Agents need sustained collaboration, an organizational hierarchy, or a team repository must be published, installed, or synchronized.
|
||||
body: ./SKILL.md
|
||||
source_hash: sha256:1695a3d0b629eed5
|
||||
source_hash: sha256:49059437971354e5
|
||||
translated_by: human
|
||||
market:
|
||||
icon: >-
|
||||
@@ -55,7 +55,7 @@ market:
|
||||
fill-opacity="0.7"/><circle cx="21.5" cy="4" r="0.9" fill="#34C759"
|
||||
fill-opacity="0.7"/></svg>
|
||||
category: productivity
|
||||
required_client_version: 10.0.192
|
||||
required_client_version: 10.0.203
|
||||
---
|
||||
|
||||
# manage-teams Skill
|
||||
@@ -113,8 +113,8 @@ A team defines organization, shared directories, and governance. Actual work is
|
||||
| `pull` | Pull and validate a team from its connected remote | `teamId`; enters approval |
|
||||
| `add_remote` | Configure or replace a publishing destination | `teamId`, `url`; optional `connectionId`, `branch`, `isPrivate`; does not create a repository |
|
||||
| `remove_remote` | Remove remote configuration and the local connection binding | `teamId`; leaves the remote repository intact |
|
||||
| `install_members` | Install or repair members from the existing lock | `teamId`; optional `forceUpdate`, default false |
|
||||
| `upgrade_members` | Resolve a new lock and attempt safe updates | `teamId`; optional `forceUpdate`, default true; preserves local edits and commits |
|
||||
| `install_members` | Install missing members as upstream forks; retain existing members | `teamId`; `forceUpdate` is deprecated and does not change content |
|
||||
| `upgrade_members` | Record actual current member HEADs and versions; install missing members | `teamId`; use Agent Sync to update member content |
|
||||
| `release` | Create a local version or publish one exact version | `teamId`; `push` defaults to false, optional `changelogEntry`, `expectedCommit`; retry with `releaseTag` |
|
||||
|
||||
### 3. Create a Team
|
||||
@@ -167,7 +167,7 @@ Example:
|
||||
|
||||
- Prefer batch member actions to avoid observable intermediate states.
|
||||
- `set_supervisor` uses `agentId`; first verify that the Agent does not already supervise another team.
|
||||
- `set_member_source` declares provenance, it does not move files. A team whose roster still contains a `local` member is **not distributable** — `members.lock.json` cannot pin an ID that exists only on this machine, so a fork elsewhere would silently come up short a member. Switch each member to `git` or `registry` before publishing. The action resolves and writes the lock automatically; inspect its receipt. It cannot change a member's `role`; use `set_supervisor` for that.
|
||||
- `set_member_source` declares provenance, it does not move files. A team whose roster still contains a `local` member is **not distributable** — `members.lock.json` cannot provide an installable source for an ID that exists only on this machine, so a fork elsewhere would silently come up short a member. Switch each member to `git` or `registry` before publishing. The action resolves and writes the lock automatically; inspect its receipt. It cannot change a member's `role`; use `set_supervisor` for that.
|
||||
- `update` is a patch: omitted fields remain unchanged.
|
||||
- `parentTeamId: null` detaches the team and makes it top-level; an empty string is invalid.
|
||||
- `type` only allows `ephemeral → persistent`. Repeating the current value is idempotent; use `promote` for an explicit upgrade.
|
||||
@@ -209,7 +209,7 @@ Remote `fork_team/push/pull` must go through `ManageTeam` because it enforces te
|
||||
|
||||
- `push/pull` require a remote configuration. Use `add_remote` to configure the destination and an existing connection when needed. Client team settings are also available; the Agent chooses the configuration path.
|
||||
- Locally created and forked teams do not inherit a directly pushable remote configuration by default.
|
||||
- `fork_team` defaults to `installMembers=true`; a same-ID local Agent that has diverged from its lock is protected and skipped rather than overwritten.
|
||||
- `fork_team` defaults to `installMembers=true`; an existing same-ID Agent keeps its current content. Differences from team records or other sources are observations, not a reason to block work or overwrite it.
|
||||
- `pull` may replace local team configuration. Inspect local state first and identify the target remote in the approval card.
|
||||
|
||||
Release and member versions:
|
||||
@@ -217,11 +217,19 @@ Release and member versions:
|
||||
- `release` defaults to a local version. Set `push=true` for publication; approval identifies the target and version. Only the branch and this exact release tag are pushed, never all tags or private backup/archive refs.
|
||||
- Inspect the team with `get`; constrain a new release HEAD with `expectedCommit`. Inspect `tag/version/commitHash` and `branchPushed/tagPushed/pushed` separately.
|
||||
- After network failure or an unknown remote outcome, inspect the remote and retry with the returned `releaseTag`; do not create another version. Omit `changelogEntry` on retries.
|
||||
- `install_members` follows the exact existing lock. `upgrade_members` resolves declarations and attempts safe updates to new pins. Both preserve local edits and commits, avoid downgrades, and do not approve installed content.
|
||||
- `complete=false` or `outdated/diverged/failed/unreachable` means members remain unaligned. Neither `success=true`, skipped counts nor zero failures proves all members were upgraded. Inspect each receipt before choosing repairs.
|
||||
- Conflicting pins for an Agent shared by multiple teams do not authorize overwriting a local fork; preserve data and report the conflict.
|
||||
- Team locks record validated/observed versions; they do not pin member delivery. `install_members` creates missing members as forks of their declared branches or approved Market sources. `upgrade_members` records actual current HEADs/versions and installs missing members. `forceUpdate` is a deprecated compatibility field. Use Agent Sync for detection, safe updates, confirmed merges, conflicts and explicit reset; content approval remains separate.
|
||||
- Complete repositories follow the declared branch. Market pointers and subdirectories retain the reviewed-pin boundary. A tag/full 40-character commit source pin remains distinct from its tracking branch: reuse `repository.branch` declared by the same repository at the pinned source, otherwise use the actual remote symbolic HEAD and verify the readable branch OID. Never guess main/master, treat a tag name as a branch, or replace the source pin with a branch tip. This is the current decided rule; release limitations are described below.
|
||||
- Read each member’s `lockRelation`, `upstreamStatus`, `deliverySources` and `sourceConflict`. Ahead/behind/diverged relative to a team record does not block an existing member or cause a downgrade. Multiple sources are presented together; the Agent chooses a source explicitly and keeps work moving. Busy, dirty or conflicting legacy repositories retain all local content and commits until their existing recovery/update path can be used.
|
||||
- Inspect per-member failures when `complete=false` or status is `failed/unreachable`. Historical `outdated/diverged` results relative to a team record do not prove a member is unusable. Success, skipped counts or zero failures do not prove all upstream updates were applied or that a business task is complete.
|
||||
- Different sources or version records for a shared Agent do not establish an implicit priority. Keep current content, report the sources together, and let the Agent choose.
|
||||
- Remote actions, remote-source declarations and destination configuration enter approval. `ask-external` retains approval for them; `allow-all` respects the user's full trust in the acting Agent.
|
||||
|
||||
### Client Compatibility
|
||||
|
||||
- Minimum client: **10.0.203**. The released 203 source includes the main unified-member-update behavior above. It does not include the later tag/commit installation, adoption without an upstream declaration, or remote-default-branch resolution changes from product PR #5930.
|
||||
- On 10.0.203, those tag/commit paths fail or defer; an existing member with its own upstream declaration continues using its current content. `sourceConflict` may also reflect a source-pin/tracking-branch difference rather than a distinct repository. Inspect the actual per-member receipt, report the precise unfinished item, and continue unaffected work.
|
||||
- This is a 203 implementation limitation, not a request for the user to choose a tracking branch again. Do not change source refs, guess branches, rebind origin or overwrite local content to bypass it. When that sub-capability is required, first verify that the actual released client contains the remote-default-branch implementation; do not assume a future version number or claim that 203 supports it.
|
||||
|
||||
### 7. Dispatch and Finish
|
||||
|
||||
After team creation, dispatch work to the supervisor or members with `Delegate`:
|
||||
|
||||
Reference in new issue
Block a user