Add a wildedge-lint module bundled inside the existing AAR. Consumers get IDE warnings with no extra dependency.
Checks
Tier 1 (method chain, low false-positive risk)
Task<T> terminal call without .trackWith() in the chain
generateContentStream() without .trackWith() in the chain
trackInference() not inside a trace {} lambda
Tier 2 (data flow, defer until Tier 1 ships)
Interpreter, OrtSession, InterpreterApi instantiation where the result is never passed to wildEdge.decorate()
Tier 2 requires tracking a variable through field storage and cross-method use. Naïve detection produces false positives on correctly-decorated code. Track in a follow-up once there is a clean strategy.
Acceptance criteria
Add a
wildedge-lintmodule bundled inside the existing AAR. Consumers get IDE warnings with no extra dependency.Checks
Tier 1 (method chain, low false-positive risk)
Task<T>terminal call without.trackWith()in the chaingenerateContentStream()without.trackWith()in the chaintrackInference()not inside atrace {}lambdaTier 2 (data flow, defer until Tier 1 ships)
Interpreter,OrtSession,InterpreterApiinstantiation where the result is never passed towildEdge.decorate()Tier 2 requires tracking a variable through field storage and cross-method use. Naïve detection produces false positives on correctly-decorated code. Track in a follow-up once there is a clean strategy.
Acceptance criteria
Detector+IssueRegistry./gradlew lint