Repository navigation
fix(feishu): inspect original messages with typed mention identities - #37
Open
Entropy-Enthalpy wants to merge 1 commit into
Open
Entropy-Enthalpy wants to merge 1 commit into
Entropy-Enthalpy wants to merge 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Feishu's exact-message GET returns Bot mentions as
app_idwhenuser_id_type=open_idis requested. The existing history reader only offers list scopes and normalizes every mention as anopen_id, so an external consumer cannot use it to inspect the original message's typed Bot identities. A read from inside inbound acceptance also waits behind that same acceptance in the controller transition queue.This adds
historyChecked(..., { scope: 'message', limit: 1 })on the existing checked read path. It validates the original route, rejects edited or unqualified sources, preserves typed mentions and explicit tenant metadata, and returns the one GET source without listing history. Read-only inspection checks the current account, runtime and consumer lease across the operation without holding the inbound transition queue. The public contract is documented indocs/checked-feishu-source.md.Validation on Node 24.15.0:
git diff --checkpass.Existing group/thread/nearby pagination remains available. Live platform delivery and user acceptance were not exercised by this source contribution.