@bridge_gpt/mcp-server 0.2.10 → 0.2.12

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 (37) hide show
  1. package/README.md +3 -3
  2. package/build/commands.generated.js +6 -6
  3. package/build/conductor/bridge-api-client.js +2 -1
  4. package/build/conductor/cli.js +16 -16
  5. package/build/conductor/doctor.js +1 -1
  6. package/build/conductor/epic-reconcile.js +213 -16
  7. package/build/conductor/epic-runtime.js +89 -6
  8. package/build/conductor/epic-state.js +85 -11
  9. package/build/conductor/errors.js +12 -0
  10. package/build/conductor/git-ci-types.js +10 -0
  11. package/build/conductor/git-producer.js +4 -4
  12. package/build/conductor/merge-ledger.js +7 -7
  13. package/build/conductor/pr-ci-producer.js +6 -6
  14. package/build/conductor/pr-review-producer.js +2 -2
  15. package/build/conductor/producer-ledger.js +5 -5
  16. package/build/conductor/spec-review-producer.js +88 -0
  17. package/build/conductor/store.js +97 -25
  18. package/build/conductor/supervisor-ledger.js +2 -2
  19. package/build/conductor/supervisor-merge.js +5 -5
  20. package/build/conductor/supervisor-message-relay.js +1 -1
  21. package/build/conductor/supervisor-runtime.js +10 -10
  22. package/build/conductor/taxonomy.js +5 -0
  23. package/build/conductor/tools.js +5 -5
  24. package/build/conductor-bin.js +12350 -19
  25. package/build/conductor-claude-hook-bin.js +167 -17
  26. package/build/decision-page-schema.js +26 -0
  27. package/build/doctor.js +200 -0
  28. package/build/index.js +23705 -3630
  29. package/build/install-bridge.js +80 -0
  30. package/build/pipelines.generated.js +70 -48
  31. package/build/readme.generated.js +1 -1
  32. package/build/version.generated.js +1 -1
  33. package/package.json +7 -4
  34. package/pipelines/check-ci-ticket.json +2 -2
  35. package/pipelines/implement-ticket.json +2 -2
  36. package/pipelines/learn-repository.json +84 -42
  37. package/smoke-test/SMOKE-TEST.md +11 -17
@@ -84,13 +84,12 @@ Ask the user for the following before making any tool calls:
84
84
  `BAPI_API_KEY` can read (used for the Tier 1 read-only checks). It only needs
85
85
  to be readable — comments, attachments, tracked state, and generated
86
86
  artifacts are all optional.
87
- 2. **Optional:** a **config field name** (for `get_config_field`).
87
+ 2. **Optional:** a **config field name** (for `config_field` with operation `"get"`).
88
88
  3. **Optional:** a **pipeline name** (for `get_pipeline_recipe`) — either a
89
89
  no-variable pipeline name (e.g. `learn-repository`) or, for a
90
90
  variable-declaring pipeline, the variable values it needs (e.g. a
91
91
  `ticket_key`).
92
- 4. **Optional:** an **attachment identifier or filename** (for
93
- `download_attachment` / `list_attachments`).
92
+ 4. **Optional:** an **attachment identifier or filename** (for `attachment` with operation `"download"` or `"list"`).
94
93
  5. **Optional:** any **artifact or task IDs** (e.g. a `task_id`, `brainstorm_id`,
95
94
  or commit ref) for retriever and CI tools.
96
95
  6. **Required decision:** explicit **Tier 3 consent** (Tier 3 spends tokens and
@@ -186,7 +185,7 @@ all local writes:
186
185
 
187
186
  There are **five heavy-read tools** whose successful oversized output is saved to
188
187
  disk before a truncated inline preview is returned: `get_project_standards`,
189
- `get_tickets`, `get_ticket`, `get_comments`, and `list_attachments`.
188
+ `get_tickets`, `get_ticket`, `get_comments`, and `attachment` (operation: `"list"`).
190
189
 
191
190
  - When a heavy-read response begins with `[Response truncated. Full response
192
191
  saved locally.]` and carries a `Saved to <path>` note, grade it **`PASS`** as
@@ -210,8 +209,7 @@ default plus the read-only ticket checks when a readable ticket was supplied.
210
209
  ### All Tier 0 tools run by default
211
210
 
212
211
  `ping`, `get_my_role`, `get_docs_dir`, `get_project_standards`,
213
- `list_config_fields`, `list_pipelines`, `get_parse_status`,
214
- `list_pipeline_runs`.
212
+ `list_pipelines`, `get_parse_status`, `list_pipeline_runs`.
215
213
 
216
214
  (The "fast-pass" list is the minimum release-blocking subset; the tier
217
215
  definition is "always run", so do not exclude the other Tier 0 tools.)
@@ -221,7 +219,7 @@ definition is "always run", so do not exclude the other Tier 0 tools.)
221
219
  Run `get_ticket`, `get_comments`, and `get_plan` against the user-supplied
222
220
  ticket.
223
221
 
224
- - **`get_comments` is preferred**; **`list_attachments` is the fallback** if
222
+ - **`get_comments` is preferred**; **`attachment` (operation: `"list"`) is the fallback** if
225
223
  comments are unavailable for the selected ticket.
226
224
  - **`get_plan` must be called with a real boolean `save_locally: false`** (a true
227
225
  JSON boolean, not the string `"false"`).
@@ -246,7 +244,7 @@ supplied the relevant input; otherwise record `SKIP_USER_INPUT`.
246
244
  - `get_tickets` — a query/filter (a default project query is acceptable).
247
245
  - `get_ticket_state`, `get_jira_transitions`, `resolve_target_status` — the
248
246
  ticket key.
