core-runtime-engine 11.5.1__py3-none-any.whl

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 (96) hide show
  1. core_runtime/__init__.py +10 -0
  2. core_runtime/__version__.py +17 -0
  3. core_runtime/cli/__init__.py +7 -0
  4. core_runtime/cli/__main__.py +22 -0
  5. core_runtime/cli/bump_version.py +176 -0
  6. core_runtime/cli/contract_preflight.py +69 -0
  7. core_runtime/cli/create_domain.py +66 -0
  8. core_runtime/cli/doctor.py +44 -0
  9. core_runtime/cli/inventory.py +85 -0
  10. core_runtime/cli/lint.py +8 -0
  11. core_runtime/cli/main.py +579 -0
  12. core_runtime/cli/release_check.py +65 -0
  13. core_runtime/cli/repair_artifact_paths.py +48 -0
  14. core_runtime/cli/sync_template.py +67 -0
  15. core_runtime/cli/validate.py +73 -0
  16. core_runtime/core/__init__.py +34 -0
  17. core_runtime/core/audit_event.py +760 -0
  18. core_runtime/core/audit_trail_index.py +100 -0
  19. core_runtime/core/canonicalization.py +55 -0
  20. core_runtime/core/contract_evaluator.py +945 -0
  21. core_runtime/core/contract_executability.py +307 -0
  22. core_runtime/core/contract_loader.py +57 -0
  23. core_runtime/core/contract_probes.py +630 -0
  24. core_runtime/core/contract_program.py +131 -0
  25. core_runtime/core/contract_program_registry.py +104 -0
  26. core_runtime/core/contract_program_v2.py +126 -0
  27. core_runtime/core/dsk_v3.py +142 -0
  28. core_runtime/core/explainability.py +2115 -0
  29. core_runtime/core/numeric_normalization.py +120 -0
  30. core_runtime/core/rule_anchor.py +1388 -0
  31. core_runtime/core/schema_fingerprint.py +69 -0
  32. core_runtime/core/sensor_evidence.py +548 -0
  33. core_runtime/data/contracts/CoreAnchor.sol +109 -0
  34. core_runtime/data/contracts/CoreRuleAnchor.abi.json +111 -0
  35. core_runtime/data/contracts/CoreRuleAnchor.bin +1 -0
  36. core_runtime/data/contracts/CoreRuleAnchor.build.json +20 -0
  37. core_runtime/data/contracts/CoreRuleAnchor.runtime.bin +1 -0
  38. core_runtime/data/contracts/CoreRuleAnchor.sol +74 -0
  39. core_runtime/data/package_data_manifest.v1.json +173 -0
  40. core_runtime/data/schemas/core/causal_trace.v1.json +141 -0
  41. core_runtime/data/schemas/core/context_gate.v1.json +38 -0
  42. core_runtime/data/schemas/core/context_threshold.v1.json +46 -0
  43. core_runtime/data/schemas/core/contract_program.v1.json +186 -0
  44. core_runtime/data/schemas/core/contract_program.v2.json +187 -0
  45. core_runtime/data/schemas/core/control_decision.v1.json +114 -0
  46. core_runtime/data/schemas/core/dsk.v3.json +105 -0
  47. core_runtime/data/schemas/core/effect_result.v1.json +39 -0
  48. core_runtime/data/schemas/core/entropy_signal.v1.json +108 -0
  49. core_runtime/data/schemas/core/execution_receipt.v1.json +93 -0
  50. core_runtime/data/schemas/core/frozen_release_manifest.v1.json +87 -0
  51. core_runtime/data/schemas/core/frozen_release_manifest.v2.json +72 -0
  52. core_runtime/data/schemas/core/frozen_release_manifest.v3.json +38 -0
  53. core_runtime/data/schemas/core/frozen_release_manifest.v4.json +72 -0
  54. core_runtime/data/schemas/core/frozen_release_manifest.v5.json +38 -0
  55. core_runtime/data/schemas/core/frozen_release_manifest.v6.json +116 -0
  56. core_runtime/data/schemas/core/frozen_release_manifest.v7.json +37 -0
  57. core_runtime/data/schemas/core/frozen_release_manifest.v8.json +114 -0
  58. core_runtime/data/schemas/core/frozen_rule_set.v1.json +282 -0
  59. core_runtime/data/schemas/core/memory_artifact.v1.json +120 -0
  60. core_runtime/data/schemas/core/memory_generation_result.v1.json +37 -0
  61. core_runtime/data/schemas/core/operational_learning_event.v1.json +63 -0
  62. core_runtime/data/schemas/core/pattern_candidate.v1.json +114 -0
  63. core_runtime/data/schemas/core/physical_safety_assurance_case.v1.json +676 -0
  64. core_runtime/data/schemas/core/policy_lifecycle.v1.json +99 -0
  65. core_runtime/data/schemas/core/retention_manifest.v1.json +53 -0
  66. core_runtime/data/schemas/core/reversibility_policy.v1.json +107 -0
  67. core_runtime/data/schemas/core/rule_anchor_batch.v1.json +93 -0
  68. core_runtime/data/schemas/core/rule_anchor_chain_evidence.v1.json +56 -0
  69. core_runtime/data/schemas/core/rule_approval.v1.json +49 -0
  70. core_runtime/data/schemas/core/rule_approval_request.v1.json +42 -0
  71. core_runtime/data/schemas/core/state_transition.v1.json +115 -0
  72. core_runtime/data/schemas/core/task_closeout.v1.json +47 -0
  73. core_runtime/data/schemas/core/template_promotion_candidate.v1.json +83 -0
  74. core_runtime/data/schemas/core/unsigned_rule_anchor_deployment.v1.json +106 -0
  75. core_runtime/data/schemas/core/unsigned_rule_anchor_transaction.v1.json +116 -0
  76. core_runtime/tooling/__init__.py +48 -0
  77. core_runtime/tooling/bump_version.py +900 -0
  78. core_runtime/tooling/contract_preflight.py +293 -0
  79. core_runtime/tooling/create_domain.py +254 -0
  80. core_runtime/tooling/diagnostics.py +129 -0
  81. core_runtime/tooling/doctor.py +482 -0
  82. core_runtime/tooling/file_inventory.py +182 -0
  83. core_runtime/tooling/json_checks.py +100 -0
  84. core_runtime/tooling/release_check.py +1017 -0
  85. core_runtime/tooling/repair_artifact_paths.py +458 -0
  86. core_runtime/tooling/report_writer.py +176 -0
  87. core_runtime/tooling/repository_inventory.py +399 -0
  88. core_runtime/tooling/safety_checks.py +172 -0
  89. core_runtime/tooling/sync_template.py +303 -0
  90. core_runtime/tooling/validation.py +507 -0
  91. core_runtime/tooling/version_inventory.py +256 -0
  92. core_runtime_engine-11.5.1.dist-info/METADATA +35 -0
  93. core_runtime_engine-11.5.1.dist-info/RECORD +96 -0
  94. core_runtime_engine-11.5.1.dist-info/WHEEL +5 -0
  95. core_runtime_engine-11.5.1.dist-info/entry_points.txt +2 -0
  96. core_runtime_engine-11.5.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,108 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://core-runtime-engine.local/schemas/core/entropy_signal.v1.json",
