refactor(compiler)!: migrate SDK to minimal storage ISA
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/pr-master This commit looks good

Replace retired guards and publication opcodes with SDK checks, neutral TRAP and sequential List/Linked mutations with explicit failure phases. Preserve snapshot cursors and import schema 2 metadata with the delivered provider pin.

Include common/source/installed conformance, debug and release evidence, synchronized specs and the consolidated lesson. Runtime checkout remains unchanged.
This commit is contained in:
2026-10-24 01:35:42 +01:00
parent 77aada6259
commit 632ba6d0d6
51 changed files with 2688 additions and 711 deletions
@@ -84,7 +84,7 @@ class PbsGateUSdkInterfaceConformanceTest {
var copied=DiagnosticSink.empty();
homonym.compileFile(new FileId(201),"""
[SdkList] declare struct list<T>(value:T) {}
[StoragePrimitive(name="indexGuard")] fn fake(index:long,limit:long) {}
[StoragePrimitive(name="fail")] fn fake() {}
""",copied,SourceKind.PROJECT);
assertTrue(copied.hasErrors(),"Project attributes cannot acquire SDK bindings");
}
@@ -119,7 +119,7 @@ class PbsGateUSdkInterfaceConformanceTest {
var copied=DiagnosticSink.empty();
new PbsFrontendCompiler().compileFile(new FileId(203),"""
[SdkLinked] declare struct linked<T>(value:T) {}
[StoragePrimitive(name="publishFields")] fn fake() {}
[StoragePrimitive(name="copy")] fn fake() {}
""",copied,SourceKind.PROJECT);
assertTrue(copied.hasErrors());
}