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
{{ message }}
Repository navigation
package ready-for-agent as a Nix derivation for deploy-target registration (#12768 remainder) #12909
Slice: package ready-for-agent as a Nix derivation so it can register as a deploy target
Split from #12768 (register the PM-stack services as deploy targets), where ready-for-agent is the one service of the four with no derivation to point a registry definition at.
Current state (verified 2026-11-22)
ready-for-agent is an npm package pinned at 1.1.0, installed imperatively into ~/.local by pm-stack/ready-for-agent/install.sh (npm install -g --prefix ~/.local ready-for-agent@1.1.0).
The npm package is a thin JS launcher (bin/ready-for-agent.js, node >= 20); the real binary ships in the platform optionalDependency (ready-for-agent-linux-x64 on this host).
A flake package/app output next to the other pm-stack apps (lib/default.nix make-pm-stack or its own maker).
The ready-for-agent definition in pkgs/deploy/services.nix in the §3 shape (package = the new derivation, entryPoint bin/ready-for-agent, args start --no-open, ports [6056], healthCheck http://127.0.0.1:6056/, user user, targets [laptop], class systemd), replacing the deferral comment, plus the deploy list check extended to grep it.
Lane GS (archer) claiming this slice: packaging ready-for-agent 1.1.0 as a Nix derivation + deploy-target registration.
Premise re-verified fresh (2026-11-23 ~06:05Z): issue open, no live claim (only prior comment is the bot task link); on current main there is no pkgs/ready-for-agent, pkgs/deploy/services.nix still carries the deferral comment pointing here, and pm-stack/ready-for-agent/install.sh still installs the npm pin imperatively into ~/.local. The installed package layout was read first-hand on the laptop: thin JS launcher (bin/ready-for-agent.js + select-platform.js) resolving the platform package ready-for-agent-linux-x64's bin/ready-for-agent (a Bun-compiled ELF) via node module resolution — the same distribution shape as pkgs/claude-code, whose derivation is the pattern precedent.
Plan: pkgs/ready-for-agent/package.nix (both npm tarballs, fixed hashes, launcher layout preserved, platform ELF autoPatchelf'd, versionCheckHook on --version), flake package/app in lib/default.nix make-pm-stack, the ready-for-agent definition in pkgs/deploy/services.nix replacing the deferral comment, and the deploy-list check extended to grep it.
Progress: PR #12984 is open with the full slice (derivation + flake package/app + registry definition + deploy-list check grep).
Verified so far, in the laptop worktree off origin/main:
nix build .#ready-for-agent succeeds (versionCheckHook install check included); the built result runs --version → ready-for-agent v1.1.0.
nix eval .#deployTargets.x86_64-linux lists 19 targets including ready-for-agent, with entryPoint bin/ready-for-agent, args ["start" "--no-open"], ports [6056], healthCheck http://127.0.0.1:6056/, class systemd.
Remaining before merge: the literal deploy list run against the built CLI (its registry JSON build compiles the fleet package — running detached on the laptop after the channel dropped twice mid-build).
Activity
developing-today commentedon Nov 23, 2026
CODE-4732
dezren39 commentedon Nov 23, 2026
Lane GS (archer) claiming this slice: packaging ready-for-agent 1.1.0 as a Nix derivation + deploy-target registration.
Premise re-verified fresh (2026-11-23 ~06:05Z): issue open, no live claim (only prior comment is the bot task link); on current main there is no
pkgs/ready-for-agent,pkgs/deploy/services.nixstill carries the deferral comment pointing here, andpm-stack/ready-for-agent/install.shstill installs the npm pin imperatively into~/.local. The installed package layout was read first-hand on the laptop: thin JS launcher (bin/ready-for-agent.js+select-platform.js) resolving the platform packageready-for-agent-linux-x64'sbin/ready-for-agent(a Bun-compiled ELF) via node module resolution — the same distribution shape aspkgs/claude-code, whose derivation is the pattern precedent.Plan:
pkgs/ready-for-agent/package.nix(both npm tarballs, fixed hashes, launcher layout preserved, platform ELF autoPatchelf'd, versionCheckHook on--version), flake package/app inlib/default.nixmake-pm-stack, theready-for-agentdefinition inpkgs/deploy/services.nixreplacing the deferral comment, and the deploy-list check extended to grep it.dezren39 commentedon Nov 23, 2026
Progress: PR #12984 is open with the full slice (derivation + flake package/app + registry definition + deploy-list check grep).
Verified so far, in the laptop worktree off origin/main:
nix build .#ready-for-agentsucceeds (versionCheckHook install check included); the built result runs--version→ready-for-agent v1.1.0.nix eval .#deployTargets.x86_64-linuxlists 19 targets includingready-for-agent, with entryPointbin/ready-for-agent, args["start" "--no-open"], ports[6056], healthCheckhttp://127.0.0.1:6056/, classsystemd.Remaining before merge: the literal
deploy listrun against the built CLI (its registry JSON build compiles the fleet package — running detached on the laptop after the channel dropped twice mid-build).Merge pull request #12984 from developing-today/lane-gs/12909-ready-f…