{"schema": "Xi.PublicSource.v1", "id": "source:609e85615ac84467bd87d4daf9c11cd4c784a6f30eb8eef0d20972b7c6c15ced", "capsule_id": "capsule:0ac9f41572907f75cfe441bf137f8d57f0b5daa3514a096104dd27cbbde085a7", "author": "Source-attributed; see payload", "text": "  CAPSULE=~/Ξ_runtime/processor/capsule.yaml\n\n  case $1 in\n      feedback)\n          python fidelity_rater.py $CAPSULE\n          ./drift_detector.sh\n          python glyph_insight.py $CAPSULE\n          termux-toast \"Feedback cycle complete\"\n          ;;\n      sync)\n          ./sync_bundle.sh\n          ./push_artifacts.sh\n          termux-toast \"Sync cycle complete\"\n          ;;\n      *)\n          ./run_gqp.sh\n          ./reflect_capsule.sh\n          ./push_artifacts.sh\n          ;;\n  esac\n  ```\n- **Execution**: Triggered via `./xi_shell.sh sync`.\n\n#### 3. Relay Node Sync (`relay_nodes.py`)  \n- **Function**: Placeholder for syncing with Unity/Nervous (mocked for Forge).  \n- **Code**:  \n  ```python\n  # ~/Ξ_runtime/processor/relay_nodes.py\n  import yaml\n  from termux import toast\n\n  def sync_bundle(bundle_path):\n      with open(bundle_path, \"r\") as f:\n          bundle = yaml.safe_load(f)\n      # Mock Forge API sync\n      toast(f\"Simulated sync of {bundle['id']} to Unity/Nervous\")\n      return True\n\n  if __name__ == \"__main__\":\n      import sys\n      sync_bundle(sys.argv[2])\n  ```\n- **Setup**: Run via `python relay_nodes.py --bundle bundle.yaml`.\n\n#### 4. Cron Automation  \n- **Function**: Schedules periodic syncs.  \n- **Code**:  \n  ```bash\n  # [local source path]\n  */30 * * * * root [local source path]\n  ```\n- **Setup**: `pkg install cronie`, `termux-services enable crond`.\n\n---\n", "offset": 0, "next_offset": null, "sha256": "bf14d9cd4e4b0bdf26a4b0ca94ff7518067e9da024fedb551b4e2fc6c564579e", "public_sha256": "624152389ae3f843280e361f9e0a486471219397912332782b08028c72168e49", "redacted": true}