Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
A comprehensive collection of Agent Skills for context engineering, multi-agent architectures, and production agent systems.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
researcher/orchestration/launchd/run-loop-step.sh
1#!/usr/bin/env bash2set -euo pipefail3SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"4REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"5LOG_DIR="${REPO_ROOT}/researcher/reports/logs"6mkdir -p "${LOG_DIR}"7cd "${REPO_ROOT}"8# --allow-fetch enables stdlib HTTP retrieval (no paid APIs). Remove it to make9# the daemon do bookkeeping only and require humans to retrieve sources.10# loop_step exits 78 when there is no work; that is normal and must not stop11# the status refresh that follows.12python3 researcher/scripts/loop_step.py --allow-fetch --json >> "${LOG_DIR}/loop_step.log" 2>&1 || true13python3 researcher/scripts/loop_status.py --json >> "${LOG_DIR}/loop_status.log" 2>&114