Nodes join and the exported kubeconfig points at the control-plane VIP (pfSense + HAProxy) instead of master-1's IP. Not applied to the live cluster yet: 02 deploys only via manual dispatch, and the live masters still need the TLS SAN added by hand.
Decision record and runbook in docs/.
Claude Code setup
Permissions: reads run freely, live changes, commits and pushes ask; secrets, kubeconfig and token edits are denied.
Hooks: live-infra guard (PreToolUse), typecheck before finishing (Stop), commit-msg check in .githooks/.
.claude/scripts/gitea.sh for PRs as claude-bot.
/stack-review and /explain-diff skills.
CLAUDE.md files trimmed to what the code doesn't show.
Docs
README: 6 VMs on three hosts, Longhorn 2 replicas, current config keys.
Merging touches 03-05 (CLAUDE.md only), so their workflows will run pulumi refresh + pulumi up. Check the previews on this PR first.
## k8s-bootstrap
- Nodes join and the exported kubeconfig points at the control-plane VIP (pfSense + HAProxy) instead of master-1's IP. Not applied to the live cluster yet: 02 deploys only via manual dispatch, and the live masters still need the TLS SAN added by hand.
- Decision record and runbook in `docs/`.
## Claude Code setup
- Permissions: reads run freely, live changes, commits and pushes ask; secrets, kubeconfig and token edits are denied.
- Hooks: live-infra guard (PreToolUse), typecheck before finishing (Stop), commit-msg check in `.githooks/`.
- `.claude/scripts/gitea.sh` for PRs as `claude-bot`.
- `/stack-review` and `/explain-diff` skills.
- CLAUDE.md files trimmed to what the code doesn't show.
## Docs
- README: 6 VMs on three hosts, Longhorn 2 replicas, current config keys.
Merging touches `03`-`05` (CLAUDE.md only), so their workflows will run `pulumi refresh` + `pulumi up`. Check the previews on this PR first.
Live-infrastructure commands were pre-approved in a local allowlist. Deploys, cluster mutations and SSH now always prompt, and a PreToolUse hook catches the same commands when they are wrapped.
The pfSense and TrueNAS procedures are for people, so they no longer load as Claude context. The stack CLAUDE.md files keep only what the code cannot show.
Rules in CLAUDE.md can be forgotten; hooks can't. Reads are now free,
live changes still ask, and PRs go through the claude-bot account since
gh doesn't work with Gitea.
Claude committed after a yes that was only meant for an edit, and once edited the local kubeconfig on its own. Commits now prompt, and kubeconfig/token edits are denied or prompt instead of relying on CLAUDE.md alone.
Following the Claude Code memory docs: drop architecture lists, generic commands and CI details Claude can read from the code, keep the reasons behind decisions, and fix the outdated provider and pfSense SDK statements.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
k8s-bootstrap
docs/.Claude Code setup
.githooks/..claude/scripts/gitea.shfor PRs asclaude-bot./stack-reviewand/explain-diffskills.Docs
Merging touches
03-05(CLAUDE.md only), so their workflows will runpulumi refresh+pulumi up. Check the previews on this PR first.