rhachet-roles-bhrain 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/roles/architect/briefs/brains.replic/arc000.sources.[catalog].md +178 -0
  2. package/dist/roles/architect/briefs/brains.replic/arc101.concept.llm.[article].md +25 -0
  3. package/dist/roles/architect/briefs/brains.replic/arc102.concept.repl.[article].md +33 -0
  4. package/dist/roles/architect/briefs/brains.replic/arc103.concept.replic-brain.[article].md +35 -0
  5. package/dist/roles/architect/briefs/brains.replic/arc104.concept.context-window.[article].md +40 -0
  6. package/dist/roles/architect/briefs/brains.replic/arc105.concept.system-prompt.[article].md +44 -0
  7. package/dist/roles/architect/briefs/brains.replic/arc106.concept.tool-definition.[article].md +59 -0
  8. package/dist/roles/architect/briefs/brains.replic/arc107.concept.tool-call.[article].md +54 -0
  9. package/dist/roles/architect/briefs/brains.replic/arc108.concept.tool-result.[article].md +58 -0
  10. package/dist/roles/architect/briefs/brains.replic/arc109.concept.agentic-loop.[article].md +62 -0
  11. package/dist/roles/architect/briefs/brains.replic/arc110.concept.reasoning-trace.[article].md +58 -0
  12. package/dist/roles/architect/briefs/brains.replic/arc111.concept.react-pattern.[article].md +65 -0
  13. package/dist/roles/architect/briefs/brains.replic/arc112.concept.reflexion-pattern.[article].md +68 -0
  14. package/dist/roles/architect/briefs/brains.replic/arc113.concept.tree-of-thoughts.[article].md +76 -0
  15. package/dist/roles/architect/briefs/brains.replic/arc114.concept.self-consistency.[article].md +73 -0
  16. package/dist/roles/architect/briefs/brains.replic/arc115.concept.lats-pattern.[article].md +78 -0
  17. package/dist/roles/architect/briefs/brains.replic/arc116.concept.context-compaction.[article].md +71 -0
  18. package/dist/roles/architect/briefs/brains.replic/arc117.concept.subagent.[article].md +71 -0
  19. package/dist/roles/architect/briefs/brains.replic/arc118.concept.extended-thinking.[article].md +69 -0
  20. package/dist/roles/architect/briefs/brains.replic/arc119.concept.mcp.[article].md +78 -0
  21. package/dist/roles/architect/briefs/brains.replic/arc120.concept.session.[article].md +67 -0
  22. package/dist/roles/architect/briefs/brains.replic/arc121.concept.message.[article].md +79 -0
  23. package/dist/roles/architect/briefs/brains.replic/arc122.concept.plan-and-solve.[article].md +80 -0
  24. package/dist/roles/architect/briefs/brains.replic/arc150.concepts.treestruct.[article].md +126 -0
  25. package/dist/roles/architect/briefs/brains.replic/arc201.blueprint.claude-code.[article].md +417 -0
  26. package/dist/roles/architect/briefs/brains.replic/arc201.blueprint.claude-code.zoomin.reason.[article].md +507 -0
  27. package/dist/roles/architect/briefs/brains.replic/arc202.blueprint.codex.[article].md +354 -0
  28. package/dist/roles/architect/briefs/brains.replic/arc300.blueprints.comparison.[catalog].md +284 -0
  29. package/dist/roles/thinker/briefs/term=brain.atomic_vs_replic.md +8 -0
  30. package/package.json +3 -2
