Fix Intel macOS release build flavor#7
Merged
Merged
Conversation
RodCor
added a commit
that referenced
this pull request
Jun 2, 2026
…lish - BOM tolerance (#1): strip a leading UTF-8 BOM before parsing existing settings.json/hooks.json/config.toml/.mcp.json, so a config saved by a BOM-emitting editor (older Windows Notepad) no longer fails install with 'expected value at line 1 column 1'. - Bounded transcript read (#7): the Stop hook now streams the transcript JSONL line-by-line (count_transcript_jsonl) instead of loading the whole file, so a long session's multi-MB transcript never lands in memory. - Install polish (#3): document that --force overwrites an existing CLAUDE.md (incl. the global one); warn instead of silently ignoring --scope global for the workspace-only kimetsu target; canonicalize --workspace leniently so a global install doesn't fail on a missing path. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
RodCor
pushed a commit
that referenced
this pull request
Jun 29, 2026
…tion #2 — Knowledge graph (infrastructure, measured, not surfaced): - memory.edge event + apply_memory_edge projector arm (reuses insert_memory_edge, rebuild-safe) + projector::add_memory_edges batch writer. - kimetsu-brain::graph: extract_entities (reuses consolidate::parse_tags, splitting space-separated tag blocks) + build_relates_to_edges (links memories sharing an entity, fan-out capped). project::build_graph (+ active_memory_texts). - CLI: `kimetsu brain graph build [--enrich] [--dry-run] [--json]` — rule layer by default; --enrich adds cheap-model typed edges via distiller::complete_simple. - Measured via a new brainbench `graph` multi-hop dimension: graph-lite shows +0.00 recall@k lift over flat (ANN already recovers the answer; graph-reached candidates enter at relevance 0.0 so they don't promote into top-k). Per "prove first, surface after", graph stays internal — NOT wired into retrieval levels. #7 — Calibration scaled to release-grade (bench, local-only): - calibration_gen dataset directive synthesizes ~100 deterministic cite/regret scenarios from the corpus + ~22 curated anchors; scorecard gains per-dimension n + 95% CI. Measured: 122 cases -> 99.7% +/- 0.3%. fix(cli): retrieval-level override (pre-existing). `config set` of a level-managed key (embedder.enabled/reranker) under a preset now drops retrieval.level to "custom" so the explicit value survives apply_retrieval_level at load. Extracted config_set_text shared by the command + integration test; pre-levels files unchanged. Gate: fmt + clippy (lean and --features embeddings, -D warnings) clean; kimetsu-brain 476, kimetsu-cli 251 tests pass (isolated). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
RodCor
pushed a commit
that referenced
this pull request
Jul 3, 2026
…tion #2 — Knowledge graph (infrastructure, measured, not surfaced): - memory.edge event + apply_memory_edge projector arm (reuses insert_memory_edge, rebuild-safe) + projector::add_memory_edges batch writer. - kimetsu-brain::graph: extract_entities (reuses consolidate::parse_tags, splitting space-separated tag blocks) + build_relates_to_edges (links memories sharing an entity, fan-out capped). project::build_graph (+ active_memory_texts). - CLI: `kimetsu brain graph build [--enrich] [--dry-run] [--json]` — rule layer by default; --enrich adds cheap-model typed edges via distiller::complete_simple. - Measured via a new brainbench `graph` multi-hop dimension: graph-lite shows +0.00 recall@k lift over flat (ANN already recovers the answer; graph-reached candidates enter at relevance 0.0 so they don't promote into top-k). Per "prove first, surface after", graph stays internal — NOT wired into retrieval levels. #7 — Calibration scaled to release-grade (bench, local-only): - calibration_gen dataset directive synthesizes ~100 deterministic cite/regret scenarios from the corpus + ~22 curated anchors; scorecard gains per-dimension n + 95% CI. Measured: 122 cases -> 99.7% +/- 0.3%. fix(cli): retrieval-level override (pre-existing). `config set` of a level-managed key (embedder.enabled/reranker) under a preset now drops retrieval.level to "custom" so the explicit value survives apply_retrieval_level at load. Extracted config_set_text shared by the command + integration test; pre-levels files unchanged. Gate: fmt + clippy (lean and --features embeddings, -D warnings) clean; kimetsu-brain 476, kimetsu-cli 251 tests pass (isolated). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
cargo install kimetsu-clilean by default so Intel macOS does not buildortimplicitly--features embeddingsand document available artifactsTests
KIMETSU_USER_BRAIN=0 cargo test --workspace --lockedcargo check -p kimetsu-cli --locked --features embeddings