Repository navigation
Conversation
Restore the update_claimed split, extend the credential marker to the MCP record, carry the session-file and pointer fixes, and make Supersedes match the changed paragraphs.
Add the create-only keep_replaced_as copy, the ChatGPT account marker, and the MCP and pointer corrections.
Fix the Hooks binding, the claim-held update flow, the copy failure and lock wording, the ChatGPT login and sign-out claim, the deleted path/resolve list, and the remaining pointer corrections.
Complete the update examples, copy cleanup, claim settlement and the session-file and pointer corrections.
Point the zh overview row at the owner contract, complete the error and cancellation wording, and recompute the ledger.
Fix the zh overview link, the UiResources pointer, root ids and the remaining pointer, wording and lease corrections.
Allow reads under a claim, add the observation caller row, state the removed fileStorage name, and finish the pointer and ledger corrections.
Allow reads under a claim in every restatement, add the read-under-claim test, and complete the closed-error and pointer corrections.
Qualify the exclusion lock, fix the Hooks project path, remove the UiExtensions read-stream plan, and complete the claim, error and ledger corrections.
Scope closed per operation, release the marker after credential remove/import, and complete the pointer and ledger corrections.
Complete marker removal for plain writes, the claim/import/closed wording, the keep_replaced_as form and the remaining Supersedes and name-rule corrections.
Settle a cancelled claim, make the UiResources version guarantee one publisher rule, and complete the claim, marker and wire-field corrections.
Settle a claim cancelled before its write, clarify marker attribution and deletion failure, and record the UiResources and MCP issue links.
Make the second claim wait, map session-file EOF paging, add caller examples, and link the marker protocol from its consumers.
Show claim release on the failure path and name the two lost-claim recoveries.
This was referenced Nov 24, 2026
Collaborator
Author
|
Closing as part of abandoning the owner-split experiment. |
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.
Owner: FileStorage
Batch: 1
Scan issue: #2016
Old PR: #2080
Contract:
docs/architecture/rust-agent/plugins/FileStorage.mdBase:
origin/main82a91e66aHead:
dc7468763What
Adds the FileStorage owner contract: the twelve
fsHostoperations (read/stat, write/import/update, update_claimed, claim/release, create_directory/list/remove, add_root/root_path), the three credential markers, the per-file locks, the copy rules and the error kinds. The currentfileStoragesurface is replaced byfsHost; the FileStorage type key stays for Rust.Shared rows:
docs/design/resource-faces.md§1/§4/§6 and the file-tool result fields.docs/design/service-faces.md: thefileStoragerow.docs/design/contracts/resource-owner-operations.md: the FileStorage caller rows.docs/design/plugins/README.md/ zh: owner index row.Dependencies
PluginFiles (#2016, batch 2) owns the PluginFiles rows and the pinned-reader sentences. ManagedAccount/DimOAuth, MCP, Hooks, Settings, SessionStore, SessionFiles, UiResources and the migration are callers; their contracts carry the operations they call.
Supersedes
docs/design/resource-faces.md§1, §4, §6.docs/design/service-faces.md: thefileStoragerow.docs/design/contracts/resource-owner-operations.md: the FileStorage caller rows and thefsHostmapping.docs/design/appserver/session-files.mdand zh: §1/§2/§5.1/§5.4/§6/§7/§9.1/§10/§12/§13/§15/§16.8/§17 D1, Appendix A.docs/design/appserver/session-deletion-and-fork.mdand zh: §3.5, the error table, §12 and §14.docs/design/appserver/mcp-oauth.md,docs/design/plugins/Hooks.md,docs/design/client-ui-extensions.md,docs/design/plugins/ManagedAccount.md,crates/dim-oauth/docs/runtime-contract.md.docs/design/plugins/README.md/ zh anddocs/INDEX.md.Design decisions
auth.json,mcp-oauth.json,chatgpt-account.json) use published markers; every other file uses its lock key.write,import,remove,update); reads are taken while it holds the claim.claimfrom the same row waits like any caller; only one refresh per row runs at a time. A claim cancelled or refused before its write releases without writing.keep_replaced_asis an exclusive create-only copy of the replaced content; a copy failure removes the partial copy and syncs the parent.removeandimportof a credential record remove its marker; a directory removal removes every marker under it.closedmeans the call ended before the replacement; after it the call succeeds or answersunsynced.open_read_onlyis the one handed-out store: one snapshot, closed by the export.Review record
无 P1/P2.无 P1/P2.Ready check
无 P1/P2.node scripts/adr-check.mjs --base origin/main,cargo run --locked -p xtask-check,git diff --checkpass.Refs #2016