Skip to content

fix(nix): materialize mutable Claude configuration - #117

Closed
furedea wants to merge 2 commits into
mainfrom
fix/materialize-mutable-claude-configuration
Closed

furedea wants to merge 2 commits into
mainfrom
fix/materialize-mutable-claude-configuration

Conversation

@furedea

@furedea furedea commented Aug 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • materialize Claude instructions, settings, hooks, and skills as writable regular files after Home Manager link cleanup
  • recursively merge generated settings over provider-owned settings while replacing harness-owned hook and skill trees
  • retain the statusline as a Home Manager-managed symlink and keep Codex deployment unchanged
  • renumber the personal-source decision as ADR 0015 and document the Claude ownership boundary in ADR 0016

Tests

  • cargo test --locked
  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features --locked -- -D warnings
  • CODEX_BIN="$PWD/node_modules/.bin/codex" REQUIRE_CODEX_EXECPOLICY=1 bats --print-output-on-failure tests/codex/execpolicy.bats
  • nixfmt --check flake.nix nix/home_manager_module.nix nix/lib.nix
  • statix check .
  • deadnix --fail .
  • actionlint
  • ls_lint
  • CI: nix flake check --no-build

No Home Manager build or activation was run locally.

Copilot AI lite review requested due to automatic review settings August 28, 2026 10:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@furedea
furedea force-pushed the refactor/separate-personal-agent-source branch from 0e6bcee to f8d5182 Compare August 29, 2026 07:14
furedea added a commit to furedea/dotfiles that referenced this pull request Aug 29, 2026
## Summary

- move the complete personal Claude Code and Codex source into `agents/`
and deploy it through the flat agent-harness source API
- keep generated Herdr and Moshi hooks composed through named Nix inputs
- retain PATH-resolved Bash hooks and portable macOS notification no-ops
in the migrated source
- move source-specific Bats and Python specifications, locked test
dependencies, lint, type checking, audits, and Python CodeQL coverage
into dotfiles
- support Rust integration tests selected by project extension mappings
- document the ownership boundary in ADR 0016

## Dependency

The lock file pins agent-harness commit `5915059`, delivered by
[agent-harness #117](furedea/agent-harness#117)
and its stacked dependencies. The declared flake URL remains the normal
repository URL.

## Tests

- 481 personal agent Bats tests
- 24 Python tests
- Ruff format and lint
- ty
- deptry and vulture
- `nix flake check --no-build`
- Home Manager generation build through `tests/nix/agent_hooks.bats`
- Linux package-output evaluation
- actionlint and all pre-commit checks
- `git diff --check`

No Home Manager or nix-darwin activation was run.
Base automatically changed from refactor/separate-personal-agent-source to main August 29, 2026 10:01
@furedea
furedea force-pushed the fix/materialize-mutable-claude-configuration branch from 5915059 to 0cb3a7a Compare August 29, 2026 10:17
@furedea furedea closed this Aug 29, 2026
@furedea
furedea deleted the fix/materialize-mutable-claude-configuration branch August 29, 2026 11:14
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.

2 participants