Skip to content

Commit a67a35a

Browse files
committed
docs: regenerate AGENTS.md knowledge base via /init-deep
1 parent 9d66b80 commit a67a35a

File tree

5 files changed

+11
-19
lines changed

5 files changed

+11
-19
lines changed

AGENTS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# PROJECT KNOWLEDGE BASE
22

3-
**Generated:** 2026-01-25T18:08:00+09:00
4-
**Commit:** 1d68757f
3+
**Generated:** 2026-01-26T14:50:00+09:00
4+
**Commit:** 9d66b807
55
**Branch:** dev
66

77
---
@@ -33,7 +33,7 @@ oh-my-opencode/
3333
│ ├── cli/ # CLI installer, doctor - see src/cli/AGENTS.md
3434
│ ├── mcp/ # Built-in MCPs - see src/mcp/AGENTS.md
3535
│ ├── config/ # Zod schema, TypeScript types
36-
│ └── index.ts # Main plugin entry (669 lines)
36+
│ └── index.ts # Main plugin entry (672 lines)
3737
├── script/ # build-schema.ts, build-binaries.ts
3838
├── packages/ # 7 platform-specific binaries
3939
└── dist/ # Build output (ESM + .d.ts)
@@ -132,7 +132,7 @@ bun test # 100 test files
132132
| `src/tools/delegate-task/tools.ts` | 1070 | Category-based delegation |
133133
| `src/hooks/atlas/index.ts` | 752 | Orchestrator hook |
134134
| `src/cli/config-manager.ts` | 664 | JSONC config parsing |
135-
| `src/index.ts` | 669 | Main plugin entry |
135+
| `src/index.ts` | 672 | Main plugin entry |
136136
| `src/features/builtin-commands/templates/refactor.ts` | 619 | Refactor command template |
137137

138138
## MCP ARCHITECTURE

src/agents/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ agents/
1616
├── prometheus-prompt.ts # Planning (Interview/Consultant mode, 1196 lines)
1717
├── metis.ts # Pre-planning analysis (Gap detection)
1818
├── momus.ts # Plan reviewer (Ruthless fault-finding)
19+
├── dynamic-agent-prompt-builder.ts # Dynamic prompt generation
1920
├── types.ts # AgentModelConfig, AgentPromptMetadata
2021
├── utils.ts # createBuiltinAgents(), resolveModelWithFallback()
2122
└── index.ts # builtinAgents export

src/features/AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ features/
1313
│ └── concurrency.ts # Per-provider limits
1414
├── builtin-skills/ # Core skills (1729 lines)
1515
│ └── skills.ts # agent-browser, dev-browser, frontend-ui-ux, git-master, typescript-programmer
16-
├── builtin-commands/ # ralph-loop, refactor, ulw-loop, init-deep
16+
├── builtin-commands/ # ralph-loop, refactor, ulw-loop, init-deep, start-work, cancel-ralph
1717
├── claude-code-agent-loader/ # ~/.claude/agents/*.md
1818
├── claude-code-command-loader/ # ~/.claude/commands/*.md
19-
├── claude-code-mcp-loader/ # .mcp.json
19+
├── claude-code-mcp-loader/ # .mcp.json with ${VAR} expansion
2020
├── claude-code-plugin-loader/ # installed_plugins.json
2121
├── claude-code-session-state/ # Session persistence
2222
├── opencode-skill-loader/ # Skills from 6 directories

src/hooks/AGENTS.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
hooks/
99
├── atlas/ # Main orchestration (752 lines)
1010
├── anthropic-context-window-limit-recovery/ # Auto-summarize
11-
├── todo-continuation-enforcer.ts # Force TODO completion
11+
├── todo-continuation-enforcer.ts # Force TODO completion (16k lines)
1212
├── ralph-loop/ # Self-referential dev loop
1313
├── claude-code-hooks/ # settings.json compat layer - see AGENTS.md
1414
├── comment-checker/ # Prevents AI slop
@@ -54,15 +54,6 @@ hooks/
5454
- **PreToolUse**: questionLabelTruncator → claudeCodeHooks → nonInteractiveEnv → commentChecker → directoryAgentsInjector → directoryReadmeInjector → rulesInjector → prometheusMdOnly → sisyphusJuniorNotepad → atlasHook
5555
- **PostToolUse**: claudeCodeHooks → toolOutputTruncator → contextWindowMonitor → commentChecker → directoryAgentsInjector → directoryReadmeInjector → rulesInjector → emptyTaskResponseDetector → agentUsageReminder → interactiveBashSession → editErrorRecovery → delegateTaskRetry → atlasHook → taskResumeInfo
5656

57-
## CRITICAL DEPENDENCIES
58-
59-
| Hook | Depends On | State Sharing |
60-
|------|------------|---------------|
61-
| todo-continuation-enforcer | session-recovery callbacks | `isRecovering` flag |
62-
| atlas | backgroundManager | Running task checks |
63-
| start-work | boulder state file | `.sisyphus/boulder.json` |
64-
| directory-*-injector | per-session caches | `sessionCaches` Map |
65-
6657
## HOW TO ADD
6758
1. Create `src/hooks/name/` with `index.ts` exporting `createMyHook(ctx)`
6859
2. Add hook name to `HookNameSchema` in `src/config/schema.ts`

src/tools/AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ tools/
1515
│ └── constants.ts # Fixed values
1616
├── lsp/ # 6 tools: definition, references, symbols, diagnostics, rename (client.ts 596 lines)
1717
├── ast-grep/ # 2 tools: search, replace (25 languages)
18-
├── delegate-task/ # Category-based routing (1070 lines, 302 nesting levels)
18+
├── delegate-task/ # Category-based routing (1070 lines)
1919
├── session-manager/ # 4 tools: list, read, search, info
20-
├── grep/ # Custom grep with timeout
20+
├── grep/ # Custom grep with timeout (60s, 10MB)
2121
├── glob/ # 60s timeout, 100 file limit
2222
├── interactive-bash/ # Tmux session management
2323
├── look-at/ # Multimodal PDF/image
2424
├── skill/ # Skill execution
2525
├── skill-mcp/ # Skill MCP operations
2626
├── slashcommand/ # Slash command dispatch
2727
├── call-omo-agent/ # Direct agent invocation
28-
└── background-task/ # background_output, background_cancel (513 lines)
28+
└── background-task/ # background_output, background_cancel
2929
```
3030

3131
## TOOL CATEGORIES

0 commit comments

Comments
 (0)