Repository navigation
refactor: consume the personal agent source from furedea/agent-config - #315
Merged
Merged
Conversation
agentSource now comes from furedea/agent-config packages.default, locked at dd59634, instead of a copy of the in-tree agents directory. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Delete agents/, tests/agents/, and scripts/agents/, which now live in furedea/agent-config. Keep the dotfiles-only Nix rendering tests and the related-test mapping test under tests/nix/, and drop the removed paths from the related-test mapping, ruff, ty, vulture, deptry, lefthook, and CI. The agent-harness build steps only served the moved tests, so CI drops them. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ADR-0016 and ADR-0030 are superseded by furedea/agent-config ADR-0012. ADR-0023, 0028, 0029, and 0031 to 0038 moved to agent-config, so each keeps its title with a Moved status and the new location. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Undo the formatter's table realignment, which was unrelated churn, and fix the tests paragraph. Also add the missing space before && in the moved Codex notification test. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
package.json pinned @openai/codex, oxfmt, and oxlint for the agent tests that moved to agent-config. Nix provides oxfmt and oxlint locally, so remove package.json, package-lock.json, the Node setup, the npm ci step, and the ls-lint exception for package-lock. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
4 tasks
7 tasks
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.
概要
個人用エージェントハーネスの source を
furedea/agent-configへ分離した作業のレーン B です.dotfiles は agent-config を flake input として読むだけになり,移動済みの source・テスト・ADR を削除します.実装計画: #314 (comment)
Closes #314
変更内容
flake.nixにagent-configinput を追加(agent-harness,nixpkgs,nixpkgs-unstableはfollowsで共有)し,agentSourceをagent-config.packages.${system}.defaultに置き換えました.flake.lockはdd59634に固定しています.agents/,tests/agents/,scripts/agents/を削除しました.ruff,ty,vulture,deptry,lefthook,CI,related-test の対応表,README から削除したパスを外しています.移動したテスト専用だった CI の agent-harness ビルド手順も削除しました.Superseded by furedea/agent-config ADR-0012にしました.移動した ADR(0023,0028,0029,0031〜0038)は,タイトルを残したMovedの stub にして移動先の URL を載せています.agent_hook.bats,codex_notification.bats,extension 対応表テスト)はtests/nix/へ移しました.CI に入れていないテスト
tests/nix/agent_hook.batsとtests/nix/codex_notification.batsは,homeConfigurations."kaito@mbp"(aarch64-darwin)をnix buildして検証します.CI の bats ジョブは Nix のないubuntu-latestで動くため,この 2 つは CI の一覧に追加できません.移動前も同じ理由で一覧に入っておらず,ローカル(macOS)で実行する扱いのままです.検証
nix flake check: 成功darwin-rebuild build --flake .#mbp(build のみ): 成功-m "not integration": 121 件成功tests/esa/zsh.batsとtests/moshi/update_moshi_hook.bats): 25 件成功tests/nix/agent_hook.batsとtests/nix/codex_notification.bats): ローカルで 5 件成功origin/mainと新しいagent-harness-renderedを比較し,差分は想定した 3 ファイルのみでした..claude/hooks/guard_file.py.claude/skills/nix-dotfiles/SKILL.md.codex/skills/nix-dotfiles/SKILL.md🤖 Generated with Claude Code