You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/routines/04-dist-channel-watch.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Check whether apfel's three distribution channels are in sync. If any channel is
22
22
|---|---|
23
23
|**GitHub Releases** (the upstream that the other two feed from) |`gh release view --repo Arthur-Ficial/apfel` latest tag, published-at |
24
24
|**homebrew-core** (`brew install apfel`) |`curl -s https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/a/apfel.rb` - look for the `version` / `url` fields |
25
-
|**nixpkgs** (`nix profile install nixpkgs#apfel-ai`) |`curl -s https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/by-name/ap/apfel-ai/package.nix` - look for the `version` field |
25
+
|**nixpkgs** (`nix profile install nixpkgs#apfel-llm`) |`curl -s https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/by-name/ap/apfel-llm/package.nix` - look for the `version` field |
26
26
27
27
### Step-by-step
28
28
@@ -40,7 +40,7 @@ Check whether apfel's three distribution channels are in sync. If any channel is
40
40
41
41
4.**Fetch the nixpkgs package** and parse its version:
Copy file name to clipboardExpand all lines: CLAUDE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ HTTP Server (/v1/*) ───────┘ ContextManager → Transcript API
86
86
87
87
- Version: `1.0.0` (source of truth: `.version`)
88
88
- Tests: 366 unit + 220 integration
89
-
- Distribution: homebrew-core (`brew install apfel`), nixpkgs (`nix profile install nixpkgs#apfel-ai`), and the Arthur-Ficial/homebrew-tap
89
+
- Distribution: homebrew-core (`brew install apfel`), nixpkgs (`nix profile install nixpkgs#apfel-llm`), and the Arthur-Ficial/homebrew-tap
90
90
- Stability policy: [STABILITY.md](STABILITY.md)
91
91
- Security policy: [SECURITY.md](SECURITY.md)
92
92
@@ -328,7 +328,7 @@ apfel ships through three channels. All pull the same signed tarball from each G
328
328
329
329
-**homebrew-core** - `brew install apfel`. Autobump detects new releases; latency ~24h. We do not maintain the formula.
330
330
-**Arthur-Ficial/homebrew-tap** - `brew install Arthur-Ficial/tap/apfel`. Synchronous, pushed as part of `make release`. Secondary channel; also houses apfel-family tools (apfel-chat, apfel-clip, apfel-mcp, etc.).
331
-
-**nixpkgs** - `nix profile install nixpkgs#apfel-ai`. Name is `apfel-ai` because nixpkgs already has an unrelated physics `apfel`. Two-layer automation: community r-ryantm bot (~weekly) plus our `.github/workflows/bump-nixpkgs.yml` on every release (~5 min). See [docs/nixpkgs.md](docs/nixpkgs.md). Requires the `NIXPKGS_BUMP_PAT` repo secret.
331
+
-**nixpkgs** - `nix profile install nixpkgs#apfel-llm`. Name is `apfel-llm` because nixpkgs already has an unrelated physics `apfel` package and the disambiguator landed upstream as `apfel-llm` (PR NixOS/nixpkgs#508084). Two-layer automation: community r-ryantm bot (~weekly) plus our `.github/workflows/bump-nixpkgs.yml` on every release (~5 min). See [docs/nixpkgs.md](docs/nixpkgs.md). Requires the `NIXPKGS_BUMP_PAT` repo secret.
No build tools needed. See [brew-install.md](brew-install.md) for troubleshooting.
24
24
25
-
## Option 2: Nix (nixpkgs) - pending
26
-
27
-
The initial nixpkgs submission ([NixOS/nixpkgs#510089](https://github.com/NixOS/nixpkgs/pull/510089)) is under upstream review and not yet merged. Once it lands:
25
+
## Option 2: Nix (nixpkgs)
28
26
29
27
```bash
30
-
nix profile install nixpkgs#apfel-ai
28
+
nix profile install nixpkgs#apfel-llm
31
29
```
32
30
33
-
Attribute name is `apfel-ai` because nixpkgs already has an unrelated `apfel` package (a particle-physics PDF library); the binary on `$PATH` is still `apfel`. See [docs/nixpkgs.md](nixpkgs.md) for automation details and tracking issue [#88](https://github.com/Arthur-Ficial/apfel/issues/88)for current status.
31
+
Attribute name is `apfel-llm` because nixpkgs already has an unrelated `apfel` package (a particle-physics PDF library); the binary on `$PATH` is still `apfel`. The package landed via [NixOS/nixpkgs#508084](https://github.com/NixOS/nixpkgs/pull/508084). See [docs/nixpkgs.md](nixpkgs.md)for automation details.
Copy file name to clipboardExpand all lines: docs/nixpkgs.md
+23-21Lines changed: 23 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,22 @@
1
1
# nixpkgs distribution
2
2
3
-
apfel ships on [nixpkgs](https://github.com/NixOS/nixpkgs) under the attribute `apfel-ai`. This page explains the name choice, how the automation works, and how to test or repair the package locally.
3
+
apfel ships on [nixpkgs](https://github.com/NixOS/nixpkgs) under the attribute `apfel-llm`. This page explains the name choice, how the automation works, and how to test or repair the package locally.
4
4
5
5
## Install (end users)
6
6
7
7
```bash
8
-
nix profile install nixpkgs#apfel-ai
8
+
nix profile install nixpkgs#apfel-llm
9
9
```
10
10
11
11
Runtime requirements are the same as Homebrew: macOS 26 Tahoe or later, Apple Silicon, Apple Intelligence enabled, Siri language matching device language.
12
12
13
-
The binary on your `$PATH` is still `apfel` - only the install-time attribute is `apfel-ai`.
13
+
The binary on your `$PATH` is still `apfel` - only the install-time attribute is `apfel-llm`.
14
14
15
-
## Why `apfel-ai` and not `apfel`
15
+
## Why `apfel-llm` and not `apfel`
16
16
17
-
nixpkgs already has an unrelated package at [`pkgs/by-name/ap/apfel`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ap/apfel/package.nix): the [scarrazza/apfel](https://github.com/scarrazza/apfel) particle-physics PDF Evolution Library (GPL3, maintained by `veprbl`). The name was taken years before apfel-ai existed, so nixpkgs convention requires disambiguation.
17
+
nixpkgs already has an unrelated package at [`pkgs/by-name/ap/apfel`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ap/apfel/package.nix): the [scarrazza/apfel](https://github.com/scarrazza/apfel) particle-physics PDF Evolution Library (GPL3, maintained by `veprbl`). The name was taken years before apfel existed in its AI form, so nixpkgs convention requires disambiguation.
18
+
19
+
The disambiguator that landed upstream is `apfel-llm` (via [NixOS/nixpkgs#508084](https://github.com/NixOS/nixpkgs/pull/508084)). An earlier proposal used `apfel-ai`, but the upstream maintainer chose `-llm` as the more descriptive suffix. The binary on `$PATH` is still `apfel` either way - only the install attribute differs.
18
20
19
21
## Why a pre-built binary derivation
20
22
@@ -39,8 +41,8 @@ Expected latency: within ~7 days of release.
39
41
[`.github/workflows/bump-nixpkgs.yml`](../.github/workflows/bump-nixpkgs.yml) fires on every `release: published` event from `make release`. It:
40
42
41
43
1. Checks out a fresh copy of `Arthur-Ficial/nixpkgs` (our fork, synced with upstream master).
42
-
2. Runs [`scripts/bump-nixpkgs.sh`](../scripts/bump-nixpkgs.sh) to rewrite `version` and `hash` in `pkgs/by-name/ap/apfel-ai/package.nix`.
43
-
3. Commits on a branch `apfel-ai-<version>`, force-pushes to the fork.
44
+
2. Runs [`scripts/bump-nixpkgs.sh`](../scripts/bump-nixpkgs.sh) to rewrite `version` and `hash` in `pkgs/by-name/ap/apfel-llm/package.nix`.
45
+
3. Commits on a branch `apfel-llm-<version>`, force-pushes to the fork.
44
46
4. Opens a PR on `NixOS/nixpkgs` (or updates the existing one if already open).
45
47
46
48
Expected latency: within ~5 minutes of release.
@@ -83,19 +85,19 @@ On any Mac with Nix installed (we use the Determinate Systems installer on Apple
Copy file name to clipboardExpand all lines: docs/release.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ Each release is published through three channels. All three pull the same signed
116
116
|---------|-----------|-----------|
117
117
|[homebrew-core](https://github.com/Homebrew/homebrew-core/blob/master/Formula/a/apfel.rb) (`brew install apfel`) | Up to ~24h after release | Homebrew `autobump-PR` bot detects new GitHub Releases and opens a formula-bump PR. |
118
118
|[Arthur-Ficial/homebrew-tap](https://github.com/Arthur-Ficial/homebrew-tap) (`brew install Arthur-Ficial/tap/apfel`) | Synchronous with release |`scripts/publish-release.sh` pushes the new formula directly as part of `make release`. |
119
-
|[nixpkgs](https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/ap/apfel-ai) (`nix profile install nixpkgs#apfel-ai`) | Within ~5 min of release (Layer 2), or ~weekly (Layer 1) | Two layers: community [`r-ryantm`](https://github.com/ryantm/nixpkgs-update) bot (primary, ~weekly), plus our own [`bump-nixpkgs.yml`](.github/workflows/bump-nixpkgs.yml) workflow that opens a PR on every `release: published` event (fallback, minutes). See [nixpkgs.md](nixpkgs.md). |
119
+
|[nixpkgs](https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/ap/apfel-llm) (`nix profile install nixpkgs#apfel-llm`) | Within ~5 min of release (Layer 2), or ~weekly (Layer 1) | Two layers: community [`r-ryantm`](https://github.com/ryantm/nixpkgs-update) bot (primary, ~weekly), plus our own [`bump-nixpkgs.yml`](.github/workflows/bump-nixpkgs.yml) workflow that opens a PR on every `release: published` event (fallback, minutes). See [nixpkgs.md](nixpkgs.md). |
120
120
121
121
All three channels are "owned" in the sense that we file PRs against them and respond to reviewer feedback - but merges into homebrew-core and nixpkgs are gated by their respective maintainer communities. The tap is the only channel where we merge directly.
Copy file name to clipboardExpand all lines: docs/routines.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Routines run on Anthropic's Linux cloud runners, so they cannot:
20
20
- Run `make test`, `make preflight`, `swift build`, or any integration test that needs Apple Intelligence (there is no Apple Intelligence on Linux)
21
21
- Test the actual behavior of code changes - only static review (style, structure, test coverage, security audit)
22
22
- Merge a PR, approve a PR, cut a release, or update any distribution channel (Homebrew, nixpkgs, tap)
23
-
- Change what you install via `brew install apfel` or `nix profile install nixpkgs#apfel-ai`
23
+
- Change what you install via `brew install apfel` or `nix profile install nixpkgs#apfel-llm`
24
24
25
25
Every code-PR review from a routine contains an explicit note that functional correctness was **not** verified and that @franzenzenhofer needs to run tests locally before merging.
0 commit comments