Skip to content

Fix Intel macOS release build flavor#7

Merged
RodCor merged 1 commit into
mainfrom
fix/darwin-release-build
May 30, 2026
Merged

Fix Intel macOS release build flavor#7
RodCor merged 1 commit into
mainfrom
fix/darwin-release-build

Conversation

@RodCor

@RodCor RodCor commented May 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • make cargo install kimetsu-cli lean by default so Intel macOS does not build ort implicitly
  • remove the unsupported x86_64-apple-darwin embeddings release job
  • make supported embeddings release jobs opt in with --features embeddings and document available artifacts
  • keep update auto-selection on lean for Intel macOS where no embeddings artifact is published

Tests

  • KIMETSU_USER_BRAIN=0 cargo test --workspace --locked
  • cargo check -p kimetsu-cli --locked --features embeddings

@RodCor
RodCor merged commit 85d4397 into main May 30, 2026
10 checks passed
@RodCor
RodCor deleted the fix/darwin-release-build branch May 30, 2026 21:15
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant