refacil-sdd-ai 5.3.2 → 5.3.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.
- package/lib/spec-sync.js +7 -1
- package/package.json +1 -1
package/lib/spec-sync.js
CHANGED
|
@@ -98,7 +98,13 @@ function parseCriteriaBlocks(markdown) {
|
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
for (const line of lines) {
|
|
101
|
-
|
|
101
|
+
// Tolerant heading match so archive's spec-sync never trips on cosmetic
|
|
102
|
+
// format variance the proposer/agents produce in the wild:
|
|
103
|
+
// - heading level: h2 (## CA-01) OR h3+ (### CA-A01) — level is ignored
|
|
104
|
+
// - criterion id: numeric (CA-01), feature-prefixed (CA-A01, CA-G01) or
|
|
105
|
+
// suffixed (CA-12b) — any [A-Za-z0-9] run after the CA-/CR- prefix
|
|
106
|
+
// The CA-/CR- token is the real signal; the heading level and id shape are not.
|
|
107
|
+
const m = line.match(/^#{2,6}\s+((?:CA|CR)-[A-Za-z0-9]+):\s*(.+)$/i);
|
|
102
108
|
if (m) {
|
|
103
109
|
pushCurrent();
|
|
104
110
|
current = { id: m[1].toUpperCase(), title: m[2].trim(), lines: [] };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "refacil-sdd-ai",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.3",
|
|
4
4
|
"description": "SDD-AI: Specification-Driven Development with AI — development methodology using AI with Claude Code, Cursor, OpenCode and Codex",
|
|
5
5
|
"bin": {
|
|
6
6
|
"refacil-sdd-ai": "./bin/cli.js"
|