Repository navigation
AOCI-CODE v0.2.0-rc7
Pre-releaseAOCI-CODE v0.2.0-rc7 is built from 1cad9aea986dc734da8500323a84ea2b7f1c2ba8.
The seventh 0.2.0 candidate fixes what a third real-host first build exposed:
a Claude Code session acting as a new user rebuilt RuoYi-Vue-Plus with its
MySQL schema on rc6 and, having accepted the database Evidence before writing
any Code Entry, found Maintain and Bootstrap pointing at each other. Code work
now comes first and Bootstrap follows once Code is aligned. Reviews of these
fixes also closed write-path gaps that predate rc6: a refused batch no longer
acknowledges its Observe review or lets one domain of an explicit batch land
without the other, and a mixed batch that leaves one Volume byte-identical
keeps a readable, replayable recovery receipt. Incomplete batches name their
missing candidates, Database Maintain applies the transport budget and flags
replies that still exceed it, and a multi-batch build no longer asks for a
refresh after every Apply.
- Accepting Database Evidence before Code is aligned preserves the accepted
Evidence and lets Maintain issue Code work. Auto-mode acceptance reports
when Bootstrap is deferred. Once Code and required Observe review are
complete, Guide, Maintain, Check, Verify, the status page, and the Apply
terminal proof direct the Host to Bootstrap the Database Volume. - Database Cognition status and auto acceptance follow the shared next action.
Auto acceptance identifies sources still owing Evidence or prompts forscan
when the Code Baseline is absent. Both Bootstrap entry points stop before
formal writes if Code Volume bytes conflict with their Baseline. Disabled
sources without formal table Entries remain visible and carry no authoring
blocker. - With
automation.mode=auto,database baseline acceptkeeps an accepted
Evidence a success when the Code Baseline cannot be read but can be
restored, deferring Bootstrap torestore_formal_assets_from_one_commit;
when Bootstrap stops on any other error, the failure's details name the
accepted source, snapshot digest, table count, and Evidence Baseline. - Submitting an incomplete authoring batch against a valid, still-current
machine-issued receipt now returns zero-writerepair_requiredwith
localized findings naming the missing candidate(s) (omitting
candidate_indexsince omitted targets have no submitted position, and
summarizing count plus the leading 10 targets when more than 10 are
missing),retry_scope,preserve_other_candidates, and a localized
completion action. Ordinary Code, parallel sibling, and Database incomplete
batches previously returnedstoppedwith an unlocalized fallback;
cognition optimization incomplete batches previously returned
repair_requiredwith only a genericcandidate_invalidfinding and an
emptyretry_scope. On incomplete Code batches, locatable binding errors
on submitted candidates (candidate_idorsource_sha256mismatches) are
reported in the same round alongside the missing targets. When only missing
targets are reported, Hosts preserve already-authored Entries, add every
missing candidate from the same issued batch's candidate list, and resubmit
the complete batch. Over-submitted or unissued targets returnstoppedfor
Code and Database batches, while cognition optimization batches carrying
unissued targets continue returningrepair_requiredwith
cognition_optimization_batch_mismatch. A wrong batch identity that cannot
prove one current receipt, or a drifted source file (including a symlink
replacing a managed regular file), Evidence, Composite, Scope, or Volume
preimage, returnsstoppedacross all domains. - Database Maintain (both no-argument /
scope="all"Volumes Maintain and
explicitscope="database", including aligned or blocked responses with zero
candidates) now foldscognition_currentitems out of
database_cognition.items, caps advisory lists withlist_truncationtotals
while preservingsummarycounts and complete current-page Evidence, and
caps its complete serialized response (including its trailing newline) to the
team transport budgetmaintain_transport_budget_byteswhile keeping
database_cognition_batch_evidence_bytesas the multi-table Evidence-byte
upper bound. A single table whose Evidence exceeds
database_cognition_batch_evidence_bytesis still delivered alone without
truncation, and any single-table (or sample-free) response that still exceeds
maintain_transport_budget_bytesships complete with
transport_budget_exceeded: true(omitted when within budget). - Maintain now records
semantic_thresholdfrom the same deduplicated
semantic-change count asaoci_overview(check_only=true)before Baseline
advances so transport-budget batch splitting never loses a reached threshold.
aoci_update_entryApply passes its live post-Apply governance alignment and
remaining semantic-change count (excluding orphans) to the same pending
refresh status decision ascheck_only: unaligned Apply with remaining
semantic work reportsrefresh_deferred_until_stable, unaligned Apply with
zero remaining semantic work (such as orphan-only debt) reports
refresh_required, and aligned Apply reportsrefresh_ready_for_overview. - Mixed Code+Database Apply batches where one Volume's bytes stay identical
(advancing only its Baseline source fingerprint or Database Evidence binding)
now guard the unchanged Volume in the version-4 recovery receipt, validate the
receipt before any formal write, verify every Volume fingerprint against its
planned postimage or Guard before saving.aoci/baseline.json(preserving
the active receipt and original Baseline if third-party bytes appear),
recognize the sibling Volume's postimage during Baseline verification and
replay, and reportformal_writes_started: truewith non-zero-write
completion wording whenever a Volume write or Baseline publication actually
lands (including crash-recovery replays and fingerprint-only Applies, while
true zero-change resubmissions keepformal_writes_started: false). Active
version-4 receipts left behind byv0.2.0-rc6or earlier in this state
remain readable on upgrade: resubmit the same complete batch through
aoci_update_entryto resume and archive the recovery receipt. Complete
any active recovery with the current version before downgrading to
v0.2.0-rc6or earlier, because older binaries reject the guarded
version-4 receipt shape; after downgrading, continue from a batch the older
version's Maintain issues, since an archived rc7 batch cannot be replayed
there. - An attached Observe review is recorded after Entries Apply succeeds (and for
cognition optimization batches, after archiving the completed Entries
recovery receipt so the Scope transaction is never blocked). Rejected
submissions preserve the Baseline and the pending review; mid-Apply Observe
drift keeps the structuredobserve_review_stalefinding outside alignment
truncation alongsideobserve_review_currentwith
review_current_observe_evidence; and a Scope failure that leaves an active
Scope receipt preserves the failure reason and routes to Scope recovery
(close_pending_recoverywithscope status,scope resume --transaction,
and Agent Guide). Retrying the same batch after an interruption between
Entries Apply and Observe acknowledgement recovers cleanly, and an ordinary
replay whose Observe acknowledgement updates the Baseline no longer claims
zero formal writes. Known limitation: if a cognition optimization batch is
interrupted after archiving its Entries receipt and before Observe
acknowledgement, and the caller acknowledges Observe separately and calls
aoci_maintain(intent="cognition_optimization")instead of retrying the
original batch directly, the newly issued batch completes formally aligned
but loses the earlier batch'sreplacedcount in the draft checkpoint. - Each explicit Code or Database batch ID requires all its issued Entries.
Omitting a domain refuses the whole request, including any removals or
updates in the other domain. Standalone removals remain available by path. - When confirming an attached Observe review fails after its Scope
transaction published the Baseline (an archive or CAS clean-up failure),
Apply reportsformal_writes_started: truefrom that transaction's own
record and routes to Scope recovery; a concurrent session's write is never
counted as this request's.
Known limitations
The following cases are deferred until after 0.2.0:
- In a repository root that is not a Git checkout, the restore advice for an
unreadable formal asset still names agit -Ccommand that cannot run
there; restore the files from your own copy instead. - After an authenticated session, the default (non-v2)
check_onlycan report
refresh_ready_for_overviewwhile governance is not yet aligned; the
cognition-state/v2checkpoint and Apply agree. An early Overview is
delivered and marked unreliable, so no stale cognition is claimed. - A program other than AOCI that rewrites an unchanged formal Volume in the
instant between the final fingerprint check and the Baseline save can still
have that Volume's planned fingerprint recorded; AOCI assumes no concurrent
writer of the same privilege edits formal assets during an Apply. - When
.aoci/baseline.jsonis a symbolic link (unsupported), a zero-change
resubmission reportsformal_writes_started: truebecause the Baseline
digest cannot be read; nothing is written.
See docs/install.md and docs/supply-chain.md for asset verification.