From d93f42de43cb3efbbc768ba4fa10a91d7c80837c Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Sun, 20 Sep 2026 03:22:26 +0800 Subject: [PATCH 1/2] fix(test): correct action count in action-reference footer The footer said '_{total} actions have an ActionSpec' but ListJobHistory is part of KNOWN_ACTION_NAMES even though it has no ActionSpec and is not in the table. The total catalogue count is total + 1, so the first sentence must also say total + 1. Closes #455 --- crates/sysknife-daemon/tests/action_reference_doc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sysknife-daemon/tests/action_reference_doc.rs b/crates/sysknife-daemon/tests/action_reference_doc.rs index c09a8fa2..8163963a 100644 --- a/crates/sysknife-daemon/tests/action_reference_doc.rs +++ b/crates/sysknife-daemon/tests/action_reference_doc.rs @@ -137,7 +137,7 @@ fn build_reference() -> String { } out.push_str(&format!( - "---\n\n_{total} actions have an `ActionSpec` and are tabled above. The \ + "---\n\n_{total + 1} actions have an `ActionSpec` and are tabled above. The \ full catalogue (`KNOWN_ACTION_NAMES`) also includes `ListJobHistory`, \ which the dispatcher handles before the executor, for **{}** total._\n", total + 1 From 7c87d25e4413620beca332152d2cef1a9bfb0123 Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Sun, 20 Sep 2026 03:23:11 +0800 Subject: [PATCH 2/2] docs: clarify CLAUDE.md pre-commit gate fallback for GUI-incapable contributors When a contributor cannot install the GUI platform libraries, they cannot run `cargo nextest run --workspace`. The CONTRIBUTING.md fallback was described but neither file said which governs when both apply. This inserts a cross-reference paragraph in the pre-commit gate section directing contributors to the CONTRIBUTING.md fallback and reminding them not to edit evidence files by hand. Closes #451 --- CLAUDE.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 4d159d7e..9f95659d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -28,6 +28,13 @@ pre-existing failures. If a test asserts the wrong value, fix the test assertion to match the code (or fix the code if the test is right); do not skip or ignore the test. +**If you cannot run the full workspace suite** because your platform lacks the GUI +library dependencies, follow the `CONTRIBUTING.md` fallback instead: run what +you can, leave the evidence files untouched, and name the missing tool or library +in your PR body. A maintainer will run the full suite before merge. +Do not guess evidence or edit metadata by hand to work around this. + + ## Repository Workflow - Use isolated git worktrees for feature work.