fix: disinto planner schedule — daily at 07:00 UTC
- Cron: 0 7 * * * (daily 07:00, 1h after predictor at 06:00) - Accept project TOML as argument (default: disinto) - Remove stale "ALL projects" comment Closes #407 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6e1fd6afde
commit
911101479b
1 changed files with 5 additions and 5 deletions
|
|
@ -2,20 +2,20 @@
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# planner-run.sh — Cron wrapper: direct planner execution via Claude + formula
|
# planner-run.sh — Cron wrapper: direct planner execution via Claude + formula
|
||||||
#
|
#
|
||||||
# Runs weekly (or on-demand). Guards against concurrent runs and low memory.
|
# Runs daily (or on-demand). Guards against concurrent runs and low memory.
|
||||||
# Creates a tmux session with Claude (opus) reading formulas/run-planner.toml.
|
# Creates a tmux session with Claude (opus) reading formulas/run-planner.toml.
|
||||||
# No action issues — the planner is a nervous system component, not work.
|
# No action issues — the planner is a nervous system component, not work.
|
||||||
#
|
#
|
||||||
# The planner plans for ALL projects (harb + disinto) but is itself disinto
|
# Usage:
|
||||||
# infrastructure — always sources projects/disinto.toml.
|
# planner-run.sh [projects/disinto.toml] # project config (default: disinto)
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||||
FACTORY_ROOT="$(dirname "$SCRIPT_DIR")"
|
FACTORY_ROOT="$(dirname "$SCRIPT_DIR")"
|
||||||
|
|
||||||
# Source disinto project config — the planner is disinto infrastructure
|
# Accept project config from argument; default to disinto (planner is disinto infrastructure)
|
||||||
export PROJECT_TOML="$FACTORY_ROOT/projects/disinto.toml"
|
export PROJECT_TOML="${1:-$FACTORY_ROOT/projects/disinto.toml}"
|
||||||
# shellcheck source=../lib/env.sh
|
# shellcheck source=../lib/env.sh
|
||||||
source "$FACTORY_ROOT/lib/env.sh"
|
source "$FACTORY_ROOT/lib/env.sh"
|
||||||
# shellcheck source=../lib/agent-session.sh
|
# shellcheck source=../lib/agent-session.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue