mateclaw/mateclaw-server/src/test/java/vip/mate
倪程伟 77b6baeccc feat(channel): webchat session-management endpoints (list / messages / delete)
Add per-visitor session management for the WebChat Web/API access mode:
list a visitor's conversation threads, fetch a thread's messages, and
delete a thread.

Authorization: visitorId is a client-asserted request param, so it cannot
be trusted on its own — deriving conversationId from it and then checking
ownership against it is tautological (any caller passes). Instead, /stream
issues a per-visitor token = HMAC-SHA256(jwtSecret, channelId:visitorId),
returned in the meta event; the management endpoints require it back via
the X-MC-Visitor-Token header and verify it in constant time. The signing
secret is server-only (unlike the public channel API key) and the channelId
in the payload makes tokens non-portable across channels.

Includes regression tests for token issuance/verification semantics
(forged visitorId rejected, cross-visitor and cross-channel tokens rejected,
tampered tokens rejected).
2026-06-09 11:10:13 +08:00
..
acp/client chore(test): backfill mateclaw-server/src/test/ that earlier PRIVATE_ITEMS pattern accidentally excluded 2026-05-12 17:38:08 +08:00
agent feat(agent): append static About You identity block to system prompt 2026-06-08 20:53:39 +08:00
approval fix(tool): emit absolute download URLs for streaming-generated files (#164) 2026-06-07 15:03:48 +08:00
architecture feat(tool,skill,ui): progressive tool/skill disclosure (load_skill + enable_tool + tier UI) 2026-05-23 09:07:45 +08:00
auth/pat chore(test): backfill mateclaw-server/src/test/ that earlier PRIVATE_ITEMS pattern accidentally excluded 2026-05-12 17:38:08 +08:00
channel feat(channel): webchat session-management endpoints (list / messages / delete) 2026-06-09 11:10:13 +08:00
common feat(agent): deterministic Markdown normalization for final answers (#275) 2026-06-07 19:10:53 +08:00
cron fix(tool): emit absolute download URLs for streaming-generated files (#164) 2026-06-07 15:03:48 +08:00
dashboard/service fix(dashboard): count tool calls from assistant.metadata, not role=tool rows 2026-05-24 22:58:02 +08:00
exception fix(api): return 400 on path-variable type mismatch instead of 500 2026-05-24 22:57:51 +08:00
goal fix(goal): drop score gate, bill failed evaluator calls, fix Evaluator SPI + tool prompt + bootstrap cap 2026-06-03 21:19:27 +08:00
hook chore(test): backfill mateclaw-server/src/test/ that earlier PRIVATE_ITEMS pattern accidentally excluded 2026-05-12 17:38:08 +08:00
i18n chore(test): backfill mateclaw-server/src/test/ that earlier PRIVATE_ITEMS pattern accidentally excluded 2026-05-12 17:38:08 +08:00
llm test(llm): update MultimodalRouterTest for honour-explicit-sidecar behavior 2026-06-09 10:53:56 +08:00
memory test(memory,wecom): align two stale tests with current production behavior 2026-06-09 10:15:36 +08:00
skill feat(tool): add execute_code for running agent-authored code (#257) 2026-06-09 08:05:50 +08:00
stt chore(test): backfill mateclaw-server/src/test/ that earlier PRIVATE_ITEMS pattern accidentally excluded 2026-05-12 17:38:08 +08:00
system test(skill): end-to-end coverage for the lifecycle curator 2026-05-19 09:56:27 +08:00
task test(task): de-flake the submitOneShot enrolled-latch ordering test 2026-05-16 14:51:57 +08:00
tool feat(tool): add execute_code for running agent-authored code (#257) 2026-06-09 08:05:50 +08:00
trigger test(trigger): await async dispatch in ChannelMessageTriggerTest 2026-06-09 10:00:30 +08:00
wiki fix(wiki): match glob against symlink-resolved scan root 2026-06-08 20:51:03 +08:00
workflow fix(workflow): pre-check unique name on create/rename, return 409 instead of 500 (Fixes Gitee #IJPYWA) 2026-05-26 23:35:04 +08:00
workspace feat(memory): per-owner memory isolation with owner_key + visibility scope (#235) 2026-06-02 17:04:06 +08:00