Repository navigation
Enable copy-first document handoffs across local and cloud hosts - #19
Merged
Merged
Conversation
BigSimmo
marked this pull request as ready for review
November 3, 2026 18:55
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Routine document edits currently stall on ownership approval even when drafting can proceed independently. This change publishes the reviewed standing handoff rule and a portable copy-first helper, preserving project safeguards and the existing integrator's responsibility for claims, serial writes and current-file hash checks.
The helper retains baseline/draft/merge candidates and exports a hash-pinned proposal without writing originals. Repository guidance makes it available on local and cloud hosts, and a bounded Linux workflow exercises its synthetic safety and three-way merge tests. Existing project-specific context is preserved.
Validation:
44c3105999475492fd8fea7f21a188a3748ece28aedbc7fc3f571522ead9d947).Rollout: a cloud checkout must select this branch or a main revision containing it. Publication does not refresh existing chats or prove rule compliance. No merge, deployment or automatic merge is requested by this PR.
Summary by cubic
Routine document edits currently stall on ownership approval even when drafting can proceed independently. This change publishes the reviewed copy-first handoff rule and a portable helper so agents can draft exact documents outside the source checkout on local and cloud hosts, while keeping project safeguards and the existing integrator's role intact.
scripts/document-drafts.pyto prepare, reconcile, and export hash-pinned draft proposals; it never writes originals, and claims, serial writes, and fresh source-hash checks stay with the existing integrator.scripts/test-document-drafts.pyand the Document drafts workflow to run 17 synthetic safety and three-way merge tests on a hosted Linux runner.AGENTS.mdanddocs/agents/shared-context-and-memory.mdto prefer task-owned draft copies and avoid re-asking approval when another agent claims a document; addsdocs/agents/document-drafts.mdas the maintained operational guide.Rollout: cloud checkouts must select this branch or a main revision containing it; publication does not refresh existing chats or prove rule compliance. The helper passed all tests locally and its bytes match the reviewed shared helper, but hosted results are pending. No application, provider, database, deployment, or access behavior changes.
Written for commit 4a91937. Summary will update on new commits.