Repository navigation
feat(headless): 按授权在网页预览只读项目资料 / preview explicitly published read-only project documents - #24
Draft
Facetomyself wants to merge 4 commits into
Draft
Facetomyself wants to merge 4 commits into
Facetomyself wants to merge 4 commits into
Conversation
added 4 commits
November 27, 2026 18:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
基于本 fork 的 #23;保留上游基础聊天 sqfcyily#87 的独立评审范围。这条增量交付一个完整动作:部署者发布一份审核过的资料快照,登录者在网页里手动打开一份文档,撤销后仍可继续原先的聊天。
试用和评审
compose.project-docs.yaml才传入摘要、只读挂载这一份文件;默认compose.yaml与 feat(cli): 离线核对已审核的项目资料快照 / verify reviewed project snapshots offline #23 逐字节一致。建议按提交顺序审:
00e81d7共享校验边界;faee04aLinux 内核挂载证明、内存发布与认证接口;7964ff0纯文字抽屉与异步/会话生命周期;196ab26可选部署及带撤销的 Compose 验收。已验证和待验证
196ab26,官方 Node 22.14.0 / 原生 Linux/arm64:48/48 通过,零跳过。 强制执行真实私有 user+mount namespace 测试,strace确认默认没有资料文件 I/O,浏览已发布文档不会重开快照。可写或只有 0444 权限而非单文件只读挂载、错误摘要、特殊文件、读取中元数据改变均拒绝。使用原卷实际完成三个服务进程启动(基础→授权的真实只读挂载→撤销),执行与 CI 相同的资料和跨协议续聊探针。docker compose config实际解析;CI 另行要求实际原生 amd64 容器启用/撤销以及非 root 运行。内核挂载实测和浏览器实测均不是启动 Docker 容器。可重跑:
pnpm --filter @deva/desktop build:headless && DEVA_REQUIRE_MOUNT_TEST=1 node --test apps/desktop/test/project-docs-mount.test.mjs(Linux、允许普通用户的私有用户及挂载命名空间)。