@sigloch/graphcode-client 1.1.0 → 1.2.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/readiness.js +8 -0
- package/package.json +1 -1
package/dist/readiness.js
CHANGED
|
@@ -31,6 +31,13 @@ const isCodingProfile = (id) => /^(BQ-|ND-)/.test(id);
|
|
|
31
31
|
* resolves — the Presence/Resolution split contracts documents (R-19/R-20/R-26 declare
|
|
32
32
|
* a binding, RC-01/02/03/04 check it actually resolves on disk). RC-05 (cross-module
|
|
33
33
|
* import drift) has no presence partner; it is module coupling, so it follows R-23.
|
|
34
|
+
*
|
|
35
|
+
* CR-SM-262: RC-06 folgt RC-05 aus demselben Grund. Ein Praesenz-Partner kaeme nicht in
|
|
36
|
+
* Frage — die Regel prueft ausschliesslich `external === true`, und genau diese Knoten sind
|
|
37
|
+
* von R-20 AUSGENOMMEN ("exempt from the R-20 realRef-binding requirement", ELEMENT_ATTRIBUTES).
|
|
38
|
+
* Sie loest also keine Praesenzforderung auf, sondern stellt eine eigene: das Paket, auf das
|
|
39
|
+
* eine externe Bindung zeigt, muss in den dependencies stehen. Ihr Gegenstand ist damit die
|
|
40
|
+
* Paket-Abhaengigkeit, die groebste Form von Modul-Kopplung — dieselbe Kategorie wie RC-05.
|
|
34
41
|
*/
|
|
35
42
|
const RC_PRESENCE_PARTNER = {
|
|
36
43
|
'RC-01': 'R-20', // FUNC realRef → declared symbol
|
|
@@ -38,6 +45,7 @@ const RC_PRESENCE_PARTNER = {
|
|
|
38
45
|
'RC-03': 'R-26', // SCHEMA realRef → declared export
|
|
39
46
|
'RC-04': 'R-26', // SCHEMA realRef parsed at its interface
|
|
40
47
|
'RC-05': 'R-23', // cross-module import the graph does not document
|
|
48
|
+
'RC-06': 'R-23', // external binding on a package the consumer does not depend on
|
|
41
49
|
};
|
|
42
50
|
/**
|
|
43
51
|
* Phase-Readiness gates (INCOSE technical reviews) → the rules each gate owns.
|