docs: update code review doc with v2.8 fork-lifts lift sources
- Added 10 new lift source entries (boocontext, TSA, type-inject, morph-fast-apply, tokenscope, DCP, qwen-code memory/LSP, oh-my-openagent, paseo protocol) under v2.8 fork-lifts section - Added 9 new rows to the lift catalog table - Added decisions log entry for v2.8.0-fork-lifts batch - Bumped last-updated to 2026-06-07
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# BooCode — External Code Review & Lift Inventory
|
# BooCode — External Code Review & Lift Inventory
|
||||||
|
|
||||||
Last updated: 2026-05-25
|
Last updated: 2026-06-07
|
||||||
|
|
||||||
This document tracks every open source repo BooCode references or lifts code from. Pin this so we don't lose attribution and don't re-evaluate the same projects twice.
|
This document tracks every open source repo BooCode references or lifts code from. Pin this so we don't lose attribution and don't re-evaluate the same projects twice.
|
||||||
|
|
||||||
@@ -346,6 +346,78 @@ Don't ship Phase 1 against AGPL/GPL code; build clean. Patterns are free; code i
|
|||||||
- **Why it matters:** Python/Svelte, wrong stack. RAG pipeline only worth a read if BooLab needs improvement — unrelated to BooCode.
|
- **Why it matters:** Python/Svelte, wrong stack. RAG pipeline only worth a read if BooLab needs improvement — unrelated to BooCode.
|
||||||
- **How we use it:** Skip for BooCode.
|
- **How we use it:** Skip for BooCode.
|
||||||
|
|
||||||
|
### v2.8 fork-lifts (2026-06-07) — new lift sources
|
||||||
|
|
||||||
|
#### 18. boocontext (MIT — sidecar replacement)
|
||||||
|
|
||||||
|
- **URL:** <https://github.com/nmakod/codecontext> (upstream); `/opt/forks/boocontext` (fork)
|
||||||
|
- **License:** MIT
|
||||||
|
- **What it is:** Unified MCP codebase context server, aggregates codesight + tree-sitter-analyzer + type-inject as child MCP servers.
|
||||||
|
- **How we use it:** Replaced the old Go codecontext MCP server. Multi-stage Dockerfile builds from `/opt/forks/boocontext`. `shim.go` spawns it via `CODECONTEXT_CHILD` env var. Deep tools (`get_symbol_details`, `get_call_graph`, `get_blast_radius`) registered as server tool wrappers.
|
||||||
|
|
||||||
|
#### 19. tree-sitter-analyzer (MIT — child MCP server)
|
||||||
|
|
||||||
|
- **URL:** <https://github.com/AimasterAcc/tree-sitter-analyzer>
|
||||||
|
- **License:** MIT
|
||||||
|
- **What it is:** Tree-sitter analysis tools delivered as a Rust binary via `uvx`.
|
||||||
|
- **How we use it:** boocontext child MCP server. Enables structured code queries (symbols, callgraph, impact analysis) over MCP.
|
||||||
|
|
||||||
|
#### 20. type-inject (MIT — child MCP server)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/type-inject/packages/mcp/`
|
||||||
|
- **License:** MIT
|
||||||
|
- **What it is:** TypeScript type recovery and inference via MCP.
|
||||||
|
- **How we use it:** boocontext child MCP server for `infer_type` and `resolve_signature` tools.
|
||||||
|
|
||||||
|
#### 21. opencode-morph-fast-apply (MIT — edit guards)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/opencode-morph-fast-apply/src/`
|
||||||
|
- **License:** MIT
|
||||||
|
- **What it is:** Exact-match edit safety guards (truncation, import drop, marker leakage detection).
|
||||||
|
- **How we use it:** `edit-guards.ts` and `edit-guards-imports.ts` ported guard logic verbatim (MIT allows copy). Called from `pending_changes.ts` before `writeFileAtomic`.
|
||||||
|
|
||||||
|
#### 22. opencode-tokenscope (MIT — token classification)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/opencode-tokenscope/plugin/tokenscope-lib/`
|
||||||
|
- **License:** MIT
|
||||||
|
- **What it is:** Per-category token breakdown classification (system/user/assistant/tools/reasoning).
|
||||||
|
- **How we use it:** `token-analysis/analyzer.ts` ports classification logic. Persisted as `TokenBreakdown` JSONB on contestant/task records.
|
||||||
|
|
||||||
|
#### 23. opencode-dynamic-context-pruning (AGPL — patterns only)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/opencode-dynamic-context-pruning/lib/`
|
||||||
|
- **License:** AGPL-3.0
|
||||||
|
- **What it is:** Message deduplication, error purging, and search-based compression strategies.
|
||||||
|
- **How we use it:** Clean-room reimplementation — behavior reference only, zero AGPL code copied. `dcp/` module with dedup + purge-errors strategies.
|
||||||
|
|
||||||
|
#### 24. qwen-code memory (Apache-2.0 — patterns)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/qwen-code/packages/core/src/memory/`
|
||||||
|
- **License:** Apache-2.0
|
||||||
|
- **What it is:** File-based hierarchical memory with recall and injection.
|
||||||
|
- **How we use it:** Reimplemented behavior patterns. `memory/` module with 4-scope scan (global/home/project/session) and keyword relevance matching. NOTICE attribution added.
|
||||||
|
|
||||||
|
#### 25. qwen-code LSP (Apache-2.0 — patterns)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/qwen-code/packages/core/src/lsp/` + `tools/lsp.ts`
|
||||||
|
- **License:** Apache-2.0
|
||||||
|
- **What it is:** LSP code intelligence tools (diagnostics, goto-definition, find-references).
|
||||||
|
- **How we use it:** Reimplemented operations table. `lsp/` module with config, JSON-RPC client, server-manager, and 3 agent tools. NOTICE attribution added.
|
||||||
|
|
||||||
|
#### 26. oh-my-openagent (SUL — patterns only)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/oh-my-openagent/src/`
|
||||||
|
- **License:** SUL-1.0
|
||||||
|
- **What it is:** Plugin/hook composition architecture.
|
||||||
|
- **How we use it:** Architecture study only — zero code copied. `plugins/host.ts` is an original implementation of the typed hook registry pattern.
|
||||||
|
|
||||||
|
#### 27. paseo protocol (AGPL — patterns only)
|
||||||
|
|
||||||
|
- **URL:** `/opt/forks/paseo/packages/protocol/`
|
||||||
|
- **License:** AGPL-3.0
|
||||||
|
- **What it is:** Agent protocol types (capability flags, permission frames, delegation metadata).
|
||||||
|
- **How we use it:** Interface shapes only — no code copied. `agent-capabilities.ts` schema, `provider-snapshot.ts` streaming flags, `new_task` background mode.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
### Reviewed 2026-05-22 — agent CLIs, ensembler, skills, context tooling
|
### Reviewed 2026-05-22 — agent CLIs, ensembler, skills, context tooling
|
||||||
@@ -405,6 +477,14 @@ Don't ship Phase 1 against AGPL/GPL code; build clean. Patterns are free; code i
|
|||||||
|`eyaltoledano/claude-task-master` |Tiered tool-loading via env var (core/standard/all); three model roles; PRD-as-source-of-truth |MIT+Commons Clause (no code lift; pattern only)|`BOOCODE_TOOLS` env var for tiered loading; reaffirm three-model-role pattern |v1.12.x / v1.13 (tier hint) |
|
|`eyaltoledano/claude-task-master` |Tiered tool-loading via env var (core/standard/all); three model roles; PRD-as-source-of-truth |MIT+Commons Clause (no code lift; pattern only)|`BOOCODE_TOOLS` env var for tiered loading; reaffirm three-model-role pattern |v1.12.x / v1.13 (tier hint) |
|
||||||
|`sipyourdrink-ltd/bernstein` |HMAC-chained audit log; signed agent cards (Ed25519+JCS); per-artifact lineage; air-gap mode |Verify before lift |Reference for compliance-grade BooCode if/when needed; HMAC log small lift candidate |v2.0+ (audit log), speculative (full stack) |
|
|`sipyourdrink-ltd/bernstein` |HMAC-chained audit log; signed agent cards (Ed25519+JCS); per-artifact lineage; air-gap mode |Verify before lift |Reference for compliance-grade BooCode if/when needed; HMAC log small lift candidate |v2.0+ (audit log), speculative (full stack) |
|
||||||
|`siropkin/budi` (tool, not lift) |5-hook Claude Code taxonomy; HTTP daemon + SQLite + dashboard |MIT |Install globally to observe Claude Code token costs; hook taxonomy as reference |Immediate (install) |
|
|`siropkin/budi` (tool, not lift) |5-hook Claude Code taxonomy; HTTP daemon + SQLite + dashboard |MIT |Install globally to observe Claude Code token costs; hook taxonomy as reference |Immediate (install) |
|
||||||
|
|`/opt/forks/boocontext` |Unified MCP codebase context server; child MCP manager |MIT |`codecontext/Dockerfile`, `shim.go` child, deep tools (symbols/callgraph/impact) |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/opencode-morph-fast-apply`|Edit safety guards (truncation, import drop) |MIT |`edit-guards.ts`, `edit-guards-imports.ts` |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/opencode-tokenscope` |Per-category token breakdown classification |MIT |`token-analysis/analyzer.ts`, `TokenBreakdown` contract, DB persistence |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/opencode-dynamic-context-pruning`|Message dedup + error purge strategies (AGPL — behavior only) |AGPL-3.0 (patterns) |`dcp/` clean-room module |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/qwen-code` memory |File-based hierarchical memory with recall/prompt injection |Apache-2.0 |`memory/` module with 4-scope scan + keyword relevance |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/qwen-code` LSP |TypeScript LSP tools (diagnostics, goto-def, references) |Apache-2.0 |`lsp/` module with 3 agent tools |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/oh-my-openagent` |Plugin/hook composition architecture (SUL — patterns only) |SUL-1.0 (patterns) |`plugins/host.ts` typed hook registry |**v2.8.0 ✅** |
|
||||||
|
|`/opt/forks/paseo` |Agent capability flags + permission frame shapes (AGPL — patterns only) |AGPL-3.0 (patterns) |`agent-capabilities.ts`, `provider-snapshot.ts` flags, `new_task` background mode |**v2.8.0 ✅** |
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
@@ -464,3 +544,4 @@ Don't ship Phase 1 against AGPL/GPL code; build clean. Patterns are free; code i
|
|||||||
- **siropkin/budi accepted as tooling, not catalog entry (2026-05-22).** MIT, Rust, single 6MB binary, sub-millisecond hook latency. **WakaTime for Claude Code** — tracks tokens, costs, prompts, file activity, sub-agent spawns in local SQLite, dashboard at `localhost:7878/dashboard`. **Recommend immediate install** (`budi init --global`) for Claude Code session observability. The **5-hook Claude Code event taxonomy** (`SessionStart`, `UserPromptSubmit`, `PostToolUse`, `SubagentStart`, `Stop`) is the canonical reference and worth knowing when BooCode v2.0+ designs its own hook system.
|
- **siropkin/budi accepted as tooling, not catalog entry (2026-05-22).** MIT, Rust, single 6MB binary, sub-millisecond hook latency. **WakaTime for Claude Code** — tracks tokens, costs, prompts, file activity, sub-agent spawns in local SQLite, dashboard at `localhost:7878/dashboard`. **Recommend immediate install** (`budi init --global`) for Claude Code session observability. The **5-hook Claude Code event taxonomy** (`SessionStart`, `UserPromptSubmit`, `PostToolUse`, `SubagentStart`, `Stop`) is the canonical reference and worth knowing when BooCode v2.0+ designs its own hook system.
|
||||||
- **GeiserX/LynxPrompt tracked as architectural reference, code off-limits (2026-05-22).** **GPL-3.0 makes vendoring incompatible with BooCode's MIT licensing.** 27 stars, Next.js + PostgreSQL + Prisma. Self-hostable platform for managing AGENTS.md / CLAUDE.md / .cursor/rules / slash commands across **30+ AI assistant formats**. Single blueprint, export to N formats. Federated marketplace. The concept fits Sam's situation (5+ project CLAUDE.md/AGENTS.md files maintained separately) but the **manual AgentLint (#39) audit pass is the right ROI today** rather than adopting a full platform. If consolidation ever needed, reimplement the format-adapter pattern in MIT-licensed BooCode code, don't vendor.
|
- **GeiserX/LynxPrompt tracked as architectural reference, code off-limits (2026-05-22).** **GPL-3.0 makes vendoring incompatible with BooCode's MIT licensing.** 27 stars, Next.js + PostgreSQL + Prisma. Self-hostable platform for managing AGENTS.md / CLAUDE.md / .cursor/rules / slash commands across **30+ AI assistant formats**. Single blueprint, export to N formats. Federated marketplace. The concept fits Sam's situation (5+ project CLAUDE.md/AGENTS.md files maintained separately) but the **manual AgentLint (#39) audit pass is the right ROI today** rather than adopting a full platform. If consolidation ever needed, reimplement the format-adapter pattern in MIT-licensed BooCode code, don't vendor.
|
||||||
- **ShipWithAI/claude-code-mastery noted as docs reference (2026-05-22).** **CC BY-NC-SA 4.0** content + MIT code examples. 9 stars. Free 16-phase / 55-module / 136-lesson course on Claude Code workflows. **Two structural patterns worth borrowing:** (1) **7-block module structure** (WHY → CONCEPT → DEMO → PRACTICE → CHEAT SHEET → PITFALLS → REAL CASE) as a docs template; (2) **phase list as coverage checklist** to diff against Sam's own CLAUDE.md/AGENTS.md files — combine with AgentLint (#39) for a single audit pass. Don't redistribute content (NC license).
|
- **ShipWithAI/claude-code-mastery noted as docs reference (2026-05-22).** **CC BY-NC-SA 4.0** content + MIT code examples. 9 stars. Free 16-phase / 55-module / 136-lesson course on Claude Code workflows. **Two structural patterns worth borrowing:** (1) **7-block module structure** (WHY → CONCEPT → DEMO → PRACTICE → CHEAT SHEET → PITFALLS → REAL CASE) as a docs template; (2) **phase list as coverage checklist** to diff against Sam's own CLAUDE.md/AGENTS.md files — combine with AgentLint (#39) for a single audit pass. Don't redistribute content (NC license).
|
||||||
|
- **v2.8.0-fork-lifts shipped 2026-06-07** — eight integrations from `/opt/forks`: boocontext sidecar (MIT), LSP code intelligence (Apache-2.0 patterns), DCP clean-room (AGPL behavior only), institutional memory (Apache-2.0 patterns), subagent protocol (AGPL/paseo patterns only), plugin hook host (SUL patterns only), inference reliability (tool-shim + loop detectors, original), and TokenScope token breakdown (MIT). Backfilled edit safety guards (MIT, from opencode-morph-fast-apply) and TokenScope analyzer/persist module (MIT, from opencode-tokenscope). All lift sources documented in the new `### v2.8 fork-lifts` subsection under Reference repos. `boocode_code_review.md` last-updated date bumped to 2026-06-07. See `CHANGELOG.md` for full per-commit detail.
|
||||||
|
|||||||
Reference in New Issue
Block a user