Commit b7f6659
authored
Add 3 patterns: tool-search-lazy-loading, dual-llm-pattern, lethal-trifecta-threat-model (#4)
* Add 3 patterns: tool-search-lazy-loading, dual-llm-pattern, lethal-trifecta-threat-model
Inspired by gaps surfaced against agentic-patterns.com, rewritten from
upstream sources into the catalog's POSA schema:
- tool-search-lazy-loading (tool-use-environment, emerging) — defer tool
schema injection until a ToolSearch primitive returns matches; addresses
the context-budget cost that tool-loadout and tool-discovery don't.
Sources: Anthropic Agent Skills post, MCP spec, Thariq Shihipar.
- dual-llm-pattern (safety-control, emerging) — split work between a
privileged tool-holding model and a quarantined content-reading model
with symbolic-handle handoff. Sources: Willison 2023, Beurer-Kellner
et al. arXiv:2506.08837 §3.1(4).
- lethal-trifecta-threat-model (safety-control, emerging) — capability-set
frame: no execution path may simultaneously hold private-data read,
untrusted-content ingest, and outbound channel. Sources: Willison 2025,
CVE-2024-38206, Beurer-Kellner et al.
Adds 11 mirror/inverse edges across tool-loadout, tool-discovery,
context-window-packing, mcp, prompt-injection-defense,
input-output-guardrails, sandbox-isolation, tool-output-poisoning to
balance the typed-edge graph. Adds 3 verification-todo entries.
Pattern count 195 → 198. All lint rules pass for new patterns.
* Strip pure-future known_uses; fix 2 dead URLs blocking CI
- Remove 4 known_uses entries with status='pure-future' across
lats, llm-compiler, rewoo, reflexion (they are not actual
known uses).
- Replace the now-empty known_uses on lats, llm-compiler,
reflexion with real available implementations (paper authors'
GitHub releases + LangGraph examples; all URLs verified live).
rewoo retains its existing 'agent-patterns library' entry.
- Replace dead URL https://platform.openai.com/docs/api-reference/chat
on confidence-reporting with https://cookbook.openai.com/examples/using_logprobs.
- Replace dead URL https://plandex.ai/ on framework-coverage
plandex entry with the canonical GitHub repo URL.
Lint A6.1 (known_uses non-empty), A6.3 (URL liveness) and all
other rules pass.1 parent 7e5a480 commit b7f6659
15 files changed
Lines changed: 1055 additions & 217 deletions
File tree
- patterns-src
- patterns
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| 151 | + | |
150 | 152 | | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| 156 | + | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1009 | 1009 | | |
1010 | 1010 | | |
1011 | 1011 | | |
1012 | | - | |
| 1012 | + | |
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
259 | 263 | | |
260 | 264 | | |
261 | 265 | | |
| |||
265 | 269 | | |
266 | 270 | | |
267 | 271 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
| 276 | + | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
285 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
286 | 290 | | |
287 | 291 | | |
288 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | 396 | | |
404 | 397 | | |
405 | 398 | | |
| |||
486 | 479 | | |
487 | 480 | | |
488 | 481 | | |
489 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
490 | 497 | | |
491 | 498 | | |
492 | 499 | | |
| |||
516 | 523 | | |
517 | 524 | | |
518 | 525 | | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
580 | 594 | | |
581 | 595 | | |
582 | 596 | | |
| |||
1263 | 1277 | | |
1264 | 1278 | | |
1265 | 1279 | | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
1269 | | - | |
1270 | | - | |
1271 | 1280 | | |
1272 | 1281 | | |
1273 | 1282 | | |
| |||
0 commit comments