mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-17 12:20:43 +00:00
Document the contributor onboarding path: - CONTRIBUTING.md: setup, npm scripts, coding conventions, PR process, the block-claude-coauthor enforcement, and the five providers without test coverage today (claude, gemini, goose, qwen, antigravity). - docs/architecture.md: 12-command CLI surface, parser pipeline, three cache layers, 14 optimize detectors, and the mac / gnome / build layouts with cited line numbers. - docs/providers/: one file per provider (17 providers plus the shared vscode-cline-parser helper). Each covers data path, storage format, caching, dedup key, quirks, and a "when fixing a bug here" checklist. Also fix two pre-existing documentation issues surfaced while writing the new docs: - RELEASING.md claimed GitHub Actions auto-publishes the CLI when a v* tag is pushed. There is no such workflow; CLI publishing is manual via npm publish. Updated the CLI section to reflect reality and kept the menubar (mac-v* tag) automation accurate. - .gitignore had CLAUDE.md unanchored, which on case-insensitive filesystems also matched docs/providers/claude.md. Anchored to /CLAUDE.md so the root-level memory file stays ignored without affecting subdirectory docs. All cited file paths, line numbers, function names, and test counts were verified against current code (41 test files, 558 tests passing).
1.3 KiB
1.3 KiB
Roo Code
Roo Code VS Code extension.
- Source:
src/providers/roo-code.ts - Loading: eager (
src/providers/index.ts:11) - Test:
tests/providers/roo-code.test.ts(247 lines)
Where it reads from
VS Code extension globalStorage for rooveterinaryinc.roo-cline (extension ID set at roo-code.ts:4). The actual walk is delegated to discoverClineTasks in src/providers/vscode-cline-parser.ts.
Storage format
Per-task directories with ui_messages.json and api_conversation_history.json. See vscode-cline-parser for the schema.
Caching
None at the provider level; delegates to the shared helper.
Deduplication
Delegated. Per <providerName>:<taskId>:<index> (in vscode-cline-parser.ts:109).
Quirks
- Thin wrapper. Almost every Roo Code bug actually lives in
vscode-cline-parser.ts. - The two providers using the cline parser (KiloCode and Roo Code) differ only by extension ID.
When fixing a bug here
- If the bug also reproduces against KiloCode, fix it in
vscode-cline-parser.ts. - If the bug is Roo Code-specific, the difference is upstream JSON shape. Reproduce with a fixture and consider whether the cline parser needs to branch on extension ID.
- Read
vscode-cline-parser.mdbefore editing.