@bridge_gpt/mcp-server 0.2.72 → 0.2.74
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 +15 -0
- package/build/agents.generated.js +6 -6
- package/build/bridge-config.js +7 -1
- package/build/bridge-permissions.js +30 -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/command-provisioning.js +4 -3
- package/build/commands.generated.js +7 -6
- package/build/conductor/bridge-api-client.js +867 -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 +48 -1
- package/build/conductor/declare-blocked.js +554 -0
- package/build/conductor/declared-extras.js +335 -0
- package/build/conductor/doctor.js +108 -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-pass-output.js +104 -0
- package/build/conductor/driver-pass.js +571 -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 +281 -43
- package/build/conductor/epic-implementer-cli.js +199 -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-upload.js +1567 -0
- package/build/conductor/epic-server-sfcc.js +85 -0
- package/build/conductor/epic-server-state.js +427 -0
- package/build/conductor/epic-server.js +647 -0
- package/build/conductor/gate-discovery.js +196 -11
- package/build/conductor/gate-settings-review.js +261 -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-delivery.js +280 -0
- package/build/credential-launch-safety.js +142 -0
- package/build/credential-materialization.js +91 -16
- package/build/credential-references-node-deps.js +29 -0
- package/build/credential-references.js +1394 -0
- package/build/credential-references.test-fixtures.js +211 -0
- package/build/credential-scan-conventions.js +145 -0
- package/build/credential-scan.js +517 -0
- package/build/credential-store.js +121 -1
- package/build/credentials-cli.js +252 -3
- package/build/dependency-install-declarations.js +102 -1
- package/build/docs.generated.js +10 -3
- package/build/doctor.js +95 -3
- package/build/drive-epic-help.js +21 -2
- package/build/drive-epic.js +2095 -375
- package/build/engine-paths.js +20 -0
- package/build/epic-branch-ci-summary.js +157 -0
- package/build/epic-capability-statement.js +175 -0
- package/build/epic-ci-workflow-drift.js +77 -23
- package/build/epic-ci-workflow-install.js +137 -44
- package/build/epic-ci-workflow-v2.js +274 -0
- package/build/epic-ci-workflow-v3.js +273 -0
- package/build/epic-ci-workflow.js +165 -18
- package/build/epic-implementer-bin.js +2204 -56
- package/build/epic-launch-context.js +702 -0
- package/build/epic-server-record.js +288 -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/credential-delivery-step.js +168 -0
- package/build/executor/deps.js +3 -1
- package/build/executor/env.js +98 -23
- package/build/executor/epic-server-context.js +157 -0
- package/build/executor/gate-qualification-job.js +127 -26
- package/build/executor/guarded-fast-forward-push.js +13 -8
- package/build/executor/http-client.js +52 -5
- package/build/executor/job-runner.js +577 -81
- package/build/executor/observation.js +8 -0
- package/build/executor/permissions.js +85 -3
- package/build/executor/pre-pr-checks.js +363 -0
- package/build/executor/prompt-spec.js +149 -3
- 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 +58 -4
- package/build/generated-assets-catalog.js +2 -2
- package/build/git-exclude-lock.js +187 -0
- package/build/index.js +824 -366
- package/build/init.js +26 -11
- package/build/install-bridge-conductor-answers.js +528 -0
- package/build/install-bridge-conductor-apply.js +288 -0
- package/build/install-bridge-conductor-assessment.js +1222 -0
- package/build/install-bridge-conductor-compact.js +186 -0
- package/build/install-bridge-conductor-contracts.js +72 -0
- package/build/install-bridge-conductor-gate.js +1312 -198
- package/build/install-bridge-conductor-setup.js +577 -83
- package/build/install-bridge-conductor.js +3381 -544
- package/build/install-bridge.js +280 -25
- package/build/install-doctor.js +38 -8
- package/build/install-maintenance.js +26 -3
- package/build/install-sfcc-detection.js +120 -0
- package/build/install-sfcc-setup.js +185 -0
- package/build/launcher-config-inspection.js +162 -1
- package/build/mcp-grant-candidates.js +779 -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 +292 -15
- package/build/mcp-presets.js +107 -0
- package/build/mcp-provisioning.js +155 -6
- package/build/mcp-registration-doctor.js +31 -2
- package/build/mcp-server-invocation.js +19 -1
- package/build/merge-workflow-install.js +243 -110
- package/build/pipelines.generated.js +7 -6
- 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/status.js +8 -2
- package/build/plane/terminal-run-cleanup.js +18 -4
- package/build/printed-remedy-commands.js +211 -12
- package/build/project-root.js +40 -0
- 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 +41 -0
- package/build/repository-toolchains.js +6 -3
- package/build/run-unit-tests-launcher.js +8 -1
- package/build/setup-epic.js +1305 -210
- package/build/setup-progress.js +44 -0
- package/build/setup-question.js +122 -4
- package/build/sfcc/credentials.js +3 -2
- package/build/sfcc/hostname.js +98 -2
- package/build/sfcc/tool-wrapper.js +6 -95
- package/build/start-tickets.js +193 -29
- package/build/test-support/executor-source-files.js +200 -0
- package/build/testing-config-client.js +25 -2
- package/build/third-party-mcp-targets.js +63 -2
- 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/build/with-credentials.js +208 -0
- package/build/worktree-credential-delivery.js +340 -0
- 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
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BAPI-1653 — compact views of the install document.
|
|
3
|
+
*
|
|
4
|
+
* Pure projections of the one assembled `InstallAssessmentV2`. They choose which
|
|
5
|
+
* fields to show and write plain reasons from data already in the document. They
|
|
6
|
+
* read no files, resolve no credentials, decide no policy, and never recompute
|
|
7
|
+
* the digest.
|
|
8
|
+
*
|
|
9
|
+
* Schema note. These compact fields were added without changing any earlier field:
|
|
10
|
+
* `verdict`, `ready`, and `merge_test_protection` (BAPI-1678), and
|
|
11
|
+
* `missing_learned_fields` (BAPI-1680). The compact proposal also gained
|
|
12
|
+
* `merge_test_protection`, `disclosure`, and `gate_effect_lines` (BAPI-1678).
|
|
13
|
+
* `INSTALL_ASSESSMENT_SCHEMA_VERSION` stays 2, because every change is additive.
|
|
14
|
+
*/
|
|
15
|
+
function compactChoice(choice) {
|
|
16
|
+
return {
|
|
17
|
+
answer_key: choice.answer_key,
|
|
18
|
+
question: choice.question,
|
|
19
|
+
applicable: choice.applicable,
|
|
20
|
+
selection: choice.selection,
|
|
21
|
+
options: choice.options,
|
|
22
|
+
recommended: choice.recommended,
|
|
23
|
+
why_recommended: choice.why_recommended,
|
|
24
|
+
consequential: choice.consequential,
|
|
25
|
+
current: choice.current,
|
|
26
|
+
...(choice.earlier_answer !== undefined ? { earlier_answer: choice.earlier_answer } : {}),
|
|
27
|
+
...(choice.excluded !== undefined ? { excluded: choice.excluded } : {}),
|
|
28
|
+
...(choice.invalid_existing !== undefined ? { invalid_existing: choice.invalid_existing } : {}),
|
|
29
|
+
...(choice.dependency_install !== undefined ? { dependency_install: choice.dependency_install } : {}),
|
|
30
|
+
...(choice.credential_references !== undefined ? { credential_references: choice.credential_references } : {}),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function compactItems(document) {
|
|
34
|
+
return document.items.map((item) => ({
|
|
35
|
+
id: item.id,
|
|
36
|
+
label: item.label,
|
|
37
|
+
state: item.state,
|
|
38
|
+
blocking: item.blocking,
|
|
39
|
+
fix: item.fix,
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
function compactStop(document) {
|
|
43
|
+
return {
|
|
44
|
+
outcome: document.outcome,
|
|
45
|
+
exitCode: document.exitCode,
|
|
46
|
+
...(document.namedOutcome !== undefined ? { namedOutcome: document.namedOutcome } : {}),
|
|
47
|
+
items: compactItems(document),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function buildCompactAssessment(document) {
|
|
51
|
+
const items = compactItems(document);
|
|
52
|
+
return {
|
|
53
|
+
view: "compact",
|
|
54
|
+
schemaVersion: document.schemaVersion,
|
|
55
|
+
outcome: document.outcome,
|
|
56
|
+
exitCode: document.exitCode,
|
|
57
|
+
dryRun: document.dryRun,
|
|
58
|
+
...(document.namedOutcome !== undefined ? { namedOutcome: document.namedOutcome } : {}),
|
|
59
|
+
...(document.advisoryVerdict !== undefined ? { advisoryVerdict: document.advisoryVerdict } : {}),
|
|
60
|
+
...(document.missing_learned_fields !== undefined
|
|
61
|
+
? { missing_learned_fields: document.missing_learned_fields }
|
|
62
|
+
: {}),
|
|
63
|
+
items,
|
|
64
|
+
choices: document.choices.map(compactChoice),
|
|
65
|
+
repository_facts: document.repository_facts,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/** The option id (or ids) a normalized decision stands for, or null when it names none. */
|
|
69
|
+
function selectedValue(decision) {
|
|
70
|
+
switch (decision.kind) {
|
|
71
|
+
case "option":
|
|
72
|
+
return decision.option;
|
|
73
|
+
case "decline":
|
|
74
|
+
return "decline";
|
|
75
|
+
case "selection":
|
|
76
|
+
return [...decision.ids].sort();
|
|
77
|
+
case "reference":
|
|
78
|
+
return "reference";
|
|
79
|
+
case "epic_server_sfcc":
|
|
80
|
+
return decision.value.mode;
|
|
81
|
+
case "profile":
|
|
82
|
+
return "save";
|
|
83
|
+
case "command":
|
|
84
|
+
case "dependency_install_entries":
|
|
85
|
+
return null;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function sameValue(a, b) {
|
|
89
|
+
if (a === null || b === null)
|
|
90
|
+
return false;
|
|
91
|
+
if (Array.isArray(a) || Array.isArray(b)) {
|
|
92
|
+
return Array.isArray(a) && Array.isArray(b) && JSON.stringify([...a].sort()) === JSON.stringify([...b].sort());
|
|
93
|
+
}
|
|
94
|
+
return a === b;
|
|
95
|
+
}
|
|
96
|
+
function consequenceOfValue(choice, value) {
|
|
97
|
+
if (typeof value !== "string")
|
|
98
|
+
return "";
|
|
99
|
+
return choice.options.find((o) => o.id === value)?.consequence ?? "";
|
|
100
|
+
}
|
|
101
|
+
function withConsequence(lead, consequence) {
|
|
102
|
+
return consequence.length > 0 ? `${lead} ${consequence}` : lead;
|
|
103
|
+
}
|
|
104
|
+
function decisionReason(entry, choice) {
|
|
105
|
+
if (entry.decision.kind === "option" && entry.decision.option === "no_decision") {
|
|
106
|
+
return "No choice is recorded for this. Nothing is stored, and runs behave as if you had not decided.";
|
|
107
|
+
}
|
|
108
|
+
if (choice === undefined) {
|
|
109
|
+
return "Kept from the answers you gave. This choice is not offered for the repository's current state, so it is carried as stated.";
|
|
110
|
+
}
|
|
111
|
+
const value = selectedValue(entry.decision);
|
|
112
|
+
const consequence = consequenceOfValue(choice, value);
|
|
113
|
+
const earlier = choice.earlier_answer;
|
|
114
|
+
if (earlier !== undefined && sameValue(value, earlier)) {
|
|
115
|
+
return withConsequence("This is your earlier answer, and it is still recorded.", consequence);
|
|
116
|
+
}
|
|
117
|
+
if (sameValue(value, choice.recommended))
|
|
118
|
+
return choice.why_recommended;
|
|
119
|
+
if (earlier !== undefined && entry.source !== "answer" && entry.source !== "flag") {
|
|
120
|
+
return withConsequence(`This differs from your earlier answer (${earlier}).`, consequence);
|
|
121
|
+
}
|
|
122
|
+
return withConsequence("This is your selection.", consequence);
|
|
123
|
+
}
|
|
124
|
+
function compactAction(action) {
|
|
125
|
+
return {
|
|
126
|
+
key: action.key,
|
|
127
|
+
intent: action.intent,
|
|
128
|
+
consequential: action.consequential,
|
|
129
|
+
target: action.effect?.target ?? null,
|
|
130
|
+
...(action.effect?.condition !== undefined ? { condition: action.effect.condition } : {}),
|
|
131
|
+
consequence: action.consequence,
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
export function buildCompactProposal(document) {
|
|
135
|
+
const byKey = new Map(document.choices.map((c) => [c.answer_key, c]));
|
|
136
|
+
const decisions = (document.proposal?.decisions ?? []).map((entry) => ({
|
|
137
|
+
key: entry.key,
|
|
138
|
+
decision: entry.decision,
|
|
139
|
+
reason: decisionReason(entry, byKey.get(entry.key)),
|
|
140
|
+
consequential: entry.consequential,
|
|
141
|
+
}));
|
|
142
|
+
const presentation = document.proposal_presentation;
|
|
143
|
+
return {
|
|
144
|
+
...(document.proposal_digest !== undefined ? { proposal_digest: document.proposal_digest } : {}),
|
|
145
|
+
view: "compact",
|
|
146
|
+
...(document.proposal !== undefined
|
|
147
|
+
? {
|
|
148
|
+
proposal: {
|
|
149
|
+
decisions,
|
|
150
|
+
actions: document.proposal.actions.map(compactAction),
|
|
151
|
+
...(presentation?.merge_test_protection !== undefined ? { merge_test_protection: presentation.merge_test_protection } : {}),
|
|
152
|
+
...(presentation?.disclosure !== undefined ? { disclosure: presentation.disclosure } : {}),
|
|
153
|
+
...(presentation !== undefined ? { gate_effect_lines: presentation.gate_effect_lines } : {}),
|
|
154
|
+
},
|
|
155
|
+
}
|
|
156
|
+
: {}),
|
|
157
|
+
...(document.refusal !== undefined ? { refusal: document.refusal } : {}),
|
|
158
|
+
...(document.proposal === undefined && document.refusal === undefined ? { stopped: compactStop(document) } : {}),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
function compactWrite(result) {
|
|
162
|
+
return {
|
|
163
|
+
key: result.key,
|
|
164
|
+
status: result.status,
|
|
165
|
+
target: result.target,
|
|
166
|
+
...(result.reason !== undefined ? { reason: result.reason } : {}),
|
|
167
|
+
...(result.fix !== undefined ? { fix: result.fix } : {}),
|
|
168
|
+
...(result.read_back !== undefined ? { read_back: result.read_back } : {}),
|
|
169
|
+
...(result.progress !== undefined ? { progress: result.progress } : {}),
|
|
170
|
+
...(result.phase !== undefined ? { phase: result.phase } : {}),
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
export function buildCompactApply(document) {
|
|
174
|
+
const apply = document.apply;
|
|
175
|
+
const presentation = document.apply_presentation;
|
|
176
|
+
return {
|
|
177
|
+
view: "compact",
|
|
178
|
+
complete: apply?.complete ?? false,
|
|
179
|
+
writes: (apply?.results ?? []).map(compactWrite),
|
|
180
|
+
...(document.refusal !== undefined ? { refusal: document.refusal } : {}),
|
|
181
|
+
...(apply === undefined && document.refusal === undefined ? { stopped: compactStop(document) } : {}),
|
|
182
|
+
...(presentation !== undefined ? { verdict: presentation.verdict } : {}),
|
|
183
|
+
...(presentation?.ready !== undefined ? { ready: presentation.ready } : {}),
|
|
184
|
+
...(presentation?.merge_test_protection !== undefined ? { merge_test_protection: presentation.merge_test_protection } : {}),
|
|
185
|
+
};
|
|
186
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* BAPI-1638 — the machine contract of `install epic-implementer`.
|
|
3
|
+
*
|
|
4
|
+
* One set of types is shared by four parts:
|
|
5
|
+
*
|
|
6
|
+
* read-only collection → assessment (schema version 2) → answers normalization
|
|
7
|
+
* → the shared apply.
|
|
8
|
+
*
|
|
9
|
+
* The interactive CLI and `--answers` both reach the same apply through these
|
|
10
|
+
* types, so the same answers store the same result.
|
|
11
|
+
*
|
|
12
|
+
* Nothing here holds a credential value. A credential is named only by a
|
|
13
|
+
* reference: a credential-store target or an environment-variable NAME.
|
|
14
|
+
*/
|
|
15
|
+
/** The schema version `--json` emits. Version 1 fields are all kept. */
|
|
16
|
+
export const INSTALL_ASSESSMENT_SCHEMA_VERSION = 2;
|
|
17
|
+
/**
|
|
18
|
+
* The digest structure's own version, so a later change cannot collide with this one.
|
|
19
|
+
*
|
|
20
|
+
* Schema note (BAPI-1677): `dependency_install` also accepts
|
|
21
|
+
* `{"entries":[{"cwd","argv","lockfiles"}]}`. The list replaces every declared install,
|
|
22
|
+
* in the submitted order. `{"entries":[]}` is a write, not a keep or a decline: workers
|
|
23
|
+
* and the test trial then run no declared install, and managed CI uses its normal
|
|
24
|
+
* toolchain install. This stays version 1 because the shape adds a decision kind that
|
|
25
|
+
* appears only when used, so no canonical input of an existing answer changes.
|
|
26
|
+
*/
|
|
27
|
+
export const INSTALL_PROPOSAL_DIGEST_VERSION = 1;
|
|
28
|
+
/** The fixed setup-record path, relative to `docs_dir` (from `ping`). */
|
|
29
|
+
export const SETUP_RECORD_RELATIVE_PATH = "bridge-setup/epic-implementer-setup-record.md";
|
|
30
|
+
/** Where child 5 places the answers file, beside the record. Setup never writes it. */
|
|
31
|
+
export const SETUP_ANSWERS_RELATIVE_PATH = "bridge-setup/epic-implementer-answers.json";
|
|
32
|
+
// ---------------------------------------------------------------------------
|
|
33
|
+
// Answer keys and families
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
/** Every answer key, in apply order. The spelling is the contract. */
|
|
36
|
+
export const INSTALL_ANSWER_KEYS = Object.freeze([
|
|
37
|
+
"gate",
|
|
38
|
+
"dependency_install",
|
|
39
|
+
"ci_database",
|
|
40
|
+
"must_order_paths",
|
|
41
|
+
"worker_database",
|
|
42
|
+
"test_command",
|
|
43
|
+
"setup_pr",
|
|
44
|
+
"merge_token",
|
|
45
|
+
"reindex",
|
|
46
|
+
"reindex_branch",
|
|
47
|
+
"reindex_retry",
|
|
48
|
+
"worker_mcp_grant",
|
|
49
|
+
"epic_server",
|
|
50
|
+
"epic_branch_ci",
|
|
51
|
+
"approval_exemption",
|
|
52
|
+
"launch_profile",
|
|
53
|
+
// BAPI-1654 — appended last, so every earlier key keeps its apply position. An
|
|
54
|
+
// older CLI does not know it and refuses an answers file that carries it.
|
|
55
|
+
"epic_ci_change",
|
|
56
|
+
]);
|
|
57
|
+
/** The worker-setup declarations stored with the gate, each with its own key. */
|
|
58
|
+
export const DECLARATION_ANSWER_KEYS = Object.freeze([
|
|
59
|
+
"dependency_install",
|
|
60
|
+
"ci_database",
|
|
61
|
+
"must_order_paths",
|
|
62
|
+
"worker_database",
|
|
63
|
+
]);
|
|
64
|
+
/**
|
|
65
|
+
* Keys that exist only when the recovery evidence calls for them. They are
|
|
66
|
+
* always KNOWN keys: an answers file may carry them after the evidence moved on,
|
|
67
|
+
* and apply then refuses only the re-index write, never the whole file.
|
|
68
|
+
*/
|
|
69
|
+
export const CONDITIONAL_ANSWER_KEYS = Object.freeze(["reindex_branch", "reindex_retry", "epic_ci_change"]);
|
|
70
|
+
export function isInstallAnswerKey(value) {
|
|
71
|
+
return INSTALL_ANSWER_KEYS.includes(value);
|
|
72
|
+
}
|