Skip to content

feat: live group desk, identity resolution, and credit @ grants - #14

Merged
zhx8702 merged 32 commits into
mainfrom
feat/live-group-identity-desk-and-credits
Oct 8, 2026
Merged

zhx8702 merged 32 commits into
mainfrom
feat/live-group-identity-desk-and-credits

Conversation

@zhx8702

@zhx8702 zhx8702 commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Expose Jev desk status in group behavior and member memory, and keep help-seeking from vetoing keyword hits.
  • Collapse hashed cx1: person nodes onto WeChat wxid/nicknames, resolve spoken aliases from group chat, and treat Codex as a normal proactive group.
  • Stop warmup replies from asking for screenshots, and resolve /grant / /转账 from the @ mention wxid instead of the display name.
  • Accept configured WeChat admin wxids for slash commands when the event user_id is a hashed cx1:p: identity, so /grant is not silently denied.

Test plan

  • Open 群参与 and 成员记忆 → Jev: desk/funnel still loads after refresh
  • Relationship graph for Codex / Claude Relay no longer shows leftover cx1:p: labels when a nickname exists
  • Proactive warmup does not ask for 截图 / 发图 / screenshot
  • In Claude Relay, /grant @成员 数量 credits the mentioned wxid
  • In Claude Relay, a configured admin can /grant even when inbound user_id is cx1:p:...
  • uv run --all-extras --frozen pytest tests/unit/test_credits_hooks.py tests/unit/test_command_center_hook.py tests/unit/test_group_activity_service.py tests/unit/test_jev_desk.py tests/unit/test_memory_graph.py tests/unit/test_memory_group_graph_auto_extract.py tests/unit/test_wxbot_hook.py -q

Made with Cursor

zhx8702 and others added 30 commits September 20, 2026 14:50
Rows written before the participant-id PII fix still carried
sensitivity=pii. The touch path keeps the more sensitive of the stored and
requested categories, so a legacy row could never return to normal: when the
corrected re-extraction accepted such a relation it landed in pending again
and its fact stayed invisible (洋白 -> TFBOYS after the relabel run).

Group window relations now always take the freshly probed value; the stored
flag is only inherited for ordinary memory items. Production rows were
repaired once (917 flagged, 159 accepted relations reactivated).
Selecting a node dimmed the rest of the graph and there was no way back:
no background click, no button, no key. Users reloaded the page.

- Clicking empty canvas (not a pan) clears the selection.
- Esc on the canvas clears it.
- Clicking the already selected node/edge toggles it off.
- The details panel gets a 取消选中 button while something is selected.
…om @ mentions

Keep hashed person nodes and slash grants aligned with WeChat identities, and stop proactive warmups from asking for screenshots the channel cannot show.

Co-authored-by: Cursor <cursoragent@cursor.com>
Hashed event.user_id no longer shadows sender_wxid, so /grant is not silently denied for configured WeChat admins.

Co-authored-by: Cursor <cursoragent@cursor.com>
Isolated policy tests have no sessions table, and hashed wx room ids still need to write with the tenant argument.

Co-authored-by: Cursor <cursoragent@cursor.com>
Label text on paper-dim tiles was 3.82:1; keep muted ink at 4.5:1.

Co-authored-by: Cursor <cursoragent@cursor.com>
zhx8702 and others added 2 commits October 8, 2026 09:28
Section labels and secondary actions on paper-dim were 4.38:1.

Co-authored-by: Cursor <cursoragent@cursor.com>
Axe flagged the nested button inside summary on the plugins page.

Co-authored-by: Cursor <cursoragent@cursor.com>
@zhx8702
zhx8702 merged commit fb4733b into main Oct 8, 2026
1 check passed
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.

1 participant