Skip to content

Commit c1db467

Browse files
committed
feat(patterns) author Language Agent Tree Search, Self-Discover, RLAIF
Three new entries in family 17-ai-agentic, all 18 dimensions, sourced from the original arXiv papers, both the abstract page and the full-text mirror, live-fetched and verbatim. Language Agent Tree Search. arXiv 2310.04406 (Zhou, Yan, Shlapentokh- Rothman, Wang, Wang), the full six-step algorithm quoted verbatim, selection, expansion, evaluation, simulation, backpropagation, reflection, plus the paper's own explicit computational-cost caveat against ReAct and Reflexion. cross-references the already-published Tree of Thoughts entry, with the paper's own self-stated distinction (environment feedback after value assignment, unifying reasoning, acting, and planning), a real relation caught during authoring rather than left as an empty related field. Self-Discover. arXiv 2402.03620 (Zhou, Pujara, Ren, Chen, Cheng, Le, Chi, Zhou, Mishra, Zheng), the three-stage SELECT, ADAPT, IMPLEMENT process quoted verbatim, honestly reporting the paper's own self-critical finding that 74.7% of remaining failures are computational rather than structural. RLAIF. arXiv 2309.00267 (Lee, Phatale, Mansoor, Mesnard, Ferret, Lu, Bishop, Hall, Carbune, Rastogi, Prakash), the AI-labeling mechanism and the direct-RLAIF architectural variant both quoted verbatim, honestly preserving the paper's own explicit bias-transfer risk and its recommendation that human feedback remain the gold standard in high-stakes domains. Every arXiv ID was live-verified against its actual title and abstract before being trusted, per the anti-fabrication standard, rather than assumed from memory. Generators re-run in order, indexes, by-problem and by-language, the three queue entries removed, refs re-validated, catalogue status regenerated. README badges and the family-17 table row synced against the real file count, 59 to 62 published, 6 to 3 remaining. Queue at 20 of 892.
1 parent 1000adb commit c1db467

12 files changed

Lines changed: 988 additions & 43 deletions

‎.ref-cache.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@
8989
"https://approvaltests.com/resources/": 200,
9090
"https://ar5iv.labs.arxiv.org/html/1506.08603": 200,
9191
"https://ar5iv.labs.arxiv.org/html/2204.02311": 200,
92+
"https://ar5iv.labs.arxiv.org/html/2309.00267": 200,
93+
"https://ar5iv.labs.arxiv.org/html/2310.04406": 200,
94+
"https://ar5iv.labs.arxiv.org/html/2402.03620": 200,
9295
"https://ar5iv.labs.arxiv.org/html/2410.21680": 200,
9396
"https://architect.salesforce.com/fundamentals/platform-multitenant-architecture": 200,
9497
"https://archive.org/details/Structured_Design_Edward_Yourdon_Larry_Constantine": 200,
@@ -168,6 +171,7 @@
168171
"https://arxiv.org/abs/2401.15884": 200,
169172
"https://arxiv.org/abs/2401.18059": 200,
170173
"https://arxiv.org/abs/2402.01030": 200,
174+
"https://arxiv.org/abs/2402.03620": 200,
171175
"https://arxiv.org/abs/2403.14720": 200,
172176
"https://arxiv.org/abs/2404.04475": 200,
173177
"https://arxiv.org/abs/2404.07972": 200,
@@ -3239,7 +3243,7 @@
32393243
"https://martinfowler.com/bliki/DDD_Aggregate.html": 200,
32403244
"https://martinfowler.com/bliki/DarkLaunching.html": 200,
32413245
"https://martinfowler.com/bliki/EvansClassification.html": 200,
3242-
"https://martinfowler.com/bliki/FailFast.html": "URLError",
3246+
"https://martinfowler.com/bliki/FailFast.html": "404 then HTTPError",
32433247
"https://martinfowler.com/bliki/FluentInterface.html": 200,
32443248
"https://martinfowler.com/bliki/GivenWhenThen.html": 200,
32453249
"https://martinfowler.com/bliki/HumbleObject.html": 200,

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ primary sources, carries eighteen mandatory dimensions, and cites every claim.
55

66
![License](https://img.shields.io/badge/license-CC%20BY%204.0-blue)
77
![Families](https://img.shields.io/badge/families-29-informational)
8-
![Entries](https://img.shields.io/badge/entries-869%20published%20%2F%20892%20planned-yellow)
8+
![Entries](https://img.shields.io/badge/entries-872%20published%20%2F%20892%20planned-yellow)
99
![Dimensions per entry](https://img.shields.io/badge/dimensions%20per%20entry-18-green)
1010
![Citations](https://img.shields.io/badge/citations-verified%20in%20CI-brightgreen)
1111
![Original prose](https://img.shields.io/badge/prose-100%25%20original-brightgreen)
@@ -14,10 +14,10 @@ primary sources, carries eighteen mandatory dimensions, and cites every claim.
1414
<!-- BADGES:AUTOGEN:START -->
1515
![CI](https://github.com/mjmirza/patterns/actions/workflows/ci.yml/badge.svg?branch=main)
1616
![Schema version](https://img.shields.io/badge/schema-v1.0-informational)
17-
![Published entries](https://img.shields.io/badge/published-869-brightgreen)
18-
![Planned entries](https://img.shields.io/badge/planned-23-lightgrey)
19-
![Catalogue completion](https://img.shields.io/badge/completion-97.4%25-yellow)
20-
![References checked](https://img.shields.io/badge/references%20checked-5038-brightgreen)
17+
![Published entries](https://img.shields.io/badge/published-872-brightgreen)
18+
![Planned entries](https://img.shields.io/badge/planned-20-lightgrey)
19+
![Catalogue completion](https://img.shields.io/badge/completion-97.8%25-yellow)
20+
![References checked](https://img.shields.io/badge/references%20checked-5042-brightgreen)
2121
![Stale entries](https://img.shields.io/badge/stale%20entries-0-brightgreen)
2222
![Code examples tested](https://img.shields.io/badge/code%20examples-compiled%20in%20CI-brightgreen)
2323
<!-- BADGES:AUTOGEN:END -->
@@ -108,7 +108,7 @@ A folder's slug always matches the slug linked here, enforced in CI. See
108108
| 14 | [Testing](patterns/14-testing/) | Meszaros, xUnit Test Patterns | 30 | 0 | 30 |
109109
| 15 | [Security](patterns/15-security/) | OWASP ASVS | 37 | 1 | 38 |
110110
| 16 | [Functional Programming](patterns/16-functional/) | Category theory in practice | 39 | 0 | 39 |
111-
| 17 | [AI and Agentic](patterns/17-ai-agentic/) | Papers and vendor engineering, 2023 to 2026 | 59 | 6 | 65 |
111+
| 17 | [AI and Agentic](patterns/17-ai-agentic/) | Papers and vendor engineering, 2023 to 2026 | 62 | 3 | 65 |
112112
| 18 | [Anti-Patterns](patterns/18-anti-patterns/) | Brown et al, AntiPatterns | 51 | 0 | 51 |
113113
| 19 | [API and Interface Design](patterns/19-api-design/) | REST, GraphQL, gRPC specifications | 11 | 0 | 11 |
114114
| 20 | [Release and Deployment](patterns/20-release-deployment/) | Humble and Farley | 10 | 0 | 10 |

‎dist/catalogue-status.csv‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ family,name,published,planned,target,percent
1515
14-testing,Testing,30,0,30,100.0
1616
15-security,Security,37,1,38,97.4
1717
16-functional,Functional Programming,39,0,39,100.0
18-
17-ai-agentic,AI and Agentic,59,6,65,90.8
18+
17-ai-agentic,AI and Agentic,62,3,65,95.4
1919
18-anti-patterns,Anti-Patterns,51,0,51,100.0
2020
19-api-design,API and Interface Design,11,0,11,100.0
2121
20-release-deployment,Release and Deployment,10,0,10,100.0

‎dist/catalogue-status.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"generated_by": "tools/gen-catalogue-status.py",
3-
"published_total": 869,
3+
"published_total": 872,
44
"target_total": 892,
55
"families_total": 29,
66
"families_complete": 22,
77
"stale_entries": 0,
8-
"references_checked": 5038,
8+
"references_checked": 5042,
99
"rows": [
1010
{
1111
"family": "01-design-patterns-gof",
@@ -226,12 +226,12 @@
226226
"family": "17-ai-agentic",
227227
"name": "AI and Agentic",
228228
"origin": "Papers and vendor engineering, 2023 to 2026",
229-
"published": 59,
230-
"planned": 6,
229+
"published": 62,
230+
"planned": 3,
231231
"target": 65,
232-
"percent": 90.8,
232+
"percent": 95.4,
233233
"maturity": {
234-
"established": 41,
234+
"established": 44,
235235
"emerging": 9,
236236
"canonical": 9
237237
}

‎docs/AUTHORING-QUEUE.json‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -104,27 +104,6 @@
104104
"path": "patterns/17-ai-agentic/context-window-auto-compaction.md",
105105
"focus": ""
106106
},
107-
{
108-
"name": "Language Agent Tree Search",
109-
"slug": "language-agent-tree-search",
110-
"category": "ai agentic",
111-
"path": "patterns/17-ai-agentic/language-agent-tree-search.md",
112-
"focus": ""
113-
},
114-
{
115-
"name": "Self-Discover",
116-
"slug": "self-discover",
117-
"category": "ai agentic",
118-
"path": "patterns/17-ai-agentic/self-discover.md",
119-
"focus": ""
120-
},
121-
{
122-
"name": "RLAIF",
123-
"slug": "rlaif",
124-
"category": "ai agentic",
125-
"path": "patterns/17-ai-agentic/rlaif.md",
126-
"focus": ""
127-
},
128107
{
129108
"name": "Inference-Time Scaling",
130109
"slug": "inference-time-scaling",

‎docs/BY-LANGUAGE.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ This matrix tracks which patterns provide runnable code examples in each languag
693693
| [Input Guardrails](../patterns/17-ai-agentic/input-guardrails.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
694694
| [LLM Circuit Breaker](../patterns/17-ai-agentic/llm-circuit-breaker.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
695695
| [LLM as Judge](../patterns/17-ai-agentic/llm-as-judge.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
696+
| [Language Agent Tree Search](../patterns/17-ai-agentic/language-agent-tree-search.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
696697
| [Late Chunking](../patterns/17-ai-agentic/late-chunking.md) | AI and Agentic | | | | | | Yes | Yes | | Yes |
697698
| [Least to Most](../patterns/17-ai-agentic/least-to-most.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
698699
| [Memory Compaction](../patterns/17-ai-agentic/memory-compaction.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
@@ -706,12 +707,14 @@ This matrix tracks which patterns provide runnable code examples in each languag
706707
| [Prompt Caching via Exact Prefix Preservation](../patterns/17-ai-agentic/prompt-caching-exact-prefix.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
707708
| [Prompt Chaining](../patterns/17-ai-agentic/prompt-chaining.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
708709
| [Prompt Injection Defense](../patterns/17-ai-agentic/prompt-injection-defense.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
710+
| [RLAIF](../patterns/17-ai-agentic/rlaif.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
709711
| [ReAct](../patterns/17-ai-agentic/react.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
710712
| [Reflexion](../patterns/17-ai-agentic/reflexion.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
711713
| [Reranking](../patterns/17-ai-agentic/reranking.md) | AI and Agentic | | | Yes | | | Yes | Yes | | Yes |
712714
| [Retrieval Augmented Generation](../patterns/17-ai-agentic/retrieval-augmented-generation.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
713715
| [Routing](../patterns/17-ai-agentic/routing.md) | AI and Agentic | | | Yes | | | Yes | Yes | | Yes |
714716
| [Self-Consistency](../patterns/17-ai-agentic/self-consistency.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
717+
| [Self-Discover](../patterns/17-ai-agentic/self-discover.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
715718
| [Self-RAG](../patterns/17-ai-agentic/self-rag.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
716719
| [Semantic Caching](../patterns/17-ai-agentic/semantic-caching.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
717720
| [Society of Mind](../patterns/17-ai-agentic/society-of-mind.md) | AI and Agentic | | | Yes | | | Yes | | | Yes |
@@ -1344,6 +1347,7 @@ These patterns contain runnable code examples written in Go:
13441347
- [LSM Tree](../patterns/12-data-storage/lsm-tree.md) (Data and Storage)
13451348
- [Lambda Architecture](../patterns/12-data-storage/lambda-architecture.md) (Data and Storage)
13461349
- [Lamport Clock](../patterns/12-data-storage/lamport-clock.md) (Data and Storage)
1350+
- [Language Agent Tree Search](../patterns/17-ai-agentic/language-agent-tree-search.md) (AI and Agentic)
13471351
- [Large Class](../patterns/02-code-smells/large-class.md) (Code Smells)
13481352
- [Lava Flow](../patterns/18-anti-patterns/lava-flow.md) (Anti-Patterns)
13491353
- [Layer Supertype](../patterns/06-enterprise-application-architecture/layer-supertype.md) (Enterprise Application Architecture)
@@ -1494,6 +1498,7 @@ These patterns contain runnable code examples written in Go:
14941498
- [Queue-Based Load Leveling](../patterns/08-cloud-distributed/queue-based-load-leveling.md) (Cloud and Distributed)
14951499
- [Quorum](../patterns/12-data-storage/quorum.md) (Data and Storage)
14961500
- [RED Method](../patterns/22-observability/red-method.md) (Observability)
1501+
- [RLAIF](../patterns/17-ai-agentic/rlaif.md) (AI and Agentic)
14971502
- [Raft](../patterns/12-data-storage/raft.md) (Data and Storage)
14981503
- [Railway-Oriented Programming](../patterns/16-functional/railway-oriented-programming.md) (Functional Programming)
14991504
- [Rate Limiter](../patterns/09-concurrency/rate-limiter.md) (Concurrency and Parallelism)
@@ -1561,6 +1566,7 @@ These patterns contain runnable code examples written in Go:
15611566
- [Self Registration](../patterns/10-microservices/self-registration.md) (Microservices)
15621567
- [Self-Consistency](../patterns/17-ai-agentic/self-consistency.md) (AI and Agentic)
15631568
- [Self-Contained Service](../patterns/10-microservices/self-contained-service.md) (Microservices)
1569+
- [Self-Discover](../patterns/17-ai-agentic/self-discover.md) (AI and Agentic)
15641570
- [Self-RAG](../patterns/17-ai-agentic/self-rag.md) (AI and Agentic)
15651571
- [Semantic Caching](../patterns/17-ai-agentic/semantic-caching.md) (AI and Agentic)
15661572
- [Semaphore](../patterns/09-concurrency/semaphore.md) (Concurrency and Parallelism)
@@ -3121,6 +3127,7 @@ These patterns contain runnable code examples written in Python:
31213127
- [LSM Tree](../patterns/12-data-storage/lsm-tree.md) (Data and Storage)
31223128
- [Lambda Architecture](../patterns/12-data-storage/lambda-architecture.md) (Data and Storage)
31233129
- [Lamport Clock](../patterns/12-data-storage/lamport-clock.md) (Data and Storage)
3130+
- [Language Agent Tree Search](../patterns/17-ai-agentic/language-agent-tree-search.md) (AI and Agentic)
31243131
- [Large Class](../patterns/02-code-smells/large-class.md) (Code Smells)
31253132
- [Late Chunking](../patterns/17-ai-agentic/late-chunking.md) (AI and Agentic)
31263133
- [Lava Flow](../patterns/18-anti-patterns/lava-flow.md) (Anti-Patterns)
@@ -3313,6 +3320,7 @@ These patterns contain runnable code examples written in Python:
33133320
- [Quorum](../patterns/12-data-storage/quorum.md) (Data and Storage)
33143321
- [RED Method](../patterns/22-observability/red-method.md) (Observability)
33153322
- [REST Resource Modeling](../patterns/19-api-design/rest-resource-modeling.md) (API and Interface Design)
3323+
- [RLAIF](../patterns/17-ai-agentic/rlaif.md) (AI and Agentic)
33163324
- [Railway-Oriented Programming](../patterns/16-functional/railway-oriented-programming.md) (Functional Programming)
33173325
- [Rate Limiter](../patterns/09-concurrency/rate-limiter.md) (Concurrency and Parallelism)
33183326
- [Rate Limiting](../patterns/08-cloud-distributed/rate-limiting.md) (Cloud and Distributed)
@@ -3403,6 +3411,7 @@ These patterns contain runnable code examples written in Python:
34033411
- [Self Registration](../patterns/10-microservices/self-registration.md) (Microservices)
34043412
- [Self-Consistency](../patterns/17-ai-agentic/self-consistency.md) (AI and Agentic)
34053413
- [Self-Contained Service](../patterns/10-microservices/self-contained-service.md) (Microservices)
3414+
- [Self-Discover](../patterns/17-ai-agentic/self-discover.md) (AI and Agentic)
34063415
- [Self-RAG](../patterns/17-ai-agentic/self-rag.md) (AI and Agentic)
34073416
- [Semantic Caching](../patterns/17-ai-agentic/semantic-caching.md) (AI and Agentic)
34083417
- [Semaphore](../patterns/09-concurrency/semaphore.md) (Concurrency and Parallelism)
@@ -4936,6 +4945,7 @@ These patterns contain runnable code examples written in TypeScript:
49364945
- [LLM as Judge](../patterns/17-ai-agentic/llm-as-judge.md) (AI and Agentic)
49374946
- [Lambda Architecture](../patterns/12-data-storage/lambda-architecture.md) (Data and Storage)
49384947
- [Lamport Clock](../patterns/12-data-storage/lamport-clock.md) (Data and Storage)
4948+
- [Language Agent Tree Search](../patterns/17-ai-agentic/language-agent-tree-search.md) (AI and Agentic)
49394949
- [Large Class](../patterns/02-code-smells/large-class.md) (Code Smells)
49404950
- [Late Chunking](../patterns/17-ai-agentic/late-chunking.md) (AI and Agentic)
49414951
- [Lava Flow](../patterns/18-anti-patterns/lava-flow.md) (Anti-Patterns)
@@ -5112,6 +5122,7 @@ These patterns contain runnable code examples written in TypeScript:
51125122
- [Queue-Based Load Leveling](../patterns/08-cloud-distributed/queue-based-load-leveling.md) (Cloud and Distributed)
51135123
- [Quorum](../patterns/12-data-storage/quorum.md) (Data and Storage)
51145124
- [RED Method](../patterns/22-observability/red-method.md) (Observability)
5125+
- [RLAIF](../patterns/17-ai-agentic/rlaif.md) (AI and Agentic)
51155126
- [Raft](../patterns/12-data-storage/raft.md) (Data and Storage)
51165127
- [Railway-Oriented Programming](../patterns/16-functional/railway-oriented-programming.md) (Functional Programming)
51175128
- [Rate Limiter](../patterns/09-concurrency/rate-limiter.md) (Concurrency and Parallelism)
@@ -5195,6 +5206,7 @@ These patterns contain runnable code examples written in TypeScript:
51955206
- [Self Registration](../patterns/10-microservices/self-registration.md) (Microservices)
51965207
- [Self-Consistency](../patterns/17-ai-agentic/self-consistency.md) (AI and Agentic)
51975208
- [Self-Contained Service](../patterns/10-microservices/self-contained-service.md) (Microservices)
5209+
- [Self-Discover](../patterns/17-ai-agentic/self-discover.md) (AI and Agentic)
51985210
- [Self-RAG](../patterns/17-ai-agentic/self-rag.md) (AI and Agentic)
51995211
- [Semantic Caching](../patterns/17-ai-agentic/semantic-caching.md) (AI and Agentic)
52005212
- [Semigroup](../patterns/16-functional/semigroup.md) (Functional Programming)

0 commit comments

Comments
 (0)