Skip to content

Commit d837fa2

Browse files
hyperpolymathclaude
andcommitted
chore: hypatia dispatch auto-fixes (tmp-paths, shell-quoting, annotations)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent de2a4d9 commit d837fa2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/har-agents/github-search.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/usr/bin/env bash
22
# SPDX-License-Identifier: PMPL-1.0
33
# HAR Agent: GitHub Search
4-
# Watches /tmp/opsm-har-ingest/ for discovery tasks and searches GitHub API
4+
# Watches "$HYPATIA_TMPDIR/opsm-har-ingest"/ for discovery tasks and searches GitHub API
55

66
set -euo pipefail
77

8-
readonly QUEUE_DIR="${OPSM_HAR_QUEUE_DIR:-/tmp/opsm-har-ingest}"
8+
readonly QUEUE_DIR="${OPSM_HAR_QUEUE_DIR:-"$HYPATIA_TMPDIR/opsm-har-ingest"}"
99
readonly POLL_INTERVAL=5
1010
readonly GITHUB_API="https://api.github.com/search/repositories"
1111
readonly CURL_CONNECT_TIMEOUT=10

scripts/har-agents/install-services.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ create_user() {
5656
}
5757

5858
create_queue_dir() {
59-
local queue_dir="${OPSM_HAR_QUEUE_DIR:-/tmp/opsm-har-ingest}"
59+
local queue_dir="${OPSM_HAR_QUEUE_DIR:-"$HYPATIA_TMPDIR/opsm-har-ingest"}"
6060
log "Creating HAR queue directory at $queue_dir..."
6161
mkdir -p "${queue_dir}"/{results,processed}
6262
chown -R opsm:opsm "${queue_dir}"

scripts/har-agents/mirror-finder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
set -euo pipefail
77

8-
readonly QUEUE_DIR="${OPSM_HAR_QUEUE_DIR:-/tmp/opsm-har-ingest}"
8+
readonly QUEUE_DIR="${OPSM_HAR_QUEUE_DIR:-"$HYPATIA_TMPDIR/opsm-har-ingest"}"
99
readonly POLL_INTERVAL=5
1010
readonly SWH_API="https://archive.softwareheritage.org/api/1"
1111
readonly WAYBACK_API="https://archive.org/wayback/available"

0 commit comments

Comments
 (0)