skill-family-engineering-kit 0.1.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.
Files changed (80) hide show
  1. package/CODE_OF_CONDUCT.md +131 -0
  2. package/CONTRIBUTING.md +69 -0
  3. package/LICENSE +201 -0
  4. package/README.md +74 -0
  5. package/SECURITY.md +34 -0
  6. package/data/licensing/registry.json +211 -0
  7. package/data/licensing/schema.json +207 -0
  8. package/docs/.nojekyll +0 -0
  9. package/docs/404.html +613 -0
  10. package/docs/architecture/index.html +904 -0
  11. package/docs/assets/images/favicon.png +0 -0
  12. package/docs/assets/javascripts/bundle.d7400e89.min.js +16 -0
  13. package/docs/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
  14. package/docs/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
  15. package/docs/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
  16. package/docs/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
  17. package/docs/assets/javascripts/lunr/min/lunr.el.min.js +1 -0
  18. package/docs/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
  19. package/docs/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
  20. package/docs/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
  21. package/docs/assets/javascripts/lunr/min/lunr.he.min.js +1 -0
  22. package/docs/assets/javascripts/lunr/min/lunr.hi.min.js +1 -0
  23. package/docs/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
  24. package/docs/assets/javascripts/lunr/min/lunr.hy.min.js +1 -0
  25. package/docs/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
  26. package/docs/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
  27. package/docs/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
  28. package/docs/assets/javascripts/lunr/min/lunr.kn.min.js +1 -0
  29. package/docs/assets/javascripts/lunr/min/lunr.ko.min.js +1 -0
  30. package/docs/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
  31. package/docs/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
  32. package/docs/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
  33. package/docs/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
  34. package/docs/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
  35. package/docs/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
  36. package/docs/assets/javascripts/lunr/min/lunr.sa.min.js +1 -0
  37. package/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
  38. package/docs/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
  39. package/docs/assets/javascripts/lunr/min/lunr.ta.min.js +1 -0
  40. package/docs/assets/javascripts/lunr/min/lunr.te.min.js +1 -0
  41. package/docs/assets/javascripts/lunr/min/lunr.th.min.js +1 -0
  42. package/docs/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
  43. package/docs/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
  44. package/docs/assets/javascripts/lunr/min/lunr.zh.min.js +1 -0
  45. package/docs/assets/javascripts/lunr/tinyseg.js +206 -0
  46. package/docs/assets/javascripts/lunr/wordcut.js +6708 -0
  47. package/docs/assets/javascripts/workers/search.2c215733.min.js +42 -0
  48. package/docs/assets/stylesheets/main.ec1eaa64.min.css +1 -0
  49. package/docs/assets/stylesheets/palette.ab4e12ef.min.css +1 -0
  50. package/docs/git-lifecycle/index.html +976 -0
  51. package/docs/help/index.html +907 -0
  52. package/docs/index.html +837 -0
  53. package/docs/integration/audit/baseline/audit-codes.json +62 -0
  54. package/docs/integration/audit/failure-evidence/index.html +872 -0
  55. package/docs/integration/audit/independence/index.html +841 -0
  56. package/docs/integration/audit/index.html +826 -0
  57. package/docs/integration/audit/mutation-taxonomy/index.html +1022 -0
  58. package/docs/integration/audit/schemas/audit-evidence.schema.json +182 -0
  59. package/docs/integration/audit/version-compatibility/index.html +845 -0
  60. package/docs/migration/index.html +1213 -0
  61. package/docs/quickstart/index.html +842 -0
  62. package/docs/search/search_index.json +1 -0
  63. package/docs/setup/index.html +941 -0
  64. package/docs/sitemap.xml +51 -0
  65. package/package.json +42 -0
  66. package/src/adopt-plan.mjs +594 -0
  67. package/src/check.mjs +415 -0
  68. package/src/cli.mjs +230 -0
  69. package/src/errors.mjs +144 -0
  70. package/src/gitprobe.mjs +230 -0
  71. package/src/identity-check.mjs +563 -0
  72. package/src/index.mjs +233 -0
  73. package/src/license-texts/Apache-2.0.txt +201 -0
  74. package/src/license-texts/MIT.txt +21 -0
  75. package/src/licensing.mjs +299 -0
  76. package/src/migration.mjs +427 -0
  77. package/src/projection.mjs +397 -0
  78. package/src/scaffold.mjs +178 -0
  79. package/src/skeleton.mjs +886 -0
  80. package/src/workspace.mjs +236 -0
