Commit Graph

179 Commits

Author SHA1 Message Date
alex fc657f4d55 fix(voicestudio): run the backend from a Nix-built Python env
The app's first-run setup downloads uv's generic CPython into
~/.config/VoiceStudio/runtime, which NixOS cannot execute (stub-ld).

Do the same frozen `uv sync` at build time against upstream's nixpkgs
python, in a fixed-output derivation, and point the app at it through
OMNIVOICE_BACKEND_CMD so it no longer manages a runtime of its own.
The ctranslate2 executable-stack flag is cleared at build time with
upstream's own repair, since the store is read-only.

CPU torch only. Adds an import-probe check.

Refs: nix-overlay-2r3
2026-11-20 20:26:10 +03:00
alex 5d96850f8a feat(voicestudio): add VoiceStudio from upstream's flake
VoiceStudio ships its own flake that builds the Electron app, the Rust
dictation helper and the OmniVoice GGUF runtime. Re-export it instead of
repackaging: its package needs electron_44-bin, which our pinned nixpkgs
lacks, so the input keeps its own nixpkgs rather than following ours.

Build and upstream's six packaging checks pass on x86_64-linux.

Refs: nix-overlay-kk7
2026-11-20 13:09:42 +03:00
alex 0fac71c3d9 chore(marmel): bump 0-unstable-2026-11-07 -> 0-unstable-2026-11-13
CI / check (push) Has been cancelled
Rebased arbitrary-http-headers.patch onto the new main: upstream renamed
resolve_validator_backend to resolve_validator_backend_with_lease, added
backend_urls/validator_backend_urls to SpecialistConfig, replaced
MCP_REQUEST_TIMEOUT with per-server cfg.request_timeout(), and restructured
McpManager::boot_one behind connect_client. cargoHash is unchanged because
Cargo.lock did not move.

Signed-off-by: Alexander Miroshnichenko <alex@millerson.name>
2026-11-19 19:51:46 +03:00
alex 303eaa945e fix(kyojin): load calibrated HC sidecars from the model directory
CI / check (push) Has been cancelled
Bead: nix-overlay-kzh
2026-11-19 14:58:32 +03:00
alex 8389c88d04 perf(kyojin): finish completed streams before the next prefill
CI / check (push) Has been cancelled
Bead: nix-overlay-8gs
2026-11-19 11:22:29 +03:00
alex 848a6ec9c4 perf(kyojin): give warm replies a bounded prefill grace
Bead: nix-overlay-3k7
2026-11-19 11:02:32 +03:00
alex ba836e1e75 perf(kyojin): split large prefix writes under disk pressure
Bead: nix-overlay-3c1
2026-11-19 10:33:29 +03:00
alex 42c2a416fe perf(kyojin): support direct writes for large prefix segments
Bead: nix-overlay-2q7
2026-11-19 01:34:07 +03:00
alex 635f9f7dfc fix(kyojin): reuse queued prefix pages across agent turns
Bead: nix-overlay-7p6
2026-11-19 01:28:42 +03:00
alex 7843d79e76 fix(kyojin): release prefix buffers before the writer waits
Bead: nix-overlay-9hu
2026-11-19 00:41:57 +03:00
alex 41a50393f9 perf(kyojin): allow blocking HIP waits in the Qwen server
CI / check (push) Has been cancelled
Bead: nix-overlay-j2g
2026-11-18 21:16:42 +03:00
alex 2b8eddf7d2 fix(kyojin): Stop direct expert reads at unaligned EOF
Bead: nix-overlay-qy9
2026-11-18 18:34:42 +03:00
alex 6156a0d904 perf(kyojin): Skip prefix segments that cannot fit on disk
Bead: nix-overlay-tb3
2026-11-18 18:31:54 +03:00
alex afd0c4b84d perf(kyojin): Let short replies finish before a long prefill
CI / check (push) Has been cancelled
Give two-session Qwen serving a bounded, opt-in decode grace for large cold prompts. Returning to normal interleaving at the deadline bounds the wait when the running reply takes longer than expected.

