Repository navigation
Conversation
Stacked on the new-tool issue template as a worked example of filling it in. Package only, no module: superfile writes its own config and state at runtime, so there is nothing for home-manager to own (CLAUDE.md, "Runtime- mutable config must stay unmanaged"), and one package does not justify a bespoke module (PR #44). Placement: - home.nix: desktop-only profile, plain `packages` entry - work.nix: inside the darwin-gated list, since this profile is also alyssa@work-dev on aarch64-linux and a file manager earns nothing in a headless devcontainer. Not lib/core-packages.nix for the same reason. Version: the locked nixpkgs carries 1.3.3, while nixos-unstable and master carry 1.6.0. That is a stale flake.lock, not a lagging nixpkgs, so the fix is `nix flake update` (the weekly workflow does it), not a pin-forward in lib/ like weave. Deliberately not bumping the lock here: it would move every input under a one-package change. Two things found while checking, not fixed here: - the binary is `superfile`, not `spf` as the upstream docs write it - `auto_check_update` defaults to true: a once-a-day network call on exit Verified: statix and deadnix clean, both profile files parse, the locked nixpkgs' superfile builds on x86_64-linux and reports v1.3.3. NOT verified: full flake evaluation of the home configurations; the sandbox proxy blocks the github: flake inputs. CI's eval-configurations.sh covers that. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014ctTM9ShmZvCpEmMKEdHvP
Contributor
⊕ Entity-level changeshome-manager/profiles/home.nix
home-manager/profiles/work.nix
Summary: 2 modified across 2 files functions and classes, not lines · sem |
Pick up the template changes the superfile dry run motivated, so the stacked PR's base and head agree. A merge rather than a rebase: the branch is already pushed and #199 is open against it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014ctTM9ShmZvCpEmMKEdHvP
alycda
pushed a commit
that referenced
this pull request
Oct 3, 2026
Filling the template in for superfile (#199) turned up three prompts that were missing or too vague. Changes: - what: ask for the binary name when it differs from the project name. superfile installs `superfile` while its docs say `spf`, so a `verify` that trusted the project name would have checked the wrong command. The verify baseline now says <binary> rather than <tool>. - how/source: compare three points, not "master if stale": the locked rev, nixos-unstable head and master. The result picks the fix. Locked behind with unstable current is a stale lock (`nix flake update`); unstable and master both behind is nixpkgs lagging (vendor input or pin-forward). superfile was the first kind; weave and crush are the second, and the two cases are different PRs. - how/constraints: add a checkbox for network calls at startup or exit (update checks, telemetry). superfile checks for updates on exit by default, and nothing in the template would have asked. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014ctTM9ShmZvCpEmMKEdHvP
Owner
Author
|
Update to the "Template evaluation" section above: gaps 1–3 (binary name, network calls, three-way version check) are now applied to the template in #198 ( Generated by Claude Code |
alycda
added this pull request to stack #200
October 3, 2026 09:07
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.
Stacked on #198 (base is
claude/loving-hawking-5eh9pm, notmain). Retarget tomainonce #198 merges. This PR adds superfile and fills in the new-tool template as it goes, to see where the template helps and where it doesn't.what
superfile, a TUI file manager (Go, MIT). CLI/TUI. It builds for aarch64-darwin and linux. Added to
home.nixand to the darwin-gated list inwork.nix.why
No file manager is installed today; I grepped the repo for yazi, ranger, lf, nnn, broot and xplr and found none. This is an evaluation target for the template, so the "closest existing tool" answer is
ezaplusbatfor listing and previewing, which don't navigate or operate on files.how
packages, no module. superfile writes its own config and state at runtime, so there is nothing for home-manager to own.work.nixalso feeds thealyssa@work-devdevcontainer, so it sits in the darwin-gated list. Notlib/core-packages.nix, which every container inherits.superfile. The locked rev (7a0f122) has 1.3.3; nixos-unstable and master have 1.6.0. That is a stale lock rather than a lagging nixpkgs, so the fix isnix flake update, which the weekly workflow does. I did not pin forward aslib/weave.nixdoes, and I did not bump the lock here because that moves every input under a one-package change. Until the next update this installs 1.3.3.superfilebinary, nothing that overlaps thenixos/nixprofile. This is by inspection, not by activating in the image.auto_check_updatedefaults totrue, a once-a-day check on exit. Left at the default, with a comment saying how to turn it off.verify
statix check .anddeadnix --fail .passsuperfile --versionprintsv1.3.3github:flake inputs, sonix eval .#homeConfigurations...can't run here. CI'seval-configurations.shis the check for that.zsh -lc 'command -v superfile && superfile --version'.Template evaluation
The template did its job: it forced the version check, the placement reasoning and the "not verified" list. Four gaps showed up, none fixed here (they belong on #198 if you agree):
spf; nixpkgs installssuperfile(mainProgram), on 1.6.0 too. Theverifybaselinecommand -v <tool>only works with the real binary name, whichwhatdoesn't ask for. Suggest adding "binary name, if it differs from the project name" towhat. I added nospfalias; that is your call.howasks about update checks or telemetry, and this tool has one on by default. Given a privacy-first default, suggest a constraint checkbox: "network calls at startup or exit, and how to disable them".flake updateand a pin-forward, which are different PRs. Suggest namingnixos-unstablein the prompt.🤖 Generated with Claude Code
https://claude.ai/code/session_014ctTM9ShmZvCpEmMKEdHvP
Generated by Claude Code