Enable safe autonomous document drafts and routine handoffs

Merged
BI
7d ago
+844-20

Routine document tasks can prepare task-owned drafts and coordinate exact-file handoffs without repeated takeover requests. This adds the shared standing rule, a copy-first guide and a portable helper that reconciles baseline/current/draft content and exports a hash-checked proposal without writing originals.

The helper preserves acknowledged candidate edits across later input changes, retains recoverable generations and blocks export until ambiguous or conflicting changes are reviewed. Current Q374 branch/open-PR ownership remains in force. The cloud ownership guide now limits legacy record formats to existing optional stores; absent optional logs do not block, and unreadable existing stores still fail closed. Separate authority for substantive decisions, governing rules, sensitive access, publication and provider actions is preserved.

Validation: the canonical helper's 27 focused tests pass on Windows and Linux; project helper and tests match those reviewed bytes. npm run docs:maintain passes on the final content, and real pre-commit safety/ownership and staged-document checks pass. Independent review checked the Q374 policy against current guard code and rechecked the prose corrections. The documented native publication route succeeded without disabling hooks, changing guards or force-pushing.

Only documentation, the portable helper/tests and its bounded Linux workflow differ from current main. No application, provider, database or clinical acceptance is claimed. Existing sessions must explicitly adopt an appropriate revision; this PR does not prove cloud-chat adoption. The owner has authorized normal merge after required checks; this PR follows the repository's own-PR auto-merge policy and does not request a push to live or deployment.