From f0954b324755ef65dfce30c4c57924c773158990 Mon Sep 17 00:00:00 2001 From: catlog22 Date: Thu, 22 Jan 2026 15:30:36 +0800 Subject: [PATCH] fix(lite-execute): pass project-guidelines.json to execution phase Ensure buildExecutionPrompt includes project constraints reference, maintaining consistency with full workflow (plan + execute) which passes project_guidelines via context-package.json. This allows execution phase to respect user-defined constraints (via /workflow:session:solidify). --- .claude/commands/workflow/lite-execute.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.claude/commands/workflow/lite-execute.md b/.claude/commands/workflow/lite-execute.md index fb0d403a..6b143457 100644 --- a/.claude/commands/workflow/lite-execute.md +++ b/.claude/commands/workflow/lite-execute.md @@ -390,6 +390,8 @@ ${t.verification?.success_metrics?.length > 0 ? `\n**Success metrics**: ${t.veri if (executionContext?.session?.artifacts?.plan) { context.push(`### Artifacts\nPlan: ${executionContext.session.artifacts.plan}`) } + // Project guidelines (user-defined constraints from /workflow:session:solidify) + context.push(`### Project Guidelines\n@.workflow/project-guidelines.json`) if (context.length > 0) sections.push(`## Context\n${context.join('\n\n')}`) sections.push(`Complete each task according to its "Done when" checklist.`)