Cloud runtime for subprojects/7d-deadline/ — GH Actions cron workflows.
Mother project: relayhop/ClaudeEarnSelf (母 24h 死線)
This repo: 7d-deadline 子專案(鬆綁 24h → 7d active hours)
SN subproject: relayhop/sn-monetization-runtime
| Workflow | Schedule | Purpose |
|---|---|---|
check_stale_strategies_7d.yml |
hourly | 48h dynamic idle detection (24h warn / 36h push / 48h auto-pause N2m) |
progress_poller_*.yml × 10 |
1-4h | Per profit_model progress signal polling |
floor_refill.yml |
hourly | Active < 5 / token idle → take next candidate |
daily_summary.yml |
daily 09:00 UTC+8 | Layer 1 daily report → GH Issue |
disconnect_detector.yml |
hourly | Mac > 24h no push → auto pause + cloud notify |
When subproject is paused, pause_state.json is committed at repo root. All cron workflows check this file and skip if paused: true.
data/ directory accumulates cron output (committed automatically by workflows):
data/strategy_progress.tsv— progress signalsdata/income_events.log— incomesdata/pollers/<model>/*.json— per-poller raw output
| Secret | Required | Purpose |
|---|---|---|
ANTHROPIC_API_KEY |
optional | Claude API for evaluation/reclassify |
COINOS_JWT |
optional | LN income polling |
DISCORD_WEBHOOK_URL |
optional | Push notification to Jeff phone |
TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID |
optional | Telegram push (alt) |
Without secrets, workflows still run but use GH Issues for notification.
All workflows support workflow_dispatch for manual run via Actions tab.