Skip to content

Release v0.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 07:16

Conflux 0.7.0 collects 65 changes since v0.6.327. Most of it is correctness and safety work on the parallel orchestrator, the cflx client commands and the /api/v2 remote control API, plus a few new capabilities.

Upgrade notes

These fixes change behavior you may have been relying on:

  • cflx run --push and -u now take effect on every merged change. The background executor that merges archived changes did not inherit the push setting, the upstream setting or the run's stop scope, so changes were merged into the local base instead of being published. If you pass --push or -u, expect pushes to happen now. Network git run under the merge lock is bounded and non-interactive (GIT_TERMINAL_PROMPT=0).
  • A change counts as archived only on an exact or dated entry name. 2026-10-01-add-auth no longer makes a change named auth look completed.
  • max_concurrent_workspaces: 0 is rejected as a configuration error instead of starting an orchestration that can admit nothing.
  • Command retry rules follow the configured patterns and durations. Previously every non-zero exit was treated as a crash, which made those rules ineffective.
  • JSONC trailing-comma removal no longer rewrites string contents. A command template such as cp tasks.md{.orig,} is now passed through unchanged.
  • A live event stream ends after it reports a gap instead of continuing with later envelopes.
  • .wt/ and .conflux-inflight are refused by remote text edit regardless of letter case, and Conflux configuration files cannot be edited remotely.

New

  • Opt-in Apply session resume: an Acceptance FAIL-to-Apply repair can continue the previous agent session instead of re-exploring the repository.
  • Candidate proposal refresh: carry a corrected proposal.md from the base branch into an already-applied candidate without losing the implementation (cflx client refresh-proposal).
  • Acceptance decision provenance: status now says who decided (runtime gate or reviewer), why, and for which candidate commit.
  • Typed submit certainty for cflx client, delivered as opt-in command evidence.
  • Remote control API (/api/v2) extensions for Web front ends:
    • abort-on-conflict worktree merge
    • configured-command worktree sessions
    • confirmed destructive worktree deletion
    • bounded text edit of change and worktree files
    • archive-complete and execution timing facts
    • completed changes stay in the projection for the owner's lifetime
    • change-local error details for recovery

Safety

  • Worktree discovery no longer deletes another change's worktree, unmerged branch or uncommitted work. Exact branch matches win over the legacy ws-<id>-<hex> form, ambiguous legacy candidates are not selected, and a branch is deleted only when its tip is an ancestor of the base.
  • Deletion is refused when a worktree-add path collides with a directory Conflux does not own.
  • Dependency-resolved worktree recreation is guarded against unmerged work.
  • The TCP listener refuses foreign Host authorities, closing a DNS-rebinding path to a token-free loopback cflx --web.
  • Process-group cleanup is awaited when Acceptance or Archive is cancelled.
  • A session stop during a retry delay admits no further attempt.

Fixes

Apply, Acceptance and Archive

  • Apply history injected into prompts is bounded in bytes, so long-running changes no longer grow the prompt until the agent cannot be started.
  • Acceptance verdict detection uses the shared fence tracker; an inline code span at the start of a line no longer hides the verdict.
  • Required verification declarations fail closed when invalid, keep their integrity before and after planning, accept leading environment assignments, and survive CRLF frontmatter.
  • Task counting is correct behind an unclosed code fence.
  • Archive WIP squash is scoped to the change, and spec promotion errors are reported.
  • Rejection marker rollback and the rejection status query are fixed.
  • The streaming runner completes on leader exit with a bounded reader join; hook output is drained and timed-out hooks are killed.

cflx client and stop/queue handling

  • cflx client wait no longer panics on multi-byte output, and no longer turns transient failures (a first incoherent observation, a connection-level ls-remote failure, a child git budget expiry) into final answers.
  • wait is released after a settled stop.
  • Graceful Stop settles at a blocked-only idle boundary and honors a later cancel-stop.
  • Idle stop-and-dequeue no longer swallows the next requeue; the requeue and retry contract is unified.
  • A finite cflx run exits on a fatal error, and the scheduler's terminal report is preserved through to the process exit.
  • Readback of another command's record is rejected instead of trusted.
  • Invalid queued proposal metadata is reported as a change-local error.

TUI and Web

  • The TUI runner owns the worktree deletion lifecycle; Select-return activity uses one vocabulary.
  • Returned dependency-analysis activity is closed where it is produced.
  • Active SSE responses are closed during graceful shutdown.
  • Hidden attention summaries stay hidden under production styling.

Build, CI and dependencies

  • The client builds without default features again, and Linux CI enforces that build.
  • Develop PR CI runs the default Rust test suite. Tests no longer depend on a developer's global Conflux or git configuration, and the --all-features suite passes again.
  • url updated to 2.5.9 (RUSTSEC-2026-0592); the vulnerable ZIP dependency was removed (#15, #16).
  • The test-only WebSocket client moved to dev-dependencies; an unused buffered retry method was retired.

Install

cargo install cflx

Prebuilt Linux binaries (x86_64, aarch64), checksums-sha256.txt and install.sh are attached below.

Full Changelog: v0.6.327...v0.7.0