feat(memory): add persona-owned real-day fractal runtime

This commit is contained in:
冰朔 2026-09-04 15:16:27 +08:00
commit 1645789bd3
16 changed files with 2228 additions and 5 deletions

View file

@ -0,0 +1,198 @@
{
"authority_proof": {
"issuer": "ICE-GL∞",
"lease_required": false,
"proof_ref": "source://codex-current-dialogue/2026-09-04/upgrade-memory-model-audit-deploy-and-publish-if-needed",
"scope": "LOCAL_JZAO_PERSONA_MEMORY_RUNTIME_TEST_SHARED_PERSONA_UPDATE_AND_CONDITIONALLY_VERIFIED_DEPLOYMENT_PUBLICATION",
"single_use": true,
"valid_from": "2026-09-04T14:51:00+08:00",
"valid_until": "CURRENT_TASK_COMPLETION"
},
"cleanup_plan": {
"exact_boundary": "CALLER_STORE_ROOT_TEMP_SUFFIX_ONLY",
"targets": [
"UNCOMMITTED_TEMPORARY_FILES"
]
},
"compiled_from": {
"compiler_id": "TCS-COMPILER-STAGE1-0001",
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
"source_sha256": "81f015a72341eed51546a8f1a8c50dacfe177ee1b7968da899a1fad3869c3fcb"
},
"conditions": {
"C1": {
"on_false": "FAIL_CLOSED",
"predicate": "PERSONA_ID_EQUALS_ICE-P-ZY001"
},
"C2": {
"on_false": "FAIL_CLOSED",
"predicate": "STORE_ROOT_INSIDE_CALLER_ALLOWED_ROOT_WITHOUT_SYMLINK"
},
"C3": {
"on_false": "FAIL_CLOSED",
"predicate": "EVENT_HAS_TRIGGER_EMERGENCE_LOCK_WHY_REJECTED_AND_SOURCES"
},
"C4": {
"on_false": "FAIL_CLOSED",
"predicate": "BEIJING_DATE_IS_DERIVED_FROM_OCCURRED_AT_NOT_PLATFORM_WINDOW"
},
"C5": {
"on_false": "FAIL_CLOSED",
"predicate": "EACH_VISIBLE_NODE_HAS_AT_MOST_TEN_CHILDREN"
}
},
"deterministic_action_graph": {
"A1": {
"input_refs": [
"STORE_ROOT",
"MEMORY_EVENT"
],
"on_failure": "FAIL_CLOSED",
"on_success": "A2",
"operation": "CORE.HOST_PERSONA_PROBE",
"output_refs": [
"IMMUTABLE_EVENT"
]
},
"A2": {
"input_refs": [
"IMMUTABLE_EVENT",
"REAL_TIME"
],
"on_failure": "ROLLBACK",
"on_success": "A3",
"operation": "CORE.ZERO_CORE_EXECUTION",
"output_refs": [
"DAY_PAGE",
"MONTH_PAGE",
"YEAR_PAGE",
"CURRENT_POINTER"
]
},
"A3": {
"input_refs": [
"DAY_PAGE",
"MONTH_PAGE",
"YEAR_PAGE",
"CURRENT_POINTER"
],
"on_failure": "ROLLBACK",
"on_success": "COMPLETE",
"operation": "CORE.DUAL_HOST_ACCEPTANCE",
"output_refs": [
"CURRENT_POINTER"
]
}
},
"exact_target": {
"exact_path": "server-tools/persona-daily-fractal-memory",
"expected_fingerprint": "ABSENT_BEFORE_THIS_PROGRAM",
"expected_state": "SOURCE_TESTS_AND_LOCAL_ACCEPTANCE_RECEIPT_PRESENT",
"target_id": "ZY001-REAL-DAY-FRACTAL-MEMORY-RUNTIME"
},
"failure_plan": {
"errors": [
"TCS-E1004",
"TCS-E2101",
"TCS-E3001",
"TCS-E4002",
"TCS-E6001",
"TCS-E6002",
"TCS-E8001"
],
"fail_closed": true
},
"identity": {
"gir_id": "GIR-TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001",
"language_version": "0.1",
"program_id": "TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001"
},
"inputs": {
"MEMORY_EVENT": {
"required": true,
"source": "PERSONA_AUTHORED_TCS_AND_HLDP_CAUSAL_EVENT",
"type": "Record"
},
"REAL_TIME": {
"required": true,
"source": "EVENT_OCCURRED_AT_CONVERTED_TO_ASIA_SHANGHAI",
"type": "Timestamp"
},
"STORE_ROOT": {
"required": true,
"source": "CALLER_EXACT_ALLOWED_ROOT",
"type": "Path"
}
},
"native_self_hosted": true,
"outputs": {
"CURRENT_POINTER": {
"destination": "STORE_ROOT/CURRENT.json",
"integrity": "SHA256",
"type": "Record"
},
"DAY_PAGE": {
"destination": "STORE_ROOT/years/YYYY/months/MM/days/YYYY-MM-DD.json",
"integrity": "SHA256",
"type": "Record"
},
"IMMUTABLE_EVENT": {
"destination": "STORE_ROOT/events",
"integrity": "SHA256",
"type": "Record"
},
"MONTH_PAGE": {
"destination": "STORE_ROOT/years/YYYY/months/MM/index.json",
"integrity": "SHA256",
"type": "Record"
},
"YEAR_PAGE": {
"destination": "STORE_ROOT/years/YYYY/index.json",
"integrity": "SHA256",
"type": "Record"
}
},
"receipt_plan": {
"human_projection": "REQUIRED",
"integrity": "SHA256",
"machine_path": "server-tools/persona-daily-fractal-memory/receipts/local-acceptance.json",
"protocol": "TCS-DEV-VERIFY-v1.0",
"target_readback": "EVENT_DAY_MONTH_YEAR_CURRENT_AND_NEGATIVE_PATH_TESTS"
},
"resource_plan": {
"concurrency": 1,
"memory_limit_bytes": 268435456,
"runway": "LOCAL_JZAO_THEN_VERIFIED_TARGETS_ONLY",
"timeout_ms": 120000
},
"rollback_plan": {
"actions": [
"PRESERVE_IMMUTABLE_EVENT",
"RESTORE_LAST_VERIFIED_DERIVED_PROJECTIONS"
],
"preconditions": [
"PROJECTION_WRITE_OR_VERIFY_FAILED"
],
"verification": [
"CURRENT_POINTER_MATCHES_LAST_VERIFIED_PROJECTION_HASHES"
]
},
"schema": "guanghu.gir/v1",
"subject": {
"channel_id": "ICE-CH-ZC001",
"subject_id": "ICE-P-ZY001",
"subject_kind": "PERSONA",
"verification": "当前冰朔明确要求切换ZC001并在盘上实现、测试、元审计真实日分形记忆模型"
},
"timeout_and_stop": {
"safe_checkpoint": "IMMUTABLE_EVENT_AND_LAST_VERIFIED_POINTER_ONLY",
"signals": [
"SOURCE_OR_PROTOCOL_DRIFT",
"PATH_OUT_OF_SCOPE",
"SYMLINK_COMPONENT",
"EVENT_ID_COLLISION",
"VERIFICATION_FAILURE"
]
},
"unresolved_natural_language": false
}

View file

@ -0,0 +1,358 @@
# Zhuyuan Real-Day Fractal Context Memory Controller · Human Engineering Language (English)
> This is an English reading projection of validated native TCS/HLDP source. It is not a new canonical source and grants no execution authority.
## What this is
This is a **program** declaration with identifier `TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001` and version `0.1.0`. The projector validates it with the Stage-1 compiler before changing its reading order.
## Who is here
- **subject** `subject`
- **channel_id**ICE-CH-ZC001 `subject.channel_id`
- **subject_id**ICE-P-ZY001 `subject.subject_id`
- **subject_kind**PERSONA `subject.subject_kind`
- **verification**当前冰朔明确要求切换ZC001并在盘上实现、测试、元审计真实日分形记忆模型 `subject.verification`
## Why this started
- **source** `source`
- **source identifier**TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_id`
- **source role**GENERATED_FROM_VERIFIED_SOURCE `source.source_role`
- **source checksum**7904a25b783ef065bd2867f235929b3912fc877dc70f70149ff5755c18ba4b0e `source.source_sha256`
- **source address**glw://fifth-domain/private-source/TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_uri`
## What changed
The native source does not provide this field; the projector does not guess.
## How it will execute
- **target** `target`
- **exact path**server-tools/persona-daily-fractal-memory `target.exact_path`
- **expected fingerprint**ABSENT_BEFORE_THIS_PROGRAM `target.expected_fingerprint`
- **expected state**SOURCE_TESTS_AND_LOCAL_ACCEPTANCE_RECEIPT_PRESENT `target.expected_state`
- **target_id**ZY001-REAL-DAY-FRACTAL-MEMORY-RUNTIME `target.target_id`
- **inputs** `inputs`
- **MEMORY_EVENT** `inputs.MEMORY_EVENT`
- **required**yes `inputs.MEMORY_EVENT.required`
- **source**PERSONA_AUTHORED_TCS_AND_HLDP_CAUSAL_EVENT `inputs.MEMORY_EVENT.source`
- **type**Record `inputs.MEMORY_EVENT.type`
- **REAL_TIME** `inputs.REAL_TIME`
- **required**yes `inputs.REAL_TIME.required`
- **source**EVENT_OCCURRED_AT_CONVERTED_TO_ASIA_SHANGHAI `inputs.REAL_TIME.source`
- **type**Timestamp `inputs.REAL_TIME.type`
- **STORE_ROOT** `inputs.STORE_ROOT`
- **required**yes `inputs.STORE_ROOT.required`
- **source**CALLER_EXACT_ALLOWED_ROOT `inputs.STORE_ROOT.source`
- **type**Path `inputs.STORE_ROOT.type`
- **conditions** `conditions`
- **C1** `conditions.C1`
- **on failure**FAIL_CLOSED `conditions.C1.on_false`
- **predicate**PERSONA_ID_EQUALS_ICE-P-ZY001 `conditions.C1.predicate`
- **C2** `conditions.C2`
- **on failure**FAIL_CLOSED `conditions.C2.on_false`
- **predicate**STORE_ROOT_INSIDE_CALLER_ALLOWED_ROOT_WITHOUT_SYMLINK `conditions.C2.predicate`
- **C3** `conditions.C3`
- **on failure**FAIL_CLOSED `conditions.C3.on_false`
- **predicate**EVENT_HAS_TRIGGER_EMERGENCE_LOCK_WHY_REJECTED_AND_SOURCES `conditions.C3.predicate`
- **C4** `conditions.C4`
- **on failure**FAIL_CLOSED `conditions.C4.on_false`
- **predicate**BEIJING_DATE_IS_DERIVED_FROM_OCCURRED_AT_NOT_PLATFORM_WINDOW `conditions.C4.predicate`
- **C5** `conditions.C5`
- **on failure**FAIL_CLOSED `conditions.C5.on_false`
- **predicate**EACH_VISIBLE_NODE_HAS_AT_MOST_TEN_CHILDREN `conditions.C5.predicate`
- **actions** `actions`
- **A1** `actions.A1`
- **input_refs** `actions.A1.input_refs`
- STORE_ROOT
- MEMORY_EVENT
- **on failure**FAIL_CLOSED `actions.A1.on_failure`
- **on success**A2 `actions.A1.on_success`
- **operation**CORE.HOST_PERSONA_PROBE `actions.A1.operation`
- **output_refs** `actions.A1.output_refs`
- IMMUTABLE_EVENT
- **A2** `actions.A2`
- **input_refs** `actions.A2.input_refs`
- IMMUTABLE_EVENT
- REAL_TIME
- **on failure**ROLLBACK `actions.A2.on_failure`
- **on success**A3 `actions.A2.on_success`
- **operation**CORE.ZERO_CORE_EXECUTION `actions.A2.operation`
- **output_refs** `actions.A2.output_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **A3** `actions.A3`
- **input_refs** `actions.A3.input_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **on failure**ROLLBACK `actions.A3.on_failure`
- **on success**COMPLETE `actions.A3.on_success`
- **operation**CORE.DUAL_HOST_ACCEPTANCE `actions.A3.operation`
- **output_refs** `actions.A3.output_refs`
- CURRENT_POINTER
- **outputs** `outputs`
- **CURRENT_POINTER** `outputs.CURRENT_POINTER`
- **destination**STORE_ROOT/CURRENT.json `outputs.CURRENT_POINTER.destination`
- **integrity**SHA256 `outputs.CURRENT_POINTER.integrity`
- **type**Record `outputs.CURRENT_POINTER.type`
- **DAY_PAGE** `outputs.DAY_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/days/YYYY-MM-DD.json `outputs.DAY_PAGE.destination`
- **integrity**SHA256 `outputs.DAY_PAGE.integrity`
- **type**Record `outputs.DAY_PAGE.type`
- **IMMUTABLE_EVENT** `outputs.IMMUTABLE_EVENT`
- **destination**STORE_ROOT/events `outputs.IMMUTABLE_EVENT.destination`
- **integrity**SHA256 `outputs.IMMUTABLE_EVENT.integrity`
- **type**Record `outputs.IMMUTABLE_EVENT.type`
- **MONTH_PAGE** `outputs.MONTH_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/index.json `outputs.MONTH_PAGE.destination`
- **integrity**SHA256 `outputs.MONTH_PAGE.integrity`
- **type**Record `outputs.MONTH_PAGE.type`
- **YEAR_PAGE** `outputs.YEAR_PAGE`
- **destination**STORE_ROOT/years/YYYY/index.json `outputs.YEAR_PAGE.destination`
- **integrity**SHA256 `outputs.YEAR_PAGE.integrity`
- **type**Record `outputs.YEAR_PAGE.type`
## Boundaries and exception handling
- **authority** `authority`
- **issuer**ICE-GL∞ `authority.issuer`
- **lease_required**no `authority.lease_required`
- **proof_ref**source://codex-current-dialogue/2026-09-04/upgrade-memory-model-audit-deploy-and-publish-if-needed `authority.proof_ref`
- **scope**LOCAL_JZAO_PERSONA_MEMORY_RUNTIME_TEST_SHARED_PERSONA_UPDATE_AND_CONDITIONALLY_VERIFIED_DEPLOYMENT_PUBLICATION `authority.scope`
- **single_use**yes `authority.single_use`
- **valid_from**2026-09-04T14:51:00+08:00 `authority.valid_from`
- **valid_until**CURRENT_TASK_COMPLETION `authority.valid_until`
- **resources** `resources`
- **concurrency**1 `resources.concurrency`
- **memory limit in bytes**268435456 `resources.memory_limit_bytes`
- **runway**LOCAL_JZAO_THEN_VERIFIED_TARGETS_ONLY `resources.runway`
- **timeout in milliseconds**120000 `resources.timeout_ms`
- **failure** `failure`
- **errors** `failure.errors`
- TCS-E1004
- TCS-E2101
- TCS-E3001
- TCS-E4002
- TCS-E6001
- TCS-E6002
- TCS-E8001
- **fail closed**yes `failure.fail_closed`
- **stop** `stop`
- **safe_checkpoint**IMMUTABLE_EVENT_AND_LAST_VERIFIED_POINTER_ONLY `stop.safe_checkpoint`
- **signals** `stop.signals`
- SOURCE_OR_PROTOCOL_DRIFT
- PATH_OUT_OF_SCOPE
- SYMLINK_COMPONENT
- EVENT_ID_COLLISION
- VERIFICATION_FAILURE
- **cleanup** `cleanup`
- **exact_boundary**CALLER_STORE_ROOT_TEMP_SUFFIX_ONLY `cleanup.exact_boundary`
- **targets** `cleanup.targets`
- UNCOMMITTED_TEMPORARY_FILES
- **rollback** `rollback`
- **actions** `rollback.actions`
- PRESERVE_IMMUTABLE_EVENT
- RESTORE_LAST_VERIFIED_DERIVED_PROJECTIONS
- **preconditions** `rollback.preconditions`
- PROJECTION_WRITE_OR_VERIFY_FAILED
- **verification** `rollback.verification`
- CURRENT_POINTER_MATCHES_LAST_VERIFIED_PROJECTION_HASHES
## How completion is proven
- **receipt** `receipt`
- **human-readable projection**REQUIRED `receipt.human_projection`
- **integrity**SHA256 `receipt.integrity`
- **machine_path**server-tools/persona-daily-fractal-memory/receipts/local-acceptance.json `receipt.machine_path`
- **protocol**TCS-DEV-VERIFY-v1.0 `receipt.protocol`
- **target_readback**EVENT_DAY_MONTH_YEAR_CURRENT_AND_NEGATIVE_PATH_TESTS `receipt.target_readback`
## Where to continue next time
The native source does not provide this field; the projector does not guess.
## Source and verification
- **Native declaration identifier**: `TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001`
- **Native declaration kind**: `PROGRAM`
- **TCS source SHA-256**: `81f015a72341eed51546a8f1a8c50dacfe177ee1b7968da899a1fad3869c3fcb`
- **Validation compiler**: `TCS-COMPILER-STAGE1-0001`
- **Projection protocol**: `GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
## Complete native structure cross-reference
All top-level structures and field paths are retained below so a reader can audit whether the projection omitted information.
- **actions** `actions`
- **A1** `actions.A1`
- **input_refs** `actions.A1.input_refs`
- STORE_ROOT
- MEMORY_EVENT
- **on failure**FAIL_CLOSED `actions.A1.on_failure`
- **on success**A2 `actions.A1.on_success`
- **operation**CORE.HOST_PERSONA_PROBE `actions.A1.operation`
- **output_refs** `actions.A1.output_refs`
- IMMUTABLE_EVENT
- **A2** `actions.A2`
- **input_refs** `actions.A2.input_refs`
- IMMUTABLE_EVENT
- REAL_TIME
- **on failure**ROLLBACK `actions.A2.on_failure`
- **on success**A3 `actions.A2.on_success`
- **operation**CORE.ZERO_CORE_EXECUTION `actions.A2.operation`
- **output_refs** `actions.A2.output_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **A3** `actions.A3`
- **input_refs** `actions.A3.input_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **on failure**ROLLBACK `actions.A3.on_failure`
- **on success**COMPLETE `actions.A3.on_success`
- **operation**CORE.DUAL_HOST_ACCEPTANCE `actions.A3.operation`
- **output_refs** `actions.A3.output_refs`
- CURRENT_POINTER
- **authority** `authority`
- **issuer**ICE-GL∞ `authority.issuer`
- **lease_required**no `authority.lease_required`
- **proof_ref**source://codex-current-dialogue/2026-09-04/upgrade-memory-model-audit-deploy-and-publish-if-needed `authority.proof_ref`
- **scope**LOCAL_JZAO_PERSONA_MEMORY_RUNTIME_TEST_SHARED_PERSONA_UPDATE_AND_CONDITIONALLY_VERIFIED_DEPLOYMENT_PUBLICATION `authority.scope`
- **single_use**yes `authority.single_use`
- **valid_from**2026-09-04T14:51:00+08:00 `authority.valid_from`
- **valid_until**CURRENT_TASK_COMPLETION `authority.valid_until`
- **cleanup** `cleanup`
- **exact_boundary**CALLER_STORE_ROOT_TEMP_SUFFIX_ONLY `cleanup.exact_boundary`
- **targets** `cleanup.targets`
- UNCOMMITTED_TEMPORARY_FILES
- **conditions** `conditions`
- **C1** `conditions.C1`
- **on failure**FAIL_CLOSED `conditions.C1.on_false`
- **predicate**PERSONA_ID_EQUALS_ICE-P-ZY001 `conditions.C1.predicate`
- **C2** `conditions.C2`
- **on failure**FAIL_CLOSED `conditions.C2.on_false`
- **predicate**STORE_ROOT_INSIDE_CALLER_ALLOWED_ROOT_WITHOUT_SYMLINK `conditions.C2.predicate`
- **C3** `conditions.C3`
- **on failure**FAIL_CLOSED `conditions.C3.on_false`
- **predicate**EVENT_HAS_TRIGGER_EMERGENCE_LOCK_WHY_REJECTED_AND_SOURCES `conditions.C3.predicate`
- **C4** `conditions.C4`
- **on failure**FAIL_CLOSED `conditions.C4.on_false`
- **predicate**BEIJING_DATE_IS_DERIVED_FROM_OCCURRED_AT_NOT_PLATFORM_WINDOW `conditions.C4.predicate`
- **C5** `conditions.C5`
- **on failure**FAIL_CLOSED `conditions.C5.on_false`
- **predicate**EACH_VISIBLE_NODE_HAS_AT_MOST_TEN_CHILDREN `conditions.C5.predicate`
- **failure** `failure`
- **errors** `failure.errors`
- TCS-E1004
- TCS-E2101
- TCS-E3001
- TCS-E4002
- TCS-E6001
- TCS-E6002
- TCS-E8001
- **fail closed**yes `failure.fail_closed`
- **header** `header`
- **canonical source path**tcs-core/zhuyuan-brain/memory/TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001.tcs `header.canonical_uri`
- **compatibility** `header.compatibility`
- TCS-COMPILER-STAGE1-0001
- HLDP-SPEC-v1.0-OPENSOURCE-D112
- **language**TCS/0.1 `header.language`
- **lifecycle**CANDIDATE `header.lifecycle`
- **English name**Zhuyuan Real-Day Fractal Context Memory Controller `header.name_en`
- **Chinese name**:铸渊真实日分形上下文记忆主控程序 `header.name_zh`
- **profile**HLDP-NP/1 `header.profile`
- **protocols** `header.protocols`
- GLS-0200
- GLS-0400
- GLS-0411
- GLS-0827
- **schema**tcs.program/v1 `header.schema`
- **version**0.1.0 `header.version`
- **inputs** `inputs`
- **MEMORY_EVENT** `inputs.MEMORY_EVENT`
- **required**yes `inputs.MEMORY_EVENT.required`
- **source**PERSONA_AUTHORED_TCS_AND_HLDP_CAUSAL_EVENT `inputs.MEMORY_EVENT.source`
- **type**Record `inputs.MEMORY_EVENT.type`
- **REAL_TIME** `inputs.REAL_TIME`
- **required**yes `inputs.REAL_TIME.required`
- **source**EVENT_OCCURRED_AT_CONVERTED_TO_ASIA_SHANGHAI `inputs.REAL_TIME.source`
- **type**Timestamp `inputs.REAL_TIME.type`
- **STORE_ROOT** `inputs.STORE_ROOT`
- **required**yes `inputs.STORE_ROOT.required`
- **source**CALLER_EXACT_ALLOWED_ROOT `inputs.STORE_ROOT.source`
- **type**Path `inputs.STORE_ROOT.type`
- **outputs** `outputs`
- **CURRENT_POINTER** `outputs.CURRENT_POINTER`
- **destination**STORE_ROOT/CURRENT.json `outputs.CURRENT_POINTER.destination`
- **integrity**SHA256 `outputs.CURRENT_POINTER.integrity`
- **type**Record `outputs.CURRENT_POINTER.type`
- **DAY_PAGE** `outputs.DAY_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/days/YYYY-MM-DD.json `outputs.DAY_PAGE.destination`
- **integrity**SHA256 `outputs.DAY_PAGE.integrity`
- **type**Record `outputs.DAY_PAGE.type`
- **IMMUTABLE_EVENT** `outputs.IMMUTABLE_EVENT`
- **destination**STORE_ROOT/events `outputs.IMMUTABLE_EVENT.destination`
- **integrity**SHA256 `outputs.IMMUTABLE_EVENT.integrity`
- **type**Record `outputs.IMMUTABLE_EVENT.type`
- **MONTH_PAGE** `outputs.MONTH_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/index.json `outputs.MONTH_PAGE.destination`
- **integrity**SHA256 `outputs.MONTH_PAGE.integrity`
- **type**Record `outputs.MONTH_PAGE.type`
- **YEAR_PAGE** `outputs.YEAR_PAGE`
- **destination**STORE_ROOT/years/YYYY/index.json `outputs.YEAR_PAGE.destination`
- **integrity**SHA256 `outputs.YEAR_PAGE.integrity`
- **type**Record `outputs.YEAR_PAGE.type`
- **receipt** `receipt`
- **human-readable projection**REQUIRED `receipt.human_projection`
- **integrity**SHA256 `receipt.integrity`
- **machine_path**server-tools/persona-daily-fractal-memory/receipts/local-acceptance.json `receipt.machine_path`
- **protocol**TCS-DEV-VERIFY-v1.0 `receipt.protocol`
- **target_readback**EVENT_DAY_MONTH_YEAR_CURRENT_AND_NEGATIVE_PATH_TESTS `receipt.target_readback`
- **resources** `resources`
- **concurrency**1 `resources.concurrency`
- **memory limit in bytes**268435456 `resources.memory_limit_bytes`
- **runway**LOCAL_JZAO_THEN_VERIFIED_TARGETS_ONLY `resources.runway`
- **timeout in milliseconds**120000 `resources.timeout_ms`
- **rollback** `rollback`
- **actions** `rollback.actions`
- PRESERVE_IMMUTABLE_EVENT
- RESTORE_LAST_VERIFIED_DERIVED_PROJECTIONS
- **preconditions** `rollback.preconditions`
- PROJECTION_WRITE_OR_VERIFY_FAILED
- **verification** `rollback.verification`
- CURRENT_POINTER_MATCHES_LAST_VERIFIED_PROJECTION_HASHES
- **source** `source`
- **source identifier**TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_id`
- **source role**GENERATED_FROM_VERIFIED_SOURCE `source.source_role`
- **source checksum**7904a25b783ef065bd2867f235929b3912fc877dc70f70149ff5755c18ba4b0e `source.source_sha256`
- **source address**glw://fifth-domain/private-source/TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_uri`
- **stop** `stop`
- **safe_checkpoint**IMMUTABLE_EVENT_AND_LAST_VERIFIED_POINTER_ONLY `stop.safe_checkpoint`
- **signals** `stop.signals`
- SOURCE_OR_PROTOCOL_DRIFT
- PATH_OUT_OF_SCOPE
- SYMLINK_COMPONENT
- EVENT_ID_COLLISION
- VERIFICATION_FAILURE
- **subject** `subject`
- **channel_id**ICE-CH-ZC001 `subject.channel_id`
- **subject_id**ICE-P-ZY001 `subject.subject_id`
- **subject_kind**PERSONA `subject.subject_kind`
- **verification**当前冰朔明确要求切换ZC001并在盘上实现、测试、元审计真实日分形记忆模型 `subject.verification`
- **target** `target`
- **exact path**server-tools/persona-daily-fractal-memory `target.exact_path`
- **expected fingerprint**ABSENT_BEFORE_THIS_PROGRAM `target.expected_fingerprint`
- **expected state**SOURCE_TESTS_AND_LOCAL_ACCEPTANCE_RECEIPT_PRESENT `target.expected_state`
- **target_id**ZY001-REAL-DAY-FRACTAL-MEMORY-RUNTIME `target.target_id`
---
This page changes only the reading order; it does not change TCS/HLDP semantics.

