Skip to content

v0.44.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 15:29
· 167 commits to main since this release
v0.44.0

phax 0.44.0

Changes since 0.43.0: v0.43.0...v0.44.0.

Read the full notes, with each surface's examples, on docs.phax.run/releases/0-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 list looks 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 its Finding-Run and Finding trailers, 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-list is stamped 0.44.0. Every finding carries a required landed: found, ambiguous or not-found for a fixed finding, null for every other. The run carries a required baseBranch, the branch searched first.

  • An @lbdremy/phax-schemas before 0.44.0 refuses the new answer, so upgrade the package. It reads a 0.40.0 finding list as its own shape, and toLatestFindingList lifts it under a type of its own, LiftedFindingList: a fixed finding's landed and the run's baseBranch are unknown, never guessed.

  • Fix commits now carry a Finding-Run: <run id> trailer beside Finding, 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 --write no longer turns a provider on in an existing ~/.phax/providers.json. An entry with "enabled": false stays 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 its enabled to true by hand.

  • PHAX_HOME now moves phax's whole home: config.json, providers.json, model-routing.json, telemetry.json, the telemetry journals and, unless a config layer names state.root, the runs. If your shell already exported PHAX_HOME for 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-gpt model listed in providers.json no 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, or model-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 message
  • Running phax finding list shows which base-branch commit carries a fix after its commit was rewritten, or says it cannot find one. phax finding list
  • A script reading phax finding list --json gets, 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)
  • 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 comment
  • Running phax finding post on a merged pull request now posts a fixed finding whose commit is found on the base branch, without pushing. phax finding post
  • Running phax finding fix --commit with a fix's old sha records the rewritten commit on the base branch instead of refusing. phax finding fix --commit

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_HOME
  • 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 home
  • Running phax validate shows which phax home is in use and whether PHAX_HOME chose it. phax validate
  • 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_HOME

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)