task/151-machine-identity
dev
Closes #151(用户验收后关闭)
machine-identity/v1
transport/v1
cryptography==50.0.1
pwsh -NoProfile -File contracts/tests/machine-identity-v1/run.ps1
go test -race ./.../machine_identity
go vet ./...
go test ./...
pytest Brain/tests -q
uv pip check --python Brain/.venv/Scripts/python.exe
python dev_scripts/harness.py check --strict
git diff --check
长期 Wiki 需更新 Architecture、Business-Rules、Deployment/Operations、Troubleshooting 和验证说明。为保持实现分支精确 write_paths,本 PR 不直接修改 docs/**;用户验收后按 Wiki→回读→独立镜像 PR 流程闭环。不创建任务归档。
docs/**
进程内 replay store 仅用于适配测试/单进程原语;#152/#153 必须向已定义接口注入各产品自己的持久原子 replay store并验证重启,不能共享数据库。
No dependencies set.
The note is not visible to the blocked user.
工单
Closes #151(用户验收后关闭)
实现
machine-identity/v1与transport/v1:Ed25519 短期请求绑定 JWS、精确 principal/audience/scope、300 秒有效期、30 秒时钟偏差和单次 jti。cryptography==50.0.1。验证
pwsh -NoProfile -File contracts/tests/machine-identity-v1/run.ps1:10/10go test -race ./.../machine_identity:通过go vet ./...:通过go test ./...:通过pytest Brain/tests -q:43/43uv pip check --python Brain/.venv/Scripts/python.exe:通过python dev_scripts/harness.py check --strict、git diff --check:通过文档影响
长期 Wiki 需更新 Architecture、Business-Rules、Deployment/Operations、Troubleshooting 和验证说明。为保持实现分支精确 write_paths,本 PR 不直接修改
docs/**;用户验收后按 Wiki→回读→独立镜像 PR 流程闭环。不创建任务归档。已知边界
进程内 replay store 仅用于适配测试/单进程原语;#152/#153 必须向已定义接口注入各产品自己的持久原子 replay store并验证重启,不能共享数据库。
ila referenced this pull request2026-08-31 10:54:52 +08:00