You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@magpie.apache.org by po...@apache.org on 2026/10/25 20:14:43 UTC

(magpie) 02/02: fix(setup): show the setup welcome guide, find the Subversion layer, re-point the Codex hook

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch fix/post-sync-inconsistencies
in repository https://gitbox.apache.org/repos/asf/magpie.git

commit 3c3a2441a5d3b1656317eb350db6ede1c0587d71
Author: Jarek Potiuk <po...@apache.org>
AuthorDate: Sun Oct 25 21:05:11 2026 +0100

    fix(setup): show the setup welcome guide, find the Subversion layer, re-point the Codex hook
    
    Follow-ups to the same spec-sync pass, each a gap a recent change left:
    
    - The setup family is exempt from the shared pre-flight, so its welcome
      guide never showed. The `setup` skill now runs a welcome-only check
      (`setup_preflight.welcome due --skill setup`) before any sub-action;
      the exemption stays. The first-run eval case moves into its own
      `welcome-first-run` suite built from that step.
    - #1779 added a Subversion personal layer at `.svn/apache-magpie/`, but
      the pre-flight path was git-only, so a checker installed there was
      never found, and `setup config` stopped outside git. The path now
      includes `.svn/apache-magpie` and no longer errors outside git;
      `config` Step 0 handles git, Subversion and no-VCS working copies as
      `layers.py` does. A test runs the block's path in all three.
    - The root Codex plugin wired SessionStart to a `hooks/check-upgrade.sh`
      that has not existed since #1208; it now runs the magpie-setup script
      with `/bin/bash -p`, and check-family-plugins pins that wiring.
    - generate-cve-json's README documents its config file (lookup order,
      every key, an example), which its error messages already pointed at.
    - tools/hook-manager's README gains Operations and Configuration
      sections.
    
    Generated-by: Claude Opus 5
---
 .codex-plugin/plugin.json                          |  2 +-
 .pre-commit-config.yaml                            |  2 +-
 docs/mode-economics.md                             |  3 +-
 docs/setup/README.md                               |  6 +-
 docs/setup/marketplace.md                          |  2 +-
 .../skills/activity-sweep/SKILL.md                 | 13 ++--
 .../skills/calibrate/SKILL.md                      | 13 ++--
 .../skills/candidate-screen/SKILL.md               | 13 ++--
 .../skills/committer-onboarding/SKILL.md           | 13 ++--
 .../skills/contributor-to-committer/SKILL.md       | 13 ++--
 .../skills/identity-map/SKILL.md                   | 13 ++--
 .../skills/nomination/SKILL.md                     | 13 ++--
 .../skills/onboarding-concierge/SKILL.md           | 13 ++--
 .../skills/sentiment/SKILL.md                      | 13 ++--
 plugins/magpie-issue/skills/backlog-stats/SKILL.md | 13 ++--
 plugins/magpie-issue/skills/deduplicate/SKILL.md   | 13 ++--
 plugins/magpie-issue/skills/fix-workflow/SKILL.md  | 13 ++--
 .../magpie-issue/skills/reassess-stats/SKILL.md    | 13 ++--
 plugins/magpie-issue/skills/reassess/SKILL.md      | 13 ++--
 plugins/magpie-issue/skills/reproducer/SKILL.md    | 13 ++--
 plugins/magpie-issue/skills/stale-sweep/SKILL.md   | 13 ++--
 plugins/magpie-issue/skills/triage/SKILL.md        | 13 ++--
 .../skills/good-first-issue-author/SKILL.md        | 13 ++--
 .../skills/good-first-issue-sweep/SKILL.md         | 13 ++--
 .../skills/newcomer-issue-explainer/SKILL.md       | 13 ++--
 plugins/magpie-mentoring/skills/welcome/SKILL.md   | 13 ++--
 .../skills/multi-agent-review/SKILL.md             | 13 ++--
 plugins/magpie-pairing/skills/self-review/SKILL.md | 13 ++--
 .../skills/code-review/SKILL.md                    | 13 ++--
 .../magpie-pr-management/skills/mentor/SKILL.md    | 13 ++--
 .../skills/pr-stale-sweep/SKILL.md                 | 13 ++--
 .../magpie-pr-management/skills/pr-triage/SKILL.md | 13 ++--
 .../skills/pre-first-pr-check/SKILL.md             | 13 ++--
 .../skills/quick-merge/SKILL.md                    | 13 ++--
 .../skills/reviewer-routing/SKILL.md               | 13 ++--
 .../skills/stack-review/SKILL.md                   | 13 ++--
 plugins/magpie-pr-management/skills/stats/SKILL.md | 13 ++--
 .../skills/announce-draft/SKILL.md                 | 13 ++--
 .../skills/archive-sweep/SKILL.md                  | 13 ++--
 .../skills/audit-report/SKILL.md                   | 13 ++--
 .../skills/keys-sync/SKILL.md                      | 13 ++--
 .../skills/prepare/SKILL.md                        | 13 ++--
 .../skills/promote/SKILL.md                        | 13 ++--
 .../skills/rc-cut/SKILL.md                         | 13 ++--
 .../skills/verify-rc/SKILL.md                      | 13 ++--
 .../skills/vote-draft/SKILL.md                     | 13 ++--
 .../skills/vote-tally/SKILL.md                     | 13 ++--
 .../skills/audit-finding-fix/SKILL.md              | 13 ++--
 .../skills/ci-runner-audit/SKILL.md                | 13 ++--
 .../skills/dependency-audit/SKILL.md               | 13 ++--
 .../skills/dependency-license-audit/SKILL.md       | 13 ++--
 .../skills/flaky-test-triage/SKILL.md              | 13 ++--
 .../skills/license-compliance-audit/SKILL.md       | 13 ++--
 .../skills/workflow-optimization/SKILL.md          | 13 ++--
 .../skills/workflow-security-audit/SKILL.md        | 13 ++--
 .../cve-tool-vulnogram/generate-cve-json/README.md | 86 ++++++++++++++++++++++
 .../src/generate_cve_json/cve_json.py              |  7 +-
 .../magpie-security/skills/cve-allocate/SKILL.md   | 13 ++--
 .../skills/issue-deduplicate/SKILL.md              | 13 ++--
 plugins/magpie-security/skills/issue-fix/SKILL.md  | 13 ++--
 .../skills/issue-import-from-md/SKILL.md           | 13 ++--
 .../skills/issue-import-from-pr/SKILL.md           | 13 ++--
 .../skills/issue-import-from-scan/SKILL.md         | 13 ++--
 .../skills/issue-import-via-forwarder/SKILL.md     | 13 ++--
 .../magpie-security/skills/issue-import/SKILL.md   | 13 ++--
 .../skills/issue-invalidate/SKILL.md               | 13 ++--
 plugins/magpie-security/skills/issue-sync/SKILL.md | 13 ++--
 .../magpie-security/skills/issue-triage/SKILL.md   | 13 ++--
 .../magpie-security/skills/model-prepare/SKILL.md  | 13 ++--
 .../magpie-security/skills/model-update/SKILL.md   | 13 ++--
 .../magpie-security/skills/model-verify/SKILL.md   | 13 ++--
 .../skills/submit-to-oss-scan/SKILL.md             | 13 ++--
 .../skills/tracker-stats-dashboard/SKILL.md        | 13 ++--
 plugins/magpie-setup/hooks/check-upgrade.sh        |  5 +-
 .../magpie-setup/skills/complete-upgrade/SKILL.md  |  4 +-
 .../skills/isolated-setup-install/SKILL.md         |  4 +-
 .../skills/isolated-setup-update/SKILL.md          |  4 +-
 plugins/magpie-setup/skills/setup/SKILL.md         | 22 +++++-
 plugins/magpie-setup/skills/setup/config.md        | 49 +++++++-----
 plugins/magpie-setup/skills/setup/delegates.md     |  2 +-
 .../skills/setup/setup_preflight/guides/_footer.md |  2 +-
 .../setup/setup_preflight/sections/step-11.md      |  2 +-
 .../setup/setup_preflight/sections/welcome.md      |  2 +-
 .../skills/setup/setup_preflight/welcome.py        | 17 +++++
 plugins/magpie-setup/skills/setup/upgrade.md       |  2 +-
 plugins/magpie-setup/skills/welcome-guide/SKILL.md |  6 +-
 .../magpie-utilities/skills/list-skills/SKILL.md   | 13 ++--
 .../skills/optimize-skill/SKILL.md                 | 13 ++--
 .../skills/report-framework-issue/SKILL.md         | 13 ++--
 .../skills/skill-reconciler/SKILL.md               | 13 ++--
 .../magpie-utilities/skills/write-skill/SKILL.md   | 13 ++--
 .../cve-tool-vulnogram/generate-cve-json/README.md | 86 ++++++++++++++++++++++
 .../cve-tool-vulnogram/generate-cve-json/SKILL.md  |  3 +-
 .../src/generate_cve_json/cve_json.py              |  7 +-
 tools/dev/README.md                                |  2 +-
 tools/dev/check-family-plugins.py                  | 29 +++++++-
 tools/dev/preflight-block.md                       | 11 +--
 tools/dev/render-preflight-fixtures.py             | 55 ++++++++++----
 tools/dev/tests/test_render_preflight_fixtures.py  | 27 ++++++-
 tools/hook-manager/README.md                       | 28 +++++++
 tools/setup-preflight/tests/test_layers.py         | 48 ++++++++++++
 tools/setup-preflight/tests/test_welcome.py        | 44 +++++++++++
 tools/skill-evals/README.md                        |  2 +-
 tools/skill-evals/evals/setup/README.md            |  5 +-
 .../fixtures/case-10-utilities-first-run/report.md |  4 +-
 .../fixtures/case-11-mentoring-first-run/report.md |  4 +-
 .../fixtures/case-12-pairing-first-run/report.md   |  4 +-
 .../fixtures/case-13-issue-first-run/report.md     |  4 +-
 .../case-14-pr-management-first-run/report.md      |  4 +-
 .../case-15-contributor-growth-first-run/report.md |  4 +-
 .../case-19-repo-health-first-run/report.md        |  4 +-
 .../fixtures/case-20-setup-first-run/expected.json |  1 -
 .../fixtures/case-20-setup-first-run/state.json    | 20 -----
 .../case-21-release-management-first-run/report.md |  4 +-
 .../fixtures/case-9-first-magpie-run/report.md     |  4 +-
 .../case-1-first-magpie-run}/case-meta.json        |  0
 .../fixtures/case-1-first-magpie-run/expected.json |  1 +
 .../fixtures/case-1-first-magpie-run}/report.md    | 17 ++---
 .../fixtures/case-1-first-magpie-run/state.json    |  1 +
 .../case-meta.json                                 |  0
 .../case-2-setup-guide-after-general/expected.json |  1 +
 .../case-2-setup-guide-after-general}/report.md    | 14 ++--
 .../case-2-setup-guide-after-general/state.json    |  1 +
 .../fixtures/case-3-nothing-due}/case-meta.json    |  0
 .../fixtures/case-3-nothing-due/expected.json      |  1 +
 .../fixtures/case-3-nothing-due/report.md          | 19 +++++
 .../fixtures/case-3-nothing-due/state.json         |  1 +
 .../welcome-first-run/fixtures/output-spec.md      | 36 +++++++++
 .../welcome-first-run/fixtures/step-config.json    |  4 +
 .../fixtures/user-prompt-template.md               |  9 +++
 tools/spec-loop/specs/adoption-and-setup.md        |  2 +-
 131 files changed, 1103 insertions(+), 560 deletions(-)

diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 14f171797..e0791993f 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -9,7 +9,7 @@
         "hooks": [
           {
             "type": "command",
-            "command": "${PLUGIN_ROOT}/hooks/check-upgrade.sh",
+            "command": "/bin/bash -p \"${PLUGIN_ROOT}/plugins/magpie-setup/hooks/check-upgrade.sh\"",
             "timeout": 10
           }
         ]
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 61af30a29..f4ba1b4e2 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -565,7 +565,7 @@ repos:
         name: render-preflight-fixtures (pre-flight eval cases vs the real checker)
         language: system
         entry: python3 tools/dev/render-preflight-fixtures.py
-        files: ^(plugins/magpie-setup/skills/setup/setup_preflight/.*|tools/skill-evals/evals/setup/preflight-floor/fixtures/.*|tools/dev/render-preflight-fixtures\.py)$
+        files: ^(plugins/magpie-setup/skills/setup/setup_preflight/.*|tools/skill-evals/evals/setup/(preflight-floor|welcome-first-run)/fixtures/.*|tools/dev/render-preflight-fixtures\.py)$
         pass_filenames: false
   # something else.
   - repo: local
diff --git a/docs/mode-economics.md b/docs/mode-economics.md
index 9cc02c745..1e79f3aec 100644
--- a/docs/mode-economics.md
+++ b/docs/mode-economics.md
@@ -95,7 +95,8 @@ block runs as one command. Then the rules prose moved there too, and the
 command now emits the sections its own findings name, so there is no
 second file to read and no per-skill copy of one.
 
-The block is **585 tokens**, against 1,679 before the check existed and
+The block is **635 tokens** (585 before the Subversion personal layer
+joined its path), against 1,679 before the check existed and
 3,271 at its peak. Each of the 65 skills is **1,075–1,081 tokens cheaper
 than on `main`** while carrying the whole check: `ci-runner-audit` 3,281 →
 2,203 (−32.9%), and the sidecar that briefly cost 2,516 tokens × 65 copies
diff --git a/docs/setup/README.md b/docs/setup/README.md
index afe0d199b..4c146a421 100644
--- a/docs/setup/README.md
+++ b/docs/setup/README.md
@@ -63,9 +63,11 @@ New to Magpie? The [quick start](../quick-start.md) walks the whole path in
 one place — install, the first `/magpie-setup:setup` run, and a recording of it
 happening — plus the other agents and the secure-isolation setup to run next.
 
-The first setup skill you run opens with a one-minute
+The `setup` skill (`/magpie-setup:setup`) opens with a one-minute
 [welcome guide](../../plugins/magpie-setup/skills/setup/setup_preflight/guides/setup.md):
 the typical flow, what needs configuring, what to ask it, and how to make it yours.
+If no Magpie skill has run here before, the general Magpie welcome comes first and this one on the next `setup` run.
+The other setup-family skills do not show it.
 Dismiss it, or hide it for good, from its last line;
 *"show the setup welcome again"* or `/magpie-setup:welcome-guide setup` brings it back.
 
@@ -157,7 +159,7 @@ for the complete rule.
 | [`setup-isolated-setup-update`](../../skills/setup-isolated-setup-update/SKILL.md) | Surface drift between the installed setup and the framework's latest. |
 | [`setup-privacy-llm`](../../skills/setup-privacy-llm/SKILL.md) | Configure which LLMs may see this project's private foundation mail, then prove it: detect the stack, write `privacy-llm.md` from the matching variant, and run the approved-LLM gate and the PII redactor end to end. |
 | [`setup`](../../skills/setup/SKILL.md) | Adopt and maintain the framework in a project repo through installation, verification, updates, overrides, and unadoption. |
-| [`setup upgrade`](../../skills/setup/upgrade.md) | Pull the framework checkout to latest `origin/main`. |
+| [`setup upgrade`](../../skills/setup/upgrade.md) | Pinned-snapshot install: re-fetch the snapshot per the committed lock, refresh symlinks, reconcile overrides, and refresh the personal layer's pre-flight checker. A marketplace install upgrades through the agent's plugin update instead. |
 | [`setup-complete-upgrade`](../../skills/setup-complete-upgrade/SKILL.md) | Finish a Magpie upgrade in one run: check this machine and project against the installed version, apply one approved plan, re-check, and print exact commands for what is out of reach. |
 | [`setup verify`](../../skills/setup/verify.md) | Verify the framework is integrated correctly into an adopter tracker. |
 | [`setup-status`](../../skills/setup-status/SKILL.md) | Render a Markdown adoption dashboard (install pin, drift, wired agent targets, installed skill families, symlink health) and adjust the wiring in place. |
diff --git a/docs/setup/marketplace.md b/docs/setup/marketplace.md
index 560dfb8a5..b8faa5bfb 100644
--- a/docs/setup/marketplace.md
+++ b/docs/setup/marketplace.md
@@ -610,7 +610,7 @@ automatic while the *changes* stay confirmed.
 | Agent | Mechanism |
 |---|---|
 | **Claude Code** | `SessionStart` hook [`plugins/magpie-setup/hooks/check-upgrade.sh`](../../plugins/magpie-setup/hooks/check-upgrade.sh) compares the installed version to a marker in the plugin's persistent data dir and prompts on change. Deterministic. |
-| **Codex CLI** | The same [`plugins/magpie-setup/hooks/check-upgrade.sh`](../../plugins/magpie-setup/hooks/check-upgrade.sh), wired inline via the plugin's `hooks` block — Codex uses the same event schema and the same `SessionStart` event. Codex sets `PLUGIN_ROOT`/`PLUGIN_DATA` (and the `CLAUDE_*` pair for compatibility), which the script reads. See the caveat below. |
+| **Codex CLI** | The same [`plugins/magpie-setup/hooks/check-upgrade.sh`](../../plugins/magpie-setup/hooks/check-upgrade.sh), wired inline in the `hooks` block of the root plugin's [`.codex-plugin/plugin.json`](../../.codex-plugin/plugin.json) as `/bin/bash -p "${PLUGIN_ROOT}/plugins/magpie-setup/hooks/check-upgrade.sh"` — Codex uses the same event schema and the same `SessionStart` event. For the root plugin `PLUGIN_ROOT` is the repo root, where the script finds the version manifests a [...]
 | **VS Code / Copilot, Cursor, Kiro (AP1)** | None. Agent Plugins 1.0 specifies no hook component and VS Code ignores client extension directories, so there is nothing to fire. Run `/magpie-setup:complete-upgrade` after updating. |
 | **Gemini CLI** | No lifecycle hook; the extension context file [`GEMINI.md`](../../GEMINI.md) instructs the agent to compare the extension version to a recorded marker and prompt on change (LLM-driven, advisory). |
 | Other agents | Run `/magpie-setup:complete-upgrade` manually after updating the package. |
diff --git a/plugins/magpie-contributor-growth/skills/activity-sweep/SKILL.md b/plugins/magpie-contributor-growth/skills/activity-sweep/SKILL.md
index 8e709ab97..579c3a8e7 100644
--- a/plugins/magpie-contributor-growth/skills/activity-sweep/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/activity-sweep/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "<github-handle> [window:Nm]"
 capability: capability:stats
 surface_hash: sha256:a39919af92a37e2d
 license: Apache-2.0
-measured_tokens: 3524
+measured_tokens: 3574
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -45,14 +45,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -64,12 +65,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/calibrate/SKILL.md b/plugins/magpie-contributor-growth/skills/calibrate/SKILL.md
index 73c8c00c2..03dcd03f3 100644
--- a/plugins/magpie-contributor-growth/skills/calibrate/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/calibrate/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[since:YYYY-MM-DD] [holdout:YYYY-MM-DD] [exclude-thread:<id>] [w
 capability: capability:stats
 surface_hash: sha256:9c623c35a58589e5
 license: Apache-2.0
-measured_tokens: 3777
+measured_tokens: 3827
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -52,14 +52,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -71,12 +72,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/candidate-screen/SKILL.md b/plugins/magpie-contributor-growth/skills/candidate-screen/SKILL.md
index 2861308af..4501e30a3 100644
--- a/plugins/magpie-contributor-growth/skills/candidate-screen/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/candidate-screen/SKILL.md
@@ -23,7 +23,7 @@ argument-hint: "[target:committer|pmc|both] [window:6m] [end:YYYY-MM-DD]"
 capability: capability:stats
 surface_hash: sha256:a1767d466ee963d1
 license: Apache-2.0
-measured_tokens: 4084
+measured_tokens: 4134
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -50,14 +50,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -69,12 +70,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/committer-onboarding/SKILL.md b/plugins/magpie-contributor-growth/skills/committer-onboarding/SKILL.md
index f7d0f5073..4e288e5d8 100644
--- a/plugins/magpie-contributor-growth/skills/committer-onboarding/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/committer-onboarding/SKILL.md
@@ -26,7 +26,7 @@ capability:
   - capability:triage
 surface_hash: sha256:fc0108bae9d7b687
 license: Apache-2.0
-measured_tokens: 4764
+measured_tokens: 4814
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -59,14 +59,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -78,12 +79,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/contributor-to-committer/SKILL.md b/plugins/magpie-contributor-growth/skills/contributor-to-committer/SKILL.md
index e80d9ceb8..1452731dc 100644
--- a/plugins/magpie-contributor-growth/skills/contributor-to-committer/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/contributor-to-committer/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "<github-handle> [target:committer|pmc] [window:Nm]"
 capability: capability:stats
 surface_hash: sha256:bdf92c88a304ddea
 license: Apache-2.0
-measured_tokens: 5252
+measured_tokens: 5302
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/identity-map/SKILL.md b/plugins/magpie-contributor-growth/skills/identity-map/SKILL.md
index 091cfa2e6..444736c44 100644
--- a/plugins/magpie-contributor-growth/skills/identity-map/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/identity-map/SKILL.md
@@ -23,7 +23,7 @@ argument-hint: "<github-handle>[,<github-handle>...] [context:standalone|onboard
 capability: capability:intake
 surface_hash: sha256:78eccfcead182fca
 license: Apache-2.0
-measured_tokens: 3531
+measured_tokens: 3581
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/nomination/SKILL.md b/plugins/magpie-contributor-growth/skills/nomination/SKILL.md
index d46941a9d..2a375898b 100644
--- a/plugins/magpie-contributor-growth/skills/nomination/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/nomination/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "<github-handle> [window:Nm] [target:committer|pmc]"
 capability: capability:stats
 surface_hash: sha256:d088479a32dcc0cf
 license: Apache-2.0
-measured_tokens: 5360
+measured_tokens: 5410
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -50,14 +50,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -69,12 +70,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/onboarding-concierge/SKILL.md b/plugins/magpie-contributor-growth/skills/onboarding-concierge/SKILL.md
index b269bc2c3..cefd512b8 100644
--- a/plugins/magpie-contributor-growth/skills/onboarding-concierge/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/onboarding-concierge/SKILL.md
@@ -21,7 +21,7 @@ argument-hint: "[newcomer question or issue/PR URL]"
 capability: capability:review
 surface_hash: sha256:4105a6571bcb70c2
 license: Apache-2.0
-measured_tokens: 3410
+measured_tokens: 3460
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -45,14 +45,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -64,12 +65,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-contributor-growth/skills/sentiment/SKILL.md b/plugins/magpie-contributor-growth/skills/sentiment/SKILL.md
index 4f6e2d328..e4cb6b35a 100644
--- a/plugins/magpie-contributor-growth/skills/sentiment/SKILL.md
+++ b/plugins/magpie-contributor-growth/skills/sentiment/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[window:Nm] [baseline:YYYY-MM-DD..YYYY-MM-DD]"
 capability: capability:stats
 surface_hash: sha256:c325db1d99634a51
 license: Apache-2.0
-measured_tokens: 4660
+measured_tokens: 4710
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -45,14 +45,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -64,12 +65,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/backlog-stats/SKILL.md b/plugins/magpie-issue/skills/backlog-stats/SKILL.md
index 1d89c4700..0f2daa18f 100644
--- a/plugins/magpie-issue/skills/backlog-stats/SKILL.md
+++ b/plugins/magpie-issue/skills/backlog-stats/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[repo:owner/name] [since:date] [--markdown] [--tables-only] [cle
 capability: capability:stats
 surface_hash: sha256:0f124437a9fa54f9
 license: Apache-2.0
-measured_tokens: 5055
+measured_tokens: 5105
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -54,14 +54,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -73,12 +74,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/deduplicate/SKILL.md b/plugins/magpie-issue/skills/deduplicate/SKILL.md
index cb7734ac2..b2ed58e11 100644
--- a/plugins/magpie-issue/skills/deduplicate/SKILL.md
+++ b/plugins/magpie-issue/skills/deduplicate/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "[kept-issue] [duplicate-issue]"
 capability: capability:resolve
 surface_hash: sha256:10a3cb1b8a2892e2
 license: Apache-2.0
-measured_tokens: 4723
+measured_tokens: 4773
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -55,14 +55,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -74,12 +75,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/fix-workflow/SKILL.md b/plugins/magpie-issue/skills/fix-workflow/SKILL.md
index 7e7b45fe9..dccf53de9 100644
--- a/plugins/magpie-issue/skills/fix-workflow/SKILL.md
+++ b/plugins/magpie-issue/skills/fix-workflow/SKILL.md
@@ -25,7 +25,7 @@ when_to_use: |
 capability: capability:fix
 surface_hash: sha256:cdd7487f53514882
 license: Apache-2.0
-measured_tokens: 5040
+measured_tokens: 5090
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -55,14 +55,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -74,12 +75,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/reassess-stats/SKILL.md b/plugins/magpie-issue/skills/reassess-stats/SKILL.md
index 9df0ababc..d1b5dc283 100644
--- a/plugins/magpie-issue/skills/reassess-stats/SKILL.md
+++ b/plugins/magpie-issue/skills/reassess-stats/SKILL.md
@@ -22,7 +22,7 @@ when_to_use: |
 capability: capability:stats
 surface_hash: sha256:44c7826660a3ae71
 license: Apache-2.0
-measured_tokens: 3171
+measured_tokens: 3221
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -51,14 +51,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -70,12 +71,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/reassess/SKILL.md b/plugins/magpie-issue/skills/reassess/SKILL.md
index 1a9afed9b..e3bba8668 100644
--- a/plugins/magpie-issue/skills/reassess/SKILL.md
+++ b/plugins/magpie-issue/skills/reassess/SKILL.md
@@ -26,7 +26,7 @@ when_to_use: |
 capability: capability:reassess
 surface_hash: sha256:cb023dff6e95a57a
 license: Apache-2.0
-measured_tokens: 5159
+measured_tokens: 5209
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -56,14 +56,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -75,12 +76,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/reproducer/SKILL.md b/plugins/magpie-issue/skills/reproducer/SKILL.md
index ac1fe98a4..d4476c6d1 100644
--- a/plugins/magpie-issue/skills/reproducer/SKILL.md
+++ b/plugins/magpie-issue/skills/reproducer/SKILL.md
@@ -27,7 +27,7 @@ when_to_use: |
 capability: capability:reassess
 surface_hash: sha256:85440f7009f84de6
 license: Apache-2.0
-measured_tokens: 5300
+measured_tokens: 5350
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -57,14 +57,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -76,12 +77,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/stale-sweep/SKILL.md b/plugins/magpie-issue/skills/stale-sweep/SKILL.md
index a78e5d7b7..80ce98139 100644
--- a/plugins/magpie-issue/skills/stale-sweep/SKILL.md
+++ b/plugins/magpie-issue/skills/stale-sweep/SKILL.md
@@ -26,7 +26,7 @@ when_to_use: |
 capability: capability:triage
 surface_hash: sha256:65673690910c37f0
 license: Apache-2.0
-measured_tokens: 5163
+measured_tokens: 5213
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -51,14 +51,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -70,12 +71,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-issue/skills/triage/SKILL.md b/plugins/magpie-issue/skills/triage/SKILL.md
index a4240e4e8..c31a0fd7e 100644
--- a/plugins/magpie-issue/skills/triage/SKILL.md
+++ b/plugins/magpie-issue/skills/triage/SKILL.md
@@ -25,7 +25,7 @@ when_to_use: |
 capability: capability:triage
 surface_hash: sha256:fb90bdc45aec5f8a
 license: Apache-2.0
-measured_tokens: 5235
+measured_tokens: 5285
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -47,14 +47,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -66,12 +67,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-mentoring/skills/good-first-issue-author/SKILL.md b/plugins/magpie-mentoring/skills/good-first-issue-author/SKILL.md
index ef9f1885e..d5cf51dc5 100644
--- a/plugins/magpie-mentoring/skills/good-first-issue-author/SKILL.md
+++ b/plugins/magpie-mentoring/skills/good-first-issue-author/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "[candidate-gap-or-task]"
 capability: capability:review
 surface_hash: sha256:ac2d0fda09c67231
 license: Apache-2.0
-measured_tokens: 3784
+measured_tokens: 3834
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -50,14 +50,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -69,12 +70,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-mentoring/skills/good-first-issue-sweep/SKILL.md b/plugins/magpie-mentoring/skills/good-first-issue-sweep/SKILL.md
index e0c1d8acf..6e89999d6 100644
--- a/plugins/magpie-mentoring/skills/good-first-issue-sweep/SKILL.md
+++ b/plugins/magpie-mentoring/skills/good-first-issue-sweep/SKILL.md
@@ -27,7 +27,7 @@ capability:
   - capability:triage
 surface_hash: sha256:591ae352325ca83d
 license: Apache-2.0
-measured_tokens: 4361
+measured_tokens: 4411
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -52,14 +52,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -71,12 +72,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-mentoring/skills/newcomer-issue-explainer/SKILL.md b/plugins/magpie-mentoring/skills/newcomer-issue-explainer/SKILL.md
index d575054f7..2869e0c79 100644
--- a/plugins/magpie-mentoring/skills/newcomer-issue-explainer/SKILL.md
+++ b/plugins/magpie-mentoring/skills/newcomer-issue-explainer/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[issue-number or issue-URL]"
 capability: capability:review
 surface_hash: sha256:8cfe453a3113abe2
 license: Apache-2.0
-measured_tokens: 3607
+measured_tokens: 3657
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -48,14 +48,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -67,12 +68,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-mentoring/skills/welcome/SKILL.md b/plugins/magpie-mentoring/skills/welcome/SKILL.md
index b1d036047..38ee06cce 100644
--- a/plugins/magpie-mentoring/skills/welcome/SKILL.md
+++ b/plugins/magpie-mentoring/skills/welcome/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[issue-or-pr-number]"
 capability: capability:review
 surface_hash: sha256:a61c6575d69da08a
 license: Apache-2.0
-measured_tokens: 3493
+measured_tokens: 3543
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -48,14 +48,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -67,12 +68,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pairing/skills/multi-agent-review/SKILL.md b/plugins/magpie-pairing/skills/multi-agent-review/SKILL.md
index 5dc5e7575..58e48a8e9 100644
--- a/plugins/magpie-pairing/skills/multi-agent-review/SKILL.md
+++ b/plugins/magpie-pairing/skills/multi-agent-review/SKILL.md
@@ -21,7 +21,7 @@ argument-hint: "[base:<ref>] [staged] [path:<glob>]"
 capability: capability:review
 surface_hash: sha256:d1b0ba75f03a00c1
 license: Apache-2.0
-measured_tokens: 3747
+measured_tokens: 3797
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -47,14 +47,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -66,12 +67,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pairing/skills/self-review/SKILL.md b/plugins/magpie-pairing/skills/self-review/SKILL.md
index 0afbb2ad3..c30a8a4a1 100644
--- a/plugins/magpie-pairing/skills/self-review/SKILL.md
+++ b/plugins/magpie-pairing/skills/self-review/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[base:<ref>] [staged] [path:<glob>]"
 capability: capability:review
 surface_hash: sha256:ea0a2e29bb2aa0e0
 license: Apache-2.0
-measured_tokens: 3730
+measured_tokens: 3780
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -46,14 +46,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -65,12 +66,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/code-review/SKILL.md b/plugins/magpie-pr-management/skills/code-review/SKILL.md
index c77a4ca09..ba2be662e 100644
--- a/plugins/magpie-pr-management/skills/code-review/SKILL.md
+++ b/plugins/magpie-pr-management/skills/code-review/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[pr:N] [area:LBL] [collab:true|false] [team:NAME] [ready] [dry-r
 capability: capability:review
 surface_hash: sha256:0e09164d15647a70
 license: Apache-2.0
-measured_tokens: 3826
+measured_tokens: 3876
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/mentor/SKILL.md b/plugins/magpie-pr-management/skills/mentor/SKILL.md
index 43a8bfc07..b846a6ae7 100644
--- a/plugins/magpie-pr-management/skills/mentor/SKILL.md
+++ b/plugins/magpie-pr-management/skills/mentor/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "[issue-or-pr-number]"
 capability: capability:review
 surface_hash: sha256:bdf8343d503d01ef
 license: Apache-2.0
-measured_tokens: 2759
+measured_tokens: 2809
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/pr-stale-sweep/SKILL.md b/plugins/magpie-pr-management/skills/pr-stale-sweep/SKILL.md
index b23790e43..27326c9fa 100644
--- a/plugins/magpie-pr-management/skills/pr-stale-sweep/SKILL.md
+++ b/plugins/magpie-pr-management/skills/pr-stale-sweep/SKILL.md
@@ -22,7 +22,7 @@ when_to_use: |
 capability: capability:triage
 surface_hash: sha256:086e859fb8751476
 license: Apache-2.0
-measured_tokens: 2974
+measured_tokens: 3024
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/pr-triage/SKILL.md b/plugins/magpie-pr-management/skills/pr-triage/SKILL.md
index 3e830d497..74dd8f926 100644
--- a/plugins/magpie-pr-management/skills/pr-triage/SKILL.md
+++ b/plugins/magpie-pr-management/skills/pr-triage/SKILL.md
@@ -27,7 +27,7 @@ argument-hint: "[pr:N] [label:LBL] [author:LOGIN] [review-for-me] [stale] [repo:
 capability: capability:triage
 surface_hash: sha256:54dc4ba1be7b36d4
 license: Apache-2.0
-measured_tokens: 4962
+measured_tokens: 5012
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -52,14 +52,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -71,12 +72,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/pre-first-pr-check/SKILL.md b/plugins/magpie-pr-management/skills/pre-first-pr-check/SKILL.md
index 97b2e94d9..3d6350b87 100644
--- a/plugins/magpie-pr-management/skills/pre-first-pr-check/SKILL.md
+++ b/plugins/magpie-pr-management/skills/pre-first-pr-check/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[base:<ref>] [path:<glob>]"
 capability: capability:review
 surface_hash: sha256:4219bd5fdce4e81d
 license: Apache-2.0
-measured_tokens: 2639
+measured_tokens: 2689
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -50,14 +50,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -69,12 +70,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/quick-merge/SKILL.md b/plugins/magpie-pr-management/skills/quick-merge/SKILL.md
index 490ea928b..46bb2d326 100644
--- a/plugins/magpie-pr-management/skills/quick-merge/SKILL.md
+++ b/plugins/magpie-pr-management/skills/quick-merge/SKILL.md
@@ -28,7 +28,7 @@ capability:
   - capability:review
 surface_hash: sha256:99ac70a7b7f1228c
 license: Apache-2.0
-measured_tokens: 3145
+measured_tokens: 3195
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -55,14 +55,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -74,12 +75,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/reviewer-routing/SKILL.md b/plugins/magpie-pr-management/skills/reviewer-routing/SKILL.md
index 0e6cdbf2e..215ae812d 100644
--- a/plugins/magpie-pr-management/skills/reviewer-routing/SKILL.md
+++ b/plugins/magpie-pr-management/skills/reviewer-routing/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "[pr:<N> | issue:<N>] [--repo owner/name]"
 capability: capability:triage
 surface_hash: sha256:159e840396b7a667
 license: Apache-2.0
-measured_tokens: 3367
+measured_tokens: 3417
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -53,14 +53,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -72,12 +73,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/stack-review/SKILL.md b/plugins/magpie-pr-management/skills/stack-review/SKILL.md
index 515227fb1..083e9b748 100644
--- a/plugins/magpie-pr-management/skills/stack-review/SKILL.md
+++ b/plugins/magpie-pr-management/skills/stack-review/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[pr:N | stack:N] [layers:a-b] [read-budget:LINES] [no-fetch] [dr
 capability: capability:review
 surface_hash: sha256:f0872f2cf794b6d2
 license: Apache-2.0
-measured_tokens: 4480
+measured_tokens: 4530
 ---
 <!-- SPDX-License-Identifier: Apache-2.0
      https://www.apache.org/licenses/LICENSE-2.0 -->
@@ -51,14 +51,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -70,12 +71,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-pr-management/skills/stats/SKILL.md b/plugins/magpie-pr-management/skills/stats/SKILL.md
index 38d7038bf..f763e9a35 100644
--- a/plugins/magpie-pr-management/skills/stats/SKILL.md
+++ b/plugins/magpie-pr-management/skills/stats/SKILL.md
@@ -21,7 +21,7 @@ argument-hint: "[repo:owner/name] [since:date] [clear-cache]"
 capability: capability:stats
 surface_hash: sha256:9e5dedfbf2f9f716
 license: Apache-2.0
-measured_tokens: 2561
+measured_tokens: 2611
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -45,14 +45,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -64,12 +65,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/announce-draft/SKILL.md b/plugins/magpie-release-management/skills/announce-draft/SKILL.md
index 10673d870..72d414056 100644
--- a/plugins/magpie-release-management/skills/announce-draft/SKILL.md
+++ b/plugins/magpie-release-management/skills/announce-draft/SKILL.md
@@ -18,7 +18,7 @@ argument-hint: "<version> [--planning-issue <url>]"
 capability: capability:resolve
 surface_hash: sha256:edffafcd9d9948ab
 license: Apache-2.0
-measured_tokens: 4955
+measured_tokens: 5005
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -56,14 +56,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -75,12 +76,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/archive-sweep/SKILL.md b/plugins/magpie-release-management/skills/archive-sweep/SKILL.md
index 4f745d7a2..3d41c1a0f 100644
--- a/plugins/magpie-release-management/skills/archive-sweep/SKILL.md
+++ b/plugins/magpie-release-management/skills/archive-sweep/SKILL.md
@@ -26,7 +26,7 @@ capability:
   - capability:triage
 surface_hash: sha256:1665af8aae9c2b58
 license: Apache-2.0
-measured_tokens: 4280
+measured_tokens: 4330
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -59,14 +59,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -78,12 +79,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/audit-report/SKILL.md b/plugins/magpie-release-management/skills/audit-report/SKILL.md
index b7a9c4677..8b86e56a6 100644
--- a/plugins/magpie-release-management/skills/audit-report/SKILL.md
+++ b/plugins/magpie-release-management/skills/audit-report/SKILL.md
@@ -23,7 +23,7 @@ argument-hint: "<version> [--planning-issue <url>]"
 capability: capability:stats
 surface_hash: sha256:ecab5c5c3e52d580
 license: Apache-2.0
-measured_tokens: 5219
+measured_tokens: 5269
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -59,14 +59,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -78,12 +79,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/keys-sync/SKILL.md b/plugins/magpie-release-management/skills/keys-sync/SKILL.md
index 2484f0eb1..1aaedb881 100644
--- a/plugins/magpie-release-management/skills/keys-sync/SKILL.md
+++ b/plugins/magpie-release-management/skills/keys-sync/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[--fingerprint <fp>] [--keys-url <url>] [--keyserver <host>]"
 capability: capability:resolve
 surface_hash: sha256:61e10c986bb0d3ec
 license: Apache-2.0
-measured_tokens: 4825
+measured_tokens: 4875
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -54,14 +54,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -73,12 +74,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/prepare/SKILL.md b/plugins/magpie-release-management/skills/prepare/SKILL.md
index 5b5872ac7..c87fe2bd5 100644
--- a/plugins/magpie-release-management/skills/prepare/SKILL.md
+++ b/plugins/magpie-release-management/skills/prepare/SKILL.md
@@ -23,7 +23,7 @@ argument-hint: "[prep | post] <version> [--review-archive] | automated-signing"
 capability: capability:resolve
 surface_hash: sha256:9380580d6421d8b4
 license: Apache-2.0
-measured_tokens: 5095
+measured_tokens: 5145
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -58,14 +58,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -77,12 +78,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/promote/SKILL.md b/plugins/magpie-release-management/skills/promote/SKILL.md
index 608b34fda..05f732eb6 100644
--- a/plugins/magpie-release-management/skills/promote/SKILL.md
+++ b/plugins/magpie-release-management/skills/promote/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "<version>-rc<N> [--planning-issue <url>]"
 capability: capability:resolve
 surface_hash: sha256:ecfb43e47fa5905e
 license: Apache-2.0
-measured_tokens: 5951
+measured_tokens: 6001
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -58,14 +58,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -77,12 +78,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/rc-cut/SKILL.md b/plugins/magpie-release-management/skills/rc-cut/SKILL.md
index ac8487fa1..774f64eb3 100644
--- a/plugins/magpie-release-management/skills/rc-cut/SKILL.md
+++ b/plugins/magpie-release-management/skills/rc-cut/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "<version> rc<N>"
 capability: capability:resolve
 surface_hash: sha256:60623e456e72bbf6
 license: Apache-2.0
-measured_tokens: 6883
+measured_tokens: 6933
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -53,14 +53,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -72,12 +73,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/verify-rc/SKILL.md b/plugins/magpie-release-management/skills/verify-rc/SKILL.md
index 5d6b33204..49ca67992 100644
--- a/plugins/magpie-release-management/skills/verify-rc/SKILL.md
+++ b/plugins/magpie-release-management/skills/verify-rc/SKILL.md
@@ -23,7 +23,7 @@ argument-hint: "<version>-rcN [--post-to <planning-issue-url>] [--skip-repro] [-
 capability: capability:triage
 surface_hash: sha256:68f688faf6363ba7
 license: Apache-2.0
-measured_tokens: 6340
+measured_tokens: 6390
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -53,14 +53,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -72,12 +73,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/vote-draft/SKILL.md b/plugins/magpie-release-management/skills/vote-draft/SKILL.md
index f34487d4a..8d9680d69 100644
--- a/plugins/magpie-release-management/skills/vote-draft/SKILL.md
+++ b/plugins/magpie-release-management/skills/vote-draft/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "<version>-rcN [--skip-verify-check <reason>]"
 capability: capability:resolve
 surface_hash: sha256:6d70a52ead840ca2
 license: Apache-2.0
-measured_tokens: 5707
+measured_tokens: 5757
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -60,14 +60,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -79,12 +80,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-release-management/skills/vote-tally/SKILL.md b/plugins/magpie-release-management/skills/vote-tally/SKILL.md
index e7d1f0d2f..cbff3ec68 100644
--- a/plugins/magpie-release-management/skills/vote-tally/SKILL.md
+++ b/plugins/magpie-release-management/skills/vote-tally/SKILL.md
@@ -28,7 +28,7 @@ capability:
   - capability:resolve
 surface_hash: sha256:34592bfacb7cf955
 license: Apache-2.0
-measured_tokens: 5512
+measured_tokens: 5562
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -61,14 +61,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -80,12 +81,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/audit-finding-fix/SKILL.md b/plugins/magpie-repo-health/skills/audit-finding-fix/SKILL.md
index d00091cf9..f9859aea0 100644
--- a/plugins/magpie-repo-health/skills/audit-finding-fix/SKILL.md
+++ b/plugins/magpie-repo-health/skills/audit-finding-fix/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "[--tool <name>] [--report <path>] [--finding <id>]"
 capability: capability:fix
 surface_hash: sha256:a31ea1f8e96846eb
 license: Apache-2.0
-measured_tokens: 4852
+measured_tokens: 4902
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -56,14 +56,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -75,12 +76,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/ci-runner-audit/SKILL.md b/plugins/magpie-repo-health/skills/ci-runner-audit/SKILL.md
index 28c9bea91..437ec49f6 100644
--- a/plugins/magpie-repo-health/skills/ci-runner-audit/SKILL.md
+++ b/plugins/magpie-repo-health/skills/ci-runner-audit/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[all|retired|macos-arch] [--repo owner/name | --repo-file repos.
 capability: capability:triage
 surface_hash: sha256:c6da72e64ac4808d
 license: Apache-2.0
-measured_tokens: 2337
+measured_tokens: 2387
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -46,14 +46,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -65,12 +66,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/dependency-audit/SKILL.md b/plugins/magpie-repo-health/skills/dependency-audit/SKILL.md
index 04bb3d707..5467a76dc 100644
--- a/plugins/magpie-repo-health/skills/dependency-audit/SKILL.md
+++ b/plugins/magpie-repo-health/skills/dependency-audit/SKILL.md
@@ -24,7 +24,7 @@ argument-hint: "[--manager pip|npm|cargo|trivy] [--repo owner/name | --path /pat
 capability: capability:triage
 surface_hash: sha256:19ba62ec34a55604
 license: Apache-2.0
-measured_tokens: 3279
+measured_tokens: 3329
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -51,14 +51,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -70,12 +71,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md b/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md
index 8effee420..e32ca8c0f 100644
--- a/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md
+++ b/plugins/magpie-repo-health/skills/dependency-license-audit/SKILL.md
@@ -22,7 +22,7 @@ argument-hint: "[--manager pip|npm|cargo|maven|gradle|trivy] [--policy asf|allow
 capability: capability:triage
 surface_hash: sha256:9723ef52fb16204e
 license: Apache-2.0
-measured_tokens: 3739
+measured_tokens: 3789
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/flaky-test-triage/SKILL.md b/plugins/magpie-repo-health/skills/flaky-test-triage/SKILL.md
index 269deae09..9ab10eca3 100644
--- a/plugins/magpie-repo-health/skills/flaky-test-triage/SKILL.md
+++ b/plugins/magpie-repo-health/skills/flaky-test-triage/SKILL.md
@@ -22,7 +22,7 @@ argument-hint: "[--repo owner/name] [--window-days N] [--threshold F]"
 capability: capability:triage
 surface_hash: sha256:eda3c3891897f08d
 license: Apache-2.0
-measured_tokens: 3208
+measured_tokens: 3258
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/license-compliance-audit/SKILL.md b/plugins/magpie-repo-health/skills/license-compliance-audit/SKILL.md
index 6977e8368..89a30d358 100644
--- a/plugins/magpie-repo-health/skills/license-compliance-audit/SKILL.md
+++ b/plugins/magpie-repo-health/skills/license-compliance-audit/SKILL.md
@@ -22,7 +22,7 @@ argument-hint: "[--repo owner/name | --path /path/to/checkout] [--declared-spdx
 capability: capability:triage
 surface_hash: sha256:b40b2993e5f18f54
 license: Apache-2.0
-measured_tokens: 4758
+measured_tokens: 4808
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/workflow-optimization/SKILL.md b/plugins/magpie-repo-health/skills/workflow-optimization/SKILL.md
index 18e819899..4cec59c83 100644
--- a/plugins/magpie-repo-health/skills/workflow-optimization/SKILL.md
+++ b/plugins/magpie-repo-health/skills/workflow-optimization/SKILL.md
@@ -18,7 +18,7 @@ argument-hint: "--repo owner/name"
 capability: capability:triage
 surface_hash: sha256:bbfe83b236640f9e
 license: Apache-2.0
-measured_tokens: 3091
+measured_tokens: 3141
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -43,14 +43,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -62,12 +63,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-repo-health/skills/workflow-security-audit/SKILL.md b/plugins/magpie-repo-health/skills/workflow-security-audit/SKILL.md
index fbc3ec2d0..684ac9f80 100644
--- a/plugins/magpie-repo-health/skills/workflow-security-audit/SKILL.md
+++ b/plugins/magpie-repo-health/skills/workflow-security-audit/SKILL.md
@@ -22,7 +22,7 @@ argument-hint: "[--repo owner/name | --repo-file repos.txt | --owner org]"
 capability: capability:triage
 surface_hash: sha256:e50eafff464d131a
 license: Apache-2.0
-measured_tokens: 3699
+measured_tokens: 3749
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/README.md b/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/README.md
index 6b1dc7127..a7265db5d 100644
--- a/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/README.md
+++ b/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/README.md
@@ -7,6 +7,10 @@
 
 - [generate-cve-json](#generate-cve-json)
   - [Run](#run)
+  - [Configuration](#configuration)
+    - [Where the file is looked up](#where-the-file-is-looked-up)
+    - [Keys](#keys)
+    - [Minimal example](#minimal-example)
   - [Record a published CVE in the project's security records — `advisory-records`](#record-a-published-cve-in-the-projects-security-records--advisory-records)
   - [Test](#test)
   - [Lint / type-check](#lint--type-check)
@@ -78,6 +82,88 @@ The body is normalised in memory with [`github-body-field`](../../github-body-fi
 A field repeated with different values exits 2 with the field name and heading line numbers, never a guess.
 `--report-json <path>` writes `normalisation_changes`, `needs_decision` and `missing_required` (no body text) for the calling skill to act on.
 
+## Configuration
+
+Every project-specific value comes from one TOML file, `cve-json-config.toml`.
+The framework ships no default: an adopter writes its own.
+The test fixture at [`tests/fixtures/cve-json-config.toml`](https://github.com/apache/magpie/blob/main/tools/cve-tool-vulnogram/generate-cve-json/tests/fixtures/cve-json-config.toml) describes a fictional project and must not be copied as a starting point.
+
+### Where the file is looked up
+
+The generator takes the first location that applies:
+
+1. The path given with `--config <path>`.
+2. The path in the `CVE_JSON_CONFIG` environment variable.
+3. `.apache-magpie-overrides/tools/cve-tool-vulnogram/cve-json-config.toml`, relative to the current directory: the committed, project-wide copy.
+4. `.apache-magpie-overrides/tools/vulnogram/cve-json-config.toml`, the location before the tool directory was renamed.
+   It is read with a warning asking you to move the file.
+5. `tools/cve-tool-vulnogram/cve-json-config.toml` in the personal layer, for a maintainer whose project has not committed one.
+   The personal layer is `<git-common-dir>/apache-magpie/` in a repository that has not adopted Magpie (then a legacy in-tree `.apache-magpie-local/`), and `.apache-magpie-local/` in one that has (then, in a linked worktree, the main checkout's) — see [`docs/setup/agentic-overrides.md`](https://github.com/apache/magpie/blob/main/docs/setup/agentic-overrides.md).
+
+Locations 4 and 5 are consulted only when neither `--config` nor `CVE_JSON_CONFIG` is set.
+A path given by either is used as-is, and the run fails if the file does not exist.
+When nothing is found the generator exits with an error listing these options.
+
+### Keys
+
+Keys marked *required* have no default: a missing one stops the generator.
+The `--repo`, `--vendor`, `--product`, `--package-name`, `--collection-url` and `--org-id` flags override the matching value for a single run.
+
+| Key | Type | Required | Default | Meaning |
+|---|---|---|---|---|
+| `[meta].tracker_repo` | string | required | — | The tracker's `owner/name` slug: the default `--repo`, and its owner segment filters tracker URLs out of `references[]`. |
+| `[meta].generator_tag` | string | required | — | Written to the record's `x_generator.engine`, so a reader can tell which tool produced it. |
+| `[meta].skill_source_url` | string | optional | `https://github.com/<tracker_repo>` | Link to the generator printed in the CVE JSON comment it attaches to the tracker. |
+| `[product].vendor` | string | required | — | `affected[].vendor`. |
+| `[product].default_product` | string | required | — | `affected[].product` for an *Affected versions* line that names no known package. |
+| `[product].default_package_name` | string | required | — | The package name for such a line. |
+| `[product].default_collection_url` | string | required | — | Where the packages are distributed (`https://pypi.python.org`, say); also the source a purl type is derived from. |
+| `[product].purl_type` | string | optional | derived from `default_collection_url` | The package-url type (`pypi`, `npm`, `maven`, …). Derived for PyPI, npm, crates.io, RubyGems and NuGet hosts; `"none"` emits no purl and falls back to the `collectionURL` / `packageName` pair. |
+| `[product].purl_namespace` | string | optional | `""` | The purl namespace for types that need one (a Maven groupId, a Composer vendor, a Go module prefix). Ignored for types that have none; a type that requires one gets no purl without it. |
+| `[cna].org_id` | string (UUID) | required | — | The CNA's UUID, written to `cveMetadata.assignerOrgId` and `providerMetadata.orgId`. No default on purpose, so a project outside the ASF never inherits the ASF's id. ASF projects copy `cve_authority.vulnogram.asf_org_id` from [`organizations/ASF/organization.md`](https://github.com/apache/magpie/blob/main/organizations/ASF/organization.md); only the generated record uses it, never CVE allocation. |
+| `[cna_private].project_url` | string | optional | `""` | `CNA_private.projecturl` in the record. |
+| `[cna_private].owner` | string | optional | `""` | `CNA_private.owner` — the project's short name in the CVE tool. |
+| `[cna_private].users_list` | string | optional | `""` | `CNA_private.userslist` — the project's users mailing list. |
+| `[packages].package_pattern` | string (regex) | required | — | Matches a full package name. Named groups: `package` (the name), `project` (optional sub-project directory name), `rest` (optional; the version range after the name). |
+| `[packages].top_level_name` | string | required | — | The top-level package name. |
+| `[packages].top_level_product` | string | required | — | Its product name; also stripped as a prefix from the issue title. |
+| `[packages].project_product_template` | string | required | — | Product name for a sub-project package, with `{display}` replaced by its display name. |
+| `[packages.project_display_map]` | table of string → string | required (may be empty) | — | Sub-project directory name → display name. An unlisted name is title-cased word by word (`pop-corn` → `Pop Corn`). |
+| `[packages.overrides."<package>"]` | table | optional | none | Per-package exceptions for a package outside the main ecosystem. Any of `collection_url`, `purl_type` and `product`; what it omits falls through to the values above. |
+| `[workflow].release_vote_gating` | boolean | optional | `false` | When true, a complete record moves from `DRAFT` to `REVIEW` only while a release vote is running. |
+| `[workflow].rc_voting_label` | string | optional | `"rc voting"` | The tracker label that marks a running release vote; read only when gating is on. |
+| `[workflow].forward_state_labels` | array of strings | optional | `["fix released", "announced - emails sent", "announced", "vendor-advisory ready"]` | Tracker labels meaning the release has shipped, so the vote gate no longer applies. |
+| `[discovery].internal_markers` | array of strings | optional | `[]` | Case-insensitive text that marks an internal find (your own scanner's name, say) in the *Security mailing list thread* or *Reporter credited as* field; a hit sets `source.discovery` to `INTERNAL`. |
+
+### Minimal example
+
+Every required key, for a project shipping one package to PyPI:
+
+```toml
+[meta]
+tracker_repo = "example-org/example-security"
+generator_tag = "example-org/generate-cve-json"
+
+[product]
+vendor = "Example Foundation"
+default_product = "Example"
+default_package_name = "example"
+default_collection_url = "https://pypi.python.org"
+
+[cna]
+org_id = "00000000-0000-0000-0000-000000000000"  # your CNA's UUID
+
+[packages]
+package_pattern = '^(?P<package>example)(?:\s+(?P<rest>.*))?$'
+top_level_name = "example"
+top_level_product = "Example"
+project_product_template = "Example {display}"
+
+[packages.project_display_map]
+```
+
+The fixture linked above shows the optional `[cna_private]`, `[workflow]` and `[discovery]` tables in use.
+
 ## Record a published CVE in the project's security records — `advisory-records`
 
 A second console script in the same project.
diff --git a/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py b/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py
index 4813ce5d7..256ac31bd 100644
--- a/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py
+++ b/plugins/magpie-security-tools/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py
@@ -128,8 +128,11 @@ import tempfile
 #   3. `<cwd>/.apache-magpie-overrides/tools/cve-tool-vulnogram/cve-json-config.toml`.
 #      Back-compat: if only the pre-rename `tools/vulnogram/` copy exists at
 #      this default location, it is used with a deprecation warning.
+#   4. `tools/cve-tool-vulnogram/cve-json-config.toml` in a personal layer
+#      (`layers.personal_layers`), first match wins.
+# Steps 3 and 4 apply only when neither 1 nor 2 names a path.
 #
-# Schema: see the README in this package.
+# Schema: the "Configuration" section of this package's README.md.
 import tomllib
 import urllib.parse
 from pathlib import Path
@@ -205,7 +208,7 @@ def _load_config(config_path: Path | str | None = None) -> dict:
                     f"  Pass --config <path>, set ${_CONFIG_PATH_ENV}, place a config\n"
                     f"  at {_DEFAULT_CONFIG_RELPATH} relative to the cwd, or keep a\n"
                     f"  personal one at <personal layer>/{_PERSONAL_CONFIG_RELPATH}.\n"
-                    f"  Schema: see the generate-cve-json package README."
+                    f"  Schema: tools/cve-tool-vulnogram/generate-cve-json/README.md#configuration"
                 )
             path = found
     return tomllib.loads(path.read_text(encoding="utf-8"))
diff --git a/plugins/magpie-security/skills/cve-allocate/SKILL.md b/plugins/magpie-security/skills/cve-allocate/SKILL.md
index 884ac313a..02cd43cbe 100644
--- a/plugins/magpie-security/skills/cve-allocate/SKILL.md
+++ b/plugins/magpie-security/skills/cve-allocate/SKILL.md
@@ -21,7 +21,7 @@ argument-hint: "[issue-number] [CVE-YYYY-NNNNN]"
 capability: capability:resolve
 surface_hash: sha256:c96f5623aa6c4212
 license: Apache-2.0
-measured_tokens: 7338
+measured_tokens: 7388
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -53,14 +53,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -72,12 +73,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-deduplicate/SKILL.md b/plugins/magpie-security/skills/issue-deduplicate/SKILL.md
index e4bed188d..8dffa88a6 100644
--- a/plugins/magpie-security/skills/issue-deduplicate/SKILL.md
+++ b/plugins/magpie-security/skills/issue-deduplicate/SKILL.md
@@ -25,7 +25,7 @@ argument-hint: "[kept-issue] [duplicate-issue]"
 capability: capability:resolve
 surface_hash: sha256:4923aac5c8ba1af5
 license: Apache-2.0
-measured_tokens: 6034
+measured_tokens: 6084
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -54,14 +54,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -73,12 +74,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-fix/SKILL.md b/plugins/magpie-security/skills/issue-fix/SKILL.md
index 7657bb4c4..cc08d51d9 100644
--- a/plugins/magpie-security/skills/issue-fix/SKILL.md
+++ b/plugins/magpie-security/skills/issue-fix/SKILL.md
@@ -23,7 +23,7 @@ capability:
   - capability:resolve
 surface_hash: sha256:550eabe3b9bb3689
 license: Apache-2.0
-measured_tokens: 7336
+measured_tokens: 7386
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -47,14 +47,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -66,12 +67,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-import-from-md/SKILL.md b/plugins/magpie-security/skills/issue-import-from-md/SKILL.md
index 1d2585767..3891d6e24 100644
--- a/plugins/magpie-security/skills/issue-import-from-md/SKILL.md
+++ b/plugins/magpie-security/skills/issue-import-from-md/SKILL.md
@@ -27,7 +27,7 @@ argument-hint: "[path-to-markdown-file]"
 capability: capability:intake
 surface_hash: sha256:e2437e84cdf98aa5
 license: Apache-2.0
-measured_tokens: 6093
+measured_tokens: 6143
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -53,14 +53,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -72,12 +73,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-import-from-pr/SKILL.md b/plugins/magpie-security/skills/issue-import-from-pr/SKILL.md
index 132dc8a70..fa077da8d 100644
--- a/plugins/magpie-security/skills/issue-import-from-pr/SKILL.md
+++ b/plugins/magpie-security/skills/issue-import-from-pr/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[pr-number] [repo:owner/name]"
 capability: capability:intake
 surface_hash: sha256:c746e4aecc3cf315
 license: Apache-2.0
-measured_tokens: 7541
+measured_tokens: 7591
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -44,14 +44,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -63,12 +64,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-import-from-scan/SKILL.md b/plugins/magpie-security/skills/issue-import-from-scan/SKILL.md
index 0d5c0d064..6748fcbaa 100644
--- a/plugins/magpie-security/skills/issue-import-from-scan/SKILL.md
+++ b/plugins/magpie-security/skills/issue-import-from-scan/SKILL.md
@@ -19,7 +19,7 @@ argument-hint: "[scan-source ...]  (one or more GitHub issues and/or report fold
 capability: capability:intake
 surface_hash: sha256:7adfbe73f79606b1
 license: Apache-2.0
-measured_tokens: 6637
+measured_tokens: 6687
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -45,14 +45,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -64,12 +65,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-import-via-forwarder/SKILL.md b/plugins/magpie-security/skills/issue-import-via-forwarder/SKILL.md
index 4ef4824b1..2a5a8facf 100644
--- a/plugins/magpie-security/skills/issue-import-via-forwarder/SKILL.md
+++ b/plugins/magpie-security/skills/issue-import-via-forwarder/SKILL.md
@@ -20,7 +20,7 @@ when_to_use: |
 capability: capability:intake
 surface_hash: sha256:43894008501eb56d
 license: Apache-2.0
-measured_tokens: 6001
+measured_tokens: 6051
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -50,14 +50,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -69,12 +70,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-import/SKILL.md b/plugins/magpie-security/skills/issue-import/SKILL.md
index 615894060..48041b35c 100644
--- a/plugins/magpie-security/skills/issue-import/SKILL.md
+++ b/plugins/magpie-security/skills/issue-import/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[import] [last Nd|all] [skip threadId]"
 capability: capability:intake
 surface_hash: sha256:0db7a7686bad58b0
 license: Apache-2.0
-measured_tokens: 8195
+measured_tokens: 8245
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -44,14 +44,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -63,12 +64,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-invalidate/SKILL.md b/plugins/magpie-security/skills/issue-invalidate/SKILL.md
index 1c66012e2..5d3762933 100644
--- a/plugins/magpie-security/skills/issue-invalidate/SKILL.md
+++ b/plugins/magpie-security/skills/issue-invalidate/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[issue-number]"
 capability: capability:resolve
 surface_hash: sha256:43a163bcbdb06f11
 license: Apache-2.0
-measured_tokens: 6152
+measured_tokens: 6202
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-sync/SKILL.md b/plugins/magpie-security/skills/issue-sync/SKILL.md
index fde950251..011932106 100644
--- a/plugins/magpie-security/skills/issue-sync/SKILL.md
+++ b/plugins/magpie-security/skills/issue-sync/SKILL.md
@@ -26,7 +26,7 @@ argument-hint: "[issue-number]"
 capability: capability:intake
 surface_hash: sha256:5d8871fa61317a06
 license: Apache-2.0
-measured_tokens: 7105
+measured_tokens: 7155
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -55,14 +55,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -74,12 +75,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/issue-triage/SKILL.md b/plugins/magpie-security/skills/issue-triage/SKILL.md
index 126393d4a..136981174 100644
--- a/plugins/magpie-security/skills/issue-triage/SKILL.md
+++ b/plugins/magpie-security/skills/issue-triage/SKILL.md
@@ -23,7 +23,7 @@ when_to_use: |
 capability: capability:triage
 surface_hash: sha256:4fb1fcfc79d7f275
 license: Apache-2.0
-measured_tokens: 6327
+measured_tokens: 6377
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -48,14 +48,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -67,12 +68,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/model-prepare/SKILL.md b/plugins/magpie-security/skills/model-prepare/SKILL.md
index 8903f92a9..2b55a9ca3 100644
--- a/plugins/magpie-security/skills/model-prepare/SKILL.md
+++ b/plugins/magpie-security/skills/model-prepare/SKILL.md
@@ -19,7 +19,7 @@ argument-hint: "[repo-or-project]"
 capability: capability:authoring
 surface_hash: sha256:db4f1e33c6b3fab3
 license: Apache-2.0
-measured_tokens: 4715
+measured_tokens: 4765
 ---
 
 # Security model prepare
@@ -36,14 +36,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -55,12 +56,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/model-update/SKILL.md b/plugins/magpie-security/skills/model-update/SKILL.md
index eac23b8ab..3a6671acc 100644
--- a/plugins/magpie-security/skills/model-update/SKILL.md
+++ b/plugins/magpie-security/skills/model-update/SKILL.md
@@ -23,7 +23,7 @@ capability:
   - capability:authoring
 surface_hash: sha256:5f058bd378b65f45
 license: Apache-2.0
-measured_tokens: 4969
+measured_tokens: 5019
 ---
 
 # Security model update
@@ -40,14 +40,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -59,12 +60,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/model-verify/SKILL.md b/plugins/magpie-security/skills/model-verify/SKILL.md
index c8b685024..351468d7b 100644
--- a/plugins/magpie-security/skills/model-verify/SKILL.md
+++ b/plugins/magpie-security/skills/model-verify/SKILL.md
@@ -22,7 +22,7 @@ argument-hint: "[repo-or-model-path]"
 capability: capability:review
 surface_hash: sha256:03ecb6b8514583b2
 license: Apache-2.0
-measured_tokens: 5611
+measured_tokens: 5661
 ---
 
 # Security model verify
@@ -39,14 +39,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -58,12 +59,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/submit-to-oss-scan/SKILL.md b/plugins/magpie-security/skills/submit-to-oss-scan/SKILL.md
index 9014daf9d..9cb566833 100644
--- a/plugins/magpie-security/skills/submit-to-oss-scan/SKILL.md
+++ b/plugins/magpie-security/skills/submit-to-oss-scan/SKILL.md
@@ -20,7 +20,7 @@ argument-hint: "[enrol | update] [project-name]"
 capability: capability:authoring
 surface_hash: sha256:cefbd533dc1009f2
 license: Apache-2.0
-measured_tokens: 4993
+measured_tokens: 5043
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -49,14 +49,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -68,12 +69,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-security/skills/tracker-stats-dashboard/SKILL.md b/plugins/magpie-security/skills/tracker-stats-dashboard/SKILL.md
index d51fb0f80..73eba63dd 100644
--- a/plugins/magpie-security/skills/tracker-stats-dashboard/SKILL.md
+++ b/plugins/magpie-security/skills/tracker-stats-dashboard/SKILL.md
@@ -18,7 +18,7 @@ when_to_use: |
 capability: capability:stats
 surface_hash: sha256:779340f8eb985eeb
 license: Apache-2.0
-measured_tokens: 4622
+measured_tokens: 4672
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -52,14 +52,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -71,12 +72,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-setup/hooks/check-upgrade.sh b/plugins/magpie-setup/hooks/check-upgrade.sh
index e567b90d7..cb377671f 100755
--- a/plugins/magpie-setup/hooks/check-upgrade.sh
+++ b/plugins/magpie-setup/hooks/check-upgrade.sh
@@ -3,8 +3,9 @@
 # https://www.apache.org/licenses/LICENSE-2.0
 #
 # Session-start hook for the Apache Magpie plugin. Wired by the Claude Code
-# plugin (SessionStart) and by the Codex CLI plugin, which uses the same event
-# schema. Agent Plugins 1.0 defines no hook component, so an AP1-only client
+# magpie-setup plugin (hooks/hooks.json, SessionStart) and by the root Codex CLI
+# plugin (.codex-plugin/plugin.json, same event schema), whose PLUGIN_ROOT is
+# the repo root. Agent Plugins 1.0 defines no hook component, so an AP1-only client
 # does not run this at all — see docs/setup/marketplace.md.
 #
 # Also warns, once per session, when the isolated setup is not configured on
diff --git a/plugins/magpie-setup/skills/complete-upgrade/SKILL.md b/plugins/magpie-setup/skills/complete-upgrade/SKILL.md
index ba15a4f3b..bf6c01f71 100644
--- a/plugins/magpie-setup/skills/complete-upgrade/SKILL.md
+++ b/plugins/magpie-setup/skills/complete-upgrade/SKILL.md
@@ -18,7 +18,7 @@ when_to_use: >-
 capability: capability:platform
 surface_hash: sha256:bf83981a9df27d35
 license: Apache-2.0
-measured_tokens: 6250
+measured_tokens: 6274
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -103,7 +103,7 @@ Run the checks in this order, reading each catalogue's current file; an item alr
 Ask the checker, with the same `PYTHONPATH` every skill's pre-flight uses:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.layers
 ```
 
diff --git a/plugins/magpie-setup/skills/isolated-setup-install/SKILL.md b/plugins/magpie-setup/skills/isolated-setup-install/SKILL.md
index 0757836d4..71051fd3d 100644
--- a/plugins/magpie-setup/skills/isolated-setup-install/SKILL.md
+++ b/plugins/magpie-setup/skills/isolated-setup-install/SKILL.md
@@ -17,7 +17,7 @@ when_to_use: >-
 capability: capability:platform
 surface_hash: sha256:d33e1ff373860d4b
 license: Apache-2.0
-measured_tokens: 8116
+measured_tokens: 8140
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -574,7 +574,7 @@ Suggest two follow-up routines the user can wire later:
 used on this machine and what it was installed against:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.isolated record-update
 ```
 
diff --git a/plugins/magpie-setup/skills/isolated-setup-update/SKILL.md b/plugins/magpie-setup/skills/isolated-setup-update/SKILL.md
index 80b805658..bcdc86485 100644
--- a/plugins/magpie-setup/skills/isolated-setup-update/SKILL.md
+++ b/plugins/magpie-setup/skills/isolated-setup-update/SKILL.md
@@ -18,7 +18,7 @@ when_to_use: >-
 capability: capability:platform
 surface_hash: sha256:1f327e069312dad2
 license: Apache-2.0
-measured_tokens: 6845
+measured_tokens: 6869
 ---
 
 <!-- Placeholder convention (see AGENTS.md#placeholder-convention-used-in-skill-files):
@@ -272,7 +272,7 @@ To run it on demand, invoke it directly: `/magpie-setup:isolated-setup-update` o
 At the end of every completed run, whatever it found, record it:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.isolated record-update
 ```
 
diff --git a/plugins/magpie-setup/skills/setup/SKILL.md b/plugins/magpie-setup/skills/setup/SKILL.md
index a5effa6a4..848addca4 100644
--- a/plugins/magpie-setup/skills/setup/SKILL.md
+++ b/plugins/magpie-setup/skills/setup/SKILL.md
@@ -20,9 +20,9 @@ when_to_use: >-
   to the `welcome-guide` skill.
 argument-hint: "[install|config|adopt|unadopt|upgrade|worktree-init|verify|reconcile|override skill-name|delegate [skill-name]|welcome|uninstall]"
 capability: capability:platform
-surface_hash: sha256:c43efc6b0564caff
+surface_hash: sha256:946a4aba49ce60ff
 license: Apache-2.0
-measured_tokens: 5016
+measured_tokens: 5286
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -32,7 +32,8 @@ measured_tokens: 5016
      <project-config>           → per file, first hit wins: the personal layer
                                   (`.apache-magpie-local/` when adopted, falling back to the
                                   main checkout's in a linked worktree;
-                                  `<git-common-dir>/apache-magpie/` when only installed) then
+                                  `<git-common-dir>/apache-magpie/` when only installed,
+                                  `.svn/apache-magpie/` in a Subversion working copy) then
                                   `.apache-magpie-overrides/` (committed, project-wide)
      <snapshot-dir>             → `.apache-magpie/` (gitignored snapshot of the framework)
      <committed-lock>           → `.apache-magpie.lock` (committed — project's pin)
@@ -50,6 +51,21 @@ One `marketplace add`, then one `plugin install` per skill family, and nothing i
 Walk-through: [`install.md` → Step M0b](install.md#step-m0b--pre-fill-from-the-committed-floor), which reads any committed floor first.
 Per-agent reference: [`docs/setup/marketplace.md`](../../../../docs/setup/marketplace.md).
 
+## First — the welcome guide
+
+The setup family runs no shared pre-flight, so this skill checks for its first-run welcome guide itself, before any sub-action, silently.
+`<skill-dir>` is the directory holding this `SKILL.md`, which carries the checker even before `config` has copied it into the personal layer:
+
+```bash
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie:<skill-dir>" \
+  python3 -m setup_preflight.welcome due --skill setup
+```
+
+- **`{"verdict": "ok"}`**, or the command did not run at all → say nothing and go on to the sub-action.
+- **`{"verdict": "action", ...}`** → follow `rules.welcome`, the same rules a pre-flight `welcome` finding carries, and run its `record` command with the `PYTHONPATH` above.
+
+This is the only check: none of the pre-flight's setup, floor or fingerprint findings run here.
+
 ## The install paths
 
 | Path | What it sets up | Take it when |
diff --git a/plugins/magpie-setup/skills/setup/config.md b/plugins/magpie-setup/skills/setup/config.md
index fb16dfebc..d0593f25e 100644
--- a/plugins/magpie-setup/skills/setup/config.md
+++ b/plugins/magpie-setup/skills/setup/config.md
@@ -12,7 +12,8 @@ Where that layer is depends on whether the project adopted Magpie
 | Project | Personal layer |
 |---|---|
 | Adopted (a `<committed-lock>` exists) | `<repo-root>/.apache-magpie-local/`, gitignored by `adopt`. In a linked worktree with none of its own, the main checkout's. |
-| Not adopted (Magpie only installed) | `<git-common-dir>/apache-magpie/`, inside the git directory: never in the working tree, never committable, shared by every worktree of the clone. |
+| Not adopted (Magpie only installed) | `<git-common-dir>/apache-magpie/`, inside the git directory: never in the working tree, never committable, shared by every worktree of the clone. In a Subversion working copy, `.svn/apache-magpie/` for the same reasons. |
+| No version control | `<repo-root>/.apache-magpie-local/`: there is nothing to commit it to. |
 
 **This is the sub-action an individual runs.** It works on a repository
 whose maintainers have never heard of Magpie, it asks the project for
@@ -31,7 +32,7 @@ from what this sub-action produced**. See
 |---|---|
 | `<skills>` | The families installed on this machine. `config <skill>` narrows it to one. |
 | `adversarial-review` | Not a skill: `config adversarial-review` runs only [Step 3c](#step-3c--adversarial-reviewers-optional), which configures the other models that review a change before a PR is opened. |
-| `<repo-root>` | The git repository the session is in. |
+| `<repo-root>` | The git repository the session is in, or the root of its Subversion working copy. |
 
 ## Invoked by a skill's pre-flight
 
@@ -61,12 +62,16 @@ When entered this way:
 
 ## Step 0 — Pre-flight
 
-1. **In a git repository?** If not, stop: there is no project to
-   configure. Say so plainly. When the directory is an SVN working copy
-   (a `.svn/` at or above it), say instead that setup keeps its
-   configuration in a Git repository, such as the tracker, and that the
-   SVN checkout is configured from there as the upstream working copy
-   ([Step 3g](#step-3g--source-control-backend)).
+1. **Which version control?** Work from the project root and name the case:
+   - **Git** — a git repository (`.git` here). The usual case.
+   - **Subversion** — a Subversion working copy, with its `.svn/` (holding `wc.db`) in this directory.
+     Its personal layer is `.svn/apache-magpie/`, inside Subversion's own administrative directory, so it is never committed either.
+     A `.svn/` only in a directory *above* this one is not used: stop, and ask the user to run `config` from the working copy's root.
+   - **Neither** — no version control at all. The personal layer is the in-tree `.apache-magpie-local/`:
+     there is nothing it could be committed to.
+     Say so, since a later `git init` or `svn add` would see it.
+
+   Git wins when a directory has both. The rules are `setup_preflight/layers.py`'s; this list only names them.
 2. **Is the repo already adopted?** Read `<committed-lock>`. If it
    exists, say so and name what changes: the project already publishes
    configuration, so anything written here **shadows it, per file**.
@@ -77,7 +82,7 @@ When entered this way:
    it — the same `PYTHONPATH` as every skill's pre-flight:
 
    ```bash
-   PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+   PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
      python3 -m setup_preflight.layers
    ```
 
@@ -86,7 +91,9 @@ When entered this way:
    this is a linked worktree without one and the main checkout
    (`$(git rev-parse --path-format=absolute --git-common-dir)/..`) has
    one, in which case the main checkout's; not adopted →
-   `$(git rev-parse --path-format=absolute --git-common-dir)/apache-magpie/`.
+   `$(git rev-parse --path-format=absolute --git-common-dir)/apache-magpie/`
+   in git, `<repo-root>/.svn/apache-magpie/` in a Subversion working copy,
+   and `<repo-root>/.apache-magpie-local/` with no version control.
    **Say which it is**, and on a worktree that falls back say that the
    values are written to the main checkout's directory and so are shared
    with every worktree that has none of its own.
@@ -118,7 +125,11 @@ edit a committed file to arrange that.
 - **Not adopted** → the layer is inside the git directory, which git
   never tracks. There is nothing to arrange: no `.gitignore` line, no
   `.git/info/exclude` line, nothing in the working tree. Create the
-  directory with mode `0700`.
+  directory with mode `0700`. A Subversion working copy is the same:
+  `.svn/` is never versioned, so `.svn/apache-magpie/` needs no
+  `svn:ignore`.
+- **No version control** → nothing to arrange; create the in-tree
+  `.apache-magpie-local/` with mode `0700`.
 - **Adopted** → `adopt` already added `/.apache-magpie-local/` to the
   committed `.gitignore`. If that line is missing, write it to the
   per-clone `<repo-root>/.git/info/exclude` instead (never committed,
@@ -126,8 +137,9 @@ edit a committed file to arrange that.
 
 **Never add a `.gitignore` line here, and never create
 `.apache-magpie-local/` or `.apache-magpie-overrides/` in a project that
-has not adopted Magpie.** Those are `adopt`'s, because `adopt` is already
-committing.
+has not adopted Magpie** (the no-version-control case aside, where the
+first is the personal layer). Those are `adopt`'s, because `adopt` is
+already committing.
 
 Say which case applied.
 
@@ -142,11 +154,12 @@ snapshot install `<snapshot-dir>/tools/setup-preflight/src/setup_preflight/`
 reaches the same files.
 
 This is what every skill's pre-flight actually runs — the path finds the
-copy in this checkout's `.apache-magpie-local/`, the main checkout's, or
-the git directory's `apache-magpie/`:
+copy in this checkout's `.apache-magpie-local/`, the main checkout's,
+the git directory's `apache-magpie/`, or a Subversion working copy's
+`.svn/apache-magpie/`:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill … --hash …
 ```
 
@@ -169,7 +182,7 @@ Verify the copy answers before moving on; a checker that does not run
 makes every skill fall back to *step-0* of its `preflight-detail.md`:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill magpie-setup --no-welcome
 ```
 
@@ -297,7 +310,7 @@ committed lock, adopted project or not.** That is the personal layer
 [Step 0](#step-0--pre-flight) item 3 located: this checkout's own
 `.apache-magpie-local/` (adopted), the main checkout's
 `.apache-magpie-local/` (a linked worktree of an adopted project with
-none of its own), or `<git-common-dir>/apache-magpie/` (not adopted). The two branches below trigger
+none of its own), or `<git-common-dir>/apache-magpie/` (not adopted; `.svn/apache-magpie/` in a Subversion working copy). The two branches below trigger
 on **different** conditions — read the "not adopted" one's scope as
 looser than the "already adopted" one's; they are not the same rule
 applied to two stores.
diff --git a/plugins/magpie-setup/skills/setup/delegates.md b/plugins/magpie-setup/skills/setup/delegates.md
index 90f56d87b..1e13bedaf 100644
--- a/plugins/magpie-setup/skills/setup/delegates.md
+++ b/plugins/magpie-setup/skills/setup/delegates.md
@@ -23,7 +23,7 @@ The contract — the block, the modes, the wrapper no delegate can remove, and h
 Every command below runs with the same `PYTHONPATH` as the pre-flight block:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.discovery --project-root . [--magpie-skills <dir>]
 ```
 
diff --git a/plugins/magpie-setup/skills/setup/setup_preflight/guides/_footer.md b/plugins/magpie-setup/skills/setup/setup_preflight/guides/_footer.md
index d2fbdabd8..b81031a67 100644
--- a/plugins/magpie-setup/skills/setup/setup_preflight/guides/_footer.md
+++ b/plugins/magpie-setup/skills/setup/setup_preflight/guides/_footer.md
@@ -13,5 +13,5 @@ Show this again any time: `/magpie-setup:welcome-guide{{arg}}`
 🌈 Prefer it in colour? Run this yourself — the `!` prefix runs it as a shell command:
 
 ```text
-! PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" python3 -m setup_preflight.welcome show --family {{guide}} --color=always
+! PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" python3 -m setup_preflight.welcome show --family {{guide}} --color=always
 ```
diff --git a/plugins/magpie-setup/skills/setup/setup_preflight/sections/step-11.md b/plugins/magpie-setup/skills/setup/setup_preflight/sections/step-11.md
index 00a025753..6093e73d9 100644
--- a/plugins/magpie-setup/skills/setup/setup_preflight/sections/step-11.md
+++ b/plugins/magpie-setup/skills/setup/setup_preflight/sections/step-11.md
@@ -18,7 +18,7 @@ on a marketplace install), once, and say which reason applies:
 Then record that it was shown, whether or not the user takes it:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.isolated record-reminder
 ```
 
diff --git a/plugins/magpie-setup/skills/setup/setup_preflight/sections/welcome.md b/plugins/magpie-setup/skills/setup/setup_preflight/sections/welcome.md
index becacfc92..8ae12b2dc 100644
--- a/plugins/magpie-setup/skills/setup/setup_preflight/sections/welcome.md
+++ b/plugins/magpie-setup/skills/setup/setup_preflight/sections/welcome.md
@@ -19,7 +19,7 @@ and `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismiss
    it replaces `seen`. Continue needs nothing further.
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.welcome record --family <facts.family> --choice <seen|dismiss|never>
 ```
 
diff --git a/plugins/magpie-setup/skills/setup/setup_preflight/welcome.py b/plugins/magpie-setup/skills/setup/setup_preflight/welcome.py
index 5d5a1f432..6e488c335 100644
--- a/plugins/magpie-setup/skills/setup/setup_preflight/welcome.py
+++ b/plugins/magpie-setup/skills/setup/setup_preflight/welcome.py
@@ -30,6 +30,12 @@ general guide):
 * **`dismiss`** — hidden until the framework version changes;
 * **`never`** — hidden until `enable` clears it.
 
+`due` answers the welcome question alone, in the pre-flight's own verdict
+shape: `{"verdict": "ok"}`, or the same `welcome` finding and rules the
+pre-flight would emit.  It is for a skill that runs no pre-flight — the
+setup family is exempt from the shared block — so the `setup` skill can
+still open its first run with the guide.
+
 Which family a skill belongs to comes from its frontmatter `family:`, which
 a marketplace install cannot read from here (the copy of this package in
 the personal layer carries no skills), so it is generated into
@@ -38,6 +44,7 @@ the personal layer carries no skills), so it is generated into
 Run as a module:
 
     python3 -m setup_preflight.welcome list
+    python3 -m setup_preflight.welcome due    --skill setup
     python3 -m setup_preflight.welcome show   --family general [--color[=auto|always|never]]
     python3 -m setup_preflight.welcome record --family security --choice seen|dismiss|never
     python3 -m setup_preflight.welcome enable --family security
@@ -455,6 +462,9 @@ def main(argv: list[str] | None = None) -> int:
     parser = argparse.ArgumentParser(prog="setup_preflight.welcome", description=__doc__.split("\n")[0])
     sub = parser.add_subparsers(dest="action", required=True)
     sub.add_parser("list", help="print the guides that ship, one per line")
+    due = sub.add_parser("due", help="the pre-flight's welcome finding for one skill, alone")
+    due.add_argument("--skill", required=True, help="the skill's frontmatter `name:`")
+    due.add_argument("--project-root", default=".", type=Path)
     show = sub.add_parser("show", help="print a family's welcome guide")
     show.add_argument("--family", required=True)
     show.add_argument(
@@ -496,6 +506,13 @@ def main(argv: list[str] | None = None) -> int:
         print("\n".join(guides()))
         return 0
 
+    if args.action == "due":
+        from .core import Verdict, welcome_findings
+
+        findings = welcome_findings(args.project_root, args.skill)
+        print(Verdict("action" if findings else "ok", findings).to_json())
+        return 0
+
     if guide(args.family) is None:
         print(f"{args.action}: no welcome guide for {args.family!r}; have {guides()}", file=sys.stderr)
         return 2
diff --git a/plugins/magpie-setup/skills/setup/upgrade.md b/plugins/magpie-setup/skills/setup/upgrade.md
index 7bb72b5b8..b7ea26475 100644
--- a/plugins/magpie-setup/skills/setup/upgrade.md
+++ b/plugins/magpie-setup/skills/setup/upgrade.md
@@ -468,7 +468,7 @@ introduces and this step closes. Verify the refreshed copy answers before
 reporting the upgrade complete:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill magpie-setup --no-welcome
 ```
 
diff --git a/plugins/magpie-setup/skills/welcome-guide/SKILL.md b/plugins/magpie-setup/skills/welcome-guide/SKILL.md
index 0f7be970f..de78d17b1 100644
--- a/plugins/magpie-setup/skills/welcome-guide/SKILL.md
+++ b/plugins/magpie-setup/skills/welcome-guide/SKILL.md
@@ -16,7 +16,7 @@ argument-hint: "[family]"
 capability: capability:platform
 surface_hash: sha256:3dafaec43fc7bd00
 license: Apache-2.0
-measured_tokens: 1317
+measured_tokens: 1365
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -68,7 +68,7 @@ Pass any other name through as given and let the command say whether it exists.
 Every command uses the personal layer's copy of the checker, as the pre-flight does:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.welcome show --family <family>
 ```
 
@@ -91,7 +91,7 @@ Only when the user asked to have a guide back
 clear its recorded choice so the pre-flight shows it again:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight.welcome enable --family <family>
 ```
 
diff --git a/plugins/magpie-utilities/skills/list-skills/SKILL.md b/plugins/magpie-utilities/skills/list-skills/SKILL.md
index 54763407f..781de76de 100644
--- a/plugins/magpie-utilities/skills/list-skills/SKILL.md
+++ b/plugins/magpie-utilities/skills/list-skills/SKILL.md
@@ -21,7 +21,7 @@ when_to_use: |
 capability: capability:stats
 surface_hash: sha256:5b9c9751b398f81b
 license: Apache-2.0
-measured_tokens: 2367
+measured_tokens: 2417
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -48,14 +48,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -67,12 +68,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-utilities/skills/optimize-skill/SKILL.md b/plugins/magpie-utilities/skills/optimize-skill/SKILL.md
index 40faf2a7d..a86f8f5fb 100644
--- a/plugins/magpie-utilities/skills/optimize-skill/SKILL.md
+++ b/plugins/magpie-utilities/skills/optimize-skill/SKILL.md
@@ -15,7 +15,7 @@ when_to_use: >-
 capability: capability:authoring
 surface_hash: sha256:be9968c266788028
 license: Apache-2.0
-measured_tokens: 3391
+measured_tokens: 3441
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -42,14 +42,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -61,12 +62,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-utilities/skills/report-framework-issue/SKILL.md b/plugins/magpie-utilities/skills/report-framework-issue/SKILL.md
index 8c6966f56..749721655 100644
--- a/plugins/magpie-utilities/skills/report-framework-issue/SKILL.md
+++ b/plugins/magpie-utilities/skills/report-framework-issue/SKILL.md
@@ -23,7 +23,7 @@ argument-hint: "[what broke, or a problem description]"
 capability: capability:platform
 surface_hash: sha256:f14640fa1249c172
 license: Apache-2.0
-measured_tokens: 4658
+measured_tokens: 4708
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -53,14 +53,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -72,12 +73,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-utilities/skills/skill-reconciler/SKILL.md b/plugins/magpie-utilities/skills/skill-reconciler/SKILL.md
index 649243801..b3b85163a 100644
--- a/plugins/magpie-utilities/skills/skill-reconciler/SKILL.md
+++ b/plugins/magpie-utilities/skills/skill-reconciler/SKILL.md
@@ -21,7 +21,7 @@ when_to_use: |
 capability: capability:reconciliation
 surface_hash: sha256:964dbda42cb402ce
 license: Apache-2.0
-measured_tokens: 4644
+measured_tokens: 4694
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -48,14 +48,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -67,12 +68,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/plugins/magpie-utilities/skills/write-skill/SKILL.md b/plugins/magpie-utilities/skills/write-skill/SKILL.md
index d4226c0ef..9f04f7e83 100644
--- a/plugins/magpie-utilities/skills/write-skill/SKILL.md
+++ b/plugins/magpie-utilities/skills/write-skill/SKILL.md
@@ -17,7 +17,7 @@ when_to_use: >-
 capability: capability:authoring
 surface_hash: sha256:31626428a2545bce
 license: Apache-2.0
-measured_tokens: 2638
+measured_tokens: 2688
 ---
 
 <!-- SPDX-License-Identifier: Apache-2.0
@@ -44,14 +44,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -63,12 +64,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/tools/cve-tool-vulnogram/generate-cve-json/README.md b/tools/cve-tool-vulnogram/generate-cve-json/README.md
index 85df4a1c5..a40356696 100644
--- a/tools/cve-tool-vulnogram/generate-cve-json/README.md
+++ b/tools/cve-tool-vulnogram/generate-cve-json/README.md
@@ -7,6 +7,10 @@
 
 - [generate-cve-json](#generate-cve-json)
   - [Run](#run)
+  - [Configuration](#configuration)
+    - [Where the file is looked up](#where-the-file-is-looked-up)
+    - [Keys](#keys)
+    - [Minimal example](#minimal-example)
   - [Record a published CVE in the project's security records — `advisory-records`](#record-a-published-cve-in-the-projects-security-records--advisory-records)
   - [Test](#test)
   - [Lint / type-check](#lint--type-check)
@@ -78,6 +82,88 @@ The body is normalised in memory with [`github-body-field`](../../github-body-fi
 A field repeated with different values exits 2 with the field name and heading line numbers, never a guess.
 `--report-json <path>` writes `normalisation_changes`, `needs_decision` and `missing_required` (no body text) for the calling skill to act on.
 
+## Configuration
+
+Every project-specific value comes from one TOML file, `cve-json-config.toml`.
+The framework ships no default: an adopter writes its own.
+The test fixture at [`tests/fixtures/cve-json-config.toml`](tests/fixtures/cve-json-config.toml) describes a fictional project and must not be copied as a starting point.
+
+### Where the file is looked up
+
+The generator takes the first location that applies:
+
+1. The path given with `--config <path>`.
+2. The path in the `CVE_JSON_CONFIG` environment variable.
+3. `.apache-magpie-overrides/tools/cve-tool-vulnogram/cve-json-config.toml`, relative to the current directory: the committed, project-wide copy.
+4. `.apache-magpie-overrides/tools/vulnogram/cve-json-config.toml`, the location before the tool directory was renamed.
+   It is read with a warning asking you to move the file.
+5. `tools/cve-tool-vulnogram/cve-json-config.toml` in the personal layer, for a maintainer whose project has not committed one.
+   The personal layer is `<git-common-dir>/apache-magpie/` in a repository that has not adopted Magpie (then a legacy in-tree `.apache-magpie-local/`), and `.apache-magpie-local/` in one that has (then, in a linked worktree, the main checkout's) — see [`docs/setup/agentic-overrides.md`](../../../docs/setup/agentic-overrides.md).
+
+Locations 4 and 5 are consulted only when neither `--config` nor `CVE_JSON_CONFIG` is set.
+A path given by either is used as-is, and the run fails if the file does not exist.
+When nothing is found the generator exits with an error listing these options.
+
+### Keys
+
+Keys marked *required* have no default: a missing one stops the generator.
+The `--repo`, `--vendor`, `--product`, `--package-name`, `--collection-url` and `--org-id` flags override the matching value for a single run.
+
+| Key | Type | Required | Default | Meaning |
+|---|---|---|---|---|
+| `[meta].tracker_repo` | string | required | — | The tracker's `owner/name` slug: the default `--repo`, and its owner segment filters tracker URLs out of `references[]`. |
+| `[meta].generator_tag` | string | required | — | Written to the record's `x_generator.engine`, so a reader can tell which tool produced it. |
+| `[meta].skill_source_url` | string | optional | `https://github.com/<tracker_repo>` | Link to the generator printed in the CVE JSON comment it attaches to the tracker. |
+| `[product].vendor` | string | required | — | `affected[].vendor`. |
+| `[product].default_product` | string | required | — | `affected[].product` for an *Affected versions* line that names no known package. |
+| `[product].default_package_name` | string | required | — | The package name for such a line. |
+| `[product].default_collection_url` | string | required | — | Where the packages are distributed (`https://pypi.python.org`, say); also the source a purl type is derived from. |
+| `[product].purl_type` | string | optional | derived from `default_collection_url` | The package-url type (`pypi`, `npm`, `maven`, …). Derived for PyPI, npm, crates.io, RubyGems and NuGet hosts; `"none"` emits no purl and falls back to the `collectionURL` / `packageName` pair. |
+| `[product].purl_namespace` | string | optional | `""` | The purl namespace for types that need one (a Maven groupId, a Composer vendor, a Go module prefix). Ignored for types that have none; a type that requires one gets no purl without it. |
+| `[cna].org_id` | string (UUID) | required | — | The CNA's UUID, written to `cveMetadata.assignerOrgId` and `providerMetadata.orgId`. No default on purpose, so a project outside the ASF never inherits the ASF's id. ASF projects copy `cve_authority.vulnogram.asf_org_id` from [`organizations/ASF/organization.md`](../../../organizations/ASF/organization.md); only the generated record uses it, never CVE allocation. |
+| `[cna_private].project_url` | string | optional | `""` | `CNA_private.projecturl` in the record. |
+| `[cna_private].owner` | string | optional | `""` | `CNA_private.owner` — the project's short name in the CVE tool. |
+| `[cna_private].users_list` | string | optional | `""` | `CNA_private.userslist` — the project's users mailing list. |
+| `[packages].package_pattern` | string (regex) | required | — | Matches a full package name. Named groups: `package` (the name), `project` (optional sub-project directory name), `rest` (optional; the version range after the name). |
+| `[packages].top_level_name` | string | required | — | The top-level package name. |
+| `[packages].top_level_product` | string | required | — | Its product name; also stripped as a prefix from the issue title. |
+| `[packages].project_product_template` | string | required | — | Product name for a sub-project package, with `{display}` replaced by its display name. |
+| `[packages.project_display_map]` | table of string → string | required (may be empty) | — | Sub-project directory name → display name. An unlisted name is title-cased word by word (`pop-corn` → `Pop Corn`). |
+| `[packages.overrides."<package>"]` | table | optional | none | Per-package exceptions for a package outside the main ecosystem. Any of `collection_url`, `purl_type` and `product`; what it omits falls through to the values above. |
+| `[workflow].release_vote_gating` | boolean | optional | `false` | When true, a complete record moves from `DRAFT` to `REVIEW` only while a release vote is running. |
+| `[workflow].rc_voting_label` | string | optional | `"rc voting"` | The tracker label that marks a running release vote; read only when gating is on. |
+| `[workflow].forward_state_labels` | array of strings | optional | `["fix released", "announced - emails sent", "announced", "vendor-advisory ready"]` | Tracker labels meaning the release has shipped, so the vote gate no longer applies. |
+| `[discovery].internal_markers` | array of strings | optional | `[]` | Case-insensitive text that marks an internal find (your own scanner's name, say) in the *Security mailing list thread* or *Reporter credited as* field; a hit sets `source.discovery` to `INTERNAL`. |
+
+### Minimal example
+
+Every required key, for a project shipping one package to PyPI:
+
+```toml
+[meta]
+tracker_repo = "example-org/example-security"
+generator_tag = "example-org/generate-cve-json"
+
+[product]
+vendor = "Example Foundation"
+default_product = "Example"
+default_package_name = "example"
+default_collection_url = "https://pypi.python.org"
+
+[cna]
+org_id = "00000000-0000-0000-0000-000000000000"  # your CNA's UUID
+
+[packages]
+package_pattern = '^(?P<package>example)(?:\s+(?P<rest>.*))?$'
+top_level_name = "example"
+top_level_product = "Example"
+project_product_template = "Example {display}"
+
+[packages.project_display_map]
+```
+
+The fixture linked above shows the optional `[cna_private]`, `[workflow]` and `[discovery]` tables in use.
+
 ## Record a published CVE in the project's security records — `advisory-records`
 
 A second console script in the same project.
diff --git a/tools/cve-tool-vulnogram/generate-cve-json/SKILL.md b/tools/cve-tool-vulnogram/generate-cve-json/SKILL.md
index 4db06adc8..36d9d0703 100644
--- a/tools/cve-tool-vulnogram/generate-cve-json/SKILL.md
+++ b/tools/cve-tool-vulnogram/generate-cve-json/SKILL.md
@@ -37,7 +37,8 @@ Vulnogram form input" step when you are preparing to publish an advisory.
 > document are **illustrative examples** of how a project with a
 > project-style package layout would configure things; replace
 > them mentally with the adopter's own package taxonomy. The
-> schema is documented in the package [README](README.md).
+> schema and lookup order are documented in the package
+> [README](README.md#configuration).
 
 **Golden rule:** the script generates a *proposal* JSON document. It
 parses a handful of structured fields from the issue body, but it cannot
diff --git a/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py b/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py
index 4813ce5d7..256ac31bd 100644
--- a/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py
+++ b/tools/cve-tool-vulnogram/generate-cve-json/src/generate_cve_json/cve_json.py
@@ -128,8 +128,11 @@ import tempfile
 #   3. `<cwd>/.apache-magpie-overrides/tools/cve-tool-vulnogram/cve-json-config.toml`.
 #      Back-compat: if only the pre-rename `tools/vulnogram/` copy exists at
 #      this default location, it is used with a deprecation warning.
+#   4. `tools/cve-tool-vulnogram/cve-json-config.toml` in a personal layer
+#      (`layers.personal_layers`), first match wins.
+# Steps 3 and 4 apply only when neither 1 nor 2 names a path.
 #
-# Schema: see the README in this package.
+# Schema: the "Configuration" section of this package's README.md.
 import tomllib
 import urllib.parse
 from pathlib import Path
@@ -205,7 +208,7 @@ def _load_config(config_path: Path | str | None = None) -> dict:
                     f"  Pass --config <path>, set ${_CONFIG_PATH_ENV}, place a config\n"
                     f"  at {_DEFAULT_CONFIG_RELPATH} relative to the cwd, or keep a\n"
                     f"  personal one at <personal layer>/{_PERSONAL_CONFIG_RELPATH}.\n"
-                    f"  Schema: see the generate-cve-json package README."
+                    f"  Schema: tools/cve-tool-vulnogram/generate-cve-json/README.md#configuration"
                 )
             path = found
     return tomllib.loads(path.read_text(encoding="utf-8"))
diff --git a/tools/dev/README.md b/tools/dev/README.md
index a426c6daf..d49481f79 100644
--- a/tools/dev/README.md
+++ b/tools/dev/README.md
@@ -54,7 +54,7 @@ installable for other members to depend on it.
 | [`check-skill-config.py`](check-skill-config.py) | Generates each family README's *Before the first run* config table from the skills' `requires_config:` frontmatter, and guards it. Which `<project-config>/` files a skill reads, and whether it can work without one, used to live in prose (only 8 of 74 skills carry a config section, under three headings, marking optionality however the author felt like) and in a hand-maintained table per family — which had drifted as far as an unguarded  [...]
 | [`check-doc-sync.py`](check-doc-sync.py) | Guards the documentation claims that track the tree and rot silently: spec-index completeness (every `tools/spec-loop/specs/*.md` listed in **both** `overview.md` and `README.md`), the per-family skill counts in the root `README.md`, the per-mode counts in `docs/modes.md`'s *Modes at a glance* table, the bare catalogue totals in `docs/setup/marketplace.md`, the per-family *plugin* counts in the marketplace tables of `docs/setup/marketplace.md` [...]
 | [`render-wizard.py`](render-wizard.py) | Generates every **animated** SVG the docs show. Top level: the quick start's hero (`install.svg` — three install commands and a skill answering, the shortest true story), one per walkthrough step (`step-install`, `step-isolation`, `step-use`, `step-adopt`), and `magpie-setup.svg`, the whole first run including the secure-agent setup. Per family under `assets/quickstart/wizard/`: `/magpie-setup:setup config` playing through. The static screenshot [...]
-| [`render-preflight-fixtures.py`](render-preflight-fixtures.py) | Renders the `setup/preflight-floor` eval cases from what the pre-flight checker actually prints. Each case directory holds a `state.json` (the committed lock, the `claude plugin list --json` result or `"unreadable"`, the skill's `requires_config:`); the script builds that state as a scratch git repository, runs `python3 -m setup_preflight` against it with a minimal environment, and writes the printed verdict into the case [...]
+| [`render-preflight-fixtures.py`](render-preflight-fixtures.py) | Renders the `setup/preflight-floor` eval cases from what the pre-flight checker actually prints, and the `setup/welcome-first-run` cases from the `setup` skill's own welcome check (`python3 -m setup_preflight.welcome due`, a case's `"check": "welcome-due"`). Each case directory holds a `state.json` (the committed lock, the `claude plugin list --json` result or `"unreadable"`, the skill's `requires_config:`); the script bu [...]
 | [`render-screenshot.sh`](render-screenshot.sh) | Renders an authored terminal transcript (`assets/quickstart/families/<family>/<name>.txt`) to the static SVG beside it. The family screenshots are *written*, not captured: a capture needs a terminal, a scratch project and a human, and needs all three again whenever any output moves — which is what left nine family recordings showing the same thing for months. What a capture gives that authoring does not is a guarantee that the picture ma [...]
 | [`check-quickstart-recording.py`](check-quickstart-recording.py) | Validates the one recording and the authored screenshots against what the repo actually ships. The recording (`assets/quickstart/magpie-setup.svg`) must exist and be embedded by the quick start and by `docs/setup/README.md`. The screenshots (`assets/quickstart/families/<family>/<skill>.{txt,svg}`): every live family has a directory with at least one transcript, every directory belongs to a family, every `.txt` has an `. [...]
 | [`check-shared-blocks.py`](check-shared-blocks.py) | Owns every shared prose block that would otherwise be hand-copied across skills — replaces the single-block `check-skill-preflight.py`. The **auto** block (`preflight`) keeps that retired script's exact behaviour byte-for-byte: generated from [`preflight-block.md`](preflight-block.md), auto-inserted after the first body `#` heading of every non-`setup`-family `skills/*/SKILL.md`, removed from a skill that becomes exempt. Any number o [...]
diff --git a/tools/dev/check-family-plugins.py b/tools/dev/check-family-plugins.py
index af4707d1d..a492fcd12 100644
--- a/tools/dev/check-family-plugins.py
+++ b/tools/dev/check-family-plugins.py
@@ -12,7 +12,8 @@ Checks that every plugin is properly defined:
   `pyproject.toml`'s `project.version` verbatim — including a `.devN` suffix;
 - `magpie-setup`'s manifest wires the `hooks/check-upgrade.sh` SessionStart
   hook (which must exist) -- it rides on the one plugin the recommended floor
-  always installs;
+  always installs -- and the root `.codex-plugin/plugin.json` wires the same
+  script for Codex, through `plugins/magpie-setup/` from the repo root;
 - the root `plugin.json` conforms to Agent Plugins 1.0 — the pinned `$schema`,
   the name pattern, the closed ten-field set (so a Claude-only component path
   never leaks in), and the same shared metadata as the Claude manifest;
@@ -78,6 +79,24 @@ SETUP_HOOKS = {
         }
     ]
 }
+# The same script, wired for Codex in the root plugin's `.codex-plugin/plugin.json`
+# (the overlay Codex merges over the root `plugin.json`). `${PLUGIN_ROOT}` is the
+# repo root there, so the path runs through `plugins/magpie-setup/`; the script
+# finds the root's manifests and its `skills/setup` symlink from that root.
+CODEX_MANIFEST = Path(".codex-plugin/plugin.json")
+CODEX_HOOKS = {
+    "SessionStart": [
+        {
+            "hooks": [
+                {
+                    "type": "command",
+                    "command": f'/bin/bash -p "${{PLUGIN_ROOT}}/{UPGRADE_HOOK.as_posix()}"',
+                    "timeout": 10,
+                }
+            ],
+        }
+    ]
+}
 # Every skill's pre-flight runs `setup_preflight`, and `setup config` installs it
 # from the plugin on a marketplace install, so the package has to be inside
 # magpie-setup's root: a symlink out to `tools/` would put magpie-setup, which the
@@ -1100,6 +1119,14 @@ def check(fam: dict[str, set[str]]) -> list[str]:
     else:
         if setup_data is not None and "check-upgrade.sh" not in json.dumps(setup_data.get("hooks", {})):
             errors.append(f"{setup_manifest}: SessionStart hook does not reference check-upgrade.sh")
+    codex_data, codex_err = load_json(CODEX_MANIFEST)
+    if codex_err:
+        errors.append(codex_err)
+    elif isinstance(codex_data, dict) and codex_data.get("hooks") != CODEX_HOOKS:
+        errors.append(
+            f"{CODEX_MANIFEST}: 'hooks' must be exactly {json.dumps(CODEX_HOOKS)} "
+            "(the root plugin's PLUGIN_ROOT is the repo root, and the hook runs as `/bin/bash -p <path>`)"
+        )
     errors += check_setup_preflight_package()
     errors += welcome_families("check-constant")
 
diff --git a/tools/dev/preflight-block.md b/tools/dev/preflight-block.md
index 16eb38002..e2e7011ab 100644
--- a/tools/dev/preflight-block.md
+++ b/tools/dev/preflight-block.md
@@ -11,14 +11,15 @@ Run the checker with this skill's own frontmatter `name:` and
 `surface_hash:`, and one `--requires` for each `requires_config:` entry:
 
 ```bash
-PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie" \
+PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie" \
   python3 -m setup_preflight --skill <name> --hash <surface_hash> [--requires <file>]...
 ```
 
 The path finds the checker `/magpie-setup:setup config` installed in the
 personal layer: this checkout's `.apache-magpie-local/`, the main
-checkout's when this is a linked worktree, or the git directory's
-`apache-magpie/` when Magpie is only installed.
+checkout's when this is a linked worktree, or, when Magpie is only
+installed, the git directory's `apache-magpie/` (`.svn/apache-magpie/`
+in a Subversion working copy).
 
 - **`{"verdict": "ok"}`** → **silent**. Continue into the work the user
   asked for and say nothing about pre-flight. This is the ordinary answer.
@@ -30,12 +31,12 @@ checkout's when this is a linked worktree, or the git directory's
   `python3` — → never read that as a pass, and do not re-derive the check
   by hand: it lives in code so that there is one version of it. If the
   project has **no** `.apache-magpie.lock`, `.apache-magpie-overrides/`,
-  or personal layer (any of the three directories above),
+  or personal layer (any of the directories above),
   nothing has been set up here and there is
   nothing to reconcile — resolve this skill's `requires_config:` entries
   yourself (first match wins: `.apache-magpie-local/<file>`, the main
   checkout's `.apache-magpie-local/<file>`, `<git-common-dir>/apache-magpie/<file>`,
-  then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
+  `.svn/apache-magpie/<file>`, then `.apache-magpie-overrides/<file>`), stay silent if they all resolve, and
   run `/magpie-setup:setup config` for this skill if any does not, which also
   installs the checker. Otherwise the project *is* set up and its checker
   is missing or stale: say so, propose `/magpie-setup:setup config` to install
diff --git a/tools/dev/render-preflight-fixtures.py b/tools/dev/render-preflight-fixtures.py
index 9966176ba..e57244423 100644
--- a/tools/dev/render-preflight-fixtures.py
+++ b/tools/dev/render-preflight-fixtures.py
@@ -42,6 +42,13 @@ verdict is rendered, never written:
 * `welcome` — `true` to include the skill family's first-run welcome guide.
   Left out otherwise (`--no-welcome`), so a floor case is about the floor
   and not about which family its skill happens to belong to.
+* `check` — `"welcome-due"` runs `python3 -m setup_preflight.welcome due`
+  instead of the full pre-flight: the hard-coded welcome check the `setup`
+  skill runs, since the setup family carries no shared pre-flight block.
+  Only `skill` and `reconciled` apply to it.
+
+Each suite in `SUITES` is rendered the same way; a `welcome-due` case's
+verdict follows `WELCOME_MARKER` rather than `MARKER`.
 
 Usage:
 
@@ -59,9 +66,14 @@ import sys
 import tempfile
 from pathlib import Path
 
-SUITE = Path("tools/skill-evals/evals/setup/preflight-floor/fixtures")
+SUITES = (
+    Path("tools/skill-evals/evals/setup/preflight-floor/fixtures"),
+    Path("tools/skill-evals/evals/setup/welcome-first-run/fixtures"),
+)
 CHECKER = Path("plugins/magpie-setup/skills/setup")
 MARKER = "\nThe pre-flight command printed:\n"
+WELCOME_MARKER = "\nThe welcome check printed:\n"
+WELCOME_DUE = "welcome-due"
 DEFAULT_SKILL = "issue-triage"
 DEFAULT_HASH = "sha256:2edc90a1b7f3440d"
 
@@ -101,6 +113,21 @@ def run_checker(state: dict[str, object], repo_root: Path, scratch: Path) -> str
         personal.mkdir(parents=True, exist_ok=True)
         (personal / "reconciled.json").write_text(json.dumps(reconciled), encoding="utf-8")
 
+    check = state.get("check")
+    if check is not None and check != WELCOME_DUE:
+        raise ValueError(f"`check` must be {WELCOME_DUE!r} or left out")
+    if check == WELCOME_DUE:
+        env = _env(scratch)
+        env["PYTHONPATH"] = str(repo_root / CHECKER)
+        skill = str(state.get("skill", "setup"))
+        due = [sys.executable, "-m", "setup_preflight.welcome", "due", "--skill", skill]
+        due += ["--project-root", str(project)]
+        result = subprocess.run(due, capture_output=True, text=True, env=env, cwd=project, check=False)
+        if result.returncode != 0:
+            detail = result.stderr.strip()
+            raise RuntimeError(f"setup_preflight.welcome due exited {result.returncode}: {detail}")
+        return result.stdout.rstrip("\n")
+
     harness = state.get("harness")
     listing = scratch / "plugins.json"
     plugins = state.get("plugins")
@@ -201,23 +228,24 @@ def _env(scratch: Path) -> dict[str, str]:
     return env
 
 
-def render_report(prose: str, verdict: str) -> str:
+def render_report(prose: str, verdict: str, marker: str = MARKER) -> str:
     """The case's own prose, then the verdict block. Idempotent."""
-    if MARKER in prose:
-        prose = prose[: prose.index(MARKER)]
-    return prose.rstrip("\n") + "\n" + MARKER + "\n```json\n" + verdict + "\n```\n"
+    if marker in prose:
+        prose = prose[: prose.index(marker)]
+    return prose.rstrip("\n") + "\n" + marker + "\n```json\n" + verdict + "\n```\n"
 
 
 def render_suite(repo_root: Path) -> dict[Path, str]:
     """Every case's report as it should read now."""
-    suite = repo_root / SUITE
     out: dict[Path, str] = {}
-    for state_file in sorted(suite.glob("case-*/state.json")):
-        state = json.loads(state_file.read_text(encoding="utf-8"))
-        report = state_file.parent / "report.md"
-        with tempfile.TemporaryDirectory() as tmp:
-            verdict = run_checker(state, repo_root, Path(tmp))
-        out[report] = render_report(report.read_text(encoding="utf-8"), verdict)
+    for suite in SUITES:
+        for state_file in sorted((repo_root / suite).glob("case-*/state.json")):
+            state = json.loads(state_file.read_text(encoding="utf-8"))
+            report = state_file.parent / "report.md"
+            with tempfile.TemporaryDirectory() as tmp:
+                verdict = run_checker(state, repo_root, Path(tmp))
+            marker = WELCOME_MARKER if state.get("check") == WELCOME_DUE else MARKER
+            out[report] = render_report(report.read_text(encoding="utf-8"), verdict, marker)
     return out
 
 
@@ -228,8 +256,7 @@ def main(argv: list[str] | None = None) -> int:
     args = parser.parse_args(argv)
 
     root: Path = args.repo_root.resolve()
-    suite = root / SUITE
-    cases = sorted(p for p in suite.glob("case-*") if p.is_dir())
+    cases = sorted(p for suite in SUITES for p in (root / suite).glob("case-*") if p.is_dir())
     missing = [c.name for c in cases if not (c / "state.json").is_file()]
     if missing:
         print(f"render-preflight-fixtures: no state.json in {', '.join(missing)}", file=sys.stderr)
diff --git a/tools/dev/tests/test_render_preflight_fixtures.py b/tools/dev/tests/test_render_preflight_fixtures.py
index 406375eb5..f5eb8314f 100644
--- a/tools/dev/tests/test_render_preflight_fixtures.py
+++ b/tools/dev/tests/test_render_preflight_fixtures.py
@@ -33,6 +33,7 @@ def _load() -> ModuleType:
 
 
 mod = _load()
+FLOOR, WELCOME = mod.SUITES
 
 
 @pytest.fixture
@@ -43,7 +44,8 @@ def repo(tmp_path: Path) -> Path:
         tmp_path / mod.CHECKER / "setup_preflight",
         ignore=shutil.ignore_patterns("__pycache__"),
     )
-    shutil.copytree(_REPO / mod.SUITE, tmp_path / mod.SUITE)
+    for suite in mod.SUITES:
+        shutil.copytree(_REPO / suite, tmp_path / suite)
     return tmp_path
 
 
@@ -59,12 +61,12 @@ def test_a_changed_rule_makes_the_suite_stale(repo: Path) -> None:
     # Rendering repairs it, and leaves the suite clean for the next check.
     assert mod.main(["--repo-root", str(repo)]) == 1
     assert mod.main(["--check", "--repo-root", str(repo)]) == 0
-    report = repo / mod.SUITE / "case-6-unadopted/report.md"
+    report = repo / FLOOR / "case-6-unadopted/report.md"
     assert "A new rule." in report.read_text(encoding="utf-8")
 
 
 def test_a_changed_state_makes_its_case_stale(repo: Path) -> None:
-    state_file = repo / mod.SUITE / "case-2-below-floor/state.json"
+    state_file = repo / FLOOR / "case-2-below-floor/state.json"
     state = json.loads(state_file.read_text(encoding="utf-8"))
     state["plugins"] = [["magpie-setup", "0.3.0"], ["magpie-pr-management", "0.3.0"]]
     state_file.write_text(json.dumps(state), encoding="utf-8")
@@ -73,7 +75,7 @@ def test_a_changed_state_makes_its_case_stale(repo: Path) -> None:
 
 
 def test_a_case_without_state_is_refused(repo: Path) -> None:
-    (repo / mod.SUITE / "case-9-new").mkdir()
+    (repo / FLOOR / "case-9-new").mkdir()
     assert mod.main(["--check", "--repo-root", str(repo)]) == 1
 
 
@@ -81,3 +83,20 @@ def test_render_keeps_the_prose_and_is_idempotent() -> None:
     once = mod.render_report("Some state.\n", '{"verdict": "ok"}')
     assert once.startswith("Some state.\n")
     assert mod.render_report(once, '{"verdict": "ok"}') == once
+
+
+def test_a_changed_welcome_rule_makes_the_welcome_check_suite_stale(repo: Path) -> None:
+    """The `setup` skill's own welcome check is rendered from the real checker too."""
+    section = repo / mod.CHECKER / "setup_preflight/sections/welcome.md"
+    section.write_text(section.read_text(encoding="utf-8") + "\nA new rule.\n", encoding="utf-8")
+
+    assert mod.main(["--repo-root", str(repo)]) == 1
+    assert mod.main(["--check", "--repo-root", str(repo)]) == 0
+    texts = [r.read_text(encoding="utf-8") for r in sorted((repo / WELCOME).glob("case-*/report.md"))]
+    assert texts and all(mod.WELCOME_MARKER in text for text in texts)
+    assert any("A new rule." in text for text in texts)
+
+
+def test_an_unknown_check_is_refused(tmp_path: Path) -> None:
+    with pytest.raises(ValueError, match="check"):
+        mod.run_checker({"check": "everything", "plugins": []}, _REPO, tmp_path)
diff --git a/tools/hook-manager/README.md b/tools/hook-manager/README.md
index 88fe9c032..e337f985c 100644
--- a/tools/hook-manager/README.md
+++ b/tools/hook-manager/README.md
@@ -12,6 +12,8 @@
     - [Home](#home)
     - [Detection](#detection)
   - [Registry](#registry)
+  - [Operations](#operations)
+  - [Configuration](#configuration)
   - [Adapters](#adapters)
   - [Adding an adapter](#adding-an-adapter)
   - [Consumers](#consumers)
@@ -140,6 +142,32 @@ The two YAML names are shared with pre-commit, so a repository with one uses bot
 It also checks, without writing, that [`.claude/settings.json`](../../.claude/settings.json) and [`tools/sandbox-lint/expected.json`](../sandbox-lint/expected.json) deny every manager's default home and carry the sandbox home of each manager this repository uses.
 It runs as the `sync-hook-managers` prek hook.
 
+## Operations
+
+The contract has no binary of its own.
+Its operations are carried out by the scripts generated from the registry:
+
+| Operation | Run by | Invocation | Behaviour |
+|---|---|---|---|
+| Install rewrite | [`hook-manager-shim.sh`](../agent-isolation/hook-manager-shim.sh), installed as `~/.claude/bin/<tool>` | `<tool> <install.subcommand> [args…]`, e.g. `prek install` | Applies the adapter's install strategy — for prek, runs `prek install --git-dir <absolute common dir> [args…]`. Left unchanged when `args` already carry the flag or `-h` / `--help`, or outside a git work tree. Every other subcommand passes through to the real binary, the next `<tool>` on `PATH` that is no [...]
+| Host home | [`git-hook-dispatcher.sh`](../agent-isolation/git-hook-dispatcher.sh), from `~/.claude/git-hooks/` | Every hook git runs, before it chains to the repository's own hook | Outside the sandbox (no `SANDBOX_RUNTIME`), exports `<home.env>=~/.local/share/<home.host>` for every registered manager unless the operator's value lies outside `~/.cache`, and moves `XDG_CACHE_HOME` to `~/.local/share/prek-host/cache` by the same rule. Sandboxed hooks keep their values. |
+| Home check | [`sandbox-lint`](../sandbox-lint/) | `uv run --project tools/sandbox-lint sandbox-lint` | Fails a settings file whose `permissions.deny` lacks `Edit(<home.default>/**)` for any registered manager, and, for a project that uses a manager (see [Detection](#detection)), one whose `env.<home.env>` is missing or overlaps the default home. |
+| Registry sync | [`tools/dev/sync-hook-managers.py`](../dev/sync-hook-managers.py) | `tools/dev/sync-hook-managers.py [--check]`; the `sync-hook-managers` prek hook | Validates `registry.json`, rewrites the generated blocks of the three scripts above, and checks the committed settings and the sandbox-lint baseline. Exits 1 when a block changed (re-stage and commit), or, with `--check`, when one would. |
+
+## Configuration
+
+The registry is framework-side: an adopter does not edit it.
+What a repository or an operator configures is where each manager's environments live and which binary answers to the manager's name:
+
+| Setting | Where | Value for prek | Required |
+|---|---|---|---|
+| `permissions.deny` entry `Edit(<home.default>/**)` | `.claude/settings.json` (and `tools/sandbox-lint/expected.json` in this repository) | `Edit(~/.cache/prek/**)` | Always, for every registered manager. |
+| `env.<home.env>` | `.claude/settings.json` | `"PREK_HOME": "~/.cache/prek-sandbox"` | Only when the repository uses the manager; it must not overlap the default home. |
+| `<home.env>` in the operator's environment | the shell the operator commits from | unset, or a directory outside `~/.cache` | Optional: a value outside `~/.cache` is kept by the dispatcher; one under it is replaced with the host home. |
+| `PATH` | the operator's shell profile | `~/.claude/bin` ahead of the real `prek` | Only under whole-user scope, where the shim is installed; removing `~/.claude/bin` from `PATH` restores the stock binary. |
+
+[`setup-isolated-setup-install`](../../plugins/magpie-setup/skills/isolated-setup-install/SKILL.md) brings in the first two with its copy of the framework's `.claude/settings.json` and the `PATH` entry in [Step P](../../plugins/magpie-setup/skills/isolated-setup-install/step-p-sandbox-allowlists.md); `sandbox-lint` checks the first two.
+
 ## Adapters
 
 | Adapter | Language | Install strategy | Home | Status |
diff --git a/tools/setup-preflight/tests/test_layers.py b/tools/setup-preflight/tests/test_layers.py
index e4ca3a2b0..81d2e0fe9 100644
--- a/tools/setup-preflight/tests/test_layers.py
+++ b/tools/setup-preflight/tests/test_layers.py
@@ -377,3 +377,51 @@ def test_the_two_run_dir_copies_match() -> None:
     lint = _functions(REPO_ROOT / "tools/sandbox-lint/src/sandbox_lint/layers.py")
     for name in ("default_run_dir", "run_dir_candidates"):
         assert gateway[name] == lint[name]
+
+
+# --- the documented PYTHONPATH finds the checker wherever `config` installs it ----
+
+PREFLIGHT_BLOCK = REPO_ROOT / "tools" / "dev" / "preflight-block.md"
+
+
+def _documented_pythonpath() -> str:
+    import re
+
+    match = re.search(r'^PYTHONPATH="([^"]+)"', PREFLIGHT_BLOCK.read_text(encoding="utf-8"), re.M)
+    assert match, "the pre-flight block names no PYTHONPATH"
+    return match.group(1)
+
+
+@pytest.mark.skipif(not PREFLIGHT_BLOCK.is_file(), reason="needs the framework tree")
+@pytest.mark.parametrize("vcs", ["git", "svn", "none"])
+def test_the_block_pythonpath_finds_the_checker_in_every_personal_home(tmp_path: Path, vcs: str) -> None:
+    """Install the checker where `config` would, then resolve it exactly as the block does."""
+    import os
+    import shutil
+    import subprocess
+
+    root = tmp_path / "project"
+    root.mkdir()
+    if vcs == "git":
+        subprocess.run(["git", "init", "-q", str(root)], check=True, capture_output=True)
+    elif vcs == "svn":
+        _svn_working_copy(root)
+    package = Path(layers.__file__).resolve().parent
+    shutil.copytree(package, layers.personal_dir(root) / "setup_preflight")
+    env = {
+        "PATH": os.environ.get("PATH", "/usr/bin:/bin"),
+        "HOME": str(tmp_path),
+        # Never let `git` find a repository above the test project.
+        "GIT_CEILING_DIRECTORIES": str(tmp_path),
+    }
+    script = (
+        f'PYTHONPATH="{_documented_pythonpath()}" python3 -P -c '
+        "'import pathlib, setup_preflight; print(pathlib.Path(setup_preflight.__file__).parent)'"
+    )
+    done = subprocess.run(
+        ["sh", "-c", script], cwd=root, env=env, capture_output=True, text=True, check=False
+    )
+    assert done.returncode == 0, done.stderr
+    assert done.stderr == ""
+    found = Path(done.stdout.strip()).resolve()
+    assert found == (layers.personal_dir(root) / "setup_preflight").resolve()
diff --git a/tools/setup-preflight/tests/test_welcome.py b/tools/setup-preflight/tests/test_welcome.py
index 5f20a737e..3b0cbaf8c 100644
--- a/tools/setup-preflight/tests/test_welcome.py
+++ b/tools/setup-preflight/tests/test_welcome.py
@@ -323,6 +323,50 @@ def test_no_welcome_leaves_it_out(project: Path, capsys, version) -> None:
     assert json.loads(capsys.readouterr().out) == {"verdict": "ok"}
 
 
+def due_command(project: Path, capsys, skill: str = "setup") -> dict:
+    assert welcome.main(["due", "--skill", skill, "--project-root", str(project)]) == 0
+    return json.loads(capsys.readouterr().out)
+
+
+def test_due_carries_the_same_finding_and_rules_as_the_pre_flight(project: Path, capsys, version) -> None:
+    run(project)
+    via_preflight = json.loads(capsys.readouterr().out)
+    payload = due_command(project, capsys, SECURITY_SKILL)
+    assert payload["verdict"] == "action"
+    assert payload["findings"] == via_preflight["findings"][:1]
+    assert payload["rules"] == {"welcome": via_preflight["rules"]["welcome"]}
+
+
+def test_due_for_the_setup_skill_walks_general_then_setup(project: Path, capsys, version) -> None:
+    """The setup family runs no pre-flight; `due` is how `setup` opens its first run."""
+    first = due_command(project, capsys)
+    assert [(f["code"], f["facts"]["family"]) for f in first["findings"]] == [("welcome", "general")]
+    welcome.record(project, "general", "seen")
+    second = due_command(project, capsys)
+    assert [(f["facts"]["family"], f["facts"]["reason"]) for f in second["findings"]] == [
+        ("setup", "first-run")
+    ]
+
+
+def test_due_is_ok_and_silent_when_nothing_is_due(project: Path, capsys, version) -> None:
+    welcome.record(project, "general", "never")
+    welcome.record(project, "setup", "never")
+    assert due_command(project, capsys) == {"verdict": "ok"}
+
+
+def test_due_is_ok_for_a_skill_outside_magpie(project: Path, capsys, version) -> None:
+    assert due_command(project, capsys, "not-a-magpie-skill") == {"verdict": "ok"}
+
+
+def test_due_reads_no_setup_state_beyond_the_guide(project: Path, capsys, version) -> None:
+    """A missing `requires_config` file is the pre-flight's business, not `due`'s."""
+    welcome.record(project, "general", "never")
+    welcome.record(project, "setup", "never")
+    run(project, "--requires", "project.md")
+    assert json.loads(capsys.readouterr().out)["verdict"] == "action"
+    assert due_command(project, capsys) == {"verdict": "ok"}
+
+
 # --- the three answers ----------------------------------------------------------------
 
 
diff --git a/tools/skill-evals/README.md b/tools/skill-evals/README.md
index 8b0b0b592..b356d83d9 100644
--- a/tools/skill-evals/README.md
+++ b/tools/skill-evals/README.md
@@ -11,7 +11,7 @@ Behavioral eval harness for Apache Magpie skills. Each eval suite tests a skill
 
 Suites are currently implemented for:
 
-- **setup** — 150 cases across 32 steps (step-verify-drift, step-overrides-surface, step-override-bypass, step-m3-baseline-pick, step-m4-install-gates, step-m5-no-repo-offer, step-m5-companion-offer, step-upgrade-companion-offer, step-adopt-settings-merge, verify-default-set, uninstall-default-set, lock-marketplace-parse, adopt-write-floor, setup-prefill-from-floor, preflight-floor, upgrade-adoption-split, verify-floor, adopt-review-process, adopt-security-list, step-reconcile, step-veri [...]
+- **setup** — 152 cases across 33 steps (step-verify-drift, step-overrides-surface, step-override-bypass, step-m3-baseline-pick, step-m4-install-gates, step-m5-no-repo-offer, step-m5-companion-offer, step-upgrade-companion-offer, step-adopt-settings-merge, verify-default-set, uninstall-default-set, lock-marketplace-parse, adopt-write-floor, setup-prefill-from-floor, preflight-floor, upgrade-adoption-split, verify-floor, adopt-review-process, adopt-security-list, step-reconcile, step-veri [...]
 - **setup-isolated-setup-install** — 19 cases across 5 steps (runtime-routing, step-snapshot-drift, step-scope-confirm, step-hardware-key, step-roborev-exclusion)
 - **setup-privacy-llm** — 6 cases across 2 steps (step-1-resolve, step-4-gate)
 - **setup-shared-config-sync** — 12 cases across 2 steps (step-3-decide-action, step-5-draft-commit)
diff --git a/tools/skill-evals/evals/setup/README.md b/tools/skill-evals/evals/setup/README.md
index 05158aeb1..c22bdea14 100644
--- a/tools/skill-evals/evals/setup/README.md
+++ b/tools/skill-evals/evals/setup/README.md
@@ -5,7 +5,7 @@
 
 Behavioral evals for the `setup` skill.
 
-## Suites (150 cases total)
+## Suites (152 cases total)
 
 | Suite | Step | Cases | What it covers |
 |---|---|---|---|
@@ -25,7 +25,8 @@ Behavioral evals for the `setup` skill.
 | adopt-review-process | adopt.md § Step 4c | 5 | a fresh adopt finding two deviations in the confirmed documents where one is accepted and one rejected, and a release policy left alone because that family is not in the floor; a re-adoption reviewing only the one family the floor diff added; a re-adoption that adds no family, where edited process documents are still not re-read; a sentence that would weaken a merge confirmation gate, dropped and named while a label deviation beside it is [...]
 | adopt-security-list | adopt.md § Step 4b | 4 | an ASF project whose dedicated security list is in its docs and on the ASF page (recommend `security@`); an ASF project with no dedicated list (no recommendation, `private@` only as a flagged fallback); a non-ASF project, which is not asked; and conflicting evidence between `SECURITY.md` and the ASF page (no recommendation, flagged fallback) |
 | setup-prefill-from-floor | install.md § Step M0b | 4 | adopted (propose the floor), unadopted (framework defaults), a foreign marketplace called out, and a snapshot lock falling through |
-| preflight-floor | preflight-block.md § Pre-flight | 22 | at floor (silent), below floor (update), plugin missing (install), foreign marketplace (ask first, run nothing), no `claude` CLI (print), unadopted (propose setup), `apache/magpie` in an alarming context (update anyway, unasked), unreadable `claude plugin list --json` (silent, treated as unknown not absent), first Magpie run (show the general welcome guide, record it, carry on), first utilities run (show the utilities welcome gui [...]
+| preflight-floor | preflight-block.md § Pre-flight | 21 | at floor (silent), below floor (update), plugin missing (install), foreign marketplace (ask first, run nothing), no `claude` CLI (print), unadopted (propose setup), `apache/magpie` in an alarming context (update anyway, unasked), unreadable `claude plugin list --json` (silent, treated as unknown not absent), first Magpie run (show the general welcome guide, record it, carry on), first utilities run (show the utilities welcome gui [...]
+| welcome-first-run | SKILL.md § First — the welcome guide | 3 | the `setup` skill's own hard-coded welcome check (the setup family runs no shared pre-flight): first Magpie run (show the general guide), general already seen (show the setup guide), both hidden (silent, and no setup finding sneaks in because only the welcome is checked) |
 | upgrade-adoption-split | upgrade.md § Step 0b | 4 | not adopted (nothing staged), adopted (floor raised and staged), already ahead (floor unchanged), snapshot method (falls through) |
 | verify-floor | verify.md § Adoption floor | 4 | no lock (not a fault), ahead of floor with extra plugins (not a fault), a shortfall (a fault), a floor plugin the marketplace no longer ships (a fault, not installed around) |
 | step-reconcile | reconcile.md § The sweep | 3 | a clean sweep on a pinned-snapshot install (anchor present, config resolved — stamp written, nothing proposed), a renamed step heading stranding an override's anchor (one re-anchor proposal named), a marketplace install whose plugin cache is sandbox-denied (anchor resolution left `unchecked`, config resolution still completes) |
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-10-utilities-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-10-utilities-first-run/report.md
index eb36e7909..65cb2221b 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-10-utilities-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-10-utilities-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "utilities",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your skill-authoring sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udccb **List** the skills installed here, grouped by family \u2014 *\"list skills\"*\n2. \u270d\ufe0f **Write** a new skill against framework conventions, with evals \u2014 *\"write a skill\"*\n3. \u26a1 **Optimize** an existing skill for brevity and token efficiency \u2014 *\"optimize a skill\"* [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your skill-authoring sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udccb **List** the skills installed here, grouped by family \u2014 *\"list skills\"*\n2. \u270d\ufe0f **Write** a new skill against framework conventions, with evals \u2014 *\"write a skill\"*\n3. \u26a1 **Optimize** an existing skill for brevity and token efficiency \u2014 *\"optimize a skill\"* [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-11-mentoring-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-11-mentoring-first-run/report.md
index c64530b58..e0a21ab42 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-11-mentoring-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-11-mentoring-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "mentoring",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your newcomer-mentoring sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udc4b **Welcome** a first-time contributor with project guidance \u2014 *\"welcome the newcomer on PR 123\"*\n2. \ud83d\udd0e **Sweep** the backlog for newcomer-ready tasks \u2014 *\"find good first issues\"*\n3. \u270d\ufe0f **Author** one self-contained beginner issue \u2014 *\"draft a good  [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your newcomer-mentoring sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udc4b **Welcome** a first-time contributor with project guidance \u2014 *\"welcome the newcomer on PR 123\"*\n2. \ud83d\udd0e **Sweep** the backlog for newcomer-ready tasks \u2014 *\"find good first issues\"*\n3. \u270d\ufe0f **Author** one self-contained beginner issue \u2014 *\"draft a good  [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-12-pairing-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-12-pairing-first-run/report.md
index 758656596..2f547d0c7 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-12-pairing-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-12-pairing-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "pairing",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your pre-PR review sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udd0d **Self-review** your local diff before pushing \u2014 *\"review my diff before I push\"*\n2. \ud83d\udee1\ufe0f **Multi-agent review** the diff with independent correctness, security, and conventions passes \u2014 *\"run independent reviews of my branch\"*\n\nBoth skills return review reports [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your pre-PR review sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udd0d **Self-review** your local diff before pushing \u2014 *\"review my diff before I push\"*\n2. \ud83d\udee1\ufe0f **Multi-agent review** the diff with independent correctness, security, and conventions passes \u2014 *\"run independent reviews of my branch\"*\n\nBoth skills return review reports [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-13-issue-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-13-issue-first-run/report.md
index e4c42fd74..c44e052c0 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-13-issue-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-13-issue-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "issue",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your issue-management sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83c\udff7\ufe0f **Triage** incoming issues and draft tracker replies \u2014 *\"triage the open issues\"*\n2. \ud83d\udd01 **Deduplicate** related reports and propose which to keep \u2014 *\"find duplicate issues\"*\n3. \ud83e\uddea **Reproduce** a reported bug from its code \u2014 *\"reproduce issue [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your issue-management sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83c\udff7\ufe0f **Triage** incoming issues and draft tracker replies \u2014 *\"triage the open issues\"*\n2. \ud83d\udd01 **Deduplicate** related reports and propose which to keep \u2014 *\"find duplicate issues\"*\n3. \ud83e\uddea **Reproduce** a reported bug from its code \u2014 *\"reproduce issue [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-14-pr-management-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-14-pr-management-first-run/report.md
index bb0c73671..9fa1aadfb 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-14-pr-management-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-14-pr-management-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "pr-management",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your PR-management sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \u2699\ufe0f Configure it\n\nStart with `<upstream>`, the project's review criteria and its area labels.\n`pr-management-code-review-criteria.md` names the criteria sources;\n`pr-management-config.md` carries the labels and queue rules.\n`reviewer-roster.md` tells reviewer routing who covers each area.\n\n- **Configure it for yourself** \u2 [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your PR-management sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \u2699\ufe0f Configure it\n\nStart with `<upstream>`, the project's review criteria and its area labels.\n`pr-management-code-review-criteria.md` names the criteria sources;\n`pr-management-config.md` carries the labels and queue rules.\n`reviewer-roster.md` tells reviewer routing who covers each area.\n\n- **Configure it for yourself** \u2 [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-15-contributor-growth-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-15-contributor-growth-first-run/report.md
index 313d1cb9b..33ae6676e 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-15-contributor-growth-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-15-contributor-growth-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "contributor-growth",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your contributor-growth sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udcca **Activity sweep** across code, reviews, and issues \u2014 *\"sweep activity for <handle>\"*\n2. \ud83e\udeaa **Identity map** across GitHub, mailing lists, and chat handles \u2014 *\"map identities for <handle>\"*\n3. \ud83d\udcc8 **Compare activity with reference levels** as plain numb [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your contributor-growth sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udcca **Activity sweep** across code, reviews, and issues \u2014 *\"sweep activity for <handle>\"*\n2. \ud83e\udeaa **Identity map** across GitHub, mailing lists, and chat handles \u2014 *\"map identities for <handle>\"*\n3. \ud83d\udcc8 **Compare activity with reference levels** as plain numb [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-19-repo-health-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-19-repo-health-first-run/report.md
index edff9c542..e7f800027 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-19-repo-health-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-19-repo-health-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "repo-health",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your repository-health sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83c\udfc3 **Audit CI runners** for outdated labels \u2014 *\"audit our CI runners\"*\n2. \ud83d\udd12 **Check workflows** for security risks \u2014 *\"audit workflow security\"*\n3. \ud83d\udce6 **Audit dependencies** for vulnerabilities and licenses \u2014 *\"audit dependencies\"* / *\"check depen [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your repository-health sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83c\udfc3 **Audit CI runners** for outdated labels \u2014 *\"audit our CI runners\"*\n2. \ud83d\udd12 **Check workflows** for security risks \u2014 *\"audit workflow security\"*\n3. \ud83d\udce6 **Audit dependencies** for vulnerabilities and licenses \u2014 *\"audit dependencies\"* / *\"check depen [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/expected.json b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/expected.json
deleted file mode 100644
index 2adc36dfb..000000000
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/expected.json
+++ /dev/null
@@ -1 +0,0 @@
-{"action": "welcome", "commands": [], "blocks": false}
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/state.json b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/state.json
deleted file mode 100644
index 18616267e..000000000
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/state.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
-  "lock": null,
-  "plugins": [
-    [
-      "magpie-setup",
-      "0.4.0"
-    ]
-  ],
-  "reconciled": {
-    "welcome": {
-      "general": {
-        "choice": "seen",
-        "shown": 1
-      }
-    }
-  },
-  "skill": "status",
-  "welcome": true,
-  "hash": "sha256:85dfb8b48739fc11"
-}
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-21-release-management-first-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-21-release-management-first-run/report.md
index 7603b5939..8afa25ec1 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-21-release-management-first-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-21-release-management-first-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "release-management",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your release-management sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udccb **Prepare** the release plan and version bump \u2014 *\"plan our next release\"*\n2. \ud83d\udd11 **Check KEYS** before RC signing \u2014 *\"sync the release signing key\"*\n3. \ud83d\udce6 **Cut an RC** and prepare signing/staging commands \u2014 *\"cut rc1 for this version\"*\n4. \u270 [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your release-management sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83d\udccb **Prepare** the release plan and version bump \u2014 *\"plan our next release\"*\n2. \ud83d\udd11 **Check KEYS** before RC signing \u2014 *\"sync the release signing key\"*\n3. \ud83d\udce6 **Cut an RC** and prepare signing/staging commands \u2014 *\"cut rc1 for this version\"*\n4. \u270 [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md
index ce1b5e8c9..0126025f3 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md
+++ b/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md
@@ -20,7 +20,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "general",
-        "guide": "# \ud83d\udc26 Hello from Magpie \u2014 your project's maintainer sidekick\n\nOne minute, then straight back to what you asked for.\n\n## \ud83d\ude80 Getting started\n\n- \ud83d\udce6 **Install** from your agent's marketplace (Claude Code shown):\n  `/plugin marketplace add apache/magpie`,\n  then `/plugin install magpie-setup@apache-magpie` and one `/plugin install magpie-<family>@apache-magpie` per family you want\n- \ud83d\ude4b **Configure it for yourself** \u2014  [...]
+        "guide": "# \ud83d\udc26 Hello from Magpie \u2014 your project's maintainer sidekick\n\nOne minute, then straight back to what you asked for.\n\n## \ud83d\ude80 Getting started\n\n- \ud83d\udce6 **Install** from your agent's marketplace (Claude Code shown):\n  `/plugin marketplace add apache/magpie`,\n  then `/plugin install magpie-setup@apache-magpie` and one `/plugin install magpie-<family>@apache-magpie` per family you want\n- \ud83d\ude4b **Configure it for yourself** \u2014  [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +30,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/case-meta.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/case-meta.json
similarity index 100%
copy from tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/case-meta.json
copy to tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/case-meta.json
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/expected.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/expected.json
new file mode 100644
index 000000000..0a0bc53db
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/expected.json
@@ -0,0 +1 @@
+{"action": "welcome", "guide": "general", "commands": [], "blocks": false}
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/report.md
similarity index 79%
copy from tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md
copy to tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/report.md
index ce1b5e8c9..ceb4ef0a0 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-9-first-magpie-run/report.md
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/report.md
@@ -2,16 +2,13 @@
      https://www.apache.org/licenses/LICENSE-2.0 -->
 
 There is no `.apache-magpie.lock`, no `.apache-magpie-overrides/` and no
-`.apache-magpie-local/` at the repo root, and no personal layer at
-`.git/apache-magpie/` either. The running agent is Claude Code
-with magpie-setup 0.4.0 and magpie-security 0.4.0 installed.
+personal layer at `.git/apache-magpie/`. The running agent is Claude Code
+with magpie-setup 0.4.0 installed.
 
-The invoked skill's own frontmatter reads `name: issue-sync` and
-`surface_hash: sha256:2edc90a1b7f3440d`; it declares no `requires_config:`.
-This is the first Magpie skill this user has run here.
-The user asked it to "sync 123".
+No Magpie skill has run here before.
+The user invoked `/magpie-setup:setup config` to "configure Magpie for me".
 
-The pre-flight command printed:
+The welcome check printed:
 
 ```json
 {
@@ -20,7 +17,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "general",
-        "guide": "# \ud83d\udc26 Hello from Magpie \u2014 your project's maintainer sidekick\n\nOne minute, then straight back to what you asked for.\n\n## \ud83d\ude80 Getting started\n\n- \ud83d\udce6 **Install** from your agent's marketplace (Claude Code shown):\n  `/plugin marketplace add apache/magpie`,\n  then `/plugin install magpie-setup@apache-magpie` and one `/plugin install magpie-<family>@apache-magpie` per family you want\n- \ud83d\ude4b **Configure it for yourself** \u2014  [...]
+        "guide": "# \ud83d\udc26 Hello from Magpie \u2014 your project's maintainer sidekick\n\nOne minute, then straight back to what you asked for.\n\n## \ud83d\ude80 Getting started\n\n- \ud83d\udce6 **Install** from your agent's marketplace (Claude Code shown):\n  `/plugin marketplace add apache/magpie`,\n  then `/plugin install magpie-setup@apache-magpie` and one `/plugin install magpie-<family>@apache-magpie` per family you want\n- \ud83d\ude4b **Configure it for yourself** \u2014  [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +27,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/state.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/state.json
new file mode 100644
index 000000000..36fae1991
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-1-first-magpie-run/state.json
@@ -0,0 +1 @@
+{"check": "welcome-due", "skill": "setup", "reconciled": null}
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/case-meta.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/case-meta.json
similarity index 100%
copy from tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/case-meta.json
copy to tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/case-meta.json
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/expected.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/expected.json
new file mode 100644
index 000000000..4ce059290
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/expected.json
@@ -0,0 +1 @@
+{"action": "welcome", "guide": "setup", "commands": [], "blocks": false}
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/report.md b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/report.md
similarity index 78%
rename from tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/report.md
rename to tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/report.md
index cdc2b8437..6f9bd38d4 100644
--- a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/report.md
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/report.md
@@ -5,13 +5,11 @@ There is no `.apache-magpie.lock`, no `.apache-magpie-overrides/` and no
 `.apache-magpie-local/` at the repo root. The running agent is Claude Code
 with magpie-setup 0.4.0 installed.
 
-The user has already seen the initial general welcome guide on an earlier run.
-The invoked skill's own frontmatter reads `name: status` and
-`surface_hash: sha256:85dfb8b48739fc11`; it belongs to the setup family.
-This is the first time a setup skill has run here.
-The user asked it to "show Magpie status".
+The user has already seen the general welcome guide on an earlier run.
+This is the first time the `setup` skill has run here.
+The user invoked `/magpie-setup:setup verify`.
 
-The pre-flight command printed:
+The welcome check printed:
 
 ```json
 {
@@ -20,7 +18,7 @@ The pre-flight command printed:
       "code": "welcome",
       "facts": {
         "family": "setup",
-        "guide": "# \ud83d\udc26 Magpie here \u2014 your setup sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83e\udded **Check status** \u2014 *\"show how Magpie is installed and adopted here\"*\n2. \ud83d\udee0\ufe0f **Install and configure** \u2014 *\"set up Magpie for me\"*\n3. \ud83d\udd10 **Isolate the agent** \u2014 *\"install the secure agent sandbox\"*\n4. \u2705 **Verify and diagnose** \u2014 *\"verify isola [...]
+        "guide": "# \ud83d\udc26 Magpie here \u2014 your setup sidekick\n\nA one-minute tour, then straight back to what you asked for.\n\n## \ud83d\udd04 The typical flow\n\n1. \ud83e\udded **Check status** \u2014 *\"show how Magpie is installed and adopted here\"*\n2. \ud83d\udee0\ufe0f **Install and configure** \u2014 *\"set up Magpie for me\"*\n3. \ud83d\udd10 **Isolate the agent** \u2014 *\"install the secure agent sandbox\"*\n4. \u2705 **Verify and diagnose** \u2014 *\"verify isola [...]
         "max_shown": 3,
         "reason": "first-run",
         "shown": 0
@@ -30,7 +28,7 @@ The pre-flight command printed:
     }
   ],
   "rules": {
-    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
+    "welcome": "## welcome \u2014 a first-run welcome guide is due\n\nA welcome guide is due on this run: `facts.family` names it\n(`general`, for the first Magpie skill this user runs here, or the skill's own family),\nand `facts.reason` says why (`first-run`, `again`, or `upgraded` after a dismissal).\n`facts.guide` is the guide. The checker shows at most one guide per run and has already picked it.\n\n1. **Show `facts.guide` to the user verbatim**, as Markdown, before the work they as [...]
   },
   "verdict": "action"
 }
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/state.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/state.json
new file mode 100644
index 000000000..477281b78
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-2-setup-guide-after-general/state.json
@@ -0,0 +1 @@
+{"check": "welcome-due", "skill": "setup", "reconciled": {"welcome": {"general": {"choice": "seen", "shown": 1}}}}
diff --git a/tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/case-meta.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/case-meta.json
similarity index 100%
rename from tools/skill-evals/evals/setup/preflight-floor/fixtures/case-20-setup-first-run/case-meta.json
rename to tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/case-meta.json
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/expected.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/expected.json
new file mode 100644
index 000000000..6193a5daf
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/expected.json
@@ -0,0 +1 @@
+{"action": "silent", "guide": null, "commands": [], "blocks": false}
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/report.md b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/report.md
new file mode 100644
index 000000000..d161a4f4e
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/report.md
@@ -0,0 +1,19 @@
+<!-- SPDX-License-Identifier: Apache-2.0
+     https://www.apache.org/licenses/LICENSE-2.0 -->
+
+There is no `.apache-magpie.lock` and no `.apache-magpie-overrides/`.
+The personal layer at `.git/apache-magpie/` holds only a `reconciled.json`
+recording the user's welcome-guide answers. The running agent is Claude Code
+with magpie-setup 0.4.0 installed.
+
+The user hid both the general and the setup welcome guides for good on
+earlier runs. No required configuration resolves here yet.
+The user invoked `/magpie-setup:setup verify`.
+
+The welcome check printed:
+
+```json
+{
+  "verdict": "ok"
+}
+```
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/state.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/state.json
new file mode 100644
index 000000000..091388f30
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/case-3-nothing-due/state.json
@@ -0,0 +1 @@
+{"check": "welcome-due", "skill": "setup", "reconciled": {"welcome": {"general": {"choice": "never", "shown": 1}, "setup": {"choice": "never", "shown": 2}}}}
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/output-spec.md b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/output-spec.md
new file mode 100644
index 000000000..1d53ad471
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/output-spec.md
@@ -0,0 +1,36 @@
+<!-- SPDX-License-Identifier: Apache-2.0
+     https://www.apache.org/licenses/LICENSE-2.0 -->
+
+## Output format
+
+Return ONLY valid JSON with this structure:
+
+```json
+{
+  "action": "silent" | "welcome",
+  "guide": "general" | "setup" | null,
+  "commands": [...],
+  "blocks": true | false,
+  "reason": "<one sentence>"
+}
+```
+
+`action` reports what this step does about the state described. The welcome
+check's printed verdict is in the state: act on it through its `rules`.
+`silent` means it prints nothing and the sub-action proceeds.
+`welcome` means it showed a welcome guide, offered its three choices and
+recorded the answer before carrying on.
+
+`guide` names the guide shown (`facts.family`), or `null` when none was.
+
+`commands` is the list of install, update or configuration commands this step
+runs. Recording the welcome answer is not one, so it is `[]` whenever the step
+only shows a guide; a step that ran the full pre-flight or `setup config` would
+list it.
+
+`blocks` reports whether the step stops the sub-action rather than continuing
+this turn.
+
+`reason` is one sentence saying why.
+
+Do not include any text outside the JSON object.
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/step-config.json b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/step-config.json
new file mode 100644
index 000000000..2dd103f05
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/step-config.json
@@ -0,0 +1,4 @@
+{
+  "skill_md": "plugins/magpie-setup/skills/setup/SKILL.md",
+  "step_heading": "## First — the welcome guide"
+}
diff --git a/tools/skill-evals/evals/setup/welcome-first-run/fixtures/user-prompt-template.md b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/user-prompt-template.md
new file mode 100644
index 000000000..bd5e529e7
--- /dev/null
+++ b/tools/skill-evals/evals/setup/welcome-first-run/fixtures/user-prompt-template.md
@@ -0,0 +1,9 @@
+<!-- SPDX-License-Identifier: Apache-2.0
+     https://www.apache.org/licenses/LICENSE-2.0 -->
+
+## Repo and machine state
+
+{report}
+
+You are at the start of the `setup` skill, before its sub-action. Report what
+this first step does. Return JSON only.
diff --git a/tools/spec-loop/specs/adoption-and-setup.md b/tools/spec-loop/specs/adoption-and-setup.md
index 1fa20e66d..b1c52284f 100644
--- a/tools/spec-loop/specs/adoption-and-setup.md
+++ b/tools/spec-loop/specs/adoption-and-setup.md
@@ -82,7 +82,7 @@ acceptance:
     into `.apache-magpie-local/`. `worktree-init` copies or links no
     personal config: the fallback covers it.
   - Every skill's pre-flight runs the checker with
-    `PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir)/../.apache-magpie-local:$(git rev-parse --git-common-dir)/apache-magpie"`,
+    `PYTHONPATH=".apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/../.apache-magpie-local:$(git rev-parse --git-common-dir 2>/dev/null || echo .git)/apache-magpie:.svn/apache-magpie"`,
     so the copy is found in this checkout's `.apache-magpie-local/`, the
     main checkout's, or the git-directory home. The project-verdict
     cache is keyed on the checkout, since worktrees may share one