Skip to content

Restore Claude agents flake package#1530

Merged
Andrew Gazelka (andrewgazelka) merged 1 commit into
mainfrom
fix/1519-agents-package
Jun 22, 2026
Merged

Restore Claude agents flake package#1530
Andrew Gazelka (andrewgazelka) merged 1 commit into
mainfrom
fix/1519-agents-package

Conversation

@andrewgazelka

@andrewgazelka Andrew Gazelka (andrewgazelka) commented Jun 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Restore the agents path input under packages/agent/agents.
  • Re-expose packages.${system}.agents as a symlink-free .claude/agents directory.
  • Keep agent rendering in the non-plugin path so bare subagent_type names like code-reviewer continue to resolve.

Validation

  • nix eval .#packages.aarch64-darwin.agents.drvPath --raw
  • nix build .#packages.aarch64-darwin.agents --no-link
  • nix build /Users/andrewgazelka/.config/nix#homeConfigurations.andrewgazelka.activationPackage --override-input index /Users/andrewgazelka/Projects/indexable-inc/index-fix-agents-package-1519 --no-link

Refs #1519

(sent by an AI agent via Claude Code)

Note

Restore Claude agents flake package with agent definitions and Nix build output

  • Adds a flake.nix input pointing to ./packages/agent/agents and wires it through specialArgs.paths.agents so derivations can reference agent content.
  • Introduces agentsDir in lib/per-system.nix that builds a .claude/agents directory combining a rendered index-action-runner agent (with frontmatter and MCP servers) and any raw markdown files in paths.agents.
  • Adds five agent markdown specs under packages/agent/agents/: code-reviewer, data, fixup, index-action-runner, and synthesis-critic.
  • Extends the agent-skills gate check to also assert the agents directory exists, and exports agents = agentsDir from per-system outputs.

Macroscope summarized bb86f1d.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@andrewgazelka Andrew Gazelka (andrewgazelka) merged commit 33f8e91 into main Jun 22, 2026
1 check passed
@andrewgazelka Andrew Gazelka (andrewgazelka) deleted the fix/1519-agents-package branch June 22, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant