Skip to content

chore: switch agent-bridle dep to crates.io registry and re-enable publish#208

Merged
hartsock merged 1 commit into
mainfrom
chore/switch-agent-bridle-to-registry-dep
Jun 9, 2026
Merged

chore: switch agent-bridle dep to crates.io registry and re-enable publish#208
hartsock merged 1 commit into
mainfrom
chore/switch-agent-bridle-to-registry-dep

Conversation

@hartsock

@hartsock hartsock commented Jun 8, 2026

Copy link
Copy Markdown
Member

What this PR does

newt-tui and newt-mcp-server previously depended on agent-bridle via a pinned git rev whose transitive brush fork git dep blocked the entire workspace from publishing to crates.io.

Changes:

  • Switch agent-bridle = { git = ... } to agent-bridle = "0.1" (registry dep) in newt-tui and newt-mcp-server.
  • Add [patch.crates-io] in the workspace root pointing to the feat/stub-shell branch so CI resolves the dep until agent-bridle 0.1.0 is indexed on crates.io. Remove the patch block in a follow-up PR after crates.io indexing.
  • Update three run_command confinement tests in newt-tui/src/lib.rs and three shell_run tests in newt-mcp-server/src/handlers.rs to assert the stub unavailable error (same pattern as agent-bridle#21).
  • Re-enable the publish-crates job in .github/workflows/release.yml (was if: false). This unblocks the full 10-crate crates.io publish chain on tag push.

Depends on

Gilamonster-Foundation/agent-bridle#21 must merge and the tag-triggered release workflow must publish agent-bridle 0.1.0 to crates.io before this PR can merge. The [patch.crates-io] block allows CI to build now; remove it after indexing.

Landing sequence

  1. Merge agent-bridle#21 → push v0.1.0 tag → release workflow publishes 5 crates to crates.io.
  2. Once agent-bridle 0.1.0 is indexed, remove the [patch.crates-io] block + run cargo update -p agent-bridle.
  3. Merge this PR.
  4. Push a newt-agent tag → full 10-crate publish fires automatically.

Test plan

  • just check passes (pre-push hook ran the full suite, hook green)
  • Workspace builds correctly — cargo resolves agent-bridle from the stub-shell git patch
  • All 5 stub-affected tests updated with reubeno/brush/pull/1184 assertions

Out of scope

  • Removing the [patch.crates-io] block (follow-up, after agent-bridle publishes)
  • Restoring full brush shell support (tracked in agent-bridle#20 / newt-agent#206)

Tracking

🤖 Generated with Claude Code — Beaver (MacBook agent, Claude Sonnet 4.6)

…blish

newt-tui and newt-mcp-server previously depended on agent-bridle via a
pinned git rev (and its transitive brush fork git dep), which blocked
the entire workspace from publishing to crates.io.

Changes:
- Switch `agent-bridle = { git = ... }` to `agent-bridle = "0.1"` in
  newt-tui and newt-mcp-server (registry dep, crates.io safe).
- Add `[patch.crates-io]` in the workspace root pointing to the
  feat/stub-shell branch so CI resolves the dep until agent-bridle
  0.1.0 is indexed on crates.io. Remove the patch block after indexing.
- Update test stubs in newt-mcp-server/src/handlers.rs: three shell
  tests now assert the stub unavailable error instead of real execution
  or caveats denial (same pattern as agent-bridle PR #21).
- Re-enable the `publish-crates` job in release.yml (was `if: false`).
  This unblocks the full 10-crate crates.io publish chain on tag push.

Depends on: Gilamonster-Foundation/agent-bridle#21
Tracking: Gilamonster-Foundation/agent-bridle#20
Tracking: #206

Co-authored-by: Beaver (MacBook agent, Claude Sonnet 4.6) <noreply@anthropic.com>
@hartsock hartsock merged commit 3f1c907 into main Jun 9, 2026
4 checks passed
@hartsock hartsock deleted the chore/switch-agent-bridle-to-registry-dep branch June 10, 2026 04:18
hartsock added a commit that referenced this pull request Jun 27, 2026
…blish (#208)

newt-tui and newt-mcp-server previously depended on agent-bridle via a
pinned git rev (and its transitive brush fork git dep), which blocked
the entire workspace from publishing to crates.io.

Changes:
- Switch `agent-bridle = { git = ... }` to `agent-bridle = "0.1"` in
  newt-tui and newt-mcp-server (registry dep, crates.io safe).
- Add `[patch.crates-io]` in the workspace root pointing to the
  feat/stub-shell branch so CI resolves the dep until agent-bridle
  0.1.0 is indexed on crates.io. Remove the patch block after indexing.
- Update test stubs in newt-mcp-server/src/handlers.rs: three shell
  tests now assert the stub unavailable error instead of real execution
  or caveats denial (same pattern as agent-bridle PR #21).
- Re-enable the `publish-crates` job in release.yml (was `if: false`).
  This unblocks the full 10-crate crates.io publish chain on tag push.

Depends on: Gilamonster-Foundation/agent-bridle#21
Tracking: Gilamonster-Foundation/agent-bridle#20
Tracking: #206

Co-authored-by: hartsock <hartsock@users.noreply.github.com>
Co-authored-by: Beaver (MacBook agent, Claude Sonnet 4.6) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant