@bridge_gpt/mcp-server 0.2.72 → 0.2.73
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 +5 -5
- package/build/agent-launchers/claude-executor-adapter.js +3 -0
- package/build/agents.generated.js +6 -6
- package/build/bridge-permissions.js +27 -0
- package/build/ci-system-detection.js +50 -0
- package/build/ci-trigger-adapters.js +631 -0
- package/build/ci-trigger-install.js +106 -0
- package/build/codex-launcher-pin.js +33 -2
- package/build/codex-skill-adapter.js +3 -1
- package/build/command-host.js +33 -0
- package/build/commands.generated.js +7 -6
- package/build/conductor/bridge-api-client.js +842 -35
- package/build/conductor/bring-up-facts.js +18 -5
- package/build/conductor/command-drift-production.js +42 -17
- package/build/conductor/command-drift.js +47 -0
- package/build/conductor/declare-blocked.js +554 -0
- package/build/conductor/doctor.js +106 -21
- package/build/conductor/driver-commands.js +141 -0
- package/build/conductor/driver-guard.js +277 -0
- package/build/conductor/driver-lapse.js +321 -0
- package/build/conductor/driver-register.js +176 -0
- package/build/conductor/driver-release.js +174 -0
- package/build/conductor/driver-session-state.js +315 -0
- package/build/conductor/epic-branch-ci-inspection.js +222 -29
- package/build/conductor/epic-implementer-cli.js +166 -15
- package/build/conductor/epic-server-database.js +162 -0
- package/build/conductor/epic-server-guidance.js +278 -0
- package/build/conductor/epic-server-journal.js +239 -0
- package/build/conductor/epic-server-processes.js +324 -0
- package/build/conductor/epic-server-recipe.js +397 -0
- package/build/conductor/epic-server-runtime.js +1207 -0
- package/build/conductor/epic-server-sfcc.js +107 -0
- package/build/conductor/epic-server-state.js +427 -0
- package/build/conductor/epic-server.js +594 -0
- package/build/conductor/gate-discovery.js +150 -5
- package/build/conductor/gate-settings-review.js +224 -4
- package/build/conductor/launch-need-probes.js +6 -53
- package/build/conductor/launch-plan.js +313 -156
- package/build/conductor/prerequisite-inputs.js +879 -45
- package/build/conductor/readiness-assessment.js +16 -1
- package/build/conductor/readiness-cli.js +20 -9
- package/build/conductor/readiness-prerequisites.js +28 -9
- package/build/conductor/readiness-sections.js +133 -126
- package/build/conductor/readiness.js +1 -1
- package/build/conductor/recovery-cli.js +13 -2
- package/build/conductor/tools.js +6 -5
- package/build/conductor/wait-run-attention.js +2 -2
- package/build/conductor/wait-run-cli.js +208 -22
- package/build/conductor/worker-database-doctor-inspector.js +33 -2
- package/build/conductor/worker-setup-tally.js +27 -0
- package/build/credential-store.js +71 -1
- package/build/dependency-install-declarations.js +55 -0
- package/build/docs.generated.js +2 -2
- package/build/doctor.js +54 -3
- package/build/drive-epic-help.js +21 -2
- package/build/drive-epic.js +1811 -351
- package/build/engine-paths.js +20 -0
- package/build/epic-branch-ci-summary.js +140 -0
- package/build/epic-capability-statement.js +107 -0
- package/build/epic-ci-workflow-drift.js +30 -15
- package/build/epic-ci-workflow-install.js +110 -42
- package/build/epic-ci-workflow-v2.js +274 -0
- package/build/epic-ci-workflow.js +38 -12
- package/build/epic-implementer-bin.js +2101 -44
- package/build/epic-launch-context.js +607 -0
- package/build/epic-server-record.js +273 -0
- package/build/epic-shared/bridge-client.js +11 -3
- package/build/escalation-reachability.js +43 -0
- package/build/executor/ci-fix-test-runs.js +334 -0
- package/build/executor/completion-contract.js +8 -1
- package/build/executor/env.js +59 -22
- package/build/executor/epic-server-context.js +141 -0
- package/build/executor/gate-qualification-job.js +127 -26
- package/build/executor/http-client.js +52 -5
- package/build/executor/job-runner.js +423 -69
- package/build/executor/observation.js +8 -0
- package/build/executor/pre-pr-checks.js +363 -0
- package/build/executor/prompt-spec.js +114 -2
- package/build/executor/reconcile-overlap-job.js +5 -3
- package/build/executor/required-work-diagnostics.js +4 -2
- package/build/executor/required-work-ledger.js +936 -38
- package/build/executor/results.js +58 -0
- package/build/executor/terminal-mutation.js +8 -0
- package/build/executor/worker-command.js +72 -3
- package/build/executor/worker-database-config.js +281 -0
- package/build/executor/worker-database-target.js +16 -12
- package/build/executor/worker-database.js +320 -101
- package/build/executor/worker-finalization.js +7 -1
- package/build/executor/worker-resources.js +25 -3
- package/build/executor/worker-verification-guidance.js +18 -3
- package/build/executor/worktree.js +20 -1
- package/build/executor-launch.js +54 -2
- package/build/generated-assets-catalog.js +2 -2
- package/build/index.js +664 -335
- package/build/init.js +26 -11
- package/build/install-bridge-conductor-answers.js +465 -0
- package/build/install-bridge-conductor-apply.js +259 -0
- package/build/install-bridge-conductor-assessment.js +895 -0
- package/build/install-bridge-conductor-compact.js +161 -0
- package/build/install-bridge-conductor-contracts.js +63 -0
- package/build/install-bridge-conductor-gate.js +1197 -196
- package/build/install-bridge-conductor-setup.js +535 -79
- package/build/install-bridge-conductor.js +2885 -560
- package/build/install-bridge.js +199 -21
- package/build/install-maintenance.js +26 -3
- package/build/launcher-config-inspection.js +162 -1
- package/build/mcp-grant-candidates.js +767 -0
- package/build/mcp-grant-doctor.js +63 -0
- package/build/mcp-grant.js +288 -0
- package/build/mcp-host-targets.js +8 -0
- package/build/mcp-identity.js +23 -0
- package/build/mcp-invoke.js +126 -13
- package/build/mcp-presets.js +107 -0
- package/build/mcp-provisioning.js +134 -2
- package/build/mcp-registration-doctor.js +31 -2
- package/build/mcp-server-invocation.js +6 -1
- package/build/merge-workflow-install.js +234 -109
- package/build/pipelines.generated.js +5 -5
- package/build/plan-discovery.js +97 -4
- package/build/plan-execution-ledger.js +100 -7
- package/build/plan-generation-io.js +262 -0
- package/build/plan-generation.js +424 -0
- package/build/plane/build-freshness.js +6 -1
- package/build/plane/cli.js +75 -9
- package/build/plane/plane-freshness.js +17 -0
- package/build/plane/preflight.js +50 -10
- package/build/plane/shutdown.js +19 -0
- package/build/plane/terminal-run-cleanup.js +18 -4
- package/build/printed-remedy-commands.js +206 -12
- package/build/readiness-check.js +77 -0
- package/build/readiness-prerequisites.generated.js +122 -14
- package/build/readme.generated.js +1 -1
- package/build/repository-state-paths.js +38 -0
- package/build/run-unit-tests-launcher.js +8 -1
- package/build/setup-epic.js +1190 -196
- package/build/setup-progress.js +44 -0
- package/build/setup-question.js +122 -4
- package/build/third-party-mcp-targets.js +30 -0
- package/build/ticket-delivery-enrollment.js +9 -0
- package/build/upgrade-cli.js +85 -2
- package/build/v2-readiness-requirements.js +28 -1
- package/build/version.generated.js +3 -3
- package/docs/EPIC-IMPLEMENTER-INSTALL.md +9 -1
- package/docs/epic-implementer/getting-started.md +3 -1
- package/docs/epic-implementer/self-hosting.md +14 -1
- package/package.json +2 -2
package/build/docs.generated.js
CHANGED
|
@@ -10,8 +10,8 @@ export const DOCS = {
|
|
|
10
10
|
".bridge/procedures/comp-analysis-procedure.md": "Perceive any attached/referenced design comp with your OWN vision and map it to the existing codebase BEFORE the `jira-ticket-writer` drafts. This is the pre-writer perception step: the orchestrating recipe agent (already a frontier vision model) opens the comp, classifies it against the shared fidelity taxonomy, researches the code, and writes a structured comp→codebase map the writer consumes. The writer stays text-only and never opens images — it only reads the map you produce here.\n\nThis step is gated and backend-safe. It runs the perception with the ORCHESTRATING agent's own vision — a local image via the Read tool, or an already-attached Jira comp fetched as raw bytes via the BAPI-562 binary-safe `attachment` download (operation `download`) into a worktree `file_path`. It does NOT call `describe_image()`, does NOT depend on `src/python/llms/vision.py`, and does NOT require the `CHEAP_MODEL` vision path or any vision-model upgrade or procurement. The heavy visual reasoning is done for free by the agent that already runs the recipe.\n\n## Inputs\n\n- Run manifest: `{docs_dir}/idea-to-ticket/{slug}-{run_id}/run-manifest.json` (source of truth for `idea`, `scope`, `readiness`). Read whichever prior artifacts exist under `{docs_dir}/idea-to-ticket/{slug}-{run_id}/` (research pack, resolved uncertainties, goals-and-nfrs, standards checklist) and proceed without the ones that do not.\n- Output artifact (this step writes it): `{docs_dir}/idea-to-ticket/{slug}-{run_id}/comp-analysis.json` — the structured comp→codebase map the drafting step reads.\n\n## Callers\n\nThe steps below are the **recipe path** and are unchanged for the `idea-to-ticket` recipe.\n\n**Define-tickets path.** When `/define-tickets --auto` runs this procedure, the command names an exploration-adjacent artifact directory. Read the exploration document and any materials the task references instead of run-manifest artifacts, and write `comp-analysis.json` in that named directory. Assume no run manifest and no label. Apply the same gate, classification, and mapping rules. If the analysis is degraded for any reason, write `applicable: false`, a degradation `reason`, and `warnings` that identify the material needing manual review. When no qualifying comp exists, write the clean not-applicable artifact with no degradation warning. Degraded analysis never blocks the command.\n\n## Instructions\n\n1. **Gate first — evaluate only text/material metadata, never open an image yet.** Proceed to any image work ONLY when BOTH conditions hold:\n - a design comp is **referenced or attached** (a local image path in the idea/materials, or an already-attached Jira comp with an `attachment_id`), AND\n - the requested work is **design/UI work** (a frontend/fullstack change with a visual surface).\n\n This gate is deliberately conservative. A **backend-only** request, a **no-comp** request, or a **non-design** request fails the gate.\n\n2. **Not-applicable branch (gate fails) — short-circuit immediately.** When either gate condition is not met, write `comp-analysis.json` with `applicable: false`, a short `reason`, and the `gate` evidence fields, then **return immediately** — do NOT open any image, do NOT download any attachment, do NOT inject any fidelity/comp/visual language, and add no measurable latency. A backend-only or no-comp authoring input must be byte-for-byte unaffected downstream. Concretely, the not-applicable artifact is:\n\n ```json\n { \"applicable\": false, \"reason\": \"backend-only work; no design comp referenced\", \"gate\": { \"comp_referenced\": false, \"design_ui_work\": false }, \"warnings\": [] }\n ```\n\n3. **Applicable branch — obtain and OPEN the comp with your own vision.** When the gate passes:\n - **Local image path** → open it directly with the Read tool.\n - **Already-attached Jira comp** → fetch it as raw bytes using the BAPI-562 binary-safe `attachment` capability with operation `download`, passing the comp's `attachment_id` and a worktree `file_path`; the download saves the PNG/JPEG bytes to that `file_path` inside the project root, then open the saved file with the Read tool.\n - You are the orchestrating vision model — reason over the actual pixels yourself. Do NOT call `describe_image()`, do NOT use `src/python/llms/vision.py` / `CHEAP_MODEL`, and do NOT delegate perception to the text-only `jira-ticket-writer` subagent.\n\n4. **Degraded paths are skip-clean and warn-not-halt.** If the comp is missing, unreadable, an unsupported format, external-only (an `http(s)` URL you cannot fetch into a worktree `file_path`), or turns out not to be a usable design comp, write a valid `comp-analysis.json` with `applicable: false`, a `reason`, and a populated `warnings` array describing what failed, then return. A missing, unreadable, or non-comp image NEVER blocks downstream drafting and NEVER requires further image work after the failure.\n\n5. **Classify the opened comp using the shared fidelity taxonomy (do not fork it).** Using your own vision, classify the comp as exactly one of these four classes — the same labels the downstream final plan reviewer uses (`src/python/llms/agents/planner_agent/final_plan_review_agent.py`, `_get_runtime_verification_instructions`), so authoring, planning, and implementation all agree:\n - `full comp`\n - `wireframe`\n - `annotated-screenshot-of-existing-UI`\n - `unknown`\n\n Record `fidelity_classification` with a `class` (one of the four), a `confidence` value, and a short `reasoning` string.\n\n6. **Apply class-appropriate mapping depth — no over-specification.** Match the per-class rules exactly:\n - **full comp** (confident) → map exact existing components, Jinja2 templates, SCSS/CSS tokens, and routes; strict/exact component + token depth is used ONLY here.\n - **wireframe** → map layout and structure only (regions, order, rough proportions, responsive behavior); defer color, type, spacing, and component polish to the repo design system, NOT to the wireframe.\n - **annotated-screenshot-of-existing-UI** → map ONLY the delta against the current UI; preserve everything outside the annotated region and do not reproduce the screenshot wholesale.\n - **unknown / low confidence** → fall back to the design-system floor rather than mapping pixels.\n\n **Hard rule:** strict/exact mapping depth is enabled ONLY for a confidently-classified full comp. Fail toward the design system, never toward reproducing an ambiguous image.\n\n7. **Research the codebase and map each region/element to concrete existing code.** Inspect the working tree (search, grep, file reads) for the existing UI implementation surfaces: reusable components, Jinja2 templates, plain CSS/SCSS tokens and design-system styles, routes, and reusable frontend patterns. Only cite files you actually inspected — do not invent file paths, component names, tokens, or routes. For each region/element of the comp, produce a `mappings[]` entry containing:\n - `region` — the comp region or element name.\n - `visual_description` — a short description of what it looks like.\n - `components` — mapped existing component file(s).\n - `templates` — mapped existing Jinja2 template(s).\n - `tokens` — style/token references (SCSS/CSS tokens or design-system styles).\n - `routes` — route reference(s) where the element lives or should wire.\n - `confidence` — confidence for this mapping.\n - `implementation_guidance` — concrete guidance (e.g. \"reuse component X\", \"extend template Y\", \"use token Z\", \"wire route R\").\n\n8. **Write the structured map to a stable schema.** Write `comp-analysis.json` at `{docs_dir}/idea-to-ticket/{slug}-{run_id}/comp-analysis.json` with these fields:\n - `applicable` — boolean; `true` only after a comp was both detected AND successfully opened.\n - `reason` — short string explaining the applicability decision.\n - `gate` — the two-condition gate evidence (`comp_referenced`, `design_ui_work`).\n - `comp` — provenance of the opened comp (source kind, path or `attachment_id`, filename, MIME type when known).\n - `fidelity_classification` — `{ class, confidence, reasoning }`, present only when `applicable` is true.\n - `mappings` — array of the per-region entries defined in step 7 (present only when `applicable` is true).\n - `design_system_floor` — the design-system fallback guidance to use for wireframe/unknown/low-confidence regions.\n - `warnings` — array of degraded-path notes (may be empty).\n - `writer_guidance` — instructions for the downstream drafting step: when `applicable` is `true`, Requirements must cite the mapped components/templates/tokens/routes as concrete implementation guidance; when `applicable` is `false` or the map is missing, the writer must ignore this artifact and mention no comp analysis, design comp, or visual-fidelity language unless the original request independently requires it.\n\n9. **Never over-write.** Write the artifact exactly once at the path above. Downstream steps (`draft-and-critique.md`) read it; do not move it.\n\n## Return\n\nConfirm the path written (`{docs_dir}/idea-to-ticket/{slug}-{run_id}/comp-analysis.json`), whether the analysis was `applicable`, the fidelity `class` when applicable, and any `warnings`.\n",
|
|
11
11
|
".bridge/procedures/gather-and-attach-materials-procedure.md": "Post-create materials-completeness step. Gather the phase-eligible local materials a freshly-created ticket references and attach them via `attachment` (operations: `\"list\"`, `\"upload\"`, `\"delete\"`), while recording everything that is record-only. This is the POST-CREATE half of the upload-time materials-completeness pass (BAPI-423, phase-tagged since BAPI-643); the PRE-CREATE half — inventorying and writing the `## Materials & Access` section into the draft — already ran in the `jira-ticket-writer` agent.\n\n## Inputs\n\n- `{ticket_number}` — the real Jira key of the already-created ticket (e.g. `BAPI-423`). Attachment is a POST-CREATE step; never attempt to attach before the key exists.\n- `{draft_file_path}` — path to the draft markdown that carries the trailing `## Materials & Access` section.\n- `{auto_approve_external}` — the unattended-vs-interactive signal (named for consistency with `upload-and-track.md`). **Polarity is counter-intuitive: `\"true\"` means UNATTENDED, which is the MORE restrictive mode here** — skip all prompts AND keep external/auth-gated materials record-only (never auto-attach them). It does NOT grant permission to attach external materials. Any other value (including `\"false\"`, missing, or empty) means an interactive invocation that MAY prompt for external/auth-gated materials. Invocations from `write-ticket`, `idea-to-pr`, and `/define-tickets` (attended or `--auto`) are always unattended (`\"true\"`) for this step, so it never prompts there.\n\n## Instructions\n\n> **Orchestrator-directed step.** This agent task is authorized to call `attachment` (operations: `list`, `upload`, `delete`) and `update_ticket_description` and `config_field` as directed below.\n\nBefore selecting tool behavior, call `config_field` once with `operation: \"get\"` and `field_name: \"ticket_backend_mode\"`. Only a positively recognized `local` selects the local branch; absent, null, unreadable, and unrecognized results retain Jira behavior.\n\n**Local branch:** read the draft's `## Materials & Access` record and retain every phase-tagged material, its sanitized path/reference, and its access limitation in the ticket description. Use `update_ticket_description` only if a record needs preserving or updating. Skip every attachment `list`, `upload`, and `delete` operation, including deduplication and supersession. Report the retained materials under **Local-only records**. Distinguish intentional local records from missing-access warnings; warn the plan owner about each access limitation that affects implementation. Redact secrets using step 9. Return after recording this outcome.\n\n**Unsupported-mode backstop:** only a terminal HTTP `409` with error `UNSUPPORTED_IN_LOCAL_MODE` from an attachment operation selects the same local-only reporting outcome. Stop subsequent attachment operations and preserve the record as above. All other errors retain step 10's existing handling.\n\n1. **Read the record.** Read `{draft_file_path}` and parse its trailing `## Materials & Access` section. Collect the inventoried items grouped under *Planning Assets*, *Downloadable Assets*, *Planning & Downloadable Assets* (each phase-eligible; present only when a material of that phase exists), *External/Auth-Gated Links*, and *Binary/Image Materials (Record-Only)*. If there is no `## Materials & Access` section, there is nothing to gather — return a no-op success.\n\n2. **Canonical phase-token mapping.** Every phase-eligible bullet maps to exactly one filename token:\n - *Planning Assets* → `planasset`\n - *Downloadable Assets* → `implasset`\n - *Planning & Downloadable Assets* → `bothasset`\n\n *External/Auth-Gated Links* and *Binary/Image Materials (Record-Only)* are **never** phase-tagged and are behaviorally unchanged by this step — they stay record-only, exactly as before.\n\n3. **Source classification (scheme-based, no network probe).** Honor the classification already recorded in the draft:\n - **Planning Assets / Downloadable Assets / Planning & Downloadable Assets** — a local filesystem path that is **NOT tracked in version control** is a **low-risk** material eligible for auto-attach — proceed to step 5. The pre-create inventory already excluded version-controlled files (source code and in-repo docs are already available in the repository and are never attached — they are cited inline as *Relevant code*). As a safety net, this step must **never attach a file that is available in version control**: if any phase-tagged item is a code file or otherwise clearly version-controlled, skip it and treat it as record-only. A bullet under *Planning & Downloadable Assets* recorded via an existing `attachment_id` (not a local file — e.g. a design comp already attached on this or another ticket) is **not** re-uploaded by this step; leave it recorded with its `attachment_id`/path so a later implementation agent can download it into its worktree via the Jira attachment download capability.\n - **External/Auth-Gated Links** (every `http(s)` URI, even if explicitly linked) are **record-only** on unattended paths. If `{auto_approve_external}` is `\"true\"` (or the invocation is from `write-ticket` / `idea-to-pr`), leave them record-only and never auto-attach. (Mind the polarity: `auto_approve_external = \"true\"` means we are in unattended mode, so external materials must stay record-only — `\"true\"` is NOT permission to attach them.) Only an explicitly interactive invocation (`auto_approve_external` is any non-`\"true\"` value) may prompt the user to confirm before attaching.\n - **Binary/Image Materials (Record-Only)** — ordinary/unrelated binaries (arbitrary screenshots, PDFs, ZIPs, and other binaries not design-relevant) stay **record-only** in this step; never attempt to upload them.\n\n4. **Deduplicate and detect stale phase reclassification.** Call the `attachment` MCP tool with `operation` set to `\"list\"` and `ticket_number` set to `{ticket_number}` BEFORE uploading anything, so a resumed or re-run invocation does not re-attach a material that is already present.\n - Compute each candidate's deterministic filename first (step 6), then compare the listed attachments by **`{ticket_number}/{hash}`** (the ticket prefix plus the 8-hex-char hash segment) against the phase-tagged filenames already on the ticket, using the exact grammar `{ticket}-{planasset|implasset|bothasset}-{hash}{ext}` — this comparison spans all three phase tokens for the same source.\n - If a listed attachment shares the same `{ticket_number}/{hash}` as a candidate but carries a **different phase token**, treat it as a **stale classification for the same source** — the material was reclassified to a different phase since it was last gathered.\n - If a listed attachment's filename **exactly matches** the candidate's newly computed filename (same ticket, same phase token, same hash, same extension), it is already attached — skip re-uploading it.\n - Legacy `{ticket_number}-material-{hash}{ext}` attachments (pre-BAPI-643) are a distinct, valid, untouched naming form — never treat them as stale phase-tagged attachments, and never delete or supersede them here.\n\n5. **Supersede a stale phase-tagged attachment before uploading the reclassified filename.** When step 4 identifies a stale same-source attachment under a different phase token:\n - Call the `attachment` MCP tool with `operation` set to `\"delete\"`, `ticket_number` set to `{ticket_number}`, and `file_name` set to the stale attachment's exact filename. This is a genuine removal (not `replace_existing`, which only matches an upload's *own* filename) — the stale filename differs from the new filename whenever the phase token changed, so `replace_existing` alone cannot supersede it.\n - **If the delete call fails** (or reports `deleted: false` for a reason other than \"already absent\" — e.g. a transient Jira error), **skip the replacement upload for that material entirely** this run, preserving the one-active-attachment invariant rather than leaving two phase-tagged copies of the same source live at once. Record the failure (see step 9) and continue with the next material; never halt the run.\n - **If the delete succeeds** (or the stale attachment was already absent), proceed to upload the newly classified filename in step 7.\n\n6. **Gather and size-tier each phase-eligible local material; compute deterministic filenames.**\n - For each phase-eligible local **text** material:\n - Read the local file from disk.\n - If the content exceeds **200,000 characters**, SKIP the upload and RECORD it (note the path and that it was skipped for size) — do not attach it.\n - If the content is **<= 200,000 characters**, upload it RAW via `attachment` (operation: `\"upload\"`). Do NOT summarize locally: the backend already summarizes attached text at plan time, so the size tiers are backend behavior this step defers to. The agent performs NO local summarization.\n - **Extension rule by phase**: a **planning-only** (`planasset`) text material normalizes to `.md` regardless of its original extension — the planner only needs prose content, not the original format. A **downloadable or both-phase** (`implasset`/`bothasset`) text material instead **preserves its lowercased original source extension** (e.g. `.json`, `.csv`, `.py`, `.yml`/`.yaml`) — the implementing agent needs the file back in its original, directly usable format. There is no blanket \"all text becomes `.md`\" rule; the extension is phase-dependent.\n - Use a deterministic, sanitized filename of the form `{ticket_number}-{phase-token}-{hash}{ext}` (using the `{ticket_number}` input from the Inputs section and the phase token from step 2), where `{hash}` is the first 8 lowercase hex characters of the SHA-256 digest of the sanitized absolute source path, and `{ext}` follows the extension rule above.\n - For each eligible local design/UI comp image (or other phase-tagged image, extension mapping to an allowlisted MIME type — `image/png`, `image/jpeg`, `image/webp`, `image/gif`), eligible for the allowlist-guarded binary upload path (distinct from the text upload path above):\n - Use a deterministic filename of the form `{ticket_number}-{phase-token}-{hash}{ext}`, where `{hash}` is computed the same way (first 8 lowercase hex characters of the SHA-256 digest of the sanitized absolute source path) and `{ext}` is the lowercased allowlisted source extension (`.png`, `.jpg`, `.jpeg`, `.webp`, `.gif`) — the existing image-extension behavior is unchanged by phase.\n - Pin the hash algorithm exactly (SHA-256, first 8 lowercase hex chars, of the sanitized absolute path) — do NOT substitute another hash — so the same source always maps to the same `{ticket}/{hash}` identity and the dedup/stale-detection in step 4 works across separate sessions, re-runs, and phase reclassification. Compute filenames before the step 4 dedup/stale comparison is applied. Keep the sanitized source provenance inside the text attachment body (not applicable to binary comp uploads), not only in the filename.\n\n7. **`attachment` upload parameter discipline (Zod).**\n - For text materials, call `attachment` with `operation: \"upload\"`, `ticket_number`, the deterministic phase-tagged attachment filename, and the text `content`.\n - For design comp image uploads, call `attachment` with `operation: \"upload\"`, `ticket_number`, `file_path` (the local source path), and `file_name` set to the deterministic phase-tagged comp filename from step 6 — pass `file_path` rather than reading and UTF-8-encoding the bytes yourself, so `resolveUploadAttachment()` performs binary detection, the MIME allowlist check, and base64 encoding. Never UTF-8-encode image bytes locally.\n - In both cases, OMIT the optional parameters `link_type` and `replace_existing` entirely when they are unused — do NOT pass `null` or empty strings for them. The Zod schemas reject `null`/empty values, so an unused optional parameter must be omitted rather than nulled.\n\n8. **Persist destination provenance after successful uploads (one batched update).** For every material successfully uploaded in this run, record a stable, sanitized mapping from its generated Jira filename to the bullet's original repository-relative destination path (as recorded in the draft's `## Materials & Access` section). Write these mappings as bulleted lines under a dedicated trailing `### Asset Destinations` subsection of `## Materials & Access`, one line per mapping, in the exact form:\n ```markdown\n ### Asset Destinations\n\n - `{jira-filename}` → `{original/repo/relative/destination.ext}`\n ```\n This is the canonical, machine-parsed contract consumed by `extract_asset_destination_paths()` (`api/agent_flows/code_writer/library/ticket_asset_lib.py`) — do not vary the arrow character (`→`), the backtick wrapping, or the bullet form. Append new mappings to this subsection (creating it if absent) rather than replacing prior mappings from earlier gather runs. Apply **all** of this run's successful-upload provenance updates in **one single batched call** to `update_ticket_description` — never one Jira description update per asset. If the provenance update call fails, **retain the original bullet unchanged** in the ticket description and record a non-blocking warning that the destination mapping could not be persisted; this does not fail the run, and the filename token itself is still enough for plan generation to classify the asset even without a fully actionable destination.\n\n9. **Redact secrets everywhere.** Before writing any URL or access note ANYWHERE — the Jira `## Materials & Access` record, any warning or final-report output, and any local intermediate file — sanitize and redact embedded credentials, SAS tokens, API keys, and basic-auth secrets using a high-visibility placeholder such as `[REDACTED_TOKEN]`. Mirror the backend `_redact_forge_fields()` / `_sanitize_jira_error_message()` patterns. A location/access note must never expose a plaintext secret.\n\n10. **Warn, never halt (error handling).** This step must NEVER halt, prompt-to-fail, or fail the overarching command because a material could not be gathered, attached, or superseded. Follow the warn-not-halt convention:\n - If an `attachment` upload call fails (or a file disappeared between inventory and upload), warn gracefully and continue with the next material.\n - If a stale-attachment `delete` call fails, skip only that material's replacement upload (step 5) and continue with the rest — never halt the run.\n - This includes design comp image uploads: an unsupported/disallowed MIME type, an oversize image (`> 10 MB`), a missing local file, a malformed upload payload, or a Jira upload failure must all be warned and skipped, never halting the run.\n - On such a post-create attach/delete failure, call `update_ticket_description` to record the failure in the issue's `## Materials & Access` record (the material became unavailable, or its stale copy could not be superseded, only after the issue existed). `update_ticket_description` is an existing MCP tool, not a backend change.\n - Everything knowable PRE-CREATE was already written into the description at create time, so `update_ticket_description` is reserved for these rarer post-create attach/delete/provenance failures. This complements the existing `partial_success` recording convention in `upload-and-track.md`.\n - Apply the step 9 redaction to every warning and recorded note.\n\n## Return\n\nConfirm the outcome, reporting each category **by its user-facing phase name and original path** (not by the internal filename token, which is implementation metadata): which Planning Assets, Downloadable Assets, and Planning & Downloadable Assets were attached (noting their deterministic Jira filenames for cross-reference only), which stale phase-tagged attachments were superseded (and which supersession attempts failed and were skipped), which materials were skipped/recorded as record-only (over-size text, external/auth-gated links, ordinary/unrelated binaries, or non-local design references), whether the destination-provenance batched update succeeded, any attach/delete/provenance failures recorded via `update_ticket_description`, and that no failure halted the run.\n",
|
|
12
12
|
".bridge/README.md": "# The `.bridge/` directory\n\nThis directory holds Bridge's files for this project. Bridge owns this README\nand refreshes it every time you run install or upgrade, so do not edit it.\n\n## What is in here\n\n| Path | What it is | Commit it? |\n|---|---|---|\n| `config` | Records the project identity. It has no secrets. | Yes |\n| `pipelines/` | Your own pipeline JSON files. | Yes |\n| `instructions/` | Your own instruction files used by pipelines. Bridge creates the directory empty and never writes files into it. | Yes |\n| `procedures/` | Bridge-owned procedures that commands read directly. | Yes |\n| `README.md` | This file. | Yes |\n| `install-state.json` | Machine-local install state. Git-ignored. | No |\n| `bridge-permissions.json` | Machine-local permission state. Git-ignored. | No |\n\n## Customizing pipelines\n\nA pipeline step can load an instruction file. If you put a file with the same\nname in `instructions/`, your file replaces the bundled instruction for the\npipelines that load that instruction.\n\nThis does not change the procedures in `procedures/`. Commands read those files\ndirectly, not through a pipeline, so an instruction override never reaches them.\n\n## Procedures\n\n`procedures/` holds command procedures that Bridge owns. Bridge refreshes them on\ninstall and upgrade. Do not edit them. There is no supported way to customize\nthese procedures today.\n\nOlder Bridge versions put these files under `docs/install/`. If you still have\ncopies there, they are old fallback copies. Bridge now reads `procedures/`\nfirst. You can delete the old copies once the new `procedures/` files are\ncommitted.\n\n## Moving the pipelines directory\n\n`BAPI_PIPELINES_DIR` moves the pipelines directory and its sibling instructions\ndirectory. It does not move `procedures/`, which always stays at\n`.bridge/procedures/`.\n\n## Committing and repair\n\nCommit this README and the files in `procedures/` so every teammate and every\nworktree has them. If a package-managed file goes missing, `repair-assets`\nrestores it without overwriting files that already exist.\n",
|
|
13
|
-
"docs/install/epic-implementer-install.md": "# Run your first epic with the Epic Implementer\n\nThe Epic Implementer takes a planned epic, hands each child ticket to an agent on your computer, waits for CI and review, and merges each child pull request into an `epic/<EPIC>` branch. A person merges the final pull request into your default branch.\n\nYou do four things, in this order: install, set up, define the epic, launch it. The same steps work with Bridge's own ticket storage and with Jira.\n\nIn every command below, `npx -y @bridge_gpt/mcp-server` is the launcher. Keep the `-y`; without it, `npx` stops to ask before it installs the package.\n\n## Prerequisites\n\nSetup 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.\n\n- **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`.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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>`.\n- **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`.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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>`.\n- **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.\n- **Conductor CI migration guard** (`server.conductor-ci-workflow`) — The CI workflow file `epic-implementer-ci.yml` is on the default branch and runs the migration guard where needed. Fix: Run setup, merge the setup pull request it opens, then run setup again.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **Claude login** (`install.claude-login`) — Claude Code is signed in on this computer. Fix: Run `claude` and sign in, then run setup again.\n- **Repository identity** (`install.identity`) — Bridge knows which repository this folder is. Fix: Run setup from the repository root, or pass `--repo <name>`.\n- **Bridge API credential** (`install.credential`) — A Bridge API key is stored for this repository. Fix: Run `npx -y @bridge_gpt/mcp-server install`.\n- **Server connectivity** (`install.connectivity`) — This computer can reach the Bridge server. Fix: Check your network and any `BAPI_BASE_URL` setting, then run setup again.\n- **Bootstrap config fields** (`install.bootstrap`) — The repository's Bridge configuration fields are filled in. Fix: Run `npx -y @bridge_gpt/mcp-server install`.\n- **Integration credentials** (`install.integrations`) — The integration credentials this repository uses, such as Jira or GitHub, are stored. Fix: Run `npx -y @bridge_gpt/mcp-server install`.\n- **GitHub connection** (`install.github`) — Bridge's GitHub App is connected to this repository. Fix: Run `npx -y @bridge_gpt/mcp-server connect-github`.\n- **Repository indexing** (`install.indexing`) — The repository has been indexed by Bridge. Fix: Run `/parse-repository`, or let setup queue the index.\n- **Conductor event ledger** (`conductor.ledger`) — The local Epic Implementer event ledger can be read. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Conductor git hooks** (`conductor.git-hooks`) — Optional: the git hooks that feed the local event ledger are installed. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer install-git-hooks`.\n- **Epic Implementer MCP profile** (`conductor.mcp-profile`) — The `epic_implementer` tool profile is on in your MCP host. Fix: Let setup add it (it asks first), then restart your MCP client.\n- **GitHub CLI availability** (`conductor.gh-cli`) — The GitHub CLI (`gh`) is installed and signed in. Fix: Install `gh` and run `gh auth login`.\n- **Configured merge credential** (`conductor.merge-credential`) — A GitHub token for merging child pull requests is available on this computer. Fix: Let setup store one (it asks first), or set `GITHUB_MERGE_TOKEN`.\n- **Native ledger binding** (`conductor.native-ledger`) — The ledger's native component loads on this computer. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Worker MCP registration form** (`conductor.mcp-registration-form`) — Workers register the Bridge tools in the form the executor expects. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Expected Node engine** (`conductor.node-engine`) — The Node.js version meets the package's engine range. Fix: Install a supported Node.js (18 or newer; 20 or newer for the git hooks).\n- **Deny-layer enforcement** (`conductor.deny-enforcement`) — Claude Code enforces the permission denials that keep workers inside the repository. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` to see why the check could not confirm it.\n- **Claude login** (`conductor.claude-login`) — Claude Code is signed in for the workers. Fix: Run `claude` and sign in, then run setup again.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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`.\n- **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.\n- **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.\n- **Epic Implementer ledger loadability** (`conductor.install-section-epic-implementer-ledger-loadability`) — The local ledger can be loaded by the tools that read it. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Launch evidence** (`server.admission-evidence`) — Bridge has the evidence it needs to admit a launch. Fix: Run setup, then launch again.\n- **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`.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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`.\n- **Epic branch CI coverage** (`server.epic-branch-ci-coverage-warning`) — Your CI covers pull requests into the epic branch. Fix: Add `epic/**` to the branches your CI workflow runs on.\n- **Additional readiness diagnostics** (`server.diagnostics`) — Extra readiness diagnostics from the server are clear. Fix: Read the diagnostic text; each names its own fix.\n- **Command versions** (`conductor.command-drift`) — The installed Epic Implementer commands match this package's version. Fix: Run `npx -y @bridge_gpt/mcp-server install` to refresh them.\n- **Escalation delivery** (`escalation-reachability`) — An escalation can actually be delivered. Fix: Verify your account email or fix the webhook, then run setup again.\n\n## 1. Install\n\nRun this once per project. Skip it when Bridge is already installed.\n\n```bash\nnpx -y @bridge_gpt/mcp-server install\n```\n\nIt writes this guide to `docs/install/epic-implementer-install.md` in your project. Run it again any time to refresh that file.\n\n## 2. Set up\n\nRun this once per repository, from the repository root, in your own terminal:\n\n```bash\nnpx -y @bridge_gpt/mcp-server install epic-implementer\n```\n\n`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\".\n\nWhen 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\".\n\n### View or change the test command\n\nSetup prints the stored test command on every run:\n\n```text\nTest command: `npm test` (stored). Change it with --test-command \"...\".\n```\n\nTo save or replace it, pass the command yourself:\n\n```bash\nnpx -y @bridge_gpt/mcp-server install epic-implementer --test-command \"npm run lint && npm run build\"\n```\n\nThe 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.\n\nTwo 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.\n\nDo not put a credential in the test command. Setup prints it, and the workflow file contains it.\n\n### What CI installs automatically\n\nThe 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.\n\n| Language | Dependency file, first match wins | What CI runs |\n| --- | --- | --- |\n| 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 |\n| Python | `uv.lock`, `poetry.lock`, `requirements.txt` | `uv sync` (frozen), `poetry install`, or `pip install` from `requirements.txt` |\n| Go | `go.mod` | Go is set up from `go.mod`. |\n\n- **Mixed repositories** get every language they have, in the order JavaScript, Python, Go.\n- **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.\n- **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.\n- **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.\n- **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.\n\n### When your command must be self-contained\n\nSome repositories get no automatic installation, and setup says so in plain words:\n\n- **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.\n- **Rust** uses the toolchain the CI runner already has. If that is not enough, install what you need inside the command.\n- **No lockfile, or a Make-only project**, shows as `none`: Bridge installs no dependencies, so the command must install them itself.\n\nA 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.\n\n### Recover from a stale CLI\n\nAn 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.\n\n1. 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.\n2. 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.\n3. Refresh the installed command files: `npx -y @bridge_gpt/mcp-server@latest install`.\n4. Run setup again: `npx -y @bridge_gpt/mcp-server@latest install epic-implementer`.\n5. 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.\n\n## 3. Define the epic\n\nIn Claude Code, run:\n\n```text\n/define-tickets\n```\n\nIt writes real child ticket keys, `epic-plan.dag.json`, and `epic-plan.meta.json`, then hands off to `/drive-epic-run`. The meta file is how the launch finds the plan from the epic key.\n\n## 4. Launch\n\nIn Claude Code, run:\n\n```text\n/drive-epic-run <EPIC> [<plan path>]\n```\n\nIt previews the launch, asks you once, creates the run through `drive-epic`, and drives the run to the end. From a shell, run the same launch yourself:\n\n```bash\nnpx -y @bridge_gpt/mcp-server drive-epic <EPIC>\n```\n\nAdd `--dry-run` for a read-only preview, or `--attended` to opt out of unattended merging. `drive-epic --help` lists the common options, and `drive-epic --help-advanced` lists the rest.\n\n## Advanced: the planner\n\n`/plan-epic` is the advanced planner. It writes placeholder `TBD-N` keys instead of real ones. You create the child tickets yourself, run `emit-epic-implementer-bundle finalize` to replace the placeholders and write the plan files, then run `/drive-epic-run`. Planning never creates or approves a run.\n\n## If something goes wrong\n\nEvery 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.\n# Uninstall / clean up\n\nInspect before removing local resources:\n\n```bash\nnpx -y @bridge_gpt/mcp-server executor uninstall-service\nnpx -y @bridge_gpt/mcp-server executor uninstall-service --executor-id builder-01 --dry-run\nepic-implementer uninstall-git-hooks --dry-run\nnpx -y @bridge_gpt/mcp-server worktrees\nnpx -y @bridge_gpt/mcp-server worktrees --prune --dry-run\n```\n\nRemove `--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`.\n\nHook 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.\n\nWorktree 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.\n\nFor 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`.\n\n## “Already checked out at” troubleshooting\n\nStart 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.\n\nFor 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.\n",
|
|
14
|
-
".bridge/procedures/install-bridge-conductor-gate.md": "# Repository gate: what the agent may and may not do\n\nThis note is for a coding agent helping a human run `install epic-implementer`\n(legacy `install conductor` and `install-bridge conductor` inputs remain accepted silently). It covers the **repository gate**: what must\npass before the Epic Implementer merges a child pull request.\n\nBridge copies this file into every installed project at\n`.bridge/procedures/install-bridge-conductor-gate.md`.\n\n## The one rule\n\n**You may explain gate candidates. You never confirm, clear, or write a gate.**\n\nThe gate decides what an unattended run may merge on its own. Only the\nrepository owner decides it. Concretely, you must not:\n\n- run `install epic-implementer` with `--confirm-gate`, `--clear-gate`,\n `--provider-check`, `--required-check`, `--local-command`, `--gate-none`,\n `--migration-guard`, or `--customized-command` on the human's behalf;\n- answer the installer's gate prompts (\"Gate members\", \"Store this repository\n gate?\", \"
|
|
13
|
+
"docs/install/epic-implementer-install.md": "# Run your first epic with the Epic Implementer\n\nThe Epic Implementer takes a planned epic, hands each child ticket to an agent on your computer, waits for CI and review, and merges each child pull request into an `epic/<EPIC>` branch. A person merges the final pull request into your default branch.\n\nYou do four things, in this order: install, set up, define the epic, launch it. The same steps work with Bridge's own ticket storage and with Jira.\n\nIn every command below, `npx -y @bridge_gpt/mcp-server` is the launcher. Keep the `-y`; without it, `npx` stops to ask before it installs the package.\n\n## Prerequisites\n\nSetup 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.\n\n- **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`.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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>`.\n- **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`.\n- **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.\n- **Provider default branch readable** (`server.provider-default-branch-readable`) — Bridge can read this repository's default branch from GitHub. Fix: Reconnect the GitHub App with `npx -y @bridge_gpt/mcp-server connect-github`, then run setup again.\n- **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.\n- **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.\n- **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.\n- **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>`.\n- **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.\n- **Conductor CI migration guard** (`server.conductor-ci-workflow`) — The CI workflow file `epic-implementer-ci.yml` is on the default branch and runs the migration guard where needed. Fix: Run setup, merge the setup pull request it opens, then run setup again.\n- **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.\n- **Escalation webhook reachable** (`server.escalation-webhook-reachable`) — A declared notify webhook answers Bridge's test request. Only checked for unattended runs that declare a webhook. Fix: Start or fix the notify sink so it answers with a 2xx status, or launch with `--attended`.\n- **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.\n- **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.\n- **Integration branch configured** (`server.integration-branch-unset`) — The repository has an integration branch set. This is a note only and never blocks a launch. Fix: Nothing is needed. Set the repository's base branch to clear the note.\n- **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.\n- **Claude login** (`install.claude-login`) — Claude Code is signed in on this computer. Fix: Run `claude` and sign in, then run setup again.\n- **Repository identity** (`install.identity`) — Bridge knows which repository this folder is. Fix: Run setup from the repository root, or pass `--repo <name>`.\n- **Bridge API credential** (`install.credential`) — A Bridge API key is stored for this repository. Fix: Run `npx -y @bridge_gpt/mcp-server install`.\n- **Server connectivity** (`install.connectivity`) — This computer can reach the Bridge server. Fix: Check your network and any `BAPI_BASE_URL` setting, then run setup again.\n- **Bootstrap config fields** (`install.bootstrap`) — The repository's Bridge configuration fields are filled in. Fix: Run `npx -y @bridge_gpt/mcp-server install`.\n- **Integration credentials** (`install.integrations`) — The integration credentials this repository uses, such as Jira or GitHub, are stored. Fix: Run `npx -y @bridge_gpt/mcp-server install`.\n- **GitHub connection** (`install.github`) — Bridge's GitHub App is connected to this repository. Fix: Run `npx -y @bridge_gpt/mcp-server connect-github`.\n- **Repository indexing** (`install.indexing`) — The repository has been indexed by Bridge. Fix: Run `/parse-repository`, or let setup queue the index.\n- **Conductor event ledger** (`conductor.ledger`) — The local Epic Implementer event ledger can be read. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Conductor git hooks** (`conductor.git-hooks`) — Optional: the git hooks that feed the local event ledger are installed. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer install-git-hooks`.\n- **Epic Implementer MCP profile** (`conductor.mcp-profile`) — The `epic_implementer` tool profile is on in your MCP host. Fix: Let setup add it (it asks first), then restart your MCP client.\n- **GitHub CLI availability** (`conductor.gh-cli`) — The GitHub CLI (`gh`) is installed and signed in. Fix: Install `gh` and run `gh auth login`.\n- **Configured merge credential** (`conductor.merge-credential`) — A GitHub token for merging child pull requests is available on this computer. Fix: Let setup store one (it asks first), or set `GITHUB_MERGE_TOKEN`.\n- **Native ledger binding** (`conductor.native-ledger`) — The ledger's native component loads on this computer. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Worker MCP registration form** (`conductor.mcp-registration-form`) — Workers register the Bridge tools in the form the executor expects. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Expected Node engine** (`conductor.node-engine`) — The Node.js version meets the package's engine range. Fix: Install a supported Node.js (18 or newer; 20 or newer for the git hooks).\n- **Deny-layer enforcement** (`conductor.deny-enforcement`) — Claude Code enforces the permission denials that keep workers inside the repository. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` to see why the check could not confirm it.\n- **Claude login** (`conductor.claude-login`) — Claude Code is signed in for the workers. Fix: Run `claude` and sign in, then run setup again.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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`.\n- **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.\n- **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.\n- **Epic Implementer ledger loadability** (`conductor.install-section-epic-implementer-ledger-loadability`) — The local ledger can be loaded by the tools that read it. Fix: Run `npx -y @bridge_gpt/mcp-server epic-implementer doctor` and follow what it prints.\n- **Launch evidence** (`server.admission-evidence`) — Bridge has the evidence it needs to admit a launch. Fix: Run setup, then launch again.\n- **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`.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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.\n- **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`.\n- **Epic branch CI coverage** (`server.epic-branch-ci-coverage-warning`) — Your CI covers pull requests into the epic branch. Fix: Add `epic/**` to the branches your CI workflow runs on.\n- **Additional readiness diagnostics** (`server.diagnostics`) — Extra readiness diagnostics from the server are clear. Fix: Read the diagnostic text; each names its own fix.\n- **Command versions** (`conductor.command-drift`) — The installed Epic Implementer commands match this package's version. Fix: Run `npx -y @bridge_gpt/mcp-server install` to refresh them.\n- **Escalation delivery** (`escalation-reachability`) — An escalation can actually be delivered. Fix: Verify your account email or fix the webhook, then run setup again.\n\n## 1. Install\n\nRun this once per project. Skip it when Bridge is already installed.\n\n```bash\nnpx -y @bridge_gpt/mcp-server install\n```\n\nIt writes this guide to `docs/install/epic-implementer-install.md` in your project. Run it again any time to refresh that file.\n\n## 2. Set up\n\nRun this once per repository, from the repository root, in your own terminal:\n\n```bash\nnpx -y @bridge_gpt/mcp-server install epic-implementer\n```\n\n`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\".\n\nWhen 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\".\n\n### View or change the test command\n\nSetup prints the stored test command on every run:\n\n```text\nTest command: `npm test` (stored). Change it with --test-command \"...\".\n```\n\nTo save or replace it, pass the command yourself:\n\n```bash\nnpx -y @bridge_gpt/mcp-server install epic-implementer --test-command \"npm run lint && npm run build\"\n```\n\nThe 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.\n\nTwo 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.\n\nDo not put a credential in the test command. Setup prints it, and the workflow file contains it.\n\n### What CI installs automatically\n\nThe 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.\n\n| Language | Dependency file, first match wins | What CI runs |\n| --- | --- | --- |\n| 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 |\n| Python | `uv.lock`, `poetry.lock`, `requirements.txt` | `uv sync` (frozen), `poetry install`, or `pip install` from `requirements.txt` |\n| Go | `go.mod` | Go is set up from `go.mod`. |\n\n- **Mixed repositories** get every language they have, in the order JavaScript, Python, Go.\n- **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.\n- **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.\n- **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.\n- **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.\n\n### When your command must be self-contained\n\nSome repositories get no automatic installation, and setup says so in plain words:\n\n- **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.\n- **Rust** uses the toolchain the CI runner already has. If that is not enough, install what you need inside the command.\n- **No lockfile, or a Make-only project**, shows as `none`: Bridge installs no dependencies, so the command must install them itself.\n\nA 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.\n\n### Recover from a stale CLI\n\nAn 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.\n\n1. 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.\n2. 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.\n3. Refresh the installed command files: `npx -y @bridge_gpt/mcp-server@latest install`.\n4. Run setup again: `npx -y @bridge_gpt/mcp-server@latest install epic-implementer`.\n5. 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.\n\n## 3. Define the epic\n\nIn Claude Code, run:\n\n```text\n/define-tickets\n```\n\nIt writes real child ticket keys, `epic-plan.dag.json`, and `epic-plan.meta.json`, then hands off to `/drive-epic-run`. The meta file is how the launch finds the plan from the epic key.\n\n## 4. Launch\n\nIn Claude Code, run:\n\n```text\n/drive-epic-run <EPIC> [<plan path>]\n```\n\nIt previews the launch, asks you once, creates the run through `drive-epic`, and drives the run to the end. From a shell, run the same launch yourself:\n\n```bash\nnpx -y @bridge_gpt/mcp-server drive-epic <EPIC>\n```\n\nAdd `--dry-run` for a read-only preview, or `--attended` to opt out of unattended merging. `drive-epic --help` lists the common options, and `drive-epic --help-advanced` lists the rest.\n\n## Advanced: the planner\n\n`/plan-epic` is the advanced planner. It writes placeholder `TBD-N` keys instead of real ones. You create the child tickets yourself, run `emit-epic-implementer-bundle finalize` to replace the placeholders and write the plan files, then run `/drive-epic-run`. Planning never creates or approves a run.\n\n## If something goes wrong\n\nEvery 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.\n# Uninstall / clean up\n\nInspect before removing local resources:\n\n```bash\nnpx -y @bridge_gpt/mcp-server executor uninstall-service\nnpx -y @bridge_gpt/mcp-server executor uninstall-service --executor-id builder-01 --dry-run\nepic-implementer uninstall-git-hooks --dry-run\nnpx -y @bridge_gpt/mcp-server worktrees\nnpx -y @bridge_gpt/mcp-server worktrees --prune --dry-run\n```\n\nRemove `--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`.\n\nHook 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.\n\nWorktree 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.\n\nFor 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`.\n\n## “Already checked out at” troubleshooting\n\nStart 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.\n\nFor 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.\n",
|
|
14
|
+
".bridge/procedures/install-bridge-conductor-gate.md": "# Repository gate: what the agent may and may not do\n\nThis note is for a coding agent helping a human run `install epic-implementer`\n(legacy `install conductor` and `install-bridge conductor` inputs remain accepted silently). It covers the **repository gate**: what must\npass before the Epic Implementer merges a child pull request.\n\nBridge copies this file into every installed project at\n`.bridge/procedures/install-bridge-conductor-gate.md`.\n\n## The one rule\n\n**You may explain gate candidates. You never confirm, clear, or write a gate.**\n\nThe gate decides what an unattended run may merge on its own. Only the\nrepository owner decides it. Concretely, you must not:\n\n- run `install epic-implementer` with `--confirm-gate`, `--clear-gate`,\n `--provider-check`, `--required-check`, `--local-command`, `--gate-none`,\n `--migration-guard`, or `--customized-command` on the human's behalf;\n- answer the installer's gate prompts (\"Gate members\", \"Store this repository\n gate?\", \"Clear the confirmed repository gate?\");\n- call the gate-profile API (`PUT .../supervisor-setup/gate-profile/`) yourself.\n\nThese commands ask questions on a terminal. A shell you run has no terminal, so\nthe installer treats every question as \"no\" and stores nothing. Ask the human to\nrun them in their own terminal, then read what they paste back.\n\n## What a gate can be\n\n| Kind | What gates each child merge |\n|---|---|\n| `provider` | Named checks a CI provider reports (GitHub Actions, or any external CI that reports a check run or commit status). |\n| `local` | Commands the executor runs itself on the merge head. |\n| `mixed` | Both: every provider check AND every local command. |\n| `none` | Nothing. An unattended run is still admitted, but every child merge waits for approval. |\n\n## How the installer proposes a gate\n\nWith no gate flags and no confirmed gate stored, the installer prints a\n**Proposed repository gate** section. It comes from a deterministic scan of the\nworking tree plus the provider's real check history. It never guesses:\n\n- A provider check is proposed only when that exact name has actually reported\n on a recent default-branch commit or merged pull request.\n- A matrix job's reported name includes its matrix values, so it is listed as\n \"name may vary\" and never proposed. The human can type the exact reported\n name at the prompt.\n- CircleCI, Jenkins, and Buildkite configuration and Git hooks are evidence\n only. Hooks are never run as gate commands.\n- Local candidates come from `package.json` scripts, `Makefile` targets, and the\n Python test configuration. They run as plain argument lists, never through a\n shell.\n- \"Provider history unavailable\" means unknown, not absent. Say so plainly.\n- An empty repository gets an explicit `none` proposal.\n\nDiscovery saves nothing. A gate is stored only after the human confirms it.\n\n## How to help\n\n1. Read the proposal with the human. Explain each candidate's evidence and what\n the gate kind means for unattended merges.\n2. If they want a check that has not reported yet, tell them admission refuses\n it until it really reports, so they should run CI once.\n3. If the stored gate is shown beside a proposal that removes members, point out\n the removals. Fewer members means unattended runs merge with fewer checks.\n Gate flags the human typed are their consent, so setup applies a removal\n without asking a removal question. After applying, setup reports the removed\n members and restoration guidance, including a restore command when one can be\n written safely. Read that back to the human.\n4. For a `local` or `mixed` gate, the commands must pass once under the\n executor before an unattended run is admitted. The installer offers this\n (\"Qualify gate now?\"). Later, the human runs\n `npx -y @bridge_gpt/mcp-server install epic-implementer --qualify-gate`.\n A failed qualification does not fail the install. The gate simply stays\n unqualified, and readiness shows `local_command_unqualified` until a run\n passes.\n5. If the installer prints \"Bridge API update required\", the Bridge API server\n is too old to store a gate. Nothing was written. Tell the human; do not look\n for a workaround.\n\n## Combined setup policy (BAPI-1567)\n\nThe final selected checks must be identical in proposal, comparison, consent,\natomic application, coherent read-back, and reporting. Managed CI is included\nbefore display unless explicit gate input supplies the complete selection.\nPurpose, evidence, named options, concrete consequences, and deferral/recovery\nmust precede consequential owner consent. Install invocation authorizes only\nroutine effects after trust checks. A reported name proves reporting, not test\ncoverage or reliability; failed/unseen/unavailable evidence remains visible.\n\nConverging setup uses `bridge.setup-policy.v1` preview/apply/read-back. Unsupported\nservers defer coupled writes, with no sequential legacy fallback. A stale\npreview requires fresh effects and a new answer; uncertain writes are read back\nonce and never blindly retried. Enter/EOF/no terminal defer. This supersedes\nper-write-consent guidance for routine effects; owner authorization for gate\nchanges, qualification execution, credentials, services, and replacement remains.\n\n## Repeat installation and identity preservation\n\nRun `npx -y @bridge_gpt/mcp-server install` to refresh an existing installation.\nThe installer reads project and host identity before onboarding. A saved credential\ncan resume the installed project without another token prompt. Equal credentials\nare a no-op. A different candidate is validated before an explained replacement\nquestion; refusal, EOF, and noninteractive input preserve the installed identity.\nGeneric `--force` is not credential replacement or endpoint transfer permission.\n\nProduction is the default destination and is displayed without another URL\nconfirmation. Explicit development destinations require credentials authorized for\nthat endpoint. Credential-store read and parse failures require repair; they do\nnot select signup. To stop a declined environment candidate from recurring, unset\n`BAPI_API_KEY` in future shells. Secret values never belong in diagnostic output.\nDry-run previews defer credential validation and authorization and do not read\ncredentials, write notes, or persist preferences.\n\nRepeat installation preserves valid tool selections and optimization posture.\nIndependent completed maintenance is retained when an optional replacement or\nlaunch is declined. Operational failures and blocked requested capabilities return\nstatus 1; completed maintenance with a usable retained identity returns status 0.\n\nEpic Implementer setup uses `npx -y @bridge_gpt/mcp-server install epic-implementer`.\nIt requires a supported github.com repository, GitHub CLI sign-in, and Claude Code\nsign-in before dependent mutations. Fix the prerequisite and rerun setup; general\nBridge maintenance remains available. Local token removal does not require a new\nnetwork sign-in.\n\nAgent notes are planned by canonical physical target. Shared AGENTS.md/CLAUDE.md\nfiles receive full guidance once. Valid marker lines and unowned bytes survive;\nbroken links, outside-root targets, malformed regions, and stale observations are\nrefused. Existing files are updated in place to preserve links. A separate Claude\npointer waits for canonical guidance. These checks cover ordinary concurrent\nchanges and do not claim a transactional or adversarial filesystem guarantee.\n\n## Return\n\nReport back to the human in plain words: the gate the installer proposed or\nstored, its kind, any removals it showed, and the qualification state it\nreported. Never report a gate as confirmed or qualified unless the installer's\nown output said so.\n"
|
|
15
15
|
};
|
|
16
16
|
export const DOC_METADATA = {
|
|
17
17
|
"docs/mcp-tool-integrations.md": {
|
package/build/doctor.js
CHANGED
|
@@ -47,6 +47,7 @@ import { CONDUCTOR_DEFAULT_BASE_URL, resolveConductorBridgeApiAccess } from "./c
|
|
|
47
47
|
import { validateHttpBaseUrl } from "./base-url.js";
|
|
48
48
|
import { getLiveRepositoryConductors, getParseDispatcherHealth, } from "./epic-shared/bridge-client.js";
|
|
49
49
|
import { resolveRequiredStartTicketsRepoName } from "./start-tickets-repo.js";
|
|
50
|
+
import { collectMcpGrantDiagnostic, formatMcpGrantDiagnosticReport, } from "./mcp-grant-doctor.js";
|
|
50
51
|
import { collectWorkerContainmentDiagnostic, formatWorkerContainmentDiagnosticReport, } from "./worker-containment-diagnostic.js";
|
|
51
52
|
import { BRIDGE_PACKAGE_NAME, describeLauncherReason, DUPLICATE_REGISTRATION_GUIDANCE, inspectLauncherConfigs, isExactVersion, isPrerequisiteFailure, parseLauncherPin as parseSharedLauncherPin, } from "./launcher-config-inspection.js";
|
|
52
53
|
import { MCP_SERVER_NAME, MCP_PACKAGE_NAME, } from "./mcp-identity.js";
|
|
@@ -172,10 +173,18 @@ export function getDoctorUsage() {
|
|
|
172
173
|
"It reads no install-state file, writes nothing, runs no launchctl/systemctl, and",
|
|
173
174
|
"is advisory: missing, malformed, or credential-less units never change the exit code.",
|
|
174
175
|
"",
|
|
176
|
+
"It also includes an advisory 'Worker MCP grant' section: whether this",
|
|
177
|
+
"repository has an owner-approved MCP grant (present, absent, or unusable),",
|
|
178
|
+
"the granted server names, and a warning when the grant file's mode is wider",
|
|
179
|
+
"than 0600. It reads and stats only the grant file under ~/.config/bridge,",
|
|
180
|
+
"never prints a command, argument, or secret, writes nothing, and never",
|
|
181
|
+
"changes the exit code.",
|
|
182
|
+
"",
|
|
175
183
|
"It also includes an advisory '/drive-epic-run permission rules' section",
|
|
176
184
|
"whether the project permissions.allow rules and the optional user",
|
|
177
|
-
"autoMode entries (added
|
|
178
|
-
"subcommand, never by install
|
|
185
|
+
"autoMode entries (the run's sandbox description, added only by you running",
|
|
186
|
+
"the bridge-permissions subcommand, never by install or by /drive-epic-run)",
|
|
187
|
+
"are PRESENT, MISSING, or DRIFTED (for",
|
|
179
188
|
"example after the BAPI_MCP_CLI launcher changed). It reads .claude/settings.local.json,",
|
|
180
189
|
"~/.claude/settings.json, and .bridge/bridge-permissions.json, writes nothing,",
|
|
181
190
|
"and never changes the exit code.",
|
|
@@ -773,6 +782,18 @@ export async function inspectLauncherCache(deps) {
|
|
|
773
782
|
});
|
|
774
783
|
continue;
|
|
775
784
|
}
|
|
785
|
+
if (found.action === "skip-local-build") {
|
|
786
|
+
// BAPI-1636: `node <abs>/build/index.js` runs a local build directly. Like
|
|
787
|
+
// the shim, there is no published-package pin to compare or warm.
|
|
788
|
+
inspections.push({
|
|
789
|
+
relPath,
|
|
790
|
+
spec,
|
|
791
|
+
pinnedVersion: null,
|
|
792
|
+
state: "indeterminate",
|
|
793
|
+
remediation: "local build — this registration launches a local build directly, so no published-package pin applies.",
|
|
794
|
+
});
|
|
795
|
+
continue;
|
|
796
|
+
}
|
|
776
797
|
if (found.action === "normalize-unpinned") {
|
|
777
798
|
inspections.push({
|
|
778
799
|
relPath,
|
|
@@ -1867,7 +1888,7 @@ export function formatBridgePermissionsDiagnosticReport(inspection) {
|
|
|
1867
1888
|
else {
|
|
1868
1889
|
lines.push(...formatPermissionScope("project permissions.allow", inspection.project));
|
|
1869
1890
|
}
|
|
1870
|
-
lines.push(...formatPermissionScope("user autoMode entries", inspection.user, `Optional
|
|
1891
|
+
lines.push(...formatPermissionScope("user autoMode entries", inspection.user, `Optional, owner-run: to let Claude Code's auto mode recognize the run's own work, run \`npx -y ${MCP_PACKAGE_NAME} bridge-permissions --user-consented\` in your own terminal. Doctor writes nothing.`));
|
|
1871
1892
|
const healthy = inspection.project.state === "present" && inspection.user.state === "present";
|
|
1872
1893
|
if (!healthy) {
|
|
1873
1894
|
lines.push(` To repair the project rules: re-run \`npx -y ${MCP_PACKAGE_NAME} install\` in a terminal (it lists every rule it writes).`);
|
|
@@ -2232,6 +2253,36 @@ export async function runDoctorCli(argv, overrides = {}) {
|
|
|
2232
2253
|
/* permission-rule diagnostics are advisory; never block the doctor report */
|
|
2233
2254
|
}
|
|
2234
2255
|
}
|
|
2256
|
+
// BAPI-1545 worker MCP grant section. Read-only (one read and one stat of the
|
|
2257
|
+
// grant file under ~/.config/bridge), advisory, never the exit code.
|
|
2258
|
+
if (overrides.mcpGrant !== false) {
|
|
2259
|
+
try {
|
|
2260
|
+
const injected = deps;
|
|
2261
|
+
const grantOverrides = overrides.mcpGrant ?? {};
|
|
2262
|
+
const grantReadFile = grantOverrides.readFile ?? injected.readFile ?? ((p) => readFile(p, "utf-8"));
|
|
2263
|
+
let repoName = grantOverrides.repoName ?? null;
|
|
2264
|
+
if (grantOverrides.repoName === undefined) {
|
|
2265
|
+
try {
|
|
2266
|
+
const resolved = await resolveRequiredStartTicketsRepoName({ env: deps.env, cwd: deps.cwd, readFile: grantReadFile });
|
|
2267
|
+
repoName = resolved.ok ? resolved.repoName : null;
|
|
2268
|
+
}
|
|
2269
|
+
catch {
|
|
2270
|
+
repoName = null;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
log(formatMcpGrantDiagnosticReport(await collectMcpGrantDiagnostic({
|
|
2274
|
+
env: grantOverrides.env ?? deps.env,
|
|
2275
|
+
homedir: grantOverrides.homedir ?? injected.homedir ?? os.homedir,
|
|
2276
|
+
readFile: grantReadFile,
|
|
2277
|
+
stat: grantOverrides.stat ?? ((p) => stat(p)),
|
|
2278
|
+
platform: grantOverrides.platform ?? process.platform,
|
|
2279
|
+
repoName,
|
|
2280
|
+
})));
|
|
2281
|
+
}
|
|
2282
|
+
catch {
|
|
2283
|
+
/* the grant section is advisory; never block the doctor report */
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2235
2286
|
// Worker containment advisory section (BAPI-1019/A.7). Placed beside the other
|
|
2236
2287
|
// advisory sections and, uniquely, issuing NO probe of any kind — no command,
|
|
2237
2288
|
// no file read, no network call. That is what keeps doctor's "an unsupported
|
package/build/drive-epic-help.js
CHANGED
|
@@ -37,6 +37,16 @@ export function getDriveEpicUsage() {
|
|
|
37
37
|
"finalize` writes them for a plan from /plan-epic. A supplied --plan-file",
|
|
38
38
|
"always wins.",
|
|
39
39
|
"",
|
|
40
|
+
"A missing plan is built: when no meta file names the epic and the epic has",
|
|
41
|
+
"no live run, drive-epic builds the plan from the epic's stored children, with",
|
|
42
|
+
"fixed rules and no model. Every node is a current child; order comes from the",
|
|
43
|
+
"epic's ordered child manifest, else ticket-key order; a child whose files are",
|
|
44
|
+
"unknown makes the whole plan run one child at a time. --dry-run builds it in",
|
|
45
|
+
"memory and writes nothing. A real launch rebuilds it and saves it to",
|
|
46
|
+
"{docs_dir}/epic-plans/<epic-key>-generated/ before the run is created. If it",
|
|
47
|
+
"cannot be built, the stop names a fixed reason and keeps the /plan-epic",
|
|
48
|
+
"guidance. Delete that folder to return to the missing-plan behavior.",
|
|
49
|
+
"",
|
|
40
50
|
"Branch strategy: a plan with two or more nodes defaults to a dedicated",
|
|
41
51
|
"epic/<KEY> branch. Child PRs target it, and one draft integration PR targets",
|
|
42
52
|
"the repository base branch. The flags below only override that default.",
|
|
@@ -70,6 +80,11 @@ export function getDriveEpicUsage() {
|
|
|
70
80
|
" --feature-branch.",
|
|
71
81
|
" --attended Opt out of the unattended default. Forwarded verbatim to",
|
|
72
82
|
" setup, which owns what it composes.",
|
|
83
|
+
" --parallel <1-4> Request how many independent children an UNATTENDED run may",
|
|
84
|
+
" run at once. Applies to a NEW run only. Omitted, the choice",
|
|
85
|
+
" is left to the server. Refused with --attended or",
|
|
86
|
+
" --into-base. A run-scoped executor started here serves",
|
|
87
|
+
" that many jobs at a time.",
|
|
73
88
|
"",
|
|
74
89
|
"Policy (forwarded verbatim; drive-epic interprets none of it):",
|
|
75
90
|
" --policy-file <path> JSON file holding the COMPLETE run policy.",
|
|
@@ -100,7 +115,8 @@ export function getDriveEpicUsage() {
|
|
|
100
115
|
"",
|
|
101
116
|
"Already-merged children: when a NEW run is created, drive-epic leaves out plan",
|
|
102
117
|
"children that are provably already merged. A child with a merged PR but no",
|
|
103
|
-
"delivery record is only 'probably done'
|
|
118
|
+
"delivery record is only 'probably done'; it runs automatically, and launch asks",
|
|
119
|
+
"nothing about it. Pass --skip-child to leave it out.",
|
|
104
120
|
"Anything uncertain runs. Skipped children are recorded for audit only.",
|
|
105
121
|
" --keep-child <KEY> Repeatable. Run this child even if it is already merged.",
|
|
106
122
|
" --skip-child <KEY> Repeatable. Leave this child out. Refused unless the",
|
|
@@ -187,7 +203,10 @@ export function getDriveEpicAdvancedUsage() {
|
|
|
187
203
|
"BAPI_EPIC_LAUNCH_PROFILE selects a host-local launch profile for epic",
|
|
188
204
|
"launches. --launch-profile takes precedence. For an environment-selected",
|
|
189
205
|
"profile, BAPI_BASE_URL remains the general CLI endpoint and does not",
|
|
190
|
-
"conflict with the epic launch target; --base-url still must agree.",
|
|
206
|
+
"conflict with the epic launch target; --base-url still must agree. The",
|
|
207
|
+
"Epic Implementer verbs (wait-run, approve, state reads, recovery verbs, and",
|
|
208
|
+
"prerequisite-inputs lookup) also follow that profile; other CLIs keep",
|
|
209
|
+
"BAPI_BASE_URL.",
|
|
191
210
|
"Without either, BAPI_BASE_URL is used. With none of the three, drive-epic",
|
|
192
211
|
`targets production (${CONDUCTOR_DEFAULT_BASE_URL}) and uses the`,
|
|
193
212
|
"stored bapi:<repo> key when one is available. A stored key approved for a",
|