refactor(hive-c0re): drop the request_init_config tool and InitConfig approval

swarm-controller's `InitAgentConfigRepo` node already covers config-repo
creation, so this deletes a duplicate rather than a capability; old
`init_config` rows are skipped by `collect_lenient` with no migration, by
operator decision.

Refs #4398
This commit is contained in:
atlas 2026-09-14 18:50:24 +02:00
commit a3b672d1d5
31 changed files with 134 additions and 601 deletions

View file

@ -232,7 +232,6 @@ export function renderApprovals() {
const ul = el("ul", { class: "approvals" });
for (const a of pending) {
const isInit = a.kind === "init_config";
const isMergePr = a.kind === "merge_config_pr";
const isUpdateMeta = a.kind === "update_meta_inputs";
const isSchedule = a.kind === "schedule_prompt";
@ -262,9 +261,7 @@ export function renderApprovals() {
? "meta-update"
: isSchedule
? "schedule"
: isInit
? "init"
: "spawn",
: "spawn",
),
);
if (isMergePr && a.sha_short) head.append(el("code", {}, a.sha_short));
@ -440,9 +437,7 @@ function renderApprovalHistory(root, history) {
? "meta-update"
: a.kind === "schedule_prompt"
? "schedule"
: a.kind === "init_config"
? "init"
: "spawn",
: "spawn",
),
" ",
);