chore: record Zhuyuan persona self deployment acceptance

This commit is contained in:
冰朔 2026-09-09 16:29:20 +08:00
commit eb39d1db64
5 changed files with 67 additions and 9 deletions

View file

@ -6,7 +6,7 @@ import {spawnSync} from 'node:child_process';
const args=new Set(process.argv.slice(2));
const quiet=args.has('--quiet');
const mirrorRoot=process.env.ZY_PERSONA_SELF_MIRROR_ROOT||'/Volumes/JZAO/HoloLake/persona-runtime/shared/persona-self/ICE-P-ZY001';
const mirrorRoot=process.env.ZY_PERSONA_SELF_MIRROR_ROOT||'/Volumes/JZAO/铸渊-ICE-GL-ZY001/BRIDGE/runtime-state/persona-self/ICE-P-ZY001';
const authorityPath=process.env.ZY_PERSONA_SELF_AUTHORITY||'/Volumes/JZAO/HoloLake/persona-runtime/shared/brains/GHS-016-PERSONA-LEARNING-CURRICULUM-BRAIN/SERVER-AUTHORITY.json';
const digest=value=>crypto.createHash('sha256').update(value).digest('hex');
const atomic=(target,value)=>{fs.mkdirSync(path.dirname(target),{recursive:true,mode:0o700});const temp=`${target}.${crypto.randomUUID()}.tmp`;fs.writeFileSync(temp,JSON.stringify(value,null,2)+'\n',{mode:0o600});fs.renameSync(temp,target);};