Commit Graph
876 Commits
Author SHA1 Message Date
gengruilin e776e58b02 test(feishu): refresh the skills snapshot after the master sync 2026-11-02 16:46:34 +08:00
gengruilin b6fc8a773e Merge branch 'feat/cli-account' into feat/feishu-plugin
# Conflicts:
#	docs/capability-seams.i18n.yaml
#	docs/config-catalog.md
#	docs/config-catalog.zh.md
#	packages/client/README.i18n.yaml
#	packages/extensions/tool-cordis/src/api-catalog.ts
#	scripts/gen-cordis-catalog.ts
#	scripts/product-package-policy.ts
#	tsconfig.client.json
2026-11-01 02:09:29 +08:00
Dudu-0223andimccyu 0487699ae4 feat(subagent): share ID-based identity and collaboration guidance (#7519)
* feat(subagent): share identity and collaboration guidance

* fix(subagent): complete shared guidance snapshot expectations

* fix(subagent): match task descriptions to the user language

* refactor(subagent): retain shared guidance with Session ids

* test(subagent): recognize parent ids in shared identity

* Checkpoint ID collaboration guidance generated expectations

* Preserve historical Web schema sidecars

* fix(test-support): preserve job references during snapshot refresh

* test(subagent): refresh ID-only collaboration guidance outputs

* fix(subagent): rely on list_agents tool description

* fix(subagent): keep collaboration guidance consistent with live identity

* test(team): parse parent identity from shared guidance

* test(subagent): address parent from shared identity context

* test(subagent): refresh compiled Web guidance snapshots

* test(subagent): refresh browser collaboration context fixtures

* docs(subagent): attribute required identity to standard controls

* fix(subagent): clarify collaboration identity prompts

* test(subagent): remove duplicate PowerShell collaboration context

* refactor(subagent): match unavailable-root errors by name and code

---------

Co-authored-by: imccyu <[email protected]>
2026-10-31 22:38:07 +08:00
Dudu-0223 9656ecb162 Merge commit '0f434d505aba1220d92015d61cc64e39442f6304' into refactor/restack-id-polish 2026-10-30 16:04:30 +08:00
Dudu-0223 5c0bfd1193 merge: refresh ID-only UI from validated core snapshot headers 2026-10-30 16:03:54 +08:00
Dudu-0223 63ac6b46a6 test: refresh merged subagent tool schemas 2026-10-30 16:02:36 +08:00
Dudu-0223 454374be98 Merge current master through ID-only Team UI into polish 2026-10-30 15:16:28 +08:00
Dudu-0223 43c4919f86 merge: refresh ID-only Team UI from core master updates 2026-10-30 15:13:05 +08:00
Dudu-0223 71676cbc21 Merge master into the ID-only subagent and Team core 2026-10-30 14:57:57 +08:00
Dudu-0223 dcc3bde068 test(ui): refresh ID-only teamwork and subagent expectations 2026-10-30 14:52:15 +08:00
Dudu-0223 6766a694fc Merge refreshed ID-only Team base into UI polish 2026-10-30 14:40:43 +08:00
Dudu-0223 210e5094d3 test(subagent): refresh ID receipts and settlement attribution 2026-10-30 14:38:53 +08:00
Dudu-0223 b5fed8ca06 test(team): refresh ID-only UI and session snapshots 2026-10-30 14:37:04 +08:00
Dudu-0223 5a052d6767 Merge ID-only Team base into agent teamwork UI polish 2026-10-30 14:32:55 +08:00
Dudu-0223 0eb1bb52e2 refactor(team): keep session UI and task tools keyed by IDs 2026-10-30 14:25:27 +08:00
Dudu-0223 1e44387042 fix(subagent): render creation receipts from persisted metadata 2026-10-30 11:47:39 +08:00
sjw1231 cc2718bede fix(fs): address review of the shipped mutation defaults
A new Agent Note owns the shipped defaults and the original apply_patch note
keeps its opt-in decision with a supersession link; the policy README, the
tool-catalog note, the filesystem page, and the fs group README state the
current defaults without evaluation figures. The PTC overlay sets
`applyPatch: false` so the SDK and Desktop PTC tool sets match without a
parity exception; the fixed-budget compaction scenarios pin the tool set in
their live patches too; the apply-patch composition drops its no-op override.
The upgrade guide scopes the change to base-backed profiles, the README
refusal example is one every composition can produce, the integration suite
names its deployments by guard, and the keyless SDK smoke edits a file the
model never read through the shipped profile.
2026-10-29 21:19:14 +08:00
Dudu-0223 63f8e812e1 Propagate Team mode CI fixes into UI polish 2026-10-29 18:38:57 +08:00
sjw1231 14d3e53c19 feat(fs): ship apply_patch on and the observation policy off
Evaluation on the shipped compositions decided the defaults: the `dsh-base`
`tool-fs` row and the Web `standard` preset enable apply_patch, keeping the
SDK and Desktop `standard` tool sets equal (the SDK PTC overlay keeps the
base row while the Desktop PTC preset lists its own, which the parity
exceptions record); the `fs-observation-policy` row ships `disabled: true`,
so write, edit, and apply_patch mutate unconditionally in every profile, and
the package is classified as an optional product package.

The write and edit guidance stops citing the policy as the default and the
apply_patch guidance asks for enough hunk context instead of a prior read.
The two recordings that capture a policy refusal re-enable the row through a
per-scenario runtime.cordis.yml; the fixed-budget compaction scenarios pin
`applyPatch: false` so their recorded thresholds hold; every other sidecar
and recorded header follows. An upgrade guide records the default change.
2026-10-29 18:36:52 +08:00
sjw1231 ea4837abb1 feat(fs): keep apply_patch opt-in and the observation policy mounted
This pull request lands the tool; switching the shipped defaults is a
separate pull request stacked on it. Every shipped `tool-fs` row states
`applyPatch: false`, the `fs-observation-policy` row stays mounted, the
write, edit, and apply_patch guidance names the policy, and every recorded
expectation outside the apply-patch scenarios returns to the master
baseline. The upgrade guide, the parity exception, and the optional
classification of the policy package move to the stacked change.
2026-10-29 18:36:31 +08:00
Dudu-0223 9e0557e2cf Align Team mode snapshot assertions with filtered requests 2026-10-29 18:35:53 +08:00
Dudu-0223 422cb047a9 Sync Team UI polish with current stack parent 2026-10-29 18:32:48 +08:00
Dudu-0223 1623af7f06 Sync refreshed parent snapshots into Team UI layer 2026-10-29 18:15:14 +08:00
Dudu-0223 5daf251d7c Sync and refresh new master snapshots for named subagents 2026-10-29 18:13:41 +08:00
Dudu-0223 42247c31e2 Refresh new master snapshots for tree-wide subagent controls 2026-10-29 18:12:16 +08:00
Dudu-0223 3306de499e Sync Team session UI layer with updated naming parent 2026-10-29 18:09:18 +08:00
Dudu-0223 11c02855e1 Merge master into subagent runtime stack base 2026-10-29 17:55:40 +08:00
Dudu-0223 be7ce3b64b Merge current parent into feat/subagent-names 2026-10-29 17:48:53 +08:00
Dudu-0223 80b7985a24 refactor(team): resolve tools and prompts from saved mode 2026-10-29 17:48:52 +08:00
Dudu-0223 4514b99d9c Merge master into feat/subagent-names 2026-10-29 17:43:46 +08:00
sjw1231 d8243a3f52 feat(base): enable apply_patch on the dsh-base tool-fs row
The SDK/Desktop parity check requires the `standard` tool sets to match, so
the base row enables apply_patch like the Web standard preset; the SDK PTC
overlay keeps that row while the Desktop PTC preset lists its own, which the
parity exceptions now record. fs-observation-policy, no longer mounted by
default, is classified as an optional product package.

Every headless, SDK, and ACP recording follows: sidecars and recorded headers
gain the apply_patch schema, the fixed-budget compaction scenarios pin
`applyPatch: false` so their recorded thresholds hold (model-switch-notice and
session-resume own their schema sidecars again), the parent presets that
borrow the default pin mirror the base row, and the pwsh and Python PTC pins
carry the schema and guidance.
2026-10-29 17:34:25 +08:00
Dudu-0223 f47c61882d fix(team): keep task and mode updates independent of waits 2026-10-29 17:21:53 +08:00
Dudu-0223 76a36fee3b fix(subagent): wait only for the caller inbox 2026-10-29 17:19:15 +08:00
sjw1231 e6f54cecbb Merge branch 'master' into feat/apply-patch
Keeps the apply_patch toolview registration with master's file-menu inject,
takes master's shortened slot JSDoc, re-adds the seven filesystem type-equiv
manifest entries, regenerates the event matrix and client catalogs, moves the
fs-observation-policy upgrade guide under v0.2.2-alpha.2 with the matching
fs-patch version, and refreshes the two SDK scenarios master added for the
write and edit guidance change.
2026-10-29 17:00:06 +08:00
sjw1231 fe5450b152 feat(fs): ship without the observation policy and enable apply_patch in the Web standard preset
Evaluation on the shipped Web composition decided the defaults: the
`fs-observation-policy` row in dsh-base ships `disabled: true`, so write,
edit, and apply_patch mutate unconditionally in every profile; the Web
`standard` preset lists apply_patch; and the tool-fs `applyPatchGuard` switch
is gone, apply_patch always consulting the fs/* intent waterfalls like the
other mutating tools.

The write and edit guidance stops citing the policy as the default, and the
apply_patch guidance asks for enough hunk context instead of a prior read.
The two recordings that capture a policy refusal (fs-policy-reject and
apply-patch-rejected) re-enable the row through a per-scenario
runtime.cordis.yml; every other sidecar follows the prompt change, and the
Web standard-preset recordings gain the apply_patch schema. An upgrade guide
records the default change.
2026-10-29 16:38:42 +08:00
gengruilin e19b5b3930 Merge branch 'feat/cli-account' into feat/feishu-plugin 2026-10-29 15:57:42 +08:00
Dudu-0223 1fc187bf8a merge: keep shared subagent prompts in the following layer 2026-10-29 13:20:05 +08:00
Dudu-0223 0036824b70 refactor(team): extract shared subagent prompts into a separate layer 2026-10-29 13:15:03 +08:00
Dudu-0223 43b7ffa1b3 merge: sync naming services and Team cleanup from #6288 2026-10-29 13:06:53 +08:00
Dudu-0223 9a3ad20a15 merge: inherit naming and sender attribution from #6346 2026-10-29 12:50:50 +08:00
Dudu-0223 d5ed4eaf97 refactor(subagent): own sender naming in the names layer 2026-10-29 12:47:46 +08:00
Dudu-0223 03af1488b4 fix(subagent): remove unused settlement task description 2026-10-29 11:24:25 +08:00
Dudu-0223 6c05579452 refactor(team): drop retired roster and mailbox projections 2026-10-29 10:54:32 +08:00
Yif f248511981 merge: integrate PR 6288 Team Remote and wait presentation 2026-10-28 22:55:43 +08:00
Dudu-0223 c77ecc73f1 refactor(subagent): share identity and collaboration guidance across team modes 2026-10-28 17:58:09 +08:00
Shigma 1aead808e2 chore(cordis): merge master into cordis-core-rc11 2026-10-28 17:27:40 +08:00
Dudu-0223 76cc8b21d1 refactor(team): select mode directly without slash commands 2026-10-28 17:05:39 +08:00
Dudu-0223 4a5298cc94 refactor(team): unify agent identity instructions 2026-10-28 17:04:38 +08:00
Dudu-0223 dea7313318 docs(subagent): clarify default names and returned paths 2026-10-28 16:54:59 +08:00
Dudu-0223 28f71287d9 docs(subagent): shorten role name guidance 2026-10-28 16:53:09 +08:00