docs(persona-chat): clarify auto-hook boundary #13

Merged
admin merged 19 commits from pr/persona-master-sync-20260731 into master 2026-07-31 17:37:42 +00:00
Showing only changes of commit ca4becbaba - Show all commits
+1 -1
View File
@@ -902,7 +902,7 @@ export async function importFromRemote(code, { owner = null, slug = null, force
const detail = AREA_KEYS
.map((key) => `${AREAS[key].label}${results[key]?.ok
? `${results[key].written?.length ?? 0} 個檔案`
: String(results[key]?.reason || "失敗").slice(0, 80)}`)
: String(results[key]?.reason || "失敗").replace(/\s+/g, " ").slice(0, 100)}`)
.join("");
throw new Error(
`${theOwner}/${code} 拉回來的內容沒有 IDENTITY.md(人格的最低要件),已中止${fresh ? "並清掉半成品" : ""}${detail}`,