Skip to content

Commit ad50689

Browse files
committed
feat: audit codex session visibility
1 parent ff9b2df commit ad50689

20 files changed

Lines changed: 1097 additions & 402 deletions

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ The first release focuses on safe local writes: every apply/install operation cr
1717
- React frontend built with `@haloforge/plugin-sdk` `0.2.13`
1818
- Claude Code provider writes with `ANTHROPIC_BASE_URL`, token, and model env vars
1919
- Optional Claude `primaryApiKey` and onboarding flags used by switch workflows
20-
- Codex provider writes that preserve existing `config.toml` sections such as `[mcp_servers]` and `[profiles]`
21-
- Stable Codex `model_provider = "haloforge_gateway"` by default, so session history does not move between provider buckets
20+
- Codex provider writes that preserve existing `config.toml` sections such as `[mcp_servers]` and legacy `[profiles]`
21+
- Official Codex `model_provider = "openai"` by default with `openai_base_url`, matching current Codex config guidance for routing the built-in provider through a proxy or gateway
22+
- Codex session visibility audit for provider/account switches, including rollout JSONL provider buckets and Desktop `state_*.sqlite` thread metadata
23+
- Backup-first Codex session metadata repair that retags hidden active sessions and Desktop thread rows to the current provider
2224
- Optional model discovery from an OpenAI-compatible `/models` path
2325
- MCP install for `stdio`, `http`, and `sse` specs
2426
- Codex MCP header alias handling: `headers` and `http_headers`
2527
- Cleanup for legacy Codex `[mcp.servers]` when installing into `[mcp_servers]`
2628
- Cleanup for the old Codex provider entry when applying the current default provider id
27-
- Built-in Codex SQLite feedback log fix that checks and installs a `block_log_inserts` trigger in `logs_2.sqlite`
2829
- Backups and restore for every changed config file
2930
- Windows MCP stdio wrapper for `npx`, `npm`, `yarn`, `pnpm`, `node`, `bun`, and `deno`
3031
- Manifest `window` policy for reusing the existing Provider Router module when import deep links arrive
@@ -40,7 +41,7 @@ The source keeps platform-aware paths for macOS and Windows, but the current Git
4041

4142
## Scope
4243

43-
The implementation covers Claude Code env config, Codex provider/auth files, MCP config paths, Windows stdio command wrapping, backup-first writes, stable Codex provider IDs, and OpenAI-compatible provider fields.
44+
The implementation covers Claude Code env config, Codex provider/auth files, MCP config paths, Windows stdio command wrapping, backup-first writes, Codex session visibility repair, and OpenAI-compatible provider fields.
4445

4546
The following are intentionally not in the first release:
4647

@@ -50,6 +51,7 @@ The following are intentionally not in the first release:
5051
- Additional client targets such as Gemini, OpenCode, OpenClaw, Hermes, and Claude Desktop
5152
- Custom config directory overrides
5253
- Prompt and skill installers
54+
- Direct SQLite log write blocking; recent Codex builds have retention/checkpoint behavior, so Switchboard no longer mutates Codex log databases
5355

5456
## Development
5557

@@ -85,7 +87,7 @@ Install the packaged plugin into a local HaloForge workspace with the `hf` CLI:
8587

8688
```bash
8789
cd /path/to/HaloForge
88-
npm run hf -- plugin install local /path/to/hf-plugin-switchboard/dist/package/dev.haloforge.switchboard-0.1.12.hfpkg --json
90+
npm run hf -- plugin install local /path/to/hf-plugin-switchboard/dist/package/dev.haloforge.switchboard-0.1.13.hfpkg --json
8991
npm run hf -- plugin list --json
9092
```
9193

backend/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hf-plugin-switchboard"
3-
version = "0.1.12"
3+
version = "0.1.13"
44
edition = "2021"
55
description = "HaloForge Switchboard plugin backend"
66
license = "MIT"

backend/src/codex_fixes.rs

Lines changed: 0 additions & 206 deletions
This file was deleted.

0 commit comments

Comments
 (0)