@bridge_gpt/mcp-server 0.2.70 → 0.2.72
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.
- package/README.md +55 -17
- package/build/agent-launchers/claude-executor-adapter.js +29 -4
- package/build/agent-notes.js +171 -95
- package/build/agent-registry.js +5 -5
- package/build/agents.generated.js +12 -2
- package/build/bounded-wait.js +9 -1
- package/build/bridge-permissions.js +17 -5
- package/build/bridge-worktree-inspection.js +237 -0
- package/build/check-evidence.js +6 -0
- package/build/claude-review-workflow.js +1 -1
- package/build/cli-help.js +6 -0
- package/build/codex-auto-recovery.js +126 -0
- package/build/codex-skill-adapter.js +2 -0
- package/build/commands.generated.js +5 -5
- package/build/conductor/bridge-api-client.js +776 -23
- package/build/conductor/command-drift-production.js +7 -2
- package/build/conductor/doctor.js +93 -13
- package/build/conductor/epic-implementer-cli.js +55 -2
- package/build/conductor/gate-discovery.js +659 -19
- package/build/conductor/gate-settings-review.js +751 -0
- package/build/conductor/git-hooks-uninstall.js +112 -0
- package/build/conductor/git-hooks.js +81 -15
- package/build/conductor/guided-repair.js +10 -1
- package/build/conductor/install-doctor.js +2 -4
- package/build/conductor/launch-need-probes.js +16 -11
- package/build/conductor/launch-plan.js +185 -0
- package/build/conductor/local-merge.js +12 -1
- package/build/conductor/merge-execution-contract.js +1 -1
- package/build/conductor/merged-child-check.js +2 -1
- package/build/conductor/precheck-timings.js +14 -0
- package/build/conductor/prerequisite-inputs.js +379 -0
- package/build/conductor/preview-observations.js +10 -0
- package/build/conductor/readiness-assessment.js +78 -0
- package/build/conductor/readiness-cli.js +10 -0
- package/build/conductor/readiness-prerequisites.js +53 -0
- package/build/conductor/readiness-sections.js +25 -9
- package/build/conductor/readiness.js +20 -2
- package/build/conductor/recovery-cli.js +281 -14
- package/build/conductor/recovery-operations.js +78 -5
- package/build/conductor/repair-contract.js +33 -0
- package/build/conductor/tools.js +34 -3
- package/build/conductor/wait-run-attention.js +115 -0
- package/build/conductor/wait-run-cli.js +96 -3
- package/build/conductor/worker-database-doctor-inspector.js +1 -0
- package/build/credential-store.js +25 -20
- package/build/dependency-install-declarations.js +157 -0
- package/build/docs.generated.js +4 -4
- package/build/doctor.js +37 -5
- package/build/drive-epic-help.js +2 -2
- package/build/drive-epic.js +240 -56
- package/build/epic-ci-workflow-drift.js +71 -23
- package/build/epic-ci-workflow-install.js +83 -26
- package/build/epic-ci-workflow-v1.js +132 -0
- package/build/epic-ci-workflow.js +174 -13
- package/build/epic-implementer-bin.js +119 -44
- package/build/epic-launch-profile.js +1 -1
- package/build/executor/ci-rerun-job.js +220 -14
- package/build/executor/cli.js +2 -0
- package/build/executor/completion-contract.js +16 -0
- package/build/executor/credentials.js +1 -1
- package/build/executor/delivery-observations.js +113 -0
- package/build/executor/delivery-outcome.js +30 -0
- package/build/executor/dependency-refresh-runner.js +132 -0
- package/build/executor/dependency-refresh.js +530 -0
- package/build/executor/deps.js +4 -0
- package/build/executor/env.js +274 -5
- package/build/executor/gate-qualification-job.js +20 -5
- package/build/executor/harness-coverage.js +19 -0
- package/build/executor/http-client.js +35 -1
- package/build/executor/index.js +2 -1
- package/build/executor/install-preflight.js +1 -1
- package/build/executor/job-runner.js +355 -36
- package/build/executor/likely-tests.js +100 -98
- package/build/executor/preflight.js +5 -0
- package/build/executor/process-containment.js +18 -0
- package/build/executor/prompt-spec.js +84 -15
- package/build/executor/reconcile-overlap-job.js +6 -1
- package/build/executor/required-verification.js +28 -0
- package/build/executor/required-work-diagnostics.js +30 -0
- package/build/executor/required-work-ledger.js +19 -1
- package/build/executor/results.js +42 -0
- package/build/executor/service-discovery.js +42 -0
- package/build/executor/service-lifecycle.js +109 -2
- package/build/executor/service-uninstall.js +205 -0
- package/build/executor/service-unit.js +5 -3
- package/build/executor/test-clock.js +3 -0
- package/build/executor/verification-hints.js +179 -0
- package/build/executor/worker-command.js +188 -1
- package/build/executor/worker-database.js +299 -40
- package/build/executor/worker-finalization.js +65 -10
- package/build/executor/worker-guard-hook.js +10 -2
- package/build/executor/worker-resources.js +12 -1
- package/build/executor/worker-verification-guidance.js +64 -0
- package/build/executor/worktree-inspection.js +42 -0
- package/build/github-sign-in.js +1 -1
- package/build/index.js +767 -310
- package/build/init.js +3 -3
- package/build/install-bridge-conductor-gate.js +416 -41
- package/build/install-bridge-conductor-setup.js +135 -32
- package/build/install-bridge-conductor.js +769 -353
- package/build/install-bridge.js +419 -124
- package/build/install-maintenance.js +104 -0
- package/build/install-reexec.js +1 -1
- package/build/local-cleanup.js +59 -0
- package/build/mcp-install-state.js +68 -2
- package/build/merge-workflow-install.js +22 -2
- package/build/package-script-semantics.js +10 -0
- package/build/pipeline-utils.js +1 -1
- package/build/pipelines.generated.js +6 -6
- package/build/plan-execution-ledger.js +171 -10
- package/build/plane/plane-freshness.js +12 -9
- package/build/plane/preflight.js +19 -0
- package/build/plane/terminal-run-cleanup.js +5 -1
- package/build/plane/terminal-run-status.js +4 -0
- package/build/printed-remedy-commands.js +31 -4
- package/build/readiness-check.js +1 -78
- package/build/readiness-prerequisites.generated.js +199 -0
- package/build/readme.generated.js +1 -1
- package/build/repository-toolchains.js +623 -0
- package/build/setup-change-policy.js +32 -0
- package/build/setup-epic.js +26 -9
- package/build/setup-question.js +62 -0
- package/build/start-tickets.js +4 -0
- package/build/test-command-detection.js +61 -80
- package/build/test-support/notes-fs.js +40 -0
- package/build/ticket-delivery-artifacts.js +7 -0
- package/build/ticket-delivery-enrollment.js +80 -4
- package/build/ticket-delivery-run-scope.js +128 -0
- package/build/version.generated.js +3 -3
- package/build/worker-guard-hook-bin.js +2 -2
- package/build/worktrees.js +105 -0
- package/docs/EPIC-IMPLEMENTER.md +43 -0
- package/docs/epic-implementer/getting-started.md +95 -14
- package/package.json +2 -2
|
@@ -11,15 +11,15 @@ In every command below, `npx -y @bridge_gpt/mcp-server` is the launcher. Keep th
|
|
|
11
11
|
Setup checks every item below for you, fixes what it can, and prints the one step it cannot fix. Read this list only when setup reports an item. Each bullet gives the item's name, its id, what it means, and the fix.
|
|
12
12
|
|
|
13
13
|
- **Unattended posture (Setup page)** (`server.unattended-posture`) — Bridge allows unattended runs for this repository. Fix: Turn on **Allow unattended Epic Implementer runs** on the repository Setup page, or launch with `--attended`.
|
|
14
|
-
- **Resolved merge mode** (`server.resolved-merge-mode`) — Bridge knows how child pull requests will be merged (your computer, a machine token, or GitHub Actions). Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
14
|
+
- **Resolved merge mode** (`server.resolved-merge-mode`) — Bridge knows how child pull requests will be merged (your computer, a machine token, or GitHub Actions). Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
15
15
|
- **Provider repository** (`server.provider-repository`) — Bridge knows the GitHub `owner/name` of this repository. Fix: Run `npx -y @bridge_gpt/mcp-server connect-github`, then run setup again.
|
|
16
|
-
- **Supervisor setup** (`server.supervisor-setup`) — The repository has a stored supervisor record. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
17
|
-
- **Supervisor configuration** (`server.supervisor-config`) — The supervisor record is complete: the test gate and the safe defaults are stored. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
16
|
+
- **Supervisor setup** (`server.supervisor-setup`) — The repository has a stored supervisor record. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
17
|
+
- **Supervisor configuration** (`server.supervisor-config`) — The supervisor record is complete: the test gate and the safe defaults are stored. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
18
18
|
- **Supervisor required CI checks** (`server.supervisor-required-checks`) — The CI checks a child pull request must pass before it merges are stored. Fix: Run setup and confirm the gate it proposes, or name a check with `--required-check <name>`.
|
|
19
19
|
- **Review policy** (`server.review-policy`) — The review policy for child pull requests is known. AI review is an opt-in choice by the repository admin. Fix: Nothing is needed unless you want AI review. Choose a policy at launch with `--review-policy`.
|
|
20
20
|
- **GitHub App credentials** (`server.github-credentials`) — Bridge's GitHub App is connected and can read this repository. Fix: Run `npx -y @bridge_gpt/mcp-server connect-github`, then run setup again.
|
|
21
21
|
- **GitHub App actions permission** (`server.github-actions-permission`) — The GitHub App may start workflow runs. Only needed when merges go through GitHub Actions. Fix: Accept the updated permission on the GitHub App's installation page, then run setup again.
|
|
22
|
-
- **Merge workflow eligibility** (`server.merge-execution-workflow`) — The merge workflow file is on the default branch and current. Only needed when merges go through GitHub Actions. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
22
|
+
- **Merge workflow eligibility** (`server.merge-execution-workflow`) — The merge workflow file is on the default branch and current. Only needed when merges go through GitHub Actions. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer --merge-workflow --codeowner <@org/team|@user>`, merge the pull request it opens, then run setup again.
|
|
23
23
|
- **Merge branch policy** (`server.merge-execution-branch-policy`) — The default branch rules let the merge workflow do its job. Only needed when merges go through GitHub Actions. Fix: Adjust the branch rule or ruleset as setup describes, then run setup again.
|
|
24
24
|
- **Executor server observation** (`server.executor-readiness`) — Bridge has seen a heartbeat from an executor for this repository. Before your first run this can be missing: `drive-epic` starts the executor for each run. Fix: Launch the epic with `npx -y @bridge_gpt/mcp-server drive-epic <EPIC>`.
|
|
25
25
|
- **Review workflow protocol** (`server.review-workflow`) — The review workflow on the default branch matches the review policy. Only needed with AI review. Fix: Run setup; it names the workflow change to make.
|
|
@@ -27,7 +27,7 @@ Setup checks every item below for you, fixes what it can, and prints the one ste
|
|
|
27
27
|
- **Escalation channel (webhook or email)** (`server.unattended-notify-default`) — Bridge has somewhere to send an escalation: a verified notify webhook, or your account email. Fix: Declare a notify webhook, or verify your account email.
|
|
28
28
|
- **Repository workflow readiness** (`server.repository-workflow-readiness`) — The CI and review workflows are confirmed on the default branch. Fix: Run setup, merge the setup pull request, then run setup again.
|
|
29
29
|
- **Workflows at indexed commit** (`server.indexed-workflows`) — The repository index includes the workflow files on the default branch. Fix: Merge the setup pull request, then run setup again. It starts the re-index and reports this item as pending until the index reaches that commit.
|
|
30
|
-
- **Known test command** (`server.test-command`) — Bridge knows the command that runs this repository's tests. Fix: Run
|
|
30
|
+
- **Known test command** (`server.test-command`) — Bridge knows the command that runs this repository's tests. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer --test-command "<command>"`, replacing `<command>` with the one command that runs your tests, or run setup and answer its test command question.
|
|
31
31
|
- **Service availability** (`server.service-availability`) — Bridge could read this repository's readiness from the server. Fix: Retry in a few minutes. If it keeps failing, email info@bridgegpt.ai.
|
|
32
32
|
- **Claude login** (`install.claude-login`) — Claude Code is signed in on this computer. Fix: Run `claude` and sign in, then run setup again.
|
|
33
33
|
- **Repository identity** (`install.identity`) — Bridge knows which repository this folder is. Fix: Run setup from the repository root, or pass `--repo <name>`.
|
|
@@ -49,12 +49,12 @@ Setup checks every item below for you, fixes what it can, and prints the one ste
|
|
|
49
49
|
- **Claude login** (`conductor.claude-login`) — Claude Code is signed in for the workers. Fix: Run `claude` and sign in, then run setup again.
|
|
50
50
|
- **Merge credential capability** (`conductor.merge-credential-capability`) — The merge token can push to the repository and read pull requests. Fix: Replace the token (setup offers to), then run setup again.
|
|
51
51
|
- **Worktree preparation** (`conductor.worktree-preparation`) — The executor's clone can keep its working files out of git (`.git/info/exclude` exists or can be written). Fix: Make `.git/info/exclude` writable in this clone.
|
|
52
|
-
- **Supervisor gate profile** (`conductor.install-section-supervisor-gate-profile`) — The repository's test gate profile is stored and valid. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
53
|
-
- **Supervisor required CI checks** (`conductor.install-section-supervisor-required-checks`) — The required CI checks in the gate match checks the provider reports. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
54
|
-
- **Supervisor review-policy alignment** (`conductor.install-section-supervisor-review-alignment`) — The review policy and the review workflow agree. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
52
|
+
- **Supervisor gate profile** (`conductor.install-section-supervisor-gate-profile`) — The repository's test gate profile is stored and valid. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
53
|
+
- **Supervisor required CI checks** (`conductor.install-section-supervisor-required-checks`) — The required CI checks in the gate match checks the provider reports. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
54
|
+
- **Supervisor review-policy alignment** (`conductor.install-section-supervisor-review-alignment`) — The review policy and the review workflow agree. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
55
55
|
- **GitHub App actions permission** (`conductor.install-section-github-actions-permission`) — The GitHub App may start workflow runs. Only needed when merges go through GitHub Actions. Fix: Accept the updated permission on the GitHub App's installation page.
|
|
56
|
-
- **Merge execution eligibility** (`conductor.install-section-merge-execution-eligibility`) — This repository can use GitHub Actions merges. Only needed for that merge mode. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
57
|
-
- **Epic Implementer MCP profile token** (`conductor.install-section-epic-implementer-profile-token`) — The Bridge key used by the Epic Implementer tool profile is stored. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
56
|
+
- **Merge execution eligibility** (`conductor.install-section-merge-execution-eligibility`) — This repository can use GitHub Actions merges. Only needed for that merge mode. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer --merge-workflow --codeowner <@org/team|@user>` and merge its pull request.
|
|
57
|
+
- **Epic Implementer MCP profile token** (`conductor.install-section-epic-implementer-profile-token`) — The Bridge key used by the Epic Implementer tool profile is stored. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
58
58
|
- **Conductor hook targets** (`conductor.install-section-conductor-hook-targets`) — The git hook targets are in place for this clone. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer install-git-hooks`.
|
|
59
59
|
- **GitHub Actions merge: local observation prerequisites** (`conductor.install-section-gh-actions-merge-auth`) — This computer can observe GitHub Actions merges. Only needed for that merge mode. Fix: Sign in with `gh auth login` and rerun setup.
|
|
60
60
|
- **GitHub Actions merge: capability observability** (`conductor.install-section-gh-actions-merge-observable`) — Bridge can observe the outcome of GitHub Actions merges. Only needed for that merge mode. Fix: Rerun setup and follow the step it prints.
|
|
@@ -63,9 +63,9 @@ Setup checks every item below for you, fixes what it can, and prints the one ste
|
|
|
63
63
|
- **Launch evidence: unattended consent** (`server.admission-unattended-consent`) — Launch check: unattended runs are allowed. Fix: Turn on **Allow unattended Epic Implementer runs** on the Setup page, or launch with `--attended`.
|
|
64
64
|
- **Launch evidence: notification destination** (`server.admission-notify-webhook`) — Launch check: an escalation destination is verified. Fix: Declare a notify webhook, or verify your account email.
|
|
65
65
|
- **Launch evidence: repository workflows** (`server.admission-repository-readiness`) — Launch check: the CI and review workflows are confirmed. Fix: Run setup, merge the setup pull request, then run setup again.
|
|
66
|
-
- **Launch evidence: required CI checks** (`server.admission-required-checks`) — Launch check: the required CI checks are stored. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
66
|
+
- **Launch evidence: required CI checks** (`server.admission-required-checks`) — Launch check: the required CI checks are stored. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
67
67
|
- **Launch evidence: indexed repository** (`server.admission-index-provenance`) — Launch check: the index reaches the commit that holds the workflows. Fix: Merge the setup pull request, then run setup again.
|
|
68
|
-
- **Repository test gate** (`server.gate-profile`) — The repository's test gate is stored. Fix: Run `npx -y @bridge_gpt/mcp-server install
|
|
68
|
+
- **Repository test gate** (`server.gate-profile`) — The repository's test gate is stored. Fix: Run `npx -y @bridge_gpt/mcp-server install epic-implementer`; it fixes what it can and prints the one step it cannot.
|
|
69
69
|
- **Repository test gate warnings** (`server.gate-profile-warnings`) — The stored test gate has no unresolved warnings. Fix: Read the warnings setup prints and confirm or edit the gate.
|
|
70
70
|
- **Effective review mode** (`server.effective-review-mode`) — Bridge shows which review mode child pull requests will use. Fix: Choose a review policy at launch with `--review-policy` if you want a different one.
|
|
71
71
|
- **Epic branch CI** (`server.epic-branch-ci-decision`) — Someone has decided whether CI runs on pull requests into the epic branch. Fix: Run setup and answer the epic-branch CI question, or pass `--epic-branch-ci-decision include|decline`.
|
|
@@ -89,13 +89,69 @@ It writes this guide to `docs/install/epic-implementer-install.md` in your proje
|
|
|
89
89
|
Run this once per repository, from the repository root, in your own terminal:
|
|
90
90
|
|
|
91
91
|
```bash
|
|
92
|
-
npx -y @bridge_gpt/mcp-server install
|
|
92
|
+
npx -y @bridge_gpt/mcp-server install epic-implementer
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
`install-bridge conductor` is the same command with another spelling. Setup checks everything first (read-only), fixes only what is missing, checks again, and ends with one verdict: "Ready for your first epic" or "Not ready: N steps left", with the fix for each step. It asks before anything that writes, and without a terminal every question is a "no".
|
|
96
96
|
|
|
97
97
|
When setup reports that its setup pull request is waiting, it prints `merge the setup PR` with the pull request's address. Merge that pull request, then run setup again. Setup starts the re-index, and reports the item as pending ("indexing is running; re-run setup when it finishes", or "indexing was queued; re-run setup when it finishes") until the index reaches the merged commit. Run setup again until it says "Ready for your first epic".
|
|
98
98
|
|
|
99
|
+
### View or change the test command
|
|
100
|
+
|
|
101
|
+
Setup prints the stored test command on every run:
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
Test command: `npm test` (stored). Change it with --test-command "...".
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
To save or replace it, pass the command yourself:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
npx -y @bridge_gpt/mcp-server install epic-implementer --test-command "npm run lint && npm run build"
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
The flag is your consent for that one write, so setup asks no command question. It checks the command first (one line, no `${{`, at most 500 characters), saves it once, and reads it back. It reports success only when the stored value matches. Passing the same command again says "Test command unchanged" and writes nothing. With `--dry-run`, nothing is saved.
|
|
114
|
+
|
|
115
|
+
Two things stay separate from the flag. Setup still asks you to confirm the Bridge URL, so the command needs a terminal. And opening the setup pull request asks for its own consent: after you replace the command, setup offers the update pull request in the same run, and a command you declined to ship stays saved.
|
|
116
|
+
|
|
117
|
+
Do not put a credential in the test command. Setup prints it, and the workflow file contains it.
|
|
118
|
+
|
|
119
|
+
### What CI installs automatically
|
|
120
|
+
|
|
121
|
+
The setup pull request adds `.github/workflows/epic-implementer-ci.yml`. Before it runs your test command, the workflow installs your dependencies from the files in your repository root. Bridge reads those files on your computer when it generates the workflow, and it never runs a package manager to decide.
|
|
122
|
+
|
|
123
|
+
| Language | Dependency file, first match wins | What CI runs |
|
|
124
|
+
| --- | --- | --- |
|
|
125
|
+
| JavaScript | `pnpm-lock.yaml`, `yarn.lock`, `npm-shrinkwrap.json`, `package-lock.json`, `bun.lock`, `bun.lockb` | `pnpm install`, `yarn install` (Yarn classic or Berry), `npm ci`, or `bun install`, each in its frozen form so the lockfile is used exactly as committed |
|
|
126
|
+
| Python | `uv.lock`, `poetry.lock`, `requirements.txt` | `uv sync` (frozen), `poetry install`, or `pip install` from `requirements.txt` |
|
|
127
|
+
| Go | `go.mod` | Go is set up from `go.mod`. |
|
|
128
|
+
|
|
129
|
+
- **Mixed repositories** get every language they have, in the order JavaScript, Python, Go.
|
|
130
|
+
- **Versions.** Node comes from `.nvmrc`, then `.node-version`, otherwise Node 24. Python comes from `.python-version`, otherwise Python 3.12. pnpm uses the version in `package.json` `packageManager` when it is valid, otherwise pnpm 10. Yarn is classic or Berry according to `.yarnrc.yml`, `packageManager`, and the lockfile; Berry runs through Corepack, which uses the Yarn version your `package.json` declares, otherwise Yarn 4. Poetry is installed at a fixed version, and Bun at the latest 1.x release. Every action is pinned to a fixed major version.
|
|
131
|
+
- **uv and Poetry** projects must declare development dependencies such as `pytest` in the project. Their environments are put on `PATH`, so your stored command runs unchanged inside the project environment.
|
|
132
|
+
- **If Bridge cannot read a file it needs**, or `package.json` contradicts the lockfile (for example a `packageManager` for a different tool), setup reports the dependency setup as unknown and blocks the workflow. It does not guess.
|
|
133
|
+
- **Upgrades are reviewed.** An older Bridge-written workflow is replaced through a pull request you merge, never silently. If a setup pull request from an earlier release is still open, merge or close it first; setup names it and leaves it alone.
|
|
134
|
+
|
|
135
|
+
### When your command must be self-contained
|
|
136
|
+
|
|
137
|
+
Some repositories get no automatic installation, and setup says so in plain words:
|
|
138
|
+
|
|
139
|
+
- **Python with no `uv.lock`, `poetry.lock`, or `requirements.txt`** (for example only `pyproject.toml` or `Pipfile`) gets no Python installation. Add a supported file, or make the command install what it needs.
|
|
140
|
+
- **Rust** uses the toolchain the CI runner already has. If that is not enough, install what you need inside the command.
|
|
141
|
+
- **No lockfile, or a Make-only project**, shows as `none`: Bridge installs no dependencies, so the command must install them itself.
|
|
142
|
+
|
|
143
|
+
A command that installs its own dependencies is always allowed. Nothing in the workflow adds to your command, wraps it, or sets a prefix in front of it.
|
|
144
|
+
|
|
145
|
+
### Recover from a stale CLI
|
|
146
|
+
|
|
147
|
+
An old copy of the command line tool can print old wording or miss a flag such as `--test-command`. Bridge checks the npm registry for a newer release about once a day and says so at the start of a session. That notice only reports that a newer version exists; it cannot tell you which copy `npx` actually ran. Likely causes are a cached `npx` download or a project-local install that `npx` picked first. Neither is proven for any one machine.
|
|
148
|
+
|
|
149
|
+
1. See which version ran: `npx -y @bridge_gpt/mcp-server doctor`. Its `Bridge MCP version:` line gives the installed version and the latest one, and says when an upgrade is available.
|
|
150
|
+
2. Fetch the newest release by running through `@latest`: `npx -y @bridge_gpt/mcp-server@latest doctor`. The `Bridge MCP version:` line should now show the latest version.
|
|
151
|
+
3. Refresh the installed command files: `npx -y @bridge_gpt/mcp-server@latest install`.
|
|
152
|
+
4. Run setup again: `npx -y @bridge_gpt/mcp-server@latest install epic-implementer`.
|
|
153
|
+
5. If the output is still wrong, email info@bridgegpt.ai with the `Bridge MCP version:` line from step 1 and the setup output, with any secret removed.
|
|
154
|
+
|
|
99
155
|
## 3. Define the epic
|
|
100
156
|
|
|
101
157
|
In Claude Code, run:
|
|
@@ -128,4 +184,29 @@ Add `--dry-run` for a read-only preview, or `--attended` to opt out of unattende
|
|
|
128
184
|
|
|
129
185
|
## If something goes wrong
|
|
130
186
|
|
|
131
|
-
Every refusal names the missing item and its fix, and creates nothing. Run setup again after you fix an item. For a read-only report of every item, run `npx -y @bridge_gpt/mcp-server epic-implementer readiness --json`. If you are stuck, email info@bridgegpt.ai.
|
|
187
|
+
Every refusal names the missing item and its fix, and creates nothing. Run setup again after you fix an item. To stop a run that is already active, run `npx -y @bridge_gpt/mcp-server epic-implementer abandon-run --epic-run-id <id>`, replacing `<id>` with the run ID that `drive-epic` printed when it started the run. Abandoning a run is final. For a read-only report of every item, run `npx -y @bridge_gpt/mcp-server epic-implementer readiness --json`. If you are stuck, email info@bridgegpt.ai.
|
|
188
|
+
# Uninstall / clean up
|
|
189
|
+
|
|
190
|
+
Inspect before removing local resources:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
npx -y @bridge_gpt/mcp-server executor uninstall-service
|
|
194
|
+
npx -y @bridge_gpt/mcp-server executor uninstall-service --executor-id builder-01 --dry-run
|
|
195
|
+
epic-implementer uninstall-git-hooks --dry-run
|
|
196
|
+
npx -y @bridge_gpt/mcp-server worktrees
|
|
197
|
+
npx -y @bridge_gpt/mcp-server worktrees --prune --dry-run
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Remove `--dry-run` to approve the displayed plan at an interactive `(y/N)` prompt. Declined and noninteractive requests remove nothing. Executor service removal affects this user's home-scoped service; install-state locator cleanup affects only the current repository. Stopping may interrupt jobs and does not certify termination of all child processes: finish or stop work through the supported executor or plane workflow first. Darwin stdout/stderr logs are retained at `~/Library/Logs/com.bridge-gpt.executor.<id>.{out,err}.log`; Linux logs remain in the user journald journal. If a later phase fails, the command reports completed and retained stages; retry the same command after correcting the reported condition, then confirm with `doctor`.
|
|
201
|
+
|
|
202
|
+
Hook removal targets only Bridge's managed text in the common hooks directory shared by linked worktrees. Mixed user hook bytes and modes are preserved; unsafe or ambiguous content is retained for owner repair.
|
|
203
|
+
|
|
204
|
+
Worktree observations use local refs as of the last fetch. `worktrees --fetch` explicitly performs one `git fetch --prune origin`; it cannot be combined with `--dry-run`. `--base <branch>` selects the comparison base. Pruning retains protected, dirty, active, locked, or uncertain worktrees. Unknown and partial sizes are labelled explicitly; incomplete inspection offers no candidates. A remote-gone branch needs prior origin-upstream and surviving-tip evidence. Partial cleanup reports retained resources; reconcile them with the repository owner or support. Avoid forced removal or deletion.
|
|
205
|
+
|
|
206
|
+
For the other local permissions surfaces use `npx -y @bridge_gpt/mcp-server install --remove-bridge-permissions` and `npx -y @bridge_gpt/mcp-server install epic-implementer --remove-merge-token`.
|
|
207
|
+
|
|
208
|
+
## “Already checked out at” troubleshooting
|
|
209
|
+
|
|
210
|
+
Start with `npx -y @bridge_gpt/mcp-server worktrees`. Git holds a branch in the checkout named in the error and refuses a second checkout until that holding worktree is removed. Use `worktrees --prune` only for proven eligible resources; preserve retained work and reconcile it with the repository owner.
|
|
211
|
+
|
|
212
|
+
For unexpected commits, use `npx -y @bridge_gpt/mcp-server doctor --stale-branch PROJ-123 --stale-branch-base main`. Opt into prevention with `start-tickets --guard-stale-branch`. Those diagnose or prevent stale reuse; neither releases a branch held by another worktree.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bridge_gpt/mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.72",
|
|
4
4
|
"description": "Bridge API MCP server — exposes Jira endpoints as MCP tools for Claude Code agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
46
|
-
"pixelmatch": "^
|
|
46
|
+
"pixelmatch": "^8.0.0",
|
|
47
47
|
"pngjs": "^7.0.0",
|
|
48
48
|
"zod": "^4.4.3"
|
|
49
49
|
},
|