refactor(agentexec): remove legacy execution paths

Autonomous workflows now have exactly one production boundary: a task-scoped archie-agent receives a full-task core-NATS request and runs the worker-local stage loop. The legacy [agent] section remains decode-only for migration; it no longer selects runtime behavior.
This commit is contained in:
sam committed 2026-08-24 14:56:57 +10:00
1 parent cc6b093820
commit 5d00ec7b0c
65 files changed
+454 -2678

No files matched your search

-28
View File
@@ -101,7 +101,6 @@ export function settingsPage() {
repositoriesCard(cfg.repositories),
modelsAndProvidersCard(cfg.models, cfg.providers),
budgetsCard(cfg.budgets, ctx),
agentCard(cfg.agent, ctx),
storageCard(cfg.storage, cfg.containers, ctx),
webCard(cfg.web, ctx),
provenanceCard(cfg.provenance),
@@ -247,33 +246,6 @@ function budgetsCard(budgets, ctx) {
);
}
function agentCard(agent, ctx) {
if (!agent) return section("Agent execution", "How Archie runs autonomous stages.", empty("Not available"));
return section(
"Agent execution",
"How archied actually runs a stage of work.",
el(
"div.kv-list",
row("Execution mode", agentModeLabel(agent.mode), { key: "agent.mode", type: "string", raw: agent.mode, ...ctx }),
row("Worker command", agent.command, { key: "agent.command", type: "string", raw: agent.command, ...ctx }),
row("Extra environment variables passed through", agent.env?.length ? agent.env.join(", ") : "None"),
),
);
}
function agentModeLabel(mode) {
switch (mode) {
case "inprocess":
return "In-process (same binary as the daemon)";
case "subprocess":
return "Subprocess (separate archie-agent process)";
case "nats":
return "NATS (dispatched to a worker over the message bus)";
default:
return mode || "Not set";
}
}
function storageCard(storage, containers, ctx) {
const children = [];
if (storage) {