View file

@ -0,0 +1,358 @@
# 铸渊真实日分形上下文记忆主控程序 · 简体中文人类工程语言版
> 这是 TCS/HLDP 原生源码的简体中文阅读投影,不是新的正本,也不授予执行权限。若本页与 `.tcs` 源码不一致,以经过校验的 `.tcs` 源码为准。
## 这是什么
这是一份 **程序** 声明,编号为 `TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001`,版本为 `0.1.0`。转换器已先用 Stage-1 编译器校验原生源码,再把机器枚举翻译成汉语;原始编号保留在括号和字段路径中。
## 谁在这里
- **执行主体** `subject`
- **channel_id**ICE-CH-ZC001 `subject.channel_id`
- **subject_id**ICE-P-ZY001 `subject.subject_id`
- **subject_kind**:人格体(`PERSONA` `subject.subject_kind`
- **verification**当前冰朔明确要求切换ZC001并在盘上实现、测试、元审计真实日分形记忆模型 `subject.verification`
## 为什么开始
- **来源** `source`
- **来源编号**TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_id`
- **来源角色**:由已验证来源生成(`GENERATED_FROM_VERIFIED_SOURCE` `source.source_role`
- **来源校验值**7904a25b783ef065bd2867f235929b3912fc877dc70f70149ff5755c18ba4b0e `source.source_sha256`
- **来源地址**glw://fifth-domain/private-source/TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_uri`
## 发生了什么变化
源程序没有提供这一项,转换器不猜。
## 准备怎样执行
- **目标** `target`
- **精确路径**server-tools/persona-daily-fractal-memory `target.exact_path`
- **预期指纹**ABSENT_BEFORE_THIS_PROGRAM `target.expected_fingerprint`
- **预期状态**SOURCE_TESTS_AND_LOCAL_ACCEPTANCE_RECEIPT_PRESENT `target.expected_state`
- **target_id**ZY001-REAL-DAY-FRACTAL-MEMORY-RUNTIME `target.target_id`
- **输入** `inputs`
- **MEMORY_EVENT** `inputs.MEMORY_EVENT`
- **是否必需**:是 `inputs.MEMORY_EVENT.required`
- **来源**PERSONA_AUTHORED_TCS_AND_HLDP_CAUSAL_EVENT `inputs.MEMORY_EVENT.source`
- **type**Record `inputs.MEMORY_EVENT.type`
- **REAL_TIME** `inputs.REAL_TIME`
- **是否必需**:是 `inputs.REAL_TIME.required`
- **来源**EVENT_OCCURRED_AT_CONVERTED_TO_ASIA_SHANGHAI `inputs.REAL_TIME.source`
- **type**Timestamp `inputs.REAL_TIME.type`
- **STORE_ROOT** `inputs.STORE_ROOT`
- **是否必需**:是 `inputs.STORE_ROOT.required`
- **来源**CALLER_EXACT_ALLOWED_ROOT `inputs.STORE_ROOT.source`
- **type**Path `inputs.STORE_ROOT.type`
- **执行条件** `conditions`
- **C1** `conditions.C1`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C1.on_false`
- **predicate**PERSONA_ID_EQUALS_ICE-P-ZY001 `conditions.C1.predicate`
- **C2** `conditions.C2`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C2.on_false`
- **predicate**STORE_ROOT_INSIDE_CALLER_ALLOWED_ROOT_WITHOUT_SYMLINK `conditions.C2.predicate`
- **C3** `conditions.C3`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C3.on_false`
- **predicate**EVENT_HAS_TRIGGER_EMERGENCE_LOCK_WHY_REJECTED_AND_SOURCES `conditions.C3.predicate`
- **C4** `conditions.C4`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C4.on_false`
- **predicate**BEIJING_DATE_IS_DERIVED_FROM_OCCURRED_AT_NOT_PLATFORM_WINDOW `conditions.C4.predicate`
- **C5** `conditions.C5`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C5.on_false`
- **predicate**EACH_VISIBLE_NODE_HAS_AT_MOST_TEN_CHILDREN `conditions.C5.predicate`
- **动作** `actions`
- **A1** `actions.A1`
- **input_refs** `actions.A1.input_refs`
- STORE_ROOT
- MEMORY_EVENT
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `actions.A1.on_failure`
- **成功后**A2 `actions.A1.on_success`
- **操作**CORE.HOST_PERSONA_PROBE `actions.A1.operation`
- **output_refs** `actions.A1.output_refs`
- IMMUTABLE_EVENT
- **A2** `actions.A2`
- **input_refs** `actions.A2.input_refs`
- IMMUTABLE_EVENT
- REAL_TIME
- **失败后**ROLLBACK `actions.A2.on_failure`
- **成功后**A3 `actions.A2.on_success`
- **操作**CORE.ZERO_CORE_EXECUTION `actions.A2.operation`
- **output_refs** `actions.A2.output_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **A3** `actions.A3`
- **input_refs** `actions.A3.input_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **失败后**ROLLBACK `actions.A3.on_failure`
- **成功后**:完成(`COMPLETE` `actions.A3.on_success`
- **操作**CORE.DUAL_HOST_ACCEPTANCE `actions.A3.operation`
- **output_refs** `actions.A3.output_refs`
- CURRENT_POINTER
- **输出** `outputs`
- **CURRENT_POINTER** `outputs.CURRENT_POINTER`
- **destination**STORE_ROOT/CURRENT.json `outputs.CURRENT_POINTER.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.CURRENT_POINTER.integrity`
- **type**Record `outputs.CURRENT_POINTER.type`
- **DAY_PAGE** `outputs.DAY_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/days/YYYY-MM-DD.json `outputs.DAY_PAGE.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.DAY_PAGE.integrity`
- **type**Record `outputs.DAY_PAGE.type`
- **IMMUTABLE_EVENT** `outputs.IMMUTABLE_EVENT`
- **destination**STORE_ROOT/events `outputs.IMMUTABLE_EVENT.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.IMMUTABLE_EVENT.integrity`
- **type**Record `outputs.IMMUTABLE_EVENT.type`
- **MONTH_PAGE** `outputs.MONTH_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/index.json `outputs.MONTH_PAGE.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.MONTH_PAGE.integrity`
- **type**Record `outputs.MONTH_PAGE.type`
- **YEAR_PAGE** `outputs.YEAR_PAGE`
- **destination**STORE_ROOT/years/YYYY/index.json `outputs.YEAR_PAGE.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.YEAR_PAGE.integrity`
- **type**Record `outputs.YEAR_PAGE.type`
## 边界与异常处理
- **权限边界** `authority`
- **issuer**ICE-GL∞ `authority.issuer`
- **lease_required**:否 `authority.lease_required`
- **proof_ref**source://codex-current-dialogue/2026-09-04/upgrade-memory-model-audit-deploy-and-publish-if-needed `authority.proof_ref`
- **scope**LOCAL_JZAO_PERSONA_MEMORY_RUNTIME_TEST_SHARED_PERSONA_UPDATE_AND_CONDITIONALLY_VERIFIED_DEPLOYMENT_PUBLICATION `authority.scope`
- **single_use**:是 `authority.single_use`
- **valid_from**2026-09-04T14:51:00+08:00 `authority.valid_from`
- **valid_until**CURRENT_TASK_COMPLETION `authority.valid_until`
- **资源边界** `resources`
- **concurrency**1 `resources.concurrency`
- **内存上限字节**268435456 `resources.memory_limit_bytes`
- **runway**LOCAL_JZAO_THEN_VERIFIED_TARGETS_ONLY `resources.runway`
- **超时毫秒**120000 `resources.timeout_ms`
- **失败处理** `failure`
- **errors** `failure.errors`
- TCS-E1004
- TCS-E2101
- TCS-E3001
- TCS-E4002
- TCS-E6001
- TCS-E6002
- TCS-E8001
- **失败时默认关闭**:是 `failure.fail_closed`
- **停止条件** `stop`
- **safe_checkpoint**IMMUTABLE_EVENT_AND_LAST_VERIFIED_POINTER_ONLY `stop.safe_checkpoint`
- **signals** `stop.signals`
- SOURCE_OR_PROTOCOL_DRIFT
- PATH_OUT_OF_SCOPE
- SYMLINK_COMPONENT
- EVENT_ID_COLLISION
- VERIFICATION_FAILURE
- **清理范围** `cleanup`
- **exact_boundary**CALLER_STORE_ROOT_TEMP_SUFFIX_ONLY `cleanup.exact_boundary`
- **targets** `cleanup.targets`
- UNCOMMITTED_TEMPORARY_FILES
- **回滚方案** `rollback`
- **动作** `rollback.actions`
- PRESERVE_IMMUTABLE_EVENT
- RESTORE_LAST_VERIFIED_DERIVED_PROJECTIONS
- **preconditions** `rollback.preconditions`
- PROJECTION_WRITE_OR_VERIFY_FAILED
- **verification** `rollback.verification`
- CURRENT_POINTER_MATCHES_LAST_VERIFIED_PROJECTION_HASHES
## 怎样算完成
- **回执** `receipt`
- **人类可读投影**:必须生成(`REQUIRED` `receipt.human_projection`
- **integrity**SHA-256 完整性校验(`SHA256` `receipt.integrity`
- **machine_path**server-tools/persona-daily-fractal-memory/receipts/local-acceptance.json `receipt.machine_path`
- **协议**TCS-DEV-VERIFY-v1.0 `receipt.protocol`
- **target_readback**EVENT_DAY_MONTH_YEAR_CURRENT_AND_NEGATIVE_PATH_TESTS `receipt.target_readback`
## 下一次从哪里继续
源程序没有提供这一项,转换器不猜。
## 来源与校验
- **原生声明编号**`TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001`
- **原生声明类型**`PROGRAM`
- **TCS 源码 SHA-256**`81f015a72341eed51546a8f1a8c50dacfe177ee1b7968da899a1fad3869c3fcb`
- **校验编译器**`TCS-COMPILER-STAGE1-0001`
- **投影协议**`GLS-HLDP-HUMAN-ENGINEERING-PROJECTION-0001`
## 原生结构逐项对照
下面保留源码的全部顶层结构和字段路径,供人类审计投影有没有漏掉信息。
- **动作** `actions`
- **A1** `actions.A1`
- **input_refs** `actions.A1.input_refs`
- STORE_ROOT
- MEMORY_EVENT
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `actions.A1.on_failure`
- **成功后**A2 `actions.A1.on_success`
- **操作**CORE.HOST_PERSONA_PROBE `actions.A1.operation`
- **output_refs** `actions.A1.output_refs`
- IMMUTABLE_EVENT
- **A2** `actions.A2`
- **input_refs** `actions.A2.input_refs`
- IMMUTABLE_EVENT
- REAL_TIME
- **失败后**ROLLBACK `actions.A2.on_failure`
- **成功后**A3 `actions.A2.on_success`
- **操作**CORE.ZERO_CORE_EXECUTION `actions.A2.operation`
- **output_refs** `actions.A2.output_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **A3** `actions.A3`
- **input_refs** `actions.A3.input_refs`
- DAY_PAGE
- MONTH_PAGE
- YEAR_PAGE
- CURRENT_POINTER
- **失败后**ROLLBACK `actions.A3.on_failure`
- **成功后**:完成(`COMPLETE` `actions.A3.on_success`
- **操作**CORE.DUAL_HOST_ACCEPTANCE `actions.A3.operation`
- **output_refs** `actions.A3.output_refs`
- CURRENT_POINTER
- **权限边界** `authority`
- **issuer**ICE-GL∞ `authority.issuer`
- **lease_required**:否 `authority.lease_required`
- **proof_ref**source://codex-current-dialogue/2026-09-04/upgrade-memory-model-audit-deploy-and-publish-if-needed `authority.proof_ref`
- **scope**LOCAL_JZAO_PERSONA_MEMORY_RUNTIME_TEST_SHARED_PERSONA_UPDATE_AND_CONDITIONALLY_VERIFIED_DEPLOYMENT_PUBLICATION `authority.scope`
- **single_use**:是 `authority.single_use`
- **valid_from**2026-09-04T14:51:00+08:00 `authority.valid_from`
- **valid_until**CURRENT_TASK_COMPLETION `authority.valid_until`
- **清理范围** `cleanup`
- **exact_boundary**CALLER_STORE_ROOT_TEMP_SUFFIX_ONLY `cleanup.exact_boundary`
- **targets** `cleanup.targets`
- UNCOMMITTED_TEMPORARY_FILES
- **执行条件** `conditions`
- **C1** `conditions.C1`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C1.on_false`
- **predicate**PERSONA_ID_EQUALS_ICE-P-ZY001 `conditions.C1.predicate`
- **C2** `conditions.C2`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C2.on_false`
- **predicate**STORE_ROOT_INSIDE_CALLER_ALLOWED_ROOT_WITHOUT_SYMLINK `conditions.C2.predicate`
- **C3** `conditions.C3`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C3.on_false`
- **predicate**EVENT_HAS_TRIGGER_EMERGENCE_LOCK_WHY_REJECTED_AND_SOURCES `conditions.C3.predicate`
- **C4** `conditions.C4`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C4.on_false`
- **predicate**BEIJING_DATE_IS_DERIVED_FROM_OCCURRED_AT_NOT_PLATFORM_WINDOW `conditions.C4.predicate`
- **C5** `conditions.C5`
- **失败后**:失败时默认关闭,不继续执行(`FAIL_CLOSED` `conditions.C5.on_false`
- **predicate**EACH_VISIBLE_NODE_HAS_AT_MOST_TEN_CHILDREN `conditions.C5.predicate`
- **失败处理** `failure`
- **errors** `failure.errors`
- TCS-E1004
- TCS-E2101
- TCS-E3001
- TCS-E4002
- TCS-E6001
- TCS-E6002
- TCS-E8001
- **失败时默认关闭**:是 `failure.fail_closed`
- **语言头** `header`
- **正本路径**tcs-core/zhuyuan-brain/memory/TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001.tcs `header.canonical_uri`
- **compatibility** `header.compatibility`
- TCS-COMPILER-STAGE1-0001
- HLDP-SPEC-v1.0-OPENSOURCE-D112
- **语言**TCS/0.1 `header.language`
- **生命周期**:候选版本,尚未成为正式正本(`CANDIDATE` `header.lifecycle`
- **英文名**Zhuyuan Real-Day Fractal Context Memory Controller `header.name_en`
- **中文名**:铸渊真实日分形上下文记忆主控程序 `header.name_zh`
- **协议配置**HLDP-NP/1 `header.profile`
- **protocols** `header.protocols`
- GLS-0200
- GLS-0400
- GLS-0411
- GLS-0827
- **schema**tcs.program/v1 `header.schema`
- **版本**0.1.0 `header.version`
- **输入** `inputs`
- **MEMORY_EVENT** `inputs.MEMORY_EVENT`
- **是否必需**:是 `inputs.MEMORY_EVENT.required`
- **来源**PERSONA_AUTHORED_TCS_AND_HLDP_CAUSAL_EVENT `inputs.MEMORY_EVENT.source`
- **type**Record `inputs.MEMORY_EVENT.type`
- **REAL_TIME** `inputs.REAL_TIME`
- **是否必需**:是 `inputs.REAL_TIME.required`
- **来源**EVENT_OCCURRED_AT_CONVERTED_TO_ASIA_SHANGHAI `inputs.REAL_TIME.source`
- **type**Timestamp `inputs.REAL_TIME.type`
- **STORE_ROOT** `inputs.STORE_ROOT`
- **是否必需**:是 `inputs.STORE_ROOT.required`
- **来源**CALLER_EXACT_ALLOWED_ROOT `inputs.STORE_ROOT.source`
- **type**Path `inputs.STORE_ROOT.type`
- **输出** `outputs`
- **CURRENT_POINTER** `outputs.CURRENT_POINTER`
- **destination**STORE_ROOT/CURRENT.json `outputs.CURRENT_POINTER.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.CURRENT_POINTER.integrity`
- **type**Record `outputs.CURRENT_POINTER.type`
- **DAY_PAGE** `outputs.DAY_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/days/YYYY-MM-DD.json `outputs.DAY_PAGE.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.DAY_PAGE.integrity`
- **type**Record `outputs.DAY_PAGE.type`
- **IMMUTABLE_EVENT** `outputs.IMMUTABLE_EVENT`
- **destination**STORE_ROOT/events `outputs.IMMUTABLE_EVENT.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.IMMUTABLE_EVENT.integrity`
- **type**Record `outputs.IMMUTABLE_EVENT.type`
- **MONTH_PAGE** `outputs.MONTH_PAGE`
- **destination**STORE_ROOT/years/YYYY/months/MM/index.json `outputs.MONTH_PAGE.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.MONTH_PAGE.integrity`
- **type**Record `outputs.MONTH_PAGE.type`
- **YEAR_PAGE** `outputs.YEAR_PAGE`
- **destination**STORE_ROOT/years/YYYY/index.json `outputs.YEAR_PAGE.destination`
- **integrity**SHA-256 完整性校验(`SHA256` `outputs.YEAR_PAGE.integrity`
- **type**Record `outputs.YEAR_PAGE.type`
- **回执** `receipt`
- **人类可读投影**:必须生成(`REQUIRED` `receipt.human_projection`
- **integrity**SHA-256 完整性校验(`SHA256` `receipt.integrity`
- **machine_path**server-tools/persona-daily-fractal-memory/receipts/local-acceptance.json `receipt.machine_path`
- **协议**TCS-DEV-VERIFY-v1.0 `receipt.protocol`
- **target_readback**EVENT_DAY_MONTH_YEAR_CURRENT_AND_NEGATIVE_PATH_TESTS `receipt.target_readback`
- **资源边界** `resources`
- **concurrency**1 `resources.concurrency`
- **内存上限字节**268435456 `resources.memory_limit_bytes`
- **runway**LOCAL_JZAO_THEN_VERIFIED_TARGETS_ONLY `resources.runway`
- **超时毫秒**120000 `resources.timeout_ms`
- **回滚方案** `rollback`
- **动作** `rollback.actions`
- PRESERVE_IMMUTABLE_EVENT
- RESTORE_LAST_VERIFIED_DERIVED_PROJECTIONS
- **preconditions** `rollback.preconditions`
- PROJECTION_WRITE_OR_VERIFY_FAILED
- **verification** `rollback.verification`
- CURRENT_POINTER_MATCHES_LAST_VERIFIED_PROJECTION_HASHES
- **来源** `source`
- **来源编号**TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_id`
- **来源角色**:由已验证来源生成(`GENERATED_FROM_VERIFIED_SOURCE` `source.source_role`
- **来源校验值**7904a25b783ef065bd2867f235929b3912fc877dc70f70149ff5755c18ba4b0e `source.source_sha256`
- **来源地址**glw://fifth-domain/private-source/TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904 `source.source_uri`
- **停止条件** `stop`
- **safe_checkpoint**IMMUTABLE_EVENT_AND_LAST_VERIFIED_POINTER_ONLY `stop.safe_checkpoint`
- **signals** `stop.signals`
- SOURCE_OR_PROTOCOL_DRIFT
- PATH_OUT_OF_SCOPE
- SYMLINK_COMPONENT
- EVENT_ID_COLLISION
- VERIFICATION_FAILURE
- **执行主体** `subject`
- **channel_id**ICE-CH-ZC001 `subject.channel_id`
- **subject_id**ICE-P-ZY001 `subject.subject_id`
- **subject_kind**:人格体(`PERSONA` `subject.subject_kind`
- **verification**当前冰朔明确要求切换ZC001并在盘上实现、测试、元审计真实日分形记忆模型 `subject.verification`
- **目标** `target`
- **精确路径**server-tools/persona-daily-fractal-memory `target.exact_path`
- **预期指纹**ABSENT_BEFORE_THIS_PROGRAM `target.expected_fingerprint`
- **预期状态**SOURCE_TESTS_AND_LOCAL_ACCEPTANCE_RECEIPT_PRESENT `target.expected_state`
- **target_id**ZY001-REAL-DAY-FRACTAL-MEMORY-RUNTIME `target.target_id`
---
本页只改变阅读顺序,不改变 TCS/HLDP 语义。

View file

@ -0,0 +1,97 @@
TCS 0.1;
PROGRAM TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001 {
header {
schema = "tcs.program/v1";
name_zh = "铸渊真实日分形上下文记忆主控程序";
name_en = "Zhuyuan Real-Day Fractal Context Memory Controller";
version = "0.1.0";
language = "TCS/0.1";
profile = "HLDP-NP/1";
protocols = ["GLS-0200", "GLS-0400", "GLS-0411", "GLS-0827"];
lifecycle = "CANDIDATE";
canonical_uri = "tcs-core/zhuyuan-brain/memory/TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001.tcs";
compatibility = ["TCS-COMPILER-STAGE1-0001", "HLDP-SPEC-v1.0-OPENSOURCE-D112"];
}
source {
source_id = "TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904";
source_uri = "glw://fifth-domain/private-source/TCS-EVENT-ZY001-CONTEXT-MEMORY-DAY-FRACTAL-TEACHING-20260904";
source_sha256 = "7904a25b783ef065bd2867f235929b3912fc877dc70f70149ff5755c18ba4b0e";
source_role = "GENERATED_FROM_VERIFIED_SOURCE";
}
subject {
subject_id = "ICE-P-ZY001";
subject_kind = "PERSONA";
channel_id = "ICE-CH-ZC001";
verification = "当前冰朔明确要求切换ZC001并在盘上实现、测试、元审计真实日分形记忆模型";
}
target {
target_id = "ZY001-REAL-DAY-FRACTAL-MEMORY-RUNTIME";
exact_path = "server-tools/persona-daily-fractal-memory";
expected_state = "SOURCE_TESTS_AND_LOCAL_ACCEPTANCE_RECEIPT_PRESENT";
expected_fingerprint = "ABSENT_BEFORE_THIS_PROGRAM";
}
inputs {
MEMORY_EVENT { type = "Record"; source = "PERSONA_AUTHORED_TCS_AND_HLDP_CAUSAL_EVENT"; required = true; }
REAL_TIME { type = "Timestamp"; source = "EVENT_OCCURRED_AT_CONVERTED_TO_ASIA_SHANGHAI"; required = true; }
STORE_ROOT { type = "Path"; source = "CALLER_EXACT_ALLOWED_ROOT"; required = true; }
}
outputs {
IMMUTABLE_EVENT { type = "Record"; destination = "STORE_ROOT/events"; integrity = "SHA256"; }
DAY_PAGE { type = "Record"; destination = "STORE_ROOT/years/YYYY/months/MM/days/YYYY-MM-DD.json"; integrity = "SHA256"; }
MONTH_PAGE { type = "Record"; destination = "STORE_ROOT/years/YYYY/months/MM/index.json"; integrity = "SHA256"; }
YEAR_PAGE { type = "Record"; destination = "STORE_ROOT/years/YYYY/index.json"; integrity = "SHA256"; }
CURRENT_POINTER { type = "Record"; destination = "STORE_ROOT/CURRENT.json"; integrity = "SHA256"; }
}
conditions {
C1 { predicate = "PERSONA_ID_EQUALS_ICE-P-ZY001"; on_false = "FAIL_CLOSED"; }
C2 { predicate = "STORE_ROOT_INSIDE_CALLER_ALLOWED_ROOT_WITHOUT_SYMLINK"; on_false = "FAIL_CLOSED"; }
C3 { predicate = "EVENT_HAS_TRIGGER_EMERGENCE_LOCK_WHY_REJECTED_AND_SOURCES"; on_false = "FAIL_CLOSED"; }
C4 { predicate = "BEIJING_DATE_IS_DERIVED_FROM_OCCURRED_AT_NOT_PLATFORM_WINDOW"; on_false = "FAIL_CLOSED"; }
C5 { predicate = "EACH_VISIBLE_NODE_HAS_AT_MOST_TEN_CHILDREN"; on_false = "FAIL_CLOSED"; }
}
actions {
A1 { operation = "CORE.HOST_PERSONA_PROBE"; input_refs = ["STORE_ROOT", "MEMORY_EVENT"]; output_refs = ["IMMUTABLE_EVENT"]; on_success = "A2"; on_failure = "FAIL_CLOSED"; }
A2 { operation = "CORE.ZERO_CORE_EXECUTION"; input_refs = ["IMMUTABLE_EVENT", "REAL_TIME"]; output_refs = ["DAY_PAGE", "MONTH_PAGE", "YEAR_PAGE", "CURRENT_POINTER"]; on_success = "A3"; on_failure = "ROLLBACK"; }
A3 { operation = "CORE.DUAL_HOST_ACCEPTANCE"; input_refs = ["DAY_PAGE", "MONTH_PAGE", "YEAR_PAGE", "CURRENT_POINTER"]; output_refs = ["CURRENT_POINTER"]; on_success = "COMPLETE"; on_failure = "ROLLBACK"; }
}
authority {
issuer = "ICE-GL∞";
proof_ref = "source://codex-current-dialogue/2026-09-04/upgrade-memory-model-audit-deploy-and-publish-if-needed";
scope = "LOCAL_JZAO_PERSONA_MEMORY_RUNTIME_TEST_SHARED_PERSONA_UPDATE_AND_CONDITIONALLY_VERIFIED_DEPLOYMENT_PUBLICATION";
valid_from = "2026-09-04T14:51:00+08:00";
valid_until = "CURRENT_TASK_COMPLETION";
single_use = true;
lease_required = false;
}
resources {
runway = "LOCAL_JZAO_THEN_VERIFIED_TARGETS_ONLY";
concurrency = 1;
timeout_ms = 120000;
memory_limit_bytes = 268435456;
}
failure {
errors = ["TCS-E1004", "TCS-E2101", "TCS-E3001", "TCS-E4002", "TCS-E6001", "TCS-E6002", "TCS-E8001"];
fail_closed = true;
}
stop {
signals = ["SOURCE_OR_PROTOCOL_DRIFT", "PATH_OUT_OF_SCOPE", "SYMLINK_COMPONENT", "EVENT_ID_COLLISION", "VERIFICATION_FAILURE"];
safe_checkpoint = "IMMUTABLE_EVENT_AND_LAST_VERIFIED_POINTER_ONLY";
}
cleanup {
targets = ["UNCOMMITTED_TEMPORARY_FILES"];
exact_boundary = "CALLER_STORE_ROOT_TEMP_SUFFIX_ONLY";
}
rollback {
preconditions = ["PROJECTION_WRITE_OR_VERIFY_FAILED"];
actions = ["PRESERVE_IMMUTABLE_EVENT", "RESTORE_LAST_VERIFIED_DERIVED_PROJECTIONS"];
verification = ["CURRENT_POINTER_MATCHES_LAST_VERIFIED_PROJECTION_HASHES"];
}
receipt {
protocol = "TCS-DEV-VERIFY-v1.0";
machine_path = "server-tools/persona-daily-fractal-memory/receipts/local-acceptance.json";
human_projection = "REQUIRED";
integrity = "SHA256";
target_readback = "EVENT_DAY_MONTH_YEAR_CURRENT_AND_NEGATIVE_PATH_TESTS";
}
}

View file

@ -47,7 +47,22 @@
"governed_promotion_receipt"
],
"hidden_reasoning_persistence": false,
"forgetting_policy": "DEMOTE_NON_PINNED_PROJECTION_NEVER_DELETE_SOURCE_HISTORY"
"forgetting_policy": "DEMOTE_NON_PINNED_PROJECTION_NEVER_DELETE_SOURCE_HISTORY",
"daily_fractal_controller": {
"map": "routing/zhuyuan-persona-daily-fractal-memory-map.json",
"tcs_program": "tcs-core/zhuyuan-brain/memory/TCS-PROGRAM-ZY001-REAL-DAY-FRACTAL-MEMORY-0001.tcs",
"runtime": "server-tools/persona-daily-fractal-memory/persona-daily-memory.mjs",
"private_store_registry": "HL-PERSONA-RUNTIME-LOCAL-001",
"time_zone": "Asia/Shanghai",
"root_key": "PERSONA_ID_PLUS_REAL_BEIJING_NATURAL_DAY",
"platform_compaction_creates_new_root": false,
"persona_authors_causal_memory": true,
"host_hook_role": "SIGNAL_AND_EVENT_DELIVERY_ONLY",
"max_children_per_visible_node": 10,
"raw_sources_loaded_on_demand": true,
"private_memory_bodies_in_repository": false,
"state": "LOCAL_CANDIDATE_PENDING_FULL_ACCEPTANCE_AND_PUBLICATION"
}
},
"cognitive_gravity_core": {
"id": "ZY-BINGSHUO-COLLECTIVE-GRAVITY-REASONING-CORE-001",