@fulmenhq/tsfulmen 0.2.0 → 0.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 (111) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/README.md +61 -7
  3. package/config/crucible-ts/agentic/roles/README.md +3 -3
  4. package/config/crucible-ts/library/fulencode/fixtures/README.md +18 -0
  5. package/config/crucible-ts/library/fulencode/fixtures/bom/bom.yaml +14 -0
  6. package/config/crucible-ts/library/fulencode/fixtures/detection/detection.yaml +12 -0
  7. package/config/crucible-ts/library/fulencode/fixtures/invalid-encodings/base64.yaml +10 -0
  8. package/config/crucible-ts/library/fulencode/fixtures/normalization/text-safe.yaml +10 -0
  9. package/config/crucible-ts/library/fulencode/fixtures/telemetry/telemetry-test-cases.yaml +24 -0
  10. package/config/crucible-ts/library/fulencode/fixtures/valid-encodings/base64.yaml +11 -0
  11. package/config/crucible-ts/taxonomy/library/platform-modules/v1.0.0/modules.yaml +2 -2
  12. package/config/crucible-ts/taxonomy/metrics.yaml +79 -1
  13. package/dist/appidentity/index.d.ts +31 -109
  14. package/dist/appidentity/index.js +369 -60
  15. package/dist/appidentity/index.js.map +1 -1
  16. package/dist/config/index.d.ts +46 -1
  17. package/dist/config/index.js +427 -62
  18. package/dist/config/index.js.map +1 -1
  19. package/dist/crucible/index.js +367 -59
  20. package/dist/crucible/index.js.map +1 -1
  21. package/dist/errors/index.d.ts +1 -1
  22. package/dist/errors/index.js +367 -59
  23. package/dist/errors/index.js.map +1 -1
  24. package/dist/foundry/index.d.ts +2 -1
  25. package/dist/foundry/index.js +368 -60
  26. package/dist/foundry/index.js.map +1 -1
  27. package/dist/fulencode/index.d.ts +102 -0
  28. package/dist/fulencode/index.js +806 -0
  29. package/dist/fulencode/index.js.map +1 -0
  30. package/dist/index.d.ts +4 -3
  31. package/dist/index.js +370 -61
  32. package/dist/index.js.map +1 -1
  33. package/dist/pathfinder/index.d.ts +1 -1
  34. package/dist/pathfinder/index.js +367 -59
  35. package/dist/pathfinder/index.js.map +1 -1
  36. package/dist/reports/license-inventory.csv +31 -24
  37. package/dist/schema/index.d.ts +16 -3
  38. package/dist/schema/index.js +368 -60
  39. package/dist/schema/index.js.map +1 -1
  40. package/dist/signals/index.d.ts +483 -395
  41. package/dist/signals/index.js +368 -60
  42. package/dist/signals/index.js.map +1 -1
  43. package/dist/telemetry/http/index.js +368 -59
  44. package/dist/telemetry/http/index.js.map +1 -1
  45. package/dist/telemetry/index.d.ts +1 -1
  46. package/dist/telemetry/index.js +367 -59
  47. package/dist/telemetry/index.js.map +1 -1
  48. package/dist/telemetry/prometheus/index.d.ts +1 -1
  49. package/dist/telemetry/prometheus/index.js +369 -59
  50. package/dist/telemetry/prometheus/index.js.map +1 -1
  51. package/dist/{types-BJswWpQC.d.ts → types-DdoeE7F5.d.ts} +1 -1
  52. package/dist/types-Dv5TERCM.d.ts +108 -0
  53. package/package.json +13 -8
  54. package/schemas/crucible-ts/library/fulencode/v1.0.0/README.md +37 -0
  55. package/schemas/crucible-ts/library/fulencode/v1.0.0/bom-result.schema.json +48 -0
  56. package/schemas/crucible-ts/library/fulencode/v1.0.0/decode-options.schema.json +60 -0
  57. package/schemas/crucible-ts/library/fulencode/v1.0.0/decoding-result.schema.json +70 -0
  58. package/schemas/crucible-ts/library/fulencode/v1.0.0/detect-options.schema.json +25 -0
  59. package/schemas/crucible-ts/library/fulencode/v1.0.0/detection-result.schema.json +57 -0
  60. package/schemas/crucible-ts/library/fulencode/v1.0.0/encode-options.schema.json +71 -0
  61. package/schemas/crucible-ts/library/fulencode/v1.0.0/encoding-result.schema.json +57 -0
  62. package/schemas/crucible-ts/library/fulencode/v1.0.0/fulencode-config.schema.json +8 -4
  63. package/schemas/crucible-ts/library/fulencode/v1.0.0/fulencode-error.schema.json +66 -0
  64. package/schemas/crucible-ts/library/fulencode/v1.0.0/normalization-result.schema.json +73 -0
  65. package/schemas/crucible-ts/library/fulencode/v1.0.0/normalize-options.schema.json +44 -0
  66. package/schemas/crucible-ts/meta/README.md +38 -2
  67. package/schemas/crucible-ts/meta/draft-04/schema.json +222 -0
  68. package/schemas/crucible-ts/meta/draft-06/schema.json +218 -0
  69. package/schemas/crucible-ts/meta/draft-2019-09/meta/applicator.json +93 -0
  70. package/schemas/crucible-ts/meta/draft-2019-09/meta/content.json +21 -0
  71. package/schemas/crucible-ts/meta/draft-2019-09/meta/core.json +58 -0
  72. package/schemas/crucible-ts/meta/draft-2019-09/meta/format.json +15 -0
  73. package/schemas/crucible-ts/meta/draft-2019-09/meta/meta-data.json +35 -0
  74. package/schemas/crucible-ts/meta/draft-2019-09/meta/validation.json +119 -0
  75. package/schemas/crucible-ts/meta/draft-2019-09/offline.schema.json +148 -0
  76. package/schemas/crucible-ts/meta/draft-2019-09/schema.json +62 -0
  77. package/schemas/crucible-ts/meta/fixtures/draft-04-sample.json +16 -0
  78. package/schemas/crucible-ts/meta/fixtures/draft-06-sample.json +16 -0
  79. package/schemas/crucible-ts/meta/fixtures/draft-07-sample.json +34 -0
  80. package/schemas/crucible-ts/meta/fixtures/draft-2019-09-sample.json +21 -0
  81. package/schemas/crucible-ts/meta/fixtures/draft-2020-12-sample.json +21 -0
  82. package/schemas/crucible-ts/taxonomy/library/fulencode/normalization-profiles/v1.0.0/profiles.yaml +16 -0
  83. package/schemas/crucible-ts/upstream/3leaps/crucible/PROVENANCE.md +64 -0
  84. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/access-tier.dimension.json +103 -0
  85. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/retention-lifecycle.dimension.json +103 -0
  86. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/schema-stability.dimension.json +100 -0
  87. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/sensitivity.dimension.json +130 -0
  88. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/velocity-mode.dimension.json +79 -0
  89. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/volatility.dimension.json +72 -0
  90. package/schemas/crucible-ts/upstream/3leaps/crucible/config/classifiers/dimensions/volume-tier.dimension.json +66 -0
  91. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/catalog/classifiers/README.md +29 -0
  92. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/access-tier-classification.md +163 -0
  93. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/classifiers-framework.md +157 -0
  94. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/data-sensitivity-classification.md +259 -0
  95. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/retention-lifecycle-classification.md +200 -0
  96. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/schema-stability-classification.md +205 -0
  97. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/velocity-mode-classification.md +222 -0
  98. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/volatility-classification.md +209 -0
  99. package/schemas/crucible-ts/upstream/3leaps/crucible/docs/standards/volume-tier-classification.md +200 -0
  100. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/ailink/v0/README.md +48 -0
  101. package/schemas/crucible-ts/upstream/3leaps/{ailink → crucible/schemas/ailink}/v0/prompt.schema.json +4 -18
  102. package/schemas/crucible-ts/upstream/3leaps/{ailink → crucible/schemas/ailink}/v0/search-response.schema.json +7 -37
  103. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/classifiers/v0/dimension-definition.schema.json +247 -0
  104. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/classifiers/v0/sensitivity-level.schema.json +67 -0
  105. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/foundation/v0/error-response.schema.json +59 -0
  106. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/foundation/v0/lifecycle-phases.data.json +102 -0
  107. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/foundation/v0/lifecycle-phases.schema.json +101 -0
  108. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/foundation/v0/release-phase.schema.json +18 -0
  109. package/schemas/crucible-ts/upstream/3leaps/crucible/schemas/foundation/v0/types.schema.json +177 -0
  110. package/schemas/crucible-ts/upstream/3leaps/PROVENANCE.md +0 -43
  111. /package/schemas/crucible-ts/upstream/3leaps/{agentic → crucible/schemas/agentic}/v0/role-prompt.schema.json +0 -0