@@ -0,0 +1,182 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://audit.integration.skill-family.example/v1/audit-evidence.json",
4
+ "title": "AuditEvidence",
5
+ "description": "Machine-readable failure-evidence document emitted by the independent audit runner (FND-060). Audit-owned format: it is validated through the consumed Contracts validator but is not registered in the Contracts schema registry, because audit verdicts are audit authority, not contracts authority.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schemaVersion",
10
+ "kind",
11
+ "auditId",
12
+ "generatedAt",
13
+ "consumer",
14
+ "verdict",
15
+ "classCoverage",
16
+ "fixtureResults",
17
+ "findings"
18
+ ],
19
+ "properties": {
20
+ "schemaVersion": {
21
+ "const": 1
22
+ },
23
+ "kind": {
24
+ "const": "skill-family.audit.evidence"
25
+ },
26
+ "auditId": {
27
+ "type": "string",
28
+ "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
29
+ "description": "Stable identifier of the audit run configuration."
30
+ },
31
+ "generatedAt": {
32
+ "type": "string",
33
+ "format": "date-time",
34
+ "description": "RFC 3339 date-time when the evidence was produced."
35
+ },
36
+ "consumer": {
37
+ "type": "object",
38
+ "additionalProperties": false,
39
+ "required": ["contractsVersion", "auditSurfaceVersion", "surfaceDigest"],
40
+ "properties": {
41
+ "contractsVersion": {
42
+ "type": "string",
43
+ "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
44
+ },
45
+ "auditSurfaceVersion": {
46
+ "type": "integer",
47
+ "minimum": 1
48
+ },
49
+ "surfaceDigest": {
50
+ "type": "object",
51
+ "additionalProperties": false,
52
+ "required": ["algorithm", "value"],
53
+ "properties": {
54
+ "algorithm": {
55
+ "const": "sha256"
56
+ },
57
+ "value": {
58
+ "type": "string",
59
+ "pattern": "^[0-9a-f]{64}$"
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "description": "The exact consumed Contracts package, pinned by version coordinates and surface digest."
65
+ },
66
+ "verdict": {
67
+ "enum": ["pass", "fail"],
68
+ "description": "pass only when zero findings remain; any missed mutation class forces fail."
69
+ },
70
+ "classCoverage": {
71
+ "type": "object",
72
+ "additionalProperties": false,
73
+ "required": ["structure", "semantics", "digest", "omission", "engine"],
74
+ "properties": {
75
+ "structure": { "$ref": "#/$defs/classCoverage" },
76
+ "semantics": { "$ref": "#/$defs/classCoverage" },
77
+ "digest": { "$ref": "#/$defs/classCoverage" },
78
+ "omission": { "$ref": "#/$defs/classCoverage" },
79
+ "engine": { "$ref": "#/$defs/classCoverage" }
80
+ }
81
+ },
82
+ "fixtureResults": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "object",
86
+ "additionalProperties": false,
87
+ "required": ["fixtureId", "mutationClass", "expectedAuditCode", "detected"],
88
+ "properties": {
89
+ "fixtureId": {
90
+ "type": "string",
91
+ "pattern": "^AUD-M[1-5]-[0-9]{2}$"
92
+ },
93
+ "mutationClass": {
94
+ "enum": ["structure", "semantics", "digest", "omission", "engine"]
95
+ },
96
+ "expectedAuditCode": {
97
+ "type": "string",
98
+ "pattern": "^AUD-[A-Z0-9]+(-[A-Z0-9]+)*$"
99
+ },
100
+ "detected": {
101
+ "type": "boolean"
102
+ },
103
+ "observed": {
104
+ "type": "object",
105
+ "description": "Detector observation; shape varies per mutation class."
106
+ }
107
+ }
108
+ }
109
+ },
110
+ "findings": {
111
+ "type": "array",
112
+ "items": { "$ref": "#/$defs/finding" }
113
+ }
114
+ },
115
+ "$defs": {
116
+ "classCoverage": {
117
+ "type": "object",
118
+ "additionalProperties": false,
119
+ "required": ["fixtures", "detected", "required", "satisfied"],
120
+ "properties": {
121
+ "fixtures": {
122
+ "type": "integer",
123
+ "minimum": 0,
124
+ "description": "Fixtures loaded for this class."
125
+ },
126
+ "detected": {
127
+ "type": "integer",
128
+ "minimum": 0,
129
+ "description": "Fixtures whose mutation was detected as expected."
130
+ },
131
+ "required": {
132
+ "type": "integer",
133
+ "minimum": 1,
134
+ "description": "Frozen per-class fixture minimum."
135
+ },
136
+ "satisfied": {
137
+ "type": "boolean",
138
+ "description": "fixtures >= required and detected >= 1."
139
+ }
140
+ }
141
+ },
142
+ "finding": {
143
+ "type": "object",
144
+ "additionalProperties": false,
145
+ "required": ["findingId", "auditCode", "severity", "summary", "detected"],
146
+ "properties": {
147
+ "findingId": {
148
+ "type": "string",
149
+ "pattern": "^F-[0-9]{4}$"
150
+ },
151
+ "auditCode": {
152
+ "type": "string",
153
+ "pattern": "^AUD-[A-Z0-9]+(-[A-Z0-9]+)*$",
154
+ "description": "Audit-owned stable code from baseline/audit-codes.json."
155
+ },
156
+ "severity": {
157
+ "enum": ["mandatory"],
158
+ "description": "v1 freezes a single severity: every finding fails the verdict."
159
+ },
160
+ "mutationClass": {
161
+ "enum": ["structure", "semantics", "digest", "omission", "engine", null]
162
+ },
163
+ "fixtureId": {
164
+ "type": ["string", "null"],
165
+ "pattern": "^AUD-M[1-5]-[0-9]{2}$"
166
+ },
167
+ "detected": {
168
+ "type": "boolean",
169
+ "description": "True for positive detections of violations; false would indicate a miss, which is always escalated to AUD-MISS-001."
170
+ },
171
+ "summary": {
172
+ "type": "string",
173
+ "minLength": 1
174
+ },
175
+ "details": {
176
+ "type": "object",
177
+ "description": "Machine-readable detail payload; shape depends on the audit code."
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }