Repository navigation
Expand file tree
/
Copy pathsdk_capabilities.json
More file actions
143 lines (143 loc) · 14.6 KB
/
Copy pathsdk_capabilities.json
File metadata and controls
143 lines (143 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"schema": "ny.sdk.capability-catalog.v1",
"release_declaration": false,
"coverage": "Observed fixture behavior only; not exhaustive API, combination, performance, or release-readiness proof.",
"routes": ["text-interpreter", "binary-interpreter", "bundle-text", "bundle-binary", "llvm-jit", "llvm-aot"],
"groups": [
{
"id": "scalar-arithmetic",
"observed": "Scalar arithmetic and comparisons at live-array handle addresses agree across the six execution routes for the contract and collision fixtures.",
"tests": ["ny.routes.scalar-arithmetic-contract", "ny.routes.scalar-array-handle-collision"],
"limitations": ["This fixture does not establish support for every scalar width, conversion, overflow case, or foreign ABI."]
},
{
"id": "scalar-arrays",
"observed": "Integer, f64, and text arrays, including imported public primitive operations, agree for the tested construction, access, mutation, and lifetime cases. Indexed text retains its checked type through operators, methods, returned arrays and unwrapped Results, with index effects evaluated once in order.",
"tests": ["ny.routes.scalar-array-parity", "ny.routes.stl-array-primitives", "ny.routes.indexed-expression-types"],
"limitations": ["Nested arrays and arbitrary aggregate element layouts are outside this proof.", "Typed default reads and no-op out-of-range writes are tested; this is not a general memory-safety or reclamation proof."]
},
{
"id": "aggregate-references",
"observed": "The nested-reference, scalar-field and reference-handle fixtures agree for their concrete nonrecursive layouts, shared aliases versus local rebinding, returned handles, generic fields, virtual reference methods, f64 preservation, wrapping u8 storage and explicit raw-pointer controls.",
"tests": ["ny.routes.native-nested-reference", "ny.routes.native-scalar-fields", "ny.routes.reference-handles"],
"limitations": ["Scalar references, explicit ref dereference and arbitrary reference provenance are unavailable; these are shared aggregate handles, not binding cells. Explicit owned scalar buffers have a separate lexical borrowing contract.", "Recursive layouts and arbitrary aggregate layouts or a foreign struct ABI are outside the tested field and generic combinations."]
},
{
"id": "globals",
"observed": "The global and module-global contract fixtures agree for their typed initializers, reads, writes, module-qualified names, local shadowing, and generic function and method access.",
"tests": ["ny.routes.native-global-contract", "ny.routes.module-global-contract"],
"limitations": ["These fixtures do not qualify every import topology, namespace, aggregate global, or dynamic initializer."]
},
{
"id": "managed-lifetime",
"observed": "Managed nested objects, text arrays, aliases, returned values and global text survive the fixture's allocation-heavy loops and calls across the six routes.",
"tests": ["ny.routes.native-managed-lifetime"],
"limitations": ["This is tracing lifetime evidence, not borrow checking, deterministic destruction, a heap-size bound or a pause-time guarantee.", "Raw pointer deallocation and uninstrumented native embedding have separate lifetime contracts."]
},
{
"id": "concrete-classes",
"observed": "Concrete class construction, inherited fields and checked method calls agree across the six execution routes for the class fixture.",
"tests": ["ny.routes.class-execution"],
"limitations": ["Generic classes and first-class method values are not established by this concrete class fixture."]
},
{
"id": "polymorphic-classes",
"observed": "Ancestor views preserve shared identity, static access and dynamic virtual targets through calls, returns, nested fields, multiple inheritance, managed collection and synchronous faults in the pipeline fixture.",
"tests": ["ny.routes.class-polymorphism"],
"limitations": ["This is closed-module nongeneric class dispatch, not dynamic loading, a foreign class ABI, or trait objects.", "Downcasts, reference/container covariance, ownership-driven destruction and common-ancestor inferred joins are outside this proof."]
},
{
"id": "synchronous-faults",
"observed": "Typed struct faults, nominal matching, retained rethrows, nested cleanup, return and loop exits, replacement faults, and managed payload retention agree for three fixtures across the six execution routes.",
"tests": ["ny.routes.fault-control-flow", "ny.routes.fault-nominal-identity", "ny.routes.fault-managed-lifetime"],
"limitations": ["This is synchronous language fault handling, not recovery from runtime safety traps or allocation failures.", "Cross-thread propagation, cancellation, foreign exceptions, postfix propagation and ownership-driven destructors are outside this proof."]
},
{
"id": "owned-buffers",
"observed": "Local affine scalar buffers, explicit moves, lexical shared/exclusive borrows, typed scalar access and cleanup across normal, loop, return and synchronous fault exits agree for the owned-buffer fixture across six routes.",
"tests": ["ny.routes.owned-buffers"],
"limitations": ["Only local i32/i64/u8 buffers are covered; borrowed parameters, returning owners, owning aggregate fields, closure captures and user destructors are unavailable.", "This is not a proof of arbitrary raw-pointer safety or process-fatal cleanup."]
},
{
"id": "structured-parallel-map",
"observed": "Statically resolved isolated scalar workers preserve input values, deterministic output order and i32/i64/u8/bool/f64 results in the parallel-map fixture across six routes.",
"tests": ["ny.routes.parallel-map"],
"limitations": ["Worker threads receive copied scalar values and are always joined; shared-memory tasks, captures, nested parallelism, I/O/FFI, cancellation and general asynchronous execution are unavailable.", "This fixture proves results, not speedup; actual overlapping host threads and deterministic joined error handling have separate runtime tests."]
},
{
"id": "checked-byte-encoding",
"observed": "Ny-written strict hexadecimal decoding and bounded little/big-endian byte-array reads/writes agree on valid bytes, malformed-input results, signed limits and failed-write nonmutation across six routes.",
"tests": ["ny.routes.checked-hex-runtime", "ny.routes.checked-binary-runtime"],
"limitations": ["Unsigned 16/32-bit wire values use i32/i64 carriers; no unsigned 64-bit scalar or streaming cursor API is established by this fixed-width/hex proof.", "Native text is NUL-free and byte-indexed; embedded-NUL rejection is separately tested only on interpreter routes. This is not a general Unicode, concurrent-mutation or allocation-failure guarantee."]
},
{
"id": "canonical-varints-and-crc32",
"observed": "Ny-written shortest-form unsigned 32-bit and ZigZag signed 64-bit varints and bounded incremental IEEE CRC-32 agree across six routes for exact vectors, width boundaries, malformed encodings, chunked updates and failure nonmutation.",
"tests": ["ny.routes.checked-varint-runtime", "ny.routes.checked-crc-runtime"],
"limitations": ["Varints use i64 carriers; this is not unsigned 64-bit scalar support, signed LEB128, a general protobuf parser or a streaming cursor abstraction.", "CRC-32 detects accidental corruption, not malicious modification or authenticity. This bitwise baseline makes no throughput, hardware-acceleration or concurrent-mutation guarantee."]
},
{
"id": "bounded-text-patterns",
"observed": "Paired Ny/Matrix fixtures agree across six routes for prose pattern declarations, conventional ordered alternatives, named captures and byte spans, positive/negative lookahead, whole-input matching, no-match results and malformed-pattern errors through nil.std.text. Whole-match collection, splitting and literal replacement preserve empty-match byte progression and compose with collected queries.",
"tests": ["ny.routes.text-patterns", "ny.routes.text-patterns-matrix", "ny.routes.pattern-operations", "ny.routes.pattern-operations-matrix"],
"limitations": ["This is the NUL-free, case-sensitive NIL byte-pattern profile with ASCII character classes, not Unicode character matching or PCRE, ECMAScript, POSIX or RE2 compatibility. Captures can split UTF-8 sequences.", "Parsing, compilation, input, matching work, backtracking and cache storage have explicit limits; exhausted budgets return errors rather than no-match. These route fixtures do not exhaust those boundaries or establish linear-time execution, a process-memory bound, or throughput guarantees.", "Collection helpers permit at most 4096 matches and replacement output at most 1 MiB, returning errors rather than partial results. Search work budgets apply separately to each match search. Replacement templates, backreferences, lookbehind, dialect flags and reusable prose fragments remain outside this profile."]
},
{
"id": "eager-array-queries",
"observed": "Paired Ny/Matrix fixtures agree across six routes for eager scalar and tuple array queries with filtering, descending ordering, take, scalar/tuple projections and count/any/first/last/single terminals, including empty and multiple-result outcomes through nil.std.collections.",
"tests": ["ny.routes.collected-queries", "ny.routes.collected-queries-matrix"],
"limitations": ["The initial query profile accepts i32/i64/u8/bool/f64/text rows and structural tuples of those values. Text ordering, stable ties, NaNs, pagination boundaries, source snapshots and side-effect order have separate focused contracts; these route fixtures do not qualify every combination or sustained allocation workload.", "Queries eagerly snapshot array elements and collect results; this is not a full LINQ implementation, a lazy iterator, SQL translation or an implicit database provider. Record/enum/nested-array rows, grouping, joins, distinct and multiple order keys are outside this profile."]
},
{
"id": "nildata-values",
"observed": "Ny and Matrix consumers share versioned NILData loading, exact numeric tokens, one nested array kind, checked typed access, functional updates, JSON interchange and explicit legacy import on VM and native routes.",
"tests": ["ny.routes.nildata-roundtrip", "ny.routes.nildata-roundtrip-matrix"],
"limitations": ["Values are bounded to 1 MiB per input/output, 65536 tree values and depth 32; operations parse and copy documents rather than providing streaming or constant-time access.", "Encoded U+0000 round-trips but extraction to runtime text fails explicitly. Legacy import preserves ambiguous fields as text and numbered objects as objects; lost historical type information cannot be recovered."]
},
{
"id": "sleep",
"observed": "The time contract fixture agrees for its clock and bounded sleep calls.",
"tests": ["ny.routes.native-time-contract"],
"limitations": ["No real-time scheduling, latency, or throughput guarantee is implied."]
}
],
"proofs": [
{"test": "ny.routes.scalar-arithmetic-contract", "fixture": "scalar-arithmetic-contract", "stdlib": false},
{"test": "ny.routes.scalar-array-handle-collision", "fixture": "scalar-array-handle-collision", "stdlib": false},
{"test": "ny.routes.scalar-array-parity", "fixture": "scalar-array-parity", "stdlib": false},
{"test": "ny.routes.stl-array-primitives", "fixture": "stl-array-primitives", "stdlib": true},
{"test": "ny.routes.indexed-expression-types", "fixture": "indexed-expression-types", "stdlib": true},
{"test": "ny.routes.native-nested-reference", "fixture": "native-nested-reference", "stdlib": false},
{"test": "ny.routes.native-scalar-fields", "fixture": "native-scalar-fields", "stdlib": false},
{"test": "ny.routes.native-global-contract", "fixture": "native-global-contract", "stdlib": false},
{"test": "ny.routes.module-global-contract", "fixture": "module-global-contract", "stdlib": false},
{"test": "ny.routes.native-time-contract", "fixture": "native-time-contract", "stdlib": false},
{"test": "ny.routes.native-managed-lifetime", "fixture": "native-managed-lifetime", "stdlib": true},
{"test": "ny.routes.class-execution", "fixture": "class-execution", "stdlib": false},
{"test": "ny.routes.fault-control-flow", "fixture": "fault-control-flow", "stdlib": false},
{"test": "ny.routes.fault-nominal-identity", "fixture": "fault-nominal-identity", "stdlib": false},
{"test": "ny.routes.fault-managed-lifetime", "fixture": "fault-managed-lifetime", "stdlib": true, "timeout_seconds": 30},
{"test": "ny.routes.class-polymorphism", "fixture": "class-polymorphism", "stdlib": true},
{"test": "ny.routes.reference-handles", "fixture": "reference-handles", "stdlib": false},
{"test": "ny.routes.owned-buffers", "fixture": "owned-buffers", "stdlib": false},
{"test": "ny.routes.parallel-map", "fixture": "parallel-map", "stdlib": false},
{"test": "ny.routes.checked-hex-runtime", "fixture": "checked-hex-runtime", "stdlib": true},
{"test": "ny.routes.checked-binary-runtime", "fixture": "checked-binary-runtime", "stdlib": true},
{"test": "ny.routes.checked-varint-runtime", "fixture": "checked-varint-runtime", "stdlib": true},
{"test": "ny.routes.checked-crc-runtime", "fixture": "checked-crc-runtime", "stdlib": true},
{"test": "ny.routes.nildata-roundtrip", "fixture": "nildata-roundtrip", "stdlib": true},
{"test": "ny.routes.nildata-roundtrip-matrix", "fixture": "nildata-roundtrip-matrix", "stdlib": true},
{"test": "ny.routes.text-patterns", "fixture": "text-patterns", "stdlib": true},
{"test": "ny.routes.text-patterns-matrix", "fixture": "text-patterns-matrix", "stdlib": true},
{"test": "ny.routes.pattern-operations", "fixture": "pattern-operations", "stdlib": true},
{"test": "ny.routes.pattern-operations-matrix", "fixture": "pattern-operations-matrix", "stdlib": true},
{"test": "ny.routes.collected-queries", "fixture": "collected-queries", "stdlib": true},
{"test": "ny.routes.collected-queries-matrix", "fixture": "collected-queries-matrix", "stdlib": true}
],
"limitations": [
"Only the supported Linux x86_64 Release LLVM host can receive technical rc-checks qualification.",
"Passing this catalog is not a v1 language release declaration and does not qualify the entire standard library.",
"Separate native-library ABI, inline-assembly breadth, sustained allocation behavior, production workloads, and debugger/editor/AI-tool completeness require their own evidence.",
"Hashes bind local build observations to packaged artifacts; they are not signatures or independent attestations."
]
}