Skip to content

AOCI-CODE v0.2.0-rc5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:09
· 1 commit to main since this release

AOCI-CODE v0.2.0-rc5 is built from 10d5b89fee565576d7c3e29046902f78f4ed7cd6.

The fifth 0.2.0 candidate closes three known limitations of rc4 and the
audit items it deferred. The first-build forecast in init and scan
follows the batch cut Maintain uses, a Code Maintain response is cut to
the transport budget at any path length, and a build that fell back to single
batches returns to sibling batches once that work ends. Maintain also checks
under the index lock that what it assessed is still current before it issues
a batch. Database Evidence refusals name their object, partition Evidence
is filtered to the selected tables, and four contributor changes land: scope status --fail-on-untracked, multi-ID scope rule remove, PowerShell-safe
$ in paths, and the ADR section of Getting Started.

Upgrading: a repository governed by v0.2.0-rc4 needs no migration. A
selected MySQL table with subpartitions, which used to snapshot without them,
is now refused by name; exclude it from the source to keep the rest. Rolling
back follows docs/rollback.md: an older binary still honours a single-batch
hint written in the new form while it matches the remaining work, so it may
keep issuing single batches until that work ends, and nothing else needs
undoing.

Changes:

  • Database Evidence names the object a refusal is about: an unsupported
    openGauss feature reports schema.table, or schema.table (index) for an
    index or key; a name holding a line
    break or other control character is escaped and quoted, so the error stays
    on one line, and a known empty name shows as object="". A name in Chinese
    is kept in English output instead of being replaced by a generic message.
  • Partition Evidence is filtered to the selected tables: an unusual partition on
    a table outside the selection no longer stops a PostgreSQL snapshot. A
    selected MySQL table with subpartitions is refused as
    catalog_query_partitions_mysql_subpartition, naming the table, instead of
    failing as evidence_invalid. Upgrading: a table whose partitions each
    held a single subpartition used to snapshot without its subpartitions and
    is now refused; exclude it from the source to keep the rest. Existing
    Evidence is not rewritten.
  • aoci scope explain agrees with scan for a path under a nested
    exclude_root_dirs directory and for a future path Git will ignore,
    including a file name Git would otherwise read as a pathspec.
    aoci ui --detach reports why the panel failed to start (a non-loopback
    host, a port in use) instead of unexpected readiness line. The status
    page suggests database cognition bootstrap once Evidence is accepted but
    the Database Volume is missing, lists snapshot commands only for sources
    whose Evidence is missing or invalid, and keeps the repository path in
    them intact.
  • aoci init and aoci scan forecast the first build's Maintain rounds from
    the same batch cut Maintain uses, recomputed each round over the targets
    left; with the default line cache on they count the line evidence the
    formal scan saves. The forecast was low at batch boundaries and with long
    paths (78 files reported 2 rounds for 3; a long-path tree 6 for 10). It
    covers the Code first build only, and can run high for files written
    moments before the scan.
  • A Code Maintain response is cut to the team transport budget at any path
    length: auxiliary samples shrink first, then the batch carries fewer
    candidates. What must travel together and still does not fit is delivered
    whole and marked transport_budget_exceeded: an object that cannot fit
    alone with its Observe evidence or orphan removals, a batch of orphan
    removals, or a batch already delivered, which keeps its binding when the
    budget is lowered. A Database-only response keeps its own Evidence limit.
    Undelivered sibling batches are recut.
    Candidates and orphan removals in one batch share Apply's 200-item limit,
    the rest following in the next round. A delivery is recorded only after
    its response has been checked.
  • A first build that fell back to single batches (the solo hint) returns to
    sibling batches once that work ends, however it ended. An older hint is
    migrated rather than dropped, so a single batch still out when upgrading
    is not reissued, and a hint that cannot be rewritten is kept as it was.
    A rejected Scope Apply no longer clears it.
  • Maintain checks, under the index lock, that the Code Volume, plan markers,
    and Baseline it assessed are still current before it issues a batch or
    advises restoring formal assets, and reassesses when one has moved; a
    normal Apply from another session no longer produces a restore advice.
    When repeated concurrent writes exhaust the reassessments, it answers
    maintain_snapshot_changed with a next action and writes nothing.
  • aoci scope status --fail-on-untracked exits 1 when Git-untracked sources
    are referenced by the index or Baseline, printing the same JSON status, so
    a pre-commit hook can enforce what the advisory warning reports; combined
    with --transaction it is refused as invalid input, exit 2 (#204, by
    caokai674).
  • aoci scope rule remove takes several rule IDs and saves the policy once:
    an unknown or duplicate ID leaves every rule in place. One ID keeps the
    rule_id JSON field; several return rule_ids (#212, by caokai674).
  • On Windows, Guide and onboarding commands escape a literal $ in the
    executable and repository paths for PowerShell instead of refusing them
    (#211, by dayebishouji), and a single-quoted onboarding argument doubles a
    typographic single quote as well as the ASCII one, so a path holding ’
    no longer splits the plan and snapshot arguments.
  • Getting Started shows how to keep a design decision as an ADR next to the
    code and reach it from the code Entry's R (#214, by dayebishouji).

See docs/install.md and docs/supply-chain.md for asset verification.