feat(lark): expose task sender identity to agents#5906
Draft
aihes wants to merge 1 commit into
Draft
Conversation
|
Someone is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MULTICA_LARK_OPEN_IDfor FeishuSafety boundaries
The server revalidates the chat binding, direct-human attribution, active installation, workspace and agent ownership, current membership, and exactly one installation-scoped user binding. The daemon accepts only a complete, channel-consistent tuple. Custom environment settings cannot override
MULTICA_*values. Logs contain the task ID, channel type, and resolution reason, never the provider user ID.No table, migration, external API, or execenv preparation payload changes are included. Old servers and daemons remain compatible through the optional claim field.
Validation
make sqlcgo test -race ./internal/daemon ./internal/handlergo test ./pkg/agent/...go vet ./...git diff --checkbash scripts/test-go.sh --race: all reached packages passed except the existing PostgreSQL-specificinternal/metrics/TestBusinessSamplerStatementTimeoutCutsHungQuery, where local PostgreSQL returned a clientcontext deadline exceededrather than the expected serverPgError; focused reruns reproduce it without this changeRollout
Mac mini rollout will rebuild backend and daemon from one integration commit and update the existing task-routed Lark Skill. The new environment metadata remains informational; Lark credentials continue to be selected only by
multica-lark-task-routerfromMULTICA_TOKEN.