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

+4 -3
View File
@@ -35,9 +35,10 @@ func MarkSafe(ctx context.Context, mountDir string, log *slog.Logger) bool {
// the agent continues. Returns true only when git accepted the configuration.
//
// The guard is existence, not mount-ness: os.Stat confirms mountDir exists and
// is a directory, which is what stops archie-agent running directly on a host
// (shared queue-group mode, no container) from writing to the operator's own
// ~/.gitconfig for a path that was never created at all. It does not detect a
// is a directory, which prevents a misconfigured archie-agent from writing to
// the operator's own ~/.gitconfig for a workspace path that was never mounted.
// Mandatory task boot metadata independently rejects non-task workers before
// they subscribe. This check does not detect a
// stale directory that happens to exist at the same path without actually
// being a bind mount -- a real mount check would need platform-specific
// parsing (e.g. /proc/self/mountinfo on Linux) that this deliberately does