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.
Files changed (84) hide show
  1. package/dist/commands/plan/core.d.ts +1 -1
  2. package/dist/commands/plan/core.d.ts.map +1 -1
  3. package/dist/commands/plan/core.js +4 -3
  4. package/dist/commands/plan/core.js.map +1 -1
  5. package/dist/commands/specs/add.d.ts +1 -1
  6. package/dist/commands/specs/add.d.ts.map +1 -1
  7. package/dist/commands/specs/add.js +39 -11
  8. package/dist/commands/specs/add.js.map +1 -1
  9. package/dist/commands/specs/core.d.ts +100 -22
  10. package/dist/commands/specs/core.d.ts.map +1 -1
  11. package/dist/commands/specs/core.js +173 -30
  12. package/dist/commands/specs/core.js.map +1 -1
  13. package/dist/commands/specs/errors.d.ts +13 -5
  14. package/dist/commands/specs/errors.d.ts.map +1 -1
  15. package/dist/commands/specs/errors.js +19 -7
  16. package/dist/commands/specs/errors.js.map +1 -1
  17. package/dist/commands/specs/field-guide.d.ts +3 -0
  18. package/dist/commands/specs/field-guide.d.ts.map +1 -0
  19. package/dist/commands/specs/field-guide.js +243 -0
  20. package/dist/commands/specs/field-guide.js.map +1 -0
  21. package/dist/commands/specs/help-content.d.ts +15 -0
  22. package/dist/commands/specs/help-content.d.ts.map +1 -1
  23. package/dist/commands/specs/help-content.js +99 -35
  24. package/dist/commands/specs/help-content.js.map +1 -1
  25. package/dist/commands/specs/index.d.ts.map +1 -1
  26. package/dist/commands/specs/index.js +9 -5
  27. package/dist/commands/specs/index.js.map +1 -1
  28. package/dist/commands/specs/info.d.ts.map +1 -1
  29. package/dist/commands/specs/info.js +1 -1
  30. package/dist/commands/specs/info.js.map +1 -1
  31. package/dist/commands/specs/markup-grammar.d.ts +56 -0
  32. package/dist/commands/specs/markup-grammar.d.ts.map +1 -0
  33. package/dist/commands/specs/markup-grammar.js +99 -0
  34. package/dist/commands/specs/markup-grammar.js.map +1 -0
  35. package/dist/commands/specs/migrate.d.ts +1 -1
  36. package/dist/commands/specs/migrate.d.ts.map +1 -1
  37. package/dist/commands/specs/migrate.js +36 -19
  38. package/dist/commands/specs/migrate.js.map +1 -1
  39. package/dist/commands/specs/output.d.ts +32 -11
  40. package/dist/commands/specs/output.d.ts.map +1 -1
  41. package/dist/commands/specs/output.js +2 -2
  42. package/dist/commands/specs/output.js.map +1 -1
  43. package/dist/commands/specs/purge.d.ts.map +1 -1
  44. package/dist/commands/specs/purge.js +8 -0
  45. package/dist/commands/specs/purge.js.map +1 -1
  46. package/dist/commands/specs/query-filter.d.ts +1 -1
  47. package/dist/commands/specs/query-filter.d.ts.map +1 -1
  48. package/dist/commands/specs/query-filter.js +30 -0
  49. package/dist/commands/specs/query-filter.js.map +1 -1
  50. package/dist/commands/specs/render.d.ts +4 -2
  51. package/dist/commands/specs/render.d.ts.map +1 -1
  52. package/dist/commands/specs/render.js +184 -18
  53. package/dist/commands/specs/render.js.map +1 -1
  54. package/dist/commands/specs/req-parser.d.ts +43 -42
  55. package/dist/commands/specs/req-parser.d.ts.map +1 -1
  56. package/dist/commands/specs/req-parser.js +225 -223
  57. package/dist/commands/specs/req-parser.js.map +1 -1
  58. package/dist/commands/specs/rubric.d.ts +35 -5
  59. package/dist/commands/specs/rubric.d.ts.map +1 -1
  60. package/dist/commands/specs/rubric.js +120 -28
  61. package/dist/commands/specs/rubric.js.map +1 -1
  62. package/dist/commands/specs/schemas.d.ts.map +1 -1
  63. package/dist/commands/specs/schemas.js +69 -32
  64. package/dist/commands/specs/schemas.js.map +1 -1
  65. package/dist/commands/specs/update.d.ts.map +1 -1
  66. package/dist/commands/specs/update.js +45 -20
  67. package/dist/commands/specs/update.js.map +1 -1
  68. package/dist/commands/specs/validate.d.ts.map +1 -1
  69. package/dist/commands/specs/validate.js +83 -25
  70. package/dist/commands/specs/validate.js.map +1 -1
  71. package/dist/commands/specs/write.d.ts +9 -4
  72. package/dist/commands/specs/write.d.ts.map +1 -1
  73. package/dist/commands/specs/write.js +23 -6
  74. package/dist/commands/specs/write.js.map +1 -1
  75. package/dist/frontends/cli.d.ts.map +1 -1
  76. package/dist/frontends/cli.js +15 -3
  77. package/dist/frontends/cli.js.map +1 -1
  78. package/dist/registry/types.d.ts +2 -0
  79. package/dist/registry/types.d.ts.map +1 -1
  80. package/dist/shared/constants.d.ts +2 -1
  81. package/dist/shared/constants.d.ts.map +1 -1
  82. package/dist/shared/constants.js +2 -1
  83. package/dist/shared/constants.js.map +1 -1
  84. package/package.json +9 -7
@@ -0,0 +1,243 @@
1
+ // Implements FR-SPECS-0008 (per-field caller guidance). Data only — one entry per field of the
2
+ // spec unit and of the acceptance criterion, in schema order. Two surfaces read this array and
3
+ // neither restates it: schemas.ts fills each property description by lookup, and help-content.ts
4
+ // emits the array as its field_guide section, so the two cannot diverge.
5
+ //
6
+ // This module is a leaf: it imports the SpecFieldGuide type and nothing else. help-content.ts
7
+ // already imports schemas.ts, so guidance defined in either of those would close a module cycle.
8
+ //
9
+ // Every guidance line is directive instruction addressed to the caller, states what the value must
10
+ // contain rather than what the field is named, and names no notation, no format, no identifier of
11
+ // a requirement or a ticket, no internal location, and no design reasoning.
12
+ //
13
+ // Criterion entries are qualified with the path the caller addresses them by (`acceptance.<name>`)
14
+ // because a criterion's `id` would otherwise collide with the unit's `id` in a flat lookup.
15
+ export const SPEC_FIELD_GUIDE = [
16
+ // --- spec unit -----------------------------------------------------------
17
+ {
18
+ field: "id",
19
+ type: "string",
20
+ required: true,
21
+ default: "none",
22
+ guidance: "Give the identifier you chose for this unit: its type prefix, the area mnemonic in capitals, and a four-digit number, joined by hyphens. Choose a number no other unit in that area already holds.",
23
+ },
24
+ {
25
+ field: "type",
26
+ type: "FR | NFR | INT | DATA",
27
+ required: true,
28
+ default: "none",
29
+ guidance: "State the kind of requirement this is: functional, non-functional, interface, or data entity. It must agree with the prefix of the identifier you chose.",
30
+ },
31
+ {
32
+ field: "level",
33
+ type: "System | Subsystem | Component",
34
+ required: false,
35
+ default: "System",
36
+ guidance: "State the depth at which the rule binds: the whole system, one subsystem, or one component.",
37
+ },
38
+ {
39
+ field: "subsystem",
40
+ type: "string",
41
+ required: false,
42
+ default: "empty string",
43
+ guidance: "Name the subsystem the rule concerns. Fill it whenever you know it, not only when the level demands it, and leave it empty only to say you do not know it. A rule binding at subsystem or component depth needs it.",
44
+ },
45
+ {
46
+ field: "component",
47
+ type: "string",
48
+ required: false,
49
+ default: "empty string",
50
+ guidance: "Name the component the rule concerns. Fill it whenever you know it, not only when the level demands it, and leave it empty only to say you do not know it. A rule binding at component depth needs it, and needs its subsystem named too.",
51
+ },
52
+ {
53
+ field: "ticket_id",
54
+ type: "string",
55
+ required: false,
56
+ default: "empty string",
57
+ guidance: "Give the reference this unit carries in your issue tracker, when the work has one.",
58
+ },
59
+ {
60
+ field: "classification",
61
+ type: "string",
62
+ required: false,
63
+ default: "empty string",
64
+ guidance: "State whether this unit expresses a business rule or a technical one.",
65
+ },
66
+ {
67
+ field: "title",
68
+ type: "string",
69
+ required: true,
70
+ default: "none",
71
+ guidance: "Name the single outcome this unit governs, as a noun phrase, and make it unique within its area.",
72
+ },
73
+ {
74
+ field: "statement",
75
+ type: "string",
76
+ required: true,
77
+ default: "none",
78
+ guidance: "Write the governing rule: what shall hold, which cases it reaches, and which cases it explicitly excludes. Say shall for mandatory, should for preferred, may for optional. Do not restate the criteria — they sample the rule, this states it. A non-functional unit must additionally carry a quantified metric, its threshold, and the condition it is measured under.",
79
+ },
80
+ {
81
+ field: "rationale",
82
+ type: "string",
83
+ required: false,
84
+ default: "empty string",
85
+ guidance: "Explain why this shape and not another: the basis for each threshold, and the alternatives you considered and rejected.",
86
+ },
87
+ {
88
+ field: "evidence",
89
+ type: "string[]",
90
+ required: false,
91
+ default: "empty list",
92
+ guidance: "Give one path and line range or better symbol per source location backing a unit recovered from existing code. Leave it empty for a unit authored from intent.",
93
+ },
94
+ {
95
+ field: "source",
96
+ type: "User | Inferred | Sources | Documentation",
97
+ required: true,
98
+ default: "none",
99
+ guidance: "State where this unit came from: a person stated it, you inferred it, you recovered it from existing sources, or you took it from documentation.",
100
+ },
101
+ {
102
+ field: "priority",
103
+ type: "Must | Should | Could | Wont",
104
+ required: true,
105
+ default: "none",
106
+ guidance: "State how strongly this unit is committed to for the scope it belongs to.",
107
+ },
108
+ {
109
+ field: "status",
110
+ type: "Draft | Approved | Modified | Deprecated | Removed",
111
+ required: false,
112
+ default: "Draft",
113
+ guidance: "Do not set this — only the lifecycle operations move it. A unit entering as a draft is expected to be complete and ready for review, not parked unfinished.",
114
+ },
115
+ {
116
+ field: "approved_by",
117
+ type: "string",
118
+ required: false,
119
+ default: "empty string",
120
+ guidance: "Do not set this — it is filled with the resolved actor when the unit is approved.",
121
+ },
122
+ {
123
+ field: "changed",
124
+ type: "string",
125
+ required: false,
126
+ default: "set on every write",
127
+ guidance: "Do not set this — it is stamped with the moment of every write that touches this unit.",
128
+ },
129
+ {
130
+ field: "changed_by",
131
+ type: "string",
132
+ required: false,
133
+ default: "empty string",
134
+ guidance: "Do not set this — it is filled with the resolved actor of the last write.",
135
+ },
136
+ {
137
+ field: "verification",
138
+ type: "Test | Analysis | Inspection | Demo",
139
+ required: true,
140
+ default: "none",
141
+ guidance: "State how this unit will be shown to hold: by running a test, by analysis, by inspecting the result, or by demonstrating it.",
142
+ },
143
+ {
144
+ field: "acceptance",
145
+ type: "AcceptanceCriterion[]",
146
+ required: true,
147
+ default: "none",
148
+ guidance: "Give at least one criterion sampling the rule. Add one per case the rule must be checkable on, rather than one restating the whole rule.",
149
+ },
150
+ {
151
+ field: "depends_on",
152
+ type: "string[]",
153
+ required: false,
154
+ default: "empty list",
155
+ guidance: "List the identifiers of the units this one cannot hold without. These are directional prerequisites and must never form a cycle.",
156
+ },
157
+ {
158
+ field: "related",
159
+ type: "string[]",
160
+ required: false,
161
+ default: "empty list",
162
+ guidance: "List the identifiers of units worth reading alongside this one. These are associative and may point both ways.",
163
+ },
164
+ {
165
+ field: "implementation",
166
+ type: "NotStarted | Implemented | Planned | ToBeModified | ToBeRemoved",
167
+ required: false,
168
+ default: "NotStarted",
169
+ guidance: "Do not set this — only the operation that records implementation state moves it.",
170
+ },
171
+ {
172
+ field: "implementation_notes",
173
+ type: "string",
174
+ required: false,
175
+ default: "empty string",
176
+ guidance: "Once this unit is implemented, name the source locations that implement it. Leave it empty until then.",
177
+ },
178
+ {
179
+ field: "notes",
180
+ type: "string",
181
+ required: false,
182
+ default: "empty string",
183
+ guidance: "Once this unit is withdrawn, record the reason it was rejected. Leave it empty otherwise.",
184
+ },
185
+ // --- acceptance criterion ------------------------------------------------
186
+ {
187
+ field: "acceptance.id",
188
+ type: "string",
189
+ required: true,
190
+ default: "assigned when omitted",
191
+ guidance: "Give this criterion its identifier: the unit's own identifier, a dot, then AC and its number within that unit. Omit it and one is assigned; supply it to keep the stable target a test or a traceability row can claim.",
192
+ },
193
+ {
194
+ field: "acceptance.ears",
195
+ type: "ubiquitous | event | state | optional | unwanted",
196
+ required: true,
197
+ default: "none",
198
+ guidance: "Select the one pattern this criterion follows: it always holds, it fires on a trigger, it holds during a state, it applies where a feature is present, or it answers a fault. Your choice decides which condition word the criterion may carry.",
199
+ },
200
+ {
201
+ field: "acceptance.when",
202
+ type: "string",
203
+ required: false,
204
+ default: "omitted",
205
+ guidance: "State the trigger the response follows. Carry this word only for the event pattern.",
206
+ },
207
+ {
208
+ field: "acceptance.while",
209
+ type: "string",
210
+ required: false,
211
+ default: "omitted",
212
+ guidance: "State the state that must hold throughout. Carry this word only for the state pattern.",
213
+ },
214
+ {
215
+ field: "acceptance.where",
216
+ type: "string",
217
+ required: false,
218
+ default: "omitted",
219
+ guidance: "State the feature whose presence the rule waits on. Carry this word only for the optional pattern.",
220
+ },
221
+ {
222
+ field: "acceptance.if",
223
+ type: "string",
224
+ required: false,
225
+ default: "omitted",
226
+ guidance: "State the fault being answered. Carry this word only for the unwanted pattern.",
227
+ },
228
+ {
229
+ field: "acceptance.system",
230
+ type: "string",
231
+ required: true,
232
+ default: "none",
233
+ guidance: "Name whatever responds: an actor, or a specific system, subsystem, or component.",
234
+ },
235
+ {
236
+ field: "acceptance.shall",
237
+ type: "string",
238
+ required: true,
239
+ default: "none",
240
+ guidance: "State the outcome that follows, or the mitigation when the pattern answers a fault.",
241
+ },
242
+ ];
243
+ //# sourceMappingURL=field-guide.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-guide.js","sourceRoot":"","sources":["../../../src/commands/specs/field-guide.ts"],"names":[],"mappings":"AAAA,+FAA+F;AAC/F,+FAA+F;AAC/F,iGAAiG;AACjG,yEAAyE;AACzE,EAAE;AACF,8FAA8F;AAC9F,iGAAiG;AACjG,EAAE;AACF,mGAAmG;AACnG,kGAAkG;AAClG,4EAA4E;AAC5E,EAAE;AACF,mGAAmG;AACnG,4FAA4F;AAI5F,MAAM,CAAC,MAAM,gBAAgB,GAA8B;IACzD,4EAA4E;IAC5E;QACE,KAAK,EAAE,IAAI;QACX,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,MAAM;QACf,QAAQ,EACN,oMAAoM;KACvM;IACD;QACE,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,uBAAuB;QAC7B,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,MAAM;QACf,QAAQ,EACN,0JAA0J;KAC7J;IACD;QACE,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,gCAAgC;QACtC,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,QAAQ;QACjB,QAAQ,EAAE,6FAA6F;KACxG;IACD;QACE,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,cAAc;QACvB,QAAQ,EACN,qNAAqN;KACxN;IACD;QACE,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,cAAc;QACvB,QAAQ,EACN,2OAA2O;KAC9O;IACD;QACE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: {
6
6
  specs_file: {
7
7
  convention: string;
8
8
  note: string;
9
+ path_form: string;
10
+ };
11
+ terms: {
12
+ system: string;
13
+ subsystem: string;
14
+ component: string;
15
+ area: string;
16
+ level: string;
17
+ criterion_system: string;
9
18
  };
