@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

next
json 494 lines 31.7 KB
Raw
1 [
2 {
3 "ruleId": "py-empty-except",
4 "file": "python/composio/utils/redaction.py",
5 "source": " except Exception:\n pass",
6 "count": 1
7 },
8 {
9 "ruleId": "py-empty-except",
10 "file": "python/composio/utils/schema_converter.py",
11 "source": " except Exception:\n pass",
12 "count": 1
13 },
14 {
15 "ruleId": "py-empty-except",
16 "file": "python/composio/utils/schema_converter.py",
17 "source": " except Exception: # noqa: BLE001 - pydantic raises SchemaError subclasses\n pass",
18 "count": 1
19 },
20 {
21 "ruleId": "py-empty-except",
22 "file": "python/providers/typesafe/composio_typesafe/companion.py",
23 "source": " except Exception:\n pass",
24 "count": 1
25 },
26 {
27 "ruleId": "py-unchecked-ignore",
28 "file": "python/composio/client/__init__.py",
29 "source": " import google.colab # type: ignore # noqa: F401",
30 "count": 1
31 },
32 {
33 "ruleId": "py-unchecked-ignore",
34 "file": "python/composio/client/__init__.py",
35 "source": " shell = get_ipython().__class__.__name__ # type: ignore # noqa: F821",
36 "count": 1
37 },
38 {
39 "ruleId": "py-unchecked-ignore",
40 "file": "python/composio/core/models/_modifiers.py",
41 "source": " return self.modifier(tool, toolkit, data) # type: ignore",
42 "count": 1
43 },
44 {
45 "ruleId": "py-unchecked-ignore",
46 "file": "python/composio/core/models/_modifiers.py",
47 "source": " return self.modifier(tool, toolkit, data) # type: ignore",
48 "count": 1
49 },
50 {
51 "ruleId": "py-unchecked-ignore",
52 "file": "python/composio/core/models/auth_configs.py",
53 "source": " type=options[\"type\"], # type: ignore",
54 "count": 1
55 },
56 {
57 "ruleId": "py-unchecked-ignore",
58 "file": "python/composio/core/models/base.py",
59 "source": " \"environment\": _environment, # type: ignore",
60 "count": 1
61 },
62 {
63 "ruleId": "py-unchecked-ignore",
64 "file": "python/composio/core/models/base.py",
65 "source": " return {k: v for k, v in payload.items()} # type: ignore",
66 "count": 1
67 },
68 {
69 "ruleId": "py-unchecked-ignore",
70 "file": "python/composio/core/models/mcp.py",
71 "source": " response.generate = generate # type: ignore",
72 "count": 1
73 },
74 {
75 "ruleId": "py-unchecked-ignore",
76 "file": "python/composio/utils/openapi.py",
77 "source": " return t.List[SubT] # type: ignore",
78 "count": 1
79 },
80 {
81 "ruleId": "py-unchecked-ignore",
82 "file": "python/composio/utils/schema_converter.py",
83 "source": " return t.List[t.cast(t.Type, item_type)] # type: ignore",
84 "count": 1
85 },
86 {
87 "ruleId": "py-unchecked-ignore",
88 "file": "python/composio/utils/schema_converter.py",
89 "source": " return t.Optional[t.cast(t.Type, base_type)] # type: ignore",
90 "count": 1
91 },
92 {
93 "ruleId": "py-unchecked-ignore",
94 "file": "python/composio/utils/schema_converter.py",
95 "source": " return t.Optional[union_type] # type: ignore",
96 "count": 1
97 },
98 {
99 "ruleId": "py-unchecked-ignore",
100 "file": "python/composio/utils/schema_converter.py",
101 "source": " union_type = reduce(lambda a, b: t.Union[a, b], cast_types) # type: ignore",
102 "count": 1
103 },
104 {
105 "ruleId": "py-unchecked-ignore",
106 "file": "python/composio/utils/shared.py",
107 "source": " Field(**field), # type: ignore",
108 "count": 1
109 },
110 {
111 "ruleId": "py-unchecked-ignore",
112 "file": "python/composio/utils/shared.py",
113 "source": " base_model = create_model(model_name, **field_definitions) # type: ignore",
114 "count": 1
115 },
116 {
117 "ruleId": "py-unchecked-ignore",
118 "file": "python/composio/utils/shared.py",
119 "source": " model = create_model( # type: ignore",
120 "count": 1
121 },
122 {
123 "ruleId": "py-unchecked-ignore",
124 "file": "python/composio/utils/shared.py",
125 "source": " return field_definitions # type: ignore",
126 "count": 1
127 },
128 {
129 "ruleId": "py-unchecked-ignore",
130 "file": "python/examples/fastapi_app.py",
131 "source": " return RedirectResponse(url=connection_request.redirect_url) # type: ignore",
132 "count": 1
133 },
134 {
135 "ruleId": "py-unchecked-ignore",
136 "file": "python/examples/modifiers.py",
137 "source": " params[\"custom_auth_params\"][\"parameters\"].append( # type: ignore",
138 "count": 1
139 },
140 {
141 "ruleId": "py-unchecked-ignore",
142 "file": "python/providers/gemini/composio_gemini/provider.py",
143 "source": " action_func.__signature__ = Signature(parameters=sig_params) # type: ignore",
144 "count": 1
145 },
146 {
147 "ruleId": "py-unchecked-ignore",
148 "file": "python/providers/gemini/composio_gemini/provider.py",
149 "source": " genai_types = None # type: ignore",
150 "count": 1
151 },
152 {
153 "ruleId": "py-unchecked-ignore",
154 "file": "python/providers/langchain/composio_langchain/provider.py",
155 "source": " action_func.__signature__ = Signature( # type: ignore",
156 "count": 1
157 },
158 {
159 "ruleId": "py-unchecked-ignore",
160 "file": "python/providers/langgraph/composio_langgraph/provider.py",
161 "source": " action_func.__signature__ = Signature( # type: ignore",
162 "count": 1
163 },
164 {
165 "ruleId": "py-unchecked-ignore",
166 "file": "python/providers/langgraph/langgraph_demo_toolnode.py",
167 "source": " ( # type: ignore",
168 "count": 1
169 },
170 {
171 "ruleId": "py-unchecked-ignore",
172 "file": "python/providers/langgraph/langgraph_demo_toolnode.py",
173 "source": " if last_message.tool_calls: # type: ignore",
174 "count": 1
175 },
176 {
177 "ruleId": "py-unchecked-ignore",
178 "file": "python/providers/langgraph/langgraph_demo.py",
179 "source": "for output in app.stream(inputs): # type: ignore",
180 "count": 1
181 },
182 {
183 "ruleId": "py-unchecked-ignore",
184 "file": "python/providers/llamaindex/composio_llamaindex/provider.py",
185 "source": " action_func.__signature__ = Signature( # type: ignore",
186 "count": 1
187 },
188 {
189 "ruleId": "ts-double-assertion",
190 "file": "ts/packages/cli-keyring/src/stores/macos-security-ffi.ts",
191 "source": " const ab = toArrayBuffer(address as unknown as never, 0, 8);",
192 "count": 1
193 },
194 {
195 "ruleId": "ts-double-assertion",
196 "file": "ts/packages/cli-keyring/src/stores/macos-security-ffi.ts",
197 "source": " const view = new Uint8Array(toArrayBuffer(Number(bytePtr) as unknown as never, 0, length));",
198 "count": 1
199 },
200 {
201 "ruleId": "ts-double-assertion",
202 "file": "ts/packages/cli/src/commands/registration.ts",
203 "source": " const command = child as unknown as Command.Command<string, unknown, unknown, unknown, unknown>;",
204 "count": 1
205 },
206 {
207 "ruleId": "ts-double-assertion",
208 "file": "ts/packages/cli/src/commands/registration.ts",
209 "source": " return Command.provideEffect(\n begun,\n CommandRegistration,\n Effect.gen(function* () {\n const identity = childIdentity(yield* CommandRegistration, command);\n const invocation = yield* CommandInvocation;\n yield* invocation.enter(identity);\n return identity;\n })\n ) as unknown as Registered<C>;",
210 "count": 1
211 },
212 {
213 "ruleId": "ts-double-assertion",
214 "file": "ts/packages/cli/src/generation/typescript/generate-type-from-json-schema.ts",
215 "source": " const openApi3Definition = {\n openapi: '3.1.0',\n components: {\n schemas: {\n [name]: {\n type: 'object',\n properties: processedProperties,\n },\n },\n },\n } as unknown as OpenAPI3;",
216 "count": 1
217 },
218 {
219 "ruleId": "ts-double-assertion",
220 "file": "ts/packages/core/src/models/Triggers.ts",
221 "source": " originalPayload: payload as unknown as Record<string, unknown>,",
222 "count": 1
223 },
224 {
225 "ruleId": "ts-double-assertion",
226 "file": "ts/packages/core/src/telemetry/Telemetry.ts",
227 "source": " (instance as unknown as Record<string, Function>)[name] = async (...args: unknown[]) => {",
228 "count": 1
229 },
230 {
231 "ruleId": "ts-double-assertion",
232 "file": "ts/packages/core/src/telemetry/Telemetry.ts",
233 "source": " const originalMethod = (instance as unknown as Record<string, Function>)[name] as (",
234 "count": 1
235 },
236 {
237 "ruleId": "ts-double-assertion",
238 "file": "ts/packages/core/src/utils/pinnedDispatcher.node.ts",
239 "source": " const slots = globalThis as unknown as Record<symbol, { constructor?: { name?: string } }>;",
240 "count": 1
241 },
242 {
243 "ruleId": "ts-double-assertion",
244 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v3.ts",
245 "source": " tuple: (items, rest) => buildTuple<S>(z.tuple(items as unknown as [S]), rest),",
246 "count": 1
247 },
248 {
249 "ruleId": "ts-double-assertion",
250 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v3.ts",
251 "source": " union: options => z.union(options as unknown as [S, S]),",
252 "count": 1
253 },
254 {
255 "ruleId": "ts-double-assertion",
256 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
257 "source": " payload.issues.push({\n input: payload.value,\n continue: true,\n ...issue,\n } as unknown as z.core.$ZodRawIssue)",
258 "count": 1
259 },
260 {
261 "ruleId": "ts-double-assertion",
262 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
263 "source": " sinkFor(issue => ctx.addIssue(issue as unknown as z.core.$ZodRawIssue))",
264 "count": 1
265 },
266 {
267 "ruleId": "ts-double-assertion",
268 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
269 "source": " zod.constr = Instrumented as unknown as SchemaConstructor;",
270 "count": 1
271 },
272 {
273 "ruleId": "ts-double-assertion",
274 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
275 "source": " const constructor = Instrumented as unknown as SchemaConstructor;",
276 "count": 1
277 },
278 {
279 "ruleId": "ts-double-assertion",
280 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
281 "source": " tuple: (items, rest) => buildTuple<S>(z.tuple(items as unknown as [S]), rest),",
282 "count": 1
283 },
284 {
285 "ruleId": "ts-double-assertion",
286 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
287 "source": " union: options => z.union(options as unknown as [S, S]),",
288 "count": 1
289 },
290 {
291 "ruleId": "ts-double-assertion",
292 "file": "ts/packages/json-schema-to-zod/src/backend/zod-v4.ts",
293 "source": "const internals = (schema: S): Internals => (schema as unknown as { _zod: Internals })._zod;",
294 "count": 1
295 },
296 {
297 "ruleId": "ts-double-assertion",
298 "file": "ts/packages/json-schema-to-zod/src/parsers/parse-array.ts",
299 "source": " variants.length === 1 ? variants[0] : backend.union(variants as unknown as [S, S, ...S[]]);",
300 "count": 1
301 },
302 {
303 "ruleId": "ts-double-assertion",
304 "file": "ts/packages/json-schema-to-zod/src/parsers/parse-literal-values.ts",
305 "source": " return backend.union(primitives.map(value => backend.literal(value)) as unknown as [S, S]);",
306 "count": 1
307 },
308 {
309 "ruleId": "ts-double-assertion",
310 "file": "ts/packages/json-schema-to-zod/src/utils/extend-schema.ts",
311 "source": " const errorMessage = (jsonSchema as unknown as { errorMessage?: Record<string, string> })",
312 "count": 1
313 },
314 {
315 "ruleId": "ts-double-assertion",
316 "file": "ts/packages/json-schema-to-zod/src/utils/its.ts",
317 "source": " (x as unknown as { nullable: boolean }).nullable === true,",
318 "count": 1
319 },
320 {
321 "ruleId": "ts-double-assertion",
322 "file": "ts/packages/providers/claude-agent-sdk/src/index.ts",
323 "source": " const defineTool = sdkTool as unknown as (\n name: string,\n description: string,\n inputSchema: ZodType,\n handler: (\n args: Record<string, unknown>\n ) => Promise<{ content: Array<{ type: 'text'; text: string }> }>\n ) => ClaudeAgentTool;",
324 "count": 1
325 },
326 {
327 "ruleId": "ts-double-assertion",
328 "file": "ts/packages/providers/cloudflare/src/index.ts",
329 "source": " parameters: inputParameters as unknown as {\n type: 'object';\n properties: {\n [key: string]: {\n type: string;\n description?: string;\n };\n };\n required: string[];\n },",
330 "count": 1
331 },
332 {
333 "ruleId": "ts-double-assertion",
334 "file": "ts/packages/providers/llamaindex/src/index.ts",
335 "source": " return new FunctionTool(\n execute,\n {\n name: tool.slug,\n description: tool.description ?? tool.name ?? '',\n parameters: parameters as LlamaindexToolParameters,\n },\n jsonSchemaToZodSchema(parameters)\n ) as unknown as LlamaindexTool;",
336 "count": 1
337 },
338 {
339 "ruleId": "ts-empty-catch",
340 "file": "scripts/agent-task.ts",
341 "source": " } catch {}",
342 "count": 1
343 },
344 {
345 "ruleId": "ts-empty-catch",
346 "file": "ts/packages/cli-keyring/src/stores/macos-security-ffi.ts",
347 "source": " } catch {\n // Spawn failure is fine — entry may not exist.\n }",
348 "count": 1
349 },
350 {
351 "ruleId": "ts-empty-catch",
352 "file": "ts/packages/cli-keyring/src/stores/macos-security-subprocess.ts",
353 "source": " } catch {\n // Spawn failure (e.g. /usr/bin/security missing) — the add\n // below will hit the same failure and surface it properly.\n }",
354 "count": 1
355 },
356 {
357 "ruleId": "ts-empty-catch",
358 "file": "ts/packages/core/scripts/generate-docs.ts",
359 "source": " } catch {\n // Directory doesn't exist, that's fine\n }",
360 "count": 1
361 },
362 {
363 "ruleId": "ts-empty-catch",
364 "file": "ts/packages/core/scripts/generate-docs.ts",
365 "source": " } catch {\n // Ignore cleanup errors\n }",
366 "count": 1
367 },
368 {
369 "ruleId": "ts-empty-catch",
370 "file": "ts/packages/core/src/platform/node.ts",
371 "source": " } catch {\n // Walk toward the filesystem root until an existing directory is found.\n }",
372 "count": 1
373 },
374 {
375 "ruleId": "ts-empty-catch",
376 "file": "ts/packages/core/src/utils/sensitiveFileUploadPaths.ts",
377 "source": " } catch {\n // If realpath fails (e.g. race), use resolved path\n }",
378 "count": 1
379 },
380 {
381 "ruleId": "ts-empty-catch",
382 "file": "ts/packages/core/src/utils/toolkitDeprecation.ts",
383 "source": " } catch {\n // The fallback is best-effort too: a sink that throws must not fail the call.\n }",
384 "count": 1
385 },
386 {
387 "ruleId": "ts-empty-catch",
388 "file": "ts/packages/core/src/utils/uploadDirAllowlist.node.ts",
389 "source": " } catch {\n // ignore\n }",
390 "count": 1
391 },
392 {
393 "ruleId": "ts-empty-catch",
394 "file": "ts/packages/core/src/utils/uploadDirAllowlist.node.ts",
395 "source": " } catch {\n // ignore and fall through\n }",
396 "count": 1
397 },
398 {
399 "ruleId": "ts-empty-catch",
400 "file": "ts/packages/core/src/utils/version.ts",
401 "source": " } catch (_error) {\n // Ignore and do nothing\n }",
402 "count": 1
403 },
404 {
405 "ruleId": "yaml-continue-on-error",
406 "file": ".github/workflows/build-cli-binaries.yml",
407 "source": " - name: Check baked toolkit slugs freshness\n continue-on-error: true\n run: |\n set -euo pipefail\n refreshed_at=$(sed -n \"s/.*BAKED_TOOLKIT_SLUGS_REFRESHED_AT = '\\(.*\\)'.*/\\1/p\" \\\n ts/packages/cli/src/generated/toolkit-slugs.ts)\n age_days=$(( ( $(date -u +%s) - $(date -u -d \"$refreshed_at\" +%s) ) / 86400 ))\n echo \"Baked toolkit slugs were refreshed $age_days day(s) ago ($refreshed_at).\"\n if [ \"$age_days\" -gt 14 ]; then\n echo \"::warning::Baked toolkit slugs are $age_days days old. Run the 'CLI - Update Toolkit Slugs' workflow.\"\n fi",
408 "count": 1
409 },
410 {
411 "ruleId": "yaml-continue-on-error",
412 "file": ".github/workflows/docs-agent-eval.yml",
413 "source": " - name: Run exact-HEAD docs agent eval\n if: steps.extent.outputs.extent != 'none'\n continue-on-error: true\n working-directory: engine\n env:\n GITHUB_TOKEN: ${{ github.token }}\n run: |\n RUNMODE=Smoke\n [ '${{ steps.extent.outputs.extent }}' = deep ] && RUNMODE=Deep\n python ci/run_full_eval.py \\\n --repo \"$SOURCE_REPO\" \\\n --head-sha '${{ steps.extent.outputs.head_sha }}' \\\n --mode \"$RUNMODE\"",
414 "count": 1
415 },
416 {
417 "ruleId": "yaml-continue-on-error",
418 "file": ".github/workflows/docs-check-links.yml",
419 "source": " - name: Open tracking issue on failure\n if: failure() && github.event_name != 'pull_request'\n continue-on-error: true\n # Override the job-level `./docs` default: that path only exists after\n # checkout, and a pre-checkout failure would otherwise leave the runner\n # unable to start this shell, silently losing the alert.\n working-directory: ${{ github.workspace }}\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GH_REPO: ${{ github.repository }}\n LABEL: docs-external-links-failure\n RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n EVENT_NAME: ${{ github.event_name }}\n run: |\n gh label create \"$LABEL\" \\\n --color B60205 \\\n --description \"Nightly docs external-link check is failing\" 2>/dev/null || true\n\n existing=$(gh issue list --label \"$LABEL\" --state open --limit 1 --json number --jq '.[0].number // empty')\n if [ -n \"$existing\" ]; then\n echo \"Issue #$existing is already open for this failure; not filing a duplicate.\"\n exit 0\n fi\n\n gh issue create \\\n --title \"Nightly docs external-link check is failing\" \\\n --label \"$LABEL\" \\\n --body \"The scheduled \\`Docs - Check Links\\` external sweep failed.\n\n - Run: $RUN_URL\n - Trigger: \\`$EVENT_NAME\\`\n\n The failing URLs are listed in the run log. External links only fail on\n evidence they are dead (404/410, or repeated network errors), so this\n usually means a linked page moved or was taken down — fix or remove the\n link in \\`docs/content\\`.\"\n",
420 "count": 1
421 },
422 {
423 "ruleId": "yaml-continue-on-error",
424 "file": ".github/workflows/docs-rebuild-kb-semantic.yml",
425 "source": " - name: Check semantic artifact freshness\n id: freshness\n continue-on-error: true\n run: bun run check:kb-semantic",
426 "count": 1
427 },
428 {
429 "ruleId": "yaml-continue-on-error",
430 "file": ".github/workflows/docs-update-data.yml",
431 "source": " - name: Close tracking issue on recovery\n if: success()\n continue-on-error: true\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GH_REPO: ${{ github.repository }}\n LABEL: docs-data-sync-failure\n run: |\n existing=$(gh issue list --label \"$LABEL\" --state open --limit 1 \\\n --json number --jq '.[0].number // empty')\n if [ -n \"$existing\" ]; then\n gh issue close \"$existing\" \\\n --comment \"The docs data sync recovered in run ${{ github.run_id }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.\"\n fi\n\n # A verifier crash is a tooling failure, not evidence that published guides\n # contradict production. Track it separately and close it after the verifier\n # returns either of its expected outcomes: clean (0) or findings (1).",
432 "count": 1
433 },
434 {
435 "ruleId": "yaml-continue-on-error",
436 "file": ".github/workflows/docs-update-data.yml",
437 "source": " - name: Open tracking issue on failure\n if: failure()\n continue-on-error: true\n # Override the job-level `./docs` default. That path only exists after\n # checkout, so a failure before it (e.g. the app-token step) would leave\n # the runner unable to start this shell — and continue-on-error would\n # swallow that, losing the alert for precisely the earliest failures.\n working-directory: ${{ github.workspace }}\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GH_REPO: ${{ github.repository }}\n LABEL: docs-data-sync-failure\n RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n EVENT_NAME: ${{ github.event_name }}\n run: |\n gh label create \"$LABEL\" \\\n --color B60205 \\\n --description \"Scheduled docs data sync is failing\" 2>/dev/null || true\n\n existing=$(gh issue list --label \"$LABEL\" --state open --limit 1 --json number --jq '.[0].number // empty')\n if [ -n \"$existing\" ]; then\n echo \"Issue #$existing is already open for this failure; not filing a duplicate.\"\n exit 0\n fi\n\n gh issue create \\\n --title \"Docs data sync is failing\" \\\n --label \"$LABEL\" \\\n --body \"The scheduled \\`Docs - Update Data\\` workflow failed.\n\n - Run: $RUN_URL\n - Trigger: \\`$EVENT_NAME\\`\n\n **Impact:** while this is red, \\`docs/public/data/toolkits.json\\` stops being\n refreshed. docs.composio.dev/toolkits is statically generated from that file, so\n toolkits added to production after the last successful run have no page and\n return 404. The site stays up, which is why this fails silently.\n\n **First thing to check:** the \\`COMPOSIO_DOCS_API_KEY\\` secret must have\n **production** read access against \\`backend.composio.dev\\`. Note this job does\n not use the shared \\`COMPOSIO_API_KEY\\`, which is staging-scoped.\n\n This issue is filed once, not re-filed on every run, and automatically closes\n after the next successful sync proves recovery.\"",
438 "count": 1
439 },
440 {
441 "ruleId": "yaml-continue-on-error",
442 "file": ".github/workflows/docs-update-data.yml",
443 "source": " - name: Request review from trigger actor\n if: steps.create-pr.outputs.pull-request-number\n continue-on-error: true\n env:\n GH_TOKEN: ${{ steps.app-token.outputs.token }}\n PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}\n AUTHOR: ${{ github.actor }}\n run: |\n gh pr edit \"$PR_NUMBER\" --add-reviewer \"$AUTHOR\" || \\\n gh pr edit \"$PR_NUMBER\" --add-reviewer \"Sushmithamallesh\"\n\n # A silent failure here is invisible: the workflow stops refreshing\n # public/data/toolkits.json, the docs site keeps building from the last\n # good commit, and nothing 500s — new toolkits simply 404. That is how a\n # credential failure went unnoticed for 60 consecutive runs. File one\n # tracking issue and close it after the next successful run proves recovery.",
444 "count": 1
445 },
446 {
447 "ruleId": "yaml-continue-on-error",
448 "file": ".github/workflows/docs-update-data.yml",
449 "source": " - name: Track KB freshness findings\n if: always() && (steps.verify-kb.outputs.exit_code == '0' || steps.verify-kb.outputs.exit_code == '1')\n continue-on-error: true\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n VERIFY_EXIT: ${{ steps.verify-kb.outputs.exit_code }}\n TITLE: 'KB freshness: published guides contradict production data'\n run: |\n set -euo pipefail\n # Exactly one issue carries this label, so listing by label is the lookup.\n existing=$(gh issue list --state open --label kb-freshness \\\n --json number --jq '.[0].number // empty' 2>/dev/null || true)\n\n if [ \"$VERIFY_EXIT\" = \"0\" ]; then\n if [ -n \"$existing\" ]; then\n gh issue close \"$existing\" \\\n --comment \"Verified clean against the current production catalog by run ${{ github.run_id }}.\"\n fi\n exit 0\n fi\n\n {\n echo \"\\`verify:kb\\` found published KB guides whose claims no longer match production.\"\n echo\n echo \"Fix the guide, or demote it to \\`state: needs-review\\` in its \\`docs/kb/guides/<slug>.json\\`\"\n echo \"so it stops serving readers while it is wrong.\"\n echo\n cat \"$RUNNER_TEMP/kb-freshness.md\" 2>/dev/null \\\n || echo \"Report unavailable — \\`verify:kb\\` exited $VERIFY_EXIT before writing it.\"\n echo\n echo \"_Regenerated by [run ${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})._\"\n } > \"$RUNNER_TEMP/kb-issue.md\"\n\n gh label create kb-freshness --color FBCA04 \\\n --description \"Published KB guides contradicting production data\" 2>/dev/null || true\n\n if [ -n \"$existing\" ]; then\n gh issue edit \"$existing\" --body-file \"$RUNNER_TEMP/kb-issue.md\"\n else\n gh issue create --title \"$TITLE\" --label kb-freshness \\\n --body-file \"$RUNNER_TEMP/kb-issue.md\"\n fi\n",
450 "count": 1
451 },
452 {
453 "ruleId": "yaml-continue-on-error",
454 "file": ".github/workflows/docs-update-data.yml",
455 "source": " - name: Track KB freshness verifier health\n if: always() && steps.verify-kb.outputs.exit_code != ''\n continue-on-error: true\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n VERIFY_EXIT: ${{ steps.verify-kb.outputs.exit_code }}\n LABEL: kb-freshness-check-failure\n TITLE: 'KB freshness verifier is failing'\n run: |\n set -euo pipefail\n existing=$(gh issue list --state open --label \"$LABEL\" \\\n --json number --jq '.[0].number // empty' 2>/dev/null || true)\n\n if [ \"$VERIFY_EXIT\" = \"0\" ] || [ \"$VERIFY_EXIT\" = \"1\" ]; then\n if [ -n \"$existing\" ]; then\n gh issue close \"$existing\" \\\n --comment \"The verifier recovered in run ${{ github.run_id }} (exit $VERIFY_EXIT).\"\n fi\n exit 0\n fi\n\n gh label create \"$LABEL\" --color B60205 \\\n --description \"KB freshness verifier is failing\" 2>/dev/null || true\n\n {\n echo \"The KB freshness verifier exited $VERIFY_EXIT before it could classify published content.\"\n echo\n echo \"This is a verifier or workflow failure, not evidence that published guides contradict production.\"\n echo\n echo \"_Observed in [run ${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})._\"\n } > \"$RUNNER_TEMP/kb-verifier-issue.md\"\n\n if [ -n \"$existing\" ]; then\n gh issue edit \"$existing\" --body-file \"$RUNNER_TEMP/kb-verifier-issue.md\"\n else\n gh issue create --title \"$TITLE\" --label \"$LABEL\" \\\n --body-file \"$RUNNER_TEMP/kb-verifier-issue.md\"\n fi\n\n # One long-lived issue, rewritten each run. A new issue per sweep would train\n # everyone to ignore the label; a single issue that closes itself when the KB\n # is clean stays worth reading. Runs regardless of whether data changed —\n # a guide can rot while the catalog is unchanged.",
456 "count": 1
457 },
458 {
459 "ruleId": "yaml-continue-on-error",
460 "file": ".github/workflows/docs-update-data.yml",
461 "source": " - name: Verify KB freshness against refreshed data\n id: verify-kb\n continue-on-error: true\n run: |\n set +e\n bun scripts/verify-kb.ts --check-links \\\n --markdown \"$RUNNER_TEMP/kb-freshness.md\"\n echo \"exit_code=$?\" >> \"$GITHUB_OUTPUT\"\n cat \"$RUNNER_TEMP/kb-freshness.md\" >> \"$GITHUB_STEP_SUMMARY\"",
462 "count": 1
463 },
464 {
465 "ruleId": "yaml-continue-on-error",
466 "file": ".github/workflows/docs-update-kb.yml",
467 "source": " - name: Close KB repair failure issue\n if: needs.refresh.result == 'success' && (needs.refresh.outputs.changed != 'true' || needs.propose.result == 'success')\n continue-on-error: true\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GH_REPO: ${{ github.repository }}\n LABEL: docs-kb-refresh-failure\n run: |\n existing=$(gh issue list --label \"$LABEL\" --state open --limit 1 \\\n --json number --jq '.[0].number // empty')\n if [ -n \"$existing\" ]; then\n gh issue close \"$existing\" \\\n --comment \"The KB semantic artifact repair recovered in run ${{ github.run_id }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.\"\n fi\n",
468 "count": 1
469 },
470 {
471 "ruleId": "yaml-continue-on-error",
472 "file": ".github/workflows/docs-update-kb.yml",
473 "source": " - name: Open KB repair failure issue\n if: needs.refresh.result == 'failure' || needs.propose.result == 'failure'\n continue-on-error: true\n env:\n GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n GH_REPO: ${{ github.repository }}\n LABEL: docs-kb-refresh-failure\n RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n EVENT_NAME: ${{ github.event_name }}\n REFRESH_RESULT: ${{ needs.refresh.result }}\n PROPOSE_RESULT: ${{ needs.propose.result }}\n run: |\n gh label create \"$LABEL\" \\\n --color B60205 \\\n --description \"Scheduled KB semantic artifact repair is failing\" 2>/dev/null || true\n\n existing=$(gh issue list --label \"$LABEL\" --state open --limit 1 \\\n --json number --jq '.[0].number // empty')\n if [ -n \"$existing\" ]; then\n echo \"Issue #$existing is already open for this failure; not filing a duplicate.\"\n exit 0\n fi\n\n gh issue create \\\n --title \"KB semantic artifact repair is failing\" \\\n --label \"$LABEL\" \\\n --body \"The scheduled KB semantic artifact repair failed.\n\n - Run: $RUN_URL\n - Trigger: \\`$EVENT_NAME\\`\n - Rebuild job: \\`$REFRESH_RESULT\\`\n - Proposal job: \\`$PROPOSE_RESULT\\`\n\n **Impact:** KB search answers new or changed content with keyword results\n only until this workflow recovers.\n\n **First checks:** verify that \\`OPENAI_API_KEY\\` is set and that the Release\n Bot GitHub App can write the repair branch and PR in \\`ComposioHQ/composio\\`.\"",
474 "count": 1
475 },
476 {
477 "ruleId": "yaml-continue-on-error",
478 "file": ".github/workflows/docs.changelog-to-docs.yml",
479 "source": " - name: Request review from pusher\n if: steps.create-pr.outputs.pull-request-number\n continue-on-error: true\n env:\n GH_TOKEN: ${{ steps.app-token.outputs.token }}\n PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}\n AUTHOR: ${{ github.actor }}\n run: gh pr edit \"$PR_NUMBER\" --add-reviewer \"$AUTHOR\"\n",
480 "count": 1
481 },
482 {
483 "ruleId": "yaml-continue-on-error",
484 "file": ".github/workflows/docs.sdk-change-sync.yml",
485 "source": " - name: Request review from pusher\n if: steps.create-pr.outputs.pull-request-number\n continue-on-error: true\n env:\n GH_TOKEN: ${{ steps.app-token.outputs.token }}\n PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}\n AUTHOR: ${{ github.actor }}\n run: gh pr edit \"$PR_NUMBER\" --add-reviewer \"$AUTHOR\"\n",
486 "count": 1
487 },
488 {
489 "ruleId": "yaml-continue-on-error",
490 "file": ".github/workflows/ts.audit.yml",
491 "source": " - name: Run pnpm audit (production dependencies only)\n id: audit\n continue-on-error: true\n run: pnpm audit --prod > audit-output.txt 2>&1",
492 "count": 1
493 }
494 ]