Commit 3c4fdbd
committed
docs: add tool mode separation plan for UI vs normal mode architecture
Add comprehensive implementation plan for separating UI-mode (OpenAI) and
normal-mode tool behavior into independent, self-contained modules.
Key design decisions:
- Actor Executor pattern for direct actor tool mode awareness
- Three-layer architecture (core → registry → mode-specific tools)
- Object.freeze for tool definition immutability (Skyfire safety)
- Mode-aware category registry eliminating deep-clone hack
- 5-phase chained PR strategy for incremental delivery1 parent 587bdc7 commit 3c4fdbd
2 files changed
+713
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
45 | 61 | | |
46 | 62 | | |
47 | 63 | | |
| |||
0 commit comments