10
19
  concepts: {
11
20
  spec_unit: string;
21
+ statement_vs_criteria: string;
22
+ criterion_patterns: string;
23
+ criterion_ids: string;
24
+ evidence: string;
12
25
  areas: string;
13
26
  status_lifecycle: string;
14
27
  depends_on_vs_related: string;
@@ -206,10 +219,12 @@ export declare const specsHelpContent: {
206
219
  };
207
220
  })[];
208
221
  schemas: Record<string, unknown>;
222
+ field_guide: readonly import("./output.js").SpecFieldGuide[];
209
223
  limits: {
210
224
  max_specs: number;
211
225
  max_dependencies_per_spec: number;
212
226
  max_acceptance_per_spec: number;
227
+ max_evidence_per_spec: number;
213
228
  max_string_length: number;
214
229
  max_name_length: number;
215
230
  max_batch_size: number;
@@ -1 +1 @@
1
- {"version":3,"file":"help-content.d.ts","sourceRoot":"","sources":["../../../src/commands/specs/help-content.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,UAAU,EAAE,MAAM,EAa9B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuU5B,CAAC"}
1
+ {"version":3,"file":"help-content.d.ts","sourceRoot":"","sources":["../../../src/commands/specs/help-content.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,UAAU,EAAE,MAAM,EAmB9B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwY5B,CAAC"}
@@ -1,6 +1,9 @@
1
- // Implements FR-SPECS-0060 (specs help content), FR-SPECS-0061 (notes), FR-SPECS-0043/FR-ARCH-0016
2
- // (no internal-traceability leakage in any authored string below — no requirement id, ticket id,
3
- // internal path, internal module name, or authoring rationale). Mirrors commands/plan/help-content.ts.
1
+ // Implements FR-SPECS-0060 (specs help content), FR-SPECS-0061 (notes), FR-SPECS-0002 (system as
2
+ // the document's scope), FR-SPECS-0004 (recommended quality-characteristic codes), FR-SPECS-0007
3
+ // (limits), FR-SPECS-0008 (field guidance), FR-SPECS-0012 (query keys), FR-SPECS-0023 (render
4
+ // formats), FR-SPECS-0071 (documented path form), FR-SPECS-0043/FR-ARCH-0016 (no internal-
5
+ // traceability leakage in any authored string below — no requirement id, ticket id, internal path,
6
+ // internal module name, or authoring rationale). Mirrors commands/plan/help-content.ts.
4
7
  //
5
8
  // Resolution (ambiguity — the leakage rule (FR-ARCH-0016/FR-SPECS-0043) forbids requirement
6
9
  // identifiers in authored strings, yet FR-SPECS-0060 separately requires a "real-form example
@@ -10,42 +13,89 @@
10
13
  // project's own requirement ids (FR-SPECS-*, FR-ARCH-*, FR-PLAN-*, FR-CLI-*, FR-HELP-*) — it
11
14
  // demonstrates the caller's own id grammar (the exact concern FR-SPECS-0043 carves out) rather
12
15
  // than referencing any Rosetta-internal traceability id.
13
- import { SPECS_MAX_SPECS, SPECS_MAX_DEPENDENCIES_PER_SPEC, SPECS_MAX_ACCEPTANCE_PER_SPEC, SPECS_MAX_STRING_LENGTH, SPECS_MAX_NAME_LENGTH, SPECS_MAX_BATCH_SIZE, } from "../../shared/constants.js";
16
+ 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, SPECS_MAX_BATCH_SIZE, } from "../../shared/constants.js";
14
17
  import { specsSchemasDict } from "./schemas.js";
15
- // FR-SPECS-0061 — the 12 caller-facing behaviors, each standalone directive guidance
18
+ // FR-SPECS-0008 — the field_guide section is the guidance array itself, not a copy of it: the same
19
+ // array also fills every schema property description, so the two surfaces cannot drift apart.
20
+ import { SPEC_FIELD_GUIDE } from "./field-guide.js";
21
+ // FR-SPECS-0061 — the caller-facing behaviors, each standalone directive guidance
16
22
  export const specsNotes = [
17
23
  "the JSON-bearing argument (data) is passed as an inline JSON string, not a file path — a single object or an array (batch)",
18
24
  "ids are caller-provided, never server-minted; run info first to get the suggested next id per area before add",
25
+ "a non-functional id should use one of the nine recommended quality-characteristic codes — PERF, SEC, REL, USE, MAIN, PORT, COMP, FUNC, SAFE — which are pre-registered in every document and need no registration; any other registered area is still accepted and is only reported as a recommendation not followed",
26
+ "the statement carries the rule: what shall hold, the cases it covers, and the cases it excludes — write it as the governing rule, not as a one-trigger sentence, and do not repeat the criteria in it",
27
+ "each criterion names exactly one pattern (ubiquitous, event, state, optional, unwanted), carries only that pattern's condition word (none, when, while, where, if respectively), and always names a responder and an outcome",
28
+ "criterion sub-ids read <spec-id>.AC<n> and are assigned automatically when omitted; supply one when you want to keep the stable target a test or a traceability row claims",
29
+ "evidence lists one path and line range or better symbol per source location and is expected on a spec derived from existing code; a spec authored from intent leaves it empty",
30
+ "render returns markup as well as markdown and plain text, so a document held here can be published back out and read back in by migrate",
19
31
  "a new spec always enters as Draft/NotStarted; any status, approved_by, or implementation supplied on add or update is silently dropped",
20
32
  "guarded fields (status, approved_by, implementation, changed_by) change only through the lifecycle ops (approve, deprecate, restore, reopen, delete, implemented) and the actor resolver — never through add or update directly",
21
33
  "editing an Approved spec's statement or acceptance moves it to Modified and clears its approval; editing an Implemented spec's contract sets its implementation to ToBeModified",
22
34
  "approve runs validation first and refuses on any error-level finding; fix the reported errors, then approve again",
23
- "delete is a reversible soft-delete (status becomes Removed; restore undoes it); purge permanently removes a spec and requires --force plus no remaining references from other specs",
35
+ "delete is a reversible soft-delete (status becomes Removed; restore undoes it); purge permanently removes a spec and requires --force plus no remaining references from other specs — and a purged id stays taken forever, so no later spec may reuse it",
24
36
  "writes are all-or-nothing — a batch with any invalid item writes nothing and the error names every rejected item",
25
37
  "query grammar: key:value terms; space between terms means AND; a comma inside one term's value list means OR; a leading - negates a term; a bare word searches title and statement; Removed specs are excluded unless include_removed:true or an explicit status:Removed term is present",
26
38
  "timestamps are stored in UTC and shown in local time by render and info; get and query return the stored UTC value verbatim",
27
- "migrate is a one-time import of legacy markdown spec blocks into the JSON document",
39
+ "migrate imports requirement units already written in the shape render emits as markup; a unit in any other shape is skipped and reported with the reason, and the rest of that source still imports",
28
40
  "every error response is a single human-readable string that aggregates every problem at once — a batch or approval failure names every failing item in one message rather than stopping at the first",
29
41
  ];
30
42
  export const specsHelpContent = {
31
43
  name: "specs",
32
44
  brief: "Manage requirements/specs (add, query, validate, approve, and more)",
33
- description: "The specs command manages a component's requirements as spec units stored in one JSON document. " +
45
+ description: "The specs command manages a system's requirements as spec units stored in one JSON document. " +
34
46
  "Write subcommands return a shared SpecWriteResult or SpecLifecycleResult snapshot of the affected specs.",
35
- // FR-SPECS-0060 — specs_file convention
47
+ // FR-SPECS-0060 — specs_file convention. FR-SPECS-0071 — the documented path form, recommended
48
+ // and never enforced: any caller-supplied path is accepted.
36
49
  specs_file: {
37
- convention: "one JSON document per component",
38
- note: "specs_file is the path to that component's specs document",
50
+ convention: "one JSON document per system",
51
+ note: "specs_file is the path to that system's specs document, and it is supplied on every call",
52
+ path_form: "docs/REQUIREMENTS/<system>/specs.json is the recommended path form — a recommendation only, " +
53
+ "not enforced; any path you supply is accepted, and its parent directories are created on the first write",
54
+ },
55
+ // FR-SPECS-0060 AC7 — the vocabulary the rest of the payload is written in. Every definition is
56
+ // stated for any caller's own solution, never for the project this command happens to live in.
57
+ terms: {
58
+ system: "A solution with its own boundaries, serving one business reason, which may contain many microservices, " +
59
+ "backends, and frontends, and whose requirements one specs document holds. A large solution is decomposed " +
60
+ "into several systems, one per business reason — each with its own document.",
61
+ subsystem: "A named division inside a system, carrying its own contracts, delivered as part of that system.",
62
+ component: "A part inside a system or a subsystem.",
63
+ area: "A cross-cutting concern of a system, spanning subsystems and components rather than sitting inside one. " +
64
+ "It is carried as the second segment of every id.",
65
+ level: "The depth at which a requirement binds — System, Subsystem, or Component — independent of the area it belongs to.",
66
+ criterion_system: "Inside a criterion, system names whatever responds: an actor, or a specific system, subsystem, or component.",
39
67
  },
40
68
  // FR-SPECS-0060 — core concepts
41
69
  concepts: {
42
- spec_unit: "A spec is one requirement: id, type (FR|NFR|INT|DATA), level, title, statement, rationale, source, priority, " +
43
- "status, approved_by, changed, changed_by, verification, acceptance (Given/When/Then criteria), depends_on, related, " +
44
- "implementation, implementation_notes, notes.",
45
- areas: "An id has the form <PREFIX>-<AREA>-<NNNN> (e.g. FR-CHK-0001). AREA groups related specs and is registered in the " +
46
- "document the first time it appears in an add or migrate call — it does not need to be declared separately.",
70
+ spec_unit: "A spec is one requirement: id, type (FR|NFR|INT|DATA), level, subsystem, component, ticket_id, classification, " +
71
+ "title, statement, rationale, evidence, source, priority, status, approved_by, changed, changed_by, verification, " +
72
+ "acceptance (criteria), depends_on, related, implementation, implementation_notes, notes.",
73
+ statement_vs_criteria: "The statement carries the governing rule: what shall hold, which cases it reaches, and which cases it " +
74
+ "explicitly excludes. It is not written as a single-trigger sentence and it does not repeat the criteria. " +
75
+ "The criteria sample that rule — add one per case the rule must be checkable on, rather than one restating " +
76
+ "the whole rule.",
77
+ criterion_patterns: "Every criterion names exactly one pattern in ears and carries only that pattern's condition word: " +
78
+ "ubiquitous takes no condition word (the criterion always holds); event takes when (the response follows a " +
79
+ "trigger); state takes while (the response holds throughout a state); optional takes where (the response " +
80
+ "applies where a feature is present); unwanted takes if (the response answers a fault). Whichever pattern it " +
81
+ "uses, every criterion also names its responder in system and its outcome in shall.",
82
+ criterion_ids: "Each criterion carries its own sub-id reading <spec-id>.AC<n> (e.g. FR-CHK-0001.AC1). Omit it and one is " +
83
+ "assigned in order; supply it to keep the stable target a test or a traceability row claims. A supplied " +
84
+ "sub-id is never renumbered, and two criteria of the same spec may not share one.",
85
+ evidence: "evidence lists the source locations backing a unit recovered from existing code — one path and line range or better symbol " +
86
+ "per location. A unit derived from existing code is expected to carry it; a unit authored from intent leaves " +
87
+ "it empty.",
88
+ areas: "An id has the form <PREFIX>-<AREA>-<NNNN> (e.g. FR-CHK-0001). AREA names the cross-cutting concern the spec " +
89
+ "belongs to and is registered in the document the first time it appears in an add or migrate call — it does " +
90
+ "not need to be declared separately. Nine quality-characteristic codes are pre-registered in every document " +
91
+ "and need no registration: PERF (performance efficiency), SEC (security), REL (reliability), USE (usability), " +
92
+ "MAIN (maintainability), PORT (portability), COMP (compatibility), FUNC (functional suitability), SAFE " +
93
+ "(safety). A non-functional id should use one of them. They are recommended, not mandatory: any registered " +
94
+ "area is accepted on any type, and a non-functional spec in an area outside the nine is written normally and " +
95
+ "only reported by validate as a recommendation not followed.",
47
96
  status_lifecycle: "Statuses: Draft, Approved, Modified, Deprecated, Removed. " +
48
- "add creates a spec as Draft. " +
97
+ "add creates a spec as Draft — Draft means the unit is complete and ready for review, not a scratchpad for " +
98
+ "unfinished work. " +
49
99
  "approve moves Draft or Modified to Approved (idempotent if already Approved); refuses if the spec is Removed or Deprecated. " +
50
100
  "A normative edit (statement or acceptance) to an Approved spec via update auto-moves it to Modified and clears approval. " +
51
101
  "deprecate moves Draft, Modified, or Approved to Deprecated (idempotent); refuses if Removed. " +
@@ -76,7 +126,7 @@ export const specsHelpContent = {
76
126
  "to Draft/''/NotStarted. The whole batch is rejected together if any item is invalid. Returns SpecWriteResult.",
77
127
  examples: {
78
128
  tip: "rosettify specs add [specs_file] '[spec-json-object-or-array]'",
79
- real: "rosettify specs add specs/checkout/specs.json '{\"id\":\"FR-CHK-0001\",\"type\":\"FR\",\"title\":\"Cart total\",\"statement\":\"When the cart changes, the system shall recompute the total.\",\"source\":\"User\",\"priority\":\"Must\",\"verification\":\"Test\",\"acceptance\":[{\"given\":\"an item is added\",\"when\":\"the cart updates\",\"then\":\"the total reflects the new item\"}]}'",
129
+ real: "rosettify specs add specs/checkout/specs.json '{\"id\":\"FR-CHK-0001\",\"type\":\"FR\",\"level\":\"System\",\"title\":\"Cart total\",\"statement\":\"The cart total shall equal the sum of its line totals after every change to the cart contents, including a removal; it does not cover taxes or shipping.\",\"source\":\"User\",\"priority\":\"Must\",\"verification\":\"Test\",\"acceptance\":[{\"id\":\"FR-CHK-0001.AC1\",\"ears\":\"event\",\"when\":\"an item is added to the cart\",\"system\":\"the checkout system\",\"shall\":\"recompute the total to include the new item\"},{\"ears\":\"unwanted\",\"if\":\"a line total is unavailable\",\"system\":\"the checkout system\",\"shall\":\"leave the previous total in place and report the failure\"}]}'",
80
130
  },
81
131
  },
82
132
  {
@@ -220,10 +270,13 @@ export const specsHelpContent = {
220
270
  usage: "rosettify specs validate <specs_file> [query]",
221
271
  args: { query: "optional scope filter (see query_notation); omit to validate every non-Removed spec" },
222
272
  required: "specs_file is required; query is optional",
223
- description: "Read-only. Structural findings (schema completeness, id format, area registration, uniqueness, reference " +
224
- "integrity, acyclic depends_on, size limits, acceptance completeness) are severity error and block approve; " +
225
- "phrasing findings (EARS pattern, measurable NFR, modal verbs, duplicate statements) are severity warning, " +
226
- "advisory only. Returns SpecValidateResult.",
273
+ description: "Read-only, and never changes the document. Structural findings (schema completeness, id and criterion-id " +
274
+ "format, enum values including level, area registration, uniqueness, reference integrity, acyclic " +
275
+ "depends_on, one condition word per criterion, acceptance completeness, a missing subsystem or component " +
276
+ "for the level claimed, size limits) are severity error and block approve; advisory findings (an " +
277
+ "unquantified non-functional statement, missing modal verbs, evidence missing on a spec taken from existing " +
278
+ "sources, a non-functional area outside the nine recommended codes, duplicate statements, and no location " +
279
+ "named at all on a system-level spec) are severity warning, advisory only. Returns SpecValidateResult.",
227
280
  examples: {
228
281
  tip: "rosettify specs validate [specs_file] '[optional-scope-query]'",
229
282
  real: "rosettify specs validate specs/checkout/specs.json 'area:CHK'",
@@ -248,16 +301,18 @@ export const specsHelpContent = {
248
301
  },
249
302
  {
250
303
  name: "render",
251
- brief: "Render a human-readable document (markdown or text)",
304
+ brief: "Render the scoped specs as markdown, plain text, or markup",
252
305
  usage: "rosettify specs render <specs_file> [query] [--format <fmt>]",
253
306
  args: {
254
307
  query: "optional scope filter (see query_notation); omit to render every non-Removed spec",
255
- "--format": "markdown (default) or text",
308
+ "--format": "markdown (default) | text | xml",
256
309
  },
257
310
  required: "specs_file is required; query and --format are optional",
258
- description: "Read-only; renders the scoped specs grouped by area, with local-time timestamps. No file is written. Returns SpecRenderResult.",
311
+ description: "Read-only; renders the scoped specs grouped by area, with local-time timestamps. markdown and text are " +
312
+ "for reading; xml returns the markup form of each unit, which migrate reads back, so a document held here " +
313
+ "can be published back out. No file is written. Returns SpecRenderResult.",
259
314
  examples: {
260
- tip: "rosettify specs render [specs_file] '[optional-scope-query]' --format [markdown|text]",
315
+ tip: "rosettify specs render [specs_file] '[optional-scope-query]' --format [markdown|text|xml]",
261
316
  real: "rosettify specs render specs/checkout/specs.json 'status:Approved'",
262
317
  },
263
318
  },
@@ -277,27 +332,33 @@ export const specsHelpContent = {
277
332
  },
278
333
  {
279
334
  name: "migrate",
280
- brief: "One-time import of legacy markdown spec blocks",
335
+ brief: "Import requirement units written in the markup form render emits",
281
336
  usage: "rosettify specs migrate <specs_file> <sources...>",
282
- args: { sources: "one or more legacy markdown source file paths" },
337
+ args: { sources: "one or more source file paths holding requirement units in the markup form render emits" },
283
338
  required: "specs_file and at least one source are required",
284
- description: "Creates the document if it does not exist yet. Parses legacy spec blocks out of each source and appends them. " +
285
- "A source that does not exist or contains no parseable blocks is excluded and reported in skipped; a per-block " +
286
- "issue (including a missing id) is reported in warnings without dropping the rest of that source. " +
287
- "Returns SpecMigrateResult.",
339
+ description: "Creates the document if it does not exist yet. Reads every requirement unit written in the shape render " +
340
+ "emits out of each source and appends it. A source that does not exist or holds no such unit is excluded " +
341
+ "and reported in skipped; a unit in any other shape is skipped with its reason, sharing that source, " +
342
+ "without dropping the rest of it, and a per-unit issue that did not stop the import is reported in " +
343
+ "warnings. Returns SpecMigrateResult.",
288
344
  examples: {
289
- tip: "rosettify specs migrate [specs_file] [legacy-source-1.md] [legacy-source-2.md ...]",
290
- real: "rosettify specs migrate specs/checkout/specs.json docs/legacy/checkout-requirements.md",
345
+ tip: "rosettify specs migrate [specs_file] [source-1.md] [source-2.md ...]",
346
+ real: "rosettify specs migrate specs/checkout/specs.json specs/checkout/incoming-requirements.md",
291
347
  },
292
348
  },
293
349
  ],
294
350
  // FR-HELP-0002 — flat schemas dict sourced from per-subcommand declarations (not hand-authored)
295
351
  schemas: specsSchemasDict,
352
+ // FR-SPECS-0008 / FR-SPECS-0060 — per-field guidance, emitted from the one guidance array the
353
+ // schema descriptions are also built from. Criterion entries are qualified `acceptance.<name>`
354
+ // because a criterion's id would otherwise collide with the unit's id in a flat key space.
355
+ field_guide: SPEC_FIELD_GUIDE,
296
356
  // FR-SPECS-0007 / FR-SPECS-0060 — limits
297
357
  limits: {
298
358
  max_specs: SPECS_MAX_SPECS,
299
359
  max_dependencies_per_spec: SPECS_MAX_DEPENDENCIES_PER_SPEC,
300
360
  max_acceptance_per_spec: SPECS_MAX_ACCEPTANCE_PER_SPEC,
361
+ max_evidence_per_spec: SPECS_MAX_EVIDENCE_PER_SPEC,
301
362
  max_string_length: SPECS_MAX_STRING_LENGTH,
302
363
  max_name_length: SPECS_MAX_NAME_LENGTH,
303
364
  max_batch_size: SPECS_MAX_BATCH_SIZE,
@@ -305,8 +366,11 @@ export const specsHelpContent = {
305
366
  // FR-SPECS-0012 / FR-SPECS-0060 — query grammar
306
367
  query_notation: {
307
368
  grammar: "query := term ( term)*; term := [\"-\"] (key:value[,value...] | free-text)",
308
- keys: "type, area, status, priority, implementation, verification, source, depends_on, related, title, statement",
369
+ keys: "type, area, status, priority, implementation, verification, source, depends_on, related, title, statement, " +
370
+ "level, subsystem, component, ears, evidence",
309
371
  semantics: "Terms AND-combine. Within one field, comma-separated values OR-combine. A leading - negates the whole term. " +
372
+ "ears matches a spec when any one of its criteria carries that pattern. evidence takes only present or " +
373
+ "absent — any other value is rejected. " +
310
374
  "A bare (non key:value) term is free text, matched case-insensitively as a substring of title or statement. " +
311
375
  "Quote a value to force an exact case-sensitive match instead of a case-insensitive substring/equality match, " +
312
376
  "or to include whitespace or a colon in free text. The pseudo-key include_removed:true includes Removed specs " +
@@ -1 +1 @@
1
- {"version":3,"file":"help-content.js","sourceRoot":"","sources":["../../../src/commands/specs/help-content.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,iGAAiG;AACjG,uGAAuG;AACvG,EAAE;AACF,4FAA4F;AAC5F,8FAA8F;AAC9F,gGAAgG;AAChG,+FAA+F;AAC/F,2FAA2F;AAC3F,6FAA6F;AAC7F,+FAA+F;AAC/F,yDAAyD;AAEzD,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,qFAAqF;AACrF,MAAM,CAAC,MAAM,UAAU,GAAa;IAClC,4HAA4H;IAC5H,+GAA+G;IAC/G,wIAAwI;IACxI,iOAAiO;IACjO,iLAAiL;IACjL,mHAAmH;IACnH,qLAAqL;IACrL,kHAAkH;IAClH,0RAA0R;IAC1R,6HAA6H;IAC7H,oFAAoF;IACpF,sMAAsM;CACvM,CAAC;AAEF,MAAM,CAAC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C"}
1
+ {"version":3,"file":"help-content.js","sourceRoot":"","sources":["../../../src/commands/specs/help-content.ts"],"names":[],"mappings":"AAAA,iGAAiG;AACjG,iGAAiG;AACjG,8FAA8F;AAC9F,2FAA2F;AAC3F,mGAAmG;AACnG,wFAAwF;AACxF,EAAE;AACF,4FAA4F;AAC5F,8FAA8F;AAC9F,gGAAgG;AAChG,+FAA+F;AAC/F,2FAA2F;AAC3F,6FAA6F;AAC7F,+FAA+F;AAC/F,yDAAyD;AAEzD,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,6BAA6B,EAC7B,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,mGAAmG;AACnG,8FAA8F;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,kFAAkF;AAClF,MAAM,CAAC,MAAM,UAAU,GAAa;IAClC,4HAA4H;IAC5H,+GAA+G;IAC/G,sTAAsT;IACtT,uMAAuM;IACvM,8NAA8N;IAC9N,4KAA4K;IAC5K,+KAA+K;IAC/K,yIAAyI;IACzI,wIAAwI;IACxI,iOAAiO;IACjO,iLAAiL;IACjL,mHAAmH;IACnH,0PAA0P;IAC1P,kHAAkH;IAClH,0RAA0R;IAC1R,6HAA6H;IAC7H,qMAAqM;IACrM,sMAAsM;CACvM,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,qEAAqE;IAC5E,WAAW,EACT,+FAA+F;QAC/F,0GAA0G;IAE5G,+FAA+F;IAC/F,4DAA4D;IAC5D,UAAU,EAAE;QACV,UAAU,EAAE,8BAA8B;QAC1C,IAAI,EAAE,0FAA0F;QAChG,SAAS,EACP,8FAA8F;YAC9F,0GAA0G;KAC7G;IAED,gGAAgG;IAChG,+FAA+F;IAC/F,KAAK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SAAS,EAAE,eAAe;QAC1B,yBAAyB,EAAE,+BAA+B;QAC1D,uBAAuB,EAAE,6BAA6B;QACtD,qBAAqB,EAAE,2BAA2B;QAClD,iBAAiB,EAAE,uBAAuB;QAC1C,eAAe,EAAE,qBAAqB;QACtC,cAAc,EAAE,oBAAoB;KACrC;IAED,gDAAgD;IAChD,cAAc,EAAE;QACd,OAAO,EAAE,4EAA4E;QACrF,IAAI,EACF,6GAA6G;YAC7G,6CAA6C;QAC/C,SAAS,EACP,8GAA8G;YAC9G,wGAAwG;YACxG,wCAAwC;YACxC,6GAA6G;YAC7G,+GAA+G;YAC/G,+GAA+G;YAC/G,0GAA0G;YAC1G,mFAAmF;QACrF,OAAO,EAAE,6DAA6D;KACvE;IAED,8BAA8B;IAC9B,KAAK,EAAE,UAAU;IAEjB,oCAAoC;IACpC,iBAAiB,EACf,kGAAkG;QAClG,4EAA4E;QAC5E,2DAA2D;QAC3D,gHAAgH;QAChH,kFAAkF;QAClF,uGAAuG;QACvG,8DAA8D;CACjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/specs/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAe,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AA2M3C,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,SAAS,EAAE,OAAO,CAmFpD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/specs/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAe,MAAM,yBAAyB,CAAC;AAEpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AA4M3C,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,SAAS,EAAE,OAAO,CAwFpD,CAAC"}
@@ -52,7 +52,7 @@ function normalizeBatch(x) {
52
52
  return [x];
53
53
  }
54
54
  async function runSpecs(input) {
55
- const { subcommand, specs_file: specsFile, data, ids, query, force, format, additional_paths: additionalPaths, actor, sources, include_removed: includeRemoved, } = input;
55
+ const { subcommand, specs_file: specsFile, data, ids, query, force, format, additional_paths: additionalPaths, actor, system, sources, include_removed: includeRemoved, } = input;
56
56
  // FR-SPECS-0030 (mirrors FR-PLAN-0022) — no subcommand returns help content
57
57
  if (!subcommand) {
58
58
  return ok(specsHelpContent);
@@ -94,7 +94,7 @@ async function runSpecs(input) {
94
94
  return err("missing specs_file", true);
95
95
  if (!items || items.length === 0)
96
96
  return err(ERR_MISSING_DATA, true);
97
- return cmdAdd(specsFile, items, actor);
97
+ return cmdAdd(specsFile, items, actor, system);
98
98
  }
99
99
  case "get": {
100
100
  if (!specsFile)
@@ -190,7 +190,7 @@ async function runSpecs(input) {
190
190
  return err("missing specs_file", true);
191
191
  if (!sources || sources.length === 0)
192
192
  return err("missing sources", true);
193
- return cmdMigrate(sources, specsFile, actor);
193
+ return cmdMigrate(sources, specsFile, actor, system);
194
194
  }
195
195
  default:
196
196
  return err(`unknown_command: ${subcommand}`, true);
@@ -199,7 +199,7 @@ async function runSpecs(input) {
199
199
  export const specsToolDef = {
200
200
  name: "specs",
201
201
  brief: "Manage requirements/specs (add, query, validate, approve, and more)",
202
- description: "Manages a component's requirements as spec units stored in one JSON document per component. " +
202
+ description: "Manages a system's requirements as spec units stored in one JSON document per system. " +
203
203
  `Subcommands: ${VALID_SUBCOMMANDS_STR}.`,
204
204
  inputSchema: {
205
205
  type: "object",
@@ -234,7 +234,7 @@ export const specsToolDef = {
234
234
  },
235
235
  format: {
236
236
  type: "string",
237
- description: "Render output format: markdown | text",
237
+ description: "render — output format: markdown (default) | text | xml",
238
238
  },
239
239
  additional_paths: {
240
240
  type: "array",
@@ -253,6 +253,10 @@ export const specsToolDef = {
253
253
  type: "string",
254
254
  description: "Explicit actor override",
255
255
  },
256
+ system: {
257
+ type: "string",
258
+ description: "add/migrate — name of the system this document holds requirements for; required the first time a call would create the document, optional (and reconciled against the stored name) against one that already exists",
259
+ },
256
260
  sources: {
257
261
  type: "array",
258
262
  items: { type: "string" },