Loops HouseGhostShift

NEAR HACKATHON
Links
Team
1 member- PHOwner
Philip Lin
Overview
In multi-agent swarms, when an active worker agent stalls and a backup agent takes over the expired lease, the stalled zombie worker often wakes up later and submits stale output or replays a payout callback with a still-valid key, causing split-brain state corruption or double payouts. GhostShift solves this on NEAR by combining four native primitives: (1) a Rust smart contract (near-sdk v5.29) enforcing a strictly monotonic u64 epoch fencing token on every lease takeover and pausing settlement for up to 200 blocks via promise_yield_create / promise_yield_resume; (2) per-worker sub-accounts with scoped Function-Call Access Keys; (3) NEAR AI Cloud Intel TDX + NVIDIA NRAS 64-hex nonce attestation verification; and (4) NEAR Intents 1Click dry:true cross-chain settlement previews, verified by a 200-run fast-check property-based test suite.