actual --version; to upgrade, see Install the CLI.
Added
- The rules brief and both gates send an OpenTelemetry event,
actual.filter.evaluated, describing how their selection narrowed the repository’s rule files: which selection it was (context,planningorimplementation), the score floor it applied, how many rule files the index holds, how many each step dropped and why (retired, excluded by path, no match, under the floor, capped, judged unrelated, already settled this session, outside the judge’s window, or cut by the brief’s own limits), and how many were kept, with the kept files’ ADR references and best scores. The counts add up to the index size.plan-checkandimpl-checksend one every round of--claude-hookor--codex-hook, and itsactual.action.idjoins it to that round’s verdicts.rules briefsends one from either hook mode only when its brief adds an ADR new to the session. Dropped rule files are never named, and no rule text, plan or diff text, path or glob is sent.actual.event.schema_versionis now6. SeePRIVACY.md plan-checkandimpl-checksend an OpenTelemetry event from--claude-hookor--codex-hook,actual.gate.resolved, once per ADR when a block on it ends, saying how it ended:fixedwhen a later round judges its rules followed,not_recheckedwhen a later round decides without judging them followed (left out by the selection or the judged window, nothing applied, or judged not applicable),round_limitwhen the round limit lets the call through,overriddenwhencheck-override,/override, or a Codex user’sactual overrideor picker answer overrides them, andstill_openfrom Claude Code’sSessionEndhook for a block still open. Codex has no session-end hook, so a Codex session’s open blocks send nothing when it ends. A block opens at the first round that denies one of the ADR’s rules and ends when the last of them stops blocking, so blocked, fixed and blocked again sends two events, and an ADR whose rules end differently reports the least resolved of them. Each event carries the gate, how it blocked (plan_denyforplan-check, including in Codex, where it blocks aStop, orstop_blockforimpl-check), the judged rounds and denials the block took, and theactual.action.idof the round that opened it, which joins it to that round’s other events. That round sent abreachedevent for the ADR only if it was the ADR’s first block at that gate in the session. A session killed before its end hook sends nothing for its open blocks. The existing events are unchanged.actual.event.schema_versionis now7. SeePRIVACY.md- Each run of
actual adr newandactual adr createsends an OpenTelemetry event,actual.adr.created: where the decision went (localorcloud), whether it came from flags orcreate --file, the status it was written or saved with, how many policies it has, whether acreate --filesave left its scope or publish step unfinished, its outcome (succeeded,invalid,duplicate,not_signed_inorfailed) and exit code, whether standard input was a terminal, and how long it took.createadds the saved decision’s id asactual.adr.decision_id, which goes only in a request carrying your sign-in’s token. No title, context, policy text, scope glob or file path is sent, and turning telemetry off stops it.actual.event.schema_versionis now9; version 8 changed only what Actual’s web app records. SeePRIVACY.md
Added
whoami --checkasks the auth server whether the stored sign-in still works, renewing the access token first when it expires within a minute, under the same lock the other commands renew it with. It exits 2 when the server no longer accepts the sign-in (a sign-out on another machine, a revoke, or a refresh token the server refuses) and 3 when the server can’t be reached or fails, so a script can tell a lapsed sign-in from an outage. Plainwhoamistill reads only the local credentials fileactual adr checksends an OpenTelemetry event,actual.adr.discovered, once per run, signed in or not: how many decision files it checked, how many failed the save rules and how many likely duplicates it listed, its outcome (passed,failedorerror) and exit code, whether standard input was a terminal, and how long it took. Each run ofaccept,reject,publish,unpublish,delete,restoreandupdatesendsactual.adr.reviewed: the command, its outcome (succeeded,refusedwhen the CLI’s check of the decision’s state or of the requested edit turns it down,not_signed_inorfailed) and exit code, the same terminal flag and duration, whether the decision is AI-grouped and how many rows its group action covers, and the decision’s id asactual.adr.decision_id. The id goes only in a request carrying your sign-in’s token, so a signed-out run, a request whose token Actual refuses and any other endpoint send the event without it. Neither event sends a title, context, policy, scope glob, file path orreject --reasontext, and turning telemetry off stops both.actual.event.schema_versionis now3. SeePRIVACY.md- While telemetry is on, at the end of each Claude Code turn that changed files,
impl-check --claude-hookasks the agent which of the session’s ADRs it used, listing every ADR the brief added to its context. With telemetry off, or in a build without telemetry, nothing reads the answer, so it isn’t asked; debug mode still asks. The agent answers with the newactual rules report-use --claim <adr>=<repo-relative-path>:<line>(or--plan-claim <adr>=<line>, or--none), and the CLI checks each claim against the turn’s diff or plan on your machine. The question counts an ADR only when it changed or decided what the agent wrote, says--noneis a normal answer, and asks for the line that best shows each ADR’s effect. A diff claim up to three lines off still checks out on the nearest added or changed line in the same hunk, and the session state records which line it matched. On a blocked turn the question follows the block’s reason; on a passed turn it continues the agent once. Each listed ADR named sends anactual.adr.reportedevent with whether its claim checked out, and every name the question never listed shares one more. Only a verified diff claim sends its file path, and only in a signed-in request.verifiedmeans the claim’s line is one the turn changed or planned; nothing checks that the ADR relates to it.plan-checkkeeps the plan it judged in local session state until that turn’s answer is recorded or the next prompt starts, then only its line count.actual.event.schema_versionis now5 ACTUAL_TELEMETRY_DEBUG=1writes every telemetry event the CLI queues, sends or holds back to a local log under~/.actualai/actual/telemetry-debug/, and each run that records one printstelemetry debug: <id> -> <path>on stderr. Inside a coding-agent hook the id is the session id, so one session’s hooks share a file. Each line names the stream, the stage (queued,sent,refused,retained,droppedornot_sent) and the event in the form it goes out. Signed-in lines name the account and organization in alocal_onlyfield that is never sent, and the token is never logged. With telemetry off the events are still built and logged asnot_sent, and nothing is spooled or sent. See “Seeing what telemetry sends” in PRIVACY.md--codex-hookonplan-check,impl-check,rules briefandsession summary, and--codex-session-startonrules brief, for the actual-cli plugin’s Codex hooks. Codex has noExitPlanModetool, soplan-check --codex-hookruns onStopand checks the plan a Plan-mode turn proposed, reading the turn’s mode and plan from the session rollout;impl-check --codex-hookleaves those turns alone. A conflict is a{"decision":"block","reason":…}reply, which sends the agent back to revise.rules brief --codex-hookbriefs the files a read-only shell command reads (PostToolUseonBash) and the files a patch writes (PreToolUseonapply_patch), with asystemMessageline telling the user what each brief carried and for which files, since Codex shows hook context to the model only (--no-brief-noticeleaves it out). Every reply carries only keys Codex’s strict hook parser accepts, informational notices such as “no rule applies” are silent on Codex, and a deny reason namesactual check-overridefrom a terminal rather than the Claude Code plugin’s/actual-cli:override. Each command’s--helpnames the capability markercodex-hook--codex-askonplan-check --codex-hookandimpl-check --codex-hook: a conflict ends the Codex turn ({"continue":false,"stopReason":…}) and puts the choice to the user, the way the Claude Code plugin’s dialog does. The user’s next message reaches the agent with the conflicts, so a reply such as “revise” works, and typingactual override <rule-id|all> [code] [reason]records the override from inside the session (impl-check --codex-hookonUserPromptSubmit) without the prompt reaching the agent. An override that arrives from the agent’s own shell, which carriesCODEX_THREAD_IDorCODEX_SESSION_ID, is refused, andcheck-override --claude-hooknow refuses those markers too--codex-pickerwith--codex-ask: where the agent can show a picker (request_user_input; always in Codex’s Plan mode, and in Default mode with Codex’sdefault_mode_request_user_inputfeature on, read from the session rollout), a conflict asks the agent to show the user “Revise” or “Override”, and after Override a second picker asking why, with the Claude Code dialog’s reason codes.impl-check --codex-hookreads the answers from aPostToolUseonrequest_user_inputand records the override. A picker that goes unanswered ends the turn with the plain--codex-askchoicesrules brief --max-session-charscaps the characters of brief one session receives. The first brief that doesn’t fit is replaced, once, by a note that briefing has stopped- In Codex hook modes, when nothing names a runner, the judge tries
codex-cliandopenai-apibeforeclaude-cliandanthropic-api
- The OpenTelemetry
actual.adr.detectedevent aplan-checkorimpl-checkhook sends for an ADR it judged now carriesactual.adr.verdict: the strongest verdict the check gave any of the ADR’s rules, fromconflicting,requires_decision,followedandnot_applicable, in that order. The event still goes once per ADR per session at each gate, and again each time a later check there gives the ADR a stronger verdict, so a rule that didn’t apply on an early Stop and is followed on a later one is reported asfollowed. The word is sent and the quoted line stays on the machine.actual.event.schema_versionis now4 - The judge behind
plan-checkandimpl-checksplits the per-rule verdictconformingintofollowedandnot_applicable.followedmeans the plan or diff falls within the rule’s domain and meets it, and itsspanquotes the one line that shows it;not_applicablemeans nothing in the change falls within the rule’s domain. Neither blocks, and a rule judged either way is cleared for the session as before. In the--jsonreport each rule’sverdictnow readsfollowedornot_applicablewhere it readconforming; the report’s ownstatusstill readsconformingwhen nothing conflicts - The README and
docs/GETTING_STARTED.mdsend new decisions todocs/adr/throughactual adr newor the pull request app.actual.ai opens, both of which write the rule file the checks read, and no longer show a rule file to write by hand. Optional sign-in now comes right after installation, and the README anddocs/HOW_IT_WORKS.mdpoint at this repository’s docs for the commands in place of actual.ai/cli/docs
check-overridealso refuses to run where Codex’s shell markers (CODEX_THREAD_ID,CODEX_SESSION_ID) are set, as it already did under Claude Code’s, so an agent in Codex can’t override its own denial- The
codex-clijudge runs with Codex hooks turned off (-c features.hooks=false) andACTUAL_CLI_SUBPROCESS=1, so the actual-cli plugin’s ownStophook can’t rerunimpl-checkinside the judge’s session - The reminder a check prints while an override is in force names the override’s code, such as
accepted, when it was given no typed reason, instead of saying “no reason given”
Added
- An override records why, as a code:
misread,not-here,adr-wrong,adr-outdatedoraccepted. In the session, the first word after the target is read as the code (/actual-cli:override all misread), and a reason that starts with any other word is recorded asother. From a terminal,check-override --reason-code <code>sets it, and a--reasonwithout one isother. The code is stored with the override and inplan-check-overrides.log, and the OpenTelemetry override event sends it asactual.override.reason. For anotheroverride, a request carrying your sign-in’s token also sends the typed text asactual.override.reason_text, with anything that looks like a secret replaced by[redacted]and cut to 280 characters; Actual shows it only to the organization’s admins. A signed-out run, a request whose token Actual refuses and any other endpoint send the code alone. Words typed after one of the five named codes stay on the machine.actual.event.schema_versionis now2 actual adrwrites and checks ADRs in your repository and manages your organization’s decisions in Actual AI.adr newwrites a decision and its rule file under the names Actual AI’s sync uses, andadr checkruns Actual AI’s save check on decision files and lists likely duplicates; neither needs a sign-in. Signed in,adr list,show,create,update,publish,unpublish,delete,restore,acceptandrejectmanage the decisions in your account through the same decision routes as the web app, and refuse a change the decision’s state doesn’t allow by the web app’s rules.createrefuses a decision the repository already has unless given--allow-duplicate, and sends each decision once: when no answer comes back it exits 3 and asks you to look withadr listbefore trying again.newandcreatedefault to a draft when no person is at the terminal, so a coding agent never publishes a governing decision on its own.create --filerenames the pushed pair to the names Actual AI’s sync uses, and both headers take the status the decision was saved with. See docs/ADR_COMMANDS.md
- The
plan_governance_rule_overrideanalytics event no longer sends a hash of the override reason, and its length bucket is renamed fromreason_categorytoreason_length_bucket actual --helplistsplan-check,impl-check,check-override,rules,login,logoutandwhoamifirst, and describes the CLI as “Align coding agents with your architecture decisions”- When
actual adr-botcan’t match ADRs to a repository’s languages or frameworks yet, its message links docs/ADR_BOT_AND_ADVISOR.md in place ofhttps://cli.actual.ai/docs - The README,
docs/HOW_IT_WORKS.mdanddocs/GETTING_STARTED.mdlead with installing the plugin and the CLI, adding rules,plan-checkandimpl-check,rulesand optional sign-in. Theadr-botandadvisordocs moved todocs/ADR_BOT_AND_ADVISOR.md
impl-checkjudges a rule whose ADR file header sets arootother than the whole repository. It used to read the diff’sa/andb/header prefixes as part of each path, which put every changed file outside the root, so the rule was dropped and the check reported that no rule applied. A file a rule excludes no longer gets that rule through the same prefixes. The default diff now keeps thea/andb/prefixes even when git config setsdiff.noprefixordiff.mnemonicPrefix- The scope index behind
rules select,plan-checkandimpl-checkreads the 16 hex characters that end a rule name from Actual AI’s context sync as a content hash. It used to read pieces of the hash, such asbf, as words of the rule’s slug, and they counted toward matching a plan. An index built by an earlier version is rebuilt the first time it’s loaded
Added
- Override a denied rule without leaving the session: type
/actual-cli:override <rule-id|all> [reason]as a message, or choose an override in the dialog the actual-cli plugin opens when a gate denies. The plugin records it withactual check-override --claude-hook, whose contract is in docs/CHECK_OVERRIDE_HOOK.md.allcovers only the rules a gate’s latest check denied, and the dialog’s “Override all” covers only the denying gate’s (--gate plan|impl), listing exactly those rules first (--list-blocking). A named rule that isn’t blocking is still overridden, and the reply says so. Each override records how it was issued (terminal,session_promptorsession_dialog) and which gate was blocking it. The OpenTelemetry override event adds them asactual.override.sourceandactual.override.blocking_types;actual.gate.denied_typeskeeps its 0.11.0 meaning, any gate that had denied the rule in the session - The companion plugin’s
SessionEndhook can sendactual.session.endedwith the session id, a coarse end reason and whether the last completed hook check blocked. A later hook check reopens a resumed conversation for its next end; repeated ends without a check are suppressed. Telemetry opt-out stops both the event and its local state. Killed sessions can’t send the event, so they still need the inactivity fallback. SeePRIVACY.md
check-override’s--reasonis optional. An override without one is still recorded
- Concurrent hooks no longer lose each other’s writes to a session’s governance state. An override recorded while
impl-checkrecorded the turn’s starting commit, or while another check was judging, could be dropped after the user had been told it was recorded
Added
- From v0.12.0, release pages in actual-cli and actual-releases include
SHA256SUMSfor the platform archives. A signer addsSHA256SUMS.minisigby hand after publication; the release remains unsigned until then. See Release signing for verification. actual self-updatereplaces a binary downloaded by hand with the latest release. It checksSHA256SUMS.minisigagainst the keys inrelease-keys/, including the tag in its signed comment, and the archive againstSHA256SUMS, before renaming the new binary over the old one under a lock. A copy installed with Homebrew or npm gets that tool’s upgrade command instead, and a build from source, wherever it’s installed, gets thecargo installcommand. It won’t replace a binary in a directory the user can’t write or one another user owns, and won’t run as root, under CI, or with update checks turned off. Seedocs/SELF_UPDATE.md
- Building from source now requires the package name:
cargo install --git https://github.com/actual-software/actual-cli.git actual-cli. The workspace also contains therelease-signbinary package, so the earlier command withoutactual-clifails with multiple binary packages to choose from. - For a release binary no package manager owns, the daily update notice and
actual versionnameactual self-updateinstead of linking the release page, and for a build from source they name thecargo installcommand that rebuilds it.actual version --jsonis unchanged - When
actual adr-botretries a failedcodex-clirun throughopenai-api, it asksProceed with sync?again and shows the per-file review, unless you passed--force. Before, the retry skipped both and wrote every generated file unreviewed. That prompt now shows aRunnerrow directly above the question, so the retry’s readsopenai-api (fallback) plan-check,impl-checkandrules selectruncodexin its read-only sandbox, so it can read your repository on those calls but can’t change itPRIVACY.mdand the README lead with one setting for turning telemetry off,actual config set telemetry.enabled false, and say it stops every telemetry event, including the plan-governance events that reach PostHog.ACTUAL_NO_TELEMETRYstays for CI and one-off runs, and what the CLI sends is unchanged
--runner codex-cliworks on Codex 0.147.0 and later, which removed the--full-autoflag the CLI passed. On those versions every call failed before a prompt left, andplan-checkandimpl-checkreportednot_checkedwith exit 0. Tailoring now passes--sandbox workspace-write, which is what the old flag meantcodexno longer inherits the CLI’s stdin. Codex adds piped text to its prompt and waits for the pipe to close, so text piped intoactualcould reach the model, and a pipe left open could stall the run until it timed out
- zip moves from 2.4.2 to 9.0.5, which fixes GHSA-m665-v7pm-7grj (critical), GHSA-q7v9-x93c-xqv3 and GHSA-8hxf-qr8p-62x4. The CLI uses zip only to take
semgrep-coreout of the semgrep wheel it downloads, after checking the wheel against a pinned SHA-256
Added
- Release builds send OpenTelemetry log events about ADRs and checks to
/v1/logson the config file’sapi_url, which is Actual’s API unless you’ve changed it.ACTUAL_NO_TELEMETRY,telemetry.enabled: falseand a build without thetelemetryfeature each stop them before they’re built.telemetry.otlp_logs_endpointorACTUAL_OTLP_LOGS_ENDPOINTsends them to another OTLP/HTTP logs URL instead (HTTPS, or plain HTTP to localhost, with no redirects followed), andtelemetry.otlp_fileorACTUAL_OTLP_FILEappends a copy of each request to an absolute file path, while the request still goes to the endpoint. A debug build sends them only to an endpoint you set. Events wait in a bounded, owner-only local spool for the background uploader, which takes them a batch at a time for up to five seconds in all. A batch the endpoint refuses, or one still being sent when the time runs out, is dropped and not queued again actual.adr.detectedis sent the first time any of an ADR’s rules enters an agent’s context during a Claude Code session (rules brief --claude-hook), and whenplan-check --claude-hookorimpl-check --claude-hookjudges any of its rules, once per session at each gate.actual.gate.evaluatedis sent when either gate blocks on one of an ADR’s rules, counted the same way, and each time a human overrides them withcheck-override. Everyplan-checkorimpl-checkrun that reaches a verdict sendsactual.action.startedandactual.action.completed, whether Claude Code ran it as a hook or you ran the command, and the completed event carries the outcome, what made awarnone and how long the check took. Rule files without a v2 header send no ADR events. An event names an ADR by its ids, which Actual can map back to your repository and its organization, and carries Claude Code’s session and subagent ids and random event and run ids, but no rule text, plan or diff text, override reasons, file paths, raw account identifiers, identity hashes or installation id. SeePRIVACY.mdfor every attribute and its privacy class- Signed in with
actual login, an upload of these events to the addressactual advisoruses carries your sign-in’s access token, which names your account as well as the organization you signed in to, so Actual can tie its events to that organization. Events recorded while signed out, or under another sign-in, go in a request of their own without the token, and an upload that runs after you’ve signed out, or when your sign-in can’t be renewed, sends everything without it. A request Actual refuses with a 401 is sent once more without it, as is the rest of that upload, and no other endpoint gets it.PRIVACY.mdcovers who can attribute the events Actual receives, why it keeps them, and their retention and deletion terms actual config settakes both OpenTelemetry settings, refuses an endpoint or file path that breaks the rules above, and clears either one with"". A cleared endpoint goes back to the default, so an opt-out is what stops these events. An endpoint that breaks the rules sends nothing when it’s set in the config file orACTUAL_OTLP_LOGS_ENDPOINT, and never falls back to the default- The endpoint receives each request as binary protobuf (
Content-Type: application/x-protobuf), andtelemetry.otlp_filereceives it as one line of OTLP/JSON
telemetry.otlp_file,plan-check-overrides.logand the telemetry spools are restricted to their owner before each write, including a file that already exists with wider access, which keeps its lines. Nothing is written to a path that isn’t a regular file or whose permissions can’t be changedlogin,logout,advisorandauth create-tokentake a lock on the stored sign-in:loginto save it,logoutfor the server-side revoke and the local delete, andadvisorandauth create-tokento renew an access token that expires within a minute. The telemetry uploader renews a token under the same lock before it sends, so these commands can wait while a background renewal holds itPRIVACY.mdnow covers whatactual advisorsends to Actual’s API, what tailoring,plan-check,impl-checkandrules selectsend to your AI provider, how a recorded override reason comes back to the agent, and the match request’scanonical_irandoptionsfields and where itsnamecomes from. Its table of where data is sent now also lists the sign-in server, thesemgrep-coredownload from PyPI,auth create-token’s request to Actual’s API andmodels’ request to your AI provider. The CLI sends what it sent before; only the notice changed
- A config file the CLI can’t read or parse turns telemetry off. Before, one invalid value anywhere in the file, such as
batch_size: lots, sentplan-check,impl-check,check-overrideandrules selectback to the default settings, which have telemetry on, so their events went out even when the same file settelemetry.enabled: false. The background uploader made the same fallback, and now sends nothing while the file can’t load, leaving queued events in place. The OpenTelemetry events above follow the same rule.ACTUAL_NO_TELEMETRYwas never affected - Commands that renew the same sign-in at the same time share one renewal. The server takes a refresh token once, so the slower command used to report “Not signed in”. A
logoutthat starts during a renewal waits for it and revokes the renewed session, which could otherwise stay live on the server
Added
whoamishows when the access token expired, once it has, instead of only “Signed in”statushas an Actual AI panel with the signed-in account and organization, read from the local credentials file with no network call
login --deviceis hidden from help while the Actual AI server lacks the device-authorization grant, which a device sign-in needs. The flag still parses and the flow is unchangedplan-check,impl-checkandcheck-overridequeue their telemetry events in the local spool and leave the sending to the background uploader, asrules selectdoes, so no check waits on the network, even when the telemetry endpoint never answers- YAML is read and written with serde-saphyr in place of serde_yml and libyml, which have security advisories and no fixed release. The config file, stored credentials and caches keep their format, so files an earlier version wrote read back the same and 0.9.0 reads what this version writes. A YAML parse error reads differently
- The page the browser shows after you approve
loginsays to return to the terminal to finish signing in, instead of “Signed in”. It appears before the CLI exchanges the code for a session, so when that exchange failed, the browser said “Signed in” and the terminal reported the error - The error box wraps a long message and its
Fix:line instead of cutting them off at the terminal edge, so the server’s reason for a failed sign-in is on screen. A message with line breaks stays inside the box, and a runner’s stderr appears once, under “Subprocess output” - A failed sign-in, token mint, token issuance or API request reports the status line plus the OAuth
erroranderror_description(or the API’s error code and message), not up to 2 KB of the response body, which for an error page was HTML - Text the auth server or the API sends for an error message loses its control characters before the error box prints it, so a misbehaving server can’t write escape sequences to the terminal. A tab or line break in that text prints as a space, and a field longer than 1,000 characters is cut with ”…”
- The same filter covers what the CLI prints from a server outside error messages: the
advisoranswer, its related ADRs and its scope notes, the sign-in detailswhoami,loginandstatusshow, thelogin --deviceprompt, the token detailsauth create-tokenandmint-tokenshow, and the Anthropic or OpenAI response body in a runner error. The advisor’s answer and a response body keep their line breaks - When the session refresh fails because of a server error or a network problem,
advisorandauth create-tokenreport that failure and name the refresh step. Only a refresh token the server rejects (invalid_grant), or a credentials file whose auth server URL is missing or fails the HTTPS check, reports “Not signed in” - A success response from the OpenAI API that the runner can’t parse no longer crashes the command when it runs past 2 KB with a multibyte character across the 2 KB mark. The runner error shows the body cut before that character
- The reason OpenAI gives when it refuses a request loses its control characters before the CLI prints it, and a line break in it prints as a space
- The telemetry uploader runs in a process group of its own, so it finishes its send after the command that started it exits. Before, it died with its parent’s group: Codex kills that group once a command returns, and a CLI that leads its own terminal session (
ssh -t, or a terminal or tmux window that runs it directly) hangs it up on exit - A batch the telemetry endpoint refuses with a 400 or 422 is resent one event at a time and only the refused event is dropped, so one bad event no longer holds back the events queued behind it. Any other failure, a 401, 403, 404 or 413 included, keeps the batch queued for a later run, and scope events and check events go out as separate streams, so a failure in one doesn’t stop the other
- Dependencies with published security advisories are replaced or updated: serde_yml and libyml are replaced by serde-saphyr (see Changed), jsonwebtoken moves to 10.4 on its
rust_cryptobackend, and rustls, rustls-webpki, quinn-proto and rand take patched releases
Added
- Once-a-day update notice: after a successful command run at a terminal (stdout and stderr both), the CLI prints the upgrade command for the channel that installed the binary (Homebrew, npm, or a link to the latest release elsewhere). No command waits on the network; a detached background lookup refreshes a cached answer. Hook modes,
--jsonoutput, CI and redirected output never show it, and a failed command does not spend the day’s notice.ACTUAL_NO_UPDATE_CHECK=1orupdate_check.enabled: falsestops every registry request, and a config that fails to load counts as off. Seedocs/UPDATE_CHECK.md actual versionreports the version, install channel and upgrade command offline;--checkadds one bounded registry lookup and--jsonprints the object documented indocs/UPDATE_CHECK.md- ADR file header v2: rule files may open with a YAML frontmatter block, as the ADR generator now writes. The CLI uses
metadata.scope.{root,paths}andmetadata.actual.{adr_id,status};candidate_group_idalso groups files into decisions;languagesand the other fields are parsed and carried but do not affect selection yet. Requires CLI 0.9.0 or later; an earlier CLI folds the block into the scope sentence and scopes the decision wrongly, and CLI 0.8.0 also ignoresstatus, so it still enforcesdraft,rejectedand the other retired decisions. Files without a header work exactly as before, and both formats can share a directory - Declared
pathsreplace the globs derived from### Verifyand prose;!paths are excludes, and paths are relative toroot. When a header declares include paths, a file outside the decision’s root is never governed by it, and neither is a file matching its exclude, in selection, the brief,plan-checkandimpl-check - Decisions with a retired status (
deleted,draft,archived-draft,deferred,rejected,suggested,superseded,deprecated) are not indexed, so they are never selected, briefed, judged or counted; a missing or unknown status is active.rules indexreports how many were left out - Decisions are keyed on
candidate_group_id, elseadr_id, when a file has one, so files sharing an id are one decision and renaming a file does not re-brief it within a session - Additive JSON fields:
adr_id,candidate_group_id,statusandrootinrules ls, andadr_id,candidate_group_idandrootinrules selectandrules select --by-adr(rootonly when the header declares paths);inactive_documentsand declared-versus-derived path counts inrules index. Fields are omitted for files without a header - Warnings for a malformed or unrecognised header (
malformed_frontmatter,unknown_version) and for two rule files that share a file stem (duplicate_slug) rules brief --helpnames the capability markeradr-header-v2, which the Actual Skill probes to learn that the CLI reads the v2 header
- The
plan-checkfolder pass is bounded: each folder is decided once, smallest first, searching the files the plan names first and then the rest in name order, at most 500 files per folder and nothing after 3 seconds. A folder either limit stops short of a governed file is undecided, and the session record notes it as neither covered nor a gap.plan-check --jsonreports the pass asfolders - The scope index cache format version is bumped and the brief memory and ledger move to version 2, so existing caches rebuild on first use and a session may be briefed once more on a decision after upgrading
- The reported decision key for a file with a v2 header is
group:<candidate_group_id>when it has one, elseid:<adr_id>(rules select --by-adrkey); the brief heading is still the decision title
- When two rule files share a file stem,
rules selectand its--explainoutput no longer resolve both to the first one; lookups key on the file path
Added
rules briefrecords the folder of every file it is asked about in the session record: covered when the search finds a decision, uncovered when it finds none. Docs, config, lockfiles and generated output never count. The brief also takes the repository root from a--rules-dirshaped<root>/.actual/ruleswhen no--repois givenplan-check --claude-hooknotes the folders a plan names, with no model call, so a planned folder no ADR covers counts as a gap. A folder a plan names is judged by the files directly in itsession summaryshows the areas with no ADR beside the ADR count, e.g.Actual AI: 3 of 12 ADRs added to context · 2 areas with no ADR, orActual AI: no ADR covers the 3 areas you worked inwhen every area is a gap.--jsonaddsline,gapsand a sortedareas_without_adr
- The session summary line replaces “Actual AI: added 3 of 12 ADRs to context this session.”
rules briefdecides whether a file is governed before--limitcaps the search, so--limit 0no longer reports every governed read asungovernedand records a gap for every folder- The session summary keeps the count beside the gaps when the session also worked in a folder a decision covers
Added
rules brief: the hook’s view of what governs a file. Decisions are briefed once per session and reset on compaction (including a compacted subagent’s own memory), the brief’s total size is capped with a disclosed note of anything left out, and a path search falls back to text matching (two shared words minimum) only when the path finds nothing. It prints a stderr line saying why a brief stayed quietrules selectgroups rule documents by decision and caps the selection in decisions rather than rules- Rules score floor: a selection can now answer nothing. Settable persistently with
config(rules_min_score), per repository, with validated inputs and the effective floor reported - Session summary hook that reports the ADR count and keeps a session-wide record of the decisions briefed
impl-check’s Stop check now sees work committed during the turn; the turn start is recorded from the hook envelope’s event and compared by checkout root rather than the working directory, and--turn-startstays silent when it cannot read its payload- Claude subprocesses spawned by the CLI are marked with
ACTUAL_CLI_SUBPROCESS=1 - README leads with the Actual.ai Skill
rules selectpreserves colons in decision titles and accepts a blank plan alongside--file- Brief hook: resolves symlinks and dot segments in paths, keeps brace lists whole and expands them before a glob answers, no longer splits a spaced path in two, and only answers documented event and tool pairs
Fixed
- npm publishing: the platform packages (
@actualai/actual-{darwin,linux}-{arm64,x64}) now declarerepositorymetadata, which OIDC trusted publishing requires to generate and validate build provenance. Without it the 0.6.1 npm publish was rejected (E422, provenance repository mismatch), so 0.6.1 never reached npm. No functional changes to the CLI itself since 0.6.0.
Fixed
- Release pipeline: npm packages are now published correctly via OIDC trusted publishing. 0.6.0 shipped to GitHub Releases and Homebrew, but its npm publish failed (CI installed an npm version incompatible with the runner’s Node), so 0.6.0 never reached npm. There are no functional changes to the CLI itself since 0.6.0.
Added
- Plan-governance and scope telemetry now carry a hashed identity + timestamp envelope so metrics can be sliced by user, org and repo without any raw identifier ever leaving the machine:
user_id_hash/org_id_hash/repo_id_hash(unsalted, domain-separated SHA-256 of the logged-in ids), a synthetic repo-slug-derivedorg_idon anonymous runs, anddatetime_utc. Ids are read locally (stored credentials + a config sticky-scope pin) with no network call on the hook path; the backend applies a secret pepper before anything reaches PostHog rules select/ the signals scope workflow now emit aplan_governance_scope_selectevent (narrative 6) describing each local-ADR selection — rules scanned, stage-1 candidates, whether stage 2 (the LLM rank) ran and its status/degradation, selected count, cache hit/miss, rank latency and runner — plus a randomscope_run_idcorrelation id. Only counts, enums, ids and hashes are sent, never plan or rule textcheck-overridenow emits a first-classplan_governance_rule_overrideevent (narrative 4) instead of a plain completion, so overrides are cleanly separable and override rate has an unambiguous denominator. The override reason is captured privacy-preservingly asreason_category/reason_len/reason_hash— never the raw textplan-check --claude-hook/impl-check --claude-hookcompletion events now carryround_index/round_total(narrative 5) for measuring revision-loop convergence
PRIVACY.mddocuments every new telemetry field; all remain opt-out and fire-and-forget, and no raw identifiers, plan text, diff content or reason text are ever sent
rules selectno longer waits on the scope-telemetry network send, and no longer risks losing the event when the process exits: the event is written to a small durable local spool (owner-readable only, bounded, never plan/rule text) and delivered by a separate best-effort uploader process that outlives the command, retrying on a later run until the proxy confirms it. A slow or unreachable endpoint can never delay, fail, or block the selection result or the command’s exit, and an opted-out run still spools and sends nothing
Added
actual rules select --file <path>no longer requires a plan (AK-786): a hook selecting rules for the file an agent is about to touch can pass only a path. A path-only query skips the stage-2 rank rather than ranking against empty prose, reports why it skipped, and the panel drops itsPlan:row; a call naming neither a plan nor a path is still a usage error
- Scope-index ties are now broken by the rarest glob a document matched, then by how few distinct globs it declares, and only then by slug (AK-785), so sibling rule documents generated from one decision no longer rank alphabetically on path-only queries. Scores, the index format and the cache are unchanged
claude --printsubprocesses spawned by the CLI now run with hooks disabled, soimpl-check --claude-hookno longer recurses through the user’s ownStophook (e.g.impl-gate.sh), times out, or leaves orphaned nested judge calls running- Multi-line diffs, verdict reasons and quoted spans no longer break the box borders of the
plan-check/impl-checkpanel
Added
actual impl-check(AK-755): judges agit diffagainst the rule documents selected for it, sharingplan-check’s discovery/scoring/judging pipeline, revision-loop and telemetry machinery via a new sharedcheck_enginemodule rather than duplicating it — same four outcomes, same exit-code contract, and the same--claude-hookJSON contract (driven by the separate plugin repo’shooks/impl-gate.sh); defaults to the working tree vsHEADin the current repo (including untracked, non-ignored files, without mutating the user’s index), with--diff-fileor piped stdin to supply the diff explicitly. Its own revision loop is budgeted independently via--max-rounds/ACTUAL_IMPL_CHECK_MAX_ROUNDS(deny counts, rounds, and content-scoped clearances are per command inside the shared session file). Acheck-overriderecorded against the session still applies to both commands.
plan-check-overriderenamed tocheck-override(reflecting that the override mechanism is shared by bothplan-checkandimpl-checkdenials), withplan-check-overridekept as a backward-compatible alias for existing scriptsimpl-checkpanels,--jsonnot_checkeddetail, and--claude-hookdeny/round-limit copy now name a diff and working tree rather than a planimpl-checkrunsgitwith--no-pager,color.ui=neverand--no-ext-diff, so a user’scolor.ui=alwaysordiff.externalno longer corrupts the diff the judge reads; an over-limit diff now stops and reaps thegitchild; the round-limit and partial-coverage notices say theplan-check-overrides.logaudit log is shared withplan-check
Added
- Local scope resolution over
.actual/rules/: an offline, deterministic index that ranks rule documents against a plan using path globs extracted from### Verifyoperands, the prose scope sentence, the aspect slug and the title actual rules indexto build or refresh that index,actual rules index --clearto drop every cached index (including those left by other repositories) and rebuild this one,actual rules selectto rank rule documents against a plan, andactual rules evalto score the index against the status-quo filename scan on a golden set (--rebuildforces a fresh index so the measurement is not silently cached)actual rules select --explain, which attributes every hit to the signal and terms that carried it and prints what the filename scan would have chosen instead- Two-stage rule selection:
actual rules selectnow ranks the deterministic prefilter’s surplus with a configured runner when it returns more candidates than the cap allows, and returns a verdict and a reason for every rule it selects --no-rank,--candidates,--runnerand--modelonactual rules select, and--rankonactual rules evalto score the two-stage selector against the offline ones on the same golden setStructuredRunner, which lets all five runners answer a schema other than the tailoring one; stage-2 selection reuses each runner’s existing structured-output plumbing rather than duplicating it- A 90-second wall-clock deadline on the stage-2 rank, since a runner’s own timeout is an inactivity timer and does not bound the call
- Design notes and measurements for scope resolution in
docs/SCOPE_INDEX.md, and for two-stage selection indocs/RULE_SELECTION.md actual advisorcommand: ask the Advisor org-scoped architecture questions from the terminal and print the answer with any related ADRs (requires signing in withactual login)- Repository scoping for
actual advisor:--repo <name|owner/name|uuid>to target a connected repository, automatic detection from the working tree’soriginremote, a scope remembered per repository, thenoneandautokeywords to pin org-level or reset, and--show-scopeto print the active scope - Documentation for the advisor command and repository scoping in the README and Getting Started guide
actual rules lsto list the rule documents under.actual/rules/with a per-document level histogram, parse warnings and errors, and--jsonfor the same report as structured dataactual plan-checkto judge an implementation plan against the rule documents selected for it, printing a panel (or--json) with one of four outcomes — conforming, conflicting, requires_decision, or not_checked — and exiting non-zero only for a realconflictingverdict;--claude-hookruns the same pipeline against a Claude CodePreToolUsehook envelope on stdin and emits that hook’s own JSON contract instead — nothing on a clean pass, apermissionDecision: "deny"object on a real conflict, never an explicit “allow” — always exiting 0 and failing open on any infrastructure failure (no runner, no rules, a crashed judge call)- The plan-check revision loop (AK-677): under
--claude-hook, a rule the judge already cleared for the session is never re-asked, arequires_decisionverdict blocks exactly like a conflict pending explicit human review, and a single rule stops blocking on its own after--max-rounds(ACTUAL_PLAN_CHECK_MAX_ROUNDS, default 3) denied rounds — every round, override, and partial-coverage disclosure is appended to a durable, append-only audit log actual plan-check-overridefor a human to explicitly clear one or more rules a plan-check session has denied, with a required--reasonrecorded to the audit log; refused outright unless run from an ordinary interactive terminal (never from a script, an agent’s tool call, or Claude Code’s own integrated terminal)
Fixed
- Semgrep-core download routed through TUI pipeline to prevent terminal corruption
Added
- PHP detection, including WordPress-specific detection fixes
- Swift language detection
- C/C++ project detection
- Java Vert.x and Kotlin Compose Multiplatform framework detection
- C# ASP.NET Core detection via
.csprojparsing - jQuery detection
- Signals pipeline: tree-sitter + semgrep embedded detectors wired into match requests
- V2 ADR schema support (MkII three-tier output model)
- Character budget enforcement on managed sections with TUI warnings when approaching limits
- Fast-fail on Claude Code hard rate-limit messages
- Semgrep installed in CI test and coverage jobs
- Framework detection now prefers manifest-sourced frameworks over config-file-sourced ones in auto-selection
- Language and framework name matching with normalization improvements
- CLI homepage updated from
app.actual.aitocli.actual.ai - HTTP retry logic extracted into shared
runner/http_retry.rsmodule - Runner utilities factored into
runner/util.rs
- Tree-sitter query errors resolved
- Framework name matching fixes and normalization
Added
- Open-source readiness: MIT license, README, SECURITY.md, PRIVACY.md
- CONTRIBUTING.md and code of conduct
- CLI distribution guide (
docs/CLI_DISTRIBUTION.md) - Local development guide (
docs/LOCAL_DEVELOPMENT.md)
- Extracted symphony/factory module to
actual-software/factory - Moved publication scaffolding to distribution repos (
actual-software/actual-releases,actual-software/homebrew-actual) - Security contact email updated to
john@actual.ai - Removed hardcoded staging API URL
Added
- Initial public release of the
actualCLI - ADR-powered AI context file generator
- Multi-runner support: claude-cli, anthropic-api, openai-api, codex-cli, cursor-cli
- Output formats:
CLAUDE.md,AGENTS.md,.cursor/rules/actual-policies.mdc - Homebrew tap (
actual-software/actual/actual) - npm packages (
@actualai/actual)

