@altopelago/sansa 0.15.0-rc.2 → 0.15.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/CHANGELOG.md +33 -0
- package/README.md +8 -6
- package/conformance/aeonic-anchor-claims.json +8 -8
- package/conformance/aeonic-clock-claims.json +10 -10
- package/conformance/aeonic-datetime-claims.json +9 -9
- package/conformance/aeonic-temporal-claims.json +9 -9
- package/conformance/cts-claims.json +1 -1
- package/conformance/results/aeonic-anchor-bounded-expansion-2026-11-24.json +39 -0
- package/conformance/results/aeonic-anchor-capacity-bounded-expansion-2026-11-24.json +452 -0
- package/conformance/results/aeonic-anchor-capacity-rc3-2026-11-24.json +452 -0
- package/conformance/results/aeonic-anchor-capacity-stable-2026-11-25.json +452 -0
- package/conformance/results/aeonic-anchor-rc3-2026-11-24.json +39 -0
- package/conformance/results/aeonic-anchor-stable-2026-11-25.json +39 -0
- package/conformance/results/aeonic-clock-all-bounded-expansion-2026-11-24.json +49 -0
- package/conformance/results/aeonic-clock-all-rc3-2026-11-24.json +49 -0
- package/conformance/results/aeonic-clock-all-stable-2026-11-25.json +49 -0
- package/conformance/results/aeonic-clock-arithmetic-bounded-expansion-2026-11-24.json +48 -0
- package/conformance/results/aeonic-clock-arithmetic-rc3-2026-11-24.json +48 -0
- package/conformance/results/aeonic-clock-arithmetic-stable-2026-11-25.json +48 -0
- package/conformance/results/aeonic-clock-capacity-bounded-expansion-2026-11-24.json +326 -0
- package/conformance/results/aeonic-clock-capacity-rc3-2026-11-24.json +326 -0
- package/conformance/results/aeonic-clock-capacity-stable-2026-11-25.json +326 -0
- package/conformance/results/aeonic-clock-relations-bounded-expansion-2026-11-24.json +48 -0
- package/conformance/results/aeonic-clock-relations-rc3-2026-11-24.json +48 -0
- package/conformance/results/aeonic-clock-relations-stable-2026-11-25.json +48 -0
- package/conformance/results/aeonic-datetime-all-bounded-expansion-2026-11-24.json +47 -0
- package/conformance/results/aeonic-datetime-all-rc3-2026-11-24.json +47 -0
- package/conformance/results/aeonic-datetime-all-stable-2026-11-25.json +47 -0
- package/conformance/results/aeonic-datetime-arithmetic-bounded-expansion-2026-11-24.json +46 -0
- package/conformance/results/aeonic-datetime-arithmetic-rc3-2026-11-24.json +46 -0
- package/conformance/results/aeonic-datetime-arithmetic-stable-2026-11-25.json +46 -0
- package/conformance/results/aeonic-datetime-capacity-bounded-expansion-2026-11-24.json +302 -0
- package/conformance/results/aeonic-datetime-capacity-rc3-2026-11-24.json +302 -0
- package/conformance/results/aeonic-datetime-capacity-stable-2026-11-25.json +302 -0
- package/conformance/results/aeonic-datetime-relations-bounded-expansion-2026-11-24.json +46 -0
- package/conformance/results/aeonic-datetime-relations-rc3-2026-11-24.json +46 -0
- package/conformance/results/aeonic-datetime-relations-stable-2026-11-25.json +46 -0
- package/conformance/results/aeonic-temporal-all-bounded-expansion-2026-11-24.json +39 -0
- package/conformance/results/aeonic-temporal-all-rc3-2026-11-24.json +39 -0
- package/conformance/results/aeonic-temporal-all-stable-2026-11-25.json +39 -0
- package/conformance/results/aeonic-temporal-calendar-bounded-expansion-2026-11-24.json +38 -0
- package/conformance/results/aeonic-temporal-calendar-rc3-2026-11-24.json +38 -0
- package/conformance/results/aeonic-temporal-calendar-stable-2026-11-25.json +38 -0
- package/conformance/results/aeonic-temporal-capacity-bounded-expansion-2026-11-24.json +136 -0
- package/conformance/results/aeonic-temporal-capacity-rc3-2026-11-24.json +136 -0
- package/conformance/results/aeonic-temporal-capacity-stable-2026-11-25.json +136 -0
- package/conformance/results/aeonic-temporal-relations-bounded-expansion-2026-11-24.json +38 -0
- package/conformance/results/aeonic-temporal-relations-rc3-2026-11-24.json +38 -0
- package/conformance/results/aeonic-temporal-relations-stable-2026-11-25.json +38 -0
- package/docs/capabilities.json +1 -1
- package/docs/migration-0.15.0.md +14 -2
- package/package.json +1 -1
- package/src/index.js +31 -7
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": "passed",
|
|
3
|
+
"checks": 18,
|
|
4
|
+
"sut": "node scripts/cts-aeonic-temporal-civil-date-adapter.mjs",
|
|
5
|
+
"cases": [
|
|
6
|
+
{
|
|
7
|
+
"name": "request-bytes-at-16384",
|
|
8
|
+
"status": "passed",
|
|
9
|
+
"companion_limits": {}
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "request-bytes-over-16384",
|
|
13
|
+
"status": "passed",
|
|
14
|
+
"companion_limits": {}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "depth-32",
|
|
18
|
+
"status": "passed",
|
|
19
|
+
"companion_limits": {}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "depth-33",
|
|
23
|
+
"status": "passed",
|
|
24
|
+
"companion_limits": {}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "input-ranges-at-128",
|
|
28
|
+
"status": "passed",
|
|
29
|
+
"companion_limits": {}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "input-ranges-over-128",
|
|
33
|
+
"status": "passed",
|
|
34
|
+
"companion_limits": {}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "count-characters-at-32",
|
|
38
|
+
"status": "passed",
|
|
39
|
+
"companion_limits": {}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "count-characters-over-32",
|
|
43
|
+
"status": "passed",
|
|
44
|
+
"companion_limits": {}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "output-ranges-0524-12-31",
|
|
48
|
+
"status": "passed",
|
|
49
|
+
"companion_limits": {
|
|
50
|
+
"maxCalendarWork": 7000
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "output-ranges-0528-12-31",
|
|
55
|
+
"status": "passed",
|
|
56
|
+
"companion_limits": {
|
|
57
|
+
"maxCalendarWork": 7000
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "calendar-work-0342-04-30",
|
|
62
|
+
"status": "passed",
|
|
63
|
+
"companion_limits": {
|
|
64
|
+
"maxOutputRanges": 4096,
|
|
65
|
+
"maxResultBytes": 524288
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "calendar-work-0342-05-31",
|
|
70
|
+
"status": "passed",
|
|
71
|
+
"companion_limits": {
|
|
72
|
+
"maxOutputRanges": 4096,
|
|
73
|
+
"maxResultBytes": 524288
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "output-characters-at-10",
|
|
78
|
+
"status": "passed",
|
|
79
|
+
"companion_limits": {}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "output-characters-below-10",
|
|
83
|
+
"status": "passed",
|
|
84
|
+
"companion_limits": {
|
|
85
|
+
"maxOutputCharacters": 9
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "native-result-bytes-below-16384",
|
|
90
|
+
"status": "passed",
|
|
91
|
+
"companion_limits": {
|
|
92
|
+
"maxInputRanges": 383,
|
|
93
|
+
"maxOutputRanges": 383,
|
|
94
|
+
"maxCalendarWork": 383,
|
|
95
|
+
"maxRequestBytes": 65536
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "native-result-bytes-over-16384",
|
|
100
|
+
"status": "passed",
|
|
101
|
+
"companion_limits": {
|
|
102
|
+
"maxInputRanges": 383,
|
|
103
|
+
"maxOutputRanges": 383,
|
|
104
|
+
"maxCalendarWork": 383,
|
|
105
|
+
"maxRequestBytes": 65536
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "exact-result-byte-boundary",
|
|
110
|
+
"status": "passed",
|
|
111
|
+
"companion_limits": {
|
|
112
|
+
"maxInputRanges": 383,
|
|
113
|
+
"maxOutputRanges": 383,
|
|
114
|
+
"maxCalendarWork": 383,
|
|
115
|
+
"maxRequestBytes": 65536,
|
|
116
|
+
"maxResultBytes": 16350
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "exact-result-byte-boundary-minus-one",
|
|
121
|
+
"status": "passed",
|
|
122
|
+
"companion_limits": {
|
|
123
|
+
"maxInputRanges": 383,
|
|
124
|
+
"maxOutputRanges": 383,
|
|
125
|
+
"maxCalendarWork": 383,
|
|
126
|
+
"maxRequestBytes": 65536,
|
|
127
|
+
"maxResultBytes": 16349
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"result_byte_probe": {
|
|
132
|
+
"last_reachable_below_default": 16350,
|
|
133
|
+
"next_reachable": 16392
|
|
134
|
+
},
|
|
135
|
+
"limits": "Companion limits isolate dimensions. Count32 admits syntax then rejects domain at stage6. Date spellings have at most10characters. No Cartesian-product, elapsed-time, heap or process-capacity guarantee."
|
|
136
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": "passed",
|
|
3
|
+
"target": "aeonic-temporal-civil-date-cts-v1-snapshot-0.1",
|
|
4
|
+
"target_status": "immutable-local",
|
|
5
|
+
"stable_conformance_claim": true,
|
|
6
|
+
"semantic_execution": true,
|
|
7
|
+
"capabilities": [
|
|
8
|
+
"relations"
|
|
9
|
+
],
|
|
10
|
+
"excluded_unclaimed_capability_cases": 120,
|
|
11
|
+
"operation_cases": 63,
|
|
12
|
+
"chains": 0,
|
|
13
|
+
"law_groups": 1,
|
|
14
|
+
"sut_executions": 171,
|
|
15
|
+
"assertions": 185,
|
|
16
|
+
"manifest_sha256": "a4492f02990fe915cbf6eacf571c85cd5c79412e52ee97cef532904c616c47f3",
|
|
17
|
+
"runner_sha256": "51365d57a3060357fcfabdc9345a96188659d5acdd96e72410b066ca00ba18cd",
|
|
18
|
+
"specification_source_sha256": "3bd2ddebc945fc0ddc2f2fcc9f993d7b88ba0ec8cf55f78ac34036ab8c1fbfc8",
|
|
19
|
+
"specification_schema_sha256": "34f516c6a131c886f9482bf703020b193ed205de6eb7f66136e22d3447a7fd93",
|
|
20
|
+
"helper_hashes": {
|
|
21
|
+
"runners/run_aeonic_arithmetic.py": "4688056a3753d67dbaa03902d2b39e760b385153869a646cf75c6ae43bcfc5e2",
|
|
22
|
+
"runners/run_aeonic_rational_arithmetic.py": "e1c74ff3f46d6d6ff9bbefd81eee44d2eddd14a664b97cf62eb983e98d78de90",
|
|
23
|
+
"runners/temporal_civil_date_checks.py": "ff2f4a00155874eb5c0b546e934fb3320dbf2e4c18c69db89bdba14ec0968489"
|
|
24
|
+
},
|
|
25
|
+
"resource_limits": {
|
|
26
|
+
"maxRequestBytes": 16384,
|
|
27
|
+
"maxRequestDepth": 32,
|
|
28
|
+
"maxInputRanges": 128,
|
|
29
|
+
"maxCountCharacters": 32,
|
|
30
|
+
"maxOutputRanges": 128,
|
|
31
|
+
"maxCalendarWork": 4096,
|
|
32
|
+
"maxOutputCharacters": 10,
|
|
33
|
+
"maxResultBytes": 16384
|
|
34
|
+
},
|
|
35
|
+
"sut": "node scripts/cts-aeonic-temporal-civil-date-adapter.mjs --capability-set relations",
|
|
36
|
+
"cwd": ".",
|
|
37
|
+
"failures": []
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": "passed",
|
|
3
|
+
"target": "aeonic-temporal-civil-date-cts-v1-snapshot-0.1",
|
|
4
|
+
"target_status": "immutable-local",
|
|
5
|
+
"stable_conformance_claim": true,
|
|
6
|
+
"semantic_execution": true,
|
|
7
|
+
"capabilities": [
|
|
8
|
+
"relations"
|
|
9
|
+
],
|
|
10
|
+
"excluded_unclaimed_capability_cases": 120,
|
|
11
|
+
"operation_cases": 63,
|
|
12
|
+
"chains": 0,
|
|
13
|
+
"law_groups": 1,
|
|
14
|
+
"sut_executions": 171,
|
|
15
|
+
"assertions": 185,
|
|
16
|
+
"manifest_sha256": "a4492f02990fe915cbf6eacf571c85cd5c79412e52ee97cef532904c616c47f3",
|
|
17
|
+
"runner_sha256": "51365d57a3060357fcfabdc9345a96188659d5acdd96e72410b066ca00ba18cd",
|
|
18
|
+
"specification_source_sha256": "3bd2ddebc945fc0ddc2f2fcc9f993d7b88ba0ec8cf55f78ac34036ab8c1fbfc8",
|
|
19
|
+
"specification_schema_sha256": "34f516c6a131c886f9482bf703020b193ed205de6eb7f66136e22d3447a7fd93",
|
|
20
|
+
"helper_hashes": {
|
|
21
|
+
"runners/run_aeonic_arithmetic.py": "4688056a3753d67dbaa03902d2b39e760b385153869a646cf75c6ae43bcfc5e2",
|
|
22
|
+
"runners/run_aeonic_rational_arithmetic.py": "e1c74ff3f46d6d6ff9bbefd81eee44d2eddd14a664b97cf62eb983e98d78de90",
|
|
23
|
+
"runners/temporal_civil_date_checks.py": "ff2f4a00155874eb5c0b546e934fb3320dbf2e4c18c69db89bdba14ec0968489"
|
|
24
|
+
},
|
|
25
|
+
"resource_limits": {
|
|
26
|
+
"maxRequestBytes": 16384,
|
|
27
|
+
"maxRequestDepth": 32,
|
|
28
|
+
"maxInputRanges": 128,
|
|
29
|
+
"maxCountCharacters": 32,
|
|
30
|
+
"maxOutputRanges": 128,
|
|
31
|
+
"maxCalendarWork": 4096,
|
|
32
|
+
"maxOutputCharacters": 10,
|
|
33
|
+
"maxResultBytes": 16384
|
|
34
|
+
},
|
|
35
|
+
"sut": "node scripts/cts-aeonic-temporal-civil-date-adapter.mjs --capability-set relations",
|
|
36
|
+
"cwd": ".",
|
|
37
|
+
"failures": []
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": "passed",
|
|
3
|
+
"target": "aeonic-temporal-civil-date-cts-v1-snapshot-0.1",
|
|
4
|
+
"target_status": "immutable-local",
|
|
5
|
+
"stable_conformance_claim": true,
|
|
6
|
+
"semantic_execution": true,
|
|
7
|
+
"capabilities": [
|
|
8
|
+
"relations"
|
|
9
|
+
],
|
|
10
|
+
"excluded_unclaimed_capability_cases": 120,
|
|
11
|
+
"operation_cases": 63,
|
|
12
|
+
"chains": 0,
|
|
13
|
+
"law_groups": 1,
|
|
14
|
+
"sut_executions": 171,
|
|
15
|
+
"assertions": 185,
|
|
16
|
+
"manifest_sha256": "a4492f02990fe915cbf6eacf571c85cd5c79412e52ee97cef532904c616c47f3",
|
|
17
|
+
"runner_sha256": "51365d57a3060357fcfabdc9345a96188659d5acdd96e72410b066ca00ba18cd",
|
|
18
|
+
"specification_source_sha256": "3bd2ddebc945fc0ddc2f2fcc9f993d7b88ba0ec8cf55f78ac34036ab8c1fbfc8",
|
|
19
|
+
"specification_schema_sha256": "34f516c6a131c886f9482bf703020b193ed205de6eb7f66136e22d3447a7fd93",
|
|
20
|
+
"helper_hashes": {
|
|
21
|
+
"runners/run_aeonic_arithmetic.py": "4688056a3753d67dbaa03902d2b39e760b385153869a646cf75c6ae43bcfc5e2",
|
|
22
|
+
"runners/run_aeonic_rational_arithmetic.py": "e1c74ff3f46d6d6ff9bbefd81eee44d2eddd14a664b97cf62eb983e98d78de90",
|
|
23
|
+
"runners/temporal_civil_date_checks.py": "ff2f4a00155874eb5c0b546e934fb3320dbf2e4c18c69db89bdba14ec0968489"
|
|
24
|
+
},
|
|
25
|
+
"resource_limits": {
|
|
26
|
+
"maxRequestBytes": 16384,
|
|
27
|
+
"maxRequestDepth": 32,
|
|
28
|
+
"maxInputRanges": 128,
|
|
29
|
+
"maxCountCharacters": 32,
|
|
30
|
+
"maxOutputRanges": 128,
|
|
31
|
+
"maxCalendarWork": 4096,
|
|
32
|
+
"maxOutputCharacters": 10,
|
|
33
|
+
"maxResultBytes": 16384
|
|
34
|
+
},
|
|
35
|
+
"sut": "node scripts/cts-aeonic-temporal-civil-date-adapter.mjs --capability-set relations",
|
|
36
|
+
"cwd": ".",
|
|
37
|
+
"failures": []
|
|
38
|
+
}
|
package/docs/capabilities.json
CHANGED
package/docs/migration-0.15.0.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Migrating to SANSA0.15
|
|
2
2
|
|
|
3
|
-
Status:0.15.0
|
|
4
|
-
|
|
3
|
+
Status: 0.15.0 stable preparation, 25 November 2026. RC3 registry and selected
|
|
4
|
+
downstream/combined acceptance are complete. The stable metadata delta still
|
|
5
|
+
requires independent QA, owning checks/merge and actual stable publication plus
|
|
6
|
+
exact installed consumers. No runtime/API/default/target change from RC3.
|
|
5
7
|
|
|
6
8
|
## Included addressing and evaluation behavior
|
|
7
9
|
|
|
@@ -50,6 +52,16 @@ activation does not enable it implicitly.
|
|
|
50
52
|
|
|
51
53
|
## API and resource migration
|
|
52
54
|
|
|
55
|
+
The stable scope retains RC3's merged JavaScript wildcard stabilization: `$.*` and `$.**`
|
|
56
|
+
consume adapter child iterables incrementally under `maxBindings`, stop at the
|
|
57
|
+
first over-limit candidate without partial results, and close active iterators.
|
|
58
|
+
Successful traversal keeps depth-first order, original binding handles and
|
|
59
|
+
repeated occurrences. RC2 may enumerate every child before rejecting the same
|
|
60
|
+
small allowance. The corresponding pure Python source fix belongs to
|
|
61
|
+
[AEON #217](https://github.com/AltoPelago/aeon/pull/217); it does not imply a new
|
|
62
|
+
native-wheel or standalone Python publication here. Namespace construction and
|
|
63
|
+
arbitrary adapter/iterator work remain separate from this expansion guard.
|
|
64
|
+
|
|
53
65
|
Rust enum/option/diagnostic changes may require downstream source updates; follow
|
|
54
66
|
the implementation notes rather than copying metadata fields from an opaque
|
|
55
67
|
adapter. Namespace facets are optional; callers must retain original binding
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -7185,7 +7185,7 @@ function applyResolveSelector(selector, bindings, namespace, selectorIndex, poli
|
|
|
7185
7185
|
case 'parent':
|
|
7186
7186
|
return selectParents(namespace, bindings, selectorIndex, policy);
|
|
7187
7187
|
case 'directExpansion':
|
|
7188
|
-
return { ok: true, bindings: collectSelectedBindings(bindings, (binding) =>
|
|
7188
|
+
return { ok: true, bindings: collectSelectedBindings(bindings, (binding) => iterateChildren(namespace, binding), policy.maxBindings) };
|
|
7189
7189
|
case 'descendantExpansion':
|
|
7190
7190
|
return { ok: true, bindings: collectSelectedBindings(bindings, (binding) => iterateDescendants(namespace, binding), policy.maxBindings) };
|
|
7191
7191
|
case 'namePattern': {
|
|
@@ -7399,13 +7399,37 @@ function getDescendants(namespace, binding) {
|
|
|
7399
7399
|
return Array.from(iterateDescendants(namespace, binding));
|
|
7400
7400
|
}
|
|
7401
7401
|
|
|
7402
|
+
function* iterateChildren(namespace, binding) {
|
|
7403
|
+
if (typeof namespace.children === 'function') {
|
|
7404
|
+
yield* namespace.children(binding) ?? [];
|
|
7405
|
+
} else if (Array.isArray(binding.children)) {
|
|
7406
|
+
yield* binding.children;
|
|
7407
|
+
}
|
|
7408
|
+
}
|
|
7409
|
+
|
|
7402
7410
|
function* iterateDescendants(namespace, binding) {
|
|
7403
|
-
const stack = [
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7411
|
+
const stack = [iterateChildren(namespace, binding)];
|
|
7412
|
+
try {
|
|
7413
|
+
while (stack.length > 0) {
|
|
7414
|
+
const next = stack[stack.length - 1].next();
|
|
7415
|
+
if (next.done) {
|
|
7416
|
+
stack.pop();
|
|
7417
|
+
} else {
|
|
7418
|
+
yield next.value;
|
|
7419
|
+
stack.push(iterateChildren(namespace, next.value));
|
|
7420
|
+
}
|
|
7421
|
+
}
|
|
7422
|
+
} finally {
|
|
7423
|
+
let failed = false;
|
|
7424
|
+
let failure;
|
|
7425
|
+
while (stack.length > 0) {
|
|
7426
|
+
try {
|
|
7427
|
+
stack.pop().return();
|
|
7428
|
+
} catch (error) {
|
|
7429
|
+
if (!failed) { failed = true; failure = error; }
|
|
7430
|
+
}
|
|
7431
|
+
}
|
|
7432
|
+
if (failed) throw failure;
|
|
7409
7433
|
}
|
|
7410
7434
|
}
|
|
7411
7435
|
|