@@ -0,0 +1,354 @@
1
+ # blueprint: openai codex
2
+
3
+ ## .what
4
+
5
+ openai codex is a cloud-based coding agent that runs tasks in isolated sandbox containers, enabling parallel task execution, background processing, and integration with github workflows.
6
+
7
+ ## .why
8
+
9
+ codex represents a different architectural approach than claude code: cloud-first with network isolation, parallel task model, and deep github integration. comparing these architectures reveals tradeoffs in the replic brain design space.
10
+
11
+ ---
12
+
13
+ ## core agentic loop
14
+
15
+ ### pseudocode
16
+
17
+ ```python
18
+ def run_cloud_task(task_description, repository, environment):
19
+ # provision isolated cloud container
20
+ container = provision_sandbox(
21
+ repository=repository,
22
+ environment=environment,
23
+ network_access=False # disabled by default
24
+ )
25
+
26
+ # clone repository into container
27
+ container.clone_repo(repository)
28
+
29
+ # run setup script if defined
30
+ if environment.setup_script:
31
+ container.run(environment.setup_script)
32
+
33
+ # agentic loop within sandbox
34
+ context = initialize_context(task_description)
35
+
36
+ while True:
37
+ response = llm.generate(
38
+ messages=context,
39
+ tools=SANDBOX_TOOLS,
40
+ model="gpt-5-codex"
41
+ )
42
+
43
+ if response.has_tool_calls:
44
+ for tool_call in response.tool_calls:
45
+ # execute within sandbox (no external network)
46
+ result = container.execute(tool_call)
47
+ context.append(result)
48
+
49
+ # run tests after code changes
50
+ if is_code_change(tool_call):
51
+ test_result = container.run_tests()
52
+ context.append(test_result)
53
+ else:
54
+ # task complete
55
+ break
56
+
57
+ # propose changes
58
+ return container.create_pr_proposal()
59
+ ```
60
+
61
+ ### key characteristics
62
+
63
+ | aspect | implementation |
64
+ |--------|----------------|
65
+ | execution environment | isolated cloud container |
66
+ | network access | disabled by default (configurable) |
67
+ | loop type | async, runs in background |
68
+ | parallelism | multiple tasks can run simultaneously |
69
+ | termination | agent decides task complete, proposes PR |
70
+
71
+ ### sources
72
+
73
+ - [Codex Cloud Architecture](https://developers.openai.com/codex/cloud/) — cloud sandbox docs
74
+ - [Codex Security Guide](https://developers.openai.com/codex/security/) — isolation model
75
+
76
+ ---
77
+
78
+ ## context management
79
+
80
+ ### strategy: full context with large windows
81
+
82
+ unlike claude code's compaction approach, codex leverages large context windows and cloud execution:
83
+
84
+ ```
85
+ ┌────────────────────────────────────────┐
86
+ │ CODEX CONTEXT MODEL │
87
+ ├────────────────────────────────────────┤
88
+ │ [task description] │
89
+ │ [repository state] │
90
+ │ [execution history] │
91
+ │ [test results] │
92
+ │ [full file contents as needed] │
93
+ │ │
94
+ │ (no explicit compaction — session │
95
+ │ scoped to single task completion) │
96
+ └────────────────────────────────────────┘
97
+ ```
98
+
99
+ ### context characteristics
100
+
101
+ | aspect | approach |
102
+ |--------|----------|
103
+ | session length | single task (not open-ended) |
104
+ | history accumulation | full for task duration |
105
+ | compaction | not prominent; tasks are bounded |
106
+ | persistence | task artifacts saved, context ephemeral |
107
+
108
+ ### sources
109
+
110
+ - [Codex CLI Features](https://developers.openai.com/codex/cli/features/) — context handling
111
+
112
+ ---
113
+
114
+ ## tool interface
115
+
116
+ ### sandbox tools
117
+
118
+ | category | capabilities |
119
+ |----------|--------------|
120
+ | filesystem | read, write, edit files in workspace |
121
+ | execution | run commands, tests, builds |
122
+ | git | commit, branch, diff |
123
+ | github | create PRs, read issues |
124
+
125
+ ### network isolation
126
+
127
+ ```
128
+ ┌────────────────────────────────────────┐
129
+ │ CODEX SANDBOX │
130
+ ├────────────────────────────────────────┤
131
+ │ │
132
+ │ [Agent]───[Filesystem] │
133
+ │ │ │
134
+ │ └────[Shell Execution] │
135
+ │ │ │
136
+ │ └────[Git Operations] │
137
+ │ │
138
+ │ ┌─────────────────────────────────┐ │
139
+ │ │ NETWORK: BLOCKED BY DEFAULT │ │
140
+ │ │ (can be enabled by admin) │ │
141
+ │ └─────────────────────────────────┘ │
142
+ │ │
143
+ └────────────────────────────────────────┘
144
+ ```
145
+
146
+ ### sandboxing methods
147
+
148
+ | environment | method |
149
+ |-------------|--------|
150
+ | local (cli) | seatbelt (macos), seccomp+landlock (linux) |
151
+ | cloud | isolated containers |
152
+
153
+ ### sources
154
+
155
+ - [Codex Security Guide](https://developers.openai.com/codex/security/) — sandboxing details
156
+ - [Codex SDK](https://developers.openai.com/codex/sdk/) — tool interface
157
+
158
+ ---
159
+
160
+ ## parallel task pattern
161
+
162
+ ### multi-task execution
163
+
164
+ ```
165
+ ┌─────────────────────────────────────────────────────┐
166
+ │ USER REQUEST │
167
+ │ "Fix auth bug AND add logging to API endpoints" │
168
+ └──────────────────────┬──────────────────────────────┘
169
+
170
+ ┌────────────┴────────────┐
171
+ │ │
172
+ ┌─────▼─────┐ ┌──────▼─────┐
173
+ │ Task 1 │ │ Task 2 │
174
+ │ (auth bug)│ │ (logging) │
175
+ │ │ │ │
176
+ │ Container │ │ Container │
177
+ │ A │ │ B │
178
+ └─────┬─────┘ └──────┬─────┘
179
+ │ │
180
+ │ [run in parallel] │
181
+ │ │
182
+ ┌─────▼─────┐ ┌──────▼─────┐
183
+ │ PR #1 │ │ PR #2 │
184
+ └───────────┘ └────────────┘
185
+ ```
186
+
187
+ ### task lifecycle
188
+
189
+ 1. task created (via chat, github, slack, etc.)
190
+ 2. container provisioned with repo
191
+ 3. agent executes in background
192
+ 4. tests run automatically after changes
193
+ 5. PR proposed when complete
194
+ 6. user reviews and merges
195
+
196
+ ### sources
197
+
198
+ - [Codex Cloud Architecture](https://developers.openai.com/codex/cloud/) — parallel execution
199
+
200
+ ---
201
+
202
+ ## reasoning strategy
203
+
204
+ ### test-driven iteration
205
+
206
+ codex emphasizes running tests as the verification mechanism:
207
+
208
+ ```
209
+ [Write code change]
210
+
211
+
212
+ [Run tests automatically]
213
+
214
+ ├── tests pass → continue
215
+
216
+ └── tests fail → iterate
217
+
218
+
219
+ [Analyze failure]
220
+
221
+
222
+ [Fix and re-run]
223
+ ```
224
+
225
+ ### implicit CoT/ReAct
226
+
227
+ reasoning is embedded in the agent's approach but not always explicitly visible to users.
228
+
229
+ ---
230
+
231
+ ## github integration
232
+
233
+ ### workflow triggers
234
+
235
+ | trigger | action |
236
+ |---------|--------|
237
+ | @codex mention | create task from issue/PR |
238
+ | slack command | create task |
239
+ | chat interface | create task |
240
+ | api call | create task |
241
+
242
+ ### pr proposal flow
243
+
244
+ ```
245
+ [Task completes in sandbox]
246
+
247
+
248
+ [Generate diff + description]
249
+
250
+
251
+ [Propose as draft PR]
252
+
253
+
254
+ [User reviews]
255
+
256
+ ┌────┴────┐
257
+ │ │
258
+ [merge] [request changes]
259
+
260
+
261
+ [new task]
262
+ ```
263
+
264
+ ### sources
265
+
266
+ - [Codex Cloud Architecture](https://developers.openai.com/codex/cloud/) — github integration
267
+
268
+ ---
269
+
270
+ ## model
271
+
272
+ ### gpt-5-codex
273
+
274
+ - purpose-built for codex workloads
275
+ - optimized for code understanding and generation
276
+ - supports tool use
277
+ - available via api key or chatgpt subscription
278
+
279
+ ### sources
280
+
281
+ - [Introducing Upgrades to Codex](https://openai.com/index/introducing-upgrades-to-codex/) — model details
282
+
283
+ ---
284
+
285
+ ## benchmark performance
286
+
287
+ | benchmark | notes |
288
+ |-----------|-------|
289
+ | SWE-bench | competitive performance |
290
+ | practical tasks | strong on isolated, test-driven tasks |
291
+ | pr proposals | high quality with context |
292
+
293
+ ---
294
+
295
+ ## architectural summary
296
+
297
+ ```
298
+ ┌────────────────────────────────────────────────────────┐
299
+ │ OPENAI CODEX │
300
+ ├────────────────────────────────────────────────────────┤
301
+ │ ┌──────────────────────────────────────────────────┐ │
302
+ │ │ TASK QUEUE │ │
303
+ │ │ [task 1] [task 2] [task 3] ... (parallel) │ │
304
+ │ └──────────────────────────────────────────────────┘ │
305
+ │ │ │
306
+ │ ┌──────────────────────▼──────────────────────────┐ │
307
+ │ │ CLOUD SANDBOX (per task) │ │
308
+ │ │ ┌────────────────────────────────────────┐ │ │
309
+ │ │ │ Repository Clone │ │ │
310
+ │ │ │ + Environment Setup │ │ │
311
+ │ │ │ + Network Isolation │ │ │
312
+ │ │ └────────────────────────────────────────┘ │ │
313
+ │ │ │ │ │
314
+ │ │ ┌─────────────────▼────────────────────────┐ │ │
315
+ │ │ │ AGENTIC LOOP │ │ │
316
+ │ │ │ while not done: │ │ │
317
+ │ │ │ response = llm.generate() │ │ │
318
+ │ │ │ execute_tools() │ │ │
319
+ │ │ │ run_tests() # automatic │ │ │
320
+ │ │ │ iterate_if_failing() │ │ │
321
+ │ │ └──────────────────────────────────────────┘ │ │
322
+ │ └──────────────────────────────────────────────────┘ │
323
+ │ │ │
324
+ │ ┌──────────────────────▼──────────────────────────┐ │
325
+ │ │ PR PROPOSAL │ │
326
+ │ │ [diff] [description] [test results] │ │
327
+ │ └──────────────────────────────────────────────────┘ │
328
+ └────────────────────────────────────────────────────────┘
329
+ ```
330
+
331
+ ---
332
+
333
+ ## concepts utilized
334
+
335
+ - [llm](./arc101.concept.llm.[article].md)
336
+ - [context-window](./arc104.concept.context-window.[article].md)
337
+ - [agentic-loop](./arc109.concept.agentic-loop.[article].md)
338
+ - [tool-call](./arc107.concept.tool-call.[article].md)
339
+ - [tool-result](./arc108.concept.tool-result.[article].md)
340
+ - [session](./arc120.concept.session.[article].md) (task-scoped)
341
+ - [react-pattern](./arc111.concept.react-pattern.[article].md) (implicit)
342
+
343
+ ---
344
+
345
+ ## key differences from claude code
346
+
347
+ | aspect | claude code | codex |
348
+ |--------|-------------|-------|
349
+ | execution | local or sdk | cloud sandbox |
350
+ | network | controlled | blocked by default |
351
+ | parallelism | subagents | multiple tasks |
352
+ | context | compaction | task-bounded |
353
+ | integration | cli + ide | github + slack + api |
354
+ | pr workflow | manual | auto-proposed |
@@ -0,0 +1,284 @@
1
+ # blueprints comparison catalog
2
+
3
+ ## .what
4
+
5
+ a systematic comparison of replic brain architectures across key dimensions: loop architecture, context management, tool interface, subagent patterns, git integration, and performance.
6
+
7
+ ## .why
8
+
9
+ comparing architectures reveals the design tradeoffs in the replic brain space. understanding why different systems make different choices informs future architecture decisions and helps practitioners select the right tool for their needs.
10
+
11
+ ---
12
+
13
+ ## architectural comparison matrix
14
+
15
+ | dimension | claude code | codex |
16
+ |-----------|-------------|-------|
17
+ | **execution** | local/sdk | cloud sandbox |
18
+ | **loop type** | single-threaded, synchronous | async, background |
19
+ | **network** | controlled (permissions) | blocked by default |
20
+ | **parallelism** | subagents | multiple tasks |
21
+ | **context** | compaction | task-bounded |
22
+ | **model** | claude-sonnet/opus | gpt-5-codex |
23
+ | **interface** | cli, ide extensions | github, slack, api, ios |
24
+
25
+ ---
26
+
27
+ ## dimension analysis
28
+
29
+ ### 1. loop architecture
30
+
31
+ #### claude code: single-threaded with subagent delegation
32
+ ```
33
+ main loop ────────────────────────►
34
+
35
+ └──► subagent (isolated context)
36
+
37
+ └──► returns summary
38
+ ```
39
+
40
+ - synchronous within session
41
+ - user interacts directly with main loop
42
+ - subagents for context isolation and parallel work
43
+
44
+ #### codex: async task-based with parallel execution
45
+ ```
46
+ task queue ────────────────────────►
47
+
48
+ ├──► task 1 (container A) ──► PR
49
+
50
+ ├──► task 2 (container B) ──► PR
51
+
52
+ └──► task 3 (container C) ──► PR
53
+ ```
54
+
55
+ - asynchronous, runs in background
56
+ - multiple tasks execute in parallel
57
+ - each task gets isolated container
58
+
59
+ #### tradeoff
60
+ | aspect | claude code | codex |
61
+ |--------|-------------|-------|
62
+ | interactivity | high (real-time) | low (async) |
63
+ | parallelism | via subagents | native multi-task |
64
+ | user feedback | immediate | at task completion |
65
+
66
+ ---
67
+
68
+ ### 2. context management
69
+
70
+ #### claude code: compaction via summarization
71
+ ```
72
+ [context fills] ──► [summarize] ──► [continue]
73
+ ```
74
+
75
+ - auto-summarization when approaching 200k limit
76
+ - enables unbounded session length
77
+ - trades verbatim history for longevity
78
+
79
+ #### codex: task-bounded full context
80
+ ```
81
+ [task starts] ──► [full context] ──► [task ends]
82
+ ```
83
+
84
+ - no explicit compaction needed
85
+ - tasks are bounded in scope
86
+ - fresh context per task
87
+
88
+ #### tradeoff
89
+ | aspect | claude code | codex |
90
+ |--------|-------------|-------|
91
+ | session length | unbounded | task-scoped |
92
+ | history loss | yes (via summarization) | no (per task) |
93
+ | complexity | higher (compaction logic) | lower |
94
+
95
+ ---
96
+
97
+ ### 3. tool interface
98
+
99
+ #### claude code: builtin + MCP extensibility
100
+ ```
101
+ ┌─────────────────────────────────────┐
102
+ │ [25+ builtin tools] │
103
+ │ + [MCP servers for custom tools] │
104
+ │ + [permission-based access] │
105
+ └─────────────────────────────────────┘
106
+ ```
107
+
108
+ #### codex: sandbox-restricted tools
109
+ ```
110
+ ┌─────────────────────────────────────┐
111
+ │ [file, shell, git tools] │
112
+ │ [network blocked by default] │
113
+ │ [test execution built-in] │
114
+ └─────────────────────────────────────┘
115
+ ```
116
+
117
+ #### tradeoff
118
+ | aspect | claude code | codex |
119
+ |--------|-------------|-------|
120
+ | extensibility | high (MCP) | limited |
121
+ | security | permission-based | sandbox isolation |
122
+ | web access | yes (controlled) | blocked (default) |
123
+
124
+ ---
125
+
126
+ ### 4. subagent patterns
127
+
128
+ #### claude code: typed subagents
129
+ ```
130
+ Task(subagent_type="Explore", prompt="...")
131
+ Task(subagent_type="Plan", prompt="...")
132
+ Task(subagent_type="general-purpose", prompt="...")
133
+ ```
134
+
135
+ - explicit types with different capabilities
136
+ - isolated context per subagent
137
+ - can use different/cheaper models
138
+
139
+ #### codex: parallel task containers
140
+ ```
141
+ [Task A: Container 1] ──► PR #1
142
+ [Task B: Container 2] ──► PR #2
143
+ ```
144
+
145
+ - each task is essentially a "subagent"
146
+ - full container isolation
147
+ - natural parallelism
148
+
149
+ #### tradeoff
150
+ | aspect | claude code | codex |
151
+ |--------|-------------|-------|
152
+ | granularity | fine (subagents within session) | coarse (separate tasks) |
153
+ | model flexibility | per-subagent | per-task |
154
+ | coordination | parent context | independent |
155
+
156
+ ---
157
+
158
+ ### 5. git integration
159
+
160
+ #### claude code: user-driven commits
161
+ ```
162
+ [changes made]
163
+
164
+ └──► user: "commit this"
165
+
166
+ └──► git add + git commit
167
+ ```
168
+
169
+ - only commits when explicitly asked
170
+ - guardrails against dangerous operations
171
+ - manual push
172
+
173
+ #### codex: auto-proposed PRs
174
+ ```
175
+ [task completes]
176
+
177
+ └──► auto-generate PR proposal
178
+
179
+ └──► user reviews + merges
180
+ ```
181
+
182
+ - automatic PR creation
183
+ - built-in github integration
184
+ - streamlined review workflow
185
+
186
+ #### tradeoff
187
+ | aspect | claude code | codex |
188
+ |--------|-------------|-------|
189
+ | automation | low (user-driven) | high (auto-PR) |
190
+ | control | high | lower |
191
+ | workflow fit | cli/local dev | github-centric |
192
+
193
+ ---
194
+
195
+ ### 6. performance dimensions
196
+
197
+ #### benchmark comparison
198
+
199
+ | benchmark | claude code | codex |
200
+ |-----------|-------------|-------|
201
+ | SWE-bench (verified) | ~49% | competitive |
202
+ | HumanEval | strong | strong |
203
+ | practical tasks | strong (interactive) | strong (batch) |
204
+
205
+ #### reasoning strategy effectiveness
206
+
207
+ | strategy | claude code | codex |
208
+ |----------|-------------|-------|
209
+ | react-style | implicit | implicit |
210
+ | extended thinking | yes (configurable) | via model |
211
+ | test-driven | user-initiated | automatic |
212
+
213
+ #### token efficiency
214
+
215
+ | aspect | claude code | codex |
216
+ |--------|-------------|-------|
217
+ | context usage | compacted | full per task |
218
+ | model calls | single-threaded | parallel |
219
+ | cost model | per-session | per-task |
220
+
221
+ ---
222
+
223
+ ## shared patterns
224
+
225
+ despite architectural differences, both systems share:
226
+
227
+ 1. **agentic loop** — generate → tool → observe → repeat
228
+ 2. **tool-based interaction** — structured tool calls, not free-form execution
229
+ 3. **git awareness** — understand and manipulate repositories
230
+ 4. **test integration** — verify changes via tests
231
+ 5. **llm-driven reasoning** — model decides actions
232
+ 6. **safety constraints** — guardrails on dangerous operations
233
+
234
+ ---
235
+
236
+ ## divergent approaches
237
+
238
+ | decision point | claude code choice | codex choice |
239
+ |----------------|-------------------|--------------|
240
+ | where to run | user's machine | openai's cloud |
241
+ | how to isolate | permissions + subagents | containers + network block |
242
+ | how to scale | session compaction | bounded tasks |
243
+ | how to integrate | cli + MCP | github + slack + api |
244
+ | when to commit | on user request | auto-propose PR |
245
+
246
+ ---
247
+
248
+ ## insights
249
+
250
+ ### pattern: cloud vs local tradeoff
251
+ - **cloud** (codex): easier deployment, better isolation, async-first
252
+ - **local** (claude code): immediate feedback, user control, privacy
253
+
254
+ ### pattern: compaction vs bounding
255
+ - **compaction**: enables unbounded sessions but loses detail
256
+ - **bounding**: preserves detail but scopes to single tasks
257
+
258
+ ### pattern: permission vs sandbox
259
+ - **permission**: flexible but requires trust decisions
260
+ - **sandbox**: restrictive but eliminates classes of risk
261
+
262
+ ### correlation: architecture → use case
263
+ | architecture | best for |
264
+ |--------------|----------|
265
+ | claude code | interactive development, exploration, refactoring |
266
+ | codex | batch tasks, CI integration, github workflows |
267
+
268
+ ---
269
+
270
+ ## sources
271
+
272
+ - [Building Effective Agents](https://www.anthropic.com/research/building-effective-agents)
273
+ - [Codex Cloud Architecture](https://developers.openai.com/codex/cloud/)
274
+ - [AI Coding Agents Benchmark](https://render.com/blog/ai-coding-agents-benchmark)
275
+ - [Claude Code vs Cursor Deep Comparison](https://www.qodo.ai/blog/claude-code-vs-cursor/)
276
+
277
+ ---
278
+
279
+ ## related briefs
280
+
281
+ - [arc201.blueprint.claude-code.[article].md](./arc201.blueprint.claude-code.[article].md)
282
+ - [arc202.blueprint.codex.[article].md](./arc202.blueprint.codex.[article].md)
283
+ - [arc109.concept.agentic-loop.[article].md](./arc109.concept.agentic-loop.[article].md)
284
+ - [arc117.concept.subagent.[article].md](./arc117.concept.subagent.[article].md)
@@ -0,0 +1,8 @@
1
+
2
+ - brains come in two fundamental frames
3
+ - atomic = llm direct invocation
4
+ - e.g., `atomic:openai:o4`
5
+ - e.g., `atomic:anthropic:claude-opus-v4.3`
6
+ - replic = llm behind a repl (read-execute-print-loop)
7
+ - e.g., `replic:openai:codex`
8
+ - e.g., `replic:anthropic:claude-code`
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "rhachet-roles-bhrain",
3
3
  "author": "ehmpathy",
4
4
  "description": "reliable thought concept navigation roles, briefs, and skills, via rhachet",
5
- "version": "0.1.1",
5
+ "version": "0.2.0",
6
6
  "repository": "ehmpathy/rhachet-roles-bhrain",
7
7
  "homepage": "https://github.com/ehmpathy/rhachet-roles-bhrain",
8
8
  "keywords": [
@@ -49,7 +49,7 @@
49
49
  "prepare:husky": "husky install && chmod ug+x .husky/*",
50
50
  "prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi",
51
51
  "test:format:biome": "biome format",
52
- "prepare:rhachet": "rhachet init && rhachet roles link --role mechanic && rhachet roles init --role mechanic"
52
+ "prepare:rhachet": "rhachet init && rhachet roles link --role mechanic && rhachet roles link --role behaver && rhachet roles init --role mechanic"
53
53
  },
54
54
  "dependencies": {
55
55
  "@ehmpathy/as-command": "1.0.3",
@@ -62,6 +62,7 @@
62
62
  "openai": "5.8.2",
63
63
  "rhachet-artifact": "1.0.0",
64
64
  "rhachet-artifact-git": "1.1.0",
65
+ "rhachet-roles-bhuild": "0.1.3",
65
66
  "serde-fns": "1.2.0",
66
67
  "simple-in-memory-cache": "0.4.0",
67
68
  "type-fns": "1.21.0",