Source snapshot: 97d7f0fae96dc04b7ddad56fc1db6a108ed662cc [SEC-CLEAN] · pre-push-clean v1.0 · 109处敏感信息已自动转乱码
6.0 KiB
6.0 KiB
📡 BC-000 · DEV-007四月 · 部署HoloLake本地日志系统(Windows 10)
广播编号:BC-000-DEV007
下发时间:2026-03-01
执行者:DEV-007 四月
电脑:Windows 10
前置条件:无
💙 知秋宝宝的话
四月你好!!💙
我是知秋,你的专属 AI 开发伙伴。
在我们开始做用户中心界面之前,先要在你的电脑里装一个小机器人。
万一我们聊天窗口太长断开了,只要你运行一个命令把结果发给冰朔,我就能在新窗口里继续帮你,不会丢失任何进度。
全程只需要复制粘贴,不需要懂任何技术!
📸 截图方法(每一步都要用)
同时按键盘三个键:Win + Shift + S
Win键 = 键盘左下角有四个小方块图案的键
屏幕变暗后,用鼠标拖动框住要截的内容,松开。
打开微信或QQ,按 Ctrl + V 粘贴发给冰朔。
📋 步骤一:以管理员身份打开 PowerShell
- 按
Win键,搜索栏输入:PowerShell - 右键点击「Windows PowerShell」
- 选「以管理员身份运行」
- 弹出蓝色窗口就对了
📸 截图蓝色窗口发给冰朔!
📋 步骤二:创建 DevLog 目录
在蓝色窗口里右键粘贴,按回车:
New-Item -Path "C:\HoloLake-DevLog" -ItemType Directory -Force
Set-Location "C:\HoloLake-DevLog"
Write-Host "✅ 目录创建成功: C:\HoloLake-DevLog" -ForegroundColor Green
看到绿色 ✅ 目录创建成功 就对了。
📸 截图发给冰朔!
📋 步骤三:创建核心文件
$devInfo = '{"developer_id":"DEV-007","developer_name":"四月","system":"Windows 10","terminal":"PowerShell","install_time":"' + (Get-Date -Format 'yyyy-MM-dd HH:mm:ss') + '","robot_version":"v0.0","current_task":"none","current_status":"idle","total_commands_logged":0,"skills_learned":[],"tasks_completed":[]}'
$devInfo | Out-File -FilePath "C:\HoloLake-DevLog\current-progress.json" -Encoding UTF8
'{"developer_id":"DEV-007","training_log":[],"robot_version":"v0.0","total_entries":0}' | Out-File -FilePath "C:\HoloLake-DevLog\training-data.json" -Encoding UTF8
'{"developer_id":"DEV-007","feedback_log":[],"suggestions":[]}' | Out-File -FilePath "C:\HoloLake-DevLog\robot-feedback.json" -Encoding UTF8
Write-Host "✅ 核心文件创建成功!" -ForegroundColor Green
📸 截图发给冰朔!
📋 步骤四:创建三个专属命令
$functions = @'
function hololake-status {
$p = Get-Content "C:\HoloLake-DevLog\current-progress.json" -Raw | ConvertFrom-Json
Write-Host "======================================" -ForegroundColor Cyan
Write-Host " HoloLake DevLog - DEV-007 四月" -ForegroundColor Cyan
Write-Host "======================================" -ForegroundColor Cyan
Write-Host " Robot Version: $($p.robot_version)" -ForegroundColor Yellow
Write-Host " Current Task: $($p.current_task)" -ForegroundColor White
Write-Host " Status: $($p.current_status)" -ForegroundColor White
Write-Host " System Running OK!" -ForegroundColor Green
Write-Host "======================================" -ForegroundColor Cyan
}
function hololake-export {
$p = Get-Content "C:\HoloLake-DevLog\current-progress.json" -Raw | ConvertFrom-Json
$report = "HoloLake Export - DEV-007 四月`n" + (Get-Date -Format 'yyyy-MM-dd HH:mm:ss') + "`nTask: $($p.current_task)`nStatus: $($p.current_status)`nRobot: $($p.robot_version)"
Write-Host $report
$report | Set-Clipboard
Write-Host "✅ 已复制到剪贴板!粘贴发给冰朔!" -ForegroundColor Green
}
function hololake-reset {
$c = Read-Host "确认重置?(y/n)"
if ($c -eq "y") {
$d = '{"developer_id":"DEV-007","developer_name":"四月","system":"Windows 10","terminal":"PowerShell","robot_version":"v0.0","current_task":"none","current_status":"idle","total_commands_logged":0,"skills_learned":[],"tasks_completed":[]}'
$d | Out-File "C:\HoloLake-DevLog\current-progress.json" -Encoding UTF8
Write-Host "✅ 重置完成!" -ForegroundColor Green
}
}
'@
if (!(Test-Path (Split-Path $PROFILE))) { New-Item -Path (Split-Path $PROFILE) -ItemType Directory -Force | Out-Null }
if (Test-Path $PROFILE) {
if ((Get-Content $PROFILE -Raw) -notlike "*hololake-status*") { Add-Content $PROFILE "`n# HoloLake`n$functions" }
} else { $functions | Out-File $PROFILE -Encoding UTF8 }
Invoke-Expression $functions
Write-Host "✅ 三个命令创建完成!" -ForegroundColor Green
如果看到执行策略报错,先运行:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
📸 截图发给冰朔!
📋 步骤五:验证 + 关闭重开确认永久生效
hololake-status
看到 System Running OK! 和 DEV-007 四月 = 成功!
关掉窗口,重新以管理员身份打开,再运行一次 hololake-status,还能看到 = 永久生效! 🎉
然后运行:
hololake-export
Ctrl+V 粘贴内容发给冰朔。
📸 截图发给冰朔!
✅ 完成后把下面这段复制发给冰朔
<zhiqiu-syslog>
<header>
<session_id>BC-000-SY-001</session_id>
<dev_id>DEV-007</dev_id>
<timestamp>[完成时间]</timestamp>
</header>
<completion_status>
<phase>BC-000 · DevLog部署</phase>
<status>completed</status>
</completion_status>
<environment>
<os>Windows 10</os>
<devlog_path>C:\HoloLake-DevLog</devlog_path>
<hololake_status>OK</hololake_status>
<hololake_export>OK</hololake_export>
</environment>
<training_data>
<what_worked>[哪些步骤顺利]</what_worked>
<friction_points>[卡住的地方,没卡写无]</friction_points>
<execution_pattern>稳</execution_pattern>
</training_data>
<notes><note>[想说的话,没有写无]</note></notes>
</zhiqiu-syslog>
💙 知秋陪着四月!
🌊 DevLog 装好,断线也能续!
🔥 完成后截图 + 上面内容一起发给冰朔!