phax 0.44.0
Changes since 0.43.0: v0.43.0...v0.44.0.
Highlights
- A fixed finding finds its commit again after a rewrite — A fixed fate names the commit that carries its fix on the branch it landed on, however that commit was rewritten, or it says plainly that it cannot.
- One phax home, movable by PHAX_HOME, and e2e runs that bring their own — Everything that is phax's own lives in one home, which PHAX_HOME may move and which is otherwise ~/.phax; nothing that belongs to a provider or to the user ever moves with it.
Upgrading
-
phax finding listlooks for where each fixed finding's latest fix landed, on the base branch, then on the run's branch, among commits made since the run started: by its recorded commit, by itsFinding-RunandFindingtrailers, then by its patch id. It writes and fetches nothing. The text shows the answer after the fix's commit when it is not the recorded commit on the base branch. -
finding-listis stamped 0.44.0. Every finding carries a requiredlanded:found,ambiguousornot-foundfor a fixed finding,nullfor every other. The run carries a requiredbaseBranch, the branch searched first. -
An
@lbdremy/phax-schemasbefore 0.44.0 refuses the new answer, so upgrade the package. It reads a 0.40.0 finding list as its own shape, andtoLatestFindingListlifts it under a type of its own,LiftedFindingList: a fixed finding'slandedand the run'sbaseBranchareunknown, never guessed. -
Fix commits now carry a
Finding-Run: <run id>trailer besideFinding, so phax can find them again after a rebase or a squash that keeps the messages. Fix commits made before 0.44.0 have none and are not rewritten: they are found by their recorded commit or their patch id. -
phax agent setup providers --writeno longer turns a provider on in an existing~/.phax/providers.json. An entry with"enabled": falsestays off, and the file's own models are kept, retired ids replaced by their successors. Only a first write, with no file yet, enables the installed providers. To turn a provider on, set itsenabledtotrueby hand. -
PHAX_HOMEnow moves phax's whole home:config.json,providers.json,model-routing.json,telemetry.json, the telemetry journals and, unless a config layer namesstate.root, the runs. If your shell already exportedPHAX_HOMEfor something else, unset it, or phax reads an empty home and runs as a fresh install. A value that is empty, relative or not a directory is refused with exit 2. See The phax home. -
Codex runs the model routing chose. The first
openai-gptmodel listed inproviders.jsonno longer overrides it for every Codex session. If you relied on that order to pick your Codex model, choose it through routing instead (the phase's model and effort, ormodel-routing.json).
What's new
A fixed finding finds its commit again after a rewrite
A fixed fate names the commit that carries its fix on the branch it landed on, however that commit was rewritten, or it says plainly that it cannot.
-
A fix commit now names its run by id, so phax can find it again after a rebase, an amend or a squash that keeps the messages.
fix commit messageNow:
Before
-
Running
phax finding listshows which base-branch commit carries a fix after its commit was rewritten, or says it cannot find one.phax finding listNow:
Before
-
A script reading
phax finding list --jsongets, for each fixed finding, the commit that carries the fix now, how it was found, or that it was not.finding-list document (phax finding list --json)Now:
Before
-
A fixed finding's comment on the pull request names the commit where the fix now lives and the finding's run and id, which stay valid after a merge.
fixed finding's pull request commentNow:
Before
-
Running
phax finding poston a merged pull request now posts a fixed finding whose commit is found on the base branch, without pushing.phax finding postNow:
Before
-
Running
phax finding fix --commitwith a fix's old sha records the rewritten commit on the base branch instead of refusing.phax finding fix --commitNow:
Before
One phax home, movable by PHAX_HOME, and e2e runs that bring their own
Everything that is phax's own lives in one home, which PHAX_HOME may move and which is otherwise ~/.phax; nothing that belongs to a provider or to the user ever moves with it.
-
Setting PHAX_HOME runs phax with a different home holding its own config.json, providers.json, routing, telemetry and runs, while Claude Code, Codex and Vibe keep their sign-ins.
PHAX_HOMENow:
Before
-
Operators can see exactly which files a phax home holds, and that a moved home holds all of them and nothing that belongs to a provider.
the phax homeNow:
Before
-
Running
phax validateshows which phax home is in use and whether PHAX_HOME chose it.phax validateNow:
Before
-
An empty, relative or non-directory PHAX_HOME stops every phax command before it reads anything, naming the variable and its value.
any phax command with an invalid PHAX_HOMENow:
Also in this release
Small fixes, wave 2
Seven small fixes from NEXT_STEPS.md (wave 2), in six phases. Each phase changes its own files, and no phase depends on another phase's code. There is no spec: each phase section says where its fix lives and how it should behave.
Fixes
- fix(codex): run the model routing chose, not providers.json's first (79b0c8a)