@@ -0,0 +1,177 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.3leaps.dev/foundation/v0/types.schema.json",
4
+ "title": "3leaps Foundation Types",
5
+ "description": "Shared type definitions used across 3leaps and partner ecosystem schemas. Import via $ref.",
6
+ "$defs": {
7
+ "slug": {
8
+ "type": "string",
9
+ "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
10
+ "minLength": 2,
11
+ "maxLength": 64,
12
+ "description": "URL-safe lowercase identifier with hyphens",
13
+ "examples": ["my-project", "api-gateway", "user-service"]
14
+ },
15
+ "slugRef": {
16
+ "type": "string",
17
+ "pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
18
+ "description": "Reference to a slug defined elsewhere"
19
+ },
20
+ "timestamp": {
21
+ "type": "string",
22
+ "format": "date-time",
23
+ "description": "ISO 8601 timestamp with timezone (UTC preferred)",
24
+ "examples": ["2024-12-16T14:30:00Z", "2024-12-16T09:30:00-05:00"]
25
+ },
26
+ "semver": {
27
+ "type": "string",
28
+ "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
29
+ "description": "Semantic version string (SemVer 2.0.0)",
30
+ "examples": ["1.0.0", "2.1.0-beta.1", "18.1.3+build.456"]
31
+ },
32
+ "versionConstraint": {
33
+ "type": "string",
34
+ "pattern": "^(>=?|<=?|=|~|\\^)?\\d+(\\.\\d+)?(\\.\\d+)?$",
35
+ "description": "Version constraint for dependency resolution",
36
+ "examples": [">=1.0.0", "^2.0.0", "~18.1.0", "=3.0.0"]
37
+ },
38
+ "schemaVersion": {
39
+ "type": "string",
40
+ "pattern": "^\\d+\\.\\d+\\.\\d+$",
41
+ "description": "Semantic version of a schema this document conforms to",
42
+ "examples": ["1.0.0", "2.1.0"]
43
+ },
44
+ "url": {
45
+ "type": "string",
46
+ "format": "uri",
47
+ "pattern": "^https?://",
48
+ "description": "HTTP or HTTPS URL",
49
+ "examples": ["https://example.com", "http://localhost:8000"]
50
+ },
51
+ "hostname": {
52
+ "type": "string",
53
+ "format": "hostname",
54
+ "description": "Valid DNS hostname",
55
+ "examples": ["app.example.com", "api-01.internal"]
56
+ },
57
+ "domainName": {
58
+ "type": "string",
59
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$",
60
+ "description": "Fully qualified domain name",
61
+ "examples": ["example.com", "app.mycompany.io"]
62
+ },
63
+ "port": {
64
+ "type": "integer",
65
+ "minimum": 1,
66
+ "maximum": 65535,
67
+ "description": "TCP/UDP port number"
68
+ },
69
+ "ipv4Address": {
70
+ "type": "string",
71
+ "format": "ipv4",
72
+ "description": "IPv4 address",
73
+ "examples": ["192.168.1.1", "10.0.0.1"]
74
+ },
75
+ "ipv6Address": {
76
+ "type": "string",
77
+ "format": "ipv6",
78
+ "description": "IPv6 address"
79
+ },
80
+ "cidrBlock": {
81
+ "type": "string",
82
+ "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}/[0-9]{1,2}$",
83
+ "description": "IPv4 CIDR notation",
84
+ "examples": ["10.0.0.0/8", "192.168.1.0/24", "0.0.0.0/0"]
85
+ },
86
+ "emailAddress": {
87
+ "type": "string",
88
+ "format": "email",
89
+ "description": "Email address"
90
+ },
91
+ "filePath": {
92
+ "type": "string",
93
+ "pattern": "^/[^\\0]*$",
94
+ "description": "Absolute POSIX file path",
95
+ "examples": ["/etc/config.yaml", "/var/lib/data"]
96
+ },
97
+ "relativePath": {
98
+ "type": "string",
99
+ "pattern": "^\\.?/?[^\\0]+$",
100
+ "description": "Relative file path (may start with ./ or just filename)",
101
+ "examples": ["./config.yaml", "configs/main.yaml", "../shared/base.yaml"]
102
+ },
103
+ "anyPath": {
104
+ "type": "string",
105
+ "pattern": "^(\\.?/)?[^\\0]+$",
106
+ "description": "File path (absolute or relative)",
107
+ "examples": ["/etc/config.yaml", "./config.yaml", "config.yaml"]
108
+ },
109
+ "sha256Hash": {
110
+ "type": "string",
111
+ "pattern": "^sha256:[a-f0-9]{64}$",
112
+ "description": "SHA-256 hash with prefix",
113
+ "examples": ["sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]
114
+ },
115
+ "nonEmptyString": {
116
+ "type": "string",
117
+ "minLength": 1,
118
+ "description": "String that cannot be empty"
119
+ },
120
+ "positiveInteger": {
121
+ "type": "integer",
122
+ "minimum": 1,
123
+ "description": "Integer greater than zero"
124
+ },
125
+ "nonNegativeInteger": {
126
+ "type": "integer",
127
+ "minimum": 0,
128
+ "description": "Integer zero or greater"
129
+ },
130
+ "percentage": {
131
+ "type": "number",
132
+ "minimum": 0,
133
+ "maximum": 100,
134
+ "description": "Percentage value 0-100"
135
+ },
136
+ "durationSeconds": {
137
+ "type": "integer",
138
+ "minimum": 0,
139
+ "description": "Duration in seconds"
140
+ },
141
+ "durationMilliseconds": {
142
+ "type": "integer",
143
+ "minimum": 0,
144
+ "description": "Duration in milliseconds"
145
+ },
146
+ "byteSize": {
147
+ "type": "integer",
148
+ "minimum": 0,
149
+ "description": "Size in bytes"
150
+ },
151
+ "keyValuePair": {
152
+ "type": "object",
153
+ "properties": {
154
+ "key": { "type": "string" },
155
+ "value": { "type": "string" }
156
+ },
157
+ "required": ["key", "value"],
158
+ "additionalProperties": false
159
+ },
160
+ "labelSet": {
161
+ "type": "object",
162
+ "additionalProperties": { "type": "string" },
163
+ "propertyNames": { "pattern": "^[a-z][a-z0-9_]*$" },
164
+ "description": "Key-value labels for metadata and filtering"
165
+ },
166
+ "tagList": {
167
+ "type": "array",
168
+ "items": { "$ref": "#/$defs/slug" },
169
+ "uniqueItems": true,
170
+ "description": "List of unique tag slugs"
171
+ },
172
+ "markdown": {
173
+ "type": "string",
174
+ "description": "Markdown-formatted text content"
175
+ }
176
+ }
177
+ }
@@ -1,43 +0,0 @@
1
- # Provenance: 3leaps/crucible
2
-
3
- **DO NOT EDIT THESE FILES.** They are vendored copies from upstream.
4
-
5
- ## Source
6
-
7
- | Field | Value |
8
- | ---------- | ----------------------------------------- |
9
- | Repository | https://github.com/3leaps/crucible |
10
- | Tag | v0.1.3 |
11
- | Commit | 92a37c41c0b66cc595e963a990082e388c2c9abc |
12
- | Date | 2026-01-02 |
13
- | Synced By | devlead (Claude Opus 4.5 via Claude Code) |
14
-
15
- ## Files Included
16
-
17
- ```
18
- 3leaps/
19
- ├── ailink/v0/
20
- │ ├── prompt.schema.json
21
- │ └── search-response.schema.json
22
- └── agentic/v0/
23
- └── role-prompt.schema.json
24
- ```
25
-
26
- ## Canonical URLs
27
-
28
- These schemas are canonically hosted at:
29
-
30
- - `https://schemas.3leaps.dev/ailink/v0/prompt.schema.json`
31
- - `https://schemas.3leaps.dev/ailink/v0/search-response.schema.json`
32
- - `https://schemas.3leaps.dev/agentic/v0/role-prompt.schema.json`
33
-
34
- ## Refresh
35
-
36
- To refresh from upstream:
37
-
38
- ```bash
39
- cd /path/to/3leaps/crucible && git pull
40
- cp schemas/ailink/v0/*.json /path/to/fulmenhq/crucible/schemas/upstream/3leaps/ailink/v0/
41
- cp schemas/agentic/v0/*.json /path/to/fulmenhq/crucible/schemas/upstream/3leaps/agentic/v0/
42
- # Update this PROVENANCE.md with new commit hash and date
43
- ```