Fence asynchronous import preparation before synchronous publication

This commit is contained in:
2026-11-09 18:11:18 +08:00
parent 2adc22a5d9
commit eafc5ee694
3 changed files with 24 additions and 3 deletions
+8
View File
@@ -355,3 +355,11 @@ same indexed bytes. Document jobs use recovery v15 (readers accept 1–15, rejec
report `import_resource_authorization_required`; other records can import with an
explicit partial result. This is not complete asset round-trip support. Preparation
still scans the envelope before progressive payload decoding and insertion.
ImportRunner hosts may provide async `beforeCommit(units, job, signal)` for read-only
preparation such as resource permission checks. It returns Availability; a denial
uses normal independent-group failure isolation. A successful result still must
pass cancellation/hold/generation/status checks before the synchronous commit.
No document, history or committed source progress advances while it waits. This
hook alone does not authorize or adopt exported image references; that integration
is still pending.