Bead: nix-overlay-qfi
2026-11-18 15:19:23 +03:00
alex f07d234baf chore(codegraph): ignore local runtime files
CI / check (push) Has been cancelled
2026-11-17 21:21:20 +03:00
alex 7c88826f7c chore(kyojin): update to 1.8.26
Update the upstream flake pin and correct version reporting docs.

Evaluation reports 1.8.26. Build and test verification remains pending
on a remote builder or CI; do not build on this workstation.
2026-11-17 21:18:49 +03:00
alex 7bb05ea685 feat(strata): build the MMQ prompt path
CI / check (push) Has been cancelled
Strata 0.2.14 leaves llama.cpp's MMQ prompt kernels out by default, so
STRATA_MMQ_KQ does nothing and UD-Q5_K_XL's Q6_K layer runs on Strata's
int8 kernel. On ms-s1-max, 0.2.15 with the gfx1151 prompt set and
STRATA_MMQ_KQ=1 gives first-token logits bit-identical to 0.2.13 over
15 cold prompts at the same speed (~1180 tok/s at 16K); without MMQ an
agent prompt reached KL 0.199 against 0.2.13. The engine grows from 39
to 54 MB.

Bead: nix-overlay-481
2026-11-16 21:42:33 +03:00
alex b3287c926f feat(strata): bump 0.2.13 -> 0.2.15
Strata 0.2.14 runs the prompt on its own kernels and vendors llama.cpp
(third_party/strata-llama), so the separate llama.cpp fetch for the
vision encoder goes. The build keeps upstream's halo flags: MMQ stays
out (STRATA_MMQ defaults to OFF), 47 of 48 UD-Q5_K_XL layers run on the
fused kernels, and the ROCm 10.1 hipBLASLt table still ships.

UD-Q5_K_XL on ms-s1-max, 16K cold prompts: 715 -> ~810 tok/s on the
defaults, ~1180 tok/s with the gfx1151 prompt set (unchanged).

Bead: nix-overlay-ydg
2026-11-16 20:51:14 +03:00
alex d14f6d5e37 fix(strata): ship a hipBLASLt table calibrated for ROCm 10.1
Upstream's gfx1151-hipblaslt-100401.txt was calibrated on TheRock 7.14.1.
therock-rocm 10.1.0rc3 reports the same hipBLASLt version, so the engine
accepted the table, but its solution ids do not exist in that build and
every prompt GEMM fell back to the heuristic. The table now comes from
tools/hip/tune_hipblaslt run on gfx1151 against therock-rocm 10.1 and is
installed in bin/tuning/, where the engine finds it by itself.

UD-Q5_K_XL, 17.5K cold prompt on ms-s1-max: 418 -> 700-725 tok/s.

Bead: nix-overlay-2yv
2026-11-16 20:22:23 +03:00
alex 598985f7c9 chore(awgen): bump 0.3.2 -> 0.3.3
CI / check (push) Has been cancelled
Upstream tagged v0.3.3; refreshed src and cargoHash. Build verified with
nix build .#awgen and awgen --version reports 0.3.3.
2026-11-13 14:13:50 +03:00
alex 7672ff56d3 feat(purpleflow): add PurpleFlow desktop app
CI / check (push) Has been cancelled
2026-11-13 10:40:13 +03:00
alex f2abdc96f9 fix(rocm): Address package review findings
CI / check (push) Has been cancelled
2026-11-12 23:55:09 +03:00
alex 8630307624 docs(beads): Record ROCm package review findings 2026-11-12 23:52:17 +03:00
alex 2f3f3f3250 docs(beads): Record partial migration validation 2026-11-12 23:43:39 +03:00
alex 16166f115b feat(rocm): Vendor SDK recipe and update to 10.1
Maintain the gfx1151 SDK locally using the official AMD archive. Use the TheRock patchelf pin and adapt LLVM auxiliary tools for pure Nix builds.

