Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
3f3c787
feat(omp): configure the omp auth broker client on every host
hanthor Oct 25, 2026
7abe249
refactor(omp): move omp to a bash unit run by mise
hanthor Oct 25, 2026
f77b963
refactor: move file roles to chezmoi, secret roles to units
hanthor Oct 25, 2026
29bbc30
feat(tailnet): audit/gc/rename devices against inventory; fix role's …
hanthor Oct 25, 2026
81c6e90
refactor: move fonts, github, kube and forgejo-registry roles to bash…
hanthor Oct 25, 2026
47f78a2
fix(omp): target the live spindle broker
hanthor Oct 27, 2026
4afab3d
test(omp): run broker safety check without yq
hanthor Oct 27, 2026
1331429
fix: integrate units with onboarding and tagged applies
hanthor Oct 27, 2026
792d8b1
fix: preserve Atuin data and harden Chezmoi onboarding
hanthor Oct 27, 2026
cad9320
merge: sync onboarding foundation
hanthor Oct 27, 2026
2af5c14
docs: correct Himachal Hive operations status
hanthor Oct 27, 2026
466b0a0
fix: keep remote Bitwarden sessions out of command lines
hanthor Oct 27, 2026
e85d051
merge: sync secure remote applies
hanthor Oct 27, 2026
b66cd4b
fix: preserve GitHub config and fail closed on key lookup
hanthor Oct 27, 2026
5dfa028
merge: sync file and onboarding migrations
hanthor Oct 27, 2026
845c3f4
fix: preserve remote phone identities during unit applies
hanthor Oct 27, 2026
ca7dc4f
merge: sync phone identity handling
hanthor Oct 27, 2026
4efb035
merge: sync phone identity handling
hanthor Oct 27, 2026
6b6cc04
refactor: migrate fleet configuration to native units
hanthor Oct 27, 2026
ad4f8c6
merge: integrate current fleet state with native units
hanthor Oct 27, 2026
b208f2b
fix: isolate native migration CI fixtures
hanthor Oct 27, 2026
e279eaa
fix: preserve onboarding identity and isolate dependent operations
hanthor Oct 27, 2026
a68deea
fix: preserve platform detection during native onboarding
hanthor Oct 27, 2026
6b842b0
docs: clarify offline and retired fleet services
hanthor Oct 27, 2026
f78c26e
Integrate safe tailnet hygiene with native enrollment
hanthor Oct 27, 2026
a3c3b94
test: provide verifiable device presence in enrollment fixture
hanthor Oct 27, 2026
547284a
Onboard Karnataka on Utah and correct historical fleet docs
hanthor Oct 27, 2026
ef67d3a
Preserve active swap on immutable fleet hosts
hanthor Oct 27, 2026
de22a09
Support journald drop-in on immutable Utah hosts
hanthor Oct 27, 2026
d7dad0c
Harden Karnataka K3s startup
hanthor Oct 27, 2026
c3bcfcc
Document Karnataka cluster firewall
hanthor Oct 27, 2026
6b381e2
Record K3s network policy limitation
hanthor Oct 27, 2026
bb953aa
Harden Karnataka fleet and cluster management
hanthor Oct 27, 2026
0a58f0c
Document Corral cluster trust boundary
hanthor Oct 27, 2026
7b9cd26
Pin an available Utah image base
hanthor Oct 27, 2026
acc82ad
Include required K3s storage utilities
hanthor Oct 27, 2026
75ea2e0
Unmask installer serial console on Utah
hanthor Oct 27, 2026
29ccd71
Clear vendor serial mask in installer image
hanthor Oct 27, 2026
5ec9a4b
Provide live initramfs build scratch
hanthor Oct 27, 2026
1a5986c
Document Utah installer acceptance blocker
hanthor Oct 27, 2026
d3d02b3
Allow larger Utah media in acceptance
hanthor Oct 27, 2026
76818a2
Record Utah installer boot failure
hanthor Oct 27, 2026
dc6340e
Complete native fleet migration parity
hanthor Oct 28, 2026
a5019b1
Secure fleet SSH trust and fix onboarding registration
hanthor Oct 28, 2026
2606126
Prepare bounded K3s egress and restore serial recovery
hanthor Oct 28, 2026
7c9a279
Add guarded runtime bridge for pod egress
hanthor Oct 28, 2026
88bb153
Fix serial guard and record verified egress
hanthor Oct 28, 2026
4677813
Document Punjab staging and recovery status
hanthor Oct 28, 2026
6e33edb
Document Himachal native dotfiles validation
hanthor Oct 28, 2026
d211ed6
Record home installer acceptance result
hanthor Oct 28, 2026
11b42c2
Record completed Punjab home staging copy
hanthor Oct 28, 2026
3aa6fb8
Document staging access and isolated gateway smoke
hanthor Oct 28, 2026
1bcfb3a
Record Himachal file and backup checks
hanthor Oct 28, 2026
6d1ee98
Record staging connectivity checks
hanthor Oct 28, 2026
a02abd5
Record Punjab staging comparison
hanthor Oct 28, 2026
62e2793
Record completed Punjab follow-up sync
hanthor Oct 28, 2026
be8c861
Remove Kiro Crew and prepare Punjab replacement inventory
hanthor Oct 28, 2026
b4a1978
Freeze recovery snapshots and document runner retirement
hanthor Oct 28, 2026
fae5fff
Set verified Himachal SSH user for replacement fleet polling
hanthor Oct 28, 2026
e06591b
Cut Punjab over to Karnataka with reboot-safe networking
hanthor Oct 28, 2026
9d59ca9
Document verified replacement SSH identity and vault authorization
hanthor Oct 28, 2026
d9d3c59
Record completed Punjab shutdown and final fleet lifecycle
hanthor Oct 28, 2026
64a5a23
Repair Atuin authentication checks and document lossless sync recovery
hanthor Oct 28, 2026
5864a8a
Document safe recovery before old Atuin clients resume sync
hanthor Oct 28, 2026
d048cbe
Record account-wide AWS shutdown verification and Kiro cancellation
hanthor Oct 29, 2026
dcbbfbc
Provision Karnataka K3s access across the active fleet
hanthor Oct 29, 2026
22da85b
Retire AWS resources and remove obsolete deployment paths
hanthor Oct 29, 2026
c49c599
feat(beeper): install Beeper from FlatPark and sign it in on desktops
hanthor Oct 30, 2026
b7fef39
omp: hold no usage reserve on Claude Max
hanthor Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 0 additions & 38 deletions .ansible-lint