249
- - `get_config_field` — the optional config field name.
247
+ - `config_field` (operation: `"get"`) — the optional config field name.
250
248
  - `get_pipeline_recipe` — a pipeline name. When no variables are supplied, use a
251
249
  no-variable pipeline such as `learn-repository` as the smoke target. A
252
250
  variable-declaring pipeline (e.g. a ticket-based pipeline) requires a
@@ -254,7 +252,7 @@ supplied the relevant input; otherwise record `SKIP_USER_INPUT`.
254
252
  BAD_REQUEST` with `Missing required variable(s)` is **working as designed**, not
255
253
  a server fault — rerun with the required variables or pick a no-variable
256
254
  pipeline.
257
- - `list_attachments` / `download_attachment` — the optional attachment input.
255
+ - `attachment` (operation: `"list"` or `"download"`) — the optional attachment input.
258
256
  - The clean-empty artifact retrievers `get_architecture`,
259
257
  `get_clarifying_questions`, `get_ticket_critique` — grade a clean empty result
260
258
  as `PASS_EXPECTED_404` and valid content as `PASS`.
@@ -489,12 +487,12 @@ and raw protocol noise.** Sensitive values are redacted.
489
487
 
490
488
  ---
491
489
 
492
- ## Full 62-Tool Smoke Tier Matrix
490
+ ## Full 58-Tool Smoke Tier Matrix
493
491
 
494
492
  Every registered MCP tool appears **exactly once** below with its smoke tier.
495
493
  Tier 4 (mutating/hazardous) tools are **deferred in v1**.
496
494
 
497
- Coverage reconciliation: **8 + 22 + 1 + 12 + 19 = 62**.
495
+ Coverage reconciliation: **7 + 19 + 1 + 12 + 19 = 58** (BAPI-443 Phase 3a: `list_config_fields` merged into `config_field`; `get_config_field`/`list_attachments`/`download_attachment` merged into `config_field`/`attachment`).
498
496
 
499
497
  | Tier | Tool | Default action / expected-empty / special handling |
500
498
  |---|---|---|
@@ -502,7 +500,6 @@ Coverage reconciliation: **8 + 22 + 1 + 12 + 19 = 62**.
502
500
  | Tier 0 | `get_my_role` | Zero-input read; always run. |
503
501
  | Tier 0 | `get_docs_dir` | Zero-input read; always run; call first to anchor writes. |
504
502
  | Tier 0 | `get_project_standards` | Zero-input heavy read; always run; may save/truncate oversized output under `project-standards/`. |
505
- | Tier 0 | `list_config_fields` | Zero-input read; always run. |
506
503
  | Tier 0 | `list_pipelines` | Zero-input read; always run. |
507
504
  | Tier 0 | `get_parse_status` | Zero-input read; always run. |
508
505
  | Tier 0 | `list_pipeline_runs` | Zero-input read; always run. |
@@ -523,9 +520,6 @@ Coverage reconciliation: **8 + 22 + 1 + 12 + 19 = 62**.
523
520
  | Tier 1 | `get_ticket_state` | Read-only; needs ticket key; v1 read-only reaches the clean "not tracked" 404; full state requires deferred Tier 4 `track_ticket`. |
524
521
  | Tier 1 | `get_jira_transitions` | Read-only; needs ticket key. |
525
522
  | Tier 1 | `resolve_target_status` | Read-only; needs ticket key. |
526
- | Tier 1 | `get_config_field` | Read-only; needs a config field name. |
527
- | Tier 1 | `list_attachments` | Read-only; needs ticket key; comments-fallback tool. |
528
- | Tier 1 | `download_attachment` | Tier 1 network read; secondary **path-canary** — saves locally only when an attachment input is supplied; omit `file_path` or keep any override under `get_docs_dir`. |
529
523
  | Tier 1 | `poll_ci_checks` | `available:true` with empty or populated checks is `PASS`; `SKIP_NOT_APPLICABLE` when disabled with `TOOL_DISABLED`/503, or when `resolve_ci_checks` has not populated CI configuration. |
530
524
  | Tier 1 | `get_pipeline_recipe` | Read-only; needs a pipeline name plus required variables for variable-declaring pipelines; use `learn-repository` as the no-variable smoke target. |
531
525
  | Tier 2 | `generate_decision_page` | Local-only file-write canary; always run with the verbatim payload above. |
@@ -544,11 +538,11 @@ Coverage reconciliation: **8 + 22 + 1 + 12 + 19 = 62**.
544
538
  | Tier 4 | `create_ticket` | Mutating; deferred in v1. |
545
539
  | Tier 4 | `add_comment` | Mutating; deferred in v1. |
546
540
  | Tier 4 | `update_ticket_description` | Mutating; deferred in v1. |
547
- | Tier 4 | `upload_attachment` | Mutating; deferred in v1. |
541
+ | Tier 4 | `attachment` | Discriminated-union: `upload`/`download`/`list`; classified Tier 4 (upload is mutating); deferred in v1. |
548
542
  | Tier 4 | `track_ticket` | Mutating; deferred in v1. |
549
543
  | Tier 4 | `update_ticket_state` | Mutating; deferred in v1. |
550
544
  | Tier 4 | `update_jira_status` | Mutating; deferred in v1. |
551
- | Tier 4 | `update_config_field` | Mutating; deferred in v1. |
545
+ | Tier 4 | `config_field` | Discriminated-union: `get`/`update`/`list`; classified Tier 4 (update is mutating); deferred in v1. |
552
546
  | Tier 4 | `create_pull_request` | Mutating; deferred in v1. |
553
547
  | Tier 4 | `resolve_ci_checks` | Cache-mutating/orchestration; deferred in v1. |
554
548
  | Tier 4 | `run_pipeline` | Orchestration (can dispatch mutating tools); deferred in v1. |