Skip to content

refactor: keep dotfiles-only skill and assumptions out of the source - #30

Merged
furedea merged 1 commit into
mainfrom
refactor/source-boundary
Oct 24, 2026
Merged

furedea merged 1 commit into
mainfrom
refactor/source-boundary

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

概要

  • nix-dotfiles skill を削除(dotfiles 側が programs.agent-harness.skills で足す)
  • 描画した hook と statusline の確認を test_python_runtime.py に追加
  • 許可規則の理由の文言から nix-darwin を除去(規則と期待は不変)
  • api.day.app を削除しフィクスチャを修正
  • repo は dotfiles のコマンドと明記し,なければ止めてユーザーに頼む

Refs #9

🤖 Generated with Claude Code

@furedea
furedea merged commit 8aeff13 into main Oct 24, 2026
16 checks passed
@furedea
furedea deleted the refactor/source-boundary branch October 24, 2026 15:48
furedea added a commit to furedea/dotfiles that referenced this pull request Oct 24, 2026
## 概要

`nix-dotfiles` skill は dotfiles 専用の内容なので,agent-config から dotfiles
に移す.agent-config 側の削除(furedea/agent-config#30)は merge 済み.

- `skills/nix-dotfiles/SKILL.md` を agent-config
の履歴(`d00d292^`)から変更せずに復元し,`programs.agent-harness.skills` に herdr skill
と並べて追加した
- `agent-config` input を `305d391`(#29,#30,#31,#33 を含む)に更新した.skill
が消える期間も重複する期間もない
- `tests/nix/agent_hook.bats` から,agent-config 側のテストが担う確認(hook
ファイル名,statusline の `Ctx:`,shebang,Hermes と pi の hook ファイル)を外した.Herdr と
Moshi の組み立て確認は残した
- `~/.claude/skills` と `~/.codex/skills` に `nix-dotfiles`
が配備されることを確かめるテストを追加した

## 確認

- 新テストは,flake 更新後・Nix 側の変更前に失敗し,配線後に通ることを確認した
- `bats tests/nix/agent_hook.bats` 通過
- `nix flake check` 通過
- `darwin-rebuild build --flake .#mbp` 成功
- `origin/main` の home generation と比較し,`nix-dotfiles` skill
の描画結果が同一であることを確認した.ほかの差分は agent-config
の変更(hooks,rules,project-setup,trusted owners)だけ

## レビュー(Opus サブエージェント 1 回)

P0 と P1 はなし.P2 以下は次のとおりで,このPRでは直さない.

- P3: 新テストが最初のテストと同じ activation package を評価し直す.ビルドはキャッシュされ,評価時間だけの負担
- P3: 復元した skill の「When managed agent source changes」節が,skill も
agent-config で編集すると読める.内容を変えない要件のため後続で直す
- 指摘のあった commit trailer(Opus 5.5)は,このセッションの指定どおり Sonnet 5.5 のままにした

Refs furedea/agent-config#9

マージ後に furedea/agent-config#9 は close してよい.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: furedea <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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