FAQ: Your Free Server Closed. What Actually Shipped?
说明与用途
用户常误以为在免费服务器上成功提示即表示代码已提交。本文提供了逐步检查清单,包括 git 状态检查、树清洁度、运行器身份转储以及在结束会话前创建会话收据。
问题
Users assume a successful prompt on a free server means code was merged, but the session may leave no durable artifacts.
结果
By following the checklist, users can confirm whether work was truly merged, avoid false positives, and preserve a verifiable receipt of the session.
工作流
- Run
git rev-parse --abbrev-ref HEAD,git rev-parse HEAD,git status --porcelain=v1,git log -1 --format='%H %D %s'to check branch and commit. - Verify upstream with
git rev-parse @{u}andgit cherry -vto confirm a merge receipt. - Check tree cleanliness:
git diff --cached --statandgit diff --statplusgit ls-files --others --exclude-standardfor untracked files. - Dump runner identity: create a script that outputs date, cwd, uid/gid, uname, shell, PATH, python and node versions, and locale; save to
session_identity.txt. - Before closing the session, run a receipt script that records git refs, status, stash list, diff stats, recent logs, and writes to a file in
$HOME/receipts. - Push the receipt or copy it off the server to preserve evidence.
- Compare receipts across environments to confirm consistency.
证据
A session can look complete and still own nothing durable. Git never saw the files.
If HEAD is detached, you do not have a branch. If porcelain is empty, maybe the tree is clean.
- 记录日期: 2026-09-22T04:00:35.422Z