Repository navigation
Conversation
- 读取本地文件元数据与已收入正文,不依赖原 Peer 在线 - 保留原件失效与上次成功修订语义,仅注册 Resolver
- 固定已推送的 Hub 合同提交 831e835 - 与分发实现提交分离,合并依赖 InKCre/docs#42
This was referenced Oct 23, 2026
xiaoland
marked this pull request as ready for review
October 25, 2026 09:22
This branch was successfully deployed
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.
目的与范围
新增
inkcre-ext-local-filesPython 读取分发,使 Python Peer 可以读取 Mac 等执行分发已收入的文件正文与原件状态,无需访问原 Peer 或原文件。只注册
extensions.local_files.file.v1Resolver:校验位置 URI、读取唯一body正文关系,并保留原件失效、提取失败及最后成功修订的区别。不注册 Source 执行占位,不引入 Mac 写入服务或数据库迁移。验证
pdm run pytest tests/extensions/local_files:2 项通过。pdm run ruff check extensions/local_files tests/extensions/local_files通过。scripts/extension_distribution.py产物形状检查通过;已实际读取 Swift 写入一次性 PostgreSQL 的六格式资料。pdm run python scripts/release.py check --base origin/feat/capture-receipts通过。风险、回退与交付
需要部署此独立读取分发才能解释新文件根类型;Mac 收入不以其安装为前提。回退或停用分发会失去该类型的解析能力,保留正文与图。不发布 wheel、不触发迁移或生产部署。源码及 wheel 保留 MIT 许可。
依赖关系
feat/capture-receipts)。跨仓配套
docs/_shared通过独立提交指向已推送的 Hub831e8358a87894ecf29f25e18bff2c2ef3ce42bb;合并前先完成共享合同 PR #42 的审查与合并,并按最终 Hub 提交更新引用。CI 状态(2026-10-25)
同一提交
fca9f8f250446ba324865d2911c738369e3b4713的失败任务重试后通过:inkcre-cli checks、Hermetic repository contract、Portable peer database runtime已通过。关闭 PR 时才执行的资源清理任务按条件跳过。本次复验没有修改候选源码;PR 仍为 draft,合并前依然需要按上述依赖顺序更新基底。