-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetekt-baseline.xml
More file actions
416 lines (416 loc) · 71 KB
/
Copy pathdetekt-baseline.xml
File metadata and controls
416 lines (416 loc) · 71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<?xml version="1.0" ?>
<SmellBaseline>
<ManuallySuppressedIssues/>
<CurrentIssues>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheBadTypeBaz__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheCleanFoo__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheCtorOnly__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheEmptyBar__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheInstanceFields__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheMutableQux__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedMetaCacheTest.kt$MetaCacheNullValueQuux__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedSchemaLookupTest.kt$HandGeneratedDecision__GeneratedSchema</ID>
<ID>ClassNaming:GeneratedSchemaLookupTest.kt$HandGeneratedUser__GeneratedSchema</ID>
<ID>ComplexCondition:ClaudeClient.kt$ClaudeClient$toolDefs.isNotEmpty() && mainSystemHint != null && mainSystemHint.segment == CacheSegment.SystemPrompt && consumeBreakpoint()</ID>
<ID>CyclomaticComplexMethod:AgenticLoop.kt$internal suspend fun <IN> executeAgentic( agent: Agent<IN, *>, skill: Skill<*, *>, input: IN, /** * #3376 batch 5 — the per-invocation execution parameters (prompt override, resume/HITL state, * checkpoint callback, manifest-mismatch opt-out, attachments) bundled into one [RunRequest], * shared with [Agent.invokeSuspendForSession]. Defaults to a fresh invocation. */ request: agents_engine.core.RunRequest = agents_engine.core.RunRequest(), /** * #1739: optional AgentEvent emitter. When non-null, the loop streams * via `client.chatStream(...)`, surfaces `Token` / `ToolCallStarted` / * `ToolCallArgumentsDelta` events from chunks, and emits * `ToolCallFinished` after each tool executor runs. When null, the * loop uses `client.chat(...)` byte-for-byte as before — non-streaming * callers (`Agent.invoke`, `Agent.invokeSuspend`) pay no overhead. */ emitter: AgentEventEmitter? = null, runtimeContext: AgentRuntimeContext = AgentRuntimeContext.currentOrNew(), ): AgenticResult</ID>
<ID>CyclomaticComplexMethod:ClaudeClient.kt$ClaudeClient$@Suppress("UNCHECKED_CAST") private suspend fun dispatchSseEvent( event: String, dataJson: String, blocks: MutableMap<Int, BlockState>, collector: FlowCollector<LlmChunk>, onInputTokens: (Int) -> Unit, onCachedInputTokens: (Int) -> Unit, onOutputTokens: (Int) -> Unit, onMessageStop: suspend () -> Unit, )</ID>
<ID>CyclomaticComplexMethod:ClaudeClient.kt$ClaudeClient$internal fun buildRequestJson( messages: List<LlmMessage>, stream: Boolean = false, jsonSchema: JsonSchema? = null, ): String</ID>
<ID>CyclomaticComplexMethod:LenientJsonParser.kt$LenientJsonParser.Parser$private fun parseNumber(): Number</ID>
<ID>CyclomaticComplexMethod:OllamaClient.kt$OllamaClient$override suspend fun chatStream(messages: List<LlmMessage>, jsonSchema: JsonSchema?): Flow<LlmChunk></ID>
<ID>CyclomaticComplexMethod:OpenAiClient.kt$OpenAiClient$private suspend fun parseSseStream(stream: InputStream, collector: FlowCollector<LlmChunk>)</ID>
<ID>DestructuringDeclarationWithTooManyEntries:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$val (eventsA, outputA, eventsB, outputB) = coroutineScope { val sessionA = echoAgent.session("alpha") val sessionB = echoAgent.session("bravo") val a = async { sessionA.events.toList() } val b = async { sessionB.events.toList() } val outA = sessionA.await() val outB = sessionB.await() Quad(a.await(), outA, b.await(), outB) }</ID>
<ID>EmptyDefaultConstructor:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest.Spec$()</ID>
<ID>EmptyElseBlock:SnapshotResumeTest.kt$SnapshotResumeTest$if (firstSeenMessages == null) firstSeenMessages = msgs.toList()</ID>
<ID>LongMethod:AgenticLoop.kt$internal suspend fun <IN> executeAgentic( agent: Agent<IN, *>, skill: Skill<*, *>, input: IN, /** * #3376 batch 5 — the per-invocation execution parameters (prompt override, resume/HITL state, * checkpoint callback, manifest-mismatch opt-out, attachments) bundled into one [RunRequest], * shared with [Agent.invokeSuspendForSession]. Defaults to a fresh invocation. */ request: agents_engine.core.RunRequest = agents_engine.core.RunRequest(), /** * #1739: optional AgentEvent emitter. When non-null, the loop streams * via `client.chatStream(...)`, surfaces `Token` / `ToolCallStarted` / * `ToolCallArgumentsDelta` events from chunks, and emits * `ToolCallFinished` after each tool executor runs. When null, the * loop uses `client.chat(...)` byte-for-byte as before — non-streaming * callers (`Agent.invoke`, `Agent.invokeSuspend`) pay no overhead. */ emitter: AgentEventEmitter? = null, runtimeContext: AgentRuntimeContext = AgentRuntimeContext.currentOrNew(), ): AgenticResult</ID>
<ID>LongMethod:ClaudeClient.kt$ClaudeClient$internal fun buildRequestJson( messages: List<LlmMessage>, stream: Boolean = false, jsonSchema: JsonSchema? = null, ): String</ID>
<ID>LongMethod:PipelineEvent.kt$fun Agent<*, *>.observe(handler: (PipelineEvent) -> Unit)</ID>
<ID>LoopWithTooManyJumpStatements:LineDelimitedMcpTransport.kt$LineDelimitedMcpTransport$while</ID>
<ID>LoopWithTooManyJumpStatements:LiveShow.kt$LiveShow$while</ID>
<ID>LoopWithTooManyJumpStatements:OllamaClient.kt$OllamaClient$for</ID>
<ID>LoopWithTooManyJumpStatements:OllamaGemmaFallbackScenariosTest.kt$OllamaGemmaFallbackScenariosTest.ArithParser$while</ID>
<ID>LoopWithTooManyJumpStatements:OpenAiClient.kt$OpenAiClient$for</ID>
<ID>MagicNumber:Agent.kt$Agent$0.6</ID>
<ID>MagicNumber:Agent.kt$Agent$0.8</ID>
<ID>MagicNumber:Agent.kt$Agent$77</ID>
<ID>MagicNumber:Agent.kt$Agent$80</ID>
<ID>MagicNumber:AgenticLoop.kt$1_000_000L</ID>
<ID>MagicNumber:BudgetBuilder.kt$BudgetBuilder$32</ID>
<ID>MagicNumber:BudgetBuilder.kt$BudgetBuilder$8</ID>
<ID>MagicNumber:ClaudeClient.kt$ClaudeClient$1024</ID>
<ID>MagicNumber:InternalsAgent.kt$4</ID>
<ID>MagicNumber:JsonEscape.kt$0x20</ID>
<ID>MagicNumber:JsonSchema.kt$64</ID>
<ID>MagicNumber:LenientJsonParser.kt$LenientJsonParser.Parser$16</ID>
<ID>MagicNumber:LenientJsonParser.kt$LenientJsonParser.Parser$4</ID>
<ID>MagicNumber:LenientJsonParser.kt$LenientJsonParser.Parser$5</ID>
<ID>MagicNumber:LiveShowBuilder.kt$LiveShowBuilder$20</ID>
<ID>MagicNumber:Main.kt$60</ID>
<ID>MagicNumber:McpJson.kt$McpJson$0x20</ID>
<ID>MagicNumber:McpRunner.kt$McpRunner$50</ID>
<ID>MagicNumber:McpServer.kt$McpServer$200</ID>
<ID>MagicNumber:McpServer.kt$McpServer$202</ID>
<ID>MagicNumber:McpServer.kt$McpServer$400</ID>
<ID>MagicNumber:McpServer.kt$McpServer$403</ID>
<ID>MagicNumber:McpServer.kt$McpServer$405</ID>
<ID>MagicNumber:McpServer.kt$McpServer$413</ID>
<ID>MagicNumber:McpServer.kt$McpServer$415</ID>
<ID>MagicNumber:McpServer.kt$McpServer$500</ID>
<ID>MagicNumber:McpServerAuth.kt$McpServerAuth.RequireBearerToken$401</ID>
<ID>MagicNumber:McpServerAuth.kt$McpServerAuth.RequireBearerTokens$401</ID>
<ID>MagicNumber:McpServerAuth.kt$McpServerAuth.TrustedLocal$401</ID>
<ID>MagicNumber:ModelBuilder.kt$ModelBuilder$0.7</ID>
<ID>MagicNumber:ModelBuilder.kt$ModelBuilder$11434</ID>
<ID>MagicNumber:ModelConfig.kt$ModelConfig$6</ID>
<ID>MagicNumber:ModelConfig.kt$ModelConfig$8</ID>
<ID>MagicNumber:PrefixStabilityGuard.kt$PrefixStabilityGuard$4</ID>
<ID>MagicNumber:StdioMcpTransport.kt$StdioMcpTransport.Companion$500</ID>
<ID>MagicNumber:ToolResult.kt$12</ID>
<ID>MaxLineLength:AgentEvent.kt$AgentEvent$/** The agent that produced this event. For composed pipelines this is the inner agent's name, not the composition's. */</ID>
<ID>MaxLineLength:AgentFibonacciMcpTest.kt$AgentFibonacciMcpTest$transformOutput { it.trim().toIntOrNull() ?: Regex("\\d+").find(it)?.value?.toInt() ?: error("No int in: $it") }</ID>
<ID>MaxLineLength:AgentMemoryTest.kt$AgentMemoryTest$responses.add(LlmResponse.ToolCalls(listOf(ToolCall("memory_write", mapOf("content" to "Known: user prefers dark mode\nKnown: user uses Kotlin")))))</ID>
<ID>MaxLineLength:AgentSessionBasicEventsTest.kt$AgentSessionBasicEventsTest$assertNull(completed.tokensUsed, "SkillCompleted.tokensUsed stays null until step 3 threads it through executeAgentic")</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$"expected [SkillStarted, ModelTurnStarted, Token, ModelTurnCompleted, SkillCompleted, Completed]; got: $events"</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$assertEquals("done", token.text, "the entire stub Text response becomes one Token chunk under default chatStream")</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$assertEquals("uppercase", started.skillName, "session $label: skill name must not be corrupted by the other session")</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$assertEquals(expected, completed.tokensUsed, "Completed.tokensUsed must sum prompt and completion tokens across turns")</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$assertEquals(expected, skillCompleted.tokensUsed, "SkillCompleted.tokensUsed must sum prompt and completion tokens across turns")</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$assertTrue(argsDeltas.isNotEmpty(), "expected at least one ToolCallArgumentsDelta with the same callId; got: $events")</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$fun</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$val argsDeltas = events.filterIsInstance<AgentEvent.ToolCallArgumentsDelta>().filter { it.callId == explicitCallId }</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$val completed = events[4]</ID>
<ID>MaxLineLength:AgentSessionIntegrationTest.kt$AgentSessionIntegrationTest$val terminal = events[5]</ID>
<ID>MaxLineLength:AgentSessionLiveTest.kt$AgentSessionLiveTest$fun</ID>
<ID>MaxLineLength:AgenticLoop.kt$"Agent '${agent.name}' invoked tool '${call.name}' $consecutiveSameTool times in a row (cap: $cap)"</ID>
<ID>MaxLineLength:AgenticLoop.kt$"hash=${content.ref.hash.take(BLOB_HASH_PREFIX_LEN)}…, size=${content.ref.sizeBytes}); "</ID>
<ID>MaxLineLength:AgenticLoopMutationTest.kt$AgenticLoopMutationTest$arguments = mapOf("name" to "world")</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$"Ollama returned text with no digits — likely tool-call divergence flake; skipping rather than red-flagging"</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$add = tool("add", "Add two numbers. Args: a, b") { args -> num(args, "a") + num(args, "b") }</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$divide = tool("divide", "Divide a by b. Args: a, b") { args -> num(args, "a") / num(args, "b") }</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$multiply = tool("multiply", "Multiply two numbers. Args: a, b") { args -> num(args, "a") * num(args, "b") }</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$power = tool("power", "Raise base to exponent. Args: base, exp") { args -> Math.pow(num(args, "base"), num(args, "exp")) }</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$prompt("You are a calculator. Use the provided tools to evaluate expressions step by step. After all tool calls, reply with ONLY the final number.")</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$prompt("You are a calculator. Use the provided tools to evaluate the expression, then reply with ONLY the final number — no explanation.")</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$prompt("You are a calculator. You MUST use the provided tools for every arithmetic operation — never compute mentally. After all tool calls, reply with ONLY the final number.")</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$subtract = tool("subtract", "Subtract b from a. Args: a, b") { args -> num(args, "a") - num(args, "b") }</ID>
<ID>MaxLineLength:AgenticLoopTest.kt$AgenticLoopTest$transformOutput { it.trim().toIntOrNull() ?: Regex("-?\\d+").find(it)?.value?.toInt() ?: error("No integer in: $it") }</ID>
<ID>MaxLineLength:AgentsForumTest.kt$AgentsForumTest$val pipeline = inputToSpecsConverter then (forumInitiationAgent * crazyCodeSlopGenerator * passiveCodeGenerator * answerMaster) then printMaster</ID>
<ID>MaxLineLength:AgentsPipelineTest.kt$AgentsPipelineTest$val totalPipelineWithType: Pipeline<SomeSpecAsk, SomeProductionMachineryManagement> = pipelinePt1 then pipelinePt2</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val featuresMaster = agent<SpecsParcel, List<Spec>>("ft_master") { skills { skill<SpecsParcel, List<Spec>>("ft_master") { implementedBy { List(featureCount) { Feature() } } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val featuresMaster = agent<SpecsParcel, Spec>("features_master") { skills { skill<SpecsParcel, Spec>("features_master") { implementedBy { Feature() } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val glossaryMaster = agent<SpecsParcel, List<Spec>>("gl_master") { skills { skill<SpecsParcel, List<Spec>>("gl_master") { implementedBy { List(glossaryCount) { GlossaryTerm() } } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val glossaryMaster = agent<SpecsParcel, Spec>("glossary_master") { skills { skill<SpecsParcel, Spec>("glossary_master") { implementedBy { GlossaryTerm() } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val outerRefsMaster = agent<SpecsParcel, List<Spec>>("or_master") { skills { skill<SpecsParcel, List<Spec>>("or_master") { implementedBy { List(outerRefCount) { OuterReference() } } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val outerRefsMaster = agent<SpecsParcel, Spec>("outer_refs_master") { skills { skill<SpecsParcel, Spec>("outer_refs_master") { implementedBy { OuterReference() } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val requirementsMaster = agent<SpecsParcel, List<Spec>>("req_master") { skills { skill<SpecsParcel, List<Spec>>("req_master") { implementedBy { List(requirementCount) { Requirement() } } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val requirementsMaster = agent<SpecsParcel, Spec>("requirements_master") { skills { skill<SpecsParcel, Spec>("requirements_master") { implementedBy { Requirement() } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val systemActorsMaster = agent<SpecsParcel, List<Spec>>("sa_master") { skills { skill<SpecsParcel, List<Spec>>("sa_master") { implementedBy { List(actorCount) { SystemActor() } } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val systemActorsMaster = agent<SpecsParcel, Spec>("system_actors_master") { skills { skill<SpecsParcel, Spec>("system_actors_master") { implementedBy { SystemActor() } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val useCasesMaster = agent<SpecsParcel, List<Spec>>("uc_master") { skills { skill<SpecsParcel, List<Spec>>("uc_master") { implementedBy { List(useCaseCount) { UseCase() } } } } }</ID>
<ID>MaxLineLength:AllSpecsDeepIntegrationTest.kt$AllSpecsDeepIntegrationTest$val useCasesMaster = agent<SpecsParcel, Spec>("use_case_master") { skills { skill<SpecsParcel, Spec>("use_case_master") { implementedBy { UseCase() } } } }</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$prompt("Classify the sentiment of the input as exactly one word: positive, negative, or neutral. Reply with ONLY that word.")</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$prompt("Determine if the given item is edible (food) or not. Reply with ONLY one word: edible or inedible.")</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$prompt("You are a creative chef. Given a food item, suggest a dish. Reply with ONLY: Yummy, we can make {dish name} from it")</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$prompt("You are a creative crafter. Given a non-food item, suggest what to make from it. Reply with ONLY: Don't eat this! Better {what to make from it}")</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$skills { skill<Negative, String>("neg", "Respond to complaint") { implementedBy { "Sorry to hear that." } } }</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$skills { skill<Positive, String>("pos", "Respond positively") { implementedBy { "Thanks for the kind words!" } } }</ID>
<ID>MaxLineLength:BranchAgenticIntegrationTest.kt$BranchAgenticIntegrationTest$tools { logIssue = tool("log_issue", "Log a support issue") { args -> toolCalls.add(args["msg"].toString()); "logged" } }</ID>
<ID>MaxLineLength:BranchBuilderCoverageTest.kt$BranchBuilderCoverageTest$agent<Any, String>(name) { skills { skill<Any, String>("s") { implementedBy { "any: ${it::class.simpleName}" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$circleHandler then agent<String, String>("x") { skills { skill<String, String>("x") { implementedBy { it } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Circle>() then agent<Circle, Double>("c") { skills { skill<Circle, Double>("c") { implementedBy { it.radius } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Circle>() then agent<Circle, Int>("c") { skills { skill<Circle, Int>("c") { implementedBy { it.radius.toInt() } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Circle>() then agent<Circle, String>("c") { skills { skill<Circle, String>("c") { implementedBy { "circle r=${it.radius}" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Circle>() then agent<Circle, String>("c") { skills { skill<Circle, String>("c") { implementedBy { "circle" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Rectangle>() then agent<Rectangle, Double>("r") { skills { skill<Rectangle, Double>("r") { implementedBy { it.w * it.h } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Rectangle>() then agent<Rectangle, Int>("r") { skills { skill<Rectangle, Int>("r") { implementedBy { (it.w * it.h).toInt() } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Rectangle>() then agent<Rectangle, String>("r") { skills { skill<Rectangle, String>("r") { implementedBy { "rect ${it.w}x${it.h}" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Rectangle>() then agent<Rectangle, String>("r") { skills { skill<Rectangle, String>("r") { implementedBy { "rect" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Triangle>() then agent<Triangle, Double>("t") { skills { skill<Triangle, Double>("t") { implementedBy { it.base * it.height / 2 } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Triangle>() then agent<Triangle, Int>("t") { skills { skill<Triangle, Int>("t") { implementedBy { (it.base * it.height / 2).toInt() } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Triangle>() then agent<Triangle, String>("t") { skills { skill<Triangle, String>("t") { implementedBy { "tri b=${it.base}" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$on<Triangle>() then agent<Triangle, String>("t") { skills { skill<Triangle, String>("t") { implementedBy { "tri" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$val area = agent<Circle, Double>("area") { skills { skill<Circle, Double>("area") { implementedBy { Math.PI * it.radius * it.radius } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$val circleHandler = agent<Circle, String>("c") { skills { skill<Circle, String>("c") { implementedBy { "circle" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$val prepare = agent<Int, String>("prepare") { skills { skill<Int, String>("prepare") { implementedBy { if (it > 0) "circle" else "rect" } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$val rounded = agent<Double, String>("round") { skills { skill<Double, String>("round") { implementedBy { "%.2f".format(Locale.US, it) } } } }</ID>
<ID>MaxLineLength:BranchExecutionTest.kt$BranchExecutionTest$val wrap = agent<Double, String>("wrap") { skills { skill<Double, String>("wrap") { implementedBy { "area=%.1f".format(Locale.US, it) } } } }</ID>
<ID>MaxLineLength:BranchSessionTest.kt$BranchSessionTest$assertEquals("approved-handler", terminal.agentId, "Completed.agentId = name of the agent that produced the final output")</ID>
<ID>MaxLineLength:BranchSessionTest.kt$BranchSessionTest$assertTrue(classifierCompletedIdx < handlerStartedIdx, "classifier.SkillCompleted must precede approved-handler.SkillStarted")</ID>
<ID>MaxLineLength:BranchSessionTest.kt$BranchSessionTest$val classifierCompletedIdx = events.indexOfFirst { it is AgentEvent.SkillCompleted && it.agentId == "classifier" }</ID>
<ID>MaxLineLength:BranchSessionTest.kt$BranchSessionTest$val handlerStartedIdx = events.indexOfFirst { it is AgentEvent.SkillStarted && it.agentId == "approved-handler" }</ID>
<ID>MaxLineLength:BudgetConfig.kt$BudgetConfig$if (maxConsecutiveSameTool != d.maxConsecutiveSameTool) add("maxConsecutiveSameTool=$maxConsecutiveSameTool")</ID>
<ID>MaxLineLength:BuiltInToolWireSchema.kt$BuiltInToolWireSchema$"Claude" to object : ClaudeClient(apiKey = "test", model = "test", tools = tools) {}.buildRequestJson(emptyList())</ID>
<ID>MaxLineLength:BuiltInToolWireSchema.kt$BuiltInToolWireSchema$"OpenAI" to object : OpenAiClient(apiKey = "test", model = "test", tools = tools) {}.buildRequestJson(emptyList())</ID>
<ID>MaxLineLength:CacheObservabilityTest.kt$CacheObservabilityTest$val turn1 = TokenUsage(promptTokens = 1000, completionTokens = 30, cachedInputTokens = 0, cacheWriteTokens = 900, provider = "claude", model = "x")</ID>
<ID>MaxLineLength:CacheObservabilityTest.kt$CacheObservabilityTest$val turn2 = TokenUsage(promptTokens = 1000, completionTokens = 30, cachedInputTokens = 900, cacheWriteTokens = 0, provider = "claude", model = "x")</ID>
<ID>MaxLineLength:CacheObservabilityTest.kt$CacheObservabilityTest$val u = TokenUsage(promptTokens = 100, completionTokens = 20, cacheWriteTokens = 80, provider = "claude", model = "x")</ID>
<ID>MaxLineLength:CacheObservabilityTest.kt$CacheObservabilityTest$val u = TokenUsage(promptTokens = 1000, completionTokens = 50, cachedInputTokens = 850, provider = "claude", model = "x")</ID>
<ID>MaxLineLength:CacheObservabilityTest.kt$CacheObservabilityTest$val u = TokenUsage(promptTokens = 1000, completionTokens = 50, cachedInputTokens = null, provider = "ollama", model = "x")</ID>
<ID>MaxLineLength:CacheObservabilityTest.kt$CacheObservabilityTest$val u = TokenUsage(promptTokens = 500, completionTokens = 10, cachedInputTokens = 500, provider = "x", model = "x")</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$"""{"name":${STRUCTURED_OUTPUT_TOOL_NAME.toJsonString()},"description":"Return the final response using the requested JSON schema.","input_schema":${schema.schema}}"""</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$"""{"role":"user","content":[{"type":"text","text":${msg.content.toJsonString()},$cacheControl}]}"""</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$"""{"type":"image","source":{"type":"base64","media_type":${part.wireMime.value.toJsonString()},"data":${part.base64.toJsonString()}}}"""</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$"""{"type":"tool_result","tool_use_id":${id.toJsonString()},"content":${msg.content.toJsonString()},$cacheControl}"""</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$"""{"type":"tool_result","tool_use_id":${id.toJsonString()},"content":${msg.content.toJsonString()}}"""</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$add("""{"name":${t.name.toJsonString()},"description":${t.description.toJsonString()},"input_schema":$schema}""")</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$blocks += """{"type":"tool_use","id":${id.toJsonString()},"name":${call.name.toJsonString()},"input":$argsJson}"""</ID>
<ID>MaxLineLength:ClaudeClient.kt$ClaudeClient$return """{"model":${model.toJsonString()},"max_tokens":$maxTokens,"temperature":$effectiveTemperature$thinkingField$streamField$systemField,"messages":[${messageObjects.joinToString(",")}]$toolsField$toolChoiceField}"""</ID>
<ID>MaxLineLength:ClaudeClientCancellationTest.kt$ClaudeClientCancellationTest$fun</ID>
<ID>MaxLineLength:ClaudeClientCancellationTest.kt$ClaudeClientCancellationTest.SlowSseStream$add("event: content_block_delta\ndata: {\"type\":\"content_block_delta\",\"index\":0,\"delta\":{\"type\":\"text_delta\",\"text\":\"chunk$i \"}}\n\n")</ID>
<ID>MaxLineLength:ClaudeClientCancellationTest.kt$ClaudeClientCancellationTest.SlowSseStream$add("event: content_block_start\ndata: {\"type\":\"content_block_start\",\"index\":0,\"content_block\":{\"type\":\"text\"}}\n\n")</ID>
<ID>MaxLineLength:ClaudeClientCancellationTest.kt$ClaudeClientCancellationTest.SlowSseStream$add("event: message_start\ndata: {\"type\":\"message_start\",\"message\":{\"usage\":{\"input_tokens\":3,\"output_tokens\":1}}}\n\n")</ID>
<ID>MaxLineLength:ClaudeClientChatStreamLiveTest.kt$ClaudeClientChatStreamLiveTest$"expected either >=10ms gap OR >=5 chunks; first=${firstMs}ms last=${lastMs}ms gap=${gapMs}ms chunks=${textDeltas.size}"</ID>
<ID>MaxLineLength:ClaudeClientChatStreamLiveTest.kt$ClaudeClientChatStreamLiveTest$fun</ID>
<ID>MaxLineLength:ClaudeClientChatStreamTest.kt$ClaudeClientChatStreamTest$assertEquals("toolu_XYZ", argsDelta.callId, "tool-args delta must be tagged with the tool_use block's callId, not the text block")</ID>
<ID>MaxLineLength:ClaudeClientChatStreamTest.kt$ClaudeClientChatStreamTest$fun</ID>
<ID>MaxLineLength:ClaudeReasoningTest.kt$ClaudeReasoningTest$assertNull(assertIs<LlmResponse.Text>(object : ClaudeClient(apiKey = "k", model = "m") {}.parseResponse(body)).reasoning)</ID>
<ID>MaxLineLength:ClaudeReasoningTest.kt$ClaudeReasoningTest$val body = """{"content":[{"type":"thinking","thinking":"let me reason"},{"type":"text","text":"answer"}],"usage":{"input_tokens":1,"output_tokens":1}}"""</ID>
<ID>MaxLineLength:DeepSeekClientIntegrationTest.kt$DeepSeekClientIntegrationTest$LlmMessage("system", "You are a tool-calling assistant. Always call the available tool; do not answer in text.")</ID>
<ID>MaxLineLength:DeepSeekReasoningTest.kt$DeepSeekReasoningTest$object : DeepSeekClient(apiKey = "k", model = "deepseek-reasoner", reasoning = ReasoningConfig()) {}.parseResponse(body)</ID>
<ID>MaxLineLength:DeepSeekReasoningTest.kt$DeepSeekReasoningTest$val body = """{"choices":[{"index":0,"message":{"role":"assistant","content":"42","reasoning_content":"divide then check"}}],"usage":{"prompt_tokens":1,"completion_tokens":1}}"""</ID>
<ID>MaxLineLength:EscalateToolTest.kt$EscalateToolTest$assertTrue(!systemMsg.content.contains("escalate"), "escalate should NOT be in system prompt when not referenced")</ID>
<ID>MaxLineLength:EscalateToolTest.kt$EscalateToolTest$assertTrue(!systemMsg.content.contains("throwException"), "throwException should NOT be in system prompt when not referenced")</ID>
<ID>MaxLineLength:EvalCase.kt$EvalCase$EvalOutcome(expectation.label, passed, failureDetail = if (passed) null else expectation.describe(output))</ID>
<ID>MaxLineLength:EvalResult.kt$EvalResult$"eval case \"$caseName\" failed: agent threw ${invocationError::class.simpleName}: ${invocationError.message}"</ID>
<ID>MaxLineLength:ExposedSkill.kt$ExposedSkill.Companion$?:</ID>
<ID>MaxLineLength:FibonacciMemoryTest.kt$FibonacciMemoryTest$transformOutput { it.trim().toIntOrNull() ?: Regex("\\d+").find(it)?.value?.toInt() ?: error("No int in: $it") }</ID>
<ID>MaxLineLength:FileBlobStore.kt$FileBlobStore$Files.move(tmp, target, java.nio.file.StandardCopyOption.REPLACE_EXISTING, java.nio.file.StandardCopyOption.ATOMIC_MOVE)</ID>
<ID>MaxLineLength:FilesBlobStoreHardeningTest.kt$FilesBlobStoreHardeningTest$if (errors.isNotEmpty()) fail("Threads threw: ${errors.joinToString { it.message ?: it::class.simpleName ?: "?" }}")</ID>
<ID>MaxLineLength:ForumBuilder.kt$description = "Finalize the forum immediately. Args: value (optional) or a JSON object matching the forum result type."</ID>
<ID>MaxLineLength:ForumExecutionTest.kt$ForumExecutionTest$LlmResponse.ToolCalls(listOf(agents_engine.model.ToolCall("forum_return", mapOf("value" to "captain verdict"))))</ID>
<ID>MaxLineLength:ForumExecutionTest.kt$ForumExecutionTest$skills { skill<String, String>("a", "A") { implementedBy { threads["a"] = Thread.currentThread().name; "a" } } }</ID>
<ID>MaxLineLength:ForumExecutionTest.kt$ForumExecutionTest$skills { skill<String, String>("b", "B") { implementedBy { threads["b"] = Thread.currentThread().name; "b" } } }</ID>
<ID>MaxLineLength:ForumExecutionTest.kt$ForumExecutionTest$skills { skill<String, String>("participant", "Finalize immediately when enough information is available") { tools() } }</ID>
<ID>MaxLineLength:ForumTranscriptTest.kt$ForumTranscriptTest$assertEquals(setOf("voter1", "voter2", "voter3"), receivedTranscript!!.contributions.map { it.agentName }.toSet())</ID>
<ID>MaxLineLength:ForumTranscriptTest.kt$ForumTranscriptTest$val a = agent<String, String>("alpha") { skills { skill<String, String>("s", "") { implementedBy { "out-a" } } } }</ID>
<ID>MaxLineLength:ForumTranscriptTest.kt$ForumTranscriptTest$val b = agent<String, String>("beta") { skills { skill<String, String>("s", "") { implementedBy { "out-b" } } } }</ID>
<ID>MaxLineLength:GenerableSupportCoverageTest.kt$GenerableSupportCoverageTest$// NestedResult is from GenerableTest.kt: data class NestedResult(@Guide val inner: ScoreResult, val label: String)</ID>
<ID>MaxLineLength:GenerableSupportMutationTest.kt$GenerableSupportMutationTest$val result = MixedFields::class.constructFromMap(mapOf("req" to "x", "nul" to null, "opt" to 1, "extra" to "nope"))</ID>
<ID>MaxLineLength:InternalsAgentTest.kt$InternalsAgentTest$"""{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"$MCP_PROTOCOL_VERSION"}}""" + "\n"</ID>
<ID>MaxLineLength:InternalsAgentTest.kt$InternalsAgentTest$assertTrue(adjunctCount > 0, "Found 0 adjuncts on classpath — the scanner is broken or the resources dir moved.")</ID>
<ID>MaxLineLength:InterruptResumeTest.kt$InterruptResumeTest$assertEquals(ex.snapshot.pendingInterruptCallId, loaded.pendingInterruptCallId, "callId survives JSON round-trip")</ID>
<ID>MaxLineLength:InterruptResumeTest.kt$InterruptResumeTest$assertTrue("pendingInterruptCallId" in resumeError.message!!, "error explains the contract: ${resumeError.message}")</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$"Count top-level keys in a JSON object. Args: json (string — valid JSON with double-quoted keys, e.g. '{\"name\":\"world\"}')"</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$"You are a JSON analysis assistant. Use the calculateNumberOfKeys tool to count keys in JSON objects. "</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$assertTrue(errorToolMsg.content.contains("Malformed JSON"), "Reason should be in error: ${errorToolMsg.content}")</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$assertTrue(rawCallCount >= 2, "Tool must have been called at least twice (first fail + retry), got: $rawCallCount")</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$assertTrue(toolUses.size >= 2, "onToolUse must fire at least twice (escalation error + success), got: ${toolUses.size}")</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$description("Count top-level keys in a JSON object. Args: json (string — valid JSON with double-quoted keys)")</ID>
<ID>MaxLineLength:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$throw IllegalArgumentException("No valid keys found — JSON may have unquoted keys. All keys must be double-quoted.")</ID>
<ID>MaxLineLength:JsonRpc.kt$JsonRpc$"""{"${JsonRpcWire.KEY_JSONRPC}":"${JsonRpcWire.VERSION}","${JsonRpcWire.KEY_ID}":${McpJson.encode(id)},"${JsonRpcWire.KEY_RESULT}":${McpJson.encode(result)}}"""</ID>
<ID>MaxLineLength:JsonRpc.kt$JsonRpc$return """{"${JsonRpcWire.KEY_JSONRPC}":"${JsonRpcWire.VERSION}","${JsonRpcWire.KEY_ID}":${McpJson.encode(id)},"${JsonRpcWire.KEY_ERROR}":${McpJson.encode(errorObj)}}"""</ID>
<ID>MaxLineLength:KnowledgeToolDescriptionTest.kt$KnowledgeToolDescriptionTest$knowledge("checklist", "Self-verification steps before returning output") { "1. Check length\n2. Check tone" }</ID>
<ID>MaxLineLength:KoogRegressionMcpCleanTextOutputTest.kt$KoogRegressionMcpCleanTextOutputTest$val request = """{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"$toolName","arguments":$argsJson}}"""</ID>
<ID>MaxLineLength:KoogRegressionUnknownToolTest.kt$KoogRegressionUnknownToolTest$?:</ID>
<ID>MaxLineLength:KoogRegressionWrongTypedArgsTest.kt$KoogRegressionWrongTypedArgsTest$fun</ID>
<ID>MaxLineLength:LiveRunnerCliAndOnceTest.kt$LiveRunnerCliAndOnceTest$assertTrue(baos.toString().contains("hi"), "empty prompt should still invoke agent: '${baos.toString().trim()}'")</ID>
<ID>MaxLineLength:LlmChunk.kt$LlmChunk.ToolCallStarted$/** A new tool call has begun streaming. Arguments arrive next as ArgumentsDelta events; finalised in ToolCallFinished. */</ID>
<ID>MaxLineLength:LoopAgenticIntegrationTest.kt$LoopAgenticIntegrationTest$prompt("You are a text improver. Make the given text more formal and professional. Reply with ONLY the improved text, nothing else. Keep it to one sentence.")</ID>
<ID>MaxLineLength:LoopAgenticIntegrationTest.kt$LoopAgenticIntegrationTest$tools { increment = tool("increment", "Increment a number") { args -> toolLog.add(args["n"].toString()); "ok" } }</ID>
<ID>MaxLineLength:LoopExecutionTest.kt$LoopExecutionTest$val</ID>
<ID>MaxLineLength:LoopExecutionTest.kt$LoopExecutionTest$val finalize = agent<Int, String>("wrap") { skills { skill<Int, String>("wrap") { implementedBy { "result:$it" } } } }</ID>
<ID>MaxLineLength:LoopExecutionTest.kt$LoopExecutionTest$val prepare = agent<String, Int>("len") { skills { skill<String, Int>("len") { implementedBy { it.length } } } }</ID>
<ID>MaxLineLength:LoopPlacementTest.kt$LoopPlacementTest$val prepare = agent<String, Int>("prepare") { skills { skill<String, Int>("prepare") { implementedBy { it.length } } } }</ID>
<ID>MaxLineLength:LoopPlacementTest.kt$LoopPlacementTest$val refine = agent<Int, Int>("refine") { skills { skill<Int, Int>("refine") { implementedBy { it + 1 } } } }</ID>
<ID>MaxLineLength:LoopPlacementTest.kt$LoopPlacementTest$val wrap = agent<Int, String>("wrap") { skills { skill<Int, String>("wrap") { implementedBy { "[$it]" } } } }</ID>
<ID>MaxLineLength:LoopWhilePatternTest.kt$LoopWhilePatternTest$skills { skill<State, State>("step") { implementedBy { s -> State(s.remaining - 1, s.total + s.remaining) } } }</ID>
<ID>MaxLineLength:LoopWhilePatternTest.kt$LoopWhilePatternTest$val amplify = agent<Signal, Signal>("amplify") { skills { skill<Signal, Signal>("amplify") { implementedBy { Signal(it.value * 1.5) } } } }</ID>
<ID>MaxLineLength:LoopWhilePatternTest.kt$LoopWhilePatternTest$val body = agent<Int, Int>("body") { skills { skill<Int, Int>("body") { implementedBy { it * 2 } } } }</ID>
<ID>MaxLineLength:LoopWhilePatternTest.kt$LoopWhilePatternTest$val checker = agent<Int, Boolean>("checker") { skills { skill<Int, Boolean>("checker") { implementedBy { it < 10 } } } }</ID>
<ID>MaxLineLength:LoopWhilePatternTest.kt$LoopWhilePatternTest$val normalize = agent<Signal, Signal>("normalize") { skills { skill<Signal, Signal>("normalize") { implementedBy { Signal(it.value + 1.0) } } } }</ID>
<ID>MaxLineLength:McpAuthRedactionTest.kt$McpAuthRedactionTest$assertTrue(rendered.contains("redacted", ignoreCase = true), "toString must indicate redaction; got: '$rendered'")</ID>
<ID>MaxLineLength:McpClient.kt$McpClient$/** Server-reported capabilities map from the initialize handshake; raw shape so we can refine later without re-fetching. */</ID>
<ID>MaxLineLength:McpRunnerMutationTest.kt$McpRunnerMutationTest$assertTrue(!thread.isAlive, "Runner thread must exit within 2s of server.stop() — stop-watcher start() removal would block here")</ID>
<ID>MaxLineLength:McpServerBeforeInterceptorTest.kt$McpServerBeforeInterceptorTest$"""{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"echo","arguments":{"input":"original"}}}"""</ID>
<ID>MaxLineLength:McpServerBuilder.kt$McpServerBuilder$"MCP server \"$name\": auth is only supported on HTTP transport (url=). Connection identity is the auth on stdio/TCP."</ID>
<ID>MaxLineLength:McpServerConformanceTest.kt$McpServerConformanceTest$"""{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"$MCP_PROTOCOL_VERSION","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}"""</ID>
<ID>MaxLineLength:McpServerConformanceTest.kt$McpServerConformanceTest$"""{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"9999-01-01","capabilities":{},"clientInfo":{"name":"t","version":"0"}}}"""</ID>
<ID>MaxLineLength:McpServerConformanceTest.kt$McpServerConformanceTest$assertEquals("Greets a person by name", desc, "description should be the raw skill.description prose, not toLlmDescription")</ID>
<ID>MaxLineLength:McpServerConformanceTest.kt$McpServerConformanceTest$assertEquals("POST", response.headers().firstValue("Allow").orElse(null), "$method should advertise Allow: POST")</ID>
<ID>MaxLineLength:McpServerPromptResourceHandlersTest.kt$McpServerPromptResourceHandlersTest$val r = postRaw(server.url, """{"jsonrpc":"2.0","id":1,"method":"prompts/get","params":{"name":"nonexistent"}}""")</ID>
<ID>MaxLineLength:McpServerPromptResourceHandlersTest.kt$McpServerPromptResourceHandlersTest$val r = postRaw(server.url, """{"jsonrpc":"2.0","id":1,"method":"resources/read","params":{"uri":"file:///broken"}}""")</ID>
<ID>MaxLineLength:McpServerPromptResourceHandlersTest.kt$McpServerPromptResourceHandlersTest$val r = postRaw(server.url, """{"jsonrpc":"2.0","id":1,"method":"resources/read","params":{"uri":"file:///nope"}}""")</ID>
<ID>MaxLineLength:McpServerPromptResourceHandlersTest.kt$McpServerPromptResourceHandlersTest$val r = postRaw(server.url, """{"jsonrpc":"2.0","id":1,"method":"resources/read","params":{"uri":"plain://x"}}""")</ID>
<ID>MaxLineLength:McpServerPromptResourceHandlersTest.kt$McpServerPromptResourceHandlersTest$val r = postRaw(server.url, """{"jsonrpc":"2.0","id":42,"method":"prompts/get","params":{"name":"greet","arguments":{"name":"Alice"}}}""")</ID>
<ID>MaxLineLength:McpServerSecurityTest.kt$McpServerSecurityTest$"""{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"$MCP_PROTOCOL_VERSION","capabilities":{},"clientInfo":{"name":"blocked","version":"0"}}}"""</ID>
<ID>MaxLineLength:McpServerSecurityTest.kt$McpServerSecurityTest$"""{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"secret","arguments":{"input":"x"}}}"""</ID>
<ID>MaxLineLength:McpServerSecurityTest.kt$McpServerSecurityTest$"""{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"secret","arguments":{"input":"x"}}}"""</ID>
<ID>MaxLineLength:McpStdioServerTest.kt$McpStdioServerTest$"""{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"$MCP_PROTOCOL_VERSION"}}"""</ID>
<ID>MaxLineLength:McpStdioServerTest.kt$McpStdioServerTest$"""{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"greet","arguments":{"input":"Ada"}}}"""</ID>
<ID>MaxLineLength:McpStdioServerTest.kt$McpStdioServerTest$"""{"jsonrpc":"2.0","id":5,"method":"prompts/get","params":{"name":"hello","arguments":{"name":"Grace"}}}"""</ID>
<ID>MaxLineLength:MemoryToolPerSkillOptInTest.kt$MemoryToolPerSkillOptInTest$assertEquals(emptyList(), tools.filter { it.startsWith("memory_") }, "no memoryBank means no memory tools regardless of opt-in")</ID>
<ID>MaxLineLength:MemoryToolPerSkillOptInTest.kt$MemoryToolPerSkillOptInTest$assertTrue(captured.single().contains("memory_read"), "legacy auto-inject must still work; got: ${captured.single()}")</ID>
<ID>MaxLineLength:MockMcpServer.kt$MockMcpServer$val presentedToken = authHeader?.removePrefix("Bearer ")?.trim()?.takeIf { authHeader.startsWith("Bearer ") }</ID>
<ID>MaxLineLength:MockStdioMcpServer.kt$MockStdioMcpServer$"""{"jsonrpc":"2.0","id":null,"error":{"code":-32603,"message":${McpJson.encode(e.message ?: e.toString())}}}"""</ID>
<ID>MaxLineLength:MockTcpMcpServer.kt$MockTcpMcpServer$"""{"jsonrpc":"2.0","id":null,"error":{"code":-32603,"message":${McpJson.encode(e.message ?: e.toString())}}}"""</ID>
<ID>MaxLineLength:OllamaClient.kt$OllamaClient$"""{"function":{"name":${tc.name.toJsonString()},"arguments":${InlineToolCallParser.argsToJson(tc.arguments)}}}"""</ID>
<ID>MaxLineLength:OllamaClient.kt$OllamaClient$"""{"type":"function","function":{"name":${t.name.toJsonString()},"description":${t.description.toJsonString()},"parameters":$parametersJson}}"""</ID>
<ID>MaxLineLength:OllamaClient.kt$OllamaClient$return """{"model":${model.toJsonString()},"stream":$stream,"temperature":$temperature,"messages":[$messagesJson]$toolsJson$formatJson$thinkJson}"""</ID>
<ID>MaxLineLength:OllamaClientCancellationTest.kt$OllamaClientCancellationTest$fun</ID>
<ID>MaxLineLength:OllamaClientChatStreamLiveTest.kt$OllamaClientChatStreamLiveTest$"expected either >=10ms gap OR >=5 chunks; first=${firstMs}ms last=${lastMs}ms gap=${gapMs}ms chunks=${textDeltas.size}"</ID>
<ID>MaxLineLength:OllamaClientChatStreamTest.kt$OllamaClientChatStreamTest$appendLine("""{"model":"llama","message":{"role":"assistant","content":"","tool_calls":[{"function":{"name":"lookup","arguments":{"id":42}}}]},"done":true,"prompt_eval_count":20,"eval_count":3}""")</ID>
<ID>MaxLineLength:OllamaClientChatStreamTest.kt$OllamaClientChatStreamTest$appendLine("""{"model":"llama","message":{"role":"assistant","content":""},"done":true,"prompt_eval_count":12,"eval_count":8}""")</ID>
<ID>MaxLineLength:OllamaClientChatStreamTest.kt$OllamaClientChatStreamTest$appendLine("""{"model":"llama","message":{"role":"assistant","content":""},"done":true,"prompt_eval_count":5,"eval_count":2}""")</ID>
<ID>MaxLineLength:OllamaClientIntegrationTest.kt$OllamaClientIntegrationTest$private val client = OllamaClient(host = HOST, port = PORT, model = MODEL, temperature = 0.0, tools = listOf(greetTool))</ID>
<ID>MaxLineLength:OllamaClientIntegrationTest.kt$OllamaClientIntegrationTest$prompt("You are a tool-calling agent. You MUST use the available tools to complete tasks. Never answer directly without calling a tool first.")</ID>
<ID>MaxLineLength:OllamaClientRetryTest.kt$OllamaClientRetryTest$assertTrue(attempts.get() <= 2, "capability mismatch took ${attempts.get()} attempts — must not enter transient-retry loop")</ID>
<ID>MaxLineLength:OllamaInlineToolFallbackTest.kt$OllamaInlineToolFallbackTest$assertTrue(second.contains("\\\"tool\\\""), "fallback system message must show the inline {\"tool\":...} format")</ID>
<ID>MaxLineLength:OllamaInlineToolFallbackTest.kt$OllamaInlineToolFallbackTest$private</ID>
<ID>MaxLineLength:OllamaReasoningTest.kt$OllamaReasoningTest$appendLine("""{"message":{"role":"assistant","content":""},"done":true,"prompt_eval_count":1,"eval_count":1}""")</ID>
<ID>MaxLineLength:OllamaSchemaGenerationTest.kt$OllamaSchemaGenerationTest$val function = (toolsArr.first()["function"] as? Map<String, Any?>) ?: error("no function in tool: ${toolsArr.first()}")</ID>
<ID>MaxLineLength:OpenAiClient.kt$OpenAiClient$""","response_format":{"type":"json_schema","json_schema":{"name":${schema.wireName().toJsonString()},"schema":${schema.schema},"strict":true}}"""</ID>
<ID>MaxLineLength:OpenAiClient.kt$OpenAiClient$"""{"id":${id.toJsonString()},"type":"function","function":{"name":${call.name.toJsonString()},"arguments":${argsString.toJsonString()}}}"""</ID>
<ID>MaxLineLength:OpenAiClient.kt$OpenAiClient$"""{"type":"function","function":{"name":${t.name.toJsonString()},"description":${t.description.toJsonString()},"parameters":$schema}}"""</ID>
<ID>MaxLineLength:OpenAiClient.kt$OpenAiClient$return """{"model":${model.toJsonString()},"max_tokens":$maxTokens,"temperature":$temperature$additionalFields$cacheKeyField$streamField,"messages":[${messageObjects.joinToString(",")}]$effectiveToolsField$toolChoiceField$responseFormatField}"""</ID>
<ID>MaxLineLength:OpenAiClientCancellationTest.kt$OpenAiClientCancellationTest$fun</ID>
<ID>MaxLineLength:OpenAiClientCancellationTest.kt$OpenAiClientCancellationTest.SlowOpenAiSseStream$add("data: {\"id\":\"x\",\"choices\":[],\"usage\":{\"prompt_tokens\":3,\"completion_tokens\":12,\"total_tokens\":15}}\n\n")</ID>
<ID>MaxLineLength:OpenAiClientCancellationTest.kt$OpenAiClientCancellationTest.SlowOpenAiSseStream$add("data: {\"id\":\"x\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"chunk$i \"},\"finish_reason\":null}]}\n\n")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamLiveTest.kt$OpenAiClientChatStreamLiveTest$"expected either >=10ms gap OR >=5 chunks; first=${firstMs}ms last=${lastMs}ms gap=${gapMs}ms chunks=${textDeltas.size}"</ID>
<ID>MaxLineLength:OpenAiClientChatStreamLiveTest.kt$OpenAiClientChatStreamLiveTest$fun</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$appendLine("""data: {"id":"x","choices":[],"usage":{"prompt_tokens":11,"completion_tokens":6,"total_tokens":17,"prompt_tokens_details":{"cached_tokens":4}}}""")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$appendLine("""data: {"id":"x","choices":[],"usage":{"prompt_tokens":42,"completion_tokens":18,"total_tokens":60}}""")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$appendLine("""data: {"id":"x","choices":[{"index":0,"delta":{"role":"assistant","tool_calls":[{"index":0,"id":"call_abc","type":"function","function":{"name":"get_weather","arguments":""}}]},"finish_reason":null}]}""")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$appendLine("""data: {"id":"x","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"\":\"SF\"}"}}]},"finish_reason":null}]}""")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$appendLine("""data: {"id":"x","choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"arguments":"{\"location"}}]},"finish_reason":null}]}""")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$appendLine("""data: {"id":"x","object":"chat.completion.chunk","choices":[{"index":0,"delta":{"role":"assistant","content":""},"finish_reason":null}]}""")</ID>
<ID>MaxLineLength:OpenAiClientChatStreamTest.kt$OpenAiClientChatStreamTest$fun</ID>
<ID>MaxLineLength:OpenAiClientCoverageTest.kt$OpenAiClientCoverageTest$appendLine("""data: {"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"function":{"name":"late_named"}}]}}]}""")</ID>
<ID>MaxLineLength:OpenAiClientCoverageTest.kt$OpenAiClientCoverageTest$appendLine("""data: {"choices":[{"index":0,"delta":{"tool_calls":[{"index":0,"id":"call_X","type":"function","function":{"arguments":""}}]}}]}""")</ID>
<ID>MaxLineLength:OpenAiClientCoverageTest.kt$OpenAiClientCoverageTest$assertEquals("", started.toolName, "name absent on first delta → started carries empty name (kills mutants on the id-only-first branch)")</ID>
<ID>MaxLineLength:OpenAiClientCoverageTest.kt$OpenAiClientCoverageTest$val errBody = """{"error":{"type":"invalid_request_error","message":"Invalid API key","code":"invalid_api_key"}}"""</ID>
<ID>MaxLineLength:OpenAiClientTest.kt$OpenAiClientTest$assertTrue(argsString is String, "tool_calls.function.arguments must be a stringified JSON, was ${argsString?.let { it::class.simpleName }}")</ID>
<ID>MaxLineLength:OpenAiReasoningTest.kt$OpenAiReasoningTest$appendLine("""data: {"choices":[{"index":0,"delta":{"reasoning_content":"think "},"finish_reason":null}]}""")</ID>
<ID>MaxLineLength:OpenAiReasoningTest.kt$OpenAiReasoningTest$val</ID>
<ID>MaxLineLength:OpenAiReasoningTest.kt$OpenAiReasoningTest$val body = """{"choices":[{"index":0,"message":{"role":"assistant","content":"42"}}],"usage":{"prompt_tokens":10,"completion_tokens":50,"completion_tokens_details":{"reasoning_tokens":40}}}"""</ID>
<ID>MaxLineLength:OpenAiReasoningTest.kt$OpenAiReasoningTest$val body = """{"choices":[{"index":0,"message":{"role":"assistant","content":"answer","reasoning_content":"step by step"}}],"usage":{"prompt_tokens":1,"completion_tokens":1}}"""</ID>
<ID>MaxLineLength:ParallelExecutionTest.kt$ParallelExecutionTest$prompt("You receive a list of arguments. Combine them into a single balanced summary sentence. Reply with ONLY the summary.")</ID>
<ID>MaxLineLength:ParallelExecutionTest.kt$ParallelExecutionTest$skills { skill<String, String>("a", "A") { implementedBy { threads["a"] = Thread.currentThread().name; "a" } } }</ID>
<ID>MaxLineLength:ParallelExecutionTest.kt$ParallelExecutionTest$skills { skill<String, String>("b", "B") { implementedBy { threads["b"] = Thread.currentThread().name; "b" } } }</ID>
<ID>MaxLineLength:ParallelSessionTest.kt$ParallelSessionTest$assertEquals("parallel", terminal.agentId, "Parallel has no single output agent; terminal Completed.agentId is the literal 'parallel'")</ID>
<ID>MaxLineLength:ParallelSessionTest.kt$ParallelSessionTest$assertEquals(2, completedBeforeTerminal.size, "both branches must complete before the terminal; got events: $events")</ID>
<ID>MaxLineLength:ParallelSessionTest.kt$ParallelSessionTest$assertIs<AgentEvent.Completed<List<String>>>(terminal, "last event must be Completed<List<String>>; got: $terminal")</ID>
<ID>MaxLineLength:ParallelSessionTest.kt$ParallelSessionTest$fun</ID>
<ID>MaxLineLength:PipelineAgenticIntegrationTest.kt$PipelineAgenticIntegrationTest$prompt("Extract the key nouns from the text. Reply with a comma-separated list of nouns only, nothing else.")</ID>
<ID>MaxLineLength:PipelineAgenticIntegrationTest.kt$PipelineAgenticIntegrationTest$prompt("Format the comma-separated items as a markdown bullet list. Each item on its own line starting with '- '. Nothing else.")</ID>
<ID>MaxLineLength:PipelineSessionTest.kt$PipelineSessionTest$assertEquals("describe", e4.agentId, "Completed.agentId uses the last agent's name (its OUT matches Pipeline's OUT)")</ID>
<ID>MaxLineLength:PipelineSessionTest.kt$PipelineSessionTest$fun</ID>
<ID>MaxLineLength:PipelineSessionTest.kt$PipelineSessionTest$val e0 = events[0]</ID>
<ID>MaxLineLength:PipelineSessionTest.kt$PipelineSessionTest$val e1 = events[1]</ID>
<ID>MaxLineLength:PipelineSessionTest.kt$PipelineSessionTest$val e2 = events[2]</ID>
<ID>MaxLineLength:PipelineSessionTest.kt$PipelineSessionTest$val e3 = events[3]</ID>
<ID>MaxLineLength:PrefixStabilityGuardTest.kt$PrefixStabilityGuardTest$assertTrue(probeWarn != null, "first-sighting probe should flag the timestamp; got: ${capturing.records.map { it.message }}")</ID>
<ID>MaxLineLength:PrefixStabilityGuardTest.kt$PrefixStabilityGuardTest$val unstable = capturing.records.filter { it.level == Level.WARNING && it.message.contains("changed between invocations") }</ID>
<ID>MaxLineLength:ReflectionFallbackTest.kt$ReflectionFallbackTest$val out = ReflectionFallback.withReflection<Int> { throw NoClassDefFoundError("simulated absent kotlin-reflect") }</ID>
<ID>MaxLineLength:RepairedArgsValidationTest.kt$RepairedArgsValidationTest$"executionError handler must NOT fire — typed deserialization failure is an invalidArgs concern, not an execution failure"</ID>
<ID>MaxLineLength:RepairedArgsValidationTest.kt$RepairedArgsValidationTest$"invalidArgs handler must be called for the initial bad args AND for the re-validated repair (got $invalidArgsHandlerCallCount)"</ID>
<ID>MaxLineLength:SealedSchemaGenerationTest.kt$SealedSchemaGenerationTest$assertEquals(2, variantCommas, "ReviewDecision has 3 variants → exactly 2 inter-variant commas, got $variantCommas in $schema")</ID>
<ID>MaxLineLength:SealedSchemaGenerationTest.kt$SealedSchemaGenerationTest$assertFalse(requiredSection.contains(""""notes""""), "nullable 'notes' must NOT be required, got: $requiredSection")</ID>
<ID>MaxLineLength:SharedKnowledgeTest.kt$SharedKnowledgeTest$knowledge("config", "Shared configuration store") { sharedKnowledge.entries.joinToString("\n") { "${it.key}=${it.value}" } }</ID>
<ID>MaxLineLength:SharedKnowledgeTest.kt$SharedKnowledgeTest$prompt("You are a code reviewer. Given an implementation plan and coding conventions, check if the plan follows conventions. Reply with a one-sentence verdict.")</ID>
<ID>MaxLineLength:SharedKnowledgeTest.kt$SharedKnowledgeTest$prompt("You are a technical planner. Given a feature request and the tech stack, outline 2-3 implementation steps. Be brief — one line per step.")</ID>
<ID>MaxLineLength:SignInAgentTest.kt$SignInAgentTest$buildRequest</ID>
<ID>MaxLineLength:SignInAgentTest.kt$SignInAgentTest$prompt("You are a sign-in assistant. To build a sign-in request you MUST: 1) call the passwords tool to look up credentials, 2) call build_request with the login and password from that lookup. After build_request returns the JSON, reply with ONLY that JSON — no explanation.")</ID>
<ID>MaxLineLength:Skill.kt$Skill$message = "Use the typed `tools(first, vararg rest)` overload that takes Tool<*, *> handles returned by `tool(...)` builders. The string form is kept for built-in tools (escalate, throwException, memory_*) and negative tests of validate()."</ID>
<ID>MaxLineLength:Skill.kt$inline</ID>
<ID>MaxLineLength:SkillRouting.kt$appendLine("""{"skillName": "<one of the listed skills>", "confidence": 0.0..1.0, "rationale": "<one sentence>"}""")</ID>
<ID>MaxLineLength:SkillSelectionTest.kt$SkillSelectionTest$assertTrue(systemPrompt.contains("Convert text to lowercase"), "Routing prompt should contain lower description")</ID>
<ID>MaxLineLength:SkillSelectionTest.kt$SkillSelectionTest$assertTrue(systemPrompt.contains("Convert text to uppercase"), "Routing prompt should contain upper description")</ID>
<ID>MaxLineLength:SkillsBuilder.kt$SkillsBuilder$inline</ID>
<ID>MaxLineLength:SnapshotResumeTest.kt$SnapshotResumeTest$ModelClient { msgs -> if (firstSeenMessages == null) firstSeenMessages = msgs.toList(); deque.removeFirst() }</ID>
<ID>MaxLineLength:SnapshotResumeTest.kt$SnapshotResumeTest$tools { step = tool("step", "") { _ -> runsA[0]++; bankA.write("ActorsAgent", "progress=${runsA[0]}"); "ok" } }</ID>
<ID>MaxLineLength:StdioMcpTransportForProcessTest.kt$StdioMcpTransportForProcessTest$"""read req; echo err-line-1 >&2; echo err-line-2 >&2; printf '{"jsonrpc":"2.0","id":1,"result":null}\n'"""</ID>
<ID>MaxLineLength:StdioMcpTransportForProcessTest.kt$StdioMcpTransportForProcessTest$command = listOf("sh", "-c", "read req; printf '{\"jsonrpc\":\"2.0\",\"id\":1,\"result\":\"%s\"}\\n' \"\$(pwd)\"")</ID>
<ID>MaxLineLength:StdioMcpTransportForProcessTest.kt$StdioMcpTransportForProcessTest$command = listOf("sh", "-c", "read req; printf '{\"jsonrpc\":\"2.0\",\"id\":1,\"result\":\"%s\"}\\n' \"\$TEST_VAR\"")</ID>
<ID>MaxLineLength:SuspendInvocationTest.kt$SuspendInvocationTest$assertTrue(started.get() >= 1, "at least one branch should have started before cancel (started=${started.get()})")</ID>
<ID>MaxLineLength:SwarmSessionTest.kt$SwarmSessionTest$?:</ID>
<ID>MaxLineLength:ThrowExceptionIntegrationTest.kt$ThrowExceptionIntegrationTest$@Suppress("DEPRECATION")</ID>
<ID>MaxLineLength:ToolAuthorizationTest.kt$ToolAuthorizationTest$?:</ID>
<ID>MaxLineLength:ToolAuthorizationTest.kt$ToolAuthorizationTest$skills { skill<String, String>("s", "stub") { tools() /* no specific tools, but memory should still work */ } }</ID>
<ID>MaxLineLength:ToolChoiceTest.kt$ToolChoiceTest$assertNull(parsed["tools"], "Ollama None drops tools — that part is enforceable even without native tool_choice")</ID>
<ID>MaxLineLength:ToolChoiceTest.kt$ToolChoiceTest$val client = OllamaClient(model = "gpt-oss:120b-cloud", tools = listOf(stubToolDef()), toolChoice = ToolChoice.Auto)</ID>
<ID>MaxLineLength:ToolChoiceTest.kt$ToolChoiceTest$val client = OllamaClient(model = "gpt-oss:120b-cloud", tools = listOf(stubToolDef()), toolChoice = ToolChoice.None)</ID>
<ID>MaxLineLength:ToolChoiceTest.kt$ToolChoiceTest$val client = OllamaClient(model = "gpt-oss:120b-cloud", tools = listOf(stubToolDef()), toolChoice = ToolChoice.Required)</ID>
<ID>MaxLineLength:ToolDef.kt$description = "Signal that you cannot fix the problem. Args: reason (string), severity (LOW/MEDIUM/HIGH/CRITICAL, optional, defaults to HIGH)."</ID>
<ID>MaxLineLength:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$prompt("You are a calculator. Use the add tool. If a tool returns an error, reply with the error description — do NOT retry the tool.")</ID>
<ID>MaxLineLength:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$prompt("You are a calculator. Use the provided tools to evaluate expressions step by step. Reply with ONLY the final number.")</ID>
<ID>MaxLineLength:ToolResult.kt$is Content.Document -> "[document: ${part.mime.wireMime}] (${part.ref.hash.take(12)}, ${part.ref.sizeBytes}B)"</ID>
<ID>MaxLineLength:TypedToolDslTest.kt$TypedToolDslTest$responses.add(LlmResponse.ToolCalls(listOf(ToolCall(name = "greet", arguments = mapOf("name" to "world", "language" to "ru")))))</ID>
<ID>MaxLineLength:TypedToolValidationRoutingTest.kt$TypedToolValidationRoutingTest$responses.add(LlmResponse.ToolCalls(listOf(ToolCall(name = "greet", arguments = mapOf("name" to "ok", "language" to "en")))))</ID>
<ID>MaxLineLength:UntrustedToolOutputTest.kt$UntrustedToolOutputTest$sysMsg.content.contains("trusted", ignoreCase = true) && sysMsg.content.contains("untrusted", ignoreCase = true)</ID>
<ID>MaxLineLength:WhileLoopTest.kt$WhileLoopTest$val isDone = agent<Int, Boolean>("isDone") { skills { skill<Int, Boolean>("isDone") { implementedBy { it >= 15 } } } }</ID>
<ID>MaxLineLength:WhileLoopTest.kt$WhileLoopTest$val process = agent<Int, Int>("process") { skills { skill<Int, Int>("process") { implementedBy { it + 3 } } } }</ID>
<ID>MaxLineLength:WhileLoopTest.kt$WhileLoopTest$val revise = agent<Document, Document>("revise") { skills { skill<Document, Document>("revise") { implementedBy { Document(it.text + ".", it.revisions + 1) } } } }</ID>
<ID>MaxLineLength:WhileLoopTest.kt$WhileLoopTest$val trim = agent<Document, Document>("trim") { skills { skill<Document, Document>("trim") { implementedBy { Document(it.text.trim(), it.revisions) } } } }</ID>
<ID>MaxLineLength:WrapConcurrencyTest.kt$WrapConcurrencyTest$"cross-talk: user input '$userInput' saw system prompt '$systemPrompt' (expected start with '$expectedHead')"</ID>
<ID>NestedBlockDepth:AgenticLoop.kt$internal suspend fun <IN> executeAgentic( agent: Agent<IN, *>, skill: Skill<*, *>, input: IN, /** * #3376 batch 5 — the per-invocation execution parameters (prompt override, resume/HITL state, * checkpoint callback, manifest-mismatch opt-out, attachments) bundled into one [RunRequest], * shared with [Agent.invokeSuspendForSession]. Defaults to a fresh invocation. */ request: agents_engine.core.RunRequest = agents_engine.core.RunRequest(), /** * #1739: optional AgentEvent emitter. When non-null, the loop streams * via `client.chatStream(...)`, surfaces `Token` / `ToolCallStarted` / * `ToolCallArgumentsDelta` events from chunks, and emits * `ToolCallFinished` after each tool executor runs. When null, the * loop uses `client.chat(...)` byte-for-byte as before — non-streaming * callers (`Agent.invoke`, `Agent.invokeSuspend`) pay no overhead. */ emitter: AgentEventEmitter? = null, runtimeContext: AgentRuntimeContext = AgentRuntimeContext.currentOrNew(), ): AgenticResult</ID>
<ID>SwallowedException:AgenticLoop.kt$signal: agents_engine.core.PendingInterruptSignal</ID>
<ID>SwallowedException:OllamaClientTimeoutTest.kt$OllamaClientTimeoutTest$e: HttpTimeoutException</ID>
<ID>SwallowedException:ToolDef.kt$e: IllegalArgumentException</ID>
<ID>ThrowsCount:AgenticLoop.kt$internal suspend fun <IN> executeAgentic( agent: Agent<IN, *>, skill: Skill<*, *>, input: IN, /** * #3376 batch 5 — the per-invocation execution parameters (prompt override, resume/HITL state, * checkpoint callback, manifest-mismatch opt-out, attachments) bundled into one [RunRequest], * shared with [Agent.invokeSuspendForSession]. Defaults to a fresh invocation. */ request: agents_engine.core.RunRequest = agents_engine.core.RunRequest(), /** * #1739: optional AgentEvent emitter. When non-null, the loop streams * via `client.chatStream(...)`, surfaces `Token` / `ToolCallStarted` / * `ToolCallArgumentsDelta` events from chunks, and emits * `ToolCallFinished` after each tool executor runs. When null, the * loop uses `client.chat(...)` byte-for-byte as before — non-streaming * callers (`Agent.invoke`, `Agent.invokeSuspend`) pay no overhead. */ emitter: AgentEventEmitter? = null, runtimeContext: AgentRuntimeContext = AgentRuntimeContext.currentOrNew(), ): AgenticResult</ID>
<ID>ThrowsCount:ToolInvoker.kt$internal fun <IN> executeToolWithExecutionRecovery( agent: Agent<IN, *>, tool: ToolDef, toolName: String, args: Map<String, Any?>, handler: ToolErrorHandler?, ): Any?</ID>
<ID>ThrowsCount:ToolInvoker.kt$internal fun <IN> recoverInvalidArguments( agent: Agent<IN, *>, tool: ToolDef, call: ToolCall, handler: ToolErrorHandler?, parseError: String, ): Any?</ID>
<ID>ThrowsCount:ToolInvoker.kt$internal suspend fun <IN> executeToolWithBudget( agent: Agent<IN, *>, tool: ToolDef, call: ToolCall, budget: BudgetConfig, emitter: AgentEventEmitter? = null, ): Any?</ID>
<ID>TooGenericExceptionCaught:Agent.kt$Agent$callbackError: Throwable</ID>
<ID>TooGenericExceptionCaught:Agent.kt$Agent$t: Throwable</ID>
<ID>TooGenericExceptionCaught:AgentSessionExtension.kt$t: Throwable</ID>
<ID>TooGenericExceptionCaught:AgentSessionScope.kt$t: Throwable</ID>
<ID>TooGenericExceptionCaught:AgenticLoop.kt$t: Throwable</ID>
<ID>TooGenericExceptionCaught:Decision.kt$t: Throwable</ID>
<ID>TooGenericExceptionCaught:EvalCase.kt$EvalCase$t: Throwable</ID>
<ID>TooGenericExceptionCaught:LiveRunner.kt$LiveRunner$e: Throwable</ID>
<ID>TooGenericExceptionCaught:LiveShow.kt$LiveShow$e: Throwable</ID>
<ID>TooGenericExceptionCaught:ToolInvoker.kt$e: Throwable</ID>
<ID>TooGenericExceptionThrown:AgenticLoopCoverageTest.kt$AgenticLoopCoverageTest$throw RuntimeException("original-failure")</ID>
<ID>TooGenericExceptionThrown:AgenticLoopCoverageTest.kt$AgenticLoopCoverageTest$throw RuntimeException("real-failure")</ID>
<ID>TooGenericExceptionThrown:AgenticLoopMutationTest.kt$AgenticLoopMutationTest$throw RuntimeException("boom")</ID>
<ID>TooGenericExceptionThrown:AgenticLoopMutationTest.kt$AgenticLoopMutationTest$throw RuntimeException("explicit failure")</ID>
<ID>TooGenericExceptionThrown:EscalateToolTest.kt$EscalateToolTest$throw RuntimeException("Parse failed")</ID>
<ID>TooGenericExceptionThrown:McpServerErrorPathsTest.kt$McpServerErrorPathsTest$throw RuntimeException("kaboom")</ID>
<ID>TooGenericExceptionThrown:McpServerPromptResourceHandlersTest.kt$McpServerPromptResourceHandlersTest$throw RuntimeException("io fail")</ID>
<ID>TooGenericExceptionThrown:ObservePipelineEventTest.kt$ObservePipelineEventTest$throw RuntimeException("transport down")</ID>
<ID>TooGenericExceptionThrown:OnErrorListenerTest.kt$OnErrorListenerTest$throw RuntimeException("infra")</ID>
<ID>TooGenericExceptionThrown:OnErrorListenerTest.kt$OnErrorListenerTest$throw RuntimeException("once")</ID>
<ID>TooGenericExceptionThrown:OnErrorListenerTest.kt$OnErrorListenerTest$throw RuntimeException("real failure")</ID>
<ID>TooGenericExceptionThrown:OnErrorListenerTest.kt$OnErrorListenerTest$throw RuntimeException("transport blew up")</ID>
<ID>TooGenericExceptionThrown:ThrowExceptionIntegrationTest.kt$ThrowExceptionIntegrationTest$throw RuntimeException("Bad data")</ID>
<ID>TooGenericExceptionThrown:ThrowExceptionIntegrationTest.kt$ThrowExceptionIntegrationTest$throw RuntimeException("Broken")</ID>
<ID>TooGenericExceptionThrown:ThrowExceptionIntegrationTest.kt$ThrowExceptionIntegrationTest$throw RuntimeException("Cannot decode binary")</ID>
<ID>TooGenericExceptionThrown:ThrowExceptionIntegrationTest.kt$ThrowExceptionIntegrationTest$throw RuntimeException("Fail")</ID>
<ID>TooGenericExceptionThrown:ThrowExceptionIntegrationTest.kt$ThrowExceptionIntegrationTest$throw RuntimeException("Invalid UTF-8 sequence: null bytes detected")</ID>
<ID>TooGenericExceptionThrown:ToolBlockOnErrorTest.kt$ToolBlockOnErrorTest$throw RuntimeException("corrupt input")</ID>
<ID>TooGenericExceptionThrown:ToolBlockOnErrorTest.kt$ToolBlockOnErrorTest$throw RuntimeException("transient")</ID>
<ID>TooGenericExceptionThrown:ToolErrorAgenticLoopTest.kt$ToolErrorAgenticLoopTest$throw RuntimeException("Bad args")</ID>
<ID>TooGenericExceptionThrown:ToolErrorAgenticLoopTest.kt$ToolErrorAgenticLoopTest$throw RuntimeException("Boom")</ID>
<ID>TooGenericExceptionThrown:ToolErrorAgenticLoopTest.kt$ToolErrorAgenticLoopTest$throw RuntimeException("Fail")</ID>
<ID>TooGenericExceptionThrown:ToolErrorAgenticLoopTest.kt$ToolErrorAgenticLoopTest$throw RuntimeException("Network error")</ID>
<ID>TooGenericExceptionThrown:ToolErrorAgenticLoopTest.kt$ToolErrorAgenticLoopTest$throw RuntimeException("Transient")</ID>
<ID>TooGenericExceptionThrown:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$throw RuntimeException("Hardware fault")</ID>
<ID>TooGenericExceptionThrown:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$throw RuntimeException("Service permanently down")</ID>
<ID>TooGenericExceptionThrown:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$throw RuntimeException("Transient network error")</ID>
<ID>TooGenericExceptionThrown:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$throw RuntimeException("Transient")</ID>
<ID>TooGenericExceptionThrown:ToolErrorIntegrationTest.kt$ToolErrorIntegrationTest$throw RuntimeException("add service unavailable")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("Bad input")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("Broken")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("Permanent failure")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("broken")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("flaky compile")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("timeout")</ID>
<ID>TooGenericExceptionThrown:ToolLevelOnErrorTest.kt$ToolLevelOnErrorTest$throw RuntimeException("transient")</ID>
<ID>UnusedParameter:FilesTest.kt$FilesTest$@TempDir dir: Path</ID>
<ID>UnusedParameter:ToolInvoker.kt$agent: Agent<IN, *></ID>
<ID>UnusedPrivateMember:McpRunnerMissingFlagValueTest.kt$McpRunnerMissingFlagValueTest$private fun trivial()</ID>
<ID>UnusedPrivateProperty:AgentEntityDSLTest.kt$AgentEntityDSLTest$val someAgent = agent<SomeAgentAsk, SomeAgentResult>("SomeAgentAsk-to-SomeAgentResult") { skills { skill<SomeAgentAsk, SomeAgentResult>("convert") { implementedBy { SomeAgentResult(it.v, 1L) } } } }</ID>
<ID>UnusedPrivateProperty:AgentsForumTest.kt$AgentsForumTest$val pipeline = inputToSpecsConverter then (forumInitiationAgent * crazyCodeSlopGenerator * passiveCodeGenerator * answerMaster) then printMaster</ID>
<ID>UnusedPrivateProperty:AgentsPipelineTest.kt$AgentsPipelineTest$val pipeline: Pipeline<SomeAgentAsk, SomeAgentResult> = first then second</ID>
<ID>UnusedPrivateProperty:AgentsPipelineTest.kt$AgentsPipelineTest$val pipeline: Pipeline<SomeSpecAsk, SomeProduction> = specMaster then coderMaster then reviewMaster then productionMaster</ID>
<ID>UnusedPrivateProperty:AgentsPipelineTest.kt$AgentsPipelineTest$val totalPipeline = pipelinePt1 then pipelinePt2</ID>
<ID>UnusedPrivateProperty:AgentsPipelineTest.kt$AgentsPipelineTest$val totalPipelineWithType: Pipeline<SomeSpecAsk, SomeProductionMachineryManagement> = pipelinePt1 then pipelinePt2</ID>
<ID>UnusedPrivateProperty:LoopAgenticIntegrationTest.kt$LoopAgenticIntegrationTest$var bestDraft = ""</ID>
<ID>UseCheckOrError:LenientJsonParser.kt$LenientJsonParser.Parser$throw IllegalStateException( "LenientJsonParser: unexpected character '${s[pos]}' at pos $pos" )</ID>
<ID>UseCheckOrError:LenientJsonParser.kt$LenientJsonParser.Parser$throw IllegalStateException( "LenientJsonParser: zero-progress at pos $pos in array" )</ID>
<ID>UseCheckOrError:LenientJsonParser.kt$LenientJsonParser.Parser$throw IllegalStateException( "LenientJsonParser: zero-progress at pos $pos in object" )</ID>
<ID>UseCheckOrError:LenientJsonParser.kt$LenientJsonParser.Parser$throw IllegalStateException("JSON nesting exceeds $MAX_NESTING_DEPTH")</ID>
<ID>UseRequire:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$throw IllegalArgumentException("Invalid JSON: must be an object starting with { and ending with }")</ID>
<ID>UseRequire:JsonParseEscalationIntegrationTest.kt$JsonParseEscalationIntegrationTest$throw IllegalArgumentException("No valid keys found — JSON may have unquoted keys. All keys must be double-quoted.")</ID>
<ID>VariableNaming:GeneratedMetaCacheTest.kt$MetaCacheInstanceFields__GeneratedSchema$@JvmField val JSON_SCHEMA: String = "should-be-filtered" // instance field, not static</ID>
</CurrentIssues>
</SmellBaseline>