From 3eb59653866efb013d3331f6502debfe52d7421c Mon Sep 17 00:00:00 2001 From: Gabriel Fontes Date: Sun, 14 Jun 2026 21:54:54 -0300 Subject: [PATCH] docs(agents): add deploy verification flow to AGENTS.md --- AGENTS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 565ce423..57e81806 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -72,6 +72,14 @@ Conventional commits: `type(scope): description` - Home-manager standalone: `home-manager switch --flake .#{user}@{host}` - CI/CD: Hydra at `hydra.m7.rs` builds all hosts on push; hosts auto-upgrade from the latest successful build (see `modules/nixos/hydra-auto-upgrade.nix`). +### Post-deploy verification + +After deploying a host, verify the correct revision landed: + +1. `ssh {host} -- nix flake metadata self --json | jq .revision -r` — get the deployed commit hash (first 8 chars). +2. `jj log -r 'commit_id("{hash}")'` — map it to a change ID and commit description. +3. Confirm it's the expected commit (should be at or near `main` / the tip of the stack). + ## Vdirsyncer Calendar Collections When adding a remote calendar collection to `home/gabriel/features/productivity/calendar.nix`: