|
1 | 1 | --- |
2 | 2 | agent: punch-ai-governance |
3 | | -description: Init — on-demand, read-only asset enablement sweep that certifies the Punch GitHub Copilot asset set (prompts, agents, skills, instructions) is present, punch-prefixed, and Copilot-compatible before the lifecycle runs, plus an informational capability check for the optional AI-Ingest vendor skills Caveman/cavecrew. Re-runnable anytime. Reports PASS / WARN / BLOCKED. Never reconciles docs, never runs a runtime. |
| 3 | +description: Init — on-demand, read-only asset enablement sweep that certifies the Punch GitHub Copilot asset set (prompts, agents, skills, instructions) is present, punch-prefixed, and Copilot-compatible before the lifecycle runs, plus an informational capability check for the optional AI-Ingest vendor skill Caveman and the workspace's VS Code discovery boundary. Re-runnable anytime. Reports PASS / WARN / BLOCKED. Never reconciles docs, never runs a runtime. |
4 | 4 | --- |
5 | 5 | # Punch — Init (GitHub Copilot asset enablement sweep) |
6 | 6 |
|
@@ -49,24 +49,25 @@ registries ([`prompt-registry.md`](../../docs/ai/prompt-registry.md), |
49 | 49 | `/punch-document`). Missing required skill → **BLOCKED**. |
50 | 50 | 4. **Instructions.** Every `.github/instructions/*.instructions.md` has |
51 | 51 | `applyTo:` + `description:`. Missing required instruction or bad frontmatter → **BLOCKED**. |
52 | | -5. **AI Skills (Caveman + cavecrew — optional vendor capabilities; graphify — adopted upstream skill).** |
53 | | - Caveman/cavecrew presence is an **informational capability check only** — |
54 | | - never a Punch prerequisite: |
| 52 | +5. **AI Skills (Caveman — optional vendor capability; graphify — adopted upstream skill).** |
| 53 | + Caveman presence is an **informational capability check only** — never a |
| 54 | + Punch prerequisite: |
55 | 55 | - Caveman's default-`lite` rule for VS Code GitHub Copilot Chat lives directly |
56 | 56 | in [`copilot-instructions.md`](../copilot-instructions.md) — no separate |
57 | 57 | Punch presentation-adapter skill. Every phase runs entirely in normal |
58 | 58 | prose when Caveman is absent or inactive; not a gap. |
59 | | - - The vendor skills `caveman` + `cavecrew` are installed via the **accepted |
60 | | - AI-Ingest path** ([`.github/.ai-upstream/README.md`](../.ai-upstream/README.md)), |
61 | | - scoped to `github-copilot`. `caveman` is relocated once to |
62 | | - `.github/skills/caveman/` (the Copilot project-skill location — installer |
63 | | - default is `.agents/skills/caveman/`, which must not remain populated); |
64 | | - `cavecrew` stays at its installer-default `.agents/skills/cavecrew/`, with |
65 | | - the optional `punch-cavecrew-investigator` / `punch-cavecrew-reviewer` |
66 | | - Copilot personas in `.github/agents/`. Not installed → |
67 | | - **WARN** (user installs manually; purely optional — Build never depends on |
68 | | - cavecrew, and Review/Test/Security lose only the optional bounded-worker |
69 | | - assist). |
| 59 | + - The vendor skill `caveman` is installed via the **accepted AI-Ingest path** |
| 60 | + ([`.github/.ai-upstream/README.md`](../.ai-upstream/README.md)), scoped to |
| 61 | + `github-copilot`, relocated once to `.github/skills/caveman/` (the Copilot |
| 62 | + project-skill location — installer default `.agents/skills/caveman/` must |
| 63 | + not remain populated). Not installed → **WARN** (user installs manually; |
| 64 | + purely optional — Build never depends on it). |
| 65 | + - The optional `punch-cavecrew-investigator` / `punch-cavecrew-reviewer` |
| 66 | + Copilot custom agents in `.github/agents/` (see check 2) are |
| 67 | + self-contained and certified on their own frontmatter — they require no |
| 68 | + `.agents/**` vendor skill to be present. `.agents/**` is outside this |
| 69 | + workspace's VS Code Chat discovery boundary and is never a Punch |
| 70 | + capability, prerequisite, resolver target, or canon. |
70 | 71 | - The native upstream skill [`graphify`](../skills/graphify/SKILL.md) exists, |
71 | 72 | adopted verbatim (only `user-invocable:` / `disable-model-invocation:` host |
72 | 73 | metadata added — no Punch-authored fork; native skills stay agnostic per |
@@ -98,6 +99,14 @@ registries ([`prompt-registry.md`](../../docs/ai/prompt-registry.md), |
98 | 99 | must not misdirect Copilot away from Punch's GitHub-Copilot-first design (e.g. |
99 | 100 | telling Copilot the runtime or an external tool is the entry point for Punch |
100 | 101 | asset work). Misdirection → **WARN** (fix via `/punch-document`). |
| 102 | +10. **VS Code discovery boundary.** [`.vscode/settings.json`](../../.vscode/settings.json) |
| 103 | + exists and is valid JSON; `chat.useAgentsMdFile`, `chat.useNestedAgentsMdFiles`, |
| 104 | + and `chat.useClaudeMdFile` are `false`; `chat.instructionsFilesLocations`, |
| 105 | + `chat.promptFilesLocations`, `chat.agentFilesLocations`, and |
| 106 | + `chat.agentSkillsLocations` each enable their `.github/*` root |
| 107 | + (`.github/instructions`, `.github/prompts`, `.github/agents`, |
| 108 | + `.github/skills`). Missing file, invalid JSON, or a required key set to the |
| 109 | + wrong value → **BLOCKED**. |
101 | 110 |
|
102 | 111 | ## Grading |
103 | 112 |
|
@@ -136,9 +145,10 @@ one-line reason — then: |
136 | 145 | broad fixer. Scripts under the repo are **not** mutable Init assets — Init does |
137 | 146 | not embed or edit Python, shell, `setup.py`, or launchers. |
138 | 147 | - **Copilot-first.** Checks only the assets Punch needs to operate through VS Code |
139 | | - GitHub Copilot. Vendor tools (graphify, the Caveman/cavecrew pack) are in scope |
140 | | - **only** via the accepted AI-Ingest path; non-Copilot agent runtimes (Claude |
141 | | - Code, Cloud Code) are out of scope entirely. |
| 148 | + GitHub Copilot. Vendor tools (graphify, Caveman) are in scope **only** via the |
| 149 | + accepted AI-Ingest path; `.agents/**` vendor skills (e.g. `cavecrew`) and |
| 150 | + non-Copilot agent runtimes (Claude Code, Cloud Code) are out of scope |
| 151 | + entirely. |
142 | 152 | - **Lifecycle preserved.** Init certifies; it does not alter the Spec → Plan → |
143 | 153 | Build → Test → Review → Ship → Document lifecycle it gates. |
144 | 154 |
|
|
0 commit comments