bloom-launch 0.1.0a3__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/.github/workflows/release.yml +1 -1
  2. bloom_launch-0.2.0/CONTEXT.md +179 -0
  3. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/PKG-INFO +28 -11
  4. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/README.md +27 -10
  5. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/alpha-release-contract.md +11 -10
  6. bloom_launch-0.2.0/docs/code-harness-compatibility/codex-0.167.2.md +121 -0
  7. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/connections.md +3 -3
  8. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/headless.md +1 -1
  9. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/installation.md +11 -9
  10. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/quick-launch.md +12 -3
  11. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/releasing.md +15 -15
  12. bloom_launch-0.2.0/docs/superpowers/plans/2026-11-12-codex-launch-spike.md +160 -0
  13. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/pyproject.toml +1 -1
  14. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/scripts/check_artifacts.py +1 -1
  15. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/scripts/verify_release_candidate.py +2 -2
  16. bloom_launch-0.2.0/src/bloom_cli/cli.py +85 -0
  17. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/contract.py +5 -1
  18. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/launch.py +21 -5
  19. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/settings.py +2 -5
  20. bloom_launch-0.2.0/src/bloom_cli/wrappers.py +315 -0
  21. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_artifacts.py +2 -2
  22. bloom_launch-0.2.0/tests/test_cli_forwarding.py +104 -0
  23. bloom_launch-0.2.0/tests/test_codex_compatibility.py +48 -0
  24. bloom_launch-0.2.0/tests/test_codex_launch.py +33 -0
  25. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_model_limits.py +8 -0
  26. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_release_workflow.py +5 -5
  27. bloom_launch-0.2.0/tests/test_wrappers.py +353 -0
  28. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/uv.lock +1 -1
  29. bloom_launch-0.1.0a3/CONTEXT.md +0 -26
  30. bloom_launch-0.1.0a3/src/bloom_cli/cli.py +0 -42
  31. bloom_launch-0.1.0a3/src/bloom_cli/wrappers.py +0 -97
  32. bloom_launch-0.1.0a3/tests/test_wrappers.py +0 -173
  33. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/.github/workflows/local-checks.yml +0 -0
  34. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/.gitignore +0 -0
  35. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/LICENSE +0 -0
  36. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/adapter-contract.md +0 -0
  37. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/adr/0001-authorization-is-not-qualification.md +0 -0
  38. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/adr/0002-persistent-native-profiles.md +0 -0
  39. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/adr/0003-credential-and-process-ownership.md +0 -0
  40. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/ci-efficiency-decisions.md +0 -0
  41. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/demo-goal.md +0 -0
  42. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/development.md +0 -0
  43. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/local-testing.md +0 -0
  44. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/models.md +0 -0
  45. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/multi-harness-engineering-requirements.md +0 -0
  46. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/opencode-bootstrap-compatibility.md +0 -0
  47. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/opencode-demo.md +0 -0
  48. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/qualification.md +0 -0
  49. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/plans/2026-11-04-ci-efficiency.md +0 -0
  50. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/plans/2026-11-04-coderabbit-followup.md +0 -0
  51. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/plans/2026-11-05-demo-goal.md +0 -0
  52. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/plans/2026-11-05-opencode-demo.md +0 -0
  53. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/plans/2026-11-11-agent-id.md +0 -0
  54. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/plans/2026-11-12-session-id.md +0 -0
  55. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/specs/2026-11-04-ci-efficiency-design.md +0 -0
  56. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/specs/2026-11-04-coderabbit-followup-design.md +0 -0
  57. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/specs/2026-11-05-demo-goal-design.md +0 -0
  58. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/docs/superpowers/specs/2026-11-05-opencode-demo-design.md +0 -0
  59. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/scripts/check_local_install.sh +0 -0
  60. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/scripts/diagnose_discovery.py +0 -0
  61. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/__init__.py +0 -0
  62. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/__main__.py +0 -0
  63. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/discovery.py +0 -0
  64. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/labels.py +0 -0
  65. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/model_metadata.py +0 -0
  66. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/process.py +0 -0
  67. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/progress.py +0 -0
  68. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/src/bloom_cli/urls.py +0 -0
  69. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/conftest.py +0 -0
  70. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/installed_connection_probe.py +0 -0
  71. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/job_control.py +0 -0
  72. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/job_control_probe.py +0 -0
  73. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/native_smoke_support.py +0 -0
  74. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/pty_driver.py +0 -0
  75. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_ci_workflow.py +0 -0
  76. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_discovery_diagnostic.py +0 -0
  77. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_install_script.py +0 -0
  78. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_installed_launch.py +0 -0
  79. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_job_control.py +0 -0
  80. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_launch_progress.py +0 -0
  81. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_model_labels.py +0 -0
  82. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_model_metadata.py +0 -0
  83. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_native_smoke.py +0 -0
  84. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_process.py +0 -0
  85. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_progress.py +0 -0
  86. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_secret_validation.py +0 -0
  87. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/test_thin_launch.py +0 -0
  88. {bloom_launch-0.1.0a3 → bloom_launch-0.2.0}/tests/thin_job_control_probe.py +0 -0
@@ -60,7 +60,7 @@ jobs:
60
60
 
61
61
  root = Path(os.environ["CANDIDATE_DIR"])
62
62
  dist = root / "dist"
