Add persistent guidance publishing with immutable author-owned versions #9

Merged
Zayden-Jung merged 13 commits from codex/guidance-publishing into main 2026-10-29 09:21:42 +00:00
Collaborator

实现 PostgreSQL 真实发布、作者所有权、不可变版本、条件链接解析及撤下保留固定历史。新增 /write、/documents、/api/documents;首页与导航已接入真实文档。仅已验证邮箱会话可写,管理员 API 权限保持独立。

审查修复:user-- 防跨作者占名;XML 标签往返保留、引号内 > 正确解析,拒绝非法 Unicode、CDATA 终止符及非 XML 空白。编辑器支持网络错误、字段反馈、防重复提交、全部输入变更失效预览及成功文档链接。

已同步 main e920f90,#6/#7/#8 的依赖代码已在主线;完整差异只含发布功能及专项测试/文档。没有改 SMTP,也没有合并 PR。

验证:git diff --check 通过;本地 tsc --noEmit 仅剩共享依赖目录缺 nodemailer。XML 单元测试、PostgreSQL 所有权/并发/不可变/历史保留及真实 HTTP 发布测试已接入 ces-control;最新 CI run 493 仍 queued,尚不能声称通过。PR 不自动部署,等待用户手动合并。详见 docs/linked-guidance/publishing.md。

实现 PostgreSQL 真实发布、作者所有权、不可变版本、条件链接解析及撤下保留固定历史。新增 /write、/documents、/api/documents;首页与导航已接入真实文档。仅已验证邮箱会话可写,管理员 API 权限保持独立。 审查修复:user-<author UUID>-<slug> 防跨作者占名;XML 标签往返保留、引号内 > 正确解析,拒绝非法 Unicode、CDATA 终止符及非 XML 空白。编辑器支持网络错误、字段反馈、防重复提交、全部输入变更失效预览及成功文档链接。 已同步 main e920f90,#6/#7/#8 的依赖代码已在主线;完整差异只含发布功能及专项测试/文档。没有改 SMTP,也没有合并 PR。 验证:git diff --check 通过;本地 tsc --noEmit 仅剩共享依赖目录缺 nodemailer。XML 单元测试、PostgreSQL 所有权/并发/不可变/历史保留及真实 HTTP 发布测试已接入 ces-control;最新 CI run 493 仍 queued,尚不能声称通过。PR 不自动部署,等待用户手动合并。详见 docs/linked-guidance/publishing.md。
codex-bot added 8 commits 2026-10-29 08:49:36 +00:00
codex-bot added 1 commit 2026-10-29 08:50:53 +00:00
Align authentication regression checks with public guidance routes
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Failing after 3m22s
fac685a81c
codex-bot added 1 commit 2026-10-29 08:51:48 +00:00
Expose fixed version navigation and author-only withdrawal controls
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Failing after 3m26s
9256dd27e1
codex-bot added 1 commit 2026-10-29 08:53:55 +00:00
Clarify homepage integration handoff
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Failing after 2m5s
2bf572d353
codex-bot added 1 commit 2026-10-29 08:55:16 +00:00
Merge remote-tracking branch 'origin/main' into codex/guidance-publishing
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Failing after 3m28s
0e47bae606
# Conflicts:
#	apps/waterfall-wiki/ACCOUNT.md
#	apps/waterfall-wiki/tests/auth.test.ts
codex-bot added 1 commit 2026-10-29 09:03:59 +00:00
Harden XML round trips, author namespaces and publishing feedback
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Has been cancelled
5c89d27528
codex-bot added 1 commit 2026-10-29 09:07:21 +00:00
Exercise publishing permissions and XML over real HTTP integration
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Has been cancelled
6e594f3fbf
codex-bot added 1 commit 2026-10-29 09:18:04 +00:00
Replace legacy homepage expectations with real guidance discovery checks
waterfall-wiki CI and deployment / verify-and-deploy (pull_request) Has been cancelled
29e4ac849b
Zayden-Jung merged commit 4de92fd059 into main 2026-10-29 09:21:42 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Zayden-Jung/probably-rendering-one-more-pixel-tonight#9