Repository navigation
AOCI-CODE v0.2.0-rc11
Pre-release
Pre-release
·
10 commits
to main
since this release
AOCI-CODE v0.2.0-rc11 is built from 3e92aa0f0437ee2cfbaa48052096c74e140542be.
The eleventh 0.2.0 candidate makes the team configuration forward compatible
before 0.2.0 final (#242): a save keeps keys this binary does not know, and a
repository can name the oldest binary allowed to write it. It also lands
contributor PR #233, so a failed index write reports bounded machine facts
instead of native text and paths, and the parallel-sibling lock fix held out of
rc10, whose Windows-only test failure turned out to be the test comparing two
fixtures that had cut their batches differently.
- Strict JSON readers (
.aoci/curation.json, receipts, plans, and the team
configuration) refuse nesting deeper than 10000 levels before scanning, as
encoding/jsondoes, so a deeply nested file is rejected at once instead of
exhausting memory; duplicate-key checks are unchanged below that depth. - Forward-compatible team configuration passthrough and repository generation
guard (min_aoci_version, #242):.aoci/config.jsonnow preserves
unrecognized keys verbatim (in deterministic sorted UTF-8 key order after
known fields) at the top level and inside every nested object-typed
configuration struct (ai,overview_delivery,automation,
locale_migration,managed_scope,managed_scope.approval_thresholds,
cognition_budget,cognition_budget.whole_index) acrossSave,
MarshalBase,config set, and CAS transactions, while leaving existing
configurations without unknown keys byte-identical. When an explicit known
edit removes or clears an optional parent object (such as
aoci config set automation_mode manual/legacyclearingautomation, or a
locale switch clearinglocale_migration), unknown keys nested inside that
removed object are deleted with it rather than retaining an empty object.
Team configuration parsing and saving now strictly reject duplicate keys and
case-colliding keys at any nesting level, JSON nesting deeper than 10000
levels, and payloads exceeding 4 MiB (on both read and write, with zero
writes on refusal), and detect thelocalekey case-insensitively to match
struct decoding. Optional team-ownedmin_aoci_version(never written by
0.2.0, excluded from all identities; behavior is unchanged when absent) stops
every mutating and transaction-recovery CLI command and write-capable MCP
tool withrepository_generation_unsupportedand zero writes when the
running binary (includinggit describedevelopment builds compared by base
tag, or unparseable version strings) does not satisfy the required release or
when the value is malformed. Read-only entry points (aoci_overview,
status,verify,doctor,config get/list,scope show,
index header show) continue to work (skipping legacylocale
materialization when blocked);status,verify, andaoci_overviewalso
surface the low-version notice, andaoci doctorreports an error-level
finding with absolute-path upgrade guidance and exits non-zero. - When a guarded filesystem operation inside
AtomicWriteCASfails (resolving
the target, taking the CAS lock, settling recovery, reading the target,
writing the intent, staging the swap, or the exchange itself), prewrite
aoci_update_entrybatch writes andaoci_remove_entryindex writes now
report bounded machine facts (operation, enumeratedreason,os_error,
and a validated unsupported filesystem name) instead of raw native error
text or local paths. Inzh-CNthis intentionally drops the previously
visible native Chinese error text and paths. A preimage CAS conflict (another
writer changed the index first) is not one of these operations and keeps its
existing message (Refs #224; thanks to@enqiangfor PR #233). - Parallel sibling batches of one logical plan serialize on the index lock
(L4). A sibling whose pre-lock check found the plan or Volume preimage
stale, because another sibling of the same plan had written its Volume but
not yet its applied record, used to stop with
code_candidate_volume_preimage_stalewithout taking the lock. It now
re-plans and commits under the same lock hold, proving the latest state by
replay; a genuine external change still fails closed with the same answer.
Single, optimization and database batches, and previews, are unchanged.
(Held out of rc10 after a Windows-only test mismatch, since traced to the
test comparing two fixtures whose batches were cut differently.)
See docs/install.md and docs/supply-chain.md for asset verification.