63
- names = {"bloom_launch-0.1.0a3-py3-none-any.whl", "bloom_launch-0.1.0a3.tar.gz"}
63
+ names = {"bloom_launch-0.2.0-py3-none-any.whl", "bloom_launch-0.2.0.tar.gz"}
64
64
  if (dist.is_symlink() or not dist.is_dir()
65
65
  or {p.name for p in root.iterdir()} != {"dist"}
66
66
  or {p.name for p in dist.iterdir()} != names
@@ -0,0 +1,179 @@
1
+ # Bloom Launch
2
+
3
+ Bloom Launch connects a user's Coding Harness to Bloom for an Explicit Launch.
4
+ Launch Verification and native compatibility require distinct evidence.
5
+
6
+ ## Language
7
+
8
+ **Coding Harness**:
9
+ The user's coding-agent application that owns its conversation, tools, execution
10
+ permissions and development workflow. Bloom connects its model requests without
11
+ replacing that workflow.
12
+
13
+ **Explicit Launch**:
14
+ Starting a Coding Harness with Bloom's connection overriding its default connection
15
+ for that invocation. Starting the harness directly uses its configured default connection.
16
+
17
+ **Launch Verification**:
18
+ Evidence that Bloom Launch's connection, packaging and process-ownership behavior
19
+ meets its contract in the exercised environment. It does not establish native model compatibility.
20
+ _Avoid_: Live qualification, supported model path
21
+
22
+ **Qualified Harness Path**:
23
+ A specific harness version, incoming protocol, provider/model and feature set
24
+ for which compatibility evidence has been recorded. Discovery or launcher-only
25
+ verification does not qualify the path.
26
+ _Avoid_: Discovered model, passing launcher check
27
+
28
+ **Launch Configuration**:
29
+ The connection settings used by one Explicit Launch. It controls that launch
30
+ without becoming the user's persistent Coding Harness configuration.
31
+ _Avoid_: Native profile, global configuration
32
+
33
+ **Persistent Configuration**:
34
+ The user's saved Coding Harness settings and credentials used by direct native
35
+ invocation. Bloom does not replace or silently rewrite it during an Explicit Launch.
36
+ _Avoid_: Launch configuration, temporary profile
37
+
38
+ **Compatibility Baseline**:
39
+ The exact Coding Harness version and protocol selected for a compatibility spike.
40
+ It is the starting point for qualification, not a compatibility claim for a version range.
41
+ _Avoid_: Latest version, supported range
42
+
43
+ ## Historical session handoff: 2026-11-12
44
+
45
+ ### Current result
46
+
47
+ - The user requested native argument forwarding, a PR to `staging`, a squash merge, and PyPI publication.
48
+ - PR #9 is merged: https://github.com/Bloom-Factory-Engineering/bloom-cli/pull/9
49
+ - The squash commit is `b4906867a3e2bbe720c5bb3050eb2511ccf9f75d` on `origin/staging`.
50
+ - `bloom-launch==0.1.0a4` is published: https://pypi.org/project/bloom-launch/0.1.0a4/
51
+ - The user performed the manual Twine upload in their terminal. The agent did not receive a PyPI token.
52
+ - Public metadata, distribution hashes, and a direct published-wheel installation were verified.
53
+ - The user subsequently confirmed that installation by package name worked with `--no-cache`.
54
+
55
+ ### Assigned checkout and Git state
56
+
57
+ - Polyrepo: `/Users/solsen/dev/projects/microservices`.
58
+ - Assigned linked worktree: `/Users/solsen/dev/projects/microservices/.worktrees/bloom-cli/cli-5`.
59
+ - Local branch: `feature/cli-5`.
60
+ - Local HEAD: `e89faa116d91dc23ccd0e0ce2eb16a347121507f`.
61
+ - Included commits: `e558b4b` implementation, `54e1b1a` abbreviation fix, and `e89faa1` README explanation.
62
+ - The local feature HEAD differs from the squash commit by commit identity. Do not infer missing changes from that difference.
63
+ - The remote feature branch was deleted during the merge. The assigned local worktree remains available.
64
+ - This handoff is an uncommitted update to `CONTEXT.md`. No handoff commit was requested.
65
+ - Do not switch branches in this worktree or edit another worktree of this repository.
66
+ - New branches must start from freshly fetched `origin/staging`.
67
+ - The primary checkout used an older architecture and contained unrelated uncommitted work and a user-deleted `CONTEXT.md`.
68
+ - Do not restore, move, or overwrite the primary checkout. Continue from the assigned worktree.
69
+
70
+ ### Feature contract and implementation
71
+
72
+ Examples:
73
+
74
+ ```sh
75
+ bloom launch claude -p "say hi"
76
+ bloom launch opencode run "say hi"
77
+ bloom launch claude -- --verbose
78
+ ```
79
+
80
+ - Unknown arguments after the harness are forwarded in their relative order.
81
+ - Bloom removes its recognized options before native launch.
82
+ - The first `--` separates Bloom parsing from an explicit native suffix. Bloom removes that separator.
83
+ - Subsequent suffix tokens retain their order and values, subject to reserved-option validation.
84
+ - Native `--model` and `--model=VALUE` are reserved for both harnesses.
85
+ - Native Claude `--settings` and `--settings=VALUE` are also reserved.
86
+ - Bloom's own `--model` before the boundary selects the gateway model.
87
+ - Root and launch parsers use `allow_abbrev=False`. Thus `--mod` must remain a native argument.
88
+ - Unknown options intentionally pass through. Bloom cannot distinguish a misspelled option from a new harness option.
89
+ - `cli.py` parses arguments. `launch.py` carries `native_args`. `wrappers.py` validates and builds native argv.
90
+ - The implementation uses `parse_known_args` and a second prefix parse to reject unknown arguments before the harness.
91
+ - That prefix check finds a token equal to the parsed harness. Do not assume comprehensive parser-position coverage.
92
+ - Reserved-option validation scans tokens for exact long-option names and attached `=` forms.
93
+ - Short aliases, harness-specific alternate spellings, and option-like literal values need further investigation before broader protection claims.
94
+ - Do not describe these checks as a complete security boundary for arbitrary native command grammars.
95
+ - `README.md` supplies PyPI's description. It now explains forwarding, examples, the separator, and reserved options.
96
+
97
+ ### Release evidence
98
+
99
+ - Candidate workflow run: https://github.com/Bloom-Factory-Engineering/bloom-cli/actions/runs/43293177504
100
+ - Run ID: `43293177504`. Attempt: `1`.
101
+ - Verified run source: `b4906867a3e2bbe720c5bb3050eb2511ccf9f75d`.
102
+ - The workflow passed locked installation, Ruff, tests, build, private-policy scan, and lockfile preservation.
103
+ - PR Linux checks passed for Python 3.12, 3.13, and 3.14. The optional macOS reporting job was skipped.
104
+ - CodeRabbit's check passed. Earlier agent execution did not capture every PR review body and inline thread.
105
+ - If revisiting review feedback, retrieve every review, inline thread, and edited summary rather than relying on the check status.
106
+ - Local full suite before publication: `455 passed, 2 skipped`.
107
+ - After the final README edit, artifact and forwarding tests passed: `68 passed`.
108
+ - Ruff and `git diff --check` passed.
109
+ - No separate static typechecker was configured or run. Compilation checks do not establish typechecking.
110
+ - Do not equate synthetic tests or Linux packaging evidence with live native-provider compatibility.
111
+
112
+ Published SHA256 values:
113
+
114
+ ```text
115
+ c932c3d769d84ea0a54d8d04bdb594e151ee29bea076d78ffe6102bf7429435c bloom_launch-0.1.0a4-py3-none-any.whl
116
+ cce509361b16960f632608c702e5645d6afd5de0a7ee89200822dfe30c13ab16 bloom_launch-0.1.0a4.tar.gz
117
+ ```
118
+
119
+ - Both PyPI filenames, sizes, and hashes matched the candidate receipt.
120
+ - Published wheel size: 26915 bytes. Published sdist size: 129843 bytes.
121
+ - The PyPI description includes the new forwarding examples.
122
+ - Direct installation from the public wheel succeeded in an isolated Python 3.13 environment.
123
+ - That installation returned `0.1.0a4` for `bloom --version`; `bloom --help` also succeeded.
124
+ - Downloaded candidate directory, if still present:
125
+ `/tmp/bloom-release-43293177504/candidate-b4906867a3e2bbe720c5bb3050eb2511ccf9f75d-1`.
126
+ - Its contents are `manifest.json` and the two files under `dist/`. Do not rebuild files for the same published version.
127
+ - Candidate creation is not publication. `.github/workflows/release.yml` builds and retains artifacts only.
128
+ - Manual upload uses Twine 7.0.0 and a hidden token prompt. Do not request tokens in chat.
129
+ - General version approval preceded candidate generation. Do not claim a separately recorded human hash approval or native acceptance exists.
130
+ - Do not assert that `main` or production is unchanged without inspecting their refs and workflow events.
131
+
132
+ ### Installation issue and confirmed workaround
133
+
134
+ The ordinary command initially failed with “no version” despite publication:
135
+
136
+ ```sh
137
+ uv tool install --prerelease allow 'bloom-launch==0.1.0a4'
138
+ ```
139
+
140
+ The agent reproduced that resolver failure even with an explicit Python 3.13 environment and PyPI index.
141
+ Public JSON and simple-index responses already listed both distributions.
142
+ The root cause of that original resolver failure was not conclusively isolated.
143
+
144
+ The user confirmed this command worked:
145
+
146
+ ```sh
147
+ uv tool install \
148
+ --no-cache \
149
+ --python 3.13 \
150
+ --prerelease allow \
151
+ --index-url https://pypi.org/simple \
152
+ 'bloom-launch==0.1.0a4'
153
+ ```
154
+
155
+ - Do not repeat the earlier unsupported claim that an old Python interpreter caused the failure.
156
+ - The successful command changed cache behavior, interpreter selection, and index selection together.
157
+ - Cache or configuration is plausible, but the exact cause remains unverified.
158
+ - `uv cache clean` blocked while long-running `uv run uvicorn` processes were active for the API services.
159
+ - Those processes were on ports 8000 and 8001. Their exact cache-lock ownership was not proven with lock inspection.
160
+ - The agent incorrectly blamed an installed Bloom process and suggested terminating a stale PID. Do not repeat this advice.
161
+ - PIDs change. Do not terminate unrelated services or force cache deletion to solve this installation issue.
162
+ - Cancel a blocked cache-clean command with Ctrl+C, then use the confirmed `--no-cache` installation command.
163
+
164
+ ### Verification commands for future changes
165
+
166
+ Run from the assigned service worktree:
167
+
168
+ ```sh
169
+ uv sync --locked
170
+ uv run --no-sync ruff check .
171
+ uv run --no-sync pytest tests/test_cli_forwarding.py tests/test_wrappers.py -q
172
+ uv run --no-sync pytest -q
173
+ git diff --check
174
+ ```
175
+
176
+ - Release tests require the `uv` executable on PATH or in the `UV` environment variable.
177
+ - Dependency entries did not change during release preparation. Only the root package version changed in `uv.lock`.
178
+ - Preserve the lockfile for future work unless the user explicitly authorizes a packaging update.
179
+ - Read current repository instructions and inspect Git status before editing or committing.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: bloom-launch
3
- Version: 0.1.0a3
3
+ Version: 0.2.0
4
4
  Summary: Scoped launcher for native coding harnesses
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -15,34 +15,36 @@ Description-Content-Type: text/markdown
15
15
 
16
16
  # Bloom Launch
17
17
 
18
- Connect your installed Claude Code or OpenCode to the Bloom gateway for one invocation.
18
+ Connect your installed Claude Code, Codex, or OpenCode to the Bloom gateway for one invocation.
19
19
  Your Coding Harness retains its normal settings, permissions, plugins, and history.
20
- Plain `claude` or `opencode` continues to use its normal connection.
20
+ Plain `claude`, `codex`, or `opencode` continues to use its normal connection.
21
21
 
22
22
  ## Install
23
23
 
24
- Requirements: Python **3.12 or later**, plus Claude Code or OpenCode already installed and available on `PATH`.
24
+ Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, or OpenCode already installed and available on `PATH`.
25
25
  macOS is the primary platform. Bloom does not install or repair your Coding Harness.
26
- Before launching, follow the [Claude Code installation instructions](https://docs.anthropic.com/en/docs/claude-code/overview) or the [OpenCode installation instructions](https://opencode.ai/docs/installation/).
26
+ Before launching, follow the [Claude Code installation instructions](https://docs.anthropic.com/en/docs/claude-code/overview), [Codex CLI installation instructions](https://developers.openai.com/codex/), or [OpenCode installation instructions](https://opencode.ai/docs/installation/).
27
27
 
28
- These instructions describe `0.1.0a3`; if not yet available on PyPI, collaborators can use a source checkout.
29
- The selected source version is `0.1.0a3`.
28
+ These instructions describe `0.2.0`; if not yet available on PyPI, collaborators can use a source checkout.
29
+ The selected source version is `0.2.0`.
30
30
 
31
31
  When available on PyPI, install this exact version with either tool:
32
32
 
33
33
  ```sh
34
- uv tool install --prerelease allow 'bloom-launch==0.1.0a3'
34
+ uv tool install 'bloom-launch==0.2.0'
35
35
  # Or:
36
- pipx install --pip-args=--pre 'bloom-launch==0.1.0a3'
36
+ pipx install 'bloom-launch==0.2.0'
37
37
  ```
38
38
 
39
39
  Collaborators need access to the private [repository](https://github.com/Bloom-Factory-Engineering/bloom-cli) for a source checkout.
40
- Use a checkout whose project metadata and lockfile both specify `0.1.0a3` before running:
40
+ Use a checkout whose project metadata and lockfile both specify `0.2.0` before running:
41
41
 
42
42
  ```sh
43
43
  uv sync --locked --group dev
44
44
  uv run --no-sync bloom launch claude
45
45
  # Or:
46
+ uv run --no-sync bloom launch codex
47
+ # Or:
46
48
  uv run --no-sync bloom launch opencode
47
49
  ```
48
50
 
@@ -68,6 +70,21 @@ bloom launch claude --agent-id Alex
68
70
  bloom launch claude --session-id session-123
69
71
  ```
70
72
 
73
+ Bloom sends extra arguments to the selected Coding Harness. For example, use `-p` with Claude Code or `run` with OpenCode:
74
+
75
+ ```sh
76
+ bloom launch claude -p "say hi"
77
+ bloom launch opencode run "say hi"
78
+ ```
79
+
80
+ Use `--` when you want to mark the start of native arguments clearly. Bloom sends every argument after it unchanged:
81
+
82
+ ```sh
83
+ bloom launch claude -- --verbose
84
+ ```
85
+
86
+ Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Claude Code's `--settings` option for its private settings file.
87
+
71
88
  | Argument | Purpose |
72
89
  | --- | --- |
73
90
  | `-h`, `--help` | Show global help or `launch` help. |
@@ -79,7 +96,7 @@ bloom launch claude --session-id session-123
79
96
  | `--agent-id VALUE` | Set an agent ID for this invocation without saving it. |
80
97
  | `--session-id VALUE` | Set a transient session ID for this invocation without saving it. |
81
98
 
82
- There are no profiles, model-list commands, or native argument forwarding. `--url` and `--endpoint` are not supported.
99
+ There are no profiles or model-list commands. `--url` and `--endpoint` are not supported.
83
100
 
84
101
  ### First setup and saved defaults
85
102
 
@@ -1,33 +1,35 @@
1
1
  # Bloom Launch
2
2
 
3
- Connect your installed Claude Code or OpenCode to the Bloom gateway for one invocation.
3
+ Connect your installed Claude Code, Codex, or OpenCode to the Bloom gateway for one invocation.
4
4
  Your Coding Harness retains its normal settings, permissions, plugins, and history.
5
- Plain `claude` or `opencode` continues to use its normal connection.
5
+ Plain `claude`, `codex`, or `opencode` continues to use its normal connection.
6
6
 
7
7
  ## Install
8
8
 
9
- Requirements: Python **3.12 or later**, plus Claude Code or OpenCode already installed and available on `PATH`.
9
+ Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, or OpenCode already installed and available on `PATH`.
10
10
  macOS is the primary platform. Bloom does not install or repair your Coding Harness.
11
- Before launching, follow the [Claude Code installation instructions](https://docs.anthropic.com/en/docs/claude-code/overview) or the [OpenCode installation instructions](https://opencode.ai/docs/installation/).
11
+ Before launching, follow the [Claude Code installation instructions](https://docs.anthropic.com/en/docs/claude-code/overview), [Codex CLI installation instructions](https://developers.openai.com/codex/), or [OpenCode installation instructions](https://opencode.ai/docs/installation/).
12
12
 
13
- These instructions describe `0.1.0a3`; if not yet available on PyPI, collaborators can use a source checkout.
14
- The selected source version is `0.1.0a3`.
13
+ These instructions describe `0.2.0`; if not yet available on PyPI, collaborators can use a source checkout.
14
+ The selected source version is `0.2.0`.
15
15
 
16
16
  When available on PyPI, install this exact version with either tool:
17
17
 
18
18
  ```sh
19
- uv tool install --prerelease allow 'bloom-launch==0.1.0a3'
19
+ uv tool install 'bloom-launch==0.2.0'
20
20
  # Or:
21
- pipx install --pip-args=--pre 'bloom-launch==0.1.0a3'
21
+ pipx install 'bloom-launch==0.2.0'
22
22
  ```
23
23
 
24
24
  Collaborators need access to the private [repository](https://github.com/Bloom-Factory-Engineering/bloom-cli) for a source checkout.
25
- Use a checkout whose project metadata and lockfile both specify `0.1.0a3` before running:
25
+ Use a checkout whose project metadata and lockfile both specify `0.2.0` before running:
26
26
 
27
27
  ```sh
28
28
  uv sync --locked --group dev
29
29
  uv run --no-sync bloom launch claude
30
30
  # Or:
31
+ uv run --no-sync bloom launch codex
32
+ # Or:
31
33
  uv run --no-sync bloom launch opencode
32
34
  ```
33
35
 
@@ -53,6 +55,21 @@ bloom launch claude --agent-id Alex
53
55
  bloom launch claude --session-id session-123
54
56
  ```
55
57
 
58
+ Bloom sends extra arguments to the selected Coding Harness. For example, use `-p` with Claude Code or `run` with OpenCode:
59
+
60
+ ```sh
61
+ bloom launch claude -p "say hi"
62
+ bloom launch opencode run "say hi"
63
+ ```
64
+
65
+ Use `--` when you want to mark the start of native arguments clearly. Bloom sends every argument after it unchanged:
66
+
67
+ ```sh
68
+ bloom launch claude -- --verbose
69
+ ```
70
+
71
+ Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Claude Code's `--settings` option for its private settings file.
72
+
56
73
  | Argument | Purpose |
57
74
  | --- | --- |
58
75
  | `-h`, `--help` | Show global help or `launch` help. |
@@ -64,7 +81,7 @@ bloom launch claude --session-id session-123
64
81
  | `--agent-id VALUE` | Set an agent ID for this invocation without saving it. |
65
82
  | `--session-id VALUE` | Set a transient session ID for this invocation without saving it. |
66
83
 
67
- There are no profiles, model-list commands, or native argument forwarding. `--url` and `--endpoint` are not supported.
84
+ There are no profiles or model-list commands. `--url` and `--endpoint` are not supported.
68
85
 
69
86
  ### First setup and saved defaults
70
87
 
@@ -1,16 +1,17 @@
1
- # `0.1.0a3` macOS-first public alpha release contract
1
+ # `0.2.0` macOS-first public release contract
2
2
 
3
- This contract describes the selected `bloom-launch==0.1.0a3` candidate, with command `bloom` and Python 3.12 or later.
3
+ This contract describes the selected `bloom-launch==0.2.0` release, with command `bloom` and Python 3.12 or later.
4
4
  It retains the macOS-first boundary and separate release gates. It does not grant new publication approval or establish production readiness.
5
- The release-preparation public PyPI metadata check returned 404 for `0.1.0a3`. Publication remains pending.
5
+ The earlier `0.1.0a4` release-preparation check is historical. Publication of
6
+ `0.2.0` remains a separate owner-authorized action.
6
7
 
7
- ## HISTORICAL: `0.1.0a1` approvals
8
+ ## HISTORICAL: `0.1.0a1` and `0.1.0a4` approvals
8
9
 
9
10
  On 2026-11-09, the owner approved a narrow macOS-first alpha scope for `0.1.0a1` in BLO-391.
10
11
  The owner selected distribution `bloom-launch`, command `bloom`, Apache-2.0 licensing, and public distribution of the included Python source.
11
12
  The owner approved manual exact-artifact publication while retaining the private repository on GitHub Team.
12
13
  The historical lockfile exception permitted only the root package version change from `0.1.0` to `0.1.0a1`.
13
- These approvals are historical. They do not authorize a `0.1.0a3` upload, agent lockfile edits, or acceptance of new artifact hashes.
14
+ These approvals are historical. They do not authorize an upload, agent lockfile edits, or acceptance of new artifact hashes for this candidate.
14
15
 
15
16
  ## Decision and alternatives
16
17
 
@@ -83,8 +84,8 @@ Personal-store access still requires separate authority. Synthetic checks use th
83
84
  ## Package and publication gates
84
85
 
85
86
  - Retain Apache-2.0. Include the license text and package license metadata.
86
- - Align distribution `bloom-launch`, selected version `0.1.0a3`, command `bloom`, and Python requirement `>=3.12` throughout the candidate.
87
- - Require the owner-supplied root package version update in `uv.lock` to `0.1.0a3` as part of the coordinated source commit.
87
+ - Align distribution `bloom-launch`, selected version `0.1.0a4`, command `bloom`, and Python requirement `>=3.12` throughout the candidate.
88
+ - Require the owner-supplied root package version update in `uv.lock` to `0.1.0a4` as part of the coordinated source commit.
88
89
  - Agents must not edit `uv.lock`. Preserve every dependency entry and the repository's lockfile prohibition.
89
90
  - Do not reuse the historical `0.1.0` to `0.1.0a1` lockfile exception for this candidate.
90
91
  - Confirm the owner step before claiming locked readiness. Preserve locked validation and subsequent lockfile immutability.
@@ -104,8 +105,8 @@ Personal-store access still requires separate authority. Synthetic checks use th
104
105
  - After publication, install the exact version from PyPI outside the checkout in a fresh isolated environment.
105
106
  - Verify version, help, and the agreed installed journey against that PyPI installation.
106
107
 
107
- The owner-supplied root lockfile version matches the project at `0.1.0a3`, with no dependency-entry changes.
108
- Fresh locked installation passed and the installed source command reports `0.1.0a3`.
108
+ The owner-supplied root lockfile version matches the project at `0.1.0a4`, with no dependency-entry changes.
109
+ Fresh locked installation passed and the installed source command reports `0.1.0a4`.
109
110
  Current artifacts remain provisional until exact-source, acceptance, scan, hash-approval, and publication gates pass.
110
111
  Historical license and source-distribution approvals do not supply exact-candidate upload approval.
111
112
  Original-native execution, paid calls, personal-store access, and repository-visibility changes retain their separate authority requirements.
@@ -118,7 +119,7 @@ The candidate workflow therefore has no publishing job, OIDC permission, or publ
118
119
 
119
120
  `release.yml` runs only through manual dispatch and builds the pure-Python universal wheel and sdist on `ubuntu-24.04`, Python 3.12.
120
121
  It uses Linux `sha256sum` lockfile checks, required private policy, and an exact-hash manifest retained as a GitHub artifact.
121
- The artifact contains `manifest.json`, `dist/bloom_launch-0.1.0a3-py3-none-any.whl`, and `dist/bloom_launch-0.1.0a3.tar.gz`.
122
+ The artifact contains `manifest.json`, `dist/bloom_launch-0.1.0a4-py3-none-any.whl`, and `dist/bloom_launch-0.1.0a4.tar.gz`.
122
123
  This workflow does not trigger a PyPI upload, tag, merge, or service deployment.
123
124
 
124
125
  `local-checks.yml` offers one optional `macos-15` Python 3.13 package report through manual `report_macos=true` only.
@@ -0,0 +1,121 @@
1
+ # Codex CLI 0.167.2 Compatibility Evidence
2
+
3
+ Status: structural adapter evidence recorded. Live Bloom request not run in this session.
4
+
5
+ ## Baseline
6
+
7
+ - Executable: `codex`
8
+ - Reported version: `codex-cli 0.167.2`
9
+ - Host: macOS Apple Silicon
10
+ - Tested native surfaces: interactive command shape and `codex exec`
11
+
12
+ ## Documented Configuration
13
+
14
+ The installed Codex CLI documents these relevant controls:
15
+
16
+ - `CODEX_HOME` selects the Codex home directory.
17
+ - `CODEX_HOME/config.toml` is the configuration file.
18
+ - `-c` and `--config` override configuration values.
19
+ - `-m` and `--model` select the native model.
20
+ - `-p` and `--profile` layer a named configuration file.
21
+ - Custom providers use `model_provider` and `[model_providers.<name>]`.
22
+ - Provider definitions support `base_url`.
23
+ - Provider definitions support `env_key` for an environment variable containing the API key.
24
+ - Provider definitions support `wire_api = "responses"`.
25
+ - Provider definitions support `env_http_headers` for headers sourced from environment variables.
26
+
27
+ The adapter uses a persistent Bloom-owned `CODEX_HOME` at
28
+ `$HOME/.config/bloom/codex`, invocation-scoped `--config` overrides,
29
+ `OPENAI_API_KEY`, and environment-backed Bloom attribution headers.
30
+
31
+ ## Adapter Mapping
32
+
33
+ The structural adapter passes these invocation-scoped overrides:
34
+
35
+ ```text
36
+ model = "<selected Bloom model>"
37
+ model_provider = "bloom"
38
+ model_providers.bloom.name = "Bloom"
39
+ model_providers.bloom.base_url = "<Bloom base URL>/v1"
40
+ model_providers.bloom.env_key = "OPENAI_API_KEY"
41
+ model_providers.bloom.wire_api = "responses"
42
+ model_providers.bloom.env_http_headers = { "X-Bloom-Agent-ID" = "BLOOM_AGENT_ID", "X-Bloom-Session-ID" = "BLOOM_SESSION_ID" }
43
+ ```
44
+
45
+ The selected vkey is supplied only through the child `OPENAI_API_KEY`
46
+ environment. Agent and session values are supplied through child-only
47
+ environment variables consumed by Codex's documented `env_http_headers`
48
+ provider field.
49
+
50
+ ## Isolation Result
51
+
52
+ The adapter creates an owner-only temporary directory and sets it as the
53
+ child's `CODEX_HOME`. It does not modify the user's existing Codex home,
54
+ configuration, credentials, or project files.
55
+
56
+ The persistent home lets Codex retain its own project trust state between
57
+ Bloom launches. Bloom does not write the connection, model, credential, agent,
58
+ or session values into that persistent configuration. The user’s native Codex
59
+ home remains untouched.
60
+
61
+ Bloom preserves existing project trust decisions in the persistent home. It
62
+ does not silently trust a new project. An existing `untrusted` project causes
63
+ the launch to fail with an instruction to trust it explicitly in Codex first.
64
+ Existing Bloom-owned Codex settings remain preserved, and the configuration
65
+ file is owner-only.
66
+
67
+ The invocation overrides make Bloom’s provider and model authoritative without
68
+ relying on persistent configuration precedence.
69
+
70
+ ## Native Argument Policy
71
+
72
+ The adapter forwards non-conflicting native arguments in their original order.
73
+ It reserves these Codex controls because they can change the Bloom connection:
74
+
75
+ - `-m` and `--model`
76
+ - `-c` and `--config`
77
+ - `--profile`
78
+ - `--oss`
79
+ - `--local-provider`
80
+ - `--base_url`
81
+
82
+ This list is version-specific. It is not a complete validation boundary for
83
+ future Codex grammar changes.
84
+
85
+ ## Doctor Probe
86
+
87
+ `codex doctor` loaded the generated configuration successfully and reported:
88
+
89
+ - Configuration parse: `ok`
90
+ - Active model provider: `bloom`
91
+ - Provider name: `Bloom`
92
+ - Wire API: `responses`
93
+ - Provider auth environment variable: `OPENAI_API_KEY`
94
+ - Authentication: provided by the active model provider
95
+
96
+ The doctor command reported provider reachability failure for the fixture
97
+ endpoint. That is expected for the synthetic endpoint and is not live Bloom
98
+ qualification.
99
+
100
+ ## Evidence Boundary
101
+
102
+ The following evidence is not recorded here:
103
+
104
+ - A live Bloom request.
105
+ - Routed provider or model identity.
106
+ - Request and attempt accounting.
107
+ - Cost evidence.
108
+ - Tool or history qualification.
109
+ - Full interactive qualification.
110
+
111
+ ## Model Metadata
112
+
113
+ Codex `0.167.2` supports `model_catalog_url`, but that URL must return Codex’s
114
+ native model-catalog schema. The adapter serves a loopback Codex-native catalog
115
+ for the selected model and configures `model_catalog_url` through child-only
116
+ invocation settings. The response includes the selected model slug, display
117
+ name, and Bloom input-limit metadata when available. It contains no credentials
118
+ or gateway secrets. The launch plan owns the server and stops it during cleanup.
119
+
120
+ Run an explicitly authorized live request before promoting `0.167.2` to a
121
+ qualified harness path.
@@ -1,12 +1,12 @@
1
1
  # Connections
2
2
 
3
3
  This page supersedes the former profile and credential-source instructions.
4
- The current launcher has one shared flow and two small harness wrappers.
4
+ The current launcher has one shared flow and small harness wrappers.
5
5
  Legacy launcher compatibility is not supported.
6
6
 
7
- Use `bloom launch claude` or `bloom launch opencode`.
7
+ Use `bloom launch claude`, `bloom launch codex`, or `bloom launch opencode`.
8
8
  The launch controls are `--config`, `--model`, `--base_url`, `--agent-id VALUE`, and `--session-id VALUE`.
9
- Bloom reuses one saved vkey per normalized base URL across Claude Code and OpenCode.
9
+ Bloom reuses one saved vkey per normalized base URL across Claude Code, Codex, and OpenCode.
10
10
  Hidden input is required when that vkey is missing or `--config` is present.
11
11
  Environment variables, helpers, and Keychain cannot supply a vkey.
12
12
  Ordinary launches with a saved vkey and harness model use direct cached handoff without launcher discovery.
@@ -9,7 +9,7 @@ Environment variables, helpers, and Keychain cannot supply a vkey.
9
9
  Complete ordinary launches use direct cached handoff. Setup, `--config`, and explicit `--model` revalidate discovery and model access.
10
10
  Cached vkey reuse does not guarantee unattended operation. If the harness has no saved model, the agent-ID prompt still appears, even with `--model` or `--agent-id`; complete setup with `--config` first. Model selection and native prompts can also require interaction.
11
11
 
12
- Use `bloom launch claude` or `bloom launch opencode`.
12
+ Use `bloom launch claude`, `bloom launch codex`, or `bloom launch opencode`.
13
13
  The launch controls are `--config`, `--model`, `--base_url`, `--agent-id VALUE`, and `--session-id VALUE`.
14
14
  Native argument forwarding is not a required interface for this refactor.
15
15
 
@@ -3,32 +3,32 @@
3
3
  ## Requirements
4
4
 
5
5
  - Python 3.12 or later.
6
- - Claude Code or OpenCode already installed and available on `PATH`.
6
+ - Claude Code, Codex CLI `0.167.2`, or OpenCode already installed and available on `PATH`.
7
7
  - An interactive terminal for hidden vkey input during setup.
8
8
 
9
9
  macOS is the primary platform. Bloom does not install, upgrade, or repair the Coding Harness.
10
10
  The Coding Harness retains its normal settings, permissions, plugins, and history.
11
- Install [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) or [OpenCode](https://opencode.ai/docs/installation/) before using Bloom Launch.
11
+ Install [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview), [Codex CLI](https://developers.openai.com/codex/), or [OpenCode](https://opencode.ai/docs/installation/) before using Bloom Launch.
12
12
 
13
- ## Install `0.1.0a3`
13
+ ## Install `0.2.0`
14
14
 
15
- These instructions describe `0.1.0a3`; if not yet available on PyPI, collaborators can use a source checkout.
15
+ These instructions describe `0.2.0`; if not yet available on PyPI, collaborators can use a source checkout.
16
16
  When available, choose either isolated installation tool:
17
17
 
18
18
  ```sh
19
- uv tool install --prerelease allow 'bloom-launch==0.1.0a3'
19
+ uv tool install 'bloom-launch==0.2.0'
20
20
  # Or:
21
- pipx install --pip-args=--pre 'bloom-launch==0.1.0a3'
21
+ pipx install 'bloom-launch==0.2.0'
22
22
  ```
23
23
 
24
- The selected source metadata is `0.1.0a3`. This does not establish publication or release approval.
24
+ The selected source metadata is `0.2.0`. This does not establish publication or release approval.
25
25
  The published `0.1.0a1` lacks the cached-vkey behavior described here.
26
26
  See its [historical PyPI instructions](https://pypi.org/project/bloom-launch/0.1.0a1/) for that version.
27
27
 
28
28
  ## Source checkout
29
29
 
30
30
  Collaborators need access to the private [repository](https://github.com/Bloom-Factory-Engineering/bloom-cli) to obtain a source checkout.
31
- Before using the commands below, confirm that project metadata and the owner-updated root lockfile both specify `0.1.0a3`.
31
+ Before using the commands below, confirm that project metadata and the owner-updated root lockfile both specify `0.2.0`.
32
32
  Agents must not edit `uv.lock` or bypass the locked install.
33
33
  Run from the checkout root:
34
34
 
@@ -37,11 +37,13 @@ uv sync --locked --group dev
37
37
  uv run --no-sync bloom --help
38
38
  uv run --no-sync bloom launch claude
39
39
  # Or:
40
+ uv run --no-sync bloom launch codex
41
+ # Or:
40
42
  uv run --no-sync bloom launch opencode
41
43
  ```
42
44
 
43
45
  In this checkout, prefix the documented `bloom` commands with `uv run --no-sync`.
44
- The source checkout implements the `0.1.0a3` behavior described in these documents.
46
+ The source checkout implements the `0.2.0` behavior described in these documents.
45
47
 
46
48
  ## Credentials and first launch
47
49
 
@@ -1,7 +1,7 @@
1
1
  # Launch behavior
2
2
 
3
3
  These instructions describe cached vkeys and configurable agent IDs.
4
- If `0.1.0a3` is not yet available on PyPI, collaborators can follow the [source-checkout installation](installation.md#source-checkout).
4
+ If `0.2.0` is not yet available on PyPI, collaborators can follow the [source-checkout installation](installation.md#source-checkout).
5
5
  In that checkout, use `uv run --no-sync bloom` instead of `bloom`.
6
6
 
7
7
  ## Commands
@@ -11,7 +11,10 @@ bloom --help
11
11
  bloom --version
12
12
  bloom launch --help
13
13
  bloom launch claude
14
+ bloom launch codex
14
15
  bloom launch opencode
16
+ bloom launch codex exec "say hi"
17
+ bloom launch codex --agent-id Platform --session-id session-123 exec "say hi"
15
18
  bloom launch claude --model EXACT_GATEWAY_MODEL_ID
16
19
  bloom launch opencode --config
17
20
  bloom launch claude --config --model EXACT_GATEWAY_MODEL_ID
@@ -19,9 +22,15 @@ bloom launch opencode --base_url https://gateway.example.com/prefix/v1
19
22
  ```
20
23
 
21
24
  Global options are `-h`/`--help` and `--version`.
22
- `launch` takes one positional harness: `claude` or `opencode`.
25
+ `launch` takes one positional harness: `claude`, `codex`, or `opencode`.
23
26
  Its options are `-h`/`--help`, `--config`, `--model EXACT_GATEWAY_MODEL_ID`, `--base_url BASE_URL`, and `--agent-id VALUE`.
24
- There are no profiles, model-list commands, or native argument forwarding. `--url` and `--endpoint` are not supported.
27
+ Use `--session-id VALUE` to set a per-launch session ID. Unknown arguments after the harness pass to that harness, and `--` starts an explicit native-argument suffix. Bloom reserves native connection controls. For Codex, these include `-m`, `--model`, `-c`, `--config`, `--profile`, `--oss`, `--local-provider`, and `--base_url`. Codex uses Bloom's persistent `~/.config/bloom/codex` home for project trust state, while Bloom keeps connection values invocation-scoped.
28
+
29
+ ```sh
30
+ bloom launch claude -p "say hi"
31
+ bloom launch opencode run "say hi"
32
+ bloom launch claude -- --verbose
33
+ ```
25
34
 
26
35
  ## Setup and model selection
27
36