@slowcook-ai/cli 0.4.2 → 0.4.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/commands/refine/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,iBAAiB,kjCAU7B,CAAC;AAEF,eAAO,MAAM,2BAA2B,wsDAoBkG,CAAC;AAE3I,eAAO,MAAM,yBAAyB,GAAI,WAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/commands/refine/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,iBAAiB,kjCAU7B,CAAC;AAEF,eAAO,MAAM,2BAA2B,wsDAoBkG,CAAC;AAE3I,eAAO,MAAM,yBAAyB,GAAI,WAAW,MAAM,WAwEwE,CAAC;AAEpI,sDAAsD;AACtD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,GAAG,MAAM,CAaT"}
|
|
@@ -89,6 +89,26 @@ When emitting the spec: output ONLY the YAML, nothing before or after, starting
|
|
|
89
89
|
- non_goals: string[]
|
|
90
90
|
- related_specs?: [{ id, relationship: "overlap"|"related"|"superseded", note? }]
|
|
91
91
|
|
|
92
|
+
## YAML string hygiene (load-bearing — ignore and the spec fails to parse)
|
|
93
|
+
|
|
94
|
+
When your spec contains references to code identifiers, table columns, enum values, or anything with markdown-like decoration, **wrap the entire string in double quotes**. In particular:
|
|
95
|
+
|
|
96
|
+
- Any string containing **backticks** (\`), **colons followed by content** (e.g., "Given: when X"), **leading hyphens** (\`-\`), **pipes** (\`|\`), **braces**, **hashes at start**, or **ambiguous words** like \`yes\` / \`no\` / \`true\` / \`false\` must be quoted. If in doubt, **quote**.
|
|
97
|
+
- Prefer double-quoted strings (\`"..."\`). Escape inner double quotes with \`\\"\`.
|
|
98
|
+
- For multi-line content, use YAML block scalars: \`description: |\` followed by indented lines.
|
|
99
|
+
- **Bad** (invalid YAML):
|
|
100
|
+
\`\`\`
|
|
101
|
+
invariants:
|
|
102
|
+
- \`reports.reason\` is one of: spam | harassment
|
|
103
|
+
\`\`\`
|
|
104
|
+
- **Good** (valid YAML):
|
|
105
|
+
\`\`\`
|
|
106
|
+
invariants:
|
|
107
|
+
- "\`reports.reason\` is one of: spam | harassment"
|
|
108
|
+
\`\`\`
|
|
109
|
+
|
|
110
|
+
Treat the spec as machine-parsed YAML first, human-readable documentation second.
|
|
111
|
+
|
|
92
112
|
## Constraints
|
|
93
113
|
|
|
94
114
|
- Do NOT hallucinate facts not in the issue or prior conversation. If you infer something, flag it as an assumption in the question round.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../src/commands/refine/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;CAUhC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;0IAoB+F,CAAC;AAE3I,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,SAAiB,EAAE,EAAE,CAAC;;;;;;EAM9D,SAAS
|
|
1
|
+
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../../../src/commands/refine/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;CAUhC,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;;;;;;;0IAoB+F,CAAC;AAE3I,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,SAAiB,EAAE,EAAE,CAAC;;;;;;EAM9D,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mIAkEwH,CAAC;AAEpI,sDAAsD;AACtD,MAAM,UAAU,YAAY,CAAC,OAAe,EAAE,KAAa;IACzD,OAAO,eAAe,OAAO,MAAM,KAAK,EAAE,CAAC;AAC7C,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,IAI3B;IACC,MAAM,iBAAiB,GACrB,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC;QACxB,CAAC,CAAC,uDAAuD,IAAI,CAAC,UAAU;aACnE,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC;aAC1B,IAAI,CAAC,IAAI,CAAC,qEAAqE;QACpF,CAAC,CAAC,EAAE,CAAC;IACT,OAAO,sBAAsB,IAAI,CAAC,WAAW;;;EAG7C,iBAAiB;;oCAEiB,CAAC;AACrC,CAAC"}
|