fix(sidecar): protocol 13 — a configuration write no longer waits for its reload (F9) #18

Merged
whitlocktech merged 1 commits from fix/protocol-13-config-reload into edge 2026-09-26 22:29:29 +00:00
Member

The sidecar half of protocol 13's first piece (PLAN_FIXES.md F9, D177; spec docs#286 §19.2). Pairs with Rust-Plugins#16.

edge was re-created from main (it had been deleted after the phase-18 cutover).

  • PROTOCOL_VERSION is 13, and there's a new # Protocol 13 section in main.rs.
  • No routing change. The plugin's new config.outcome is an event, so Filing::of already stores and feeds it.
  • Removed CONFIG_RELOAD_WINDOW and a_rollback_fits_inside_the_rpc_budget. That arithmetic existed because the reply waited for the reload, and it doesn't any more.
  • The /config/write 504 body drops reloadWindowSeconds. Module-Rust never read it. The comment no longer points at a rollback in progress.

Checks: cargo fmt --check and cargo clippy --all-targets -D warnings are clean, and cargo test passes 65/65.

  • AI-assisted: Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

The sidecar half of protocol 13's first piece (`PLAN_FIXES.md` F9, D177; spec docs#286 §19.2). Pairs with Rust-Plugins#16. **`edge` was re-created from `main`** (it had been deleted after the phase-18 cutover). - `PROTOCOL_VERSION` is **13**, and there's a new `# Protocol 13` section in `main.rs`. - **No routing change.** The plugin's new `config.outcome` is an `event`, so `Filing::of` already stores and feeds it. - Removed `CONFIG_RELOAD_WINDOW` and `a_rollback_fits_inside_the_rpc_budget`. That arithmetic existed because the reply waited for the reload, and it doesn't any more. - The `/config/write` `504` body drops `reloadWindowSeconds`. Module-Rust never read it. The comment no longer points at a rollback in progress. **Checks:** `cargo fmt --check` and `cargo clippy --all-targets -D warnings` are clean, and `cargo test` passes 65/65. - [x] AI-assisted: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-09-26 22:20:26 +00:00
fix(sidecar): protocol 13 — a configuration write no longer waits for its reload (F9)
All checks were successful
PR Checks / rust-gates (pull_request) Successful in 3m48s
522187ddd1
The plugin now answers config.write once the files are on disk and reports
the reload as a config.outcome event, which this process files and feeds by
its type like any other event. The reload window no longer has to fit
inside REPLY_TIMEOUT, so CONFIG_RELOAD_WINDOW and the test that asserted
the pairing are gone, and the 504 body stops pointing at a rollback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 0179ca52ec into edge 2026-09-26 22:29:29 +00:00
whitlocktech deleted branch fix/protocol-13-config-reload 2026-09-26 22:29:29 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RunicGateway/Rust-Link#18
No description provided.