Skip to content

feat(home): vigos.claude — ~/.claude policy + container secrets path - #844

Merged
c-vigo merged 2 commits into
feature/814-home-environment-modulesfrom
feature/823-vigos-claude
Jul 4, 2026
Merged

c-vigo merged 2 commits into
feature/814-home-environment-modulesfrom
feature/823-vigos-claude

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Lands B2 (#823) for epic #814; absorbs #546's slim token path (compose scaffolding only, image untouched).

Refs: #823, #546

c-vigo added 2 commits July 4, 2026 20:28
Red ahead of #823: claude module in the module set and full profile;
DISABLE_AUTOUPDATER via sessionVariables; workspace-CLAUDE.md
management option present, empty by default.

Refs: #823
…s path

settings.json seeded copy-if-absent (seed pre-authorizes nothing;
includeCoAuthoredBy=false per the org rule); managed ~/.claude/vigos.md
fragment with checksum-overwrite and .bak of local edits; a single
@vigos.md import line seeded into the user-owned CLAUDE.md (Claude
writes there via the memory feature — never overwritten); no symlinks
of any kind under ~/.claude/; DISABLE_AUTOUPDATER via sessionVariables.
Also fixes the wave-1 delta wiring to the renamed programs.delta
options. The devcontainer scaffold gains a read-only mount of
~/.config/vigos/secrets plus a post-create bashrc hook exporting the
files as env vars — the slim token path #546 asks for (compose
scaffolding only; the image is untouched).

Refs: #823, #546
@c-vigo
c-vigo merged commit aba9b4a into feature/814-home-environment-modules Jul 4, 2026
2 checks passed
@c-vigo
c-vigo deleted the feature/823-vigos-claude branch July 4, 2026 18:29
c-vigo added a commit that referenced this pull request Jul 4, 2026
## Summary

Waves 2 and 3 of epic #814, continuing on the same master branch right
after #833 merged. Two module groups complete the `vigos.*` surface:

- **`vigos.claude`** (#823) — the ADR Axis-5 `~/.claude` policy
implemented: `settings.json` seeded copy-if-absent (the seed
pre-authorizes nothing; `includeCoAuthoredBy=false` per the org rule), a
managed `~/.claude/vigos.md` org fragment (checksum-overwrite with
`.bak` of local edits), a single `@vigos.md` import line seeded into the
user-owned `CLAUDE.md` (never overwritten — Claude writes there via the
memory feature), **no symlinks of any kind under `~/.claude/`**,
`DISABLE_AUTOUPDATER` via `home.sessionVariables`, and the
off-by-default workspace-CLAUDE.md management option. The devcontainer
scaffold now mounts `~/.config/vigos/secrets` read-only and exports the
files as env vars at shell startup — **the slim token path #546 asks
for** (compose scaffolding only; the image is untouched per ADR Axis 4).
- **`vigos.sesh` / `vigos.ghdash` / `vigos.editor`** (#824) — the
parameterization-heavy ports: sesh project sessions with the standard
tmux layout as options (`sessions`, `layout.windows` — no hardcoded
paths; picker on tmux `prefix+o`), gh-dash with lean scoped sections
from `repoFilters` (the CPU-tuning lessons as defaults), and neovim with
the `claudecode.nvim` bridge via plain `programs.neovim` (no nixvim
input, per the ADR). The bare devTools neovim went `lowPrio` so a
configured editor wins buildEnv within one profile.

Also in this diff: the wave-1 delta wiring moved to the renamed
`programs.delta.*` options (HM deprecation).

## Ledger

| Sub-issue | Work | PR → master branch | Status |
|---|---|---|---|
| #823 B2 | vigos.claude + container secrets path (absorbs #546) | #844
| ✅ TDD |
| #824 B3 | vigos.sesh, vigos.ghdash, vigos.editor | #845 | ✅ TDD |

## Evidence

- `pytest tests/test_flake_checks.py`: **13/13** (new: claude Axis-5
policy assertions, wave-3 full-profile assertions).
- `nix-fast-build .#checks.x86_64-linux` green incl. `hm-full` with all
nine modules enabled; `ci-full-aarch64-darwin` evaluates.
- Sandbox pre-commit/deadnix/statix checks green (they caught: a statix
grouped-attr rejection, an unused lambda arg, a ruff-format quoting nit,
and the neovim buildEnv collision — all fixed pre-merge).
- Home Matrix re-runs on this PR (paths match) and rebuilds darwin/arm
closures with the full module set.

## Changelog (added under `Unreleased`)

- **vigos.claude module + container secrets path** (#823, absorbs #546)
- `~/.claude` policy per the ADR: seeded settings, managed fragment +
`.bak`, `@vigos.md` import line, `DISABLE_AUTOUPDATER` via
sessionVariables, optional workspace-CLAUDE.md management.
- Devcontainer scaffold mounts `~/.config/vigos/secrets` read-only and
exports the files as env vars — replacing setup-claude.sh forwarding.
- **vigos.sesh, vigos.ghdash, vigos.editor modules** (#824)
- sesh sessions + parameterized standard layout, gh-dash scoped
sections, neovim + claudecode.nvim bridge.

## Follow-ups (not this PR)

- B1 acceptance completion in the personal config (#822), then extending
the dogfood to waves 2/3.
- Home Matrix promotion to required; first module-bearing release tag.

Refs: #814
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