Repository navigation
policy: report a tombstone where systemd units are the system configuration's; refusal says supervisor nixos (S0) - #26
Conversation
…e; refusal says supervisor nixos (S0) A tombstone has no unit and so no flavour; _refused needs _present and teardown needs tendcf_systemd_host, so on a NixOS-shaped host it was silent. Add service_*_tombstone_elsewhere and a report (D3: report, never act). check 7b covers the NixOS shape; negative assertions on the normal systemd and non-systemd paths. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: b56d2257-adc5-45f1-9a53-153f7691c1fa) |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…table (pass-1 false 'refused' on normal systemd hosts); pin it in check 6; check 7b keeps a declared unit
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 643766a9-fea7-49c8-bbfd-1250b35d6645) |
Slice S0 of docs/architecture/schema-v4-reconciliation-2026-10-31.md §6.1 (spec PR #25). On a host where /etc/systemd/system is not a writable directory (NixOS), a tombstone was silent:
_refusedneeds_presentand teardown needstendcf_systemd_host. New classservice_*_tombstone_elsewhereand report line; the refusal wording changes from "unit writer nixos" to "supervisor nixos" (Q7).Also fixes a pre-existing bug (since #20, on master; pastebin runs 4855f56 which predates it, so no live host was affected):
tendcf_systemd_units_writablewas declared above its operands, so in pass 1 it read false andtendcf_systemd_units_elsewherewas set (and never unset) on every normal systemd host: every present systemd entry printed a false "refused … not a writable directory" line while being rendered in pass 2. Seen in this PR's first CI run (ubuntu VMs, sysd1 output). Operands now precede it; check 6 asserts no refusal on a normal host.Tests: check 7b (NixOS shape, opt-in) with a declared unit file that must survive; negatives on a normal systemd host (check 6, sysd1 and sysd4) and on a host not booted by systemd. Local (Mac, dev build 3.29.0a.086d27749): tests/policy/run.sh passes; shellcheck clean. Linux checks 6/7/7b in CI.
Author: Claude Sonnet 5.5 high (bigteam slice); lead review and the ordering fix: Opus 5.5 high.
Review: Fable 5.1 high (
acp-dispatch claude --model fable --kind frontier, read-only); astra short (codex 45% < 60% estimate floor). Verdict: approve with changes. Fixed: F1 (HIGH) operand order, plus the check-6 pin; F2 7b now keeps a declared unit; F3 plan §3 wording (§1 is in #25). F4/F5 no action.