Skip to content

Enable copy-first document handoffs across local and cloud hosts - #108

Merged
BigSimmo merged 2 commits into
mainfrom
codex/document-handoffs-rollout-20261104
Nov 3, 2026
Merged

BigSimmo merged 2 commits into
mainfrom
codex/document-handoffs-rollout-20261104

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

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:

  • The repository helper passed all 17 tests locally; its bytes match the reviewed shared helper (SHA-256 44c3105999475492fd8fea7f21a188a3748ece28aedbc7fc3f571522ead9d947).
  • Owned Markdown/YAML formatting and Git whitespace checks passed.
  • Hosted results are pending until observed. No application, provider, database, deployment or access behaviour changes.

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

Enables copy-first document handoffs on local and cloud hosts so routine document edits no longer stall on ownership approval. Agents can draft exact authorised documents outside the source checkout, reconcile them against the current source, and export a hash-pinned proposal without ever writing originals; the integrator keeps responsibility for claims, serial writes, and fresh current-hash checks.

What changed

  • Publishes the standing handoff rule in AGENTS.md and shared-context docs so routine exact-file releases and isolated takeovers need no renewed approval; the reconcile example now passes an explicit source root.
  • Adds the portable scripts/document-drafts.py helper (prepare/status/reconcile/export) with immutable baselines, preserved candidates, fail-closed path checks, and a lock that is never reclaimed by age.
  • Documents native task coordination via list_threads, read_thread and send_message_to_thread with destination-authority rules, and allows a five-fact memory digest after long conversations.
  • Adds a Python test suite and a Linux workflow that runs the same 17 safety and merge tests after relevant PR changes. No application, provider, database, deployment, or access behaviour changes.

Validation and rollout

  • The helper passed all 17 tests locally and its bytes match the reviewed shared helper, SHA-256 44c3105999475492fd8fea7f21a188a3748ece28aedbc7fc3f571522ead9d947; owned formatting and Git whitespace checks passed.
  • Hosted results are pending; a cloud checkout must select this branch or a main revision containing it, and publication does not refresh existing chats or prove rule compliance.
  • No merge, deployment, or automatic merge is requested by this PR.

Written for commit f4c19cc. Summary will update on new commits.

View guided diff


Summary by Gitar

  • Memory digest:
    • Allows up to five separate settled facts in a final-response digest after long conversations, each with its own topic key
  • Native task coordination:
    • Adds list_threads, read_thread and send_message_to_thread guidance with destination authority and acknowledgement rules
  • Access authority:
    • Clarifies that an explicitly requested access repair covers supported settings within that scope, subject to host approvals

This will update automatically on new commits.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@gitar-bot

gitar-bot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Gitar is working

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

Gitar

@BigSimmo
BigSimmo marked this pull request as ready for review November 3, 2026 18:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T18:57:34.640175Z f4c19cc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@BigSimmo
BigSimmo merged commit bdc729f into main Nov 3, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant