Repository navigation
feat(checkout): scope Rust Agent Checkout by Repo UUID (OFF/OPTIONAL) - #87
Merged
Merged
Conversation
7 tasks
…safes - design doc no longer claims ordinary writes work when Guard is unavailable; OPTIONAL writes (including optimistic) fail closed, OFF stays operational - tests: selected repo is still OFF when the global capability is disabled; a malformed CF_CHECKOUT_REPOS type fails safe to OFF without Guard access
Patch the empty allowlist (not the helper) so the test proves checkout_available and therefore Guard schema/SQL are never reached for OFF repositories.
2026-10-25 检查与修复实现与决策一致(OFF 默认、OPTIONAL 按 UUID、REQUIRED 不做;OFF 不碰 Guard)。修正两处:
验证:CI static PASS。Django 依赖测试(本文件)未在本机运行,需在 dev 环境跑一遍; |
lock-info now tells the dialog whether the current viewer owns the Guard. The Rust Agent still verifies the original Guard proof; this flag only distinguishes the owner's resume entry from another user's occupancy. No new table or ticket type.
A real Django environment runs UserRateThrottle before the view; the synthetic user needs an id. Verified all 11 rust_edit tests pass against the devverify image (throttle bypassed only because the standalone container has no Redis).
2026-10-25 定向 Django 测试结果在
CI static PASS。与 Server/Docker 同批联动重启后合入。 |
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.
Decision (2026-10-25)
CloudFile supports only OFF (default) and per-library OPTIONAL Checkout. REQUIRED will not be implemented.
CF_CHECKOUT_REPOSand global Checkout/schema qualify.lock-inforeturns OFF without Guard SQL for unselected repositories.local-viewandoptimistic-editremain usable for OFF repositories with normal ACL/CAS authorization.Not merged into Hub #50; keep #50 Draft until native/Docker prerequisites and the owner-resume UI issue are addressed. Agent2 #10/#1 stay Open until genuine E2E. No full Django/frontend build in this change.