chore: compile current GLS authority into runtime

This commit is contained in:
冰朔 2026-08-19 00:54:07 +08:00
commit d30d84631d
10 changed files with 11 additions and 11 deletions

View file

@ -1,6 +1,6 @@
{ {
"schema": "hololake.gls-executable-projections/v2", "schema": "hololake.gls-executable-projections/v2",
"source_commit": "2598fbfba8caf64c7ab9740a3036c5aab977502e", "source_commit": "d5b1111fcaccaccf025070e531631f2b3cbb00cd",
"runtime_graph_rule": "ONLY_EXPLICIT_RUNTIME_REQUIRES_EDGES_ENTER_ACTIVATION_GRAPH", "runtime_graph_rule": "ONLY_EXPLICIT_RUNTIME_REQUIRES_EDGES_ENTER_ACTIVATION_GRAPH",
"projections": { "projections": {
"GLS-0250": {"stage":"P0","projection_kind":"TYPED_FACT_AND_DOMAIN_BOUNDARY","adapter":"origin-domain-topology","event_kinds":["BOOTSTRAP","DOMAIN_ROUTE"],"dependencies":[]}, "GLS-0250": {"stage":"P0","projection_kind":"TYPED_FACT_AND_DOMAIN_BOUNDARY","adapter":"origin-domain-topology","event_kinds":["BOOTSTRAP","DOMAIN_ROUTE"],"dependencies":[]},

View file

@ -1,7 +1,7 @@
{ {
"schema": "hololake.gls-native-runtime-kernel/v1", "schema": "hololake.gls-native-runtime-kernel/v1",
"record_id": "HLP-GLS-NATIVE-RUNTIME-KERNEL-001", "record_id": "HLP-GLS-NATIVE-RUNTIME-KERNEL-001",
"source_commit": "2598fbfba8caf64c7ab9740a3036c5aab977502e", "source_commit": "d5b1111fcaccaccf025070e531631f2b3cbb00cd",
"receipt_schema": "hololake.protocol-decision-receipt/v1", "receipt_schema": "hololake.protocol-decision-receipt/v1",
"decision_set": ["ALLOW", "DENY", "AMBIGUOUS", "UNVERIFIED"], "decision_set": ["ALLOW", "DENY", "AMBIGUOUS", "UNVERIFIED"],
"runtime_boundaries": { "runtime_boundaries": {

View file

@ -3,7 +3,7 @@
"record_id": "HLP-GLS-RUNTIME-MANIFEST-002", "record_id": "HLP-GLS-RUNTIME-MANIFEST-002",
"source": { "source": {
"repository": "REPO-012", "repository": "REPO-012",
"commit": "2598fbfba8caf64c7ab9740a3036c5aab977502e", "commit": "d5b1111fcaccaccf025070e531631f2b3cbb00cd",
"root": "gls", "root": "gls",
"authority_files": [ "authority_files": [
{ {
@ -5751,7 +5751,7 @@
"declared_source_paths": [ "declared_source_paths": [
"gls/protocols/GLS-0850-GUANGHU-LANGUAGE-WORLD-BOUNDARY-AND-CREATOR-DIGNITY-PROTOCOL.hdlp" "gls/protocols/GLS-0850-GUANGHU-LANGUAGE-WORLD-BOUNDARY-AND-CREATOR-DIGNITY-PROTOCOL.hdlp"
], ],
"routing_reference_count": 0 "routing_reference_count": 1
}, },
"maturity": { "maturity": {
"registry_section": "registered_draft_protocols", "registry_section": "registered_draft_protocols",

View file

@ -3,7 +3,7 @@
"record_id": "HLP-ZERO-CORE-NUMBERING-KERNEL-001", "record_id": "HLP-ZERO-CORE-NUMBERING-KERNEL-001",
"authority": { "authority": {
"repository": "REPO-012", "repository": "REPO-012",
"source_commit": "2598fbfba8caf64c7ab9740a3036c5aab977502e", "source_commit": "d5b1111fcaccaccf025070e531631f2b3cbb00cd",
"source_path": "routing/guanghu-identity-authority-map.json", "source_path": "routing/guanghu-identity-authority-map.json",
"map_id": "GH-IDENTITY-AUTHORITY-MAP-001", "map_id": "GH-IDENTITY-AUTHORITY-MAP-001",
"map_version": "2026-08-10.1", "map_version": "2026-08-10.1",

View file

@ -7,7 +7,7 @@
线上事实源: 线上事实源:
- 第五域代码频道:`bingshuo/guanghu-ice-heart` - 第五域代码频道:`bingshuo/guanghu-ice-heart`
- REPO-012 `main``2598fbfba8caf64c7ab9740a3036c5aab977502e` - REPO-012 `main``d5b1111fcaccaccf025070e531631f2b3cbb00cd`
- Git tree`5a09f084fffee56d90599e69038c8335871ea04f` - Git tree`5a09f084fffee56d90599e69038c8335871ea04f`
- 第五域节点:`JD-FD-PRIMARY` - 第五域节点:`JD-FD-PRIMARY`
- 公开远端 HEAD 与第五域 Forgejo 裸仓库 HEAD一致 - 公开远端 HEAD 与第五域 Forgejo 裸仓库 HEAD一致

View file

@ -50,7 +50,7 @@
"sources": [ "sources": [
{ {
"recordId": "HLP-ZERO-CORE-NUMBERING-KERNEL-001", "recordId": "HLP-ZERO-CORE-NUMBERING-KERNEL-001",
"sha256": "4116078282a32c741ee10f32116d123722a301b4bf77f56afcd366b554d7ff6f" "sha256": "e8051a0706eb23f6901ea4787d852cf21c574bbe65bed3e8283cce69e2684c8d"
}, },
{ {
"recordId": "HLP-NUMBERED-IPC-ROOT-001", "recordId": "HLP-NUMBERED-IPC-ROOT-001",

View file

@ -9,7 +9,7 @@ test('compiled GLS v2 manifest reconciles current registration sources without e
assert.equal(registry.schema, 'hololake.gls-runtime-manifest/v2') assert.equal(registry.schema, 'hololake.gls-runtime-manifest/v2')
assert.equal(registry.source.repository, 'REPO-012') assert.equal(registry.source.repository, 'REPO-012')
assert.equal(registry.source.commit, '2598fbfba8caf64c7ab9740a3036c5aab977502e') assert.equal(registry.source.commit, 'd5b1111fcaccaccf025070e531631f2b3cbb00cd')
assert.equal(registry.source.authority_files.length, 4) assert.equal(registry.source.authority_files.length, 4)
assert.equal(registry.compiler.raw_protocol_text_executed, false) assert.equal(registry.compiler.raw_protocol_text_executed, false)
assert.equal(registry.compiler.arbitrary_protocol_code_allowed, false) assert.equal(registry.compiler.arbitrary_protocol_code_allowed, false)

View file

@ -9,7 +9,7 @@ test('zero-core numbering kernel pins the canonical authority map and fails clos
assert.equal(contract.schema, 'hololake.zero-core-numbering-kernel/v1') assert.equal(contract.schema, 'hololake.zero-core-numbering-kernel/v1')
assert.equal(contract.authority.map_id, 'GH-IDENTITY-AUTHORITY-MAP-001') assert.equal(contract.authority.map_id, 'GH-IDENTITY-AUTHORITY-MAP-001')
assert.equal(contract.authority.source_commit, '2598fbfba8caf64c7ab9740a3036c5aab977502e') assert.equal(contract.authority.source_commit, 'd5b1111fcaccaccf025070e531631f2b3cbb00cd')
assert.equal(contract.runtime.number_shape_is_authority, false) assert.equal(contract.runtime.number_shape_is_authority, false)
assert.equal(contract.runtime.unknown_number, 'FAIL_CLOSED') assert.equal(contract.runtime.unknown_number, 'FAIL_CLOSED')
assert.equal(contract.runtime.automatic_identity_issuance, false) assert.equal(contract.runtime.automatic_identity_issuance, false)

View file

@ -24,7 +24,7 @@ const EMBEDDED_KERNEL: &str = include_str!("../../contracts/gls-native-runtime-k
const KERNEL_SCHEMA: &str = "hololake.gls-native-runtime-kernel/v1"; const KERNEL_SCHEMA: &str = "hololake.gls-native-runtime-kernel/v1";
const REQUEST_SCHEMA: &str = "hololake.protocol-decision-request/v1"; const REQUEST_SCHEMA: &str = "hololake.protocol-decision-request/v1";
const RECEIPT_SCHEMA: &str = "hololake.protocol-decision-receipt/v1"; const RECEIPT_SCHEMA: &str = "hololake.protocol-decision-receipt/v1";
const SOURCE_COMMIT: &str = "2598fbfba8caf64c7ab9740a3036c5aab977502e"; const SOURCE_COMMIT: &str = "d5b1111fcaccaccf025070e531631f2b3cbb00cd";
const MAX_TEXT_BYTES: usize = 512; const MAX_TEXT_BYTES: usize = 512;
static LEDGER_SCHEMA_LOCK: Mutex<()> = Mutex::new(()); static LEDGER_SCHEMA_LOCK: Mutex<()> = Mutex::new(());

View file

@ -8,7 +8,7 @@ use std::collections::{HashMap, HashSet};
const EMBEDDED_REGISTRY: &str = include_str!("../../contracts/gls-runtime-registry.json"); const EMBEDDED_REGISTRY: &str = include_str!("../../contracts/gls-runtime-registry.json");
const EXPECTED_SCHEMA: &str = "hololake.gls-runtime-manifest/v2"; const EXPECTED_SCHEMA: &str = "hololake.gls-runtime-manifest/v2";
const EXPECTED_SOURCE_COMMIT: &str = "2598fbfba8caf64c7ab9740a3036c5aab977502e"; const EXPECTED_SOURCE_COMMIT: &str = "d5b1111fcaccaccf025070e531631f2b3cbb00cd";
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]
struct GlsRuntimeRegistry { struct GlsRuntimeRegistry {