Repository navigation
AOCI-CODE v0.1.0-rc7
Pre-release
Pre-release
·
651 commits
to main
since this release
AOCI-CODE v0.1.0-rc7 is built from 5291d757e3bc4dc12fdf49852a5d86cbea5445f3.
- Stop refusing to initialize a repository over files the rules already
excluded.aoci initkeyed its initial-scope approval on a counter that
incremented for every tracked path a built-in rule excluded, so one tracked
file undervendor/,dist/,build/,coverage/,target/or any other
built-in generated directory refused initialization outright — and an excluded
path is never opened, so its presence could not make initialization unsafe.
Every remediation the refusal offered was wrong for that category: removing
the files from Git or adding them to.gitignoreboth mean deleting them from
the repository,.gitignoredoes not untrack an already tracked file, and the
opt-in it named accepts onlysensitivepaths and reads the configuration
file that onlyinitcreates. A repository that vendors its own framework
source could not be initialized at all. Approval now keys on the counter
internal/fsalready maintained for it, which counts only paths whose content
an explicit opt-in will actually read. Those still require a human, and every
excluded file keeps its role and stays unread. - Explain an initialization refusal with the reason that actually stopped it.
Approval moved to the counter of paths an opt-in will read, but the message
still branched on the retired one, so a repository blocked because its profile
assigns no path to the index role was told instead that a tracked file needed
an explicit decision. Following that advice deleted the file and reached the
same refusal — the wrong-remediation shape this release exists to remove, left
one function over. - Stop letting one approval ratify past a safety boundary. A Managed Scope
change reportsinteraction_requiredwhen a human reviewer may ratify its
blockers, and the published partition names the blockers that carry no
reviewer at all,transport_constraintamong them. The derivation set
interaction_requiredwhenever any blocker was ratifiable, and the
transport-constraint risk is only ever raised inside the coverage-reduction
branch, which always contributes a ratifiable blocker — so the mixed set was
the only reachable one, the unratifiable classification could never decide
anything, and a change the previous release held closed on apply, authorize
and approve alike could be landed with a single confirmation. The derivation
now refuses the reviewer route as soon as one blocker is a safety boundary,
which is what the contract says: the operator resolves the condition instead. - Deliver the dimension-name diagnostic in the locale it was written for. A
diagnostic that does not match the active locale is discarded whole and
replaced by a generic message, and the canonical spelling of every dimension
is Chinese — so quoting the accepted spellings inside an English refusal made
the refusal collapse and point the operator at.aoci/config.json, which was
not the problem. The previous release, which offered no hint at all, produced
a better message on that path. A message now quotes only the spellings its own
locale can carry, and the test asserts the rendered hint survives the guard
rather than merely containing the right words. - Keep the answer
aoci status --deepgives a repository with no index. The
Legacy-layout precondition was placed ahead of the absent-index branch and
shadowed it, replacing "the index does not exist, so --deep cannot run; run
aoci init first" with a raw filesystem error that also leaked an absolute host
path into the machine-readable message. - Hand back a budget remediation that runs. The remediation named
aoci scope preview, and run literally that returns a status document with no preview
artifact, after whichscope authorizeandscope applyboth refuse for a
missing--preview-file.scope previewemits that artifact only when it is
given a candidate set, and a configuration-only change still needs one, empty.
The sequence also has to keep its artifacts out of the worktree: a plan binds
the repository state, so writingpreview.jsonbeside the sources changes the
state the plan was minted against and apply refuses with
managed_scope_replay_mismatch— the first attempt at a runnable remediation
prescribed the repository root and therefore still did not run..aociis
excluded from the Safe Inventory unconditionally, so the finding, the Guide
instruction in both locales, anddocs/managed-scope-and-budget.mdnow put
every artifact under.aoci/scope-change/, and a test pins that the
prescribed location leaves the plan identity untouched while the worktree
does not. - Say in
docs/upgrading.mdthat an in-flight Scope Change approval does not
survive the upgrade. An approval binds the preview envelope digest, and the
host-independent path change removed two fields from that envelope, so a
preview and approval minted by v0.1.0-rc5 are refused by v0.1.0-rc6 and the
reverse is refused too. Nothing is written and no state is damaged, but the
operator has to finish or discard the pair before replacing the binary. The
v0.1.0-rc6 note claimed no in-flight approval was stranded; that was true of
plan_idand not of the envelope. - Ignore the machine-bound backup a host-integration installer writes. The
installer backs a host config up before rewriting it, and the backup carries a
timestamp, so it could not be listed as an exact path: the config was ignored
and its backup, holding the same absolute host paths, was not. - Fail the Actions version-comment gate when it inspects nothing. Its sibling
has carried that guard since both were written; this one passed vacuously over
an empty set, which is the same false green the pair exists to prevent. - Corrections to the v0.1.0-rc6 notes, which were less accurate than the code.
aoci initinstalls the Codex compaction prompt and reload hook only when
both--agent codexand--hooksare given, not oninitalone. The bounded
standard input is two bounds, not one: the hook reads 64 KiB and fails open,
whileupdate-entryreads the Entries request limit and refuses; the command
isaoci update-entry, notaoci index update-entry. The unconditional
.aociand.gitexclusion lives ininternal/fs/safe_inventory.go, not in
walk.go.
The first public availability date for v0.1.0-rc7 is 2026-08-31.
See docs/install.md and docs/supply-chain.md for asset verification.