Skip to content

Releases: ezBuilder/code-brain

v0.4.0 — Completion discipline, plan state, acceptance gate, model fallback, LSP-as-MCP

20 Jun 01:59

Choose a tag to compare

oh-my-openagent(MIT)에서 영감받은 8개 아이디어를 Code Brain의 로컬 우선·오프라인 아키텍처에 재구현(이식 아님, 핫패스 네트워크/LLM 없음) + early-stop 완료규율 + Codex hooks 파서 호환 fix.

Highlights

  • 완료 규율(early-stop 방지) — kit 규칙에 ## Completion 섹션: N개 항목 한 번에 완료, "계속할까요" 금지, 종료는 전부완료/블로커/승인필요일 때만. AI_LOOP_CONTINUATION으로 Stop 훅이 plan 0 남을 때까지 자동 재실행(바운드).
  • G2 plan 상태머신ai plan init/show/check/list: 체크박스=상태, 디스크 재유도, 크래시/compaction 생존.
  • G1 acceptance 게이트loop submit --require-acceptance + loop acceptance: reviewer "pass"를 sandbox 결정론적 재실행으로 머신 검증.
  • G4 모델 fallback — transient(rate-limit/quota/overload) 실패 시 dead-letter 대신 다른 패밀리/티어로 재큐(MAX_ATTEMPTS 바운드).
  • G5 LSP-as-MCPcode_find_references/code_goto_definition(multilspy, Python/pyright, per-call, 옵셔널·graceful).
  • G3/G9/G11/G12 — Stop-훅 continuation, Read 트리거 디렉토리 컨텍스트, behavior-lock 리팩터 규율, risk-tier evidence triage.

Fix

  • Codex .codex/hooks.json — install-into가 최상위 _note를 더 이상 쓰지 않고 기존 stale _note를 제거(Codex 파서가 hooks 외 키 거부 → "unknown field _note"). codex-doctor가 비-hooks 키를 fail. 회귀 테스트 추가.

Quality

  • make test 1138 passed / 5 skipped, develop+main CI(doctor/windows/release-gate) green @ 5ad6f4d. 문서 README+6언어+AI_INTEGRATIONS 동기.

Full Changelog: v0.3.0...v0.4.0

v0.3.0 — Unified memory recall, decision filter, offline conflict detection

18 Jun 01:36

Choose a tag to compare

memanto(MIT)에서 영감을 받아 Code Brain의 로컬 우선 메모리 위에 온디맨드 질의 표면을 추가했습니다. 핫패스에 네트워크/LLM 없음, 기존 스코어러·무결성 규칙 재사용.

Highlights

  • Unified memory recallmemory_recall MCP 도구 / ai memory recall: 결정·실패·교훈·절차를 confidence×relevance×recency로 통합 회상하고 인용 블록 반환. 읽기전용·stdlib·합성 없음.
  • Decision filterlist_decisions MCP 도구 / ai memory decision list: kind/status/tag/source/text 온디맨드 필터. fold-by-id + retired 제외 규칙 재사용으로 stale/중복 미노출.
  • Offline conflict detectionai memory conflicts: 모순되는 결정쌍(토큰 중첩 + 반대 극성)을 advisory로 conflicts.jsonl에 기록(결정 미변경). page_outAI_MEMORY_CONFLICT_SCAN 설정 시에만 실행(기본 off). stdlib·무LLM·무네트워크.
  • Skillsdiagnose-with-memory, tdd-with-memory (recall-before / store-after).

Quality

  • 신규 test_memory_graft.py(필터·회상·충돌·MCP 디스패치) + 핫패스 타이밍 테스트를 best-of-5 min·3x 헤드룸으로 러너 독립화.
  • 문서: README + 6개 언어 미러 + AI_INTEGRATIONS 동기 갱신.

Full Changelog: v0.2.0...v0.3.0

Code Brain v0.2.0

17 Jun 13:50

Choose a tag to compare

Code Brain v0.2.0

Minor release — new retrieval/memory/eval features land since v0.1.3.

Highlights

  • Graft 3 retrieval/memory/eval upgrades
    • self_improveeval_loop pass-rate fitness (rule retention gates on eval pass-rate, not token regression alone)
    • KV-cache-stable context_budget prefix ordering (byte-stable cacheable prefix → higher prompt-cache hit rate)
    • memory_tier page-in: offline sleep-time HOT consolidation (memory_hot.py + ai memory page-in + sleep-time job)
  • Re-inject Code Brain context on /clear and compact (SessionStart hook matcher fix)
  • CI/infra hardening: Windows preflight, cancellable CI, managed-merge dedup, detached-smoke focus, fake-worker decoupling, lean global kit

Verification

  • 1081 tests passed / 4 skipped
  • All 23 doctor checks green
  • Invariants held: no network on hot paths, stdlib-only, fail-soft

Full changelog: v0.1.3...v0.2.0

Code Brain v0.1.3

15 Jun 14:04

Choose a tag to compare

v0.1.3\n\n- Adds first-install global Claude/Codex kit support for macOS/Linux with interactive default yes.\n- Preserves existing global CLAUDE.md and AGENTS.md by backing up and updating only a Code Brain managed block.\n- Adds --global/--no-global controls for install and GitHub bootstrap flows.\n- Updates docs and targeted verification for the managed-merge global install path.

Code Brain v0.1.2

15 Jun 13:28

Choose a tag to compare

Public baseline for Code Brain.\n\nHighlights:\n- English-first README with Korean and multilingual docs.\n- Public GitHub upgrade flow: ai upgrade latest, /cb-upgrade, and raw-script bootstrap.\n- Compact MCP/default usage profile to reduce per-session token overhead.\n- Root AGENTS/CLAUDE contracts now match the user's language instead of forcing Korean.\n- Generated runtime memory and install manifests are excluded from public source tracking.\n\nInstall:\nbash\ncurl -fsSL https://raw.githubusercontent.com/ezBuilder/code-brain/main/scripts/upgrade-from-github.sh | bash -s -- /path/to/project\n