ReasonFirst 0.5.2 release notes¶
简体中文 · Install & update · Platform validation · Changelog
Post-publication update: 2026-10-12. v0.5.2 was published on 2026-10-10 and its public downloads were verified. The tag and release assets remain unchanged; later source fixes belong to v0.5.3.
ReasonFirst 0.5.2 brings the improvements made after v0.5.1 into a versioned package. Existing users can reuse their configuration and inspect installation state more clearly. Advanced operators also receive explicit deployment/runtime inspection and preparation tools, with opt-in service safeguards kept separate from ordinary setup.
The workflow stays the same: read and reason in ChatGPT, hand a reviewed task to the coding backend, then review the result before publication. Both packaged and source installation remain supported.
What changes for users¶
Reuse an existing installation¶
When valid settings already exist, reasonfirst setup offers reuse before asking
for GitLab, project and worker configuration again. The explicit commands are:
reasonfirst setup --reuse-existing --json
reasonfirst status --json
Reuse preserves existing configuration bytes, project grants and exported-variable
precedence. It does not start services, create tunnels or apps, verify logins, or
write completed setup phases. Use setup --reconfigure for an intentional
configuration change; its verification and approval requirements still apply.
Malformed, unreadable or unsupported selected configuration is reported and left
intact. PR #96
status separates the installed CLI from the running service, whose version may
remain uninspected. It recognizes the known macOS legacy/HTTP-sidecar registration
as static evidence. A missing setup.yaml no longer implies that an existing
installation needs a duplicate tunnel. Windows/Linux service-manager discovery
remains uninspected; static files are not a health check.
Explicit operator tools¶
The package adds a loopback-only reasonfirst-bridge-http command with explicit
endpoint and read-only/full-chat mode. It uses the packaged Bridge core; the
normal reasonfirst-bridge-mcp command remains stdio. The HTTP wrapper provides
no authentication or legacy /control route, so it is not a drop-in replacement
for every existing HTTP deployment. See HTTP transport.
Advanced deployment work now has separate, reviewable steps:
- On macOS, record a known saved LaunchAgent registration using
deployment plan/adopt/status. Recording requires the reviewed digest and--yes; it creates a registration snapshot, not a service migration. - On macOS/Linux, prepare a separate runtime from a complete, reviewed offline wheel set. This does not download dependencies or replace the running service.
- On macOS, compare a saved deployment, prepared runtime and recognized launcher, and inspect selected fields of the loaded job. Unavailable fields and unresolved compatibility remain explicit blockers.
These commands are optional operator tools. They do not implement an automatic updater, service switch, restart, rollback or recovery transaction. Windows runtime preparation and Linux/Windows deployment pairing are unsupported. See deployment records, runtime preparation and loaded-job observation. These changes were integrated in PR #97 through PR #102.
Internal service reliability work¶
The new opt-in managed HTTP owner tracks request, worker-turn and approval lifetimes, and admits maintenance only through its owning local lease. Configured owners retain selected policy, current-process observations, child-launch inputs and GitLab API CA material. Observed binding drift closes admission for that owner; failed transport or cleanup keeps uncertainty visible.
This owner uses an explicitly checked MCP 2026-07-28 JSON profile with subscriptions disabled and the reviewed MCP 2.3.0/Uvicorn 0.54.0 pair. It is not automatically selected by existing launchers. Its bounded input checks do not establish whole-runtime integrity, all provider/native Git/SSH configuration, global idle, or permission to activate a replacement service.
The separate disposable startup probe always denies tool execution. Its startup claims and catalog checks do not turn it into a live service. See managed HTTP service and disposable startup for the exact opt-in scope introduced by PR #103 through PR #109.
Install or update¶
The published v0.5.2 Release has a successfully built and verified wheel/checksum set:
uv tool install --python 3.12 https://github.com/phoenixjyb/reasonFirst/releases/download/v0.5.2/chatgpt_selfhosted_gitlab_mcp-0.5.2-py3-none-any.whl
reasonfirst setup
For an existing packaged installation, first inspect which environment any live
service imports and arrange the package replacement safely. Then install the
reviewed wheel with uv tool install --force and inspect
reasonfirst setup --status --json. Installing package files does not make an
already running process load them. Reuse existing settings and keep the existing
source checkout, service directories, workspace state and tunnel identities.
Source users can select the reviewed v0.5.2 tag and run
uv sync --python 3.12; editable installation remains supported. Follow the
install and update guide for commands and service-specific limits.
Release builds now use uv build --no-create-gitignore, fixing the staging-marker
failure without weakening the exact input allowlist or asset collision guards
(PR #95). The frozen v0.5.1 tag
and artifacts are unchanged. Its one-version recovery workflow must not be reused
for v0.5.2. The new Release uses the normal asset workflow and provides a wheel,
sdist, formula, RELEASE.json and SHA256SUMS.txt. A generated formula does not
establish that a Homebrew tap exists.
Validation and material limits¶
The pre-version-bump integration baseline
d02314a1681907b772ce9ec4527fb588dd5f18ac
passed CI,
documentation,
native tunnel-boundary checks
and candidate packaging.
This remains integration evidence at its own source identity.
The final release source
a4aa63b91109c6ddb8a721d93fe4b9be2543bc23
subsequently passed its own CI,
documentation/Pages,
native tunnel boundaries,
and candidate packaging.
All 16 pre-publication checks passed. The separate
Release asset workflow
then succeeded; all five public downloads were verified, followed by isolated
Linux/Python 3.12.14 wheel installation and non-mutating command checks outside
the source checkout. See the download record.
Regressions cover configuration reuse without writes, deployment/runtime drift, partial native observation, maintenance races, request/cleanup uncertainty, retained child inputs and GitLab API trust. The clean wheel/source installation fixtures exercise both Bridge modes, real MCP requests and synthetic loopback HTTPS; they do not authenticate a real GitLab or coding-provider account. Three-platform CI uses Python 3.12; broader package metadata is not equal test coverage for every interpreter version.
On 2026-10-12, a fresh Ubuntu 22.04.5 x86_64 / v0.5.2 field installation
completed standard setup, live ChatGPT MCP reads, managed Git clone/fetch and
contract validation, and a Codex CLI 0.162.1 read/test task: 10 existing tests
passed, tracked files were unchanged, and the enclosing worker exited with
code 0. The automatic tunnel download first failed with a TLS EOF; installation
continued after a checksum-verified official-client recovery using curl.
The old doctor's PATH-only tunnel lookup also missed the working versioned
bundle. Subsequent source fixes for those findings are not in the published
wheel and have not been counted as another live-host pass.
The platform record separates operator-supplied Linux terminal output, independently invoked Linux MCP calls, and historical macOS and Windows evidence. This Linux run did not edit/publish a repository, use the full-chat Bridge, or test restart/reboot recovery.
The recorded Windows rehearsal has passed setup/read access, managed clone/fetch, approved-interpreter host validation, normal initial worker handoff and clean closeout. Windows repair/restart/reboot recovery and optional privileged Bridge/write acceptance remain unverified. Those earlier machine results do not establish a new Windows 0.5.2 live-machine acceptance. See the recorded acceptance scope and remaining Windows acceptance.
Guided setup is available, but a few-minute first-use completion time has not been measured. Issue #80 tracks remaining onboarding and distribution criteria; no tested Homebrew tap or package registry installation is claimed.
Windows tunnel quoting/UTF-8 decoding, managed Git credential isolation, workspace Python approval and portable worker handoff fixes were already in the published v0.5.1 source. They remain included; they are not new 0.5.2 fixes.
Local installation or health is still separate from ChatGPT app authorization and full-chat eligibility. Full-chat worker control uses Codex App Server; Copilot CLI remains supported through the terminal ActualCoder path. No new backend authentication, unattended publication or automatic merge is introduced.