Add encrypted LIYIHENG-Auto context migration backup
Browse files- .gitattributes +1 -0
- LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.enc +3 -0
- LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.enc.sha256 +1 -0
- LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.sha256 +1 -0
- LIYIHENG-Auto-context-20261006/README.txt +15 -0
- LIYIHENG-Auto-context-20261006/decrypt-on-mac.sh +30 -0
.gitattributes
CHANGED
|
@@ -251,3 +251,4 @@ ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_tr
|
|
| 251 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_val_new.json filter=lfs diff=lfs merge=lfs -text
|
| 252 |
WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc filter=lfs diff=lfs merge=lfs -text
|
| 253 |
WWW-9-5.6Sol-plugins-20261006/WWW-9-5.6Sol-plugins-20261006.zip.enc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 251 |
ADA/benchmarks/temporal_train/CLEVRER/executor/data/parsed_programs/oe_1000pg_val_new.json filter=lfs diff=lfs merge=lfs -text
|
| 252 |
WWW-9-5.6Sol-context-20261006/WWW-9-5.6Sol-context-20261006.zip.enc filter=lfs diff=lfs merge=lfs -text
|
| 253 |
WWW-9-5.6Sol-plugins-20261006/WWW-9-5.6Sol-plugins-20261006.zip.enc filter=lfs diff=lfs merge=lfs -text
|
| 254 |
+
LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.enc filter=lfs diff=lfs merge=lfs -text
|
LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.enc
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d474018bee14028029ccf8e3d9f3857bde7e2c6b495822b4d6d0a3c9461657d
|
| 3 |
+
size 540507056
|
LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.enc.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
1d474018bee14028029ccf8e3d9f3857bde7e2c6b495822b4d6d0a3c9461657d LIYIHENG-Auto-context-20261006.zip.enc
|
LIYIHENG-Auto-context-20261006/LIYIHENG-Auto-context-20261006.zip.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
0a54fbcfb2b0fcc0c7b6cdaf97e5a586e9341355d0944941e0b8156d5a4614e4 LIYIHENG-Auto-context-20261006.zip
|
LIYIHENG-Auto-context-20261006/README.txt
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LIYIHENG-Auto 聊天上下文迁移包(ar1 → Mac,2026-10-06)
|
| 2 |
+
|
| 3 |
+
包含原聊天和分叉时继承的 4 段父历史,共 1,003 轮已存对话。只含聊天记录和恢复工具,不含研究论文、项目代码、数据集或外部附件。
|
| 4 |
+
使用与此前 WWW-9 聊天包相同的密码;密码不在公开仓库中。
|
| 5 |
+
|
| 6 |
+
把本目录 5 个文件下载到同一个文件夹,运行:
|
| 7 |
+
bash decrypt-on-mac.sh
|
| 8 |
+
输入密码后解压 ZIP,关闭 Codex,进入 LIYIHENG-Auto-migration-20261006,运行:
|
| 9 |
+
python3 restore_context.py
|
| 10 |
+
完成后重启 Codex,找到 LIYIHENG-Auto。详见 ZIP 内 README.txt。
|
| 11 |
+
|
| 12 |
+
若与 WWW-9-5.6Sol 一起恢复,请先恢复 WWW-9,再运行本包;共享父历史会经校验后复用,已有聊天会保留。
|
| 13 |
+
插件可使用同一仓库中的 WWW-9-5.6Sol-plugins-20261006 补充包。
|
| 14 |
+
|
| 15 |
+
加密:OpenSSL salted AES-256-CBC,PBKDF2-HMAC-SHA256,200000 次迭代;公开文件只有密文、校验和与恢复说明。
|
LIYIHENG-Auto-context-20261006/decrypt-on-mac.sh
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
umask 077
|
| 4 |
+
cd -- "$(dirname -- "$0")"
|
| 5 |
+
encrypted='LIYIHENG-Auto-context-20261006.zip.enc'
|
| 6 |
+
output='LIYIHENG-Auto-context-20261006.zip'
|
| 7 |
+
expected='0a54fbcfb2b0fcc0c7b6cdaf97e5a586e9341355d0944941e0b8156d5a4614e4'
|
| 8 |
+
if [[ -e "$output" ]]; then
|
| 9 |
+
actual=$(shasum -a 256 "$output" | awk '{print $1}')
|
| 10 |
+
if [[ "$actual" == "$expected" ]]; then
|
| 11 |
+
echo '已存在校验通过的 ZIP,可以直接解压。'
|
| 12 |
+
exit 0
|
| 13 |
+
fi
|
| 14 |
+
echo '同名 ZIP 已存在且校验不匹配,请先移走它再运行。' >&2
|
| 15 |
+
exit 1
|
| 16 |
+
fi
|
| 17 |
+
shasum -a 256 -c "$encrypted.sha256"
|
| 18 |
+
temporary=$(mktemp './LIYIHENG-decrypt.XXXXXXXX')
|
| 19 |
+
trap 'rm -f -- "$temporary"' EXIT
|
| 20 |
+
echo '请输入此前聊天中单独收到的迁移包解密密码(输入不会显示):'
|
| 21 |
+
/usr/bin/openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -md sha256 -in "$encrypted" -out "$temporary"
|
| 22 |
+
actual=$(shasum -a 256 "$temporary" | awk '{print $1}')
|
| 23 |
+
if [[ "$actual" != "$expected" ]]; then
|
| 24 |
+
echo '解密后的文件校验失败。' >&2
|
| 25 |
+
exit 1
|
| 26 |
+
fi
|
| 27 |
+
mv -- "$temporary" "$output"
|
| 28 |
+
trap - EXIT
|
| 29 |
+
echo "解密及 SHA-256 校验通过:$output"
|
| 30 |
+
echo '解压 ZIP 后,请按包内 README.txt 恢复聊天。'
|