玉澜
69b8df3e40
fix(skills): reconcile wukong sync with latest main CLI surface
...
Restore capabilities now supported on main (doc read --scope/--tags,
drive upload --node overwrite, chat category, dingtalk-markdown routing),
remove commands still absent from the open-source CLI (calendar event
instances, sheet info --include, chat group create --owner), remap
folded services (attendance/ding/oa/report/sheet) to dingtalk-misc in
the shortcut generator, and regenerate shortcut sections and schema
metadata.
2026-07-28 20:56:37 +08:00
Dennis
a5ac09218b
fix(chat): close IM shortcut validation gaps
2026-07-28 20:55:25 +08:00
玉澜
4b0f71eedc
test: close changed-code coverage gaps to satisfy the coverage gate
...
- fetch_mcp_metadata: extract run()/resolveToken()/writeMetadata with
injectable deps (keychain, servers, lister, registry, exit); full-path
tests reach 100% file coverage.
- internal/cli: drop dead initSafetyByCLIPath (superseded by ResolveMeta),
split buildMetaByCLIPath / assembleSchemaCatalogSnapshot /
assembleCommandRegistryFrom / mergedCommandRegistryJSON so shard and
malformed-snapshot failure modes are testable; cover catalog structure
violation formatting (sort/truncate) and RenderSafetyAnnotation.
- generators: cover registry shard merge and catalog shard write failure
modes.
- helpers/cmdutil: cover LeafSpec default/server dispatch, transform error
propagation, default env hint, devapp member remove validate chain, and
the required-flags error helpers.
Local gate: overall 90.17% vs merge-base 89.96%, changed-code 100%
(861 statements); make policy and go test ./... green.
2026-07-28 18:05:20 +08:00
玉澜
6763ddd154
fix: resolve command metadata via compat aliases
...
ResolveMeta copies Catalog aliases into CommandIdentity and registers each
alias path against the same metadata (primary cli_path wins on collision),
so compat paths like 'report list' resolve instead of returning ok=false.
2026-07-28 16:48:42 +08:00
玉澜
96d0d430e6
Merge upstream main into feat/command-surface-naming
2026-07-28 16:12:38 +08:00
Dennis
258e7ed872
fix: align doc rename schema contract
2026-07-28 14:30:29 +08:00
Dennis
69d813afef
fix: address contract review feedback
2026-07-28 12:09:57 +08:00
Dennis
00305d941d
fix: preserve document info schema compatibility
2026-07-28 11:37:32 +08:00
Dennis
ec7fdb0f0d
fix: harden dws contract edge cases
2026-07-28 11:36:44 +08:00
修雨
2c10be2a1a
feat(schema): publish 210 built-in shortcuts ( #802 )
...
Publishes all 210 public built-in shortcuts as reviewed Agent-visible
leaf tools across 16 product groups, with stable canonical identities,
executable +shortcut CLI paths, parameter and cross-parameter
constraints, selection guidance, interface metadata, and runtime-aligned
safety/confirmation semantics. Catalog grows from 603 to 813 tools.
2026-07-28 00:11:29 +08:00
wxianfeng
e2390c3385
Merge remote-tracking branch 'upstream/main' into feature/dws-event-im-phase3
...
# Conflicts:
# internal/cli/schema_agent_metadata/index.json
# internal/cli/schema_agent_metadata_audit.json
# internal/cli/schema_catalog.json
# skills/mono/SKILL.md
2026-07-24 16:31:29 +08:00
wxianfeng
125bc88d52
fix(event): switch personal defaults to production
2026-07-24 15:40:37 +08:00
炳昱
6b9fcf9289
fix(event): preserve nested message context when flattened
2026-07-24 14:26:34 +08:00
anxb
571a096004
feat: 组织大脑修复7
2026-07-24 09:59:08 +08:00
anxb
0d3fef0037
feat: 组织大脑修复6
2026-07-24 09:46:31 +08:00
anxb
72934ddc39
Merge branch 'refs/heads/main' into feat/20260714_hrbrain
...
# Conflicts:
# internal/cli/schema_agent_metadata/index.json
# internal/cli/schema_agent_metadata_audit.json
# internal/cli/schema_catalog.json
# internal/cli/schema_hints/runtime-surface-completeness.json
# skills/mono/SKILL.md
# test/fixtures/cli-interface-baseline.txt
2026-07-24 09:43:16 +08:00
修雨
f9443af460
fix: preserve schema compatibility for synced capabilities
2026-07-23 17:43:13 +08:00
修雨
876afcddfb
feat: sync Wukong capabilities through 3306c3307
2026-07-23 17:43:12 +08:00
wxianfeng
5a3617c21d
feat(event): flatten group member events
2026-07-23 15:30:49 +08:00
anxb
883f397554
feat: 组织大脑修复5
2026-07-23 14:17:22 +08:00
玉澜
c76c30a0b7
Merge upstream main into feat/command-surface-naming
2026-07-23 14:12:18 +08:00
anxb
8321f1ffea
Merge remote-tracking branch 'upstream/main' into feat/20260714_hrbrain
...
# Conflicts:
# internal/cli/schema_agent_metadata/index.json
# internal/cli/schema_agent_metadata_audit.json
# internal/cli/schema_catalog.json
# internal/cli/schema_hints/runtime-surface-completeness.json
# test/fixtures/cli-interface-baseline.txt
2026-07-23 14:05:24 +08:00
修雨
02817bc043
Merge main and complete chat media retirement
2026-07-23 12:56:11 +08:00
炳昱
9fc63b6405
fix(mcp): expose URL command in schema
2026-07-23 00:46:14 +08:00
修雨
b03017997d
fix(schema): preserve chat interface contract
2026-07-23 00:11:41 +08:00
修雨
902e084d8a
fix(chat): align local file sending with wukong
2026-07-23 00:03:58 +08:00
anxb
a3478ad587
feat: 组织大脑修复4
2026-07-22 16:31:10 +08:00
anxb
2dba64b880
feat: 组织大脑修复2
2026-07-22 13:56:13 +08:00
wxianfeng
1c9b09b23f
Merge remote-tracking branch 'upstream/main' into feature/dws-event-im-phase3
...
# Conflicts:
# internal/app/event_command.go
# internal/app/event_personal_command.go
# internal/cli/schema_agent_metadata/event.json
# internal/cli/schema_agent_metadata/index.json
# internal/cli/schema_agent_metadata_audit.json
# internal/cli/schema_catalog.json
# internal/cli/schema_hints/selection/event.json
# internal/event/personal/registry_test.go
# skills/mono/references/products/event.md
# skills/multi/dingtalk-event/SKILL.md
# skills/multi/dingtalk-event/references/event-im.md
2026-07-22 11:54:32 +08:00
anxb
e564c8d923
Merge branch 'refs/heads/main' into feat/20260714_hrbrain
...
# Conflicts:
# internal/cli/schema_agent_metadata/index.json
# internal/cli/schema_agent_metadata_audit.json
# internal/cli/schema_catalog.json
2026-07-22 11:09:37 +08:00
wxianfeng
55574fe12e
Merge upstream/main into fix/event-data-format-compat
2026-07-21 22:37:26 +08:00
修雨
129e8a10ef
Merge remote-tracking branch 'origin/main' into codex/fix-plugin-command-registration
...
# Conflicts:
# CHANGELOG.md
2026-07-21 21:50:37 +08:00
wxianfeng
cefcf5b409
fix(event): make flattened output opt-in
2026-07-21 21:25:10 +08:00
玉澜
d03823d772
test(schema): cover unknown compatibility query
2026-07-21 20:50:34 +08:00
玉澜
089caa92a8
test(schema): cover prefixed compatibility query
2026-07-21 19:41:39 +08:00
玉澜
21cd3f8bc4
fix(schema): accept compatible CLI path separators
2026-07-21 19:18:07 +08:00
炳昱
0182060757
fix(skill): advertise group member event triggers
2026-07-21 17:05:43 +08:00
wxianfeng
c9cf1cc9c1
feat(event): support multi-event consume
2026-07-21 16:59:36 +08:00
anxb
2e7e6a1010
feat: 组织大脑修复
2026-07-21 15:07:59 +08:00
修雨
e3f30420fb
fix: restore plugin overlay commands
2026-07-21 11:33:03 +08:00
anxb
f88bc32259
feat: 接入组织大脑5
2026-07-21 10:44:57 +08:00
炳昱
b234015e7f
feat(event): add group member lifecycle events
2026-07-20 16:10:47 +08:00
wxianfeng
ca6e520610
chore(event): default personal events to pre-release
2026-07-20 11:47:55 +08:00
wxianfeng
b731050dad
feat(event): add all-message and group lifecycle events
2026-07-20 11:32:46 +08:00
anxb
c0cb81c12b
Merge branch 'refs/heads/main' into feat/20260714_hrbrain
2026-07-20 09:56:49 +08:00
玉澜
51dc237d8a
feat: declarative LeafSpec command framework + schema generation/consumption separation
...
== LeafSpec command framework (internal/helpers/leaf.go) ==
Declarative command construction: LeafSpec/LeafFlag/NewLeafCommand with
Call (pluggable dispatch), LeafInt, PostMount, Trim, Validate. Collapses
per-command hand-written required validation, alias/env fallback, value
transform, and toolArgs assembly into one declarative path.
== devapp migration (28/31 commands) ==
All MCP-direct devapp leaf commands migrated to LeafSpec. Factories
(devAppCall/devAppCallCursor/devAppMeta) fold 33 repeated closures.
fakeDevAppRunner asserts toolArgs for every migrated command. 4 complex
commands (delete/robot submit/result/config) kept hand-written.
== Schema generation/consumption separation ==
- gen.go: isolated //go:generate pragmas from business code.
- command_meta.go: ResolveMeta(cliPath) -> CommandMeta{Identity,Safety,Selection}.
- command_safety.go: SafetyForCLIPath + RenderSafetyAnnotation; safety metadata
flows from embedded catalog into --help output.
- calendar.go HelpFunc fix: delegates to root HelpFunc at help-time.
- schema_catalog_structure.go: closed catalog structure validation gate.
== Registry + catalog per-product sharding ==
schema_command_registry and schema_catalog split into per-product shards,
eliminating concurrent-PR merge conflicts on these files.
== MCP metadata refresh tool ==
cmd/fetch_mcp_metadata: iterates 26 MCP server endpoints, merges with previous
data for cross-server interface_ref. make fetch-mcp-metadata target.
== AGENTS.md ==
Documents the generation/consumption split.
Verified: make policy exit 0, drift zero, all tests pass.
2026-07-19 09:38:43 +08:00
修雨
ae9b14e536
Merge main into feat/dws-event-im-2phase
2026-07-17 15:46:38 +08:00
anxb
2b76047164
Merge branch 'refs/heads/main' into feat/20260714_hrbrain
2026-07-17 14:41:05 +08:00
anxb
241444e992
feat: 接入组织大脑2
2026-07-17 14:20:36 +08:00
wxianfeng
f59be6c19a
fix(event): address PR review gates
2026-07-17 11:57:27 +08:00