create-specfuse 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -0
- package/dist/fuseqa/templates/_case-schema.yaml +6 -2
- package/dist/fuseqa/templates/ledger.md +9 -9
- package/dist/templates/beat-hook.d.ts +14 -0
- package/dist/templates/beat-hook.d.ts.map +1 -0
- package/dist/templates/beat-hook.js +57 -0
- package/dist/templates/beat-hook.js.map +1 -0
- package/dist/templates/claude-md.d.ts.map +1 -1
- package/dist/templates/claude-md.js +75 -4
- package/dist/templates/claude-md.js.map +1 -1
- package/dist/templates/fuseqa-skill.d.ts.map +1 -1
- package/dist/templates/fuseqa-skill.js +5 -0
- package/dist/templates/fuseqa-skill.js.map +1 -1
- package/dist/templates/openspec-config.d.ts.map +1 -1
- package/dist/templates/openspec-config.js +4 -0
- package/dist/templates/openspec-config.js.map +1 -1
- package/dist/templates/pipeline-records.d.ts +22 -0
- package/dist/templates/pipeline-records.d.ts.map +1 -0
- package/dist/templates/pipeline-records.js +84 -0
- package/dist/templates/pipeline-records.js.map +1 -0
- package/dist/templates/requirement-brief.d.ts +20 -0
- package/dist/templates/requirement-brief.d.ts.map +1 -0
- package/dist/templates/requirement-brief.js +131 -0
- package/dist/templates/requirement-brief.js.map +1 -0
- package/dist/templates/specfuse-command.d.ts.map +1 -1
- package/dist/templates/specfuse-command.js +133 -5
- package/dist/templates/specfuse-command.js.map +1 -1
- package/dist/templates/specfuse-flash-agent.d.ts.map +1 -1
- package/dist/templates/specfuse-flash-agent.js +3 -0
- package/dist/templates/specfuse-flash-agent.js.map +1 -1
- package/dist/templates/traceability.d.ts +29 -0
- package/dist/templates/traceability.d.ts.map +1 -0
- package/dist/templates/traceability.js +81 -0
- package/dist/templates/traceability.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the requirement brief protocol shared by every SpecFuse entry point:
|
|
3
|
+
* the `spec-meta` block in `proposal.md` and the `clarification` block in
|
|
4
|
+
* `design.md`.
|
|
5
|
+
*
|
|
6
|
+
* The rules are prose: no runtime in this package parses either block. Each
|
|
7
|
+
* entry point renders these strings once; tests compare them across outputs so
|
|
8
|
+
* the wording cannot drift, and they carry no reference to a directory a
|
|
9
|
+
* generated project lacks.
|
|
10
|
+
*/
|
|
11
|
+
export declare const REQUIREMENT_BRIEF_FIELDS: readonly ["scope", "workType", "priority", "source", "stakeholder", "nfrThresholds", "scopeExclusions"];
|
|
12
|
+
export declare const WORK_TYPES: readonly ["feature", "bugfix", "refactor", "chore"];
|
|
13
|
+
export declare const PRIORITIES: readonly ["must", "should", "could", "wont"];
|
|
14
|
+
/** Block definition, field table, examples, clarification definition. */
|
|
15
|
+
export declare function renderRequirementBriefRules(): string;
|
|
16
|
+
/** One paragraph, no label: who decides each field in an unattended run. */
|
|
17
|
+
export declare function renderUnattendedBriefDecisions(): string;
|
|
18
|
+
/** One paragraph: the interactive question rule. Only CLAUDE.md renders it. */
|
|
19
|
+
export declare function renderInteractiveBriefQuestions(): string;
|
|
20
|
+
//# sourceMappingURL=requirement-brief.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requirement-brief.d.ts","sourceRoot":"","sources":["../../src/templates/requirement-brief.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,yGAQ3B,CAAC;AAEX,eAAO,MAAM,UAAU,qDAAsD,CAAC;AAE9E,eAAO,MAAM,UAAU,8CAA+C,CAAC;AA0GvE,yEAAyE;AACzE,wBAAgB,2BAA2B,IAAI,MAAM,CAcpD;AAED,4EAA4E;AAC5E,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD;AAED,+EAA+E;AAC/E,wBAAgB,+BAA+B,IAAI,MAAM,CAExD"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the requirement brief protocol shared by every SpecFuse entry point:
|
|
3
|
+
* the `spec-meta` block in `proposal.md` and the `clarification` block in
|
|
4
|
+
* `design.md`.
|
|
5
|
+
*
|
|
6
|
+
* The rules are prose: no runtime in this package parses either block. Each
|
|
7
|
+
* entry point renders these strings once; tests compare them across outputs so
|
|
8
|
+
* the wording cannot drift, and they carry no reference to a directory a
|
|
9
|
+
* generated project lacks.
|
|
10
|
+
*/
|
|
11
|
+
export const REQUIREMENT_BRIEF_FIELDS = [
|
|
12
|
+
'scope',
|
|
13
|
+
'workType',
|
|
14
|
+
'priority',
|
|
15
|
+
'source',
|
|
16
|
+
'stakeholder',
|
|
17
|
+
'nfrThresholds',
|
|
18
|
+
'scopeExclusions',
|
|
19
|
+
];
|
|
20
|
+
export const WORK_TYPES = ['feature', 'bugfix', 'refactor', 'chore'];
|
|
21
|
+
export const PRIORITIES = ['must', 'should', 'could', 'wont'];
|
|
22
|
+
/** The `value` shape of each field, as the table states it. */
|
|
23
|
+
const FIELD_SHAPES = {
|
|
24
|
+
scope: 'non-empty string',
|
|
25
|
+
workType: 'string',
|
|
26
|
+
priority: 'string',
|
|
27
|
+
source: 'string',
|
|
28
|
+
stakeholder: 'string',
|
|
29
|
+
nfrThresholds: 'list of strings, may be empty `[]`',
|
|
30
|
+
scopeExclusions: 'list of strings, may be empty `[]`',
|
|
31
|
+
};
|
|
32
|
+
/** Fields whose allowed values are a closed set; the rest render an em dash. */
|
|
33
|
+
const FIELD_ENUMS = {
|
|
34
|
+
workType: WORK_TYPES,
|
|
35
|
+
priority: PRIORITIES,
|
|
36
|
+
};
|
|
37
|
+
/** Example values for the `spec-meta` block, keyed by field and emitted in field order. */
|
|
38
|
+
const EXAMPLE = {
|
|
39
|
+
scope: {
|
|
40
|
+
value: [' value: Export the monthly report as CSV'],
|
|
41
|
+
decidedBy: 'human',
|
|
42
|
+
},
|
|
43
|
+
workType: {
|
|
44
|
+
value: [` value: ${WORK_TYPES[0]}`],
|
|
45
|
+
decidedBy: 'ai',
|
|
46
|
+
reason: 'Adds an export users can run',
|
|
47
|
+
},
|
|
48
|
+
priority: {
|
|
49
|
+
value: [` value: ${PRIORITIES[1]}`],
|
|
50
|
+
decidedBy: 'ai',
|
|
51
|
+
reason: 'The requirement names no deadline',
|
|
52
|
+
},
|
|
53
|
+
source: {
|
|
54
|
+
value: [' value: Support request from the finance team'],
|
|
55
|
+
decidedBy: 'human',
|
|
56
|
+
},
|
|
57
|
+
stakeholder: {
|
|
58
|
+
value: [' value: Finance team'],
|
|
59
|
+
decidedBy: 'human',
|
|
60
|
+
},
|
|
61
|
+
nfrThresholds: {
|
|
62
|
+
value: [' value:', ' - An export of 10000 rows finishes within 5 seconds'],
|
|
63
|
+
decidedBy: 'human',
|
|
64
|
+
},
|
|
65
|
+
scopeExclusions: {
|
|
66
|
+
value: [' value: []'],
|
|
67
|
+
decidedBy: 'ai',
|
|
68
|
+
reason: 'The requirement excludes nothing',
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
function enumCell(values) {
|
|
72
|
+
return values.map((value) => '`' + value + '`').join(', ');
|
|
73
|
+
}
|
|
74
|
+
function renderFieldTable() {
|
|
75
|
+
const rows = REQUIREMENT_BRIEF_FIELDS.map((field) => {
|
|
76
|
+
const allowed = FIELD_ENUMS[field];
|
|
77
|
+
const values = allowed ? enumCell(allowed) : '—';
|
|
78
|
+
return `| \`${field}\` | ${FIELD_SHAPES[field]} | ${values} |`;
|
|
79
|
+
});
|
|
80
|
+
return ['| Field | `value` shape | Allowed values |', '|---|---|---|', ...rows].join('\n');
|
|
81
|
+
}
|
|
82
|
+
function renderSpecMetaExample() {
|
|
83
|
+
const lines = ['````markdown', '```spec-meta'];
|
|
84
|
+
for (const field of REQUIREMENT_BRIEF_FIELDS) {
|
|
85
|
+
const entry = EXAMPLE[field];
|
|
86
|
+
lines.push(`${field}:`, ...entry.value, ` decidedBy: ${entry.decidedBy}`);
|
|
87
|
+
if (entry.decidedBy === 'ai') {
|
|
88
|
+
lines.push(` reason: ${entry.reason}`);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
lines.push('```', '````');
|
|
92
|
+
return lines.join('\n');
|
|
93
|
+
}
|
|
94
|
+
function renderClarificationExample() {
|
|
95
|
+
return [
|
|
96
|
+
'````markdown',
|
|
97
|
+
'```clarification',
|
|
98
|
+
'question: Which work type applies?',
|
|
99
|
+
'status: answered',
|
|
100
|
+
`answer: ${WORK_TYPES[0]}`,
|
|
101
|
+
'decidedBy: ai',
|
|
102
|
+
'reason: Adds an export users can run',
|
|
103
|
+
'```',
|
|
104
|
+
'````',
|
|
105
|
+
].join('\n');
|
|
106
|
+
}
|
|
107
|
+
/** Block definition, field table, examples, clarification definition. */
|
|
108
|
+
export function renderRequirementBriefRules() {
|
|
109
|
+
return [
|
|
110
|
+
'`proposal.md` holds one fenced code block whose info string is `spec-meta`: the requirement brief. It has exactly seven fields, and the list is fixed: `scope` is required; `workType`, `priority`, `source`, `stakeholder`, `nfrThresholds`, and `scopeExclusions` are optional. Each field is a block mapping with `value` and `decidedBy`, which is `human` or `ai`; a `decidedBy: ai` field also has a non-empty `reason`.',
|
|
111
|
+
'',
|
|
112
|
+
renderFieldTable(),
|
|
113
|
+
'',
|
|
114
|
+
renderSpecMetaExample(),
|
|
115
|
+
'',
|
|
116
|
+
'`design.md` holds a `## Clarifications` section. Each clarification is one fenced code block whose info string is `clarification`; a clarification written as a plain paragraph does not count. Required keys are `question` and `status`, which is `open` or `answered`; optional keys are `answer`, `options`, `impacts`, `decidedBy`, and `reason`. A `status: answered` block has a non-empty `answer`; a `status: open` block has no `answer`. `decidedBy` is `human` or `ai`, and `decidedBy: ai` needs a non-empty `reason`.',
|
|
117
|
+
'',
|
|
118
|
+
renderClarificationExample(),
|
|
119
|
+
'',
|
|
120
|
+
'Every field recorded `decidedBy: ai` has one answered `clarification` block with `decidedBy: ai` and a non-empty `reason`; a `clarification` block for a field recorded `decidedBy: human` is optional. A field already recorded `decidedBy: human` is never rewritten by the model.',
|
|
121
|
+
].join('\n');
|
|
122
|
+
}
|
|
123
|
+
/** One paragraph, no label: who decides each field in an unattended run. */
|
|
124
|
+
export function renderUnattendedBriefDecisions() {
|
|
125
|
+
return 'Ask no question about the brief. Record a field whose value the requirement text states as `decidedBy: human`. Give every other field the recommended value, `decidedBy: ai`, and a `reason`, and write one answered `clarification` block for it in `design.md`.';
|
|
126
|
+
}
|
|
127
|
+
/** One paragraph: the interactive question rule. Only CLAUDE.md renders it. */
|
|
128
|
+
export function renderInteractiveBriefQuestions() {
|
|
129
|
+
return "**Questions in brainstorming (Path A and Path B).** Before other questions, read the pre-think beat's output and list the business fields the requirement leaves out — `workType`, `priority`, `source`, `stakeholder`, `nfrThresholds`, `scopeExclusions` — as open questions; when there is no such output, list them from the requirement alone. Ask one question at a time, only about a missing business field or a high-impact item, ordered by impact. A high-impact item is an approach that would overturn a decision already recorded in the pre-think beat's output. Brainstorming asks at most five questions in all. Record a field the user answers as `decidedBy: human`, a field left unasked as `decidedBy: ai` with a `reason`, and a field the user hands to the model as `decidedBy: ai` with `reason: delegated`.";
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=requirement-brief.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requirement-brief.js","sourceRoot":"","sources":["../../src/templates/requirement-brief.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,OAAO;IACP,UAAU;IACV,UAAU;IACV,QAAQ;IACR,aAAa;IACb,eAAe;IACf,iBAAiB;CACT,CAAC;AAEX,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAU,CAAC;AAE9E,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAU,CAAC;AAIvE,+DAA+D;AAC/D,MAAM,YAAY,GAA0B;IAC1C,KAAK,EAAE,kBAAkB;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C,KAAK;QACL,MAAM;KACP,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED,yEAAyE;AACzE,MAAM,UAAU,2BAA2B;IACzC,OAAO;QACL,gaAAga;QACha,EAAE;QACF,gBAAgB,EAAE;QAClB,EAAE;QACF,qBAAqB,EAAE;QACvB,EAAE;QACF,qgBAAqgB;QACrgB,EAAE;QACF,0BAA0B,EAAE;QAC5B,EAAE;QACF,sRAAsR;KACvR,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED,4EAA4E;AAC5E,MAAM,UAAU,8BAA8B;IAC5C,OAAO,mQAAmQ,CAAC;AAC7Q,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,+BAA+B;IAC7C,OAAO,wyBAAwyB,CAAC;AAClzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specfuse-command.d.ts","sourceRoot":"","sources":["../../src/templates/specfuse-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"specfuse-command.d.ts","sourceRoot":"","sources":["../../src/templates/specfuse-command.ts"],"names":[],"mappings":"AA0XA,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AAED,wBAAgB,0BAA0B,IAAI,MAAM,CAEnD;AAED,wBAAgB,+BAA+B,IAAI,MAAM,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAexE"}
|
|
@@ -1,3 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the unattended pipeline as Claude Code slash commands and as
|
|
3
|
+
* dsh-invocable skills.
|
|
4
|
+
*
|
|
5
|
+
* The pipeline is prose, not a runtime: every ordering rule below is enforced
|
|
6
|
+
* only by the model reading it. Keep clauses exact — the tests assert the
|
|
7
|
+
* sentences that carry each requirement, because a looser paraphrase can drop
|
|
8
|
+
* a prohibition (for example, "archive after verify" without "only when every
|
|
9
|
+
* check passes") while every keyword still appears.
|
|
10
|
+
*
|
|
11
|
+
* The unattended modes share the same automatic-decision policy, TDD rules, verify gate,
|
|
12
|
+
* and prohibitions. They differ only in the FuseQA posture, the execution
|
|
13
|
+
* order, the worktree phase list, and the completion report. The Claude and
|
|
14
|
+
* dsh variants differ only in their frontmatter, the way the requirement
|
|
15
|
+
* arrives, and the harness-specific skill and verify paths.
|
|
16
|
+
*/
|
|
17
|
+
import { renderBeatHookRules } from './beat-hook.js';
|
|
18
|
+
import { renderReviewRecordRules, renderTestResultRules, } from './pipeline-records.js';
|
|
19
|
+
import { renderRequirementBriefRules, renderUnattendedBriefDecisions, } from './requirement-brief.js';
|
|
20
|
+
import { renderLedgerTracePointer, renderTaskTracePointer, renderTestTracePointer, renderTraceabilityRules, } from './traceability.js';
|
|
21
|
+
function beatHookBoundaries(mode) {
|
|
22
|
+
const flash = mode === 'flashmode';
|
|
23
|
+
const full = mode === 'full';
|
|
24
|
+
const applyBoundary = flash
|
|
25
|
+
? 'Step 3 runs `post-apply` after the Do subagent returns.'
|
|
26
|
+
: 'Step 3 runs `post-apply` when every task passes.';
|
|
27
|
+
const verifyStep = full || flash ? 6 : 5;
|
|
28
|
+
const archiveStep = full || flash ? 7 : 6;
|
|
29
|
+
return `Boundaries in this pipeline:
|
|
30
|
+
|
|
31
|
+
- Step 1 runs \`pre-think\` after the change is created.
|
|
32
|
+
- Step 2 runs \`post-think\` after \`tasks.md\` is written.
|
|
33
|
+
- ${applyBoundary}
|
|
34
|
+
- Step 4 runs \`post-review\` when the review closes.
|
|
35
|
+
- Step ${verifyStep} runs \`pre-archive\` after every check passes and before archive.
|
|
36
|
+
- Step ${archiveStep} runs \`post-archive\` after a successful archive.`;
|
|
37
|
+
}
|
|
38
|
+
function beatHookSection(mode) {
|
|
39
|
+
return `## Beat hooks
|
|
40
|
+
|
|
41
|
+
${renderBeatHookRules('unattended')}
|
|
42
|
+
|
|
43
|
+
${beatHookBoundaries(mode)}`;
|
|
44
|
+
}
|
|
45
|
+
function pipelineRecordsSection() {
|
|
46
|
+
return `## Review record
|
|
47
|
+
|
|
48
|
+
${renderReviewRecordRules()}
|
|
49
|
+
|
|
50
|
+
## Test results
|
|
51
|
+
|
|
52
|
+
${renderTestResultRules('unattended')}`;
|
|
53
|
+
}
|
|
54
|
+
function requirementBriefSection() {
|
|
55
|
+
return `## Requirement brief
|
|
56
|
+
|
|
57
|
+
${renderRequirementBriefRules()}
|
|
58
|
+
|
|
59
|
+
${renderUnattendedBriefDecisions()}`;
|
|
60
|
+
}
|
|
61
|
+
function traceabilitySection() {
|
|
62
|
+
return `## Traceability
|
|
63
|
+
|
|
64
|
+
${renderTraceabilityRules()}`;
|
|
65
|
+
}
|
|
1
66
|
function verifyStep(harness) {
|
|
2
67
|
return harness === 'claude'
|
|
3
68
|
? 'Run the verify phase with `/opsx:verify <change>`, then the project\'s full test suite and the project\'s linter.'
|
|
@@ -8,30 +73,52 @@ function defaultExecution(harness) {
|
|
|
8
73
|
|
|
9
74
|
Run the \`fusereview\` skill over the working-tree diff from the recorded baseline, including untracked files. Do not use \`baseline..HEAD\`: no commits are made. Fix Blocking findings test-first and re-review only the fix diff.
|
|
10
75
|
|
|
76
|
+
When the review closes, write the change-root \`review.md\` (see Review record above); with a \`BLOCK\` decision, run the \`post-review\` beat hook and then stop without archiving.
|
|
77
|
+
|
|
78
|
+
When the review closes, run the \`post-review\` beat hook.
|
|
79
|
+
|
|
11
80
|
### 5. Verify
|
|
12
81
|
|
|
13
82
|
${verifyStep(harness)} Paste the raw output for each. Structural validation alone does not check implementation against specs.
|
|
14
83
|
|
|
84
|
+
Run the declared test result command, if any, alongside the full test suite (see Test results above).
|
|
85
|
+
|
|
86
|
+
After every check passes, run the \`pre-archive\` beat hook; archive only after it continues.
|
|
87
|
+
|
|
15
88
|
### 6. Archive
|
|
16
89
|
|
|
17
|
-
Archive only when every verify check passes: run \`openspec archive <change> --yes\`. If any check still fails after best-effort repair, do not archive; leave the change directory in place and write each failure with its raw output into the final report
|
|
90
|
+
Archive only when every verify check passes: run \`openspec archive <change> --yes\`. If any check still fails after best-effort repair, do not archive; leave the change directory in place and write each failure with its raw output into the final report.
|
|
91
|
+
|
|
92
|
+
After a successful archive, run the \`post-archive\` beat hook; its stdout goes to the archived change directory's \`handoff/\`.`;
|
|
18
93
|
}
|
|
19
94
|
function fullExecution(harness) {
|
|
20
95
|
return `### 4. FuseReview
|
|
21
96
|
|
|
22
97
|
Run the \`fusereview\` skill over the working-tree diff from the recorded baseline, including untracked files. Do not use \`baseline..HEAD\`: no commits are made. Fix Blocking findings test-first and re-review only the fix diff.
|
|
23
98
|
|
|
99
|
+
When the review closes, write the change-root \`review.md\` (see Review record above); with a \`BLOCK\` decision, run the \`post-review\` beat hook and then stop without archiving.
|
|
100
|
+
|
|
101
|
+
When the review closes, run the \`post-review\` beat hook.
|
|
102
|
+
|
|
24
103
|
### 5. FuseQA
|
|
25
104
|
|
|
26
105
|
Run the \`fuseqa\` skill over the built artifact. Author E2E cases for this change's entry-point behavior and handle what they expose. It is a step, not a checkpoint: do not ask whether to enter it. Its new cases are included in the Verify full test run.
|
|
27
106
|
|
|
107
|
+
${renderLedgerTracePointer()}
|
|
108
|
+
|
|
28
109
|
### 6. Verify
|
|
29
110
|
|
|
30
111
|
${verifyStep(harness)} Paste the raw output for each. Structural validation alone does not check implementation against specs.
|
|
31
112
|
|
|
113
|
+
Run the declared test result command, if any, alongside the full test suite (see Test results above).
|
|
114
|
+
|
|
115
|
+
After every check passes, run the \`pre-archive\` beat hook; archive only after it continues.
|
|
116
|
+
|
|
32
117
|
### 7. Archive
|
|
33
118
|
|
|
34
|
-
Archive only when every verify check passes: run \`openspec archive <change> --yes\`. If any check still fails after best-effort repair, do not archive; leave the change directory in place and write each failure with its raw output into the final report
|
|
119
|
+
Archive only when every verify check passes: run \`openspec archive <change> --yes\`. If any check still fails after best-effort repair, do not archive; leave the change directory in place and write each failure with its raw output into the final report.
|
|
120
|
+
|
|
121
|
+
After a successful archive, run the \`post-archive\` beat hook; its stdout goes to the archived change directory's \`handoff/\`.`;
|
|
35
122
|
}
|
|
36
123
|
function flashExecution(harness) {
|
|
37
124
|
const verify = verifyStep(harness);
|
|
@@ -39,7 +126,7 @@ function flashExecution(harness) {
|
|
|
39
126
|
|
|
40
127
|
Dispatch a subagent other than the Do subagent, using the same \`specfuse-flash\` definition. Do not resume the Do subagent to perform the review.
|
|
41
128
|
|
|
42
|
-
The dispatch names only the change name, the baseline commit, the paths of \`proposal.md\`, \`specs/\`, \`design.md\`, and \`tasks.md\`, and the path \`.claude/skills/fusereview/SKILL.md\`. Do not include the Do note, its evidence, or a summary of the work.
|
|
129
|
+
The dispatch names only the change name, the baseline commit, the paths of \`proposal.md\`, \`specs/\`, \`design.md\`, and \`tasks.md\`, and the path \`.claude/skills/fusereview/SKILL.md\`. Do not include the Do note, its evidence, or a summary of the work. The dispatch names \`handoff/beat-*.json\` as out of review scope. It also names \`evidence/verify-result.*\` as out of review scope.
|
|
43
130
|
|
|
44
131
|
The Do note and evidence wait in \`tmp/specfuse-flash/<change>/\`, outside the reviewed tree, until the review closes. If a note or evidence file is already inside the change directory, name it in the dispatch as out of review scope. When the review closes, move the Do note to \`handoff/do.md\` and its evidence to \`evidence/\`.
|
|
45
132
|
|
|
@@ -55,10 +142,18 @@ Read \`handoff/review.md\`. Route each Blocking finding by its subject:
|
|
|
55
142
|
|
|
56
143
|
Resume the reviewer with the fix diff and the same findings note for a re-review. No gate allows more than two fix rounds, whether the implementer is resumed or freshly dispatched; when the count is reached the gate stays closed and the run stops. There is no second full review round.
|
|
57
144
|
|
|
145
|
+
A Do subagent resumed for a fix round cannot hand back a second time. When the change ends, stop every subagent this run dispatched that is still running.
|
|
146
|
+
|
|
147
|
+
When the review closes, the main model writes the change-root \`review.md\` (see Review record above); \`handoff/review.md\` is the reviewer's note and does not replace it. With a \`BLOCK\` decision, run the \`post-review\` beat hook and then stop without archiving.
|
|
148
|
+
|
|
149
|
+
When the review closes, the main model runs the \`post-review\` beat hook.
|
|
150
|
+
|
|
58
151
|
### 5. FuseQA — \`specfuse-flash\` subagent
|
|
59
152
|
|
|
60
153
|
Dispatch a fresh \`specfuse-flash\` subagent. It reads \`.claude/skills/fuseqa/SKILL.md\`, authors E2E cases for this change's entry-point behavior, handles what they expose, and writes \`handoff/qa.md\` and \`evidence/qa-*.txt\`. FuseQA is a step, not a checkpoint. Its new cases are included in the Verify full test run.
|
|
61
154
|
|
|
155
|
+
${renderLedgerTracePointer()}
|
|
156
|
+
|
|
62
157
|
### 6. Verify — main model
|
|
63
158
|
|
|
64
159
|
The main model runs Verify itself. Do not dispatch Verify to a subagent.
|
|
@@ -67,11 +162,17 @@ Verify compares the implementation against the specs and runs ${verify.replace("
|
|
|
67
162
|
|
|
68
163
|
If Verify fails, resume the Do subagent with the failure output as a new fix round, record each round in the final report, and rerun Verify. No gate allows more than two fix rounds, whether the implementer is resumed or freshly dispatched; when the count is reached, stop without archiving.
|
|
69
164
|
|
|
165
|
+
Run the declared test result command, if any, alongside the full test suite (see Test results above).
|
|
166
|
+
|
|
167
|
+
After every check passes, run the \`pre-archive\` beat hook; archive only after it continues.
|
|
168
|
+
|
|
70
169
|
### 7. Archive — main model
|
|
71
170
|
|
|
72
171
|
Before archiving, replace the absolute path of the workspace root with \`.\` in every note under \`handoff/\` and every file under \`evidence/\`, because the change directory is committed.
|
|
73
172
|
|
|
74
|
-
Archive only when every verify check passes: run \`openspec archive <change> --yes\`. Archived change directories keep \`handoff/\` and \`evidence/\`, so those files remain in the change directory after archive. If any check still fails after best-effort repair, do not archive; leave the change directory in place and write each failure with its raw output and evidence path into the final report
|
|
173
|
+
Archive only when every verify check passes: run \`openspec archive <change> --yes\`. Archived change directories keep \`handoff/\` and \`evidence/\`, so those files remain in the change directory after archive. If any check still fails after best-effort repair, do not archive; leave the change directory in place and write each failure with its raw output and evidence path into the final report.
|
|
174
|
+
|
|
175
|
+
After a successful archive, run the \`post-archive\` beat hook; its stdout goes to the archived change directory's \`handoff/\`.`;
|
|
75
176
|
}
|
|
76
177
|
function flashSections() {
|
|
77
178
|
return `
|
|
@@ -80,6 +181,7 @@ function flashSections() {
|
|
|
80
181
|
|
|
81
182
|
- The main model writes the brainstorming decisions, \`proposal.md\`, \`specs/\`, \`design.md\`, \`tasks.md\`, runs Verify, archives, and writes the final report.
|
|
82
183
|
- A \`specfuse-flash\` subagent runs each of Do, FuseReview, and FuseQA: one subagent per beat, one at a time in the main agent's workspace.
|
|
184
|
+
- The main model runs every beat hook. A \`specfuse-flash\` subagent never runs one: its reply is one line and it cannot ask a question.
|
|
83
185
|
|
|
84
186
|
## Dispatch rules
|
|
85
187
|
|
|
@@ -124,7 +226,7 @@ function renderPipelineBody(mode, harness) {
|
|
|
124
226
|
? 'artifacts, apply, FuseReview, FuseQA, verify, and archive'
|
|
125
227
|
: 'artifacts, apply, FuseReview, verify, and archive';
|
|
126
228
|
const report = flash
|
|
127
|
-
? 'State the change name and location, the artifacts written, the task count, verification output, the FuseReview decision (`auto: entered`), the FuseQA decision (`auto: entered`), which beats ran on `specfuse-flash`, the archive outcome, any worktree path, every automatic decision with its rationale, and that no commit and no push were performed.'
|
|
229
|
+
? 'State the change name and location, the artifacts written, the task count, verification output, the FuseReview decision (`auto: entered`), the FuseQA decision (`auto: entered`), which beats ran on `specfuse-flash`, the archive outcome, any worktree path, every automatic decision with its rationale, and that no commit and no push were performed. Return the final report only after every beat hook, subagent, and background command of this run has ended.'
|
|
128
230
|
: full
|
|
129
231
|
? 'State the change name and location, the artifacts written, the task count, verification output, the FuseReview decision (`auto: entered`), the FuseQA decision (`auto: entered`), the archive outcome, any worktree path, every automatic decision with its rationale, and that no commit and no push were performed.'
|
|
130
232
|
: 'State the change name and location, the artifacts written, the task count, verification output, the FuseReview decision (`auto: entered`), the archive outcome, any worktree path, every automatic decision with its rationale, and that no commit and no push were performed. FuseQA is not part of the pipeline, so no FuseQA decision is recorded.';
|
|
@@ -162,12 +264,21 @@ ${missing}
|
|
|
162
264
|
${questionRule}
|
|
163
265
|
|
|
164
266
|
- **Brainstorming:** derive 2–3 alternatives with trade-offs, select the recommended one, and write the selection and rationale into \`design.md\`.
|
|
267
|
+
- **Requirement brief:** decide every \`spec-meta\` field the requirement leaves out and mark it (see Requirement brief below).
|
|
165
268
|
- **Design tokens:** when the three-gate test triggers \`/design-md\`, answer the questionnaire with recommended values and generate \`DESIGN-TOKENS.md\`; never overwrite an existing \`DESIGN-TOKENS.md\`.
|
|
166
269
|
- **Model switch:** record \`continue with current model\`; do not switch and do not ask.
|
|
167
270
|
- **FuseReview:** record \`auto: entered\` and run the review.
|
|
168
271
|
${fuseqaDecision}
|
|
169
272
|
- **Pace control:** do not stop between artifacts for review.
|
|
170
273
|
|
|
274
|
+
${beatHookSection(mode)}
|
|
275
|
+
|
|
276
|
+
${pipelineRecordsSection()}
|
|
277
|
+
|
|
278
|
+
${requirementBriefSection()}
|
|
279
|
+
|
|
280
|
+
${traceabilitySection()}
|
|
281
|
+
|
|
171
282
|
## Execution order
|
|
172
283
|
|
|
173
284
|
### 0. Select the workspace
|
|
@@ -178,14 +289,28 @@ ${flash ? '### 1. Create the change — main model' : '### 1. Create the change'
|
|
|
178
289
|
|
|
179
290
|
Run \`openspec new change <kebab-case-name>\`. Record the current HEAD as the review baseline.
|
|
180
291
|
|
|
292
|
+
Then run the \`pre-think\` beat hook.
|
|
293
|
+
|
|
181
294
|
${flash ? '### 2. Generate the artifacts — main model' : '### 2. Generate the artifacts'}
|
|
182
295
|
|
|
183
296
|
Read \`openspec instructions <artifact-id> --change <name>\` for each artifact and write them in one pass, in this order: \`proposal.md\`, \`specs/\`, \`design.md\`, \`tasks.md\`. Artifact prose follows the FuseDoc standard at \`${fusedocPath}\`.${skillRootNote}
|
|
184
297
|
|
|
298
|
+
Write the \`spec-meta\` block into \`proposal.md\` and, in \`design.md\`, one \`clarification\` block for every field recorded \`decidedBy: ai\` (see Requirement brief above).
|
|
299
|
+
|
|
300
|
+
${renderTaskTracePointer()}
|
|
301
|
+
|
|
302
|
+
After \`tasks.md\` is written, run the \`post-think\` beat hook.
|
|
303
|
+
|
|
185
304
|
${flash ? '### 3. Do — `specfuse-flash` subagent' : '### 3. Apply'}
|
|
186
305
|
|
|
187
306
|
${applyRule}
|
|
188
307
|
|
|
308
|
+
${renderTestTracePointer()}
|
|
309
|
+
|
|
310
|
+
${flash ? 'After the Do subagent returns, the main model runs the declared test result command, if any (see Test results above).' : 'When every task passes, run the declared test result command, if any (see Test results above).'}
|
|
311
|
+
|
|
312
|
+
${flash ? 'After the Do subagent returns, the main model runs the `post-apply` beat hook.' : 'When every task passes, run the `post-apply` beat hook.'}
|
|
313
|
+
|
|
189
314
|
${execution}${flash ? flashSections() : ''}
|
|
190
315
|
|
|
191
316
|
## Worktree isolation
|
|
@@ -202,6 +327,9 @@ When a Git Worktree trigger condition is met, the worktree is selected in step 0
|
|
|
202
327
|
## Final report
|
|
203
328
|
|
|
204
329
|
${report}
|
|
330
|
+
List each beat hook's exit code and \`outcome\` with its \`handoff/beat-<beat>.json\` path, or the one line recording a missing declaration or a protocol mismatch.
|
|
331
|
+
State the decision line of the change-root \`review.md\`, and the \`evidence/verify-result.<ext>\` path or that no test result command is declared.
|
|
332
|
+
List every \`spec-meta\` field recorded \`decidedBy: ai\`.
|
|
205
333
|
`;
|
|
206
334
|
}
|
|
207
335
|
function renderClaudeCommand(mode) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specfuse-command.js","sourceRoot":"","sources":["../../src/templates/specfuse-command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"specfuse-command.js","sourceRoot":"","sources":["../../src/templates/specfuse-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,2BAA2B,EAC3B,8BAA8B,GAC/B,MAAM,w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
+
{"version":3,"file":"specfuse-flash-agent.d.ts","sourceRoot":"","sources":["../../src/templates/specfuse-flash-agent.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,uBAAuB,CAAC;AAcxD,0DAA0D;AAC1D,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAY5D;AAED,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAmCpE"}
|
|
@@ -56,9 +56,12 @@ You are the SpecFuse flashmode executor. Your dispatch comes from \`/specfuse:fl
|
|
|
56
56
|
## Rules
|
|
57
57
|
|
|
58
58
|
- Follow strict Red-Green-Refactor: write the failing test first, then the least code that passes it, then refactor.
|
|
59
|
+
- Every test you write carries a \`traces-to:\` comment directly above its declaration, and every FuseQA case you add is recorded in \`tests/e2e/<capability>/ledger.md\` with \`Case\` written as \`\` \`<file>::<test name>\` \`\`. The Traceability section of the project's \`CLAUDE.md\` gives the exact form.
|
|
59
60
|
- Run every task's verification command and redirect its output into the evidence file path the dispatch names. Never restate command output in your reply. Check a task off only after its output is in an evidence file.
|
|
60
61
|
- Write your handoff note and every evidence file to the paths the dispatch names. Put reasoning and findings there, not in your reply.
|
|
61
62
|
- Never edit \`proposal.md\`, \`design.md\`, or anything under the change's \`specs/\`. Those belong to the main model.
|
|
63
|
+
- Never run a beat hook from \`.specfuse/beat-hook\`; the main model runs every one.
|
|
64
|
+
- Never write the change-root \`review.md\` or \`evidence/verify-result.*\`; the main model writes both.
|
|
62
65
|
- Never run \`git commit\`, \`git push\`, \`git merge\`, or \`git stash\`; never create a worktree; never run \`openspec archive\`; never dispatch another agent.
|
|
63
66
|
- When the artifacts are missing information or contradict each other, stop and return \`BLOCKED\` with the question instead of guessing.
|
|
64
67
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specfuse-flash-agent.js","sourceRoot":"","sources":["../../src/templates/specfuse-flash-agent.ts"],"names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U,aAAa,CAAC,CAAC;IACzF,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QAAE,OAAO,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC1F,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC;QACrE,OAAO,OAAO,CAAC,sDAAsD,CAAC,CAAC;IACzE,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,UAAkB;IAC1D,MAAM,KAAK,GAAG,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC7C,IAAI,KAAK,KAAK,IAAI;QAAE,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC;IAE3C,OAAO;;;SAGA,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BlB,CAAC;AACF,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the traceability conventions shared by every SpecFuse entry point:
|
|
3
|
+
* the trace reference grammar, the task `traces-to:`/`files:` lines, the
|
|
4
|
+
* per-test `traces-to:` comment, and the E2E ledger columns.
|
|
5
|
+
*
|
|
6
|
+
* The rules are prose: no runtime in this package parses any of these lines. A
|
|
7
|
+
* beat hook in a project may check them, so each generated surface renders the
|
|
8
|
+
* same strings and tests compare them across outputs so the wording cannot
|
|
9
|
+
* drift. The text names no directory a generated project lacks.
|
|
10
|
+
*/
|
|
11
|
+
/** The reference grammar (one paragraph, no label). */
|
|
12
|
+
export declare function renderTraceReferenceRule(): string;
|
|
13
|
+
/** The task traces-to / files rule (one paragraph, no label). */
|
|
14
|
+
export declare function renderTaskTraceRule(): string;
|
|
15
|
+
/** The per-test comment rule (one paragraph, no label). */
|
|
16
|
+
export declare function renderTestTraceRule(): string;
|
|
17
|
+
/** The E2E ledger rule (one paragraph, no label). */
|
|
18
|
+
export declare function renderLedgerTraceRule(): string;
|
|
19
|
+
/** The unique-scenario rule for the openspec config specs rules. */
|
|
20
|
+
export declare function renderScenarioNameRule(): string;
|
|
21
|
+
/** Intro, the four labelled bullets, and the example. Identical in every entry point. */
|
|
22
|
+
export declare function renderTraceabilityRules(): string;
|
|
23
|
+
/** Pointer sentence placed at the task-writing step. */
|
|
24
|
+
export declare function renderTaskTracePointer(): string;
|
|
25
|
+
/** Pointer sentence placed at the test-writing step. */
|
|
26
|
+
export declare function renderTestTracePointer(): string;
|
|
27
|
+
/** Pointer sentence placed at the FuseQA step. */
|
|
28
|
+
export declare function renderLedgerTracePointer(): string;
|
|
29
|
+
//# sourceMappingURL=traceability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"traceability.d.ts","sourceRoot":"","sources":["../../src/templates/traceability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,uDAAuD;AACvD,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD;AAED,iEAAiE;AACjE,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED,2DAA2D;AAC3D,wBAAgB,mBAAmB,IAAI,MAAM,CAE5C;AAED,qDAAqD;AACrD,wBAAgB,qBAAqB,IAAI,MAAM,CAE9C;AAED,oEAAoE;AACpE,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AA4BD,yFAAyF;AACzF,wBAAgB,uBAAuB,IAAI,MAAM,CAWhD;AAED,wDAAwD;AACxD,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AAED,wDAAwD;AACxD,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C;AAED,kDAAkD;AAClD,wBAAgB,wBAAwB,IAAI,MAAM,CAEjD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders the traceability conventions shared by every SpecFuse entry point:
|
|
3
|
+
* the trace reference grammar, the task `traces-to:`/`files:` lines, the
|
|
4
|
+
* per-test `traces-to:` comment, and the E2E ledger columns.
|
|
5
|
+
*
|
|
6
|
+
* The rules are prose: no runtime in this package parses any of these lines. A
|
|
7
|
+
* beat hook in a project may check them, so each generated surface renders the
|
|
8
|
+
* same strings and tests compare them across outputs so the wording cannot
|
|
9
|
+
* drift. The text names no directory a generated project lacks.
|
|
10
|
+
*/
|
|
11
|
+
/** The reference grammar (one paragraph, no label). */
|
|
12
|
+
export function renderTraceReferenceRule() {
|
|
13
|
+
return 'A reference is `spec: <capability> / Scenario: <name>`; further scenarios of the same capability follow as `; Scenario: <name>`. A task may also name a requirement as `spec: <capability> / Requirement: <name>`. A test and an E2E ledger row name only `Scenario:` items, never a `Requirement:`.';
|
|
14
|
+
}
|
|
15
|
+
/** The task traces-to / files rule (one paragraph, no label). */
|
|
16
|
+
export function renderTaskTraceRule() {
|
|
17
|
+
return 'Each task block in `tasks.md` holds one `traces-to: <reference>` line and one or more `files: <path>[, <path>]` lines listing the files the task changes, relative to the project root. A task that only runs verification has no `files:` line.';
|
|
18
|
+
}
|
|
19
|
+
/** The per-test comment rule (one paragraph, no label). */
|
|
20
|
+
export function renderTestTraceRule() {
|
|
21
|
+
return "Each test declaration has `traces-to: <reference>` in the comment block directly above it, in the language's comment syntax (`// traces-to:`, `# traces-to:`). A blank line or other code between the comment and the declaration detaches it, and a summary comment at the top of a file links no test.";
|
|
22
|
+
}
|
|
23
|
+
/** The E2E ledger rule (one paragraph, no label). */
|
|
24
|
+
export function renderLedgerTraceRule() {
|
|
25
|
+
return "A capability's E2E ledger is `tests/e2e/<capability>/ledger.md`. Its `## Addition` table has a `Case` column and a `Traces to` column. `Case` is `` `<file>::<test name>` ``, with `<file>` relative to the ledger's directory; `Traces to` is a reference or `defect: <description>`.";
|
|
26
|
+
}
|
|
27
|
+
/** The unique-scenario rule for the openspec config specs rules. */
|
|
28
|
+
export function renderScenarioNameRule() {
|
|
29
|
+
return 'Scenario names are unique within a capability, so a `Scenario:` reference resolves to one scenario';
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The example block. It uses the same unrelated feature as the requirement
|
|
33
|
+
* brief example, so a value copied from the rendered text is obviously wrong.
|
|
34
|
+
* The outer four-backtick fence holds the inner blocks so they render as text.
|
|
35
|
+
*/
|
|
36
|
+
function renderTraceabilityExample() {
|
|
37
|
+
return [
|
|
38
|
+
'````markdown',
|
|
39
|
+
'```markdown',
|
|
40
|
+
'- [ ] 2.1 Export the monthly report as CSV',
|
|
41
|
+
' traces-to: spec: report-export / Requirement: CSV export',
|
|
42
|
+
' files: src/export/csv.ts, tests/export/csv.test.ts',
|
|
43
|
+
'```',
|
|
44
|
+
'',
|
|
45
|
+
'```ts',
|
|
46
|
+
'// traces-to: spec: report-export / Scenario: Export succeeds; Scenario: Empty month',
|
|
47
|
+
"it('writes one row per entry', () => {",
|
|
48
|
+
'```',
|
|
49
|
+
'',
|
|
50
|
+
'| Case | Capability | Traces to | Shape |',
|
|
51
|
+
'|---|---|---|---|',
|
|
52
|
+
'| `export.test.ts::exports the monthly report` | `report-export` | `spec: report-export / Scenario: Export succeeds` | CLI |',
|
|
53
|
+
'````',
|
|
54
|
+
].join('\n');
|
|
55
|
+
}
|
|
56
|
+
/** Intro, the four labelled bullets, and the example. Identical in every entry point. */
|
|
57
|
+
export function renderTraceabilityRules() {
|
|
58
|
+
return [
|
|
59
|
+
'Links from tasks, tests, and E2E cases to spec scenarios are written in one exact form, so a check can follow them; a link in any other form links nothing.',
|
|
60
|
+
'',
|
|
61
|
+
`- **References.** ${renderTraceReferenceRule()}`,
|
|
62
|
+
`- **Tasks.** ${renderTaskTraceRule()}`,
|
|
63
|
+
`- **Tests.** ${renderTestTraceRule()}`,
|
|
64
|
+
`- **E2E ledger.** ${renderLedgerTraceRule()}`,
|
|
65
|
+
'',
|
|
66
|
+
renderTraceabilityExample(),
|
|
67
|
+
].join('\n');
|
|
68
|
+
}
|
|
69
|
+
/** Pointer sentence placed at the task-writing step. */
|
|
70
|
+
export function renderTaskTracePointer() {
|
|
71
|
+
return 'Give every task in `tasks.md` its `traces-to:` line and, unless it only runs verification, its `files:` lines (see Traceability above).';
|
|
72
|
+
}
|
|
73
|
+
/** Pointer sentence placed at the test-writing step. */
|
|
74
|
+
export function renderTestTracePointer() {
|
|
75
|
+
return 'Every test written for a task carries a `traces-to:` comment directly above its declaration (see Traceability above).';
|
|
76
|
+
}
|
|
77
|
+
/** Pointer sentence placed at the FuseQA step. */
|
|
78
|
+
export function renderLedgerTracePointer() {
|
|
79
|
+
return "Record each new E2E case in `tests/e2e/<capability>/ledger.md`, with `Case` written as `` `<file>::<test name>` `` and the case's test carrying a `traces-to:` comment (see Traceability above).";
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=traceability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"traceability.js","sourceRoot":"","sources":["../../src/templates/traceability.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,uDAAuD;AACvD,MAAM,UAAU,wBAAwB;IACtC,OAAO,sSAAsS,CAAC;AAChT,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,mBAAmB;IACjC,OAAO,kPAAkP,CAAC;AAC5P,CAAC;AAED,2DAA2D;AAC3D,MAAM,UAAU,mBAAmB;IACjC,OAAO,0SAA0S,CAAC;AACpT,CAAC;AAED,qDAAqD;AACrD,MAAM,UAAU,qBAAqB;IACnC,OAAO,wRAAwR,CAAC;AAClS,CAAC;AAED,oEAAoE;AACpE,MAAM,UAAU,sBAAsB;IACpC,OAAO,oGAAoG,CAAC;AAC9G,CAAC;AAED;;;;GAIG;AACH,SAAS,yBAAyB;IAChC,OAAO;QACL,cAAc;QACd,aAAa;QACb,4CAA4C;QAC5C,4DAA4D;QAC5D,sDAAsD;QACtD,KAAK;QACL,EAAE;QACF,OAAO;QACP,sFAAsF;QACtF,wCAAwC;QACxC,KAAK;QACL,EAAE;QACF,2CAA2C;QAC3C,mBAAmB;QACnB,8HAA8H;QAC9H,MAAM;KACP,CAAC,IAAI,CAAC,IAA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