fix: gate public page download links before Portal release

Add a MindSpace public HTML checker for missing companion docx/PDF paths, wire it into runtime packaging and release-portal-runtime-prod.sh, and document the workflow for agents and ops.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-01 12:40:59 +08:00
parent 5a970e612e
commit b273bb7aa2
10 changed files with 368 additions and 3 deletions
+1
View File
@@ -81,6 +81,7 @@ test('publish dir and public url use stable user id', () => {
assert.match(skillText, /\.thumbnail\.svg/);
assert.match(skillText, /docx-generate/);
assert.match(docxSkillText, /public\/文件名\.docx/);
assert.match(skillText, /report\.docx|伴生下载/);
});
test('migrateUserPublishDir merges legacy username directory', () => {