aoci_update_entry
Write one complete machine-issued Entry batch through validated Impact, Diff, CAS, AtomicWrite, and Recovery pipeline while preserving batch and candidate identities.
Instructions
Write one complete current machine-issued model-authored Entry batch through the existing Impact, projected validation, Diff, CAS, AtomicWrite, Baseline/Database Binding, Receipt, Ledger, and Recovery pipeline. For Volumes Code authoring, preserve the exact code_batch_id, every candidate_id, path, and source_sha256 returned by no-argument aoci_maintain: aoci_update_entry.code_batch_id must equal code_plan.batch_id and every returned Code candidate.batch_id; authoring_batch.batch_identity is a different cross-domain envelope identity and must never be used in code_batch_id. Database candidates preserve the exact top-level batch_id and every candidate_id; never copy Database Volume or Table Evidence hashes into source_sha256. max_entries limits this request and atomic transaction only, not the logical plan, Whole-Index, or Managed Scope. The submitted entries must be the complete candidate set for the current machine-issued batch; the Host must not slice Maintain output. AOCI validates all candidates and source/Evidence, Scope, Composite, tag, FRAS, R/S form, and projected budget bindings before writing Code at most once, Database at most once, and Baseline/Binding at most once. R is model-authored semantics: AOCI never checks one Entry's relations against another Entry, so a relation naming an unwritten, unmanaged, or ambiguous target is accepted and persisted exactly as written and never causes a replan; author R freely and never delete or rewrite it to satisfy the machine. A successful batch with remaining nonzero is not Whole-Index aligned: call Maintain again against the new preimage and continue. A repair_required response returns every deterministic Finding with candidate_index, canonical_object_identity, rule_code, and safe_repair_action; repair only retry_scope and resubmit the same complete current batch. Existing direct single-object, Legacy, and compatible Code source_sha256 inputs remain supported. Root and Meta are Guard-only. Never guess, reduce Scope for transport limits, or submit a partial machine-issued batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Repository-relative target path for compatibility single-Entry mode | |
| entries | No | Submit the complete candidate set for the current machine-issued batch; continue through Maintain when remaining is nonzero | |
| batch_id | No | Machine-owned complete current Database Cognition batch identity returned by aoci_maintain | |
| new_entry | No | Complete single-line Entry for compatibility single-Entry mode | |
| object_ref | No | Canonical Database object identity for compatibility single-Entry mode | |
| candidate_id | No | Machine-owned Code or Database Cognition candidate identity returned by aoci_maintain; do not synthesize it or copy Evidence hashes into it | |
| code_batch_id | No | Exact code_plan.batch_id returned by aoci_maintain; it equals every returned Code candidate.batch_id. Never use authoring_batch.batch_identity here | |
| source_sha256 | No | Compatibility binding for Code source bytes or an existing Database object update; Database Cognition authoring uses candidate_id and batch_id instead |