Skip to content

codex-local 6/9: install.py, verify_install.py, delegate-local skill - #10

Closed
ehrvs wants to merge 2 commits into
pr/05-surfacefrom
pr/06-install
Closed

ehrvs wants to merge 2 commits into
pr/05-surfacefrom
pr/06-install

Conversation

@ehrvs

@ehrvs ehrvs commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

install.py:

  • Picks the newest local-v* release from this repo and checks it against SHA256SUMS.
  • Installs to ~/.local/bin, or on Windows to %USERPROFILE%\\.local\\bin plus PATH. Requires the Windows sandbox helpers.
  • Never touches the stock binary.
  • Legacy cleanup is TOML-aware (actual wire_api="chat" / model_apply_patch_tool_type keys only). It verifies key-line removal and backs up to ~/.codex/local/legacy-backup/. It is interactive-only; otherwise it just reports.

verify_install.py: full mode, plus --quick (offline, with a stdlib mock Ollama/Responses server).

delegate-local skill: re-pointed at codex-local exec.

Tests:

  • 23 Python unit tests.
  • verify_install --quick passes against the real binary.

Stack (merge bottom-up): 01-cli → 02-h8 → 03-models → 04-resume → 05-surface → 06-install → 07-ci → 08-sync → 09-docs. Plan: local/docs/plan-deltas.md; spike: local/docs/spike-responses.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RPCzgwU247gMtjybR5v4iR

ehrvs and others added 2 commits October 15, 2026 09:20
Python port of the legacy harness installer for codex-local: release
selection (local-v*), SHA256SUMS verification, Windows PATH wiring,
content-marker legacy cleanup with backup, offline --quick verification
against a stdlib mock Ollama/Responses server, and tiny unittest suite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qp4Gg5UQcjWVPZz3y58bWs
…ock validated against real binary

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qp4Gg5UQcjWVPZz3y58bWs
@ehrvs

ehrvs commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator Author

Superseded: merged into codex-local/main via the integration PR #21 (3908b3d).

@ehrvs ehrvs closed this Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant