fix: resolve broken file references in quick-dev-new-preview workflow
- Fix step-02-plan.md templateFile path (./tech-spec-template.md → ../tech-spec-template.md) - Teach validate-file-refs.js to skip skill: prefixed references in CSV Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d6251a6661
commit
e70c09c1c1
|
|
@ -2,7 +2,7 @@
|
||||||
name: 'step-02-plan'
|
name: 'step-02-plan'
|
||||||
description: 'Investigate, generate spec, present for approval'
|
description: 'Investigate, generate spec, present for approval'
|
||||||
|
|
||||||
templateFile: './tech-spec-template.md'
|
templateFile: '../tech-spec-template.md'
|
||||||
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
||||||
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -324,6 +324,8 @@ function extractCsvRefs(filePath, content) {
|
||||||
const raw = record['workflow-file'];
|
const raw = record['workflow-file'];
|
||||||
if (!raw || raw.trim() === '') continue;
|
if (!raw || raw.trim() === '') continue;
|
||||||
if (!isResolvable(raw)) continue;
|
if (!isResolvable(raw)) continue;
|
||||||
|
// skill: prefixed references are resolved by the IDE/CLI, not as file paths
|
||||||
|
if (raw.startsWith('skill:')) continue;
|
||||||
|
|
||||||
// Line = header (1) + data row index (0-based) + 1
|
// Line = header (1) + data row index (0-based) + 1
|
||||||
const line = i + 2;
|
const line = i + 2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue