rosettify 3.2.0 → 3.2.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/dist/commands/plan/core.d.ts +1 -1
- package/dist/commands/plan/core.d.ts.map +1 -1
- package/dist/commands/plan/core.js +4 -3
- package/dist/commands/plan/core.js.map +1 -1
- package/dist/commands/specs/add.d.ts +1 -1
- package/dist/commands/specs/add.d.ts.map +1 -1
- package/dist/commands/specs/add.js +39 -11
- package/dist/commands/specs/add.js.map +1 -1
- package/dist/commands/specs/core.d.ts +100 -22
- package/dist/commands/specs/core.d.ts.map +1 -1
- package/dist/commands/specs/core.js +173 -30
- package/dist/commands/specs/core.js.map +1 -1
- package/dist/commands/specs/errors.d.ts +13 -5
- package/dist/commands/specs/errors.d.ts.map +1 -1
- package/dist/commands/specs/errors.js +19 -7
- package/dist/commands/specs/errors.js.map +1 -1
- package/dist/commands/specs/field-guide.d.ts +3 -0
- package/dist/commands/specs/field-guide.d.ts.map +1 -0
- package/dist/commands/specs/field-guide.js +243 -0
- package/dist/commands/specs/field-guide.js.map +1 -0
- package/dist/commands/specs/help-content.d.ts +15 -0
- package/dist/commands/specs/help-content.d.ts.map +1 -1
- package/dist/commands/specs/help-content.js +99 -35
- package/dist/commands/specs/help-content.js.map +1 -1
- package/dist/commands/specs/index.d.ts.map +1 -1
- package/dist/commands/specs/index.js +9 -5
- package/dist/commands/specs/index.js.map +1 -1
- package/dist/commands/specs/info.d.ts.map +1 -1
- package/dist/commands/specs/info.js +1 -1
- package/dist/commands/specs/info.js.map +1 -1
- package/dist/commands/specs/markup-grammar.d.ts +56 -0
- package/dist/commands/specs/markup-grammar.d.ts.map +1 -0
- package/dist/commands/specs/markup-grammar.js +99 -0
- package/dist/commands/specs/markup-grammar.js.map +1 -0
- package/dist/commands/specs/migrate.d.ts +1 -1
- package/dist/commands/specs/migrate.d.ts.map +1 -1
- package/dist/commands/specs/migrate.js +36 -19
- package/dist/commands/specs/migrate.js.map +1 -1
- package/dist/commands/specs/output.d.ts +32 -11
- package/dist/commands/specs/output.d.ts.map +1 -1
- package/dist/commands/specs/output.js +2 -2
- package/dist/commands/specs/output.js.map +1 -1
- package/dist/commands/specs/purge.d.ts.map +1 -1
- package/dist/commands/specs/purge.js +8 -0
- package/dist/commands/specs/purge.js.map +1 -1
- package/dist/commands/specs/query-filter.d.ts +1 -1
- package/dist/commands/specs/query-filter.d.ts.map +1 -1
- package/dist/commands/specs/query-filter.js +30 -0
- package/dist/commands/specs/query-filter.js.map +1 -1
- package/dist/commands/specs/render.d.ts +4 -2
- package/dist/commands/specs/render.d.ts.map +1 -1
- package/dist/commands/specs/render.js +184 -18
- package/dist/commands/specs/render.js.map +1 -1
- package/dist/commands/specs/req-parser.d.ts +43 -42
- package/dist/commands/specs/req-parser.d.ts.map +1 -1
- package/dist/commands/specs/req-parser.js +225 -223
- package/dist/commands/specs/req-parser.js.map +1 -1
- package/dist/commands/specs/rubric.d.ts +35 -5
- package/dist/commands/specs/rubric.d.ts.map +1 -1
- package/dist/commands/specs/rubric.js +120 -28
- package/dist/commands/specs/rubric.js.map +1 -1
- package/dist/commands/specs/schemas.d.ts.map +1 -1
- package/dist/commands/specs/schemas.js +69 -32
- package/dist/commands/specs/schemas.js.map +1 -1
- package/dist/commands/specs/update.d.ts.map +1 -1
- package/dist/commands/specs/update.js +45 -20
- package/dist/commands/specs/update.js.map +1 -1
- package/dist/commands/specs/validate.d.ts.map +1 -1
- package/dist/commands/specs/validate.js +83 -25
- package/dist/commands/specs/validate.js.map +1 -1
- package/dist/commands/specs/write.d.ts +9 -4
- package/dist/commands/specs/write.d.ts.map +1 -1
- package/dist/commands/specs/write.js +23 -6
- package/dist/commands/specs/write.js.map +1 -1
- package/dist/frontends/cli.d.ts.map +1 -1
- package/dist/frontends/cli.js +15 -3
- package/dist/frontends/cli.js.map +1 -1
- package/dist/registry/types.d.ts +2 -0
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/shared/constants.d.ts +2 -1
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +2 -1
- package/dist/shared/constants.js.map +1 -1
- package/package.json +9 -7
|
@@ -4,8 +4,8 @@ import * as fs from "fs";
|
|
|
4
4
|
import * as path from "path";
|
|
5
5
|
import { detectCycle } from "../../shared/graph.js";
|
|
6
6
|
import { nowUtcZ } from "../../shared/time.js";
|
|
7
|
-
import { SPECS_MAX_SPECS, SPECS_MAX_DEPENDENCIES_PER_SPEC, SPECS_MAX_ACCEPTANCE_PER_SPEC, SPECS_MAX_STRING_LENGTH, SPECS_MAX_NAME_LENGTH, } from "../../shared/constants.js";
|
|
8
|
-
import { ERR_INVALID_ID_FORMAT,
|
|
7
|
+
import { SPECS_MAX_SPECS, SPECS_MAX_DEPENDENCIES_PER_SPEC, SPECS_MAX_ACCEPTANCE_PER_SPEC, SPECS_MAX_EVIDENCE_PER_SPEC, SPECS_MAX_STRING_LENGTH, SPECS_MAX_NAME_LENGTH, } from "../../shared/constants.js";
|
|
8
|
+
import { ERR_INVALID_ID_FORMAT, ERR_INVALID_TYPE, ERR_INVALID_SOURCE, ERR_INVALID_PRIORITY, ERR_INVALID_VERIFICATION, ERR_INVALID_SPEC_FIELD, ERR_MISSING_REQUIRED_FIELD, ERR_DUPLICATE_ID, ERR_UNKNOWN_DEPENDENCY, ERR_SIZE_LIMIT_EXCEEDED, ERR_INVALID_LEVEL, ERR_INVALID_EARS, ERR_DUPLICATE_CRITERION_ID, ERR_ID_TYPE_MISMATCH, } from "./errors.js";
|
|
9
9
|
// ---------------------------------------------------------------------------
|
|
10
10
|
// Enums (FR-SPECS-0003, 0040, 0015) — const tuples + derived unions, mirrors plan's
|
|
11
11
|
// VALID_STATUSES pattern.
|
|
@@ -16,6 +16,35 @@ export const IMPLS = ["NotStarted", "Implemented", "Planned", "ToBeModified", "T
|
|
|
16
16
|
export const MOSCOW = ["Must", "Should", "Could", "Wont"];
|
|
17
17
|
export const SOURCES = ["User", "Inferred", "Sources", "Documentation"];
|
|
18
18
|
export const VERIFS = ["Test", "Analysis", "Inspection", "Demo"];
|
|
19
|
+
export const EARS_PATTERNS = ["ubiquitous", "event", "state", "optional", "unwanted"]; // FR-SPECS-0001, 0006
|
|
20
|
+
export const LEVELS = ["System", "Subsystem", "Component"]; // FR-SPECS-0001
|
|
21
|
+
/**
|
|
22
|
+
* FR-SPECS-0006 — the one condition word each EARS pattern names; null for `ubiquitous`, which
|
|
23
|
+
* carries none. Single source for the write check, the validate check, and the markup round trip.
|
|
24
|
+
*/
|
|
25
|
+
export const EARS_CONDITION_WORD = {
|
|
26
|
+
ubiquitous: null,
|
|
27
|
+
event: "when",
|
|
28
|
+
state: "while",
|
|
29
|
+
optional: "where",
|
|
30
|
+
unwanted: "if",
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* FR-SPECS-0004 — the nine quality-characteristic codes pre-registered in every document. They are
|
|
34
|
+
* recommended, never mandatory: any registered area is legal on any type, and an NFR whose area
|
|
35
|
+
* falls outside these nine is accepted on write and reported by validate as a recommendation.
|
|
36
|
+
*/
|
|
37
|
+
export const RESERVED_NFR_AREAS = [
|
|
38
|
+
{ code: "PERF", name: "performance efficiency" },
|
|
39
|
+
{ code: "SEC", name: "security" },
|
|
40
|
+
{ code: "REL", name: "reliability" },
|
|
41
|
+
{ code: "USE", name: "usability" },
|
|
42
|
+
{ code: "MAIN", name: "maintainability" },
|
|
43
|
+
{ code: "PORT", name: "portability" },
|
|
44
|
+
{ code: "COMP", name: "compatibility" },
|
|
45
|
+
{ code: "FUNC", name: "functional suitability" },
|
|
46
|
+
{ code: "SAFE", name: "safety" },
|
|
47
|
+
];
|
|
19
48
|
// ---------------------------------------------------------------------------
|
|
20
49
|
// Guarded fields (FR-SPECS-0040) — add/update MUST silently drop any caller-supplied value.
|
|
21
50
|
// ---------------------------------------------------------------------------
|
|
@@ -34,15 +63,18 @@ export function stripGuarded(item) {
|
|
|
34
63
|
// ---------------------------------------------------------------------------
|
|
35
64
|
// Known/required fields (FR-SPECS-0001)
|
|
36
65
|
// ---------------------------------------------------------------------------
|
|
37
|
-
const KNOWN_SPEC_FIELDS = new Set([
|
|
66
|
+
export const KNOWN_SPEC_FIELDS = new Set([
|
|
38
67
|
"id",
|
|
39
68
|
"type",
|
|
40
69
|
"level",
|
|
70
|
+
"subsystem",
|
|
71
|
+
"component",
|
|
41
72
|
"ticket_id",
|
|
42
73
|
"classification",
|
|
43
74
|
"title",
|
|
44
75
|
"statement",
|
|
45
76
|
"rationale",
|
|
77
|
+
"evidence",
|
|
46
78
|
"source",
|
|
47
79
|
"priority",
|
|
48
80
|
"status",
|
|
@@ -90,24 +122,44 @@ export function validateIdFormat(id) {
|
|
|
90
122
|
return ID_RE.test(id) ? null : ERR_INVALID_ID_FORMAT;
|
|
91
123
|
}
|
|
92
124
|
/**
|
|
93
|
-
* FR-SPECS-0004 — AREA
|
|
94
|
-
* (add, migrate)
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
125
|
+
* FR-SPECS-0004/0021 — true when spec's AREA is not registered in doc.areas. validate-only: on
|
|
126
|
+
* every write path (add, migrate) autoRegisterAreas() registers a brand-new AREA before this
|
|
127
|
+
* would ever run, so a write is never refused for introducing one (registration on first use).
|
|
128
|
+
* What remains reachable is a hand-edited or externally-assembled document naming an area the
|
|
129
|
+
* registry does not hold, which validate (FR-SPECS-0021) reports as an `area_registration`
|
|
130
|
+
* finding at error severity. An id that fails ID_RE is not this function's concern
|
|
131
|
+
* (validateIdFormat covers it) — an unparseable id is treated as registered so the two checks
|
|
132
|
+
* don't collide on the same item.
|
|
98
133
|
*/
|
|
99
134
|
export function validateAreaRegistration(spec, doc) {
|
|
100
135
|
const parsed = parseId(spec.id);
|
|
101
136
|
if (!parsed)
|
|
102
|
-
return
|
|
137
|
+
return false;
|
|
138
|
+
// FR-SPECS-0004 AC4 — the nine reserved codes count as registered even when a legacy document's
|
|
139
|
+
// registry has not yet materialised them, so a read-only pass over such a document stays clean.
|
|
140
|
+
if (RESERVED_NFR_AREAS.some((a) => a.code === parsed.area))
|
|
141
|
+
return false;
|
|
103
142
|
const registered = (doc.areas ?? []).some((a) => a.code === parsed.area);
|
|
104
|
-
return registered
|
|
143
|
+
return !registered;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* FR-SPECS-0004 AC4/AC7 — appends any of the nine quality-characteristic codes missing from
|
|
147
|
+
* doc.areas, preserving every existing entry and its name (a document that renamed a code keeps
|
|
148
|
+
* its own name). Idempotent. Called from newDocument() and from the add/migrate write paths only:
|
|
149
|
+
* a read path must never mutate the document (FR-SPECS-0021 AC9).
|
|
150
|
+
*/
|
|
151
|
+
export function ensureReservedAreas(doc) {
|
|
152
|
+
doc.areas = doc.areas ?? [];
|
|
153
|
+
for (const reserved of RESERVED_NFR_AREAS) {
|
|
154
|
+
if (!doc.areas.some((a) => a.code === reserved.code)) {
|
|
155
|
+
doc.areas.push({ code: reserved.code, name: reserved.name });
|
|
156
|
+
}
|
|
157
|
+
}
|
|
105
158
|
}
|
|
106
159
|
/**
|
|
107
|
-
* FR-SPECS-0004 — for each id whose AREA is not yet in doc.areas, registers it with the
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* update never calls this — it introduces no new ids.
|
|
160
|
+
* FR-SPECS-0004 — for each id whose AREA is not yet in doc.areas, registers it with the default
|
|
161
|
+
* name (name = code), so a write introducing a brand-new area is never refused (registration on
|
|
162
|
+
* first use). update never calls this — it introduces no new ids.
|
|
111
163
|
*/
|
|
112
164
|
export function autoRegisterAreas(doc, ids) {
|
|
113
165
|
doc.areas = doc.areas ?? [];
|
|
@@ -120,16 +172,79 @@ export function autoRegisterAreas(doc, ids) {
|
|
|
120
172
|
}
|
|
121
173
|
}
|
|
122
174
|
}
|
|
123
|
-
/** FR-SPECS-0004 — update/patch MUST NOT change a spec's id. Reuses the plan pattern. */
|
|
124
|
-
export function validateImmutableId(patchId, targetId) {
|
|
125
|
-
if (patchId !== undefined && patchId !== targetId)
|
|
126
|
-
return ERR_IMMUTABLE_ID;
|
|
127
|
-
return null;
|
|
128
|
-
}
|
|
129
175
|
/** FR-SPECS-0003 — `type` must be one of SPEC_TYPES. */
|
|
130
176
|
export function validateType(t) {
|
|
131
177
|
return typeof t === "string" && SPEC_TYPES.includes(t) ? null : ERR_INVALID_TYPE;
|
|
132
178
|
}
|
|
179
|
+
/** FR-SPECS-0001 — `level` must be one of LEVELS. Mirrors validateType. */
|
|
180
|
+
export function validateLevel(v) {
|
|
181
|
+
return typeof v === "string" && LEVELS.includes(v) ? null : ERR_INVALID_LEVEL;
|
|
182
|
+
}
|
|
183
|
+
/** FR-SPECS-0001 — a criterion's `ears` must be one of EARS_PATTERNS. Mirrors validateType. */
|
|
184
|
+
export function validateEars(v) {
|
|
185
|
+
return typeof v === "string" && EARS_PATTERNS.includes(v) ? null : ERR_INVALID_EARS;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* FR-SPECS-0009 — a spec's `type` must agree with the prefix of its own id, on add and update
|
|
189
|
+
* alike, because the id can never change and a disagreeing pair could only be deleted and
|
|
190
|
+
* re-authored. An id that fails ID_RE, or a `type` outside SPEC_TYPES, is not this function's
|
|
191
|
+
* concern (validateIdFormat / validateType cover those) — both pass here so the errors don't
|
|
192
|
+
* collide on the same item.
|
|
193
|
+
*/
|
|
194
|
+
export function validateIdTypeConsistency(id, type) {
|
|
195
|
+
const parsed = parseId(id);
|
|
196
|
+
if (!parsed)
|
|
197
|
+
return null;
|
|
198
|
+
if (typeof type !== "string" || !SPEC_TYPES.includes(type))
|
|
199
|
+
return null;
|
|
200
|
+
return parsed.prefix === type ? null : ERR_ID_TYPE_MISMATCH;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* FR-SPECS-0001 AC3 — fills every omitted criterion id with the next free `<specId>.AC<n>`.
|
|
204
|
+
* Supplied ids are claimed first and never renumbered; omitted ones are then filled in array
|
|
205
|
+
* order, each taking the lowest n >= 1 not already claimed. Pure — returns a new array.
|
|
206
|
+
*/
|
|
207
|
+
export function assignCriterionIds(specId, criteria) {
|
|
208
|
+
const claimed = new Set();
|
|
209
|
+
for (const c of criteria ?? []) {
|
|
210
|
+
if (typeof c?.id === "string" && c.id.trim() !== "")
|
|
211
|
+
claimed.add(c.id);
|
|
212
|
+
}
|
|
213
|
+
let next = 1;
|
|
214
|
+
return (criteria ?? []).map((c) => {
|
|
215
|
+
if (typeof c?.id === "string" && c.id.trim() !== "")
|
|
216
|
+
return c;
|
|
217
|
+
while (claimed.has(`${specId}.AC${next}`))
|
|
218
|
+
next += 1;
|
|
219
|
+
const id = `${specId}.AC${next}`;
|
|
220
|
+
claimed.add(id);
|
|
221
|
+
return { ...c, id };
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* FR-SPECS-0001 AC4/AC5/AC6 — field-level criterion checks that reject a write: an out-of-enum
|
|
226
|
+
* `ears`, a missing `system` or `shall`, and two criteria within one unit sharing an id. Whether a
|
|
227
|
+
* criterion's condition word agrees with its `ears`, and whether it carries more than one, are
|
|
228
|
+
* cross-field rules reported by validate (FR-SPECS-0006), not rejected here.
|
|
229
|
+
*/
|
|
230
|
+
export function validateCriteria(spec) {
|
|
231
|
+
const seen = new Set();
|
|
232
|
+
for (const c of spec.acceptance ?? []) {
|
|
233
|
+
const earsError = validateEars(c?.ears);
|
|
234
|
+
if (earsError)
|
|
235
|
+
return earsError;
|
|
236
|
+
if (typeof c?.system !== "string" || c.system.trim() === "")
|
|
237
|
+
return ERR_MISSING_REQUIRED_FIELD;
|
|
238
|
+
if (typeof c?.shall !== "string" || c.shall.trim() === "")
|
|
239
|
+
return ERR_MISSING_REQUIRED_FIELD;
|
|
240
|
+
if (typeof c?.id === "string" && c.id.trim() !== "") {
|
|
241
|
+
if (seen.has(c.id))
|
|
242
|
+
return ERR_DUPLICATE_CRITERION_ID;
|
|
243
|
+
seen.add(c.id);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
return null;
|
|
247
|
+
}
|
|
133
248
|
/** FR-SPECS-0001 — `source` must be one of SOURCES. Mirrors validateType. */
|
|
134
249
|
export function validateSource(s) {
|
|
135
250
|
return typeof s === "string" && SOURCES.includes(s) ? null : ERR_INVALID_SOURCE;
|
|
@@ -163,9 +278,15 @@ export function validateRequired(spec) {
|
|
|
163
278
|
}
|
|
164
279
|
return null;
|
|
165
280
|
}
|
|
166
|
-
/**
|
|
281
|
+
/**
|
|
282
|
+
* FR-SPECS-0005, 0009, 0016 — every spec id must be unique across both the document's live specs
|
|
283
|
+
* and its `purged_ids` registry. The seen-set is seeded from the registry before walking the
|
|
284
|
+
* specs, so a live id colliding with either a live id or a purged one is rejected with the same
|
|
285
|
+
* `duplicate_id`. This is the single enforcement point for never-reuse: every write subcommand
|
|
286
|
+
* reaches it through the shared post-batch gate, so add, update and migrate are covered at once.
|
|
287
|
+
*/
|
|
167
288
|
export function validateUniqueIds(doc) {
|
|
168
|
-
const seen = new Set();
|
|
289
|
+
const seen = new Set(doc.purged_ids ?? []);
|
|
169
290
|
for (const spec of doc.specs ?? []) {
|
|
170
291
|
if (!spec.id)
|
|
171
292
|
continue;
|
|
@@ -205,10 +326,15 @@ export function validateDependsAcyclic(doc) {
|
|
|
205
326
|
}
|
|
206
327
|
return detectCycle(graph); // shared/graph.ts — generic DFS, "dependency_cycle" | null
|
|
207
328
|
}
|
|
208
|
-
/**
|
|
329
|
+
/**
|
|
330
|
+
* Recursively enforces string length limits: `id`/`title`/`name`/`code`/`system` at
|
|
331
|
+
* SPECS_MAX_NAME_LENGTH, all other strings at SPECS_MAX_STRING_LENGTH.
|
|
332
|
+
* FR-SPECS-0007 AC3 — `system` is name-like, which the keyHint recursion applies to both a
|
|
333
|
+
* criterion's `system` and the document's own `system` field. Both are intended.
|
|
334
|
+
*/
|
|
209
335
|
function checkStringLimits(value, keyHint) {
|
|
210
336
|
if (typeof value === "string") {
|
|
211
|
-
const isNameLike = keyHint === "id" || keyHint === "title" || keyHint === "name" || keyHint === "code";
|
|
337
|
+
const isNameLike = keyHint === "id" || keyHint === "title" || keyHint === "name" || keyHint === "code" || keyHint === "system";
|
|
212
338
|
const limit = isNameLike ? SPECS_MAX_NAME_LENGTH : SPECS_MAX_STRING_LENGTH;
|
|
213
339
|
return value.length > limit ? ERR_SIZE_LIMIT_EXCEEDED : null;
|
|
214
340
|
}
|
|
@@ -232,9 +358,11 @@ function checkStringLimits(value, keyHint) {
|
|
|
232
358
|
/**
|
|
233
359
|
* FR-SPECS-0007 — enforces: max SPECS_MAX_SPECS specs per document; max
|
|
234
360
|
* SPECS_MAX_DEPENDENCIES_PER_SPEC entries in each of depends_on/related; max
|
|
235
|
-
* SPECS_MAX_ACCEPTANCE_PER_SPEC acceptance criteria per spec; max
|
|
236
|
-
*
|
|
361
|
+
* SPECS_MAX_ACCEPTANCE_PER_SPEC acceptance criteria per spec; max SPECS_MAX_EVIDENCE_PER_SPEC
|
|
362
|
+
* evidence locations per spec; max SPECS_MAX_STRING_LENGTH characters per string field; max
|
|
363
|
+
* SPECS_MAX_NAME_LENGTH characters per id/title/name/code/system.
|
|
237
364
|
* (SPECS_MAX_BATCH_SIZE is enforced by index.ts before processing, not here.)
|
|
365
|
+
* `purged_ids` is deliberately uncapped — growth is bounded by deliberate human action.
|
|
238
366
|
*/
|
|
239
367
|
export function validateSizeLimits(doc) {
|
|
240
368
|
if ((doc.specs ?? []).length > SPECS_MAX_SPECS)
|
|
@@ -246,6 +374,8 @@ export function validateSizeLimits(doc) {
|
|
|
246
374
|
return ERR_SIZE_LIMIT_EXCEEDED;
|
|
247
375
|
if ((spec.acceptance ?? []).length > SPECS_MAX_ACCEPTANCE_PER_SPEC)
|
|
248
376
|
return ERR_SIZE_LIMIT_EXCEEDED;
|
|
377
|
+
if ((spec.evidence ?? []).length > SPECS_MAX_EVIDENCE_PER_SPEC)
|
|
378
|
+
return ERR_SIZE_LIMIT_EXCEEDED;
|
|
249
379
|
}
|
|
250
380
|
return checkStringLimits(doc);
|
|
251
381
|
}
|
|
@@ -260,6 +390,11 @@ export function loadSpecs(file) {
|
|
|
260
390
|
if (!("previous_version" in raw)) {
|
|
261
391
|
raw["previous_version"] = null;
|
|
262
392
|
}
|
|
393
|
+
// FR-SPECS-0002 — legacy documents predate the purged-id registry; normalise the shape once at
|
|
394
|
+
// the read boundary so no downstream site has to guard for its absence.
|
|
395
|
+
if (!("purged_ids" in raw)) {
|
|
396
|
+
raw["purged_ids"] = [];
|
|
397
|
+
}
|
|
263
398
|
return raw;
|
|
264
399
|
}
|
|
265
400
|
export function saveSpecs(file, doc) {
|
|
@@ -268,17 +403,25 @@ export function saveSpecs(file, doc) {
|
|
|
268
403
|
doc.updated_at = nowUtcZ();
|
|
269
404
|
fs.writeFileSync(file, JSON.stringify(doc, null, 2));
|
|
270
405
|
}
|
|
271
|
-
/**
|
|
272
|
-
|
|
406
|
+
/**
|
|
407
|
+
* FR-SPECS-0002 — a fresh, empty specs document. previous_version stays null until the first
|
|
408
|
+
* backup exists; the purged-id registry starts empty; the nine reserved quality-characteristic
|
|
409
|
+
* codes are pre-registered (FR-SPECS-0004 AC7). A document that already exists is never
|
|
410
|
+
* re-created, so the write paths call ensureReservedAreas too.
|
|
411
|
+
*/
|
|
412
|
+
export function newDocument(system) {
|
|
273
413
|
const ts = nowUtcZ();
|
|
274
|
-
|
|
275
|
-
|
|
414
|
+
const doc = {
|
|
415
|
+
system: system ?? "",
|
|
276
416
|
description: "",
|
|
277
417
|
created_at: ts,
|
|
278
418
|
updated_at: ts,
|
|
279
419
|
previous_version: null,
|
|
420
|
+
purged_ids: [],
|
|
280
421
|
areas: [],
|
|
281
422
|
specs: [],
|
|
282
423
|
};
|
|
424
|
+
ensureReservedAreas(doc);
|
|
425
|
+
return doc;
|
|
283
426
|
}
|
|
284
427
|
//# sourceMappingURL=core.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/commands/specs/core.ts"],"names":[],"mappings":"AAA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CAAC,CAAC;AACvD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,MAAe;IACzC,MAAM,EAAE,GAAG,OAAO,EAAE,CAAC;IACrB,MAAM,GAAG,GAAkB;QACzB,MAAM,EAAE,MAAM,IAAI,EAAE;QACpB,WAAW,EAAE,EAAE;QACf,UAAU,EAAE,EAAE;QACd,UAAU,EAAE,EAAE;QACd,gBAAgB,EAAE,IAAI;QACtB,UAAU,EAAE,EAAE;QACd,KAAK,EAAE,EAAE;QACT,KAAK,EAAE,EAAE;KACV,CAAC;IACF,mBAAmB,CAAC,GAAG,CAAC,CAAC;IACzB,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -12,10 +12,10 @@ export declare const ERR_MISSING_ID = "missing_id";
|
|
|
12
12
|
export declare const ERR_DUPLICATE_ID = "duplicate_id";
|
|
13
13
|
/** FR-SPECS-0004 — a spec id does not match the `<PREFIX>-<AREA>-<NNNN>` format. */
|
|
14
14
|
export declare const ERR_INVALID_ID_FORMAT = "invalid_id_format";
|
|
15
|
-
/** FR-SPECS-0004 — a spec's AREA is not registered in the document and the call does not register it. */
|
|
16
|
-
export declare const ERR_UNKNOWN_AREA = "unknown_area";
|
|
17
15
|
/** FR-SPECS-0003 — a spec's `type` is not one of FR, NFR, INT, DATA. */
|
|
18
16
|
export declare const ERR_INVALID_TYPE = "invalid_type";
|
|
17
|
+
/** FR-SPECS-0001 — a spec's `level` is not one of System, Subsystem, Component. */
|
|
18
|
+
export declare const ERR_INVALID_LEVEL = "invalid_level";
|
|
19
19
|
/** FR-SPECS-0001 — a spec's `source` is not one of User, Inferred, Sources, Documentation. */
|
|
20
20
|
export declare const ERR_INVALID_SOURCE = "invalid_source";
|
|
21
21
|
/** FR-SPECS-0001 — a spec's `priority` is not one of Must, Should, Could, Wont. */
|
|
@@ -26,14 +26,18 @@ export declare const ERR_INVALID_VERIFICATION = "invalid_verification";
|
|
|
26
26
|
export declare const ERR_INVALID_SPEC_FIELD = "invalid_spec_field";
|
|
27
27
|
/** FR-SPECS-0001 — a required field is absent or empty. */
|
|
28
28
|
export declare const ERR_MISSING_REQUIRED_FIELD = "missing_required_field";
|
|
29
|
+
/** FR-SPECS-0001 — an acceptance criterion's `ears` is not one of the five patterns. */
|
|
30
|
+
export declare const ERR_INVALID_EARS = "invalid_ears";
|
|
31
|
+
/** FR-SPECS-0001 — two acceptance criteria within one spec unit carry the same id. */
|
|
32
|
+
export declare const ERR_DUPLICATE_CRITERION_ID = "duplicate_criterion_id";
|
|
29
33
|
/** FR-SPECS-0005 — a depends_on/related entry references an id absent from the document. */
|
|
30
34
|
export declare const ERR_UNKNOWN_DEPENDENCY = "unknown_dependency";
|
|
31
35
|
/** FR-SPECS-0005 — a depends_on reference would create a cycle (or a spec depends on itself). */
|
|
32
36
|
export declare const ERR_DEPENDENCY_CYCLE = "dependency_cycle";
|
|
33
37
|
/** FR-SPECS-0007 — a configured size limit was exceeded. */
|
|
34
38
|
export declare const ERR_SIZE_LIMIT_EXCEEDED = "size_limit_exceeded";
|
|
35
|
-
/** FR-SPECS-
|
|
36
|
-
export declare const
|
|
39
|
+
/** FR-SPECS-0009 — a spec's `type` disagrees with the prefix of its own id (add and update alike). */
|
|
40
|
+
export declare const ERR_ID_TYPE_MISMATCH = "id_type_mismatch";
|
|
37
41
|
/** FR-SPECS-0013 — a target spec id does not exist in the document. */
|
|
38
42
|
export declare const ERR_TARGET_NOT_FOUND = "target_not_found";
|
|
39
43
|
/** FR-SPECS-0015 — implementation value is not one of the allowed enum values. */
|
|
@@ -52,12 +56,16 @@ export declare const ERR_REFERENCED_BY_OTHERS = "referenced_by_others";
|
|
|
52
56
|
export declare const ERR_INVALID_FILTER = "invalid_filter";
|
|
53
57
|
/** FR-SPECS-0012 — query string is malformed. */
|
|
54
58
|
export declare const ERR_INVALID_QUERY = "invalid_query";
|
|
55
|
-
/** FR-SPECS-0023 — requested render format is not markdown|text. */
|
|
59
|
+
/** FR-SPECS-0023 — requested render format is not markdown|text|xml. */
|
|
56
60
|
export declare const ERR_INVALID_FORMAT = "invalid_format";
|
|
57
61
|
/** FR-SPECS-0025 — a migrate source path does not exist. */
|
|
58
62
|
export declare const ERR_SOURCE_NOT_FOUND = "source_not_found";
|
|
59
63
|
/** FR-SPECS-0025 — a migrate source contained no parseable spec blocks. */
|
|
60
64
|
export declare const ERR_MIGRATE_PARSE_ERROR = "migrate_parse_error";
|
|
65
|
+
/** FR-SPECS-0002 — add/migrate would create a document but named no system. */
|
|
66
|
+
export declare const ERR_MISSING_SYSTEM = "missing_system";
|
|
67
|
+
/** FR-SPECS-0002 — a caller-supplied system name disagrees with the document's stored one. */
|
|
68
|
+
export declare const ERR_SYSTEM_MISMATCH = "system_mismatch";
|
|
61
69
|
/**
|
|
62
70
|
* FR-SPECS-0070 — rename-as-guard write cycle exhausted retries. Shared with `plan` (not
|
|
63
71
|
* specs-specific); re-exported here so specs call sites have one import surface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/commands/specs/errors.ts"],"names":[],"mappings":"AAOA,kEAAkE;AAClE,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,mFAAmF;AACnF,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAC/D,gEAAgE;AAChE,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,qEAAqE;AACrE,eAAO,MAAM,cAAc,eAAe,CAAC;AAC3C,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,iBAAiB,CAAC;AAC/C,oFAAoF;AACpF,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AACzD,
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/commands/specs/errors.ts"],"names":[],"mappings":"AAOA,kEAAkE;AAClE,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AACrD,mFAAmF;A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AAC3G,eAAO,MAAM,sBAAsB,uBAAuB,CAAC;AAC3D,qEAAqE;AACrE,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AACzD,uDAAuD;AACvD,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,6FAA6F;AAC7F,eAAO,MAAM,wBAAwB,yBAAyB,CAAC;AAC/D,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,kBAAkB,CAAC;AACjD,wEAAwE;AACxE,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,4DAA4D;AAC5D,eAAO,MAAM,oBAAoB,qBAAqB,CAAC;AACvD,2EAA2E;AAC3E,eAAO,MAAM,uBAAuB,wBAAwB,CAAC;AAC7D,+EAA+E;AAC/E,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AACnD,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB,oBAAoB,CAAC;AAErD;;;GAGG;AACH,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AASlE,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAmCtD,CAAC;AAEF,kGAAkG;AAClG,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD"}
|
|
@@ -18,10 +18,10 @@ export const ERR_MISSING_ID = "missing_id";
|
|
|
18
18
|
export const ERR_DUPLICATE_ID = "duplicate_id";
|
|
19
19
|
/** FR-SPECS-0004 — a spec id does not match the `<PREFIX>-<AREA>-<NNNN>` format. */
|
|
20
20
|
export const ERR_INVALID_ID_FORMAT = "invalid_id_format";
|
|
21
|
-
/** FR-SPECS-0004 — a spec's AREA is not registered in the document and the call does not register it. */
|
|
22
|
-
export const ERR_UNKNOWN_AREA = "unknown_area";
|
|
23
21
|
/** FR-SPECS-0003 — a spec's `type` is not one of FR, NFR, INT, DATA. */
|
|
24
22
|
export const ERR_INVALID_TYPE = "invalid_type";
|
|
23
|
+
/** FR-SPECS-0001 — a spec's `level` is not one of System, Subsystem, Component. */
|
|
24
|
+
export const ERR_INVALID_LEVEL = "invalid_level";
|
|
25
25
|
/** FR-SPECS-0001 — a spec's `source` is not one of User, Inferred, Sources, Documentation. */
|
|
26
26
|
export const ERR_INVALID_SOURCE = "invalid_source";
|
|
27
27
|
/** FR-SPECS-0001 — a spec's `priority` is not one of Must, Should, Could, Wont. */
|
|
@@ -32,14 +32,18 @@ export const ERR_INVALID_VERIFICATION = "invalid_verification";
|
|
|
32
32
|
export const ERR_INVALID_SPEC_FIELD = "invalid_spec_field";
|
|
33
33
|
/** FR-SPECS-0001 — a required field is absent or empty. */
|
|
34
34
|
export const ERR_MISSING_REQUIRED_FIELD = "missing_required_field";
|
|
35
|
+
/** FR-SPECS-0001 — an acceptance criterion's `ears` is not one of the five patterns. */
|
|
36
|
+
export const ERR_INVALID_EARS = "invalid_ears";
|
|
37
|
+
/** FR-SPECS-0001 — two acceptance criteria within one spec unit carry the same id. */
|
|
38
|
+
export const ERR_DUPLICATE_CRITERION_ID = "duplicate_criterion_id";
|
|
35
39
|
/** FR-SPECS-0005 — a depends_on/related entry references an id absent from the document. */
|
|
36
40
|
export const ERR_UNKNOWN_DEPENDENCY = "unknown_dependency";
|
|
37
41
|
/** FR-SPECS-0005 — a depends_on reference would create a cycle (or a spec depends on itself). */
|
|
38
42
|
export const ERR_DEPENDENCY_CYCLE = "dependency_cycle";
|
|
39
43
|
/** FR-SPECS-0007 — a configured size limit was exceeded. */
|
|
40
44
|
export const ERR_SIZE_LIMIT_EXCEEDED = "size_limit_exceeded";
|
|
41
|
-
/** FR-SPECS-
|
|
42
|
-
export const
|
|
45
|
+
/** FR-SPECS-0009 — a spec's `type` disagrees with the prefix of its own id (add and update alike). */
|
|
46
|
+
export const ERR_ID_TYPE_MISMATCH = "id_type_mismatch";
|
|
43
47
|
/** FR-SPECS-0013 — a target spec id does not exist in the document. */
|
|
44
48
|
export const ERR_TARGET_NOT_FOUND = "target_not_found";
|
|
45
49
|
/** FR-SPECS-0015 — implementation value is not one of the allowed enum values. */
|
|
@@ -58,12 +62,16 @@ export const ERR_REFERENCED_BY_OTHERS = "referenced_by_others";
|
|
|
58
62
|
export const ERR_INVALID_FILTER = "invalid_filter";
|
|
59
63
|
/** FR-SPECS-0012 — query string is malformed. */
|
|
60
64
|
export const ERR_INVALID_QUERY = "invalid_query";
|
|
61
|
-
/** FR-SPECS-0023 — requested render format is not markdown|text. */
|
|
65
|
+
/** FR-SPECS-0023 — requested render format is not markdown|text|xml. */
|
|
62
66
|
export const ERR_INVALID_FORMAT = "invalid_format";
|
|
63
67
|
/** FR-SPECS-0025 — a migrate source path does not exist. */
|
|
64
68
|
export const ERR_SOURCE_NOT_FOUND = "source_not_found";
|
|
65
69
|
/** FR-SPECS-0025 — a migrate source contained no parseable spec blocks. */
|
|
66
70
|
export const ERR_MIGRATE_PARSE_ERROR = "migrate_parse_error";
|
|
71
|
+
/** FR-SPECS-0002 — add/migrate would create a document but named no system. */
|
|
72
|
+
export const ERR_MISSING_SYSTEM = "missing_system";
|
|
73
|
+
/** FR-SPECS-0002 — a caller-supplied system name disagrees with the document's stored one. */
|
|
74
|
+
export const ERR_SYSTEM_MISMATCH = "system_mismatch";
|
|
67
75
|
/**
|
|
68
76
|
* FR-SPECS-0070 — rename-as-guard write cycle exhausted retries. Shared with `plan` (not
|
|
69
77
|
* specs-specific); re-exported here so specs call sites have one import surface.
|
|
@@ -83,17 +91,19 @@ export const TEMPLATES = {
|
|
|
83
91
|
[ERR_MISSING_ID]: "A spec item is missing its required id.",
|
|
84
92
|
[ERR_DUPLICATE_ID]: "A spec id is already used by another spec in this document.",
|
|
85
93
|
[ERR_INVALID_ID_FORMAT]: "A spec id does not match the required <PREFIX>-<AREA>-<NNNN> format.",
|
|
86
|
-
[ERR_UNKNOWN_AREA]: "A spec's area is not registered in this document.",
|
|
87
94
|
[ERR_INVALID_TYPE]: "A spec's type is not one of FR, NFR, INT, DATA.",
|
|
95
|
+
[ERR_INVALID_LEVEL]: "A spec's level is not one of System, Subsystem, Component.",
|
|
88
96
|
[ERR_INVALID_SOURCE]: "A spec's source is not one of User, Inferred, Sources, Documentation.",
|
|
89
97
|
[ERR_INVALID_PRIORITY]: "A spec's priority is not one of Must, Should, Could, Wont.",
|
|
90
98
|
[ERR_INVALID_VERIFICATION]: "A spec's verification is not one of Test, Analysis, Inspection, Demo.",
|
|
91
99
|
[ERR_INVALID_SPEC_FIELD]: "A spec item carries a field that is not part of the spec schema.",
|
|
92
100
|
[ERR_MISSING_REQUIRED_FIELD]: "A spec item is missing a required field.",
|
|
101
|
+
[ERR_INVALID_EARS]: "An acceptance criterion declares a pattern that is not one of ubiquitous, event, state, optional, unwanted.",
|
|
102
|
+
[ERR_DUPLICATE_CRITERION_ID]: "Two acceptance criteria within one spec unit carry the same id.",
|
|
93
103
|
[ERR_UNKNOWN_DEPENDENCY]: "A depends_on or related reference points to an id that does not exist in this document.",
|
|
94
104
|
[ERR_DEPENDENCY_CYCLE]: "A depends_on reference would create a cycle.",
|
|
95
105
|
[ERR_SIZE_LIMIT_EXCEEDED]: "A configured size limit was exceeded.",
|
|
96
|
-
[
|
|
106
|
+
[ERR_ID_TYPE_MISMATCH]: "A spec's type does not agree with the prefix of its own id.",
|
|
97
107
|
[ERR_TARGET_NOT_FOUND]: "A target spec id does not exist in this document.",
|
|
98
108
|
[ERR_INVALID_IMPLEMENTATION]: "The implementation value is not one of the allowed values.",
|
|
99
109
|
[ERR_MISSING_IMPLEMENTATION]: "No implementation value was supplied.",
|
|
@@ -106,6 +116,8 @@ export const TEMPLATES = {
|
|
|
106
116
|
[ERR_INVALID_FORMAT]: "The requested render format is not supported.",
|
|
107
117
|
[ERR_SOURCE_NOT_FOUND]: "A migration source path does not exist.",
|
|
108
118
|
[ERR_MIGRATE_PARSE_ERROR]: "A migration source contained no parseable spec blocks.",
|
|
119
|
+
[ERR_MISSING_SYSTEM]: "Creating a document requires a system name.",
|
|
120
|
+
[ERR_SYSTEM_MISMATCH]: "The supplied system name does not match the one already stored in this document.",
|
|
109
121
|
};
|
|
110
122
|
/** Returns the generic template for a code, or the code itself if it has no authored template. */
|
|
111
123
|
export function describeError(code) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/commands/specs/errors.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,8FAA8F;AAC9F,iGAAiG;AACjG,6FAA6F;AAC7F,yFAAyF;AACzF,4CAA4C;AAE5C,kEAAkE;AAClE,MAAM,CAAC,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AACrD,mFAAmF;AACnF,MAAM,CAAC,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AAC/D,gEAAgE;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC/C,uDAAuD;AACvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC/C,qEAAqE;AACrE,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC;AAC3C,iFAAiF;AACjF,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC/C,oFAAoF;AACpF,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AACzD,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/commands/specs/errors.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,8FAA8F;AAC9F,iGAAiG;AACjG,6FAA6F;AAC7F,yFAAyF;AACzF,4CAA4C;AAE5C,kEAAkE;AAClE,MAAM,CAAC,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AACrD,mFAAmF;AACnF,MAAM,CAAC,MAAM,wBAAwB,GAAG,sBAAsB,CAAC;AAC/D,gEAAgE;AAChE,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAC/C,uDAAuD;AACvD,MAAM,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