firstchair 0.1.0a3__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 (67) hide show
  1. firstchair-0.1.0a3/LICENSE +21 -0
  2. firstchair-0.1.0a3/PKG-INFO +371 -0
  3. firstchair-0.1.0a3/README.md +345 -0
  4. firstchair-0.1.0a3/pyproject.toml +43 -0
  5. firstchair-0.1.0a3/setup.cfg +4 -0
  6. firstchair-0.1.0a3/setup.py +29 -0
  7. firstchair-0.1.0a3/src/firstchair/__init__.py +40 -0
  8. firstchair-0.1.0a3/src/firstchair/__main__.py +3 -0
  9. firstchair-0.1.0a3/src/firstchair/accounts.py +239 -0
  10. firstchair-0.1.0a3/src/firstchair/claude_json.py +78 -0
  11. firstchair-0.1.0a3/src/firstchair/cli.py +544 -0
  12. firstchair-0.1.0a3/src/firstchair/codex_jsonl.py +80 -0
  13. firstchair-0.1.0a3/src/firstchair/conductor.py +799 -0
  14. firstchair-0.1.0a3/src/firstchair/config.py +23 -0
  15. firstchair-0.1.0a3/src/firstchair/cswap.py +290 -0
  16. firstchair-0.1.0a3/src/firstchair/delegation.py +1250 -0
  17. firstchair-0.1.0a3/src/firstchair/fallback.py +12 -0
  18. firstchair-0.1.0a3/src/firstchair/grok_jsonl.py +86 -0
  19. firstchair-0.1.0a3/src/firstchair/handoff.py +29 -0
  20. firstchair-0.1.0a3/src/firstchair/inventory.py +40 -0
  21. firstchair-0.1.0a3/src/firstchair/live.py +525 -0
  22. firstchair-0.1.0a3/src/firstchair/parallel.py +53 -0
  23. firstchair-0.1.0a3/src/firstchair/provider.py +263 -0
  24. firstchair-0.1.0a3/src/firstchair/quota.py +271 -0
  25. firstchair-0.1.0a3/src/firstchair/redaction.py +50 -0
  26. firstchair-0.1.0a3/src/firstchair/release_tag.py +102 -0
  27. firstchair-0.1.0a3/src/firstchair/rotation.py +346 -0
  28. firstchair-0.1.0a3/src/firstchair/sessions.py +40 -0
  29. firstchair-0.1.0a3/src/firstchair/state_listing.py +56 -0
  30. firstchair-0.1.0a3/src/firstchair/strict_json.py +20 -0
  31. firstchair-0.1.0a3/src/firstchair/synthetic.py +49 -0
  32. firstchair-0.1.0a3/src/firstchair/usage.py +50 -0
  33. firstchair-0.1.0a3/src/firstchair/versions.py +42 -0
  34. firstchair-0.1.0a3/src/firstchair/workflow.py +269 -0
  35. firstchair-0.1.0a3/src/firstchair.egg-info/PKG-INFO +371 -0
  36. firstchair-0.1.0a3/src/firstchair.egg-info/SOURCES.txt +65 -0
  37. firstchair-0.1.0a3/src/firstchair.egg-info/dependency_links.txt +1 -0
  38. firstchair-0.1.0a3/src/firstchair.egg-info/entry_points.txt +3 -0
  39. firstchair-0.1.0a3/src/firstchair.egg-info/top_level.txt +1 -0
  40. firstchair-0.1.0a3/tests/test_accounts.py +86 -0
  41. firstchair-0.1.0a3/tests/test_agent_policy.py +46 -0
  42. firstchair-0.1.0a3/tests/test_budget.py +92 -0
  43. firstchair-0.1.0a3/tests/test_claude_json.py +104 -0
  44. firstchair-0.1.0a3/tests/test_codex_jsonl.py +131 -0
  45. firstchair-0.1.0a3/tests/test_conductor.py +959 -0
  46. firstchair-0.1.0a3/tests/test_config.py +60 -0
  47. firstchair-0.1.0a3/tests/test_cswap.py +225 -0
  48. firstchair-0.1.0a3/tests/test_delegate.py +683 -0
  49. firstchair-0.1.0a3/tests/test_doctor_parallel.py +112 -0
  50. firstchair-0.1.0a3/tests/test_fallback.py +21 -0
  51. firstchair-0.1.0a3/tests/test_grok_jsonl.py +141 -0
  52. firstchair-0.1.0a3/tests/test_inventory.py +67 -0
  53. firstchair-0.1.0a3/tests/test_live.py +586 -0
  54. firstchair-0.1.0a3/tests/test_live_review_fixes.py +101 -0
  55. firstchair-0.1.0a3/tests/test_orphan.py +90 -0
  56. firstchair-0.1.0a3/tests/test_parallel.py +240 -0
  57. firstchair-0.1.0a3/tests/test_provider.py +144 -0
  58. firstchair-0.1.0a3/tests/test_redaction.py +95 -0
  59. firstchair-0.1.0a3/tests/test_release_tag.py +141 -0
  60. firstchair-0.1.0a3/tests/test_rename_compat.py +85 -0
  61. firstchair-0.1.0a3/tests/test_rotation.py +375 -0
  62. firstchair-0.1.0a3/tests/test_state_listing.py +78 -0
  63. firstchair-0.1.0a3/tests/test_subprocess_env.py +105 -0
  64. firstchair-0.1.0a3/tests/test_usage.py +67 -0
  65. firstchair-0.1.0a3/tests/test_versions.py +48 -0
  66. firstchair-0.1.0a3/tests/test_workflow.py +271 -0
  67. firstchair-0.1.0a3/tests/test_workspace.py +64 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Firstchair contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,371 @@
1
+ Metadata-Version: 2.4
2
+ Name: firstchair
3
+ Version: 0.1.0a3
4
+ Summary: Local-first CLI that makes Codex, Claude Code and Grok review each other's work
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/GrayManSam/firstchair
7
+ Project-URL: Documentation, https://github.com/GrayManSam/firstchair/blob/main/docs/orchestration.md
8
+ Project-URL: Changelog, https://github.com/GrayManSam/firstchair/blob/main/CHANGELOG.md
9
+ Project-URL: Issues, https://github.com/GrayManSam/firstchair/issues
10
+ Keywords: ai-coding,coding-agents,multi-agent,code-review,cli,local-first,codex,claude-code,grok,orchestration
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Topic :: Software Development
21
+ Classifier: Topic :: Software Development :: Quality Assurance
22
+ Requires-Python: >=3.12
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Dynamic: license-file
26
+
27
+ # Firstchair
28
+
29
+ **Make Codex, Claude Code and Grok check each other's work.**
30
+
31
+ Firstchair is a local-first command-line tool for people who already use
32
+ more than one AI coding assistant. One model leads. A second model reviews
33
+ its plan. The lead then writes the final answer with that review in hand.
34
+ Firstchair drives Codex CLI, Claude Code and Grok Build through their own
35
+ headless modes and your existing sign-ins, runs them read-only, and keeps
36
+ a record of every run on your machine.
37
+
38
+ ```sh
39
+ firstchair run --provider codex --reviewer claude --workspace . --format text \
40
+ "Find the riskiest error handling in src/ and propose fixes"
41
+ ```
42
+
43
+ ## Why use it
44
+
45
+ - **A second opinion on every answer.** A different model reviews the plan
46
+ before the final answer is written.
47
+ - **Your tools, your logins.** No new service and no API keys. Each
48
+ assistant uses its own native sign-in.
49
+ - **Read-only by default.** `firstchair run` cannot edit your files or call
50
+ your MCP servers.
51
+ - **Keeps going when a provider runs out of usage.** The run moves to the
52
+ next provider or account you named and keeps the finished stages.
53
+ - **Switches accounts on real usage.** Firstchair reads the percent used
54
+ from Codex and Claude Code and moves to the account with the most room
55
+ before a limit is hit.
56
+ - **Everything stays local.** Run records live on your machine, with
57
+ secret environment values redacted.
58
+ - **Multi-agent development for maintainers.** `firstchair conduct` runs
59
+ several workers in isolated Git worktrees, with cancel and resume.
60
+
61
+ Firstchair is alpha software (`0.1.0a3`). Interfaces can change before 1.0.
62
+
63
+ ## Contents
64
+
65
+ - [Quick start](#quick-start)
66
+ - [How a run works](#how-a-run-works)
67
+ - [When a provider runs out of usage](#when-a-provider-runs-out-of-usage)
68
+ - [Safety and privacy](#safety-and-privacy)
69
+ - [Session IDs](#session-ids)
70
+ - [Multi-agent development](#multi-agent-development)
71
+ - [Offline demo](#offline-demo)
72
+ - [Project status](#project-status)
73
+
74
+ ## Quick start
75
+
76
+ You need Python 3.12 or later and at least one of Codex CLI, Claude Code or
77
+ Grok Build, installed and signed in.
78
+
79
+ ```sh
80
+ pipx install git+https://github.com/GrayManSam/firstchair # or: pip install -e . from a checkout
81
+ firstchair doctor
82
+ firstchair run --provider codex --format text "Explain what this project's tests cover"
83
+ firstchair runs
84
+ firstchair status <run-id>
85
+ ```
86
+
87
+ `doctor` finds the Codex, Claude Code and Grok executables on PATH, runs
88
+ each one's `--version`, and reports whether that version is verified,
89
+ compatible or unsupported. `doctor --offline` only searches PATH.
90
+
91
+ No assistant installed yet? Try the [offline demo](#offline-demo).
92
+
93
+ ## How a run works
94
+
95
+ `firstchair run --provider PROVIDER TASK` runs three stages:
96
+
97
+ 1. **Plan.** The lead provider plans the task.
98
+ 2. **Review.** The reviewer critiques the plan. It defaults to the lead.
99
+ Pass `--reviewer` to get a second model's opinion.
100
+ 3. **Synthesize.** The lead writes the final answer from its plan and the
101
+ review.
102
+
103
+ | Option | Effect |
104
+ | --- | --- |
105
+ | `--reviewer codex\|claude\|grok` | Provider for the review stage |
106
+ | `--fallback PROVIDER[:PROFILE]` | Extra provider, or a second named account, used when an earlier one is out of usage. Repeat once for a third |
107
+ | `--workspace DIR` | Directory providers may read. Without it they run in an empty temporary directory |
108
+ | `--profile NAME`, `--reviewer-profile NAME` | Use a named sign-in from `firstchair auth login` |
109
+ | `--timeout SECONDS` | Per-stage limit (default 600) |
110
+ | `--total-timeout SECONDS` | Budget across all stages |
111
+ | `--format text` | Print the plan, review and result instead of the JSON record |
112
+ | `--dry-run` | Show roles, versions and limits without starting a model |
113
+ | `TASK` = `-` | Read the task from stdin |
114
+
115
+ Each run record keeps every stage's text, provider version and token usage.
116
+ Usage is `measured` when the provider reports counts, `partial` when only
117
+ some stages did, and `unknown` otherwise. Token counts are not a bill.
118
+ Unknown provider versions are refused before a run starts.
119
+
120
+ ## When a provider runs out of usage
121
+
122
+ A named provider that is out of usage (`rate_limited`), unavailable, or
123
+ timed out is skipped. Firstchair keeps the stages already finished and
124
+ gives the rest of the run to the next seat you named, so two providers can
125
+ become one and still finish. A login or authorization failure stops the run
126
+ instead of switching.
127
+
128
+ A seat is one provider under one sign-in. That means a second account of
129
+ the same provider is its own seat and can take over:
130
+
131
+ ```sh
132
+ firstchair auth login claude work
133
+ firstchair auth login claude personal
134
+ firstchair run --provider claude --profile work --fallback claude:personal \
135
+ --fallback codex "Review the parser"
136
+ ```
137
+
138
+ Firstchair only uses accounts you signed in and named yourself. Check that
139
+ your provider's terms allow the way you use more than one account.
140
+
141
+ ### Rotate across many accounts
142
+
143
+ With `--rotate-accounts`, every named sign-in of the providers in the run
144
+ joins a pool, up to 100 accounts. Before each stage Firstchair reads each
145
+ account's real remaining usage, picks the account with the most room, and
146
+ moves on before a provider refuses the work.
147
+
148
+ ```sh
149
+ firstchair run --provider codex --reviewer claude --rotate-accounts "Review the parser"
150
+ firstchair auth usage --refresh
151
+ ```
152
+
153
+ Where the real numbers come from:
154
+
155
+ | Provider | Real usage | How it is read |
156
+ | --- | --- | --- |
157
+ | Codex CLI | Percent used and reset time of the 5-hour and weekly windows | `codex app-server`, request `account/rateLimits/read`. No prompt is sent |
158
+ | Claude Code | Utilization and reset time of the 5-hour and 7-day windows | The `rate_limit_event` Claude Code prints in `stream-json` mode. One short fixed prompt per reading, kept for 15 minutes |
159
+ | Grok Build | Not available | `grok usage` only works inside an interactive Grok session. Firstchair counts its own calls and reacts to refusals |
160
+
161
+ Firstchair asks the signed-in CLI. It does not open a credential file or
162
+ call a provider's web API itself.
163
+
164
+ `firstchair delegate run --rotate-accounts` and `firstchair conduct run
165
+ --rotate-accounts` pick each worker's account the same way, from the
166
+ provider's default sign-in and its named ones.
167
+
168
+ | Option | Effect |
169
+ | --- | --- |
170
+ | `--account-switch-percent N` | Move off an account when a real usage window reaches N percent (default 90) |
171
+ | `--account-token-limit N` | Also move off after N tokens sent by Firstchair in the window |
172
+ | `--account-call-limit N` | Also move off after N stages in the window. Use it for Grok |
173
+ | `--account-window SECONDS` | How far back the two counted limits look (default 18000, five hours) |
174
+ | `--account-cooldown SECONDS` | How long an account rests after a usage failure with no reset time (default 3600) |
175
+
176
+ How an account is chosen for a stage:
177
+
178
+ 1. An account is skipped while the provider reports a window full or
179
+ refuses it, and while it rests after a usage failure.
180
+ 2. Accounts under the switch point come before accounts at or past it. An
181
+ account past it still runs the stage when it is all that is left.
182
+ 3. Accounts of the provider that holds the role come first.
183
+ 4. The account the run is already using stays while it is under the
184
+ switch point.
185
+ 5. Otherwise the account with the lowest real percent used goes first.
186
+
187
+ Readings, counts and rests are kept in one ledger for your user, shared by
188
+ every checkout. It holds no task text and no account identifier beyond the
189
+ profile name you chose. Each run record lists the accounts considered for
190
+ every stage, their usage, and which one was picked. `firstchair auth usage`
191
+ shows the ledger, and `firstchair auth clear-cooldown [ACCOUNT ...]` ends a
192
+ rest early.
193
+
194
+ `firstchair resume RUN_ID` continues an interrupted run, or a run that
195
+ stopped because every named seat was out of usage, from the last finished
196
+ stage. A resumed run keeps the same lead and reviewer.
197
+
198
+ - Add `--provider` or `--fallback` on resume to hand the rest to a seat
199
+ that still has usage.
200
+ - Add `--retry-exhausted` to try the skipped seats again, for example
201
+ after a limit resets.
202
+
203
+ ### Use claude-swap accounts
204
+
205
+ If you keep several Claude logins in [claude-swap](https://github.com/realiti4/claude-swap)
206
+ (1.2.0 or later), set `FIRSTCHAIR_CSWAP=1` and each cswap slot becomes a
207
+ Claude profile named `cswap-N`. No separate `firstchair auth login` is
208
+ needed, and reading their usage sends no prompt.
209
+
210
+ ```sh
211
+ export FIRSTCHAIR_CSWAP=1
212
+ firstchair run --provider claude --profile cswap-2 --fallback claude:cswap-3 "Review the parser"
213
+ firstchair delegate run claude --rotate-accounts "Review the parser tests"
214
+ ```
215
+
216
+ Details are in [provider contracts](docs/provider-contracts.md#claude-swap-bridge).
217
+ ## Safety and privacy
218
+
219
+ - **Read-only providers.** Codex uses its `read-only` sandbox. Claude Code
220
+ gets only `Read`, `Grep` and `Glob`. Grok Build gets only `read_file`,
221
+ `list_dir` and `grep` with deny-by-default permissions.
222
+ - **No MCP servers.** They are switched off for all three during a run.
223
+ - **No API keys passed along.** Provider processes receive an allowlisted
224
+ environment, so each one uses its own native sign-in.
225
+ - **Clean stops.** On timeout or Ctrl-C the provider's whole process group
226
+ is killed and the run is recorded as failed or interrupted.
227
+ - **Local records.** Run records can contain your task and result. They
228
+ live in the ignored `.firstchair/` directory by default. Use
229
+ `firstchair --state-dir PATH` to choose another location. Before a record
230
+ is stored, secret environment values of at least 12 characters are
231
+ replaced with `[redacted]`.
232
+
233
+ Report security problems through the [security policy](SECURITY.md).
234
+
235
+ ## Session IDs
236
+
237
+ Several sessions can share one checkout. Each run, score and delegate job
238
+ records the session that started it, so one session does not resume,
239
+ cancel or finish another session's work by mistake.
240
+
241
+ ```sh
242
+ firstchair --session review-a run --provider codex "Review the parser"
243
+ firstchair --session review-a resume <run-id>
244
+ ```
245
+
246
+ Pass `--session ID` before the command or set `FIRSTCHAIR_SESSION`. When
247
+ neither is set, a command that starts work makes an ID and prints it.
248
+ `resume` and `recover` are refused from a different session. `status` and
249
+ `runs` work from any session and show the owner. The ID prevents mix-ups.
250
+ It is not a secret and does not control access.
251
+
252
+ ## Multi-agent development
253
+
254
+ Maintainers can lead development from Claude Code, Codex, or Grok Build.
255
+ The primary seat is the conductor.
256
+
257
+ - `firstchair conduct` runs a score of up to eight parts. It can start the
258
+ lead's own provider and the other two, run up to four parts at once,
259
+ pass one part's reply to a follow-up part, and be cancelled or resumed.
260
+ - `firstchair delegate` runs one bounded task.
261
+
262
+ Each worker gets a Git worktree outside the checkout. Read tasks use a
263
+ disposable worktree. Write tasks keep branch `delegate/NAME` for review.
264
+ Workers do not commit. The lead reviews and integrates.
265
+
266
+ ```sh
267
+ firstchair delegate run auto --lead codex --dry-run
268
+ firstchair delegate run auto --lead codex --name parser-review "Review the parser tests"
269
+ firstchair conduct plan --lead grok --score score.json
270
+ firstchair conduct run --lead grok --name rehearsal --score score.json --limit 2
271
+ firstchair conduct status rehearsal
272
+ firstchair delegate list
273
+ ```
274
+
275
+ Unlike `firstchair run`, write-mode delegation lets a worker edit files
276
+ inside its worktree. A Grok write worker can also run terminal commands
277
+ with network access, so it is refused unless you pass `--allow-grok-write`.
278
+ Delegation uses your existing provider logins and quota. See
279
+ [the orchestration guide](docs/orchestration.md) for scores, cancel,
280
+ resume, sessions and account selection.
281
+
282
+ Use `firstchair auth login PROVIDER PROFILE` to sign in through the provider
283
+ CLI, and `firstchair auth list` to see local aliases.
284
+
285
+ Grok loads `AGENTS.md` and `.grok/` only in a trusted folder. Run
286
+ `grok --trust` once in the checkout. Worktrees of a trusted checkout
287
+ inherit it. Grok discovers agents under `.grok/`, the `firstchair` plugin,
288
+ and that plugin's `provider-fixture` skill. Those files stay in the
289
+ repository for offline fixture and parser work.
290
+
291
+ ## Offline demo
292
+
293
+ The demo and bundled synthetic provider need no sign-in:
294
+
295
+ ```sh
296
+ firstchair run --demo "Review the project's build instructions"
297
+ ```
298
+
299
+ Run records can contain your task and result. Before a
300
+ record is stored, secret environment values of at least 12 characters are
301
+ replaced with `[redacted]`. Provider subprocesses receive an allowlisted
302
+ environment and do not inherit API keys. Records live in the ignored
303
+ `.firstchair/` directory by default. Use `firstchair --state-dir PATH`
304
+ to select another location.
305
+
306
+ The bundled synthetic subprocess adapter simulates a read-only handoff. Run
307
+ it by explicitly choosing `--provider synthetic` and passing a task. On success,
308
+ the run record includes the worker's structured review and the synthesis
309
+ result. Offline runs record token usage as unknown with null counts.
310
+
311
+ ```sh
312
+ firstchair run --provider synthetic --dry-run --timeout 5 --total-timeout 10 "Review the build"
313
+ firstchair run --provider synthetic --timeout 5 --total-timeout 10 "Review the build"
314
+ ```
315
+
316
+ `--dry-run` explains provider selection and shows the stage limits without
317
+ starting workers or creating a run record. For `--provider synthetic` it
318
+ also reports `"workspace": "temporary"`: each stage runs in a controller
319
+ temporary directory. `--max-input-bytes` applies to each
320
+ UTF-8 JSON request, including the envelope. Oversized requests fail with
321
+ `input_limit` before worker startup. Each worker also has a stdout byte limit
322
+ and a timeout. `--total-timeout` sets a shared budget across stages and reports
323
+ `budget_exhausted` when it expires. Cleanup can add time before the command
324
+ returns.
325
+
326
+ Pass `--config limits.toml` to reuse synthetic limits. Explicit flags take
327
+ precedence over the file, and omitted values use the bundled defaults. Select
328
+ the run mode on the command line.
329
+
330
+ ```toml
331
+ [synthetic]
332
+ timeout = 5
333
+ total_timeout = 10
334
+ max_input_bytes = 65536
335
+ max_output_bytes = 65536
336
+ ```
337
+
338
+ Use `firstchair runs` to find saved runs by ID, status, and stage. On POSIX,
339
+ `firstchair recover <run-id>` marks an abandoned run as interrupted once the
340
+ controller releases its run lock. Recovery updates the record only.
341
+ It requires a lock file created by the original run. Keep each run's
342
+ `.lock` file alongside its JSON record. A lifetime pipe stops bundled POSIX
343
+ workers when their controller dies.
344
+
345
+ A live provider that is killed with SIGKILL together with its controller is
346
+ not stopped by the lifetime pipe. Use `firstchair recover` to mark that run.
347
+
348
+ ## Project status
349
+
350
+ Firstchair is in alpha. See [the roadmap](ROADMAP.md) for the alpha, beta
351
+ and release gates, [the to-do list](TODO.md) for the next slice, and
352
+ [the changelog](CHANGELOG.md) for what changed.
353
+
354
+ CI is configured for Ubuntu 24.04 with Python 3.12–3.14 and macOS with Python
355
+ 3.12. The release workflow installs the wheel on Ubuntu with Python 3.12
356
+ and compares a completed synthetic workflow with its saved status. A public
357
+ release is an annotated tag named `v` plus the package version. The workflow
358
+ publishes that changelog section and rejects every other tag.
359
+
360
+ Run the tests with `PYTHONPATH=src python -m unittest discover -s tests -v`.
361
+ Contributions are welcome. Start with [CONTRIBUTING.md](CONTRIBUTING.md).
362
+
363
+ Formerly TriadMux. The `triadmux` command still works for one release and
364
+ prints a notice. An existing `.triadmux/` state directory is read when
365
+ `.firstchair/` does not exist.
366
+
367
+ Firstchair is independently maintained and released under the
368
+ [MIT license](LICENSE). It is not affiliated with OpenAI, Anthropic or xAI.
369
+ See the [provider contract inventory](docs/provider-contracts.md) for the
370
+ exact commands each adapter runs and the [upstream review](docs/upstream-review.md)
371
+ for prior art.