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 16828a58f7
commit b4a2b2bdaf
10 changed files with 368 additions and 3 deletions
+1
View File
@@ -62,6 +62,7 @@ test('publish dir and public url use stable user id', () => {
assert.match(skillText, /\[.*\]\(.*\)/);
assert.match(skillText, /mindspace-cover/);
assert.match(skillText, /\.thumbnail\.svg/);
assert.match(skillText, /report\.docx|伴生下载/);
});
test('migrateUserPublishDir merges legacy username directory', () => {