bloom-launch 0.1.0a4__tar.gz → 0.2.1__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 (89) hide show
  1. bloom_launch-0.2.1/.github/workflows/release.yml +182 -0
  2. bloom_launch-0.2.1/CONTEXT.md +179 -0
  3. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/PKG-INFO +20 -14
  4. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/README.md +19 -13
  5. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/alpha-release-contract.md +41 -17
  6. bloom_launch-0.2.1/docs/code-harness-compatibility/codex-0.167.2.md +122 -0
  7. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/connections.md +10 -3
  8. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/development.md +16 -2
  9. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/headless.md +1 -1
  10. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/installation.md +11 -9
  11. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/quick-launch.md +6 -3
  12. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/releasing.md +61 -24
  13. bloom_launch-0.2.1/docs/superpowers/plans/2026-11-12-agent-id-default.md +37 -0
  14. bloom_launch-0.2.1/docs/superpowers/plans/2026-11-12-codex-launch-spike.md +160 -0
  15. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/pyproject.toml +1 -1
  16. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/scripts/check_artifacts.py +1 -1
  17. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/scripts/verify_release_candidate.py +2 -2
  18. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/cli.py +19 -1
  19. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/contract.py +5 -1
  20. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/discovery.py +4 -0
  21. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/launch.py +26 -3
  22. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/settings.py +2 -5
  23. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/urls.py +13 -4
  24. bloom_launch-0.2.1/src/bloom_cli/wrappers.py +315 -0
  25. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_artifacts.py +44 -2
  26. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_cli_forwarding.py +31 -0
  27. bloom_launch-0.2.1/tests/test_codex_compatibility.py +48 -0
  28. bloom_launch-0.2.1/tests/test_codex_launch.py +34 -0
  29. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_discovery_diagnostic.py +20 -0
  30. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_model_limits.py +8 -0
  31. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_release_workflow.py +123 -16
  32. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_thin_launch.py +53 -0
  33. bloom_launch-0.2.1/tests/test_urls.py +84 -0
  34. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_wrappers.py +147 -1
  35. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/uv.lock +1 -1
  36. bloom_launch-0.1.0a4/.github/workflows/release.yml +0 -92
  37. bloom_launch-0.1.0a4/CONTEXT.md +0 -26
  38. bloom_launch-0.1.0a4/src/bloom_cli/wrappers.py +0 -111
  39. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/.github/workflows/local-checks.yml +0 -0
  40. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/.gitignore +0 -0
  41. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/LICENSE +0 -0
  42. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/adapter-contract.md +0 -0
  43. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/adr/0001-authorization-is-not-qualification.md +0 -0
  44. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/adr/0002-persistent-native-profiles.md +0 -0
  45. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/adr/0003-credential-and-process-ownership.md +0 -0
  46. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/ci-efficiency-decisions.md +0 -0
  47. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/demo-goal.md +0 -0
  48. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/local-testing.md +0 -0
  49. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/models.md +0 -0
  50. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/multi-harness-engineering-requirements.md +0 -0
  51. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/opencode-bootstrap-compatibility.md +0 -0
  52. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/opencode-demo.md +0 -0
  53. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/qualification.md +0 -0
  54. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/plans/2026-11-04-ci-efficiency.md +0 -0
  55. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/plans/2026-11-04-coderabbit-followup.md +0 -0
  56. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/plans/2026-11-05-demo-goal.md +0 -0
  57. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/plans/2026-11-05-opencode-demo.md +0 -0
  58. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/plans/2026-11-11-agent-id.md +0 -0
  59. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/plans/2026-11-12-session-id.md +0 -0
  60. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/specs/2026-11-04-ci-efficiency-design.md +0 -0
  61. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/specs/2026-11-04-coderabbit-followup-design.md +0 -0
  62. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/specs/2026-11-05-demo-goal-design.md +0 -0
  63. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/docs/superpowers/specs/2026-11-05-opencode-demo-design.md +0 -0
  64. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/scripts/check_local_install.sh +0 -0
  65. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/scripts/diagnose_discovery.py +0 -0
  66. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/__init__.py +0 -0
  67. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/__main__.py +0 -0
  68. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/labels.py +0 -0
  69. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/model_metadata.py +0 -0
  70. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/process.py +0 -0
  71. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/src/bloom_cli/progress.py +0 -0
  72. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/conftest.py +0 -0
  73. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/installed_connection_probe.py +0 -0
  74. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/job_control.py +0 -0
  75. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/job_control_probe.py +0 -0
  76. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/native_smoke_support.py +0 -0
  77. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/pty_driver.py +0 -0
  78. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_ci_workflow.py +0 -0
  79. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_install_script.py +0 -0
  80. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_installed_launch.py +0 -0
  81. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_job_control.py +0 -0
  82. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_launch_progress.py +0 -0
  83. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_model_labels.py +0 -0
  84. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_model_metadata.py +0 -0
  85. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_native_smoke.py +0 -0
  86. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_process.py +0 -0
  87. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_progress.py +0 -0
  88. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/test_secret_validation.py +0 -0
  89. {bloom_launch-0.1.0a4 → bloom_launch-0.2.1}/tests/thin_job_control_probe.py +0 -0
@@ -0,0 +1,182 @@
1
+ name: Alpha candidate for manual PyPI release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ permissions:
7
+ contents: read
8
+
9
+ jobs:
10
+ candidate:
11
+ name: Linux pure-Python release candidate
12
+ runs-on: ubuntu-24.04
13
+ timeout-minutes: 20
14
+ env:
15
+ BLOOM_RUN_NATIVE_PROBES: '0'
16
+ PYTHON_KEYRING_BACKEND: keyring.backends.fail.Keyring
17
+ steps:
18
+ - &trusted_staging_gate
19
+ name: Require the protected trusted staging workflow
20
+ id: gate
21
+ shell: bash
22
+ env:
23
+ TRUSTED_WORKFLOW_SHA: ${{ github.workflow_sha }}
24
+ run: |
25
+ set -euo pipefail
26
+ if [[ "$GITHUB_REPOSITORY" != 'Bloom-Factory-Engineering/bloom-cli' ||
27
+ "$GITHUB_EVENT_NAME" != 'workflow_dispatch' ||
28
+ "$GITHUB_WORKFLOW_REF" != 'Bloom-Factory-Engineering/bloom-cli/.github/workflows/release.yml@refs/heads/staging' ||
29
+ "$GITHUB_REF" != 'refs/heads/staging' ||
30
+ "${GITHUB_REF_PROTECTED:-}" != 'true' ||
31
+ ! "$TRUSTED_WORKFLOW_SHA" =~ ^[0-9a-f]{40}$ ||
32
+ "$GITHUB_SHA" != "$TRUSTED_WORKFLOW_SHA" ]]; then
33
+ printf 'Release requires the protected trusted staging workflow.\n' >&2
34
+ exit 1
35
+ fi
36
+ - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
37
+ with:
38
+ ref: ${{ github.workflow_sha }}
39
+ persist-credentials: false
40
+ - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
41
+ with:
42
+ version: '0.11.15'
43
+ python-version: '3.12'
44
+ enable-cache: false
45
+ - name: Initialize isolated candidate directory environment
46
+ id: initialize
47
+ shell: bash
48
+ run: |
49
+ set -euo pipefail
50
+ printf 'CANDIDATE_DIR=%s/bloom-release-candidate\n' "$RUNNER_TEMP" >> "$GITHUB_ENV"
51
+ - name: Build and publicly check one candidate pair without private policy
52
+ id: build
53
+ shell: bash
54
+ run: |
55
+ set -euo pipefail
56
+ sha256sum uv.lock > "$RUNNER_TEMP/release-lock.sha256"
57
+ uv sync --locked --group dev
58
+ uv run --no-sync ruff check .
59
+ uv run --no-sync pytest -q
60
+ mkdir "$CANDIDATE_DIR"
61
+ uv build --no-create-gitignore --out-dir "$CANDIDATE_DIR/dist"
62
+ uv run --no-sync python scripts/check_artifacts.py --dist-dir "$CANDIDATE_DIR/dist"
63
+ sha256sum -c "$RUNNER_TEMP/release-lock.sha256"
64
+ uv --version
65
+ uv run --no-sync python --version
66
+ - name: Retain SHA256 receipt and source identity for approval
67
+ id: receipt
68
+ shell: bash
69
+ run: |
70
+ set -euo pipefail
71
+ python3 - <<'PY'
72
+ import hashlib
73
+ import json
74
+ import os
75
+ from pathlib import Path
76
+
77
+ root = Path(os.environ["CANDIDATE_DIR"])
78
+ dist = root / "dist"
79
+ names = {"bloom_launch-0.2.1-py3-none-any.whl", "bloom_launch-0.2.1.tar.gz"}
80
+ if (dist.is_symlink() or not dist.is_dir()
81
+ or {p.name for p in root.iterdir()} != {"dist"}
82
+ or {p.name for p in dist.iterdir()} != names
83
+ or any(p.is_symlink() or not p.is_file() for p in dist.iterdir())):
84
+ raise SystemExit("Invalid candidate inventory")
85
+ receipt = {
86
+ "source_sha": os.environ["GITHUB_SHA"],
87
+ "repository": os.environ["GITHUB_REPOSITORY"],
88
+ "run_id": os.environ["GITHUB_RUN_ID"],
89
+ "run_attempt": os.environ["GITHUB_RUN_ATTEMPT"],
90
+ "sha256": {name: hashlib.sha256((dist / name).read_bytes()).hexdigest()
91
+ for name in sorted(names)},
92
+ }
93
+ text = json.dumps(receipt, indent=2) + "\n"
94
+ (root / "manifest.json").write_text(text)
95
+ with open(os.environ["GITHUB_STEP_SUMMARY"], "a") as summary:
96
+ summary.write("## Unchecked candidate requiring private scan and exact-hash review\n\n```json\n" + text + "```\n")
97
+ summary.write("Review this run's hashes, exact-SHA Linux portable checks, private scan, "
98
+ "and separate authorized original-macOS-harness acceptance "
99
+ "before manual upload approval.\n")
100
+ PY
101
+ - name: Hand off unchecked distributions and receipt as data
102
+ id: upload
103
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
104
+ with:
105
+ name: unchecked-${{ github.workflow_sha }}-${{ github.run_attempt }}
106
+ path: ${{ env.CANDIDATE_DIR }}/
107
+ if-no-files-found: error
108
+ retention-days: 14
109
+
110
+ scanner:
111
+ name: Trusted private policy scan
112
+ needs: candidate
113
+ runs-on: ubuntu-24.04
114
+ timeout-minutes: 10
115
+ environment: release-policy
116
+ steps:
117
+ - *trusted_staging_gate
118
+ - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
119
+ with:
120
+ ref: ${{ github.workflow_sha }}
121
+ persist-credentials: false
122
+ path: trusted
123
+ - name: Download this run's unchecked candidate as data
124
+ id: download
125
+ uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
126
+ with:
127
+ name: unchecked-${{ github.workflow_sha }}-${{ github.run_attempt }}
128
+ path: ${{ runner.temp }}/bloom-release-candidate
129
+ - name: Verify the received inventory, hashes and run identity
130
+ id: verify
131
+ shell: bash
132
+ env:
133
+ TRUSTED_WORKFLOW_SHA: ${{ github.workflow_sha }}
134
+ run: |
135
+ set -euo pipefail
136
+ /usr/bin/python3 -I -S - <<'PY'
137
+ import hashlib
138
+ import json
139
+ import os
140
+ import runpy
141
+ from pathlib import Path
142
+
143
+ try:
144
+ trusted = Path(os.environ["GITHUB_WORKSPACE"]) / "trusted"
145
+ root = Path(os.environ["RUNNER_TEMP"]) / "bloom-release-candidate"
146
+ verifier = runpy.run_path(str(trusted / "scripts/verify_release_candidate.py"))
147
+ names = ("bloom_launch-0.2.1-py3-none-any.whl", "bloom_launch-0.2.1.tar.gz")
148
+ expected = {
149
+ "source_sha": os.environ["TRUSTED_WORKFLOW_SHA"],
150
+ "repository": os.environ["GITHUB_REPOSITORY"],
151
+ "run_id": os.environ["GITHUB_RUN_ID"],
152
+ "run_attempt": os.environ["GITHUB_RUN_ATTEMPT"],
153
+ "sha256": {name: hashlib.sha256((root / "dist" / name).read_bytes()).hexdigest()
154
+ for name in names},
155
+ }
156
+ verifier["verify"](root, expected)
157
+ except Exception:
158
+ raise SystemExit("Candidate handoff verification failed (details redacted).") from None
159
+ PY
160
+ - name: Scan distribution data with isolated trusted standard-library code
161
+ id: scan
162
+ shell: bash
163
+ env:
164
+ BLOOM_RELEASE_FORBIDDEN_TERMS: ${{ secrets.BLOOM_RELEASE_FORBIDDEN_TERMS }}
165
+ run: |
166
+ set -euo pipefail
167
+ /usr/bin/python3 -I -S "$GITHUB_WORKSPACE/trusted/scripts/check_artifacts.py" \
168
+ --dist-dir "$RUNNER_TEMP/bloom-release-candidate/dist" --require-branding-policy
169
+ - name: Retain the successful private scan result
170
+ id: receipt
171
+ shell: bash
172
+ run: |
173
+ set -euo pipefail
174
+ printf 'Private scan passed for the unchanged candidate receipt from this run. Manual exact-hash approval and separate upload authority remain required.\n' >> "$GITHUB_STEP_SUMMARY"
175
+ - name: Upload this run's checked candidate and unchanged receipt
176
+ id: upload
177
+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
178
+ with:
179
+ name: candidate-${{ github.workflow_sha }}-${{ github.run_attempt }}
180
+ path: ${{ runner.temp }}/bloom-release-candidate/
181
+ if-no-files-found: error
182
+ retention-days: 14
@@ -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.0a4
3
+ Version: 0.2.1
4
4
  Summary: Scoped launcher for native coding harnesses
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -15,34 +15,39 @@ 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.
19
- Your Coding Harness retains its normal settings, permissions, plugins, and history.
20
- Plain `claude` or `opencode` continues to use its normal connection.
18
+ Connect your installed Claude Code, Codex, or OpenCode to the Bloom gateway for one invocation.
19
+ Claude Code and OpenCode retain their normal settings, permissions, plugins, and history.
20
+ Codex uses a separate persistent Bloom-owned home at `$HOME/.config/bloom/codex` for its native state and project trust.
21
+ Plain `claude`, `codex`, or `opencode` continues to use its normal connection.
21
22
 
22
23
  ## Install
23
24
 
24
- Requirements: Python **3.12 or later**, plus Claude Code or OpenCode already installed and available on `PATH`.
25
+ Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, or OpenCode already installed and available on `PATH`.
25
26
  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/).
27
+ Codex has structural adapter evidence only. Live Bloom, tool/history, and full interactive qualification remain unrecorded.
28
+ The bundled Codex command does not establish a Qualified Harness Path or satisfy the release's native acceptance gate.
29
+ 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
30
 
28
- These instructions describe `0.1.0a4`; if not yet available on PyPI, collaborators can use a source checkout.
29
- The selected source version is `0.1.0a4`.
31
+ These instructions describe `0.2.1`; if not yet available on PyPI, collaborators can use a source checkout.
32
+ The selected source version is `0.2.1`.
30
33
 
31
34
  When available on PyPI, install this exact version with either tool:
32
35
 
33
36
  ```sh
34
- uv tool install --prerelease allow 'bloom-launch==0.1.0a4'
37
+ uv tool install 'bloom-launch==0.2.1'
35
38
  # Or:
36
- pipx install --pip-args=--pre 'bloom-launch==0.1.0a4'
39
+ pipx install 'bloom-launch==0.2.1'
37
40
  ```
38
41
 
39
42
  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.0a4` before running:
43
+ Use a checkout whose project metadata and lockfile both specify `0.2.1` before running:
41
44
 
42
45
  ```sh
43
46
  uv sync --locked --group dev
44
47
  uv run --no-sync bloom launch claude
45
48
  # Or:
49
+ uv run --no-sync bloom launch codex
50
+ # Or:
46
51
  uv run --no-sync bloom launch opencode
47
52
  ```
48
53
 
@@ -87,7 +92,7 @@ Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Clau
87
92
  | --- | --- |
88
93
  | `-h`, `--help` | Show global help or `launch` help. |
89
94
  | `--version` | Show the package version. Use before `launch`. |
90
- | `launch {claude,opencode}` | Select the installed Coding Harness. |
95
+ | `launch {claude,codex,opencode}` | Select the installed Coding Harness. |
91
96
  | `--config` | Replace the gateway vkey and the current harness's default model. |
92
97
  | `--model EXACT_GATEWAY_MODEL_ID` | Select an exact, full gateway model ID. |
93
98
  | `--base_url BASE_URL` | Select the gateway for this invocation. |
@@ -105,7 +110,7 @@ It uses an animated ASCII spinner on a TTY and a plain line otherwise.
105
110
  The indicator stops before the picker, native handoff, or error output, including cancellation.
106
111
  Ordinary launches use the cached vkey and the harness's saved model for direct native handoff without launcher HTTP or progress output.
107
112
  First setup, `--config`, and explicit `--model` perform discovery and access checks before handoff.
108
- Each normalized gateway shares one vkey across both harnesses. Each harness has a separate model default.
113
+ Each normalized gateway shares one vkey across all three harnesses. Each harness has a separate model default.
109
114
 
110
115
  `--config` prompts for a replacement vkey, displays model choices, and prompts for an agent ID.
111
116
  Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed.
@@ -126,7 +131,8 @@ URLs must not contain credentials, queries, or fragments.
126
131
  Bloom saves the vkey, agent ID, and harness defaults in the global `$HOME/.config/bloom/launcher.json` with owner-only permissions (`0600`).
127
132
  **This file contains a secret. Do not paste or share its contents.**
128
133
  Never put a vkey in command arguments, a URL, a project file, or an error report.
129
- When an agent ID exists, Bloom sends it as `X-Bloom-Agent-ID` through both Claude Code and OpenCode. Claude does not use a default `bloom-launch-claude` value.
134
+ When an agent ID exists, Bloom configures `X-Bloom-Agent-ID` for Claude Code, Codex, and OpenCode.
135
+ Claude does not use a default `bloom-launch-claude` value.
130
136
  The saved agent ID is shared across gateways and harnesses. A direct `--agent-id VALUE` override applies only to that launch and is not saved.
131
137
  `--session-id VALUE` is also transient and is forgotten when the harness exits. Bloom sends it as `X-Bloom-Session-ID`; omitting the flag sends no session header.
132
138
  Session IDs use the same printable-ASCII validation as agent IDs. Blank or invalid values are rejected.
@@ -1,33 +1,38 @@
1
1
  # Bloom Launch
2
2
 
3
- Connect your installed Claude Code or OpenCode to the Bloom gateway for one invocation.
4
- Your Coding Harness retains its normal settings, permissions, plugins, and history.
5
- Plain `claude` or `opencode` continues to use its normal connection.
3
+ Connect your installed Claude Code, Codex, or OpenCode to the Bloom gateway for one invocation.
4
+ Claude Code and OpenCode retain their normal settings, permissions, plugins, and history.
5
+ Codex uses a separate persistent Bloom-owned home at `$HOME/.config/bloom/codex` for its native state and project trust.
6
+ Plain `claude`, `codex`, or `opencode` continues to use its normal connection.
6
7
 
7
8
  ## Install
8
9
 
9
- Requirements: Python **3.12 or later**, plus Claude Code or OpenCode already installed and available on `PATH`.
10
+ Requirements: Python **3.12 or later**, plus Claude Code, Codex CLI `0.167.2`, or OpenCode already installed and available on `PATH`.
10
11
  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/).
12
+ Codex has structural adapter evidence only. Live Bloom, tool/history, and full interactive qualification remain unrecorded.
13
+ The bundled Codex command does not establish a Qualified Harness Path or satisfy the release's native acceptance gate.
14
+ 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
15
 
13
- These instructions describe `0.1.0a4`; if not yet available on PyPI, collaborators can use a source checkout.
14
- The selected source version is `0.1.0a4`.
16
+ These instructions describe `0.2.1`; if not yet available on PyPI, collaborators can use a source checkout.
17
+ The selected source version is `0.2.1`.
15
18
 
16
19
  When available on PyPI, install this exact version with either tool:
17
20
 
18
21
  ```sh
19
- uv tool install --prerelease allow 'bloom-launch==0.1.0a4'
22
+ uv tool install 'bloom-launch==0.2.1'
20
23
  # Or:
21
- pipx install --pip-args=--pre 'bloom-launch==0.1.0a4'
24
+ pipx install 'bloom-launch==0.2.1'
22
25
  ```
23
26
 
24
27
  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.0a4` before running:
28
+ Use a checkout whose project metadata and lockfile both specify `0.2.1` before running:
26
29
 
27
30
  ```sh
28
31
  uv sync --locked --group dev
29
32
  uv run --no-sync bloom launch claude
30
33
  # Or:
34
+ uv run --no-sync bloom launch codex
35
+ # Or:
31
36
  uv run --no-sync bloom launch opencode
32
37
  ```
33
38
 
@@ -72,7 +77,7 @@ Bloom keeps `--model` for its own gateway model selection. Bloom also keeps Clau
72
77
  | --- | --- |
73
78
  | `-h`, `--help` | Show global help or `launch` help. |
74
79
  | `--version` | Show the package version. Use before `launch`. |
75
- | `launch {claude,opencode}` | Select the installed Coding Harness. |
80
+ | `launch {claude,codex,opencode}` | Select the installed Coding Harness. |
76
81
  | `--config` | Replace the gateway vkey and the current harness's default model. |
77
82
  | `--model EXACT_GATEWAY_MODEL_ID` | Select an exact, full gateway model ID. |
78
83
  | `--base_url BASE_URL` | Select the gateway for this invocation. |
@@ -90,7 +95,7 @@ It uses an animated ASCII spinner on a TTY and a plain line otherwise.
90
95
  The indicator stops before the picker, native handoff, or error output, including cancellation.
91
96
  Ordinary launches use the cached vkey and the harness's saved model for direct native handoff without launcher HTTP or progress output.
92
97
  First setup, `--config`, and explicit `--model` perform discovery and access checks before handoff.
93
- Each normalized gateway shares one vkey across both harnesses. Each harness has a separate model default.
98
+ Each normalized gateway shares one vkey across all three harnesses. Each harness has a separate model default.
94
99
 
95
100
  `--config` prompts for a replacement vkey, displays model choices, and prompts for an agent ID.
96
101
  Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed.
@@ -111,7 +116,8 @@ URLs must not contain credentials, queries, or fragments.
111
116
  Bloom saves the vkey, agent ID, and harness defaults in the global `$HOME/.config/bloom/launcher.json` with owner-only permissions (`0600`).
112
117
  **This file contains a secret. Do not paste or share its contents.**
113
118
  Never put a vkey in command arguments, a URL, a project file, or an error report.
114
- When an agent ID exists, Bloom sends it as `X-Bloom-Agent-ID` through both Claude Code and OpenCode. Claude does not use a default `bloom-launch-claude` value.
119
+ When an agent ID exists, Bloom configures `X-Bloom-Agent-ID` for Claude Code, Codex, and OpenCode.
120
+ Claude does not use a default `bloom-launch-claude` value.
115
121
  The saved agent ID is shared across gateways and harnesses. A direct `--agent-id VALUE` override applies only to that launch and is not saved.
116
122
  `--session-id VALUE` is also transient and is forgotten when the harness exits. Bloom sends it as `X-Bloom-Session-ID`; omitting the flag sends no session header.
117
123
  Session IDs use the same printable-ASCII validation as agent IDs. Blank or invalid values are rejected.