speckl/out/KafkaKRaft.prov.jsonld
Scott Scoble 8b520284cb TS generator: fix #12 (5 expression patterns) + #11 (opaque record types)
#12: All 5 untranslated SpeckDL patterns now emit valid JS:
  - notIn → !.has(), old() → drop, union → Set spread,
    set diff → filter, append() → [...X, Y], length() → .length
  - ==/!= operator replacement fixed (word-boundary regression)
  - Postcondition object comparisons get @ts-expect-error TS2839

#11: Generator auto-detects opaque identifier types used in state
  variables and action params, emits 'type X = any' before class.
  - State properties use ! (non-null assertion) for strict mode

TigerBeetleLedger → tsc --noEmit = 0 errors. 37/37 tests pass.
2026-05-11 10:16:15 -07:00

38 lines
No EOL
1 KiB
Text

{
"@context": {
"prov": "http://www.w3.org/ns/prov#",
"speckl": "https://speckl.scoble.me/ns/v0.2#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#"
},
"@graph": [
{
"@type": "prov:Entity",
"@id": "speck:KafkaKRaft",
"prov:qualifiedGeneration": {
"@type": "prov:Generation",
"prov:activity": {
"@type": "prov:Activity",
"prov:startTime": "2026-05-10T09:08:14.888Z"
}
},
"rdfs:label": "KafkaKRaft",
"prov:wasAttributedTo": {
"@id": "agent:Speckl Compiler v0.3"
},
"prov:wasInformedBy": {
"@id": "source:architecture_review:KRaft-Core-Consensus"
}
},
{
"@type": "prov:Agent",
"@id": "agent:Speckl Compiler v0.3",
"rdfs:label": "Speckl Compiler v0.3"
},
{
"@type": "prov:Activity",
"@id": "source:architecture_review:KRaft-Core-Consensus",
"prov:type": "architecture_review",
"rdfs:label": "architecture_review - KRaft-Core-Consensus"
}
]
}