This file was deleted.

1 change: 1 addition & 0 deletions .chezmoiroot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
/roles/pi/files/package.json
/tools/secret-broker/go.mod
/tools/secret-broker/go.sum
/aws/.terraform.lock.hcl

# ── Always owned, even inside carve-outs ────────────────────────────────
/.github/ @hanthor
2 changes: 1 addition & 1 deletion .github/workflows/agent-automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
owned=$({
printf '%s\n' "$files" \
| grep -vE '^(docs/|tests/|talos-k8s/|roles/pi/files/skills/)|\.md$' \
| grep -vxE 'roles/pi/files/package\.json|tools/secret-broker/go\.(mod|sum)|aws/\.terraform\.lock\.hcl'
| grep -vxE 'roles/pi/files/package\.json|tools/secret-broker/go\.(mod|sum)'
printf '%s\n' "$files" | grep '^\.github/'
} | sort -u | sed '/^$/d')
if [ -n "$owned" ]; then
Expand Down
78 changes: 35 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,13 @@ jobs:

- name: Install tools
run: |
pip install yamllint ansible-lint
pip install yamllint
sudo apt-get install -y shellcheck

- name: yamllint
run: |
yamllint -d "{extends: default, rules: {line-length: disable, document-start: disable, truthy: disable, comments-indentation: disable, comments: disable, braces: disable, indentation: disable, commas: disable, empty-lines: disable}}" .

# ansible-lint would install requirements.yml itself, with no retry;
# galaxy.ansible.com intermittently resets connections (#217).
- name: Install collections
run: |
for i in 1 2 3; do
ansible-galaxy collection install -r requirements.yml && exit 0
echo "galaxy install failed (attempt $i); retrying"
sleep $((i * 15))
done
exit 1

- name: ansible-lint
run: ansible-lint --offline site.yml

- name: shellcheck
run: |
find . -name "*.sh" -not -path "./.git/*" -type f -print0 | xargs -0 shellcheck -x -S error
Expand Down Expand Up @@ -74,8 +60,10 @@ jobs:

- uses: astral-sh/setup-uv@v10.3.0

- uses: extractions/setup-just@v4

- name: pytest
run: uvx --with pyyaml pytest -q tests
run: uvx --with pyyaml --with paramiko pytest -q tests

osquery-smoke:
strategy:
Expand All @@ -85,15 +73,25 @@ jobs:
steps:
- uses: actions/checkout@v7

- name: Install Ansible
- name: Install native inventory dependency
run: |
pip install ansible-core
ansible-galaxy collection install -r requirements.yml
case "$(uname -m)" in x86_64) arch=amd64 ;; aarch64) arch=arm64 ;; *) exit 1 ;; esac
sudo curl --fail --location --silent --show-error \
"https://github.com/mikefarah/yq/releases/download/v4.47.2/yq_linux_$arch" -o /usr/local/bin/yq
sudo chmod 755 /usr/local/bin/yq

# The hosted runner is not on the fleet tailnet. Keep Punjab's real
# inventory variables and server membership, but do not claim remote
# discovery or remote host health in this local integration smoke.
- name: Select local smoke inventory
run: |
yq -i '.all.hosts |= with_entries(select(.key == "punjab")) |
.all.children = {"server": {"hosts": {"punjab": null}}}' inventory.yml

- name: Install actual native osquery and private reporting
run: >-
ansible-playbook -i "$(hostname)," -c local site.yml --tags osquery
--skip-tags secrets -e "target=$(hostname)" -e osquery_poller_enabled=true
run: |
echo punjab | sudo tee /etc/dotfiles-machine >/dev/null
DOTFILES_MACHINE=punjab bash units/osquery.sh

