cli/pkg
Claude 6b603ee20b fix: remove Go-side array ref tracking, rely on MLX-C refcounting
The Go wrapper was tracking inter-array references via desc.inputs,
creating chains that kept all intermediate arrays alive across requests.
After 3-4 requests, Metal memory grew to 170GB+ and macOS killed the
process.

Fix: remove desc.inputs/numRefs entirely. MLX-C has its own internal
reference counting — when Go GC finalizes an Array wrapper, it calls
mlx_array_free which decrements the C-side refcount. If the C-side
count reaches 0, Metal memory is freed. Go GC + MLX-C refcounting
together handle all lifecycle management correctly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 05:53:52 +00:00
..
agentci refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
agentic refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
ai refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
ansible refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
auth refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
build refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
cache refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
cli refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
collect refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
config refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
container refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
crypt refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
deploy refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
devops refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
forge refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
framework refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
git refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
gitea refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
help feat(help): Implement full-text search (#294) 2026-02-05 10:26:16 +00:00
i18n updates 2026-02-09 01:27:40 +00:00
infra fix(core-ide): use path-based routing for multi-window SPA, clean up formatting 2026-02-09 01:50:57 +00:00
io refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
jobrunner refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
log refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
mcp feat: add ML inference, scoring, and training pipeline (pkg/ml) 2026-02-16 05:53:52 +00:00
ml fix: add GC-based memory management for MLX array handles 2026-02-16 05:53:52 +00:00
mlx fix: remove Go-side array ref tracking, rely on MLX-C refcounting 2026-02-16 05:53:52 +00:00
plugin refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
process refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
rag refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
ratelimit fix(security): move Gemini API key from URL query params to header (#47) 2026-02-16 05:53:52 +00:00
release refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
repos refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
session feat: add crypto, session, sigil, and node packages 2026-02-08 20:52:28 +00:00
trust feat(agentic): add agent trust model with tiered access control 2026-02-16 05:53:52 +00:00
unifi refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
webview feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00
workspace refactor: rename module from github.com/host-uk/core to forge.lthn.ai/core/cli 2026-02-16 05:53:52 +00:00
ws feat: BugSETI app, WebSocket hub, browser automation, and MCP tools (#336) 2026-02-05 17:22:05 +00:00