@sigloch/contracts 10.13.0 → 11.0.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/dist/se/analysis-freshness-rules.d.ts +49 -15
- package/dist/se/analysis-freshness-rules.js +109 -34
- package/dist/se/ao-rules.js +3 -3
- package/dist/se/conformance-rules.d.ts +4 -0
- package/dist/se/conformance-rules.js +37 -32
- package/dist/se/cr-quality-rules.js +4 -76
- package/dist/se/evaluate-all.d.ts +5 -0
- package/dist/se/evaluate-all.js +2 -1
- package/dist/se/fchain-quality-rules.js +4 -4
- package/dist/se/fmea-rules.js +4 -4
- package/dist/se/format-e-parser.js +1 -1
- package/dist/se/grammar-snapshot.d.ts +6 -6
- package/dist/se/grammar-snapshot.js +91 -90
- package/dist/se/index.d.ts +3 -2
- package/dist/se/index.js +4 -2
- package/dist/se/metric-rules.d.ts +3 -0
- package/dist/se/metric-rules.js +3 -3
- package/dist/se/near-duplicate-rules.d.ts +2 -0
- package/dist/se/near-duplicate-rules.js +2 -2
- package/dist/se/ontology.d.ts +23 -4
- package/dist/se/ontology.js +37 -14
- package/dist/se/placeholder.d.ts +1 -0
- package/dist/se/placeholder.js +13 -0
- package/dist/se/quality-rules.js +8 -8
- package/dist/se/readiness.d.ts +45 -47
- package/dist/se/readiness.js +57 -120
- package/dist/se/rule-due.d.ts +35 -0
- package/dist/se/rule-due.js +83 -0
- package/dist/se/rule-help.d.ts +19 -3
- package/dist/se/rule-help.js +97 -26
- package/dist/se/rules.d.ts +18 -0
- package/dist/se/rules.js +119 -73
- package/dist/se/schema-quality-rules.d.ts +1 -1
- package/dist/se/schema-quality-rules.js +1 -1
- package/dist/se/uc-quality-rules.js +6 -6
- package/dist/se/view-rules.js +6 -4
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { readRealRef } from './ontology.js';
|
|
2
1
|
// ---------------------------------------------------------------------------
|
|
3
2
|
// CR-R01: ein offener CR nennt, WAS er aendert (CR-SM-295)
|
|
4
3
|
//
|
|
@@ -179,89 +178,18 @@ function crShouldHaveMilestone(graph) {
|
|
|
179
178
|
}));
|
|
180
179
|
}
|
|
181
180
|
// ---------------------------------------------------------------------------
|
|
182
|
-
// CR-R05: kein Blatt-REQ ohne Bauauftrag (CR-SM-343) — die REQ-Seite von CR-R01.
|
|
183
|
-
//
|
|
184
|
-
// RD-01 fragt nach einem Traeger, R-01 nach einer Verifikation; ob ein REQ einen BAUAUFTRAG
|
|
185
|
-
// hat, fragte niemand. Gemessen am Fremdlauf sigllm: `se-plan` meldete „20 von 20 geordnet",
|
|
186
|
-
// im selben Graphstand hatten 24 von 64 Blatt-REQ keinen Auftrag — genau die, die alle 16
|
|
187
|
-
// offenen FM-03-Risiken mildern.
|
|
188
|
-
//
|
|
189
|
-
// Beauftragt ist ein Blatt-REQ (kein `compose`→REQ-Kind), wenn ein CR eine `relation` (a)
|
|
190
|
-
// direkt darauf traegt oder (b) auf eine FUNC, die es `satisfy`t. **MOD und SYS zaehlen
|
|
191
|
-
// nicht:** ein Modul ist ein Behaelter — mitgerechnet las sigllm 55/64 statt 40/64 und sah
|
|
192
|
-
// gesund aus. Wer ein REQ an einem MOD-/SYS-Traeger beauftragt, zieht die `relation` direkt
|
|
193
|
-
// auf das REQ. FCHAIN ist kein Weg: `CR -relation-> FCHAIN` ist kein TRACE_PATTERN, eine
|
|
194
|
-
// solche Kante waere R-18 — ein FCHAIN-getragenes REQ braucht also ebenfalls die direkte Kante.
|
|
195
|
-
//
|
|
196
|
-
// Jeder CR zaehlt, auch ein abgeschlossener: gebaut ist beauftragt.
|
|
197
|
-
//
|
|
198
|
-
// **Eine gebaute FUNC deckt ohne CR** (CR-SM-375): traegt die FUNC eine gueltige `realRef`
|
|
199
|
-
// oder ist sie `external`, ist der Bauauftrag erledigt — Bestand vor der CR-Disziplin braucht
|
|
200
|
-
// keinen nachgetragenen Auftrag. `concept: true` ist nicht gebaut, auch mit realRef. Fuer
|
|
201
|
-
// MOD/SYS/FCHAIN aendert das nichts: dort deckt nur die direkte `CR -relation-> REQ`.
|
|
202
|
-
//
|
|
203
|
-
// **Ohne CR-Knoten schweigt die Regel** und zaehlt weder im Zaehler noch im Nenner
|
|
204
|
-
// (`RULE_PRECONDITION`, readiness.ts). Ein Repo ohne Plan im Graphen (`cr: docs`) bekaeme
|
|
205
|
-
// sonst auf jedem REQ einen Befund — die Regel wuerde abgeschaltet und waere danach ueberall
|
|
206
|
-
// still (Fail-open-Klasse ND-01/ND-02 vor CR-SM-286).
|
|
207
|
-
// ---------------------------------------------------------------------------
|
|
208
|
-
function funcIsBuilt(e) {
|
|
209
|
-
if (e.attributes?.concept === true)
|
|
210
|
-
return false;
|
|
211
|
-
return e.attributes?.external === true || readRealRef(e.attributes).state === 'bound';
|
|
212
|
-
}
|
|
213
|
-
function leafReqNeedsBuildOrder(graph) {
|
|
214
|
-
const crIds = new Set(graph.elements.filter(e => e.type === 'CR').map(e => e.id));
|
|
215
|
-
if (crIds.size === 0)
|
|
216
|
-
return [];
|
|
217
|
-
const typeOf = new Map(graph.elements.map(e => [e.id, e.type]));
|
|
218
|
-
const ordered = new Set(); // CR -relation-> X, oder eine bereits gebaute FUNC
|
|
219
|
-
for (const t of graph.traces) {
|
|
220
|
-
if (t.type === 'relation' && crIds.has(t.source))
|
|
221
|
-
ordered.add(t.target);
|
|
222
|
-
}
|
|
223
|
-
for (const e of graph.elements) {
|
|
224
|
-
if (e.type === 'FUNC' && funcIsBuilt(e))
|
|
225
|
-
ordered.add(e.id);
|
|
226
|
-
}
|
|
227
|
-
const covered = new Set();
|
|
228
|
-
const parents = new Set();
|
|
229
|
-
for (const t of graph.traces) {
|
|
230
|
-
if (t.type === 'relation' && crIds.has(t.source) && typeOf.get(t.target) === 'REQ')
|
|
231
|
-
covered.add(t.target);
|
|
232
|
-
if (t.type === 'satisfy' && typeOf.get(t.source) === 'FUNC' && ordered.has(t.source))
|
|
233
|
-
covered.add(t.target);
|
|
234
|
-
if (t.type === 'compose' && typeOf.get(t.source) === 'REQ' && typeOf.get(t.target) === 'REQ')
|
|
235
|
-
parents.add(t.source);
|
|
236
|
-
}
|
|
237
|
-
return graph.elements
|
|
238
|
-
.filter(e => e.type === 'REQ' && !parents.has(e.id) && !covered.has(e.id))
|
|
239
|
-
.map(req => ({
|
|
240
|
-
rule_id: 'CR-R05',
|
|
241
|
-
severity: 'warning',
|
|
242
|
-
element_id: req.id,
|
|
243
|
-
message: `${req.id} is a leaf REQ with no build order (no CR relation to it or to a FUNC that satisfies it, and no built FUNC satisfies it)`,
|
|
244
|
-
fix_hint: `Add a CR relation through graph_mutate Format-E \`CR-x -relation-> ${req.id}\` — or to the FUNC that satisfies it; a CR on its MOD/SYS carrier does not count`,
|
|
245
|
-
context: {
|
|
246
|
-
element_type: req.type,
|
|
247
|
-
element_name: req.name,
|
|
248
|
-
},
|
|
249
|
-
}));
|
|
250
|
-
}
|
|
251
|
-
// ---------------------------------------------------------------------------
|
|
252
181
|
// Exports
|
|
253
182
|
// ---------------------------------------------------------------------------
|
|
254
183
|
export const CR_RULES = [
|
|
255
|
-
{ id: 'CR-R01', name: 'CR must track', severity: 'warning', evaluate: crMustTrack, domain: ['CR'] },
|
|
256
|
-
{ id: 'CR-R02', name: 'Done requires commit', severity: 'warning', evaluate: crDoneRequiresCommit, domain: ['CR'] },
|
|
184
|
+
{ id: 'CR-R01', name: 'CR must track', severity: 'warning', stage: 10, evaluate: crMustTrack, domain: ['CR'] },
|
|
185
|
+
{ id: 'CR-R02', name: 'Done requires commit', severity: 'warning', stage: 10, evaluate: crDoneRequiresCommit, domain: ['CR'] },
|
|
257
186
|
// CR-SM-243: domain ist 'all', nicht CR — die Regel meldet am getrackten ZIELKNOTEN
|
|
258
187
|
// ("dieser Knoten wird von 2 offenen CRs angefasst"), und der kann jeden Typ haben. Eine
|
|
259
188
|
// Aufzaehlung waere eine Momentaufnahme der heute getrackten Typen, kein Modell; 'all'
|
|
260
189
|
// (= alle Elemente) ist die einzige Menge, aus der der Zielknoten garantiert stammt.
|
|
261
190
|
// Damit ist sie nach R-08/R-18 die dritte 'all'-Regel — bewusst, nicht vergessen.
|
|
262
|
-
{ id: 'CR-R03', name: 'No concurrent mutation', severity: 'warning', evaluate: noConcurrentMutation, domain: ['all'] },
|
|
263
|
-
{ id: 'MS-03', name: 'CR without milestone', severity: 'info', evaluate: crShouldHaveMilestone, domain: ['CR'] },
|
|
264
|
-
{ id: 'CR-R05', name: 'Leaf REQ has a build order', severity: 'warning', evaluate: leafReqNeedsBuildOrder, domain: ['REQ'] },
|
|
191
|
+
{ id: 'CR-R03', name: 'No concurrent mutation', severity: 'warning', stage: 'immer', evaluate: noConcurrentMutation, domain: ['all'] },
|
|
192
|
+
{ id: 'MS-03', name: 'CR without milestone', severity: 'info', stage: 10, evaluate: crShouldHaveMilestone, domain: ['CR'] },
|
|
265
193
|
];
|
|
266
194
|
// CR-SM-236: `policy` wird durchgereicht, auch wo diese Familie heute keine Schwelle hat —
|
|
267
195
|
// ein Sonderweg je Familie waere genau der zweite Pfad, den der Regelsatz verbietet.
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import type { OntologyGraph } from './ontology.js';
|
|
6
6
|
import type { RuleViolation } from './rules.js';
|
|
7
7
|
import type { MetricPolicy } from './policy.js';
|
|
8
|
+
import { type MarkType, type RuleRole, type RuleStage } from './readiness.js';
|
|
8
9
|
/**
|
|
9
10
|
* All prescribed rule definitions (single source of truth for the catalog).
|
|
10
11
|
*
|
|
@@ -22,6 +23,10 @@ export declare const ALL_RULE_DEFS: ReadonlyArray<{
|
|
|
22
23
|
domain: readonly string[];
|
|
23
24
|
/** CR-SM-285: das Profil reist mit der Regel, statt aus ihrer ID geraten zu werden. */
|
|
24
25
|
profile: Exclude<ProfileId, 'default'>;
|
|
26
|
+
/** CR-SM-395: Stufe und Rolle von der Regeldefinition; `mark` ist daraus BERECHNET (`null` bei `'immer'`). */
|
|
27
|
+
stage: RuleStage;
|
|
28
|
+
role?: RuleRole;
|
|
29
|
+
mark: MarkType | null;
|
|
25
30
|
}>;
|
|
26
31
|
export declare function getRuleDefsForProfile(profile: ProfileId): typeof ALL_RULE_DEFS;
|
|
27
32
|
/**
|
package/dist/se/evaluate-all.js
CHANGED
|
@@ -12,6 +12,7 @@ import { AO_RULES } from './ao-rules.js';
|
|
|
12
12
|
import { BQ_RULES } from './quality-rules.js';
|
|
13
13
|
import { AF_RULES, TASK_OUTCOME_RULES } from './analysis-freshness-rules.js';
|
|
14
14
|
import { CODE_CONFORMANCE_RULES } from './conformance-rules.js';
|
|
15
|
+
import { markOfStage } from './readiness.js';
|
|
15
16
|
/**
|
|
16
17
|
* CR-SM-285: das Profil haengt am KATALOG, nicht am ID-Praefix.
|
|
17
18
|
*
|
|
@@ -61,7 +62,7 @@ const CATALOGS = [
|
|
|
61
62
|
*/
|
|
62
63
|
{ profile: 'conformance', rules: CODE_CONFORMANCE_RULES },
|
|
63
64
|
];
|
|
64
|
-
export const ALL_RULE_DEFS = CATALOGS.flatMap(({ profile, rules }) => rules.map(r => ({ id: r.id, name: r.name, severity: r.severity, domain: r.domain, profile })));
|
|
65
|
+
export const ALL_RULE_DEFS = CATALOGS.flatMap(({ profile, rules }) => rules.map(r => ({ id: r.id, name: r.name, severity: r.severity, domain: r.domain, profile, stage: r.stage, role: r.role, mark: markOfStage(r.stage) })));
|
|
65
66
|
export function getRuleDefsForProfile(profile) {
|
|
66
67
|
if (profile === 'default')
|
|
67
68
|
return ALL_RULE_DEFS;
|
|
@@ -230,13 +230,13 @@ export function fc05ChainConnected(graph) {
|
|
|
230
230
|
// Aggregated
|
|
231
231
|
// ---------------------------------------------------------------------------
|
|
232
232
|
export const FC_RULES = [
|
|
233
|
-
{ id: 'FC-02', name: 'Leaf UC has FCHAIN', severity: 'warning', evaluate: fc02LeafUcHasFchain, domain: ['UC'] },
|
|
233
|
+
{ id: 'FC-02', name: 'Leaf UC has FCHAIN', severity: 'warning', stage: 2, evaluate: fc02LeafUcHasFchain, domain: ['UC'] },
|
|
234
234
|
// CR-SM-243: domain ist FUNC, nicht FCHAIN — die Regel meldet am FUNC mit der
|
|
235
235
|
// verschachtelten Zerlegung. Die FCHAIN ist der Suchraum, nicht die Grundgesamtheit:
|
|
236
236
|
// eine Kette mit n verschachtelten FUNCs erzeugt n Verstoesse gegen einen Beitrag von 1.
|
|
237
|
-
{ id: 'FC-03', name: 'FCHAIN is flat', severity: 'warning', evaluate: fc03FchainFlat, domain: ['FUNC'] },
|
|
238
|
-
{ id: 'FC-04', name: 'FCHAIN actor-bounded (trigger+consumer)', severity: 'warning', evaluate: fc04ActorBounded, domain: ['FCHAIN'] },
|
|
239
|
-
{ id: 'FC-05', name: 'FCHAIN is connected (producer -> consumer)', severity: 'warning', evaluate: fc05ChainConnected, domain: ['FCHAIN'] },
|
|
237
|
+
{ id: 'FC-03', name: 'FCHAIN is flat', severity: 'warning', stage: 5, evaluate: fc03FchainFlat, domain: ['FUNC'] },
|
|
238
|
+
{ id: 'FC-04', name: 'FCHAIN actor-bounded (trigger+consumer)', severity: 'warning', stage: 6, evaluate: fc04ActorBounded, domain: ['FCHAIN'] },
|
|
239
|
+
{ id: 'FC-05', name: 'FCHAIN is connected (producer -> consumer)', severity: 'warning', stage: 6, evaluate: fc05ChainConnected, domain: ['FCHAIN'] },
|
|
240
240
|
];
|
|
241
241
|
// CR-SM-236: `policy` wird durchgereicht, auch wo diese Familie heute keine Schwelle hat —
|
|
242
242
|
// ein Sonderweg je Familie waere genau der zweite Pfad, den der Regelsatz verbietet.
|
package/dist/se/fmea-rules.js
CHANGED
|
@@ -174,14 +174,14 @@ export function nfr01BudgetOvershoot(graph) {
|
|
|
174
174
|
// Aggregated array & convenience runner
|
|
175
175
|
// ---------------------------------------------------------------------------
|
|
176
176
|
export const FM_RULES = [
|
|
177
|
-
{ id: 'FM-01', name: 'RiskReqFmeaAttributes', severity: 'warning', evaluate: fm01MissingFmeaAttributes, domain: ['REQ'] },
|
|
178
|
-
{ id: 'FM-02', name: 'RiskReqMitigation', severity: 'warning', evaluate: fm02MissingMitigation, domain: ['REQ'] },
|
|
179
|
-
{ id: 'FM-03', name: 'HighRiskVerification', severity: 'warning', evaluate: fm03HighRiskUnverified, domain: ['REQ'] },
|
|
177
|
+
{ id: 'FM-01', name: 'RiskReqFmeaAttributes', severity: 'warning', stage: 3, evaluate: fm01MissingFmeaAttributes, domain: ['REQ'] },
|
|
178
|
+
{ id: 'FM-02', name: 'RiskReqMitigation', severity: 'warning', stage: 3, evaluate: fm02MissingMitigation, domain: ['REQ'] },
|
|
179
|
+
{ id: 'FM-03', name: 'HighRiskVerification', severity: 'warning', stage: 9, evaluate: fm03HighRiskUnverified, domain: ['REQ'] },
|
|
180
180
|
// CR-SM-243: die Regel prueft drei Typen, nicht einen — physische Budgets am MOD
|
|
181
181
|
// (PHYSICAL_BUDGET_TYPES), Verhaltensbudgets an FUNC und FCHAIN (BEHAVIORAL_BUDGET_TYPES).
|
|
182
182
|
// Die domain nennt dieselben Mengen wie die beiden Konstanten oben; wer eine davon
|
|
183
183
|
// erweitert, zieht diese Zeile mit.
|
|
184
|
-
{ id: 'NFR-01', name: 'BudgetOvershoot', severity: 'warning', evaluate: nfr01BudgetOvershoot, domain: ['MOD', 'FUNC', 'FCHAIN'] },
|
|
184
|
+
{ id: 'NFR-01', name: 'BudgetOvershoot', severity: 'warning', stage: 7, evaluate: nfr01BudgetOvershoot, domain: ['MOD', 'FUNC', 'FCHAIN'] },
|
|
185
185
|
];
|
|
186
186
|
export function evaluateFMRules(graph, policy) {
|
|
187
187
|
return FM_RULES.flatMap(rule => rule.evaluate(graph, policy));
|
|
@@ -65,7 +65,7 @@ export function attributeTypeOf(elementType, key) {
|
|
|
65
65
|
export function hydrateAttrValue(raw, declaredType) {
|
|
66
66
|
// CR-SM-251: `concept:true` kam als String "true" an, und alle 11 Vergleiche in
|
|
67
67
|
// rules.ts/conformance-rules.ts pruefen identitaetsscharf (`=== true`). Damit war jeder
|
|
68
|
-
// Ausnahme-Schalter (concept
|
|
68
|
+
// Ausnahme-Schalter (damals concept, heute external/safety_relevant/spike) ueber Format-E unerreichbar:
|
|
69
69
|
// der Autor befolgt den fix_hint woertlich, und die Warnung bleibt stehen. Ein Export-Reimport
|
|
70
70
|
// entwertete zusaetzlich jede bestehende Ausnahme still.
|
|
71
71
|
if (declaredType === 'boolean') {
|
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export declare const GRAMMAR_SNAPSHOT: {
|
|
13
13
|
readonly versions: {
|
|
14
|
-
readonly ontology: "
|
|
14
|
+
readonly ontology: "11.0.0";
|
|
15
15
|
readonly metaModel: "6.0.0";
|
|
16
|
-
readonly rules: "
|
|
16
|
+
readonly rules: "41.0.0";
|
|
17
17
|
};
|
|
18
18
|
readonly elementTypes: readonly ["ACTOR", "CR", "FCHAIN", "FLOW", "FUNC", "MOD", "MS", "REQ", "SCHEMA", "SYS", "TEST", "UC"];
|
|
19
19
|
readonly traceTypes: readonly ["allocate", "compose", "io", "relation", "satisfy", "verify"];
|
|
20
20
|
readonly patterns: readonly ["ACTOR -io-> FLOW", "CR -relation-> FUNC", "CR -relation-> MOD", "CR -relation-> MS", "CR -relation-> REQ", "CR -relation-> SCHEMA", "CR -relation-> UC", "FCHAIN -compose-> FUNC [1..*]", "FCHAIN -satisfy-> REQ where target.kinds in {non-functional}", "FLOW -io-> ACTOR", "FLOW -io-> FUNC", "FLOW -relation-> SCHEMA [1]", "FUNC -allocate-> MOD [0..1]", "FUNC -compose-> FUNC [0..*]", "FUNC -io-> FLOW", "FUNC -satisfy-> REQ where target.kinds in {functional}", "MOD -compose-> MOD [0..*]", "MOD -satisfy-> REQ where target.kinds in {non-functional}", "MS -compose-> FUNC", "MS -compose-> REQ", "MS -compose-> UC", "MS -relation-> MS label=depends-on", "REQ -compose-> REQ [0..*]", "SYS -compose-> MOD [0..*]", "SYS -compose-> REQ [0..*]", "SYS -compose-> SYS [0..*]", "SYS -compose-> UC [1..*]", "SYS -satisfy-> REQ where target.kinds in {non-functional}", "TEST -verify-> REQ", "TEST -verify-> SCHEMA", "UC -compose-> FCHAIN [1..*]", "UC -compose-> REQ [1..*]"];
|
|
21
21
|
readonly elementColumns: readonly ["OntologyElement.attributes", "OntologyElement.created_at", "OntologyElement.description", "OntologyElement.id", "OntologyElement.kinds", "OntologyElement.method", "OntologyElement.name", "OntologyElement.status", "OntologyElement.type", "OntologyElement.updated_at", "Trace.attributes", "Trace.created_at", "Trace.label", "Trace.source", "Trace.target", "Trace.type", "Trace.verified_at", "Trace.weight"];
|
|
22
|
-
readonly attributes: readonly ["CR.rationale: string", "CR.spike: boolean", "CR.status: enum", "FLOW.sync: enum", "FUNC.
|
|
23
|
-
readonly rules: readonly ["AF-01 (warning) domain=[graph]", "AF-02 (warning) domain=[graph]", "AF-03 (warning) domain=[graph]", "AF-04 (warning) domain=[graph]", "AF-05 (warning) domain=[graph]", "BQ-01 (warning) domain=[REQ]", "BQ-02 (warning) domain=[REQ]", "BQ-04 (warning) domain=[REQ]", "BQ-06 (warning) domain=[REQ]", "BQ-07 (warning) domain=[REQ]", "BW-02 (warning) domain=[FUNC]", "CL-01 (warning) domain=[ACTOR]", "CR-01 (warning) domain=[MOD]", "CR-R01 (warning) domain=[CR]", "CR-R02 (warning) domain=[CR]", "CR-R03 (warning) domain=[all]
|
|
22
|
+
readonly attributes: readonly ["CR.architectureOnly: boolean", "CR.rationale: string", "CR.spike: boolean", "CR.status: enum", "FLOW.sync: enum", "FUNC.external: boolean", "FUNC.measuredMs: number", "FUNC.realRef: object", "FUNC.safety_relevant: boolean", "FUNC.sourceFile: string", "FUNC.timingBudgetMs: number", "MOD.external: boolean", "MOD.kind: string", "MOD.path: string", "MOD.realRef: object", "REQ.detection: number", "REQ.occurrence: number", "REQ.role: enum", "REQ.severity: number", "SCHEMA.contract: string", "SCHEMA.external: boolean", "SCHEMA.realRef: object", "TEST.sourceFile: string", "TEST.testRefs: array", "UC.operatingMode: string"];
|
|
23
|
+
readonly rules: readonly ["AF-01 (warning) domain=[graph] stage=3 role=analysis", "AF-02 (warning) domain=[graph] stage=7 role=analysis", "AF-03 (warning) domain=[graph] stage=7 role=analysis", "AF-04 (warning) domain=[graph] stage=8 role=analysis", "AF-05 (warning) domain=[graph] stage=10 role=existence", "BQ-01 (warning) domain=[REQ] stage=3", "BQ-02 (warning) domain=[REQ] stage=3", "BQ-04 (warning) domain=[REQ] stage=3", "BQ-06 (warning) domain=[REQ] stage=3", "BQ-07 (warning) domain=[REQ] stage=3", "BW-02 (warning) domain=[FUNC] stage=5", "CL-01 (warning) domain=[ACTOR] stage=2", "CR-01 (warning) domain=[MOD] stage=7", "CR-R01 (warning) domain=[CR] stage=10", "CR-R02 (warning) domain=[CR] stage=10", "CR-R03 (warning) domain=[all] stage=immer", "FC-02 (warning) domain=[UC] stage=2", "FC-03 (warning) domain=[FUNC] stage=5", "FC-04 (warning) domain=[FCHAIN] stage=6", "FC-05 (warning) domain=[FCHAIN] stage=6", "FM-01 (warning) domain=[REQ] stage=3", "FM-02 (warning) domain=[REQ] stage=3", "FM-03 (warning) domain=[REQ] stage=9", "IO-01 (warning) domain=[FUNC] stage=5", "IO-02 (error) domain=[FLOW] stage=6", "IR-01 (warning) domain=[graph] stage=7 role=analysis", "MS-01 (warning) domain=[MS] stage=10", "MS-02 (warning) domain=[MS] stage=10", "MS-03 (info) domain=[CR] stage=10", "MT-01 (warning) domain=[MOD] stage=7", "MT-02 (warning) domain=[MOD] stage=7", "MT-04 (info) domain=[FUNC] stage=5", "ND-01 (warning) domain=[FUNC] stage=5", "ND-02 (warning) domain=[SCHEMA] stage=8", "NFR-01 (warning) domain=[FCHAIN,FUNC,MOD] stage=7", "R-01 (error) domain=[REQ] stage=9 role=existence", "R-02 (warning) domain=[FUNC] stage=5", "R-04 (warning) domain=[MOD] stage=7", "R-05 (warning) domain=[TEST] stage=9", "R-08 (error) domain=[all] stage=immer", "R-10 (warning) domain=[FLOW] stage=6", "R-12 (warning) domain=[FUNC] stage=5", "R-15 (warning) domain=[FCHAIN] stage=5 role=existence", "R-16 (warning) domain=[ACTOR] stage=2", "R-17 (warning) domain=[SYS] stage=2 role=existence", "R-18 (error) domain=[all] stage=immer", "R-19 (warning) domain=[TEST] stage=11", "R-20 (warning) domain=[FUNC] stage=11", "R-21 (warning) domain=[FCHAIN,FUNC] stage=9", "R-22 (warning) domain=[FUNC] stage=7 role=existence", "R-23 (warning) domain=[MOD] stage=7", "R-26 (warning) domain=[SCHEMA] stage=11", "R-29 (error) domain=[TEST] stage=11", "R-30 (warning) domain=[FUNC] stage=5", "R-31 (warning) domain=[FUNC] stage=6 role=existence", "R-32 (warning) domain=[SCHEMA] stage=9 role=existence", "R-33 (warning) domain=[graph] stage=1 role=existence", "RC-01 (warning) domain=[FUNC] stage=12", "RC-02 (warning) domain=[TEST] stage=12", "RC-03 (warning) domain=[SCHEMA] stage=12", "RC-04 (warning) domain=[SCHEMA] stage=12", "RC-05 (warning) domain=[MOD] stage=10", "RC-06 (warning) domain=[FUNC,MOD,SCHEMA] stage=12", "RC-07 (warning) domain=[CR,SYS] stage=10", "RC-08 (warning) domain=[SCHEMA] stage=12", "RC-09 (warning) domain=[SCHEMA] stage=12", "RC-10 (warning) domain=[MOD] stage=12", "RD-01 (warning) domain=[REQ] stage=3", "RD-02 (warning) domain=[REQ] stage=3", "RD-04 (warning) domain=[FUNC,MOD,SYS] stage=7", "RD-05 (warning) domain=[FUNC,MOD] stage=7", "SC-02 (warning) domain=[SCHEMA] stage=8", "TR-01 (warning) domain=[graph] stage=7 role=analysis", "UC-01 (warning) domain=[UC] stage=3 role=existence", "UC-02 (warning) domain=[UC] stage=2 role=existence", "UC-03 (warning) domain=[UC] stage=4 role=existence", "UC-04 (warning) domain=[UC] stage=2", "VR-01 (info) domain=[TEST] stage=11"];
|
|
24
24
|
readonly conformanceRules: readonly ["RC-01 (warning)", "RC-02 (warning)", "RC-03 (warning)", "RC-04 (warning)", "RC-05 (warning)", "RC-06 (warning)", "RC-07 (warning)", "RC-08 (warning)", "RC-09 (warning)", "RC-10 (warning)"];
|
|
25
25
|
readonly policy: readonly ["apTable = null", "boundaryWidth = {warning:5}", "criticality = {infrastructure:3}", "crossingFlows = {warning:3}", "decompositionBreadth = {min:3,warning:9}", "instability = null", "lcom4 = {info:4,warning:6}", "riskRpn = 100"];
|
|
26
|
-
readonly ruleHelp: readonly ["AF-01", "AF-02", "AF-03", "AF-04", "AF-05", "BQ-01", "BQ-02", "BQ-04", "BQ-06", "BQ-07", "BW-02", "CL-01", "CR-01", "CR-R01", "CR-R02", "CR-R03", "
|
|
27
|
-
readonly exports: readonly ["ACCEPTED_FINDINGS_ATTRIBUTE", "AF_RULES", "ALL_RULE_DEFS", "AO_RULES", "AcceptedFindingSchema", "ActionPriority", "AnalysisArtifactId", "AnalysisFreshnessStampSchema", "ApTableSchema", "BOUNDED_PATTERNS", "BQ_RULES", "CLOSED_STATUS", "CODE_CONFORMANCE_RULES", "CR_RULES", "CodeFactsSchema", "DEFAULT_METRIC_POLICY", "DIMENSION_READINESS_DELTA_NAME", "DIMENSION_READINESS_NAME", "ELEMENT_ATTRIBUTES", "ELEMENT_DESCRIPTIONS", "ElementType", "ElementUid", "FC_RULES", "FM_RULES", "FileFactsSchema", "FlowSync", "FunctionCriticality", "ImportEdgeSchema", "MAX_SLUG_LENGTH", "META_MODEL_VERSION", "MODELING_ELEMENT_TYPES", "MT_RULES", "MetricPolicySchema", "ModuleMetrics", "ND_RULES", "ONTOLOGY_VERSION", "OntologyElement", "OntologyGraph", "PHASE_READINESS_NAME", "
|
|
26
|
+
readonly ruleHelp: readonly ["AF-01", "AF-02", "AF-03", "AF-04", "AF-05", "BQ-01", "BQ-02", "BQ-04", "BQ-06", "BQ-07", "BW-02", "CL-01", "CR-01", "CR-R01", "CR-R02", "CR-R03", "FC-02", "FC-03", "FC-04", "FC-05", "FM-01", "FM-02", "FM-03", "IO-01", "IO-02", "IR-01", "MS-01", "MS-02", "MS-03", "MT-01", "MT-02", "MT-04", "ND-01", "ND-02", "NFR-01", "R-01", "R-02", "R-04", "R-05", "R-08", "R-10", "R-12", "R-15", "R-16", "R-17", "R-18", "R-19", "R-20", "R-21", "R-22", "R-23", "R-26", "R-29", "R-30", "R-31", "R-32", "R-33", "RC-01", "RC-02", "RC-03", "RC-04", "RC-05", "RC-06", "RC-07", "RC-08", "RC-09", "RC-10", "RD-01", "RD-02", "RD-04", "RD-05", "SC-02", "TR-01", "UC-01", "UC-02", "UC-03", "UC-04", "VR-01"];
|
|
27
|
+
readonly exports: readonly ["ACCEPTED_FINDINGS_ATTRIBUTE", "AF_RULES", "ALL_RULE_DEFS", "AO_RULES", "AcceptedFindingSchema", "ActionPriority", "AnalysisArtifactId", "AnalysisFreshnessStampSchema", "ApTableSchema", "BOUNDED_PATTERNS", "BQ_RULES", "CLOSED_STATUS", "CODE_CONFORMANCE_RULES", "CR_RULES", "CodeFactsSchema", "DEFAULT_METRIC_POLICY", "DIMENSION_READINESS_DELTA_NAME", "DIMENSION_READINESS_NAME", "ELEMENT_ATTRIBUTES", "ELEMENT_DESCRIPTIONS", "ElementType", "ElementUid", "FC_RULES", "FM_RULES", "FileFactsSchema", "FlowSync", "FunctionCriticality", "GRAPH_ANCHOR", "ImportEdgeSchema", "MARK_STAGE", "MAX_SLUG_LENGTH", "META_MODEL_VERSION", "MODELING_ELEMENT_TYPES", "MT_RULES", "Mark", "MetricPolicySchema", "ModuleMetrics", "ND_RULES", "ONTOLOGY_VERSION", "OntologyElement", "OntologyGraph", "PHASE_READINESS_NAME", "READINESS_SCORED_PROFILES", "REQUIRED_PATTERNS", "RULES_VERSION", "RULE_HELP", "RULE_TASKS", "RULE_TO_DIMENSION", "ReadinessDimension", "ReadinessReport", "ReadinessScore", "RealRefSchema", "RepoRelativePathSchema", "ReqKind", "ReqRole", "RuleSeverity", "RuleViolation", "SC_RULES", "STAGE_SETS", "SteerSpace", "SteerTerm", "TASK_ENTRY", "TASK_OUTCOME_RULES", "TASK_OWNED_RULES", "TRACE_PATTERNS", "TestRefSchema", "TestRefsSchema", "TestResult", "Trace", "TraceType", "UC_RULES", "V3_RULES", "VIEW_RULES", "VerificationMethod", "ViolationCandidate", "ViolationContext", "acceptedRuleIds", "actionPriority", "admittingAlternatives", "allocationCohesion", "apMethod", "assumptionReviewRequirementsExist", "attributeTypeOf", "boxContracts", "bq01Unambiguous", "bq02Verifiable", "bq04Necessary", "bq06Conforming", "bq07Complete", "bw02WhiteboxWidth", "chainsByFunc", "cl01ConopsCompleteness", "cr01CrossingFlowCount", "crossingContractCount", "decomposedFuncs", "evaluateAFRules", "evaluateAORules", "evaluateAllRules", "evaluateBQRules", "evaluateCRRules", "evaluateConformanceRules", "evaluateFCRules", "evaluateFMRules", "evaluateMTRules", "evaluateNDRules", "evaluateRules", "evaluateSCRules", "evaluateTaskOutcomeRules", "evaluateUCRules", "evaluateViewRules", "extractFormatE", "fc02LeafUcHasFchain", "fc03FchainFlat", "fc04ActorBounded", "fc05ChainConnected", "flowProducers", "fm01MissingFmeaAttributes", "fm02MissingMitigation", "fm03HighRiskUnverified", "funcSimilarity", "funcSubtree", "functionCriticality", "getRuleDefsForProfile", "hydrateAttrValue", "importCoverage", "indexOf", "io01CrossModuleCompleteness", "isDue", "isElementUid", "isValidTrace", "jaccard", "markOfStage", "maxOccurs", "minOccurs", "moduleCrossings", "moduleMetrics", "mt01Instability", "mt02Lcom4", "mt04WhiteboxLcom4", "nd01FuncNearDuplicate", "nd02SchemaNearDuplicate", "nfr01BudgetOvershoot", "normalizeReqKinds", "pairsAbove", "parseElementUid", "readAnalysisStamp", "readFlowSync", "readRealRef", "readReqRole", "readTestRefs", "sc02IsReferenced", "schemaSimilarity", "setBQ04SimilarityMatrix", "subtreeFuncs", "taskOf", "toElementUid", "toEvaluableGraph", "tokens", "traceRejection", "tradeDecisionRecorded", "tryParseElementUid", "uc01HasRequirements", "uc02HasActor", "uc03HasScenario", "uc04GoalDefined", "unbuiltElementIds", "vr01TestNoResult", "whiteboxContractCount"];
|
|
28
28
|
};
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
export const GRAMMAR_SNAPSHOT = {
|
|
13
13
|
versions: {
|
|
14
|
-
ontology: "
|
|
14
|
+
ontology: "11.0.0",
|
|
15
15
|
metaModel: "6.0.0",
|
|
16
|
-
rules: "
|
|
16
|
+
rules: "41.0.0",
|
|
17
17
|
},
|
|
18
18
|
elementTypes: [
|
|
19
19
|
"ACTOR",
|
|
@@ -92,18 +92,17 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
92
92
|
"Trace.weight",
|
|
93
93
|
],
|
|
94
94
|
attributes: [
|
|
95
|
+
"CR.architectureOnly: boolean",
|
|
95
96
|
"CR.rationale: string",
|
|
96
97
|
"CR.spike: boolean",
|
|
97
98
|
"CR.status: enum",
|
|
98
99
|
"FLOW.sync: enum",
|
|
99
|
-
"FUNC.concept: boolean",
|
|
100
100
|
"FUNC.external: boolean",
|
|
101
101
|
"FUNC.measuredMs: number",
|
|
102
102
|
"FUNC.realRef: object",
|
|
103
103
|
"FUNC.safety_relevant: boolean",
|
|
104
104
|
"FUNC.sourceFile: string",
|
|
105
105
|
"FUNC.timingBudgetMs: number",
|
|
106
|
-
"MOD.concept: boolean",
|
|
107
106
|
"MOD.external: boolean",
|
|
108
107
|
"MOD.kind: string",
|
|
109
108
|
"MOD.path: string",
|
|
@@ -112,94 +111,92 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
112
111
|
"REQ.occurrence: number",
|
|
113
112
|
"REQ.role: enum",
|
|
114
113
|
"REQ.severity: number",
|
|
115
|
-
"SCHEMA.concept: boolean",
|
|
116
114
|
"SCHEMA.contract: string",
|
|
117
115
|
"SCHEMA.external: boolean",
|
|
118
116
|
"SCHEMA.realRef: object",
|
|
119
|
-
"TEST.concept: boolean",
|
|
120
117
|
"TEST.sourceFile: string",
|
|
121
118
|
"TEST.testRefs: array",
|
|
122
119
|
"UC.operatingMode: string",
|
|
123
120
|
],
|
|
124
121
|
rules: [
|
|
125
|
-
"AF-01 (warning) domain=[graph]",
|
|
126
|
-
"AF-02 (warning) domain=[graph]",
|
|
127
|
-
"AF-03 (warning) domain=[graph]",
|
|
128
|
-
"AF-04 (warning) domain=[graph]",
|
|
129
|
-
"AF-05 (warning) domain=[graph]",
|
|
130
|
-
"BQ-01 (warning) domain=[REQ]",
|
|
131
|
-
"BQ-02 (warning) domain=[REQ]",
|
|
132
|
-
"BQ-04 (warning) domain=[REQ]",
|
|
133
|
-
"BQ-06 (warning) domain=[REQ]",
|
|
134
|
-
"BQ-07 (warning) domain=[REQ]",
|
|
135
|
-
"BW-02 (warning) domain=[FUNC]",
|
|
136
|
-
"CL-01 (warning) domain=[ACTOR]",
|
|
137
|
-
"CR-01 (warning) domain=[MOD]",
|
|
138
|
-
"CR-R01 (warning) domain=[CR]",
|
|
139
|
-
"CR-R02 (warning) domain=[CR]",
|
|
140
|
-
"CR-R03 (warning) domain=[all]",
|
|
141
|
-
"
|
|
142
|
-
"FC-
|
|
143
|
-
"FC-
|
|
144
|
-
"FC-
|
|
145
|
-
"
|
|
146
|
-
"FM-
|
|
147
|
-
"FM-
|
|
148
|
-
"
|
|
149
|
-
"IO-
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"MS-
|
|
153
|
-
"MS-
|
|
154
|
-
"
|
|
155
|
-
"MT-
|
|
156
|
-
"MT-
|
|
157
|
-
"
|
|
158
|
-
"ND-
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"R-
|
|
162
|
-
"R-
|
|
163
|
-
"R-
|
|
164
|
-
"R-
|
|
165
|
-
"R-
|
|
166
|
-
"R-
|
|
167
|
-
"R-
|
|
168
|
-
"R-
|
|
169
|
-
"R-
|
|
170
|
-
"R-
|
|
171
|
-
"R-
|
|
172
|
-
"R-
|
|
173
|
-
"R-
|
|
174
|
-
"R-
|
|
175
|
-
"R-
|
|
176
|
-
"R-
|
|
177
|
-
"R-
|
|
178
|
-
"R-
|
|
179
|
-
"R-
|
|
180
|
-
"R-
|
|
181
|
-
"R-
|
|
182
|
-
"RC-01 (warning) domain=[FUNC]",
|
|
183
|
-
"RC-02 (warning) domain=[TEST]",
|
|
184
|
-
"RC-03 (warning) domain=[SCHEMA]",
|
|
185
|
-
"RC-04 (warning) domain=[SCHEMA]",
|
|
186
|
-
"RC-05 (warning) domain=[MOD]",
|
|
187
|
-
"RC-06 (warning) domain=[FUNC,MOD,SCHEMA]",
|
|
188
|
-
"RC-07 (warning) domain=[CR,SYS]",
|
|
189
|
-
"RC-08 (warning) domain=[SCHEMA]",
|
|
190
|
-
"RC-09 (warning) domain=[SCHEMA]",
|
|
191
|
-
"RC-10 (warning) domain=[MOD]",
|
|
192
|
-
"RD-01 (warning) domain=[REQ]",
|
|
193
|
-
"RD-02 (warning) domain=[REQ]",
|
|
194
|
-
"RD-04 (warning) domain=[FUNC,MOD,SYS]",
|
|
195
|
-
"RD-05 (warning) domain=[FUNC,MOD
|
|
196
|
-
"SC-02 (warning) domain=[SCHEMA]",
|
|
197
|
-
"TR-01 (warning) domain=[graph]",
|
|
198
|
-
"UC-01 (warning) domain=[UC]",
|
|
199
|
-
"UC-02 (warning) domain=[UC]",
|
|
200
|
-
"UC-03 (warning) domain=[UC]",
|
|
201
|
-
"UC-04 (warning) domain=[UC]",
|
|
202
|
-
"VR-01 (info) domain=[TEST]",
|
|
122
|
+
"AF-01 (warning) domain=[graph] stage=3 role=analysis",
|
|
123
|
+
"AF-02 (warning) domain=[graph] stage=7 role=analysis",
|
|
124
|
+
"AF-03 (warning) domain=[graph] stage=7 role=analysis",
|
|
125
|
+
"AF-04 (warning) domain=[graph] stage=8 role=analysis",
|
|
126
|
+
"AF-05 (warning) domain=[graph] stage=10 role=existence",
|
|
127
|
+
"BQ-01 (warning) domain=[REQ] stage=3",
|
|
128
|
+
"BQ-02 (warning) domain=[REQ] stage=3",
|
|
129
|
+
"BQ-04 (warning) domain=[REQ] stage=3",
|
|
130
|
+
"BQ-06 (warning) domain=[REQ] stage=3",
|
|
131
|
+
"BQ-07 (warning) domain=[REQ] stage=3",
|
|
132
|
+
"BW-02 (warning) domain=[FUNC] stage=5",
|
|
133
|
+
"CL-01 (warning) domain=[ACTOR] stage=2",
|
|
134
|
+
"CR-01 (warning) domain=[MOD] stage=7",
|
|
135
|
+
"CR-R01 (warning) domain=[CR] stage=10",
|
|
136
|
+
"CR-R02 (warning) domain=[CR] stage=10",
|
|
137
|
+
"CR-R03 (warning) domain=[all] stage=immer",
|
|
138
|
+
"FC-02 (warning) domain=[UC] stage=2",
|
|
139
|
+
"FC-03 (warning) domain=[FUNC] stage=5",
|
|
140
|
+
"FC-04 (warning) domain=[FCHAIN] stage=6",
|
|
141
|
+
"FC-05 (warning) domain=[FCHAIN] stage=6",
|
|
142
|
+
"FM-01 (warning) domain=[REQ] stage=3",
|
|
143
|
+
"FM-02 (warning) domain=[REQ] stage=3",
|
|
144
|
+
"FM-03 (warning) domain=[REQ] stage=9",
|
|
145
|
+
"IO-01 (warning) domain=[FUNC] stage=5",
|
|
146
|
+
"IO-02 (error) domain=[FLOW] stage=6",
|
|
147
|
+
"IR-01 (warning) domain=[graph] stage=7 role=analysis",
|
|
148
|
+
"MS-01 (warning) domain=[MS] stage=10",
|
|
149
|
+
"MS-02 (warning) domain=[MS] stage=10",
|
|
150
|
+
"MS-03 (info) domain=[CR] stage=10",
|
|
151
|
+
"MT-01 (warning) domain=[MOD] stage=7",
|
|
152
|
+
"MT-02 (warning) domain=[MOD] stage=7",
|
|
153
|
+
"MT-04 (info) domain=[FUNC] stage=5",
|
|
154
|
+
"ND-01 (warning) domain=[FUNC] stage=5",
|
|
155
|
+
"ND-02 (warning) domain=[SCHEMA] stage=8",
|
|
156
|
+
"NFR-01 (warning) domain=[FCHAIN,FUNC,MOD] stage=7",
|
|
157
|
+
"R-01 (error) domain=[REQ] stage=9 role=existence",
|
|
158
|
+
"R-02 (warning) domain=[FUNC] stage=5",
|
|
159
|
+
"R-04 (warning) domain=[MOD] stage=7",
|
|
160
|
+
"R-05 (warning) domain=[TEST] stage=9",
|
|
161
|
+
"R-08 (error) domain=[all] stage=immer",
|
|
162
|
+
"R-10 (warning) domain=[FLOW] stage=6",
|
|
163
|
+
"R-12 (warning) domain=[FUNC] stage=5",
|
|
164
|
+
"R-15 (warning) domain=[FCHAIN] stage=5 role=existence",
|
|
165
|
+
"R-16 (warning) domain=[ACTOR] stage=2",
|
|
166
|
+
"R-17 (warning) domain=[SYS] stage=2 role=existence",
|
|
167
|
+
"R-18 (error) domain=[all] stage=immer",
|
|
168
|
+
"R-19 (warning) domain=[TEST] stage=11",
|
|
169
|
+
"R-20 (warning) domain=[FUNC] stage=11",
|
|
170
|
+
"R-21 (warning) domain=[FCHAIN,FUNC] stage=9",
|
|
171
|
+
"R-22 (warning) domain=[FUNC] stage=7 role=existence",
|
|
172
|
+
"R-23 (warning) domain=[MOD] stage=7",
|
|
173
|
+
"R-26 (warning) domain=[SCHEMA] stage=11",
|
|
174
|
+
"R-29 (error) domain=[TEST] stage=11",
|
|
175
|
+
"R-30 (warning) domain=[FUNC] stage=5",
|
|
176
|
+
"R-31 (warning) domain=[FUNC] stage=6 role=existence",
|
|
177
|
+
"R-32 (warning) domain=[SCHEMA] stage=9 role=existence",
|
|
178
|
+
"R-33 (warning) domain=[graph] stage=1 role=existence",
|
|
179
|
+
"RC-01 (warning) domain=[FUNC] stage=12",
|
|
180
|
+
"RC-02 (warning) domain=[TEST] stage=12",
|
|
181
|
+
"RC-03 (warning) domain=[SCHEMA] stage=12",
|
|
182
|
+
"RC-04 (warning) domain=[SCHEMA] stage=12",
|
|
183
|
+
"RC-05 (warning) domain=[MOD] stage=10",
|
|
184
|
+
"RC-06 (warning) domain=[FUNC,MOD,SCHEMA] stage=12",
|
|
185
|
+
"RC-07 (warning) domain=[CR,SYS] stage=10",
|
|
186
|
+
"RC-08 (warning) domain=[SCHEMA] stage=12",
|
|
187
|
+
"RC-09 (warning) domain=[SCHEMA] stage=12",
|
|
188
|
+
"RC-10 (warning) domain=[MOD] stage=12",
|
|
189
|
+
"RD-01 (warning) domain=[REQ] stage=3",
|
|
190
|
+
"RD-02 (warning) domain=[REQ] stage=3",
|
|
191
|
+
"RD-04 (warning) domain=[FUNC,MOD,SYS] stage=7",
|
|
192
|
+
"RD-05 (warning) domain=[FUNC,MOD] stage=7",
|
|
193
|
+
"SC-02 (warning) domain=[SCHEMA] stage=8",
|
|
194
|
+
"TR-01 (warning) domain=[graph] stage=7 role=analysis",
|
|
195
|
+
"UC-01 (warning) domain=[UC] stage=3 role=existence",
|
|
196
|
+
"UC-02 (warning) domain=[UC] stage=2 role=existence",
|
|
197
|
+
"UC-03 (warning) domain=[UC] stage=4 role=existence",
|
|
198
|
+
"UC-04 (warning) domain=[UC] stage=2",
|
|
199
|
+
"VR-01 (info) domain=[TEST] stage=11",
|
|
203
200
|
],
|
|
204
201
|
conformanceRules: [
|
|
205
202
|
"RC-01 (warning)",
|
|
@@ -240,7 +237,6 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
240
237
|
"CR-R01",
|
|
241
238
|
"CR-R02",
|
|
242
239
|
"CR-R03",
|
|
243
|
-
"CR-R05",
|
|
244
240
|
"FC-02",
|
|
245
241
|
"FC-03",
|
|
246
242
|
"FC-04",
|
|
@@ -281,6 +277,7 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
281
277
|
"R-30",
|
|
282
278
|
"R-31",
|
|
283
279
|
"R-32",
|
|
280
|
+
"R-33",
|
|
284
281
|
"RC-01",
|
|
285
282
|
"RC-02",
|
|
286
283
|
"RC-03",
|
|
@@ -331,11 +328,14 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
331
328
|
"FileFactsSchema",
|
|
332
329
|
"FlowSync",
|
|
333
330
|
"FunctionCriticality",
|
|
331
|
+
"GRAPH_ANCHOR",
|
|
334
332
|
"ImportEdgeSchema",
|
|
333
|
+
"MARK_STAGE",
|
|
335
334
|
"MAX_SLUG_LENGTH",
|
|
336
335
|
"META_MODEL_VERSION",
|
|
337
336
|
"MODELING_ELEMENT_TYPES",
|
|
338
337
|
"MT_RULES",
|
|
338
|
+
"Mark",
|
|
339
339
|
"MetricPolicySchema",
|
|
340
340
|
"ModuleMetrics",
|
|
341
341
|
"ND_RULES",
|
|
@@ -343,15 +343,12 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
343
343
|
"OntologyElement",
|
|
344
344
|
"OntologyGraph",
|
|
345
345
|
"PHASE_READINESS_NAME",
|
|
346
|
-
"PhaseGate",
|
|
347
346
|
"READINESS_SCORED_PROFILES",
|
|
348
347
|
"REQUIRED_PATTERNS",
|
|
349
348
|
"RULES_VERSION",
|
|
350
349
|
"RULE_HELP",
|
|
351
|
-
"RULE_PRECONDITION",
|
|
352
350
|
"RULE_TASKS",
|
|
353
351
|
"RULE_TO_DIMENSION",
|
|
354
|
-
"RULE_TO_PHASE",
|
|
355
352
|
"ReadinessDimension",
|
|
356
353
|
"ReadinessReport",
|
|
357
354
|
"ReadinessScore",
|
|
@@ -362,6 +359,7 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
362
359
|
"RuleSeverity",
|
|
363
360
|
"RuleViolation",
|
|
364
361
|
"SC_RULES",
|
|
362
|
+
"STAGE_SETS",
|
|
365
363
|
"SteerSpace",
|
|
366
364
|
"SteerTerm",
|
|
367
365
|
"TASK_ENTRY",
|
|
@@ -384,7 +382,7 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
384
382
|
"admittingAlternatives",
|
|
385
383
|
"allocationCohesion",
|
|
386
384
|
"apMethod",
|
|
387
|
-
"
|
|
385
|
+
"assumptionReviewRequirementsExist",
|
|
388
386
|
"attributeTypeOf",
|
|
389
387
|
"boxContracts",
|
|
390
388
|
"bq01Unambiguous",
|
|
@@ -430,9 +428,11 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
430
428
|
"importCoverage",
|
|
431
429
|
"indexOf",
|
|
432
430
|
"io01CrossModuleCompleteness",
|
|
431
|
+
"isDue",
|
|
433
432
|
"isElementUid",
|
|
434
433
|
"isValidTrace",
|
|
435
434
|
"jaccard",
|
|
435
|
+
"markOfStage",
|
|
436
436
|
"maxOccurs",
|
|
437
437
|
"minOccurs",
|
|
438
438
|
"moduleCrossings",
|
|
@@ -446,11 +446,11 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
446
446
|
"normalizeReqKinds",
|
|
447
447
|
"pairsAbove",
|
|
448
448
|
"parseElementUid",
|
|
449
|
+
"readAnalysisStamp",
|
|
449
450
|
"readFlowSync",
|
|
450
451
|
"readRealRef",
|
|
451
452
|
"readReqRole",
|
|
452
453
|
"readTestRefs",
|
|
453
|
-
"ruleApplies",
|
|
454
454
|
"sc02IsReferenced",
|
|
455
455
|
"schemaSimilarity",
|
|
456
456
|
"setBQ04SimilarityMatrix",
|
|
@@ -466,6 +466,7 @@ export const GRAMMAR_SNAPSHOT = {
|
|
|
466
466
|
"uc02HasActor",
|
|
467
467
|
"uc03HasScenario",
|
|
468
468
|
"uc04GoalDefined",
|
|
469
|
+
"unbuiltElementIds",
|
|
469
470
|
"vr01TestNoResult",
|
|
470
471
|
"whiteboxContractCount",
|
|
471
472
|
],
|
package/dist/se/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Single source of truth for SE ontology schemas across all projects.
|
|
4
4
|
*/
|
|
5
5
|
/** Ontology schema version (element types + trace types). */
|
|
6
|
-
export declare const ONTOLOGY_VERSION = "
|
|
6
|
+
export declare const ONTOLOGY_VERSION = "11.0.0";
|
|
7
7
|
/** Rules engine version (validation rules incl. RC conformance). */
|
|
8
|
-
export declare const RULES_VERSION = "
|
|
8
|
+
export declare const RULES_VERSION = "41.0.0";
|
|
9
9
|
/** Meta-model version (trace pattern constraints + format-e parser). */
|
|
10
10
|
export declare const META_MODEL_VERSION = "6.0.0";
|
|
11
11
|
export * from './ontology.js';
|
|
@@ -37,6 +37,7 @@ export * from './evaluate-all.js';
|
|
|
37
37
|
export * from './flat-graph.js';
|
|
38
38
|
export * from './graph-index.js';
|
|
39
39
|
export * from './readiness.js';
|
|
40
|
+
export { isDue } from './rule-due.js';
|
|
40
41
|
export * from './meta-model.js';
|
|
41
42
|
export * from './element-uid.js';
|
|
42
43
|
export * from './format-e-parser.js';
|