- name: Exercise real socket, enabled unit and baseline transitions
run: sudo python3 tests/osquery_smoke.py
Expand All @@ -103,12 +101,25 @@ jobs:

- name: Verify poller opt-out stops the schedule and service
run: |
ansible-playbook -i "$(hostname)," -c local site.yml --tags osquery \
--skip-tags secrets -e "target=$(hostname)" -e osquery_poller_enabled=false
yq -i '.osquery_poller_enabled = false' host_vars/punjab.yml
DOTFILES_MACHINE=punjab bash units/osquery.sh
test "$(systemctl show fleet-osquery-poll.timer -p ActiveState --value)" = inactive
test "$(systemctl show fleet-osquery-poll.timer -p UnitFileState --value)" = disabled
test "$(systemctl show fleet-osquery-poll.service -p ActiveState --value)" = inactive

- name: Diagnose osquery smoke failure
if: ${{ failure() }}
run: |
sudo systemctl status fleet-osquery-poll.service fleet-osquery-report.service osqueryd.service --no-pager -l || true
sudo journalctl -b --no-pager -u fleet-osquery-poll.service -u fleet-osquery-report.service -u osqueryd.service -n 200 || true
if [ -f "$HOME/.local/state/fleet-osquery/latest.json" ]; then
echo 'Snapshot error reasons (no report contents):'
jq -r '(.error // empty), (.hosts[]? | select(.status == "error" or .status == "stale") | .reason // empty)' \
"$HOME/.local/state/fleet-osquery/latest.json" | sort -u || true
fi
command -v tailscale || echo 'tailscale CLI not found'
systemctl is-active tailscaled.service || true

# Renovate may bump pi's npm deps unreviewed (CODEOWNERS carve-out); this
# makes sure a PR can't *add* or remove one without a human.
deps-guard:
Expand Down Expand Up @@ -140,25 +151,6 @@ jobs:
- name: Validate Justfile
run: just --justfile Justfile --list

tofu:
runs-on: ubuntu-latest
defaults:
run:
working-directory: aws
steps:
- uses: actions/checkout@v7

- uses: opentofu/setup-opentofu@v2

- name: fmt
run: tofu fmt -check -recursive

- name: validate
run: tofu init -backend=false -input=false && tofu validate

- name: test (mock provider, no AWS access)
run: tests/run.sh

broker:
runs-on: ubuntu-latest
defaults:
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/server-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,15 @@ jobs:

- name: Install starter and accept a real bootc switch
run: |
# The recorded acceptance runner had 85 GiB free on a 145 GiB root
# filesystem. Keep sequential media construction: the extra retained
# ISO is bounded below 2 GiB, and the starter disk/registry are removed
# before the existing two-node acceptance. No third VM disk overlaps.
# Keep media construction sequential to bound runner disk usage.
# Utah includes a desktop and its offline payload, so allow up to
# 8 GiB per ISO/archive here. Publication has a separate asset limit.
df -h "$ARTIFACTS" | tee "$ARTIFACTS/starter-capacity.log"
just server-installer starter \
"ghcr.io/$REGISTRY_OWNER/home-k8s-starter:testing" \
"$ARTIFACTS/starter-installer.iso" \
2>&1 | tee "$ARTIFACTS/starter-build-installer.log"
test "$(stat --format=%s "$ARTIFACTS/starter-installer.iso")" -lt 2147483648
test "$(stat --format=%s "$ARTIFACTS/starter-installer.iso")" -lt 8589934592
uv run server-images/test-vm.py --artifacts "$ARTIFACTS" \
--accel kvm install starter \
2>&1 | tee "$ARTIFACTS/starter-install-driver.log"
Expand All @@ -164,7 +163,7 @@ jobs:
podman save --format oci-archive \
--output "$ARTIFACTS/home-k8s-bihar.oci.tar" \
localhost/home-k8s-bihar:testing
test "$(stat --format=%s "$ARTIFACTS/home-k8s-bihar.oci.tar")" -lt 2147483648
test "$(stat --format=%s "$ARTIFACTS/home-k8s-bihar.oci.tar")" -lt 8589934592
podman pull "$REGISTRY_FIXTURE_IMAGE"
registry="home-k8s-starter-switch-$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
podman run --detach --name "$registry" --pull=never \
Expand Down Expand Up @@ -233,7 +232,7 @@ jobs:
just server-installer "$node" \
"ghcr.io/$REGISTRY_OWNER/home-k8s-$node:testing" "$iso" \
2>&1 | tee "$ARTIFACTS/$node-build-installer.log"
test "$(stat --format=%s "$iso")" -lt 2147483648
test "$(stat --format=%s "$iso")" -lt 8589934592
uv run server-images/test-vm.py --artifacts "$ARTIFACTS" \
--accel kvm install "$node" \
2>&1 | tee "$ARTIFACTS/$node-install-driver.log"
Expand Down
Loading