Skip to content

ReasonFirst

Reasoning-first coding orchestration

Strong reasoning plans. Coding agents execute. Evidence comes back for review.

ReasonFirst keeps ChatGPT (or another deliberately chosen strong reasoning interface) responsible for architecture, diagnosis, scope, acceptance criteria, and review. Replaceable coding agents handle implementation inside a controlled workspace.

Install ReasonFirst Start in 10 minutes See the daily workflow 中文

How ReasonFirst works

1 · ReasonChatGPTRead repository/MR/CI evidence. Diagnose, choose scope, write acceptance criteria.
2 · ContractTaskSpecPersist the approved goal, non-goals, acceptance criteria, and pinned workspace identity.
3 · ExecuteCoding workerCodex CLI, Copilot CLI, or Codex Desktop implements the bounded task.
4 · ProveEvidencePack + CIReturn bounded diff, validation, reviewability, and CI freshness/completeness evidence.
5 · DecideChatGPT + humanReview evidence, continue or revise the task, and make the merge decision.

One primary loop

ActualCoder can also run directly from a terminal, CI job, IDE, or another client. That is useful for testing, recovery, and automation, but it is a secondary operational capability—not a separate product mode.

v0.5.3: smoother installation and clearer diagnostics

v0.5.3 includes the fixes prompted by the fresh Ubuntu installation:

  • Recover eligible tunnel-client HTTPS interruptions with one bounded curl attempt, preserving TLS and checksum verification.
  • Find ReasonFirst-managed tunnel-client bundles in actual-coder doctor and distinguish local discovery from running-service health.
  • Publish the dated macOS, Windows and Linux validation record, including the v0.5.2 Ubuntu field run and its limits.

Quick packaged installation and building from source are both available, with the same guided setup and saved state. Existing configuration reuse and reasonfirst status, introduced in v0.5.2, remain available. Installing a package does not activate or migrate an existing service.

The v0.5.3 Release records versioned assets, the final source and public-download verification. The earlier field records keep their original installed versions; they do not claim live acceptance of the new automatic recovery.

Read the v0.5.3 release notes Choose an installation route

Tested on macOS, Windows, and Linux

All three platforms have real-machine validation records, across different versions and scopes. The latest run installed v0.5.2 on Ubuntu 22.04.5 and verified live ChatGPT repository reads, native Git, the project contract, and 10 passing tests through a Codex CLI worker, with no file changes. Earlier macOS and Windows records cover 0.5.1 installations.

See versions and validation scope

v0.5.0 validated baseline

v0.5.0 brings the architecture shown above together as one tested system: three worker backends (codex-cli, copilot-cli, codex-desktop), two deliberately different MCP surfaces (read-only GitLab evidence vs. optional Bridge Preview orchestration), persistent TaskSpec/attempt state, cross-process workspace mutation locking, bounded EvidencePack, shared finish/review gates, and matching-HEAD CI feedback.

The pre-release audit baseline 7d16061061f6337604bd3135c9e4a693ad1fd68a passed all seven release-critical CI jobs plus the documentation deployment. The main validation job ran 445 tests; the package job built wheel + sdist, inspected archive paths, clean-installed the wheel, verified version/CLI entry points, and reran source/full-history secret scanning. The published v0.5.0 tag identifies the frozen release, not this earlier audit baseline. This historical test count is not the current suite count.

Read the v0.5.0 release notes Review the architecture

Bridge Preview availability

The read-only GitLab MCP is the portable evidence connection. Bridge Preview requires a connected client/workspace that permits its more privileged custom-MCP actions. If that surface is unavailable, use terminal ActualCoder; TaskSpec, workspace identity, validation and review gates remain the same.

Where should I start?

  • I am new to ReasonFirst

    Start with Install & update. Choose the packaged quick route or the fully supported source/developer route; both converge on reasonfirst setup. Then use First 10 minutes for the shortest guided loop.

  • I already connected ChatGPT to GitLab

    Follow the daily workflow: reason in ChatGPT, hand off a bounded task, then return evidence for review.

  • I need to configure the coding worker

    Use the worker / CLI setup guide. This is the execution-engine reference.

  • Something is not working

    Use troubleshooting and keep API, Git, Tunnel, worker login, workspace, and CI failures separate.

Core concepts

Concept What it means
Reasoning layer ChatGPT reads evidence, diagnoses, chooses architecture, constrains scope, and reviews outcomes.
TaskSpec Persistent goal, acceptance criteria, non-goals, and workspace/base identity.
Worker Replaceable executor: Codex CLI, Copilot CLI, or Codex Desktop/App Server.
WorkerPolicy User-owned model/effort/sandbox/approval/network/tool constraints.
EvidencePack Bounded, recursively redacted, read-only evidence for returning implementation state to the reasoning layer.
Finish gates Validation, reviewability, protected-path, secret/history, and candidate-identity checks before publication.

What ReasonFirst is not

ReasonFirst is not a model proxy, quota-transfer service, universal security sandbox, or auto-merge bot. It does not make direct model-inference API calls. Coding backends use their own authentication and entitlement.

For the detailed trust model, see Architecture and Security.