Skip to content

Commit 4934800

Browse files
authored
Merge branch 'main' into scaffold-proposal-review
2 parents ce3085c + 1050e57 commit 4934800

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/templates/slash-command-templates.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const baseGuardrails = `**Guardrails**
55
- Keep changes tightly scoped to the requested outcome.
66
- Refer to \`openspec/AGENTS.md\` (located inside the \`openspec/\` directory—run \`ls openspec\` or \`openspec update\` if you don't see it) if you need additional OpenSpec conventions or clarifications.`;
77

8-
const proposalGuardrails = `${baseGuardrails}\n- Identify any vague or ambiguous details and ask the necessary follow-up questions before editing files.`;
8+
const proposalGuardrails = `${baseGuardrails}\n- Identify any vague or ambiguous details and ask the necessary follow-up questions before editing files.
9+
- Do not write any code during the proposal stage. Only create design documents (proposal.md, tasks.md, design.md, and spec deltas). Implementation happens in the apply stage after approval.`;
910

1011
const proposalSteps = `**Steps**
1112
1. Review \`openspec/project.md\`, run \`openspec list\` and \`openspec list --specs\`, and inspect related code or docs (e.g., via \`rg\`/\`ls\`) to ground the proposal in current behaviour; note any gaps that require clarification.
@@ -16,6 +17,7 @@ const proposalSteps = `**Steps**
1617
6. Draft \`tasks.md\` as an ordered list of small, verifiable work items that deliver user-visible progress, include validation (tests, tooling), and highlight dependencies or parallelizable work.
1718
7. Validate with \`openspec validate <id> --strict\` and resolve every issue before sharing the proposal.`;
1819

20+
1921
const proposalReferences = `**Reference**
2022
- Use \`openspec show <id> --json --deltas-only\` or \`openspec show <spec> --type spec\` to inspect details when validation fails.
2123
- Search existing requirements with \`rg -n "Requirement:|Scenario:" openspec/specs\` before writing new ones.

0 commit comments

Comments
 (0)