[Grid agent] Accept landmarks and provide authorized teleport and roaming workflows #130
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Allow authorized residents/operators to give the agent landmarks or folders of landmarks, teleport to approved destinations on command, and configure bounded random roaming intervals.
Intake and catalog
Teleport and roaming
Acceptance criteria
Dependencies
Depends on lifecycle, policy, inventory/perception, control plane, observability, and embodied behavior preemption.
Implemented and pushed in
08696cd.Added native metacrate-grid-agent landmark intake/catalog/teleport/roaming. Authorized direct landmark and folder offers use existing compatibility events, lazy dedicated quarantine, authoritative post-receipt validation, bounded folder traversal/fetches, cycle/link/type/duplicate defenses, permission fingerprints, stale-offer pruning, and bounded atomic persistence. Policy tools list/status/select by stable ID, teleport, and configure schedules without accepting destination/avatar/coordinate/L$ fields; public and unauthorized IM are denied.
Teleport re-fetches type/asset/permissions, serializes attempts, applies timeout/cooldown/cancellation, preempts behavior, uses the native landmark API, and records bounded correlated observations. The owned roaming runner persists its principal and 24-hour/run envelope, injects randomness, avoids immediate repeats, skips catch-up, pauses for conversation/operator/degraded/build/capture gates, and cancels cleanly on shutdown/reconnect.
Verified: 9 focused landmark tests (offer authorization, nested folders, cycles/types/duplicates, ambiguity, permission/stale validation, failure/cooldown/cancellation, policy denial, persistence/restart, runner execution/preemption/pause); full metacrate-grid-agent suite (120 unit tests plus integration/doc tests); live-grid all-target check; strict Clippy; metacrate facade check; Rustdoc; dependency namespace/direction gate; consolidated CI audit.