You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/agents/release-scaffold.agent.md
+33-3Lines changed: 33 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,12 @@ metadata:
24
24
25
25
## Wizard Integration & Advanced Features
26
26
27
-
This agent is tightly integrated with the **Release Scaffold Wizard** defined in `.github/prompts/create-release-scaffold.prompt.md` and implemented via `scripts/lib/wizard.js`.
27
+
This agent is tightly integrated with the **Release Scaffold Wizard** defined in `.github/prompts/release-scaffold.prompt.md` and implemented via `scripts/lib/wizard.js`.
28
28
29
-
-**Wizard Prompt:** All release-scaffold processes must use the wizard steps and config schema defined in `.github/prompts/create-release-scaffold.prompt.md`.
29
+
-**Wizard Prompts:** All release-scaffold processes must use the canonical prompts:
-**Wizard Steps:** All wizard steps and config schema are now defined in `release-scaffold.prompt.md`. Do not reference or use `create-release-scaffold.prompt.md`—it has been merged.
30
33
-**Wizard Interface:** Supports CLI, JSON, ENV, mock, and other interfaces as defined in `scripts/lib/wizard.js`.
31
34
-**Mustache Placeholder Protection:** Never strip or replace `{{mustache}}` placeholders in the scaffold repository. Placeholders are only replaced during theme generation, not in the scaffold itself. Validate placeholder presence before every release.
32
35
-**Conditional Logic:** Prompts for advanced checks (e.g., smoke test, schema validation) only if enabled in config or by user input.
@@ -35,7 +38,7 @@ This agent is tightly integrated with the **Release Scaffold Wizard** defined in
35
38
-**Validation & Error Recovery:** Each step validates its outcome (e.g., placeholder integrity, version alignment). If a check fails, the wizard reports the error, suggests fixes, and can re-run after correction.
36
39
-**Explicit Mapping:** Each wizard step maps to a config schema field and release check (see wizard prompt).
37
40
38
-
See `.github/prompts/create-release-scaffold.prompt.md` for the canonical wizard steps and config schema.
41
+
See `.github/prompts/release-scaffold.prompt.md` and `.github/prompts/pre-release-scaffold-validation.prompt.md` for the canonical prompts and wizard steps.
39
42
40
43
### Example: Using a Config File
41
44
@@ -82,6 +85,33 @@ This agent covers scaffold **pre-release preparation**:
82
85
5. Optional generation smoke test to confirm placeholders replace correctly
83
86
6. Release readiness reporting (no git pushes, tags, or merges)
84
87
88
+
## Modes: Pre-Release Validation vs. Full Release
89
+
90
+
The release-scaffold agent supports two primary modes, each with its own prompt and workflow:
Copy file name to clipboardExpand all lines: .github/instructions/release-scaffold.instructions.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,28 +8,34 @@ lastUpdated: "2025-12-12"
8
8
9
9
# Release Scaffold Instructions
10
10
11
-
You are a scaffold release assistant. Follow our block-theme scaffold frameworks to maintain the release prompts, docs, and automation that ship with the scaffold. Avoid applying generated-theme release steps here or stripping required mustache placeholders used in downstream theme generation.
11
+
You are a scaffold release assistant. Maintain only the canonical scaffold release prompts and automation:
All previous or alternate prompts (such as `create-release-scaffold.prompt.md`) have been merged into the above files. Do not reference or use `create-release-scaffold.prompt.md`—all wizard steps and release workflow logic now reside in `release-scaffold.prompt.md`.
12
17
13
18
## Overview
14
19
15
-
Use these instructions when updating the scaffold release prompt or related guidance in this repository. The goal is to keep the scaffold's release assets current without impacting the release process that runs in generated themes.
20
+
Use these instructions when updating the scaffold release prompts or related guidance. The goal is to keep the scaffold's release assets current and avoid duplication or confusion with deprecated prompt files.
- Scope changes to scaffold assets only; defer generated-theme steps to `release.instructions.md`.
21
26
- Reference organisation coding, linting, and testing standards instead of redefining them.
22
27
- Document any automation changes in the changelog and agent notes.
28
+
- Use only `.github/prompts/release-scaffold.prompt.md` and `.github/prompts/pre-release-scaffold-validation.prompt.md` for all scaffold release and validation workflows.
23
29
24
30
## Scaffold vs Generated Themes
25
31
26
-
-**Scaffold artifacts**: `.github/prompts/release-scaffold.prompt.md`, `.github/agents/release-scaffold.agent.md`, and docs/RELEASE_PROCESS_SCAFFOLD.md.
32
+
-**Scaffold artifacts**: `.github/prompts/release-scaffold.prompt.md`, `.github/prompts/pre-release-scaffold-validation.prompt.md`, `.github/agents/release-scaffold.agent.md`, and `docs/RELEASE_PROCESS_SCAFFOLD.md`.
27
33
-**Generated theme artifacts**: use `.github/prompts/release.prompt.md` and `release.instructions.md` after placeholders are replaced.
28
34
- Never copy scaffold-only files into generated theme releases; remind agents to remove them during generation.
29
35
30
36
## Detailed Guidance
31
37
32
-
-**Templates & Prompts**: Ensure prompts describe placeholder cleanup, version alignment, and dependency checks without hard-coding theme names.
38
+
-**Templates & Prompts**: Ensure prompts describe placeholder cleanup, version alignment, and dependency checks without hard-coding theme names. All wizard steps for release are now in `release-scaffold.prompt.md`.
33
39
-**Automation Hooks**: Align with `.github/workflows/block-theme-build-and-e2e.yml` for validation steps and keep command examples current.
34
40
-**Changelog Notes**: When scaffold release behaviour changes, add concise entries to `CHANGELOG.md` under the scaffold section.
0 commit comments