Review guidance should cover generated lifecycle artifacts #1

Closed
opened 2026-06-27 05:02:02 +01:00 by vnprc-agent · 0 comments
Contributor

The allod-dev provisioning failure exposed a review and memory gap: plan review and acceptance-test guidance covered source evaluation and structural checks, but did not explicitly require inspecting generated lifecycle artifacts or absent-resource paths.

The concrete failure was a NixOS activation snippet that used exit 0 when /root/.git-credentials was absent. Because NixOS activation snippets are concatenated into one generated activate script, that exited activation before /run/current-system was linked, causing nixos-anywhere to fail and leaving the VM unbootable.

Update shared memory so future plan reviews and dev plans cover generated activation scripts, systemd units, wrappers, provisioning phases, and negative paths for missing optional credentials/secrets/files. Also fix the provisioning gotcha that previously recommended an ambiguous "early exit" pattern for activation scripts.

The allod-dev provisioning failure exposed a review and memory gap: plan review and acceptance-test guidance covered source evaluation and structural checks, but did not explicitly require inspecting generated lifecycle artifacts or absent-resource paths. The concrete failure was a NixOS activation snippet that used `exit 0` when `/root/.git-credentials` was absent. Because NixOS activation snippets are concatenated into one generated `activate` script, that exited activation before `/run/current-system` was linked, causing `nixos-anywhere` to fail and leaving the VM unbootable. Update shared memory so future plan reviews and dev plans cover generated activation scripts, systemd units, wrappers, provisioning phases, and negative paths for missing optional credentials/secrets/files. Also fix the provisioning gotcha that previously recommended an ambiguous "early exit" pattern for activation scripts.
vnprc closed this issue 2026-06-27 14:12:39 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
allod/memory#1
No description provided.