Repository navigation
Conversation
This was referenced Oct 31, 2026
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.
Rule
Add an exact type-8 metadata matcher for
com.obric.agentrobots.POLICY_JSON, using ByteDance's official demo manifest as primary evidence.The rule identifies the packaged static policy declaration. It does not validate the policy or infer runtime SAEP enablement or enforcement.
Source changes
One canonical source file:
libraries/1F6E5833-C25C-47E4-AB99-B37F17C4814A.json.1F6E5833-C25C-47E4-AB99-B37F17C4814A.3150; exact metadata-name match.ic_lib_bytedance(icon index 12), including its existing SVG and published Android drawable.The source branch contains only this JSON. Generated database/compatibility files and preview publication branches are excluded from this PR.
Related work and dependency
Closes #1436.
Client metadata support: LibChecker/LibChecker#2255.
The rule uses the existing schema and metadata matcher type. The linked client PR supplies label and library-details support in the Android metadata tab. I suggest landing that client support before publishing this rule; maintainers can choose the final merge/release order.
Validation
python3 tools/rules.py check— passed.python3 -m unittest discover -s tests -v— 10 base-rule tests passed, including cross-language matching and deterministic build/version checks.The fork preview used dataVersion 49 for testing. Upstream publication should allocate its version through the normal publishing workflow. The full upstream CI, including chart and SDK-data checks, remains to run on this PR.