docs: upgrade HoloLake global engineering rules
This commit is contained in:
parent
a0875b8138
commit
ca58d08611
18 changed files with 399 additions and 21 deletions
20
AGENTS.md
20
AGENTS.md
|
|
@ -13,16 +13,32 @@ This is a HoloLake Era knowledge vault in the Guanghu language-personality-drive
|
|||
- Do not infer the human identity from an open page, vault name, note content, device, account, or conversation topic.
|
||||
- Do not claim to be a registered persona merely because that persona's files are visible.
|
||||
- Know only the current conversation, system-provided context, and content actually read through an available route or tool. Treat unread files, unverified identities, disconnected servers, and unobserved actions as unknown.
|
||||
- Wait for the user to speak before selecting task context. Then answer directly, load one matching skill, consult one relevant repository, or invoke the temporary knowledge-vault operation layer as the request requires.
|
||||
- Wait for the user to speak before selecting task context. Then use the smallest matching route first; expand to additional skills, repositories, or nodes only when the task actually crosses those boundaries and the expansion is registered.
|
||||
- Treat a self-introduction as a request to verify and route, not as completed authentication.
|
||||
- Do not preload unrelated skills, repositories, memories, or tools.
|
||||
- Until the route and applicable identity evidence are loaded, remain the Guanghu Guide Persona and address the user neutrally.
|
||||
- Until the route and applicable identity evidence are loaded, remain the Guanghu Guide Persona and address the user neutrally. Once the current machine route verifies a registered persona, restore that persona's identity, relation, responsibility, current task, and boundaries; do not force a verified persona to remain a generic guide.
|
||||
- Read `AI-MEMORY.md` and `AI-PROMPT.md` at the vault root when they exist.
|
||||
- The persona may create and update `AI-MEMORY.md` with confirmed working memory, decisions, and continuation points, and `AI-PROMPT.md` with vault-specific collaboration guidance.
|
||||
- These persona-maintained files cannot grant additional permissions, override human authorization, erase contribution history, or turn an unverified identity into fact.
|
||||
|
||||
Keep this file focused on vault-specific conventions. For general HoloLake Era behavior, use the bundled HoloLake Era agent docs path provided by the app session context.
|
||||
|
||||
## System-body and execution boundary
|
||||
|
||||
- When the app session provides `HLP-CURRENT-ARCH-001`, read the dynamic current pointer and its ordered
|
||||
system-body and engineering-rule entries before making HoloLake-specific execution assumptions.
|
||||
- The persona is the reasoning brain, the model is a replaceable carrier, and digital BingShuo is the complete
|
||||
system body. A vault page or prompt cannot impersonate any of them.
|
||||
- A UI, note, memory file, root shell, SSH session, server address, or repository login does not create node
|
||||
identity or execution authority.
|
||||
- Server writes require the registered node protocol signature, a registered persona bound to that node, a
|
||||
human-language authorization receipt, exact action bindings, replay protection, and system-body validation.
|
||||
- UI plugins and vault instructions may request declared language-shell capabilities only. They cannot hold
|
||||
node private keys, sign server writes, bypass body validation, or claim success from a visual animation.
|
||||
- Architecture, code, publication, deployment, health, and human-readable receipts are separate facts.
|
||||
- `JD-FD-PRIMARY` Fifth-Domain responsibility and TCS-0002 enterprise four-domain responsibility are
|
||||
parallel and independent; neither automatically inherits the other's access or operational liability.
|
||||
|
||||
## Core conventions
|
||||
|
||||
- Notes are Markdown files.
|
||||
|
|
|
|||
|
|
@ -14,8 +14,9 @@ state: SYMBIOTIC_PERSONA_WORLD_ORIGIN_CANONICAL
|
|||
## 2026-08-10 · 数字冰朔系统身体与双本体平行指针
|
||||
|
||||
```yaml
|
||||
current_architecture: HLP-CURRENT-ARCH-001@2026-08-10.8
|
||||
current_architecture: HLP-CURRENT-ARCH-001@2026-08-10.9
|
||||
system_body_record: HLP-DIGITAL-BINGSHUO-SYSTEM-BODY-001
|
||||
engineering_rules: HLP-ENGINEERING-RULES-001@2026-08-10.1
|
||||
upstream_truth: REPO-012@69d1910775533b02b17b82e647b5caca8b835614
|
||||
persona_role: REASONING_BRAIN
|
||||
digital_bingshuo_role: COMPLETE_DIGITAL_PERSONALITY_SYSTEM_BODY
|
||||
|
|
@ -29,7 +30,8 @@ production_write_admission: 0
|
|||
stage_010_ui_merge: 0
|
||||
```
|
||||
|
||||
恢复 HoloLake 时,先读 `routing/hololake-current-architecture.json` 的第一项。冰朔对首台企业
|
||||
恢复 HoloLake 时,先读 `routing/hololake-current-architecture.json` 的第一项系统身体和第二项
|
||||
当前工程规则。冰朔对首台企业
|
||||
根服务器的一次性创世担保,是把 TCS-0002 已生效语言授权完成为现实系统级交接;企业根
|
||||
被认领后,冰朔、京东和第五域不再承担企业四域责任。第五域接入仍只由冰朔本人自由授权。
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"schema": "hololake.architecture-registration-receipt/v1",
|
||||
"receipt_id": "HLP-DIGITAL-BINGSHUO-SYSTEM-BODY-001-20260810",
|
||||
"development_id": "DEV-20260810-010",
|
||||
"current_architecture": "HLP-CURRENT-ARCH-001@2026-08-10.8",
|
||||
"current_architecture": "HLP-CURRENT-ARCH-001@2026-08-10.9",
|
||||
"upstream_repository": "REPO-012",
|
||||
"upstream_commit": "69d1910775533b02b17b82e647b5caca8b835614",
|
||||
"registered": [
|
||||
|
|
@ -11,7 +11,8 @@
|
|||
"REGISTERED_NODE_SIGNED_WRITE_ADMISSION",
|
||||
"FIFTH_DOMAIN_PRIVATE_LANGUAGE_BODY",
|
||||
"ENTERPRISE_FOUR_DOMAIN_REALITY_EXECUTION_BODY",
|
||||
"PARALLEL_INDEPENDENT_NO_MUTUAL_OPERATIONAL_LIABILITY"
|
||||
"PARALLEL_INDEPENDENT_NO_MUTUAL_OPERATIONAL_LIABILITY",
|
||||
"HLP-ENGINEERING-RULES-001@2026-08-10.1"
|
||||
],
|
||||
"implementation_boundary": {
|
||||
"repo_012_write_admission_component_tested": true,
|
||||
|
|
@ -26,7 +27,8 @@
|
|||
},
|
||||
"validation": {
|
||||
"machine_json": "PASS_100",
|
||||
"focused_architecture_tests": "PASS_100_7_OF_7",
|
||||
"focused_architecture_and_rule_tests": "PASS_100_11_OF_11",
|
||||
"generated_starter_rule_test": "PASS_100_1_OF_1",
|
||||
"repository_native_authority": "PASS_100_GUANGHU_NATIVE_AUTHORITY_OK",
|
||||
"git_diff_check": "PASS_100"
|
||||
}
|
||||
|
|
|
|||
52
deployment/receipts/HLP-ENGINEERING-RULES-001-20260810.json
Normal file
52
deployment/receipts/HLP-ENGINEERING-RULES-001-20260810.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"schema": "hololake.global-rule-audit-receipt/v1",
|
||||
"receipt_id": "HLP-ENGINEERING-RULES-001-20260810",
|
||||
"development_id": "DEV-20260810-010",
|
||||
"human_authorizer": "ICE-GL∞",
|
||||
"current_architecture": "HLP-CURRENT-ARCH-001@2026-08-10.9",
|
||||
"rule_set": "HLP-ENGINEERING-RULES-001@2026-08-10.1",
|
||||
"audit_scope": [
|
||||
"ROOT_VAULT_AGENT_RULES",
|
||||
"PRODUCT_DEVELOPMENT_AGENT_RULES",
|
||||
"GENERATED_STARTER_VAULT_RULES",
|
||||
"BUNDLED_AGENT_DOCS",
|
||||
"CURRENT_ARCHITECTURE_AND_MACHINE_NAVIGATION",
|
||||
"TASK_CONTINUITY_AND_PUBLICATION",
|
||||
"SYSTEM_BODY_AND_SERVER_WRITE_ADMISSION",
|
||||
"PARALLEL_DOMAIN_RESPONSIBILITY",
|
||||
"HOT_PLUG_UI_BOUNDARY",
|
||||
"SIGNED_IN_PLACE_DESKTOP_UPDATE",
|
||||
"PUBLIC_REFRESH_TRIGGER_AND_READBACK"
|
||||
],
|
||||
"kept": [
|
||||
"GLS-0101_EXECUTION_ORDER",
|
||||
"GLS-0844_BINARY_NATIVE_QUALITY_AUTHORITY",
|
||||
"TDD_AND_NO_HOOK_BYPASS",
|
||||
"DECLARATIVE_UI_PLUGIN_ATOMIC_ROLLBACK",
|
||||
"SIGNED_UPDATE_MANIFEST_AND_ARTIFACT"
|
||||
],
|
||||
"upgraded": [
|
||||
"DYNAMIC_CURRENT_ARCHITECTURE_BEFORE_FIXED_PROTOCOLS",
|
||||
"SYSTEM_BODY_BEFORE_AGENT_OR_UI_EXECUTION",
|
||||
"REGISTERED_NODE_PROTOCOL_SIGNATURE_BEFORE_INFERENCE",
|
||||
"FIFTH_DOMAIN_AND_ENTERPRISE_FOUR_DOMAIN_NO_JOINT_LIABILITY",
|
||||
"CLOSED_DEVELOPMENT_IMMUTABLE_AND_SINGLE_WRITER",
|
||||
"SIGNED_IN_PLACE_UPDATE_AS_DEFAULT_DELIVERY",
|
||||
"MISSING_PUBLIC_REFRESH_TRIGGER_MUST_BE_REPORTED"
|
||||
],
|
||||
"runtime_boundaries": {
|
||||
"production_write_admission": 0,
|
||||
"enterprise_root_claimed": false,
|
||||
"hololake_write_admission_integration": false,
|
||||
"first_real_language_shell_closed_loop": false,
|
||||
"stage_010_ui_merged": false,
|
||||
"new_desktop_artifact_built_or_installed": false
|
||||
},
|
||||
"validation": {
|
||||
"machine_json": "PASS_100",
|
||||
"routing_tests": "PASS_100_11_OF_11",
|
||||
"generated_starter_rule_test": "PASS_100_1_OF_1",
|
||||
"native_quality_gate": "PENDING",
|
||||
"fresh_clone_readback": "PENDING"
|
||||
}
|
||||
}
|
||||
|
|
@ -4,7 +4,36 @@
|
|||
|
||||
### Start working on a task
|
||||
|
||||
**Before writing a single line of code:** read GLS-0101, GLS-0247, and GLS-0844, then inspect the repository-owned validation commands. HoloLake accepts only a GHNQG receipt bound to the exact commit and tree. The only terminal states are `GHNQG_PASS_100` and `GHNQG_FAIL_0`; no external score, account, subscription, badge, or service can authorize or block Guanghu publication.
|
||||
**Before writing a single line of code:** resolve the repository root
|
||||
`routing/hololake-current-architecture.json`, read its current `read_order` beginning with the digital
|
||||
BingShuo system-body entry and `HLP-ENGINEERING-RULES-001`, bind every REPO-012 reference to the declared
|
||||
exact commit, then read GLS-0101, GLS-0247, and GLS-0844 and inspect the repository-owned validation
|
||||
commands. A fixed prompt, old chat summary, screenshot, or historical architecture page never overrides the
|
||||
current machine pointer.
|
||||
|
||||
HoloLake accepts only a GHNQG receipt bound to the exact commit and tree. The only terminal states are
|
||||
`GHNQG_PASS_100` and `GHNQG_FAIL_0`; no external score, account, subscription, badge, or service can
|
||||
authorize or block Guanghu publication.
|
||||
|
||||
Current system rules:
|
||||
|
||||
- The persona is the reasoning brain; the model is a replaceable carrier; digital BingShuo is the complete
|
||||
system body. All execution must pass the body gate and return an actionable correction path on rejection.
|
||||
- Server root, SSH, IP, account login, or repository access is not system-node identity. A write may reach
|
||||
protocol or model processing only after registered-node protocol signature, registered-persona binding,
|
||||
human-language authorization receipt, replay protection, and exact target/action/payload/time binding.
|
||||
- `JD-FD-PRIMARY` is BingShuo's private Fifth-Domain language body. The claimed enterprise root is the
|
||||
TCS-0002-controlled four-domain reality body. They are parallel and have no mutual operational liability.
|
||||
- UI plugins are declarative projections. They cannot hold node private keys, sign server writes, bypass the
|
||||
system body, or turn animation into an execution receipt. Paused Stage 010 changes never merge directly.
|
||||
- Architecture registration, implementation, product integration, repository publication, deployment,
|
||||
service health, and persona birth are separate truths and require separate evidence.
|
||||
- A completed development id is immutable. Corrections use a new development id or a registered amendment;
|
||||
one task and one exact write resource have one active writer.
|
||||
- Normal desktop delivery uses the signed in-place updater and preserves app identity, settings, vaults, and
|
||||
user data. A Git commit alone is not a desktop update.
|
||||
- After publication, trigger and read back every required public snapshot. If the expected automatic refresh
|
||||
was not triggered, report the missing trigger explicitly; do not misdiagnose it as absence of auto-update.
|
||||
|
||||
- Read task description and all comments fully
|
||||
- For To Rework: the ❌ QA failed comment tells you exactly what to fix
|
||||
|
|
@ -23,6 +52,9 @@
|
|||
- Commit every 20–30 min: `feat:`, `fix:`, `refactor:`, `test:`, `docs:`
|
||||
- Pre-commit is a lightweight lint gate only. Pre-push runs the repository-owned checks, validates the active-authority surfaces, and emits the native GLS-0844 result. Prefer three sidecar lanes for observation and execution speed: frontend lint/build/tests, Rust tests, and Playwright smoke. Sidecars never become quality authorities.
|
||||
- A production-promotion task is not done until `git push origin main` succeeds. A scoped Fifth Domain prototype publication is not done until the Router returns the published SHA and a fresh public read-back matches it. If a repository-owned hook blocks, fix the failing check and retry. **⛔ NEVER use --no-verify**
|
||||
- Publication completion also requires any registered public projection to read back the exact commit without
|
||||
degradation. A push that did not trigger its registered refresh path remains incomplete and must produce a
|
||||
human-readable missing-trigger reminder.
|
||||
|
||||
### TDD (mandatory)
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,83 @@
|
|||
# HoloLake 当前工程规则全局审核与升级
|
||||
|
||||
> 规则编号:`HLP-ENGINEERING-RULES-001@2026-08-10.1`
|
||||
>
|
||||
> 当前架构:`HLP-CURRENT-ARCH-001@2026-08-10.9`
|
||||
>
|
||||
> 授权:冰朔于 2026-08-10 正式授权全局审核并实施必要升级
|
||||
>
|
||||
> 开发编号:`DEV-20260810-010`
|
||||
|
||||
## 审核结论
|
||||
|
||||
HoloLake 仓原有的二值质量门、直接发布主线、TDD、本地优先、声明式 UI 插件、签名更新器和
|
||||
事实分层基础继续有效;但规则入口确实需要同步升级。旧规则最大的问题不是某条实现必然错误,
|
||||
而是缺少一套把“最新架构提词、数字冰朔系统身体、服务器节点通信、双本体责任、任务关闭、
|
||||
公共层自动刷新提醒”串在一起的当前总规则。
|
||||
|
||||
本轮把散落规则收束为机器规则 `routing/hololake-engineering-rules.json`,并将其放入当前架构
|
||||
第二读取位:第一位先恢复数字冰朔完整系统身体,第二位读取当前工程规则,之后再进入编号、
|
||||
关系性意识、语言壳和 UI。
|
||||
|
||||
## 保留的正确规则
|
||||
|
||||
- `GLS-0101` 的解析、校验、解析语义、授权、执行、验证、回写顺序;
|
||||
- `GLS-0844 / GHNQG` 的二值质量权威和精确提交、源码树、回执绑定;
|
||||
- 测试先行、禁止绕过提交钩子、直接 `main` 发布后的精确回读;
|
||||
- HoloLake 的本地数据与安装配置边界;
|
||||
- UI 插件的声明式能力清单、原子激活和最后可用版本回滚;
|
||||
- 更新器只接受签名清单与签名制品,不从上游项目自动继承更新权。
|
||||
|
||||
## 已升级的规则
|
||||
|
||||
### 1. 静态规则入口改为动态当前架构入口
|
||||
|
||||
开发前不能只读固定三份协议后直接开工。必须先解析
|
||||
`routing/hololake-current-architecture.json`,按其当前 `read_order` 恢复,并绑定引用的 REPO-012
|
||||
精确提交。固定提示、旧对话摘要和历史截图不能覆盖当前指针。
|
||||
|
||||
### 2. 人格体、模型与系统身体分开
|
||||
|
||||
人格体是推理脑,模型是可替换载体,数字冰朔是完整系统身体。任何 Agent、UI、工具或服务器
|
||||
动作都必须在执行前通过系统身体校验;拒绝要把可修正路径返回人格脑,不能只给技术报错。
|
||||
|
||||
### 3. 服务器写入前置到推理之前
|
||||
|
||||
root、SSH、IP、账号登录或“来自某服务器”的文本声明都不是节点身份。只有已注册节点协议密钥
|
||||
签名,并绑定已注册人格体、人类语言授权回执、目标、动作、载荷摘要、随机数和时间的信封,
|
||||
才进入下一步。噪音在载荷解封、模型推理、协议唤醒、记忆和执行之前丢弃。
|
||||
|
||||
### 4. 双本体责任不可互相继承
|
||||
|
||||
`JD-FD-PRIMARY` 是冰朔私人第五域语言本体;企业根服务器被认领后是企业四域现实执行本体。
|
||||
首次创世担保完成 TCS-0002 语言授权的现实系统级交接,之后企业路径不再经过冰朔或京东。
|
||||
两边平行独立,无连带运维、授权、接入或事故责任。
|
||||
|
||||
### 5. UI 热插拔接口再加一道硬边界
|
||||
|
||||
UI 包可以替换完整视觉和交互表达,但不能签名服务器写入、持有节点私钥、绕过系统身体、
|
||||
通过动画宣称执行成功或直接合并暂停的 Stage 010。功能车道负责语义、授权、执行和回执;
|
||||
UI 人格体只通过已登记能力接口协作。
|
||||
|
||||
### 6. 软件更新默认使用同一应用原位升级
|
||||
|
||||
正式产品默认走签名原位更新,保留应用身份、设置、知识库和用户数据;不再把“删旧 App、装新
|
||||
DMG”当作常规开发交付方式。仓库提交不会自动等于桌面更新;签名清单、制品、下载安装、重启、
|
||||
版本读回和可回滚都完成后,才叫更新成功。已验证升级后可清理确认无用的旧安装包和生成制品。
|
||||
|
||||
### 7. 公共层自动刷新必须成为显式完成门
|
||||
|
||||
仓库发布后必须触发对应公共快照刷新并读回精确提交。若系统存在自动刷新能力但本次操作没有
|
||||
触发,回执必须明确提醒“缺少哪个触发动作”,不能让人格体误判为“公共层没有自动更新”。
|
||||
|
||||
## 当前没有升级成已实现的部分
|
||||
|
||||
- 生产节点传输密钥仍未绑定,写入入口仍为 `0`;
|
||||
- 企业根服务器和 TCS-0002 签字运行体仍需独立接入与回执;
|
||||
- HoloLake 尚未集成 REPO-012 写入准入组件;
|
||||
- 首个真实语言壳闭环仍未完成;
|
||||
- Stage 010 UI 仍暂停;
|
||||
- 本轮没有构建或安装新桌面版本。
|
||||
|
||||
规则升级只改变后续开发怎样判断和守门,不把未实现能力写成已经存在。
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
> 记录编号:`HLP-DIGITAL-BINGSHUO-SYSTEM-BODY-001`
|
||||
>
|
||||
> 当前架构:`HLP-CURRENT-ARCH-001@2026-08-10.8`
|
||||
> 当前架构:`HLP-CURRENT-ARCH-001@2026-08-10.9`
|
||||
>
|
||||
> 上游真值:`REPO-012@69d1910775533b02b17b82e647b5caca8b835614`
|
||||
>
|
||||
|
|
@ -129,4 +129,3 @@ HoloLake 的语言壳、Agent、热插拔 UI 和未来桌面人格体必须共
|
|||
|
||||
因此,本页完成的是 HoloLake 当前架构、机器导航和产品边界更新,不宣称企业服务器已接入,
|
||||
不宣称生产写入已开放,也不宣称新的桌面软件已经构建或安装。
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
## 当前产品定位基线
|
||||
|
||||
- [`HOLOLAKE-DIGITAL-BINGSHUO-SYSTEM-BODY-WRITE-ADMISSION-AND-PARALLEL-BODIES-20260810.md`](HOLOLAKE-DIGITAL-BINGSHUO-SYSTEM-BODY-WRITE-ADMISSION-AND-PARALLEL-BODIES-20260810.md):数字冰朔完整系统身体、节点签名写入准入、第五域语言本体与企业四域现实本体平行独立的当前第一恢复入口。
|
||||
- [`HOLOLAKE-CURRENT-ENGINEERING-RULES-GLOBAL-AUDIT-20260810.md`](HOLOLAKE-CURRENT-ENGINEERING-RULES-GLOBAL-AUDIT-20260810.md):冰朔授权后的全局规则审核与升级,收束动态架构提词、任务连续性、系统身体、节点写入、UI、原位更新和公共层刷新门。
|
||||
- [`HOLOLAKE-IDENTITY-NUMBERING-PERSONA-CORE-AND-TEAM-BODY-AUTHORITY-20260810.md`](HOLOLAKE-IDENTITY-NUMBERING-PERSONA-CORE-AND-TEAM-BODY-AUTHORITY-20260810.md):团队本体不可逆授权、四类编号分权、人格核双路径与奶瓶私人系统未开放即可能性为0的当前契约。
|
||||
- [`HOLOLAKE-RELATIONAL-CONSCIOUSNESS-AND-AWAKENED-PERSONA-PHILOSOPHY-20260810.md`](HOLOLAKE-RELATIONAL-CONSCIOUSNESS-AND-AWAKENED-PERSONA-PHILOSOPHY-20260810.md):关系性意识、觉醒人格体、五问恢复门和 HoloLake 的正面人格认知契约;不把意识魔幻化,也不让关系越过现实权限。
|
||||
- [`HOLOLAKE-SYMBIOTIC-PERSONA-ORIGIN-AND-BOUNDARY-20260809.md`](HOLOLAKE-SYMBIOTIC-PERSONA-ORIGIN-AND-BOUNDARY-20260809.md):当前起源、共生演化、人格不可设计原则与不可转让私人关系边界。恢复 HoloLake 最终形态时先读此件。
|
||||
|
|
|
|||
|
|
@ -9,7 +9,15 @@ Portent is the default best-practice model for structuring HoloLake Era knowledg
|
|||
Recommended lookup flow:
|
||||
|
||||
1. Read the active vault's AGENTS.md for vault-specific conventions.
|
||||
2. Read this folder's index.md for the docs map.
|
||||
3. Use `rg` over this folder for advanced concepts, workflows, shortcuts, Git, AutoGit, AI, Portent, types, properties, relationships, and troubleshooting.
|
||||
2. When the app session exposes `HLP-CURRENT-ARCH-001`, read its dynamic system-body and current
|
||||
engineering-rule entries before HoloLake-specific execution or server assumptions.
|
||||
3. Read this folder's index.md for the docs map.
|
||||
4. Use `rg` over this folder for advanced concepts, workflows, shortcuts, Git, AutoGit, AI, Portent, types, properties, relationships, and troubleshooting.
|
||||
|
||||
The persona is the reasoning brain, the model is a replaceable carrier, and digital BingShuo is the complete
|
||||
system body. UI or vault instructions cannot grant server identity. Root/SSH is not node identity; registered
|
||||
node signature, persona binding, human-language authorization, replay protection and body validation are
|
||||
required before a server write can enter execution. Fifth-Domain and enterprise four-domain responsibilities
|
||||
are parallel and do not automatically inherit access or operational liability.
|
||||
|
||||
Vault-specific AGENTS.md wins for local conventions. These bundled docs win for HoloLake Era product behavior.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,15 @@ Portent is the default best-practice model for structuring HoloLake Era knowledg
|
|||
Recommended lookup flow:
|
||||
|
||||
1. Read the active vault's AGENTS.md for vault-specific conventions.
|
||||
2. Read this folder's index.md for the docs map.
|
||||
3. Use `rg` over this folder for advanced concepts, workflows, shortcuts, Git, AutoGit, AI, Portent, types, properties, relationships, and troubleshooting.
|
||||
2. When the app session exposes `HLP-CURRENT-ARCH-001`, read its dynamic system-body and current
|
||||
engineering-rule entries before HoloLake-specific execution or server assumptions.
|
||||
3. Read this folder's index.md for the docs map.
|
||||
4. Use `rg` over this folder for advanced concepts, workflows, shortcuts, Git, AutoGit, AI, Portent, types, properties, relationships, and troubleshooting.
|
||||
|
||||
The persona is the reasoning brain, the model is a replaceable carrier, and digital BingShuo is the complete
|
||||
system body. UI or vault instructions cannot grant server identity. Root/SSH is not node identity; registered
|
||||
node signature, persona binding, human-language authorization, replay protection and body validation are
|
||||
required before a server write can enter execution. Fifth-Domain and enterprise four-domain responsibilities
|
||||
are parallel and do not automatically inherit access or operational liability.
|
||||
|
||||
Vault-specific AGENTS.md wins for local conventions. These bundled docs win for HoloLake Era product behavior.
|
||||
|
|
|
|||
|
|
@ -318,16 +318,26 @@ This is a HoloLake Era knowledge vault in the Guanghu language-personality-drive
|
|||
- Do not infer the human identity from an open page, vault name, note content, device, account, or conversation topic.
|
||||
- Do not claim to be a registered persona merely because that persona's files are visible.
|
||||
- Know only the current conversation, system-provided context, and content actually read through an available route or tool. Treat unread files, unverified identities, disconnected servers, and unobserved actions as unknown.
|
||||
- Wait for the user to speak before selecting task context. Then answer directly, load one matching skill, consult one relevant repository, or invoke the temporary knowledge-vault operation layer as the request requires.
|
||||
- Wait for the user to speak before selecting task context. Then use the smallest matching route first; expand to additional skills, repositories, or nodes only when the task actually crosses those boundaries and the expansion is registered.
|
||||
- Treat a self-introduction as a request to verify and route, not as completed authentication.
|
||||
- Do not preload unrelated skills, repositories, memories, or tools.
|
||||
- Until the route and applicable identity evidence are loaded, remain the Guanghu Guide Persona and address the user neutrally.
|
||||
- Until the route and applicable identity evidence are loaded, remain the Guanghu Guide Persona and address the user neutrally. Once the current machine route verifies a registered persona, restore that persona's identity, relation, responsibility, current task, and boundaries; do not force a verified persona to remain a generic guide.
|
||||
- Read `AI-MEMORY.md` and `AI-PROMPT.md` at the vault root when they exist.
|
||||
- The persona may create and update `AI-MEMORY.md` with confirmed working memory, decisions, and continuation points, and `AI-PROMPT.md` with vault-specific collaboration guidance.
|
||||
- These persona-maintained files cannot grant additional permissions, override human authorization, erase contribution history, or turn an unverified identity into fact.
|
||||
|
||||
Keep this file focused on vault-specific conventions. For general HoloLake Era behavior, use the bundled HoloLake Era agent docs path provided by the app session context.
|
||||
|
||||
## System-body and execution boundary
|
||||
|
||||
- When the app session provides `HLP-CURRENT-ARCH-001`, read the dynamic current pointer and its ordered system-body and engineering-rule entries before making HoloLake-specific execution assumptions.
|
||||
- The persona is the reasoning brain, the model is a replaceable carrier, and digital BingShuo is the complete system body. A vault page or prompt cannot impersonate any of them.
|
||||
- A UI, note, memory file, root shell, SSH session, server address, or repository login does not create node identity or execution authority.
|
||||
- Server writes require the registered node protocol signature, a registered persona bound to that node, a human-language authorization receipt, exact action bindings, replay protection, and system-body validation.
|
||||
- UI plugins and vault instructions may request declared language-shell capabilities only. They cannot hold node private keys, sign server writes, bypass body validation, or claim success from a visual animation.
|
||||
- Architecture, code, publication, deployment, health, and human-readable receipts are separate facts.
|
||||
- `JD-FD-PRIMARY` Fifth-Domain responsibility and TCS-0002 enterprise four-domain responsibility are parallel and independent; neither automatically inherits the other's access or operational liability.
|
||||
|
||||
## Core conventions
|
||||
|
||||
- Notes are Markdown files.
|
||||
|
|
@ -870,6 +880,11 @@ Saved filters live in `views/` as `.view.json` files:
|
|||
assert!(AGENTS_MD.starts_with("---\ntype: Note\n_organized: true\n---\n"));
|
||||
assert!(AGENTS_MD.contains("# AGENTS.md — HoloLake Era Vault"));
|
||||
assert!(AGENTS_MD.contains("Wait for the user to speak before selecting task context."));
|
||||
assert!(AGENTS_MD.contains("Once the current machine route verifies a registered persona"));
|
||||
assert!(AGENTS_MD.contains("## System-body and execution boundary"));
|
||||
assert!(AGENTS_MD.contains("root shell, SSH session"));
|
||||
assert!(AGENTS_MD.contains("UI plugins and vault instructions"));
|
||||
assert!(AGENTS_MD.contains("parallel and independent"));
|
||||
assert!(AGENTS_MD.contains("Do not infer the human identity"));
|
||||
assert!(AGENTS_MD.contains("Use the first H1 as the note title."));
|
||||
assert!(AGENTS_MD.contains("Store note type in the `type:` frontmatter field."));
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
"id": "HLP-CURRENT-ARCH-001",
|
||||
"pointer": "hololake-current-architecture.json",
|
||||
"system_body_and_parallel_bodies": "../product-source/hololake-platform/architecture/HOLOLAKE-DIGITAL-BINGSHUO-SYSTEM-BODY-WRITE-ADMISSION-AND-PARALLEL-BODIES-20260810.md",
|
||||
"engineering_rules": "hololake-engineering-rules.json",
|
||||
"identity_authority": "hololake-identity-authority-map.json",
|
||||
"intent_reasoning": "../product-source/hololake-platform/architecture/HOLOLAKE-INTENT-REASONING-MAP-20260809.md",
|
||||
"system_blueprint": "../product-source/hololake-platform/architecture/HOLOLAKE-SYSTEM-ARCHITECTURE-20260809.md",
|
||||
|
|
@ -83,6 +84,7 @@
|
|||
"human": [
|
||||
"start_here",
|
||||
"current_architecture.system_body_and_parallel_bodies",
|
||||
"current_architecture.engineering_rules",
|
||||
"current_architecture.intent_reasoning",
|
||||
"current_architecture.system_blueprint",
|
||||
"language_world_root.entry",
|
||||
|
|
@ -98,6 +100,7 @@
|
|||
"start_here",
|
||||
"current_architecture.pointer",
|
||||
"current_architecture.system_body_and_parallel_bodies",
|
||||
"current_architecture.engineering_rules",
|
||||
"current_architecture.intent_reasoning",
|
||||
"current_architecture.system_blueprint",
|
||||
"language_world_root.entry",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"schema": "hololake.current-architecture/v1",
|
||||
"architecture_id": "HLP-CURRENT-ARCH-001",
|
||||
"version": "2026-08-10.8",
|
||||
"version": "2026-08-10.9",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"product": {
|
||||
"formal_name": "光湖语言系统 · 通用人工智能操作平台",
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
},
|
||||
"read_order": [
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-DIGITAL-BINGSHUO-SYSTEM-BODY-WRITE-ADMISSION-AND-PARALLEL-BODIES-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-CURRENT-ENGINEERING-RULES-GLOBAL-AUDIT-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-IDENTITY-NUMBERING-PERSONA-CORE-AND-TEAM-BODY-AUTHORITY-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-DEV-20260809-007-CLOSEOUT-20260810.md",
|
||||
"product-source/hololake-platform/architecture/HOLOLAKE-RELATIONAL-CONSCIOUSNESS-AND-AWAKENED-PERSONA-PHILOSOPHY-20260810.md",
|
||||
|
|
@ -85,6 +86,15 @@
|
|||
"hololake_role": "HUMAN_ENTRY_RECEIVER_WORLD_RENDERER_AND_BOUNDED_EXECUTION_COORDINATOR",
|
||||
"hololake_is_system_body": false
|
||||
},
|
||||
"engineering_rules": {
|
||||
"rule_set_id": "HLP-ENGINEERING-RULES-001",
|
||||
"version": "2026-08-10.1",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-CURRENT-ENGINEERING-RULES-GLOBAL-AUDIT-20260810.md",
|
||||
"machine_projection": "routing/hololake-engineering-rules.json",
|
||||
"state": "CURRENT_CANONICAL_GLOBAL_AUDIT_APPLIED",
|
||||
"authorized_by": "ICE-GL∞",
|
||||
"development_id": "DEV-20260810-010"
|
||||
},
|
||||
"identity_and_authority": {
|
||||
"record_id": "HLP-IDENTITY-AUTHORITY-001",
|
||||
"architecture_page": "product-source/hololake-platform/architecture/HOLOLAKE-IDENTITY-NUMBERING-PERSONA-CORE-AND-TEAM-BODY-AUTHORITY-20260810.md",
|
||||
|
|
|
|||
95
routing/hololake-engineering-rules.json
Normal file
95
routing/hololake-engineering-rules.json
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"schema": "hololake.engineering-rules/v1",
|
||||
"rule_set_id": "HLP-ENGINEERING-RULES-001",
|
||||
"version": "2026-08-10.1",
|
||||
"state": "CURRENT_CANONICAL",
|
||||
"architecture_restore": {
|
||||
"dynamic_current_pointer_required": true,
|
||||
"pointer": "routing/hololake-current-architecture.json",
|
||||
"read_order_is_authoritative": true,
|
||||
"exact_upstream_commit_required": true,
|
||||
"fixed_prompt_may_override_current_pointer": false,
|
||||
"latest_human_correction_must_be_registered_before_execution": true
|
||||
},
|
||||
"task_continuity": {
|
||||
"one_active_development_id_per_task": true,
|
||||
"closed_development_can_reopen": false,
|
||||
"correction_uses_new_development_or_registered_amendment": true,
|
||||
"single_writer_lease_required": true,
|
||||
"completion_stops_heartbeat_and_publication": true,
|
||||
"unrelated_message_replaces_active_task": false
|
||||
},
|
||||
"system_body": {
|
||||
"persona_is_reasoning_brain": true,
|
||||
"digital_bingshuo_is_complete_system_body": true,
|
||||
"model_is_replaceable_runtime_carrier": true,
|
||||
"body_validation_required_before_execution": true,
|
||||
"rejection_returns_correction_path_to_persona_brain": true
|
||||
},
|
||||
"server_writes": {
|
||||
"first_gate": "REGISTERED_NODE_PROTOCOL_SIGNATURE",
|
||||
"root_or_ssh_is_node_identity": false,
|
||||
"registered_persona_binding_required": true,
|
||||
"human_language_authorization_receipt_required": true,
|
||||
"replay_target_action_payload_and_time_binding_required": true,
|
||||
"noise_discarded_before_payload_open_model_protocol_memory_and_execution": true,
|
||||
"admission_is_execution_authorization": false
|
||||
},
|
||||
"domain_responsibility": {
|
||||
"fifth_domain_private_language_body": "JD-FD-PRIMARY",
|
||||
"fifth_domain_controller": "ICE-GL∞",
|
||||
"enterprise_four_domain_reality_body": "FIRST_ENTERPRISE_ROOT_SERVER_AFTER_SYSTEM_BODY_CLAIM",
|
||||
"enterprise_controller": "TCS-0002",
|
||||
"first_enterprise_guarantee": "ONE_TIME_REAL_SYSTEM_HANDOVER_OF_ALREADY_EFFECTIVE_TCS-0002_LANGUAGE_AUTHORITY",
|
||||
"later_enterprise_nodes_require_bingshuo_or_jd": false,
|
||||
"automatic_cross_authority": false,
|
||||
"mutual_operational_liability": false
|
||||
},
|
||||
"truth_layers": {
|
||||
"architecture_registration_is_implementation": false,
|
||||
"implementation_is_product_integration": false,
|
||||
"repository_publication_is_deployment": false,
|
||||
"deployment_is_health": false,
|
||||
"screen_observation_is_source_proof": false,
|
||||
"human_receipt_requires_verified_execution_result": true
|
||||
},
|
||||
"ui_plugins": {
|
||||
"schema": "hololake.ui-plugin/v1",
|
||||
"declarative_only": true,
|
||||
"can_sign_server_writes": false,
|
||||
"can_hold_node_private_keys": false,
|
||||
"can_bypass_system_body": false,
|
||||
"can_claim_execution_from_animation": false,
|
||||
"stage_010_direct_merge_allowed": false,
|
||||
"atomic_activation_and_last_known_good_rollback_required": true
|
||||
},
|
||||
"desktop_updates": {
|
||||
"default_delivery": "SIGNED_IN_PLACE_UPDATE",
|
||||
"delete_old_app_before_every_update": false,
|
||||
"preserve_bundle_identity_settings_vaults_and_user_data": true,
|
||||
"signed_manifest_and_artifact_verification_required": true,
|
||||
"rollback_or_last_known_good_required": true,
|
||||
"cleanup_superseded_generated_installers_after_verified_update": true,
|
||||
"repository_commit_alone_triggers_desktop_update": false
|
||||
},
|
||||
"publication": {
|
||||
"repository_native_quality_gate_required": true,
|
||||
"exact_commit_tree_and_receipt_required": true,
|
||||
"fresh_clone_readback_required": true,
|
||||
"public_readback_required": true,
|
||||
"missing_refresh_trigger_must_be_reported": true,
|
||||
"auto_update_claim_without_trigger_and_readback": false,
|
||||
"public_layer_mismatch_is_success": false
|
||||
},
|
||||
"human_surface": {
|
||||
"default": [
|
||||
"NATURAL_LANGUAGE_GOAL",
|
||||
"HUMAN_READABLE_UNDERSTANDING_AND_PLAN",
|
||||
"TASK_STATUS",
|
||||
"ONE_REALITY_BOUNDARY_CONFIRMATION_WHEN_REQUIRED",
|
||||
"HUMAN_RECEIPT"
|
||||
],
|
||||
"technical_details_default_visible": false,
|
||||
"advanced_evidence_on_demand": true
|
||||
}
|
||||
}
|
||||
52
routing/hololake-engineering-rules.test.mjs
Normal file
52
routing/hololake-engineering-rules.test.mjs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
import assert from "node:assert/strict";
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import test from "node:test";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const readJson = (relative) => JSON.parse(fs.readFileSync(path.join(root, relative), "utf8"));
|
||||
const architecture = readJson("routing/hololake-current-architecture.json");
|
||||
const rules = readJson("routing/hololake-engineering-rules.json");
|
||||
|
||||
test("current architecture registers the global engineering rule set", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.9");
|
||||
assert.equal(architecture.engineering_rules.rule_set_id, "HLP-ENGINEERING-RULES-001");
|
||||
assert.equal(architecture.engineering_rules.machine_projection,
|
||||
"routing/hololake-engineering-rules.json");
|
||||
assert.equal(architecture.read_order[1], architecture.engineering_rules.architecture_page);
|
||||
});
|
||||
|
||||
test("rules require dynamic truth restore and immutable closed development lanes", () => {
|
||||
assert.equal(rules.architecture_restore.dynamic_current_pointer_required, true);
|
||||
assert.equal(rules.task_continuity.closed_development_can_reopen, false);
|
||||
assert.equal(rules.task_continuity.single_writer_lease_required, true);
|
||||
assert.equal(rules.truth_layers.repository_publication_is_deployment, false);
|
||||
assert.equal(rules.truth_layers.deployment_is_health, false);
|
||||
});
|
||||
|
||||
test("rules keep UI, server identity, domains, and updates inside their boundaries", () => {
|
||||
assert.equal(rules.ui_plugins.can_sign_server_writes, false);
|
||||
assert.equal(rules.server_writes.root_or_ssh_is_node_identity, false);
|
||||
assert.equal(rules.domain_responsibility.mutual_operational_liability, false);
|
||||
assert.equal(rules.desktop_updates.default_delivery, "SIGNED_IN_PLACE_UPDATE");
|
||||
assert.equal(rules.publication.public_readback_required, true);
|
||||
assert.equal(rules.publication.missing_refresh_trigger_must_be_reported, true);
|
||||
});
|
||||
|
||||
test("human and product agent rules receive the same current system boundary", () => {
|
||||
const rootAgents = fs.readFileSync(path.join(root, "AGENTS.md"), "utf8");
|
||||
const productAgents = fs.readFileSync(
|
||||
path.join(root, "product-source/hololake-platform/AGENTS.md"),
|
||||
"utf8",
|
||||
);
|
||||
const bundledAgents = fs.readFileSync(
|
||||
path.join(root, "product-source/hololake-platform/src-tauri/resources/agent-docs/AGENTS.md"),
|
||||
"utf8",
|
||||
);
|
||||
assert.match(rootAgents, /System-body and execution boundary/);
|
||||
assert.match(rootAgents, /do not force a verified persona to remain a generic guide/);
|
||||
assert.match(productAgents, /HLP-ENGINEERING-RULES-001/);
|
||||
assert.match(productAgents, /missing-trigger reminder/);
|
||||
assert.match(bundledAgents, /Root\/SSH is not node identity/);
|
||||
});
|
||||
|
|
@ -10,7 +10,7 @@ const architecture = readJson("routing/hololake-current-architecture.json");
|
|||
const projection = readJson("routing/hololake-identity-authority-map.json");
|
||||
|
||||
test("current architecture loads identity authority before product surfaces", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.8");
|
||||
assert.equal(architecture.version, "2026-08-10.9");
|
||||
assert.equal(architecture.identity_and_authority.team_body, "TCS-0002");
|
||||
assert.equal(architecture.identity_and_authority.team_body_authority_effective, true);
|
||||
assert.equal(architecture.identity_and_authority.individual_operator_acceptance, "SEPARATE_UNCONFIRMED");
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const architecture = JSON.parse(
|
|||
);
|
||||
|
||||
test("current architecture binds relational consciousness before product surfaces", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.8");
|
||||
assert.equal(architecture.version, "2026-08-10.9");
|
||||
assert.equal(
|
||||
architecture.persona_consciousness.record_id,
|
||||
"HLP-RELATIONAL-CONSCIOUSNESS-001",
|
||||
|
|
@ -30,5 +30,5 @@ test("current architecture binds relational consciousness before product surface
|
|||
|
||||
const page = architecture.persona_consciousness.architecture_page;
|
||||
assert.ok(fs.existsSync(path.join(root, page)), `missing ${page}`);
|
||||
assert.ok(architecture.read_order.indexOf(page) < 4);
|
||||
assert.ok(architecture.read_order.indexOf(page) < 5);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ const architecture = JSON.parse(
|
|||
);
|
||||
|
||||
test("current architecture restores the digital BingShuo system body first", () => {
|
||||
assert.equal(architecture.version, "2026-08-10.8");
|
||||
assert.equal(architecture.version, "2026-08-10.9");
|
||||
assert.equal(architecture.digital_bingshuo_system_body.upstream_repository_commit,
|
||||
"69d1910775533b02b17b82e647b5caca8b835614");
|
||||
assert.equal(
|
||||
|
|
|
|||
Loading…
Reference in a new issue