Verify SDK installation, HIP and rocBLAS GPU operations, and rebuild its consumers. Document the internal rc3 stamp and upstream migration findings.
2026-11-12 23:40:48 +03:00
alex 00dc8c2c8c feat(strixite): Add ROCm 10 build for gfx1151 2026-11-12 21:57:26 +03:00
alex 3d04ce81ad feat(crucible): Add Strix Halo inference package 2026-11-12 21:41:56 +03:00
alex a30c7d6c3a feat(strata): Add ROCm 10 build for gfx1151 2026-11-12 21:28:24 +03:00
alex 24195451db chore(beads): record LLM engine migration note and tombstone stale issue
CI / check (push) Has been cancelled
nix-overlay-v09 keeps the completed migration evidence and the outstanding
ms-s1-max build gate; nix-overlay-y5r is tombstoned after the duplicate
codex-oauth-proxy work was superseded.
2026-11-12 20:47:25 +03:00
alex 85bd7421de feat(llm): package upstream inference engines
Centralize engine pins, compiler wrappers and NPU packages.
Use upstream Kyojin v1.8.10 and drop the Thunderbolt dependency.

Offline evaluation passed; workstation builds remain pending.

Bead: nix-overlay-v09
2026-11-12 20:36:52 +03:00
Marmel Coder 47829fe9a6 chore(beads): record completed codex-oauth-proxy implementation
CI / check (push) Has been cancelled
2026-11-12 17:09:55 +03:00
Marmel Coder 48a19c55b8 feat: export and document codex-oauth-proxy user service 2026-11-12 16:59:24 +03:00
Marmel Coder 8c6897e66d feat: add codex-oauth-proxy Home Manager service module 2026-11-12 16:49:26 +03:00
Marmel Coder 4d08fafddc feat(codex-oauth-proxy): package private-state user service 2026-11-12 16:40:15 +03:00
Marmel Coder dface8eb87 chore: ignore isolated worktrees 2026-11-12 16:32:01 +03:00
alex 76e8f4c691 chore(beads): sync issue state
CI / check (push) Has been cancelled
Export the pending codex-oauth-proxy service issue (nix-overlay-y5r) and the closed gpt-6.1-terra fix (nix-overlay-yf4).
2026-11-12 15:47:57 +03:00
alex 0feb16a0c0 fix(codex-oauth-proxy): support gpt-6.1-terra
1.1.1 omits the model from normalizeModel's allowlist, so requests for gpt-6.1-terra are rewritten to gpt-5.5. ChatGPT accounts are not entitled to gpt-5.5, so the request fails with model_not_found.

Add the model to the allowlist, allowed reasoning efforts, and default effort. Covered by the transform tests.
2026-11-12 15:47:53 +03:00
alex fb08077db9 chore(gitignore): ignore .marmel scratch directory
CI / check (push) Has been cancelled
Marmel leaves research notes and build/eval logs under .marmel/, which
are local-only like the other tool scratch already ignored here.
2026-11-12 12:00:08 +03:00
alex b485ced2d3 chore(serena): sync project.yml with current config template
Serena rewrote its project config: new language-server IDs in the
comment list plus included_apis, excluded_apis and agent_interface keys.
All new keys keep their empty defaults, so no setting changes.
2026-11-12 11:55:27 +03:00
alex 48a7d227f2 docs(agents): trim stale guidance and forbid unrequested edits
Remove content that no longer matches the workflow: package templates
already covered by the "Adding a New Package" steps, per-package notes,
the duplicated beads command reference, and the mandatory git push steps.
Drop the sequentialthinking MCP requirement and add a rule that AGENTS.md
changes need an explicit user request.
2026-11-12 11:55:16 +03:00
Marmel Coder 78c46e970c chore(beads): retarget pending publish to main 2026-11-12 10:49:08 +03:00
Marmel Coder 5cf40846ca chore(beads): track pending publish for codex-oauth-proxy 2026-11-12 04:15:37 +03:00
Marmel Coder c56869655c chore(beads): close codex-oauth-proxy packaging task 2026-11-12 02:04:27 +03:00
Marmel Coder 55f6a0b7ed feat(codex-oauth-proxy): add 1.1.1 Codex OAuth proxy package
Packages dvcrn/codex-oauth-proxy, which exposes a ChatGPT Codex account through OpenAI-compatible APIs, as a buildGoModule derivation. Builds only cmd/codex-oauth-proxy because the worker package is js/wasm code, and passes -buildvcs=false because the Nix source has no .git. Upstream Go tests run offline, so doCheck is enabled.
2026-11-12 02:04:06 +03:00
alex 19774c73f3 fix(codex-api-proxy): propagate sys.path to daemon child
CI / check (push) Has been cancelled
2026-11-09 22:22:25 +03:00
alex 5f0e9076e9 chore(beads): close codex-api-proxy packaging task
CI / check (push) Has been cancelled
2026-11-09 22:08:16 +03:00
alex 9ffe8b006f feat(codex-api-proxy): add 0.1.6 local Codex API proxy 2026-11-09 22:08:09 +03:00
alex 589936cd8d feat(marmel): add arbitrary HTTP headers patch
CI / check (push) Has been cancelled
Apply upstream 56d0b1f so top-level, specialist, validator and MCP request headers can be configured. nix build .#marmel passes with the patch.
2026-11-09 10:03:47 +03:00
alex 44e6d90a77 feat(magg): add magg 1.3.0 MCP aggregator package
CI / check (push) Has been cancelled
Add magg, an MCP aggregator / meta-MCP server, to the overlay. It is a
Python package on the hatchling backend, built with
python3Packages.buildPythonApplication from the v1.3.0 source tarball,
so no upstream release artifacts are fetched. Ships both console
scripts declared upstream: magg (the aggregator CLI/server) and mbro
(the MCP browser). License is AGPL-3.0-or-later.

The install check runs the upstream pytest suite with
-m "not integration", because the integration-marked tests need a live
server. A forced nix build .#magg --rebuild passes with 329 passed,
3 skipped, 3 deselected, 0 failed, and both binaries smoke-test clean.

Also adds the README and AGENTS.md package rows, the upstream and build
research notes, and the verification report in docs/magg_build_report.md.
2026-11-08 12:48:30 +03:00
alex e569243ae4 chore(marmel): bump to afcc1dc (main), give checks a usable TMPDIR
CI / check (push) Has been cancelled
Track upstream main at afcc1dc971ae4acd59b157f031d4bdbc9d52a7d0
(2026-11-07), 22 commits past the de3e99c8 pin. Upstream still ships no
tags or releases and Cargo.toml still reads version 1.0.0, so the dated
0-unstable-* string stays. cargoHash moves on its own: the new
crates/zim-search workspace member grew Cargo.lock from 399 to 621
entries, and cargo vendor hashes the whole workspace.

The real packaging work is the TMPDIR override appended to preCheck.
Upstream's new harness::fs::path_tests scratch-root helper puts its
scratch dirs under <cwd>/target/ and first asserts that root lies
outside std::env::temp_dir(). The build sandbox exports TMPDIR=/build,
which is an ancestor of the unpacked source at /build/source, so that
premise check tripped and all 8 path-security tests failed with
"scoped root /build/source/target/marmel-path-tests-N sits inside the
temp allow-list entry /build". Pointing TMPDIR at
/tmp/marmel-check-tmp, outside $NIX_BUILD_TOP, restores upstream's
premise, so all 8 tests keep running for real instead of being filtered
out of cargoTestFlags. Build-time only; the installed binary is
untouched.

Two derivation comments carried stale facts and are corrected:

- meta.license claimed the repository shipped no LICENSE file and that
  Cargo.toml had no license field. Upstream c98179d023 (Na1w/marmel#40)
  added a root LICENSE file and declared license = "MIT" in Cargo.toml,
  so the comment now records that MIT is asserted in the README,
  Cargo.toml and LICENSE alike; lib.licenses.mit was already the right
  value.
- the cargoTestFlags comment quoted "the lib suite passes at 1055
  tests". Roughly 500 test fns landed since (TUI, fs-path, PTY and
  dispatch-integrity suites), so the figure is dropped rather than
  refreshed: nothing checks it and it rots on every bump.

Also adds the two research notes behind the bump under docs/: the
de3e99c8..afcc1dc9 upstream delta audit and the update-tooling findings.

Verified: clean nix build .#marmel including the serialised test suite
(--test-threads=1) — 2146 passed, 0 failed.
2026-11-07 16:54:02 +03:00