4
+ "title": "EntropySignal.v1",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "required": [
8
+ "schema_version",
9
+ "type",
10
+ "signal_id",
11
+ "source_type",
12
+ "source_id",
13
+ "signal_type",
14
+ "severity",
15
+ "confidence",
16
+ "measurement",
17
+ "suggested_response",
18
+ "source_refs",
19
+ "evidence_refs",
20
+ "timestamp",
21
+ "fingerprint"
22
+ ],
23
+ "properties": {
24
+ "schema_version": {
25
+ "type": "string",
26
+ "const": "core.entropy_signal.v1"
27
+ },
28
+ "type": {
29
+ "type": "string",
30
+ "const": "entropy_signal"
31
+ },
32
+ "signal_id": {
33
+ "type": "string",
34
+ "minLength": 1
35
+ },
36
+ "source_type": {
37
+ "type": "string",
38
+ "minLength": 1
39
+ },
40
+ "source_id": {
41
+ "type": "string",
42
+ "minLength": 1
43
+ },
44
+ "signal_type": {
45
+ "type": "string",
46
+ "enum": [
47
+ "repetition",
48
+ "context_bloat",
49
+ "state_drift",
50
+ "invariant_violation",
51
+ "cost_growth",
52
+ "ambiguous_intent",
53
+ "missing_evidence",
54
+ "stale_memory",
55
+ "manual_review_required"
56
+ ]
57
+ },
58
+ "severity": {
59
+ "type": "string",
60
+ "enum": ["low", "medium", "high", "critical"]
61
+ },
62
+ "confidence": {
63
+ "type": "number",
64
+ "minimum": 0.0,
65
+ "maximum": 1.0
66
+ },
67
+ "measurement": {
68
+ "type": "object",
69
+ "additionalProperties": true
70
+ },
71
+ "suggested_response": {
72
+ "type": "string",
73
+ "minLength": 1
74
+ },
75
+ "source_refs": {
76
+ "type": "array",
77
+ "minItems": 1,
78
+ "items": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "pattern": "^(?!/).+"
82
+ }
83
+ },
84
+ "evidence_refs": {
85
+ "type": "array",
86
+ "minItems": 1,
87
+ "items": {
88
+ "type": "string",
89
+ "minLength": 1,
90
+ "pattern": "^(?!/).+"
91
+ }
92
+ },
93
+ "timestamp": {
94
+ "type": "string",
95
+ "minLength": 1
96
+ },
97
+ "fingerprint": {
98
+ "type": "string",
99
+ "minLength": 1
100
+ },
101
+ "warnings": {
102
+ "type": "array",
103
+ "items": {
104
+ "type": "string"
105
+ }
106
+ }
107
+ }
108
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://core-runtime-engine.local/schemas/core/execution_receipt.v1.json",
4
+ "title": "ExecutionReceipt.v1",
5
+ "type": "object",
6
+ "additionalProperties": true,
7
+ "required": [
8
+ "schema_version",
9
+ "type",
10
+ "receipt_id",
11
+ "executor_ref",
12
+ "decision_ref",
13
+ "command_ref",
14
+ "status",
15
+ "state_transition_refs",
16
+ "evidence_refs",
17
+ "created_at",
18
+ "fingerprint"
19
+ ],
20
+ "properties": {
21
+ "schema_version": {
22
+ "type": "string",
23
+ "const": "core.execution_receipt.v1"
24
+ },
25
+ "type": {
26
+ "type": "string",
27
+ "const": "execution_receipt"
28
+ },
29
+ "receipt_id": {
30
+ "type": "string",
31
+ "minLength": 1
32
+ },
33
+ "executor_ref": {
34
+ "type": "string",
35
+ "minLength": 1,
36
+ "pattern": "^(?!/).+"
37
+ },
38
+ "decision_ref": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "pattern": "^(?!/).+"
42
+ },
43
+ "command_ref": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "pattern": "^(?!/).+"
47
+ },
48
+ "status": {
49
+ "type": "string",
50
+ "enum": ["succeeded", "failed", "skipped", "simulated"]
51
+ },
52
+ "state_transition_refs": {
53
+ "type": "array",
54
+ "minItems": 0,
55
+ "items": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "pattern": "^(?!/).+"
59
+ }
60
+ },
61
+ "evidence_refs": {
62
+ "type": "array",
63
+ "minItems": 1,
64
+ "items": {
65
+ "type": "string",
66
+ "minLength": 1,
67
+ "pattern": "^(?!/).+"
68
+ }
69
+ },
70
+ "source_refs": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "pattern": "^(?!/).+"
76
+ }
77
+ },
78
+ "created_at": {
79
+ "type": "string",
80
+ "minLength": 1
81
+ },
82
+ "fingerprint": {
83
+ "type": "string",
84
+ "minLength": 1
85
+ },
86
+ "warnings": {
87
+ "type": "array",
88
+ "items": {
89
+ "type": "string"
90
+ }
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core.antillanca.dev/schemas/core/frozen_release_manifest.v1.json",
4
+ "title": "FrozenReleaseManifest.v1",
5
+ "description": "A canonical inventory of release-critical files whose raw bytes are frozen by SHA-256.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schema_version",
10
+ "type",
11
+ "release_version",
12
+ "status",
13
+ "scope",
14
+ "inventory_profile",
15
+ "critical_subsystems",
16
+ "self_reference_policy",
17
+ "canonicalization",
18
+ "hash_algorithm",
19
+ "frozen_at",
20
+ "artifact_count",
21
+ "artifacts",
22
+ "fingerprint"
23
+ ],
24
+ "properties": {
25
+ "schema_version": {"const": "core.frozen_release_manifest.v1"},
26
+ "type": {"const": "frozen_release_manifest"},
27
+ "release_version": {
28
+ "type": "string",
29
+ "pattern": "^v[0-9]+\\.[0-9]+\\.[0-9]+$"
30
+ },
31
+ "status": {"const": "frozen"},
32
+ "scope": {"const": "blockchain_release_critical_surface"},
33
+ "inventory_profile": {"const": "core.blockchain_release.v11_1"},
34
+ "critical_subsystems": {
35
+ "const": [
36
+ "anchoring",
37
+ "contract_deployment",
38
+ "executable_contracts",
39
+ "physical_safety"
40
+ ]
41
+ },
42
+ "self_reference_policy": {
43
+ "const": "manifest_file_excluded_fingerprint_covers_inventory"
44
+ },
45
+ "canonicalization": {"const": "core.canonical_json.v1"},
46
+ "hash_algorithm": {"const": "sha256"},
47
+ "frozen_at": {"type": "string", "format": "date-time"},
48
+ "artifact_count": {"type": "integer", "minimum": 1},
49
+ "artifacts": {
50
+ "type": "array",
51
+ "minItems": 1,
52
+ "items": {"$ref": "#/definitions/artifact"}
53
+ },
54
+ "fingerprint": {"$ref": "#/definitions/fingerprint"}
55
+ },
56
+ "definitions": {
57
+ "fingerprint": {
58
+ "type": "string",
59
+ "pattern": "^sha256:[a-f0-9]{64}$"
60
+ },
61
+ "artifact": {
62
+ "type": "object",
63
+ "additionalProperties": false,
64
+ "required": ["path", "role", "file_sha256"],
65
+ "properties": {
66
+ "path": {
67
+ "type": "string",
68
+ "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"
69
+ },
70
+ "role": {
71
+ "enum": [
72
+ "ci",
73
+ "contract",
74
+ "documentation",
75
+ "example",
76
+ "release_metadata",
77
+ "runtime",
78
+ "schema",
79
+ "script",
80
+ "test"
81
+ ]
82
+ },
83
+ "file_sha256": {"$ref": "#/definitions/fingerprint"}
84
+ }
85
+ }
86
+ }
87
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core.antillanca.dev/schemas/core/frozen_release_manifest.v2.json",
4
+ "title": "FrozenReleaseManifest.v2",
5
+ "description": "An additive candidate inventory for a deterministic CORE release surface.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schema_version",
10
+ "type",
11
+ "release_version",
12
+ "status",
13
+ "scope",
14
+ "inventory_profile",
15
+ "critical_subsystems",
16
+ "self_reference_policy",
17
+ "canonicalization",
18
+ "hash_algorithm",
19
+ "created_at",
20
+ "artifact_count",
21
+ "artifacts",
22
+ "fingerprint"
23
+ ],
24
+ "properties": {
25
+ "schema_version": {"const": "core.frozen_release_manifest.v2"},
26
+ "type": {"const": "frozen_release_manifest"},
27
+ "release_version": {"const": "v11.2.1"},
28
+ "status": {"const": "candidate"},
29
+ "scope": {"const": "deterministic_contract_program_surface"},
30
+ "inventory_profile": {"const": "core.contract_program_release.v11_2_candidate"},
31
+ "critical_subsystems": {
32
+ "const": ["contract_program", "executable_contracts", "release_integrity"]
33
+ },
34
+ "self_reference_policy": {
35
+ "const": "manifest_file_excluded_fingerprint_covers_inventory"
36
+ },
37
+ "canonicalization": {"const": "core.canonical_json.v1"},
38
+ "hash_algorithm": {"const": "sha256"},
39
+ "created_at": {"type": "string", "format": "date-time"},
40
+ "artifact_count": {"type": "integer", "minimum": 1},
41
+ "artifacts": {
42
+ "type": "array",
43
+ "minItems": 1,
44
+ "items": {"$ref": "#/definitions/artifact"}
45
+ },
46
+ "fingerprint": {"$ref": "#/definitions/fingerprint"}
47
+ },
48
+ "definitions": {
49
+ "fingerprint": {
50
+ "type": "string",
51
+ "pattern": "^sha256:[a-f0-9]{64}$"
52
+ },
53
+ "artifact": {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": ["path", "role", "file_sha256"],
57
+ "properties": {
58
+ "path": {
59
+ "type": "string",
60
+ "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"
61
+ },
62
+ "role": {
63
+ "enum": [
64
+ "ci", "contract", "documentation", "example", "release_metadata",
65
+ "runtime", "schema", "script", "test"
66
+ ]
67
+ },
68
+ "file_sha256": {"$ref": "#/definitions/fingerprint"}
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core.antillanca.dev/schemas/core/frozen_release_manifest.v3.json",
4
+ "title": "FrozenReleaseManifest.v3",
5
+ "description": "A frozen, exact inventory for the CORE v11.2.1 ContractProgram release.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["schema_version", "type", "release_version", "status", "scope", "inventory_profile", "critical_subsystems", "self_reference_policy", "canonicalization", "hash_algorithm", "frozen_at", "artifact_count", "artifacts", "fingerprint"],
9
+ "properties": {
10
+ "schema_version": {"const": "core.frozen_release_manifest.v3"},
11
+ "type": {"const": "frozen_release_manifest"},
12
+ "release_version": {"const": "v11.2.1"},
13
+ "status": {"const": "frozen"},
14
+ "scope": {"const": "deterministic_contract_program_surface"},
15
+ "inventory_profile": {"const": "core.contract_program_release.v11_2"},
16
+ "critical_subsystems": {"const": ["contract_program", "executable_contracts", "release_integrity"]},
17
+ "self_reference_policy": {"const": "manifest_file_excluded_fingerprint_covers_inventory"},
18
+ "canonicalization": {"const": "core.canonical_json.v1"},
19
+ "hash_algorithm": {"const": "sha256"},
20
+ "frozen_at": {"type": "string", "format": "date-time"},
21
+ "artifact_count": {"type": "integer", "minimum": 1},
22
+ "artifacts": {"type": "array", "minItems": 1, "items": {"$ref": "#/definitions/artifact"}},
23
+ "fingerprint": {"$ref": "#/definitions/fingerprint"}
24
+ },
25
+ "definitions": {
26
+ "fingerprint": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
27
+ "artifact": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "required": ["path", "role", "file_sha256"],
31
+ "properties": {
32
+ "path": {"type": "string", "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"},
33
+ "role": {"enum": ["ci", "contract", "documentation", "example", "release_metadata", "runtime", "schema", "script", "test"]},
34
+ "file_sha256": {"$ref": "#/definitions/fingerprint"}
35
+ }
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core.antillanca.dev/schemas/core/frozen_release_manifest.v4.json",
4
+ "title": "FrozenReleaseManifest.v4",
5
+ "description": "An additive candidate inventory for the CORE v11.3.0 deterministic ContractProgram release surface.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schema_version",
10
+ "type",
11
+ "release_version",
12
+ "status",
13
+ "scope",
14
+ "inventory_profile",
15
+ "critical_subsystems",
16
+ "self_reference_policy",
17
+ "canonicalization",
18
+ "hash_algorithm",
19
+ "created_at",
20
+ "artifact_count",
21
+ "artifacts",
22
+ "fingerprint"
23
+ ],
24
+ "properties": {
25
+ "schema_version": {"const": "core.frozen_release_manifest.v4"},
26
+ "type": {"const": "frozen_release_manifest"},
27
+ "release_version": {"const": "v11.3.0"},
28
+ "status": {"const": "candidate"},
29
+ "scope": {"const": "deterministic_contract_program_surface"},
30
+ "inventory_profile": {"const": "core.contract_program_release.v11_3_candidate"},
31
+ "critical_subsystems": {
32
+ "const": ["contract_program", "executable_contracts", "release_integrity"]
33
+ },
34
+ "self_reference_policy": {
35
+ "const": "manifest_file_excluded_fingerprint_covers_inventory"
36
+ },
37
+ "canonicalization": {"const": "core.canonical_json.v1"},
38
+ "hash_algorithm": {"const": "sha256"},
39
+ "created_at": {"type": "string", "format": "date-time"},
40
+ "artifact_count": {"type": "integer", "minimum": 1},
41
+ "artifacts": {
42
+ "type": "array",
43
+ "minItems": 1,
44
+ "items": {"$ref": "#/definitions/artifact"}
45
+ },
46
+ "fingerprint": {"$ref": "#/definitions/fingerprint"}
47
+ },
48
+ "definitions": {
49
+ "fingerprint": {
50
+ "type": "string",
51
+ "pattern": "^sha256:[a-f0-9]{64}$"
52
+ },
53
+ "artifact": {
54
+ "type": "object",
55
+ "additionalProperties": false,
56
+ "required": ["path", "role", "file_sha256"],
57
+ "properties": {
58
+ "path": {
59
+ "type": "string",
60
+ "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"
61
+ },
62
+ "role": {
63
+ "enum": [
64
+ "ci", "contract", "documentation", "example", "release_metadata",
65
+ "runtime", "schema", "script", "test"
66
+ ]
67
+ },
68
+ "file_sha256": {"$ref": "#/definitions/fingerprint"}
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core.antillanca.dev/schemas/core/frozen_release_manifest.v5.json",
4
+ "title": "FrozenReleaseManifest.v5",
5
+ "description": "A frozen, exact inventory for the CORE v11.3.0 ContractProgram release.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["schema_version", "type", "release_version", "status", "scope", "inventory_profile", "critical_subsystems", "self_reference_policy", "canonicalization", "hash_algorithm", "frozen_at", "artifact_count", "artifacts", "fingerprint"],
9
+ "properties": {
10
+ "schema_version": {"const": "core.frozen_release_manifest.v5"},
11
+ "type": {"const": "frozen_release_manifest"},
12
+ "release_version": {"const": "v11.3.0"},
13
+ "status": {"const": "frozen"},
14
+ "scope": {"const": "deterministic_contract_program_surface"},
15
+ "inventory_profile": {"const": "core.contract_program_release.v11_3"},
16
+ "critical_subsystems": {"const": ["contract_program", "executable_contracts", "release_integrity"]},
17
+ "self_reference_policy": {"const": "manifest_file_excluded_fingerprint_covers_inventory"},
18
+ "canonicalization": {"const": "core.canonical_json.v1"},
19
+ "hash_algorithm": {"const": "sha256"},
20
+ "frozen_at": {"type": "string", "format": "date-time"},
21
+ "artifact_count": {"type": "integer", "minimum": 1},
22
+ "artifacts": {"type": "array", "minItems": 1, "items": {"$ref": "#/definitions/artifact"}},
23
+ "fingerprint": {"$ref": "#/definitions/fingerprint"}
24
+ },
25
+ "definitions": {
26
+ "fingerprint": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
27
+ "artifact": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "required": ["path", "role", "file_sha256"],
31
+ "properties": {
32
+ "path": {"type": "string", "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"},
33
+ "role": {"enum": ["ci", "contract", "documentation", "example", "release_metadata", "runtime", "schema", "script", "test"]},
34
+ "file_sha256": {"$ref": "#/definitions/fingerprint"}
35
+ }
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,116 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core-runtime-engine.local/schemas/core/frozen_release_manifest.v6.json",
4
+ "title": "FrozenReleaseManifest.v4.v6",
5
+ "description": "An additive candidate inventory for the CORE v11.3.0 deterministic ContractProgram release surface.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schema_version",
10
+ "type",
11
+ "release_version",
12
+ "status",
13
+ "scope",
14
+ "inventory_profile",
15
+ "critical_subsystems",
16
+ "self_reference_policy",
17
+ "canonicalization",
18
+ "hash_algorithm",
19
+ "created_at",
20
+ "artifact_count",
21
+ "artifacts",
22
+ "fingerprint"
23
+ ],
24
+ "properties": {
25
+ "schema_version": {
26
+ "const": "core.frozen_release_manifest.v6"
27
+ },
28
+ "type": {
29
+ "const": "frozen_release_manifest"
30
+ },
31
+ "release_version": {
32
+ "const": "v11.4.0"
33
+ },
34
+ "status": {
35
+ "const": "candidate"
36
+ },
37
+ "scope": {
38
+ "const": "contract_oriented_reproducible_evaluation_dsk_v3"
39
+ },
40
+ "inventory_profile": {
41
+ "const": "core.contract_program_v2_release.v11_4_candidate"
42
+ },
43
+ "critical_subsystems": {
44
+ "const": [
45
+ "contract_program",
46
+ "contract_program_v2",
47
+ "executable_contracts",
48
+ "release_integrity"
49
+ ]
50
+ },
51
+ "self_reference_policy": {
52
+ "const": "manifest_file_excluded_fingerprint_covers_inventory"
53
+ },
54
+ "canonicalization": {
55
+ "const": "core.canonical_json.v1"
56
+ },
57
+ "hash_algorithm": {
58
+ "const": "sha256"
59
+ },
60
+ "created_at": {
61
+ "type": "string",
62
+ "format": "date-time"
63
+ },
64
+ "artifact_count": {
65
+ "type": "integer",
66
+ "minimum": 1
67
+ },
68
+ "artifacts": {
69
+ "type": "array",
70
+ "minItems": 1,
71
+ "items": {
72
+ "$ref": "#/definitions/artifact"
73
+ }
74
+ },
75
+ "fingerprint": {
76
+ "$ref": "#/definitions/fingerprint"
77
+ }
78
+ },
79
+ "definitions": {
80
+ "fingerprint": {
81
+ "type": "string",
82
+ "pattern": "^sha256:[a-f0-9]{64}$"
83
+ },
84
+ "artifact": {
85
+ "type": "object",
86
+ "additionalProperties": false,
87
+ "required": [
88
+ "path",
89
+ "role",
90
+ "file_sha256"
91
+ ],
92
+ "properties": {
93
+ "path": {
94
+ "type": "string",
95
+ "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"
96
+ },
97
+ "role": {
98
+ "enum": [
99
+ "ci",
100
+ "contract",
101
+ "documentation",
102
+ "example",
103
+ "release_metadata",
104
+ "runtime",
105
+ "schema",
106
+ "script",
107
+ "test"
108
+ ]
109
+ },
110
+ "file_sha256": {
111
+ "$ref": "#/definitions/fingerprint"
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://core-runtime-engine.local/schemas/core/frozen_release_manifest.v7.json",
4
+ "title": "FrozenReleaseManifest.v7",
5
+ "description": "The exact public CORE v11.5.0 DSK v3 candidate inventory.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["schema_version", "type", "release_version", "status", "scope", "inventory_profile", "critical_subsystems", "self_reference_policy", "canonicalization", "hash_algorithm", "created_at", "artifact_count", "artifacts", "fingerprint"],
9
+ "properties": {
10
+ "schema_version": {"const": "core.frozen_release_manifest.v7"},
11
+ "type": {"const": "frozen_release_manifest"},
12
+ "release_version": {"const": "v11.5.0"},
13
+ "status": {"const": "candidate"},
14
+ "scope": {"const": "deterministic_scale_kernel_v3"},
15
+ "inventory_profile": {"const": "core.dsk_v3_release.v11_5_candidate"},
16
+ "critical_subsystems": {"const": ["dsk_v3", "contract_program_v2", "executable_contracts", "release_integrity"]},
17
+ "self_reference_policy": {"const": "manifest_file_excluded_fingerprint_covers_inventory"},
18
+ "canonicalization": {"const": "core.canonical_json.v1"},
19
+ "hash_algorithm": {"const": "sha256"},
20
+ "created_at": {"type": "string", "format": "date-time"},
21
+ "artifact_count": {"type": "integer", "minimum": 1},
22
+ "artifacts": {"type": "array", "minItems": 1, "items": {"$ref": "#/$defs/artifact"}},
23
+ "fingerprint": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"}
24
+ },
25
+ "$defs": {
26
+ "artifact": {
27
+ "type": "object",
28
+ "additionalProperties": false,
29
+ "required": ["path", "role", "file_sha256"],
30
+ "properties": {
31
+ "path": {"type": "string", "pattern": "^(?!/)(?![A-Za-z]:\\\\)(?!.*(?:^|/)\\.\\.(?:/|$)).+"},
32
+ "role": {"enum": ["ci", "contract", "documentation", "example", "release_metadata", "runtime", "schema", "script", "test"]},
33
+ "file_sha256": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"}
34
+ }
35
+ }
36
+ }
37
+ }