本文へ移動
cccskills
無料GitHub で公開

hsts-planning-scheduling

Heuristic search-based temporal planning and scheduling for complex multi-constraint environments

インストール方法を見る

含まれるファイル(26)

  • SKILL.md8.8 KB
  • _book_identity.json3.6 KB
  • _raw_response.md113.7 KB
  • diagrams/01_flowchart_decision_framework:_when_to_co.md1.4 KB
  • diagrams/02_stateDiagram-v2_state_variable_evolution_and_r.md2.2 KB
  • diagrams/03_quadrantChart_problem_classification:_separa.md508 B
  • diagrams/INDEX.md561 B
  • provenance.json1000 B
  • references/bottleneck-centered-probabilistic-search.md12.2 KB
  • references/bottleneck-detection-and-conflict-partition-scheduling.md12.5 KB
  • references/compatibility-constraints-as-causal-knowledge.md12.3 KB
  • references/compatibility-specifications-and-causal-justification.md1.5 KB
  • references/failure-modes-in-constraint-based-systems.md14.6 KB
  • references/failure-modes-in-planning-scheduling-systems.md14.4 KB
  • references/hierarchical-abstraction-for-scalable-problem-solving.md13.4 KB
  • references/hierarchical-abstraction-in-problem-solving.md12.1 KB
  • references/incremental-heuristics-and-the-scalability-condition.md1.5 KB
  • references/planning-scheduling-unification.md8.1 KB
  • references/resource-modeling-spectrum.md12.6 KB
  • references/schedules-as-behavior-envelopes.md12.4 KB
  • references/schedules-as-behavioral-envelopes.md9.9 KB
  • references/state-variable-modeling-for-agents.md12.3 KB
  • references/stochastic-estimation-for-constrained-search.md15.8 KB
  • references/token-networks-and-incremental-commitment.md1.2 KB
  • references/token-networks-as-executable-knowledge-representation.md13.7 KB
  • references/unified-planning-scheduling-state-variables.md5.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

SKILL.md: HSTS — Integrated Planning & Scheduling

Wisdom from Muscettola's HSTS framework for building intelligent systems that unify planning (what to do) and scheduling (when/how to do it). Activates when designing constraint-based agents, solving resource allocation problems, building robust execution systems, or reasoning about commitment under uncertainty.

DECISION POINTS

Decision 1: Unified vs. Separated Planning/Scheduling

IF domain has resources with time-varying availability
   AND causal goals interact with resource constraints
   AND execution environment is uncertain
   → Use unified state variable approach
   → Model as evolving constraint network

IF problem is purely causal (no resource contention)
   → Classical planning may suffice

IF problem has fixed task structure with only temporal constraints
   → Classical scheduling may suffice

IF you see "planner feeds into scheduler" architecture
   → QUESTION: Is the seam creating coordination debt?

Decision 2: Commitment Level Selection

FOR each variable binding decision:
  IF decision is reversible AND more information is coming
    → Post ordering constraint only
    → Example: "A before B" instead of "A at 10:00, B at 11:30"
  
  IF decision resolves high-contention bottleneck (measured via simulation)
    → Commit to specific value now
    → Example: Assign spacecraft antenna to high-priority download
  
  IF tempted to fix exact times early in search
    → STOP: Can ordering relation achieve same progress?
    → Preserve temporal flexibility for executor

Decision 3: Search Focus Priority

BEFORE resolving any disjunction:
  1. Run stochastic simulation on current partial solution
  2. Sample 100+ paths without resolving open choices
  3. Count conflicts per resource-time pair
  4. Focus next decision on highest-contention resource

IF search is thrashing (many backtracks, little progress)
  → You're attacking non-bottleneck variables first
  → Re-estimate contention distribution
  → Switch to highest-conflict resource

Decision 4: Domain Modeling Approach

IF domain has objects with internal state evolving over time
  → Model each as state variable with transition graph
  → Example: Satellite antenna {idle, tracking, downloading, slewing}

IF domain has shared resources (consumable/reusable)
  → Model resource levels as state variables
  → Track availability windows, not just capacity numbers

IF expert rules exist ("X and Y can't overlap during Z")
  → Encode as compatibility constraints
  → NOT as search pruning hacks

FAILURE MODES

Anti-Pattern 1: "Nominal Trajectory Planning"

Detection Rule: If schedule output is sequence of exact times/actions with no flexibility Root Cause: Confusing schedule with execution plan; over-committing temporal decisions Symptom: Any runtime deviation requires full replanning Fix: Output behavioral envelopes (constraint networks) not nominal sequences Timeline: Becomes critical when execution uncertainty > 5% of plan duration

Anti-Pattern 2: "Premature Value Commitment"

Detection Rule: If binding variables to specific values before constraints force it Root Cause: Not distinguishing between progress and commitment Symptom: Search space artificially shrunk; solutions exist but aren't found Fix: Post weakest constraint that enables progress; commit only when forced Timeline: Shows up immediately in search statistics (solution quality drops)

Anti-Pattern 3: "Bottleneck Ignorance"

Detection Rule: If resolving disjunctions without measuring which matter most Root Cause: Treating all constraints as equally important Symptom: Search thrashing on easy variables while hard constraints fester Fix: Use stochastic simulation to estimate conflict probability before each decision Timeline: Becomes exponentially worse as problem size grows

Anti-Pattern 4: "Constraint Network Bloat"

Detection Rule: If propagation time grows quadratically with problem size Root Cause: Not respecting module boundaries; monolithic constraint posting Symptom: Solver becomes unusably slow on realistic problems Fix: Decompose into state variable modules; make interaction topology explicit Timeline: Hits performance wall around 50-100 activities

Anti-Pattern 5: "Expert Knowledge as Hardcoded Heuristics"

Detection Rule: If domain knowledge exists as ad-hoc search pruning rules Root Cause: Encoding constraints implicitly instead of declaratively Symptom: Knowledge invisible to debugging; doesn't compose across modules Fix: Express expert rules as formal compatibility constraints with causal semantics Timeline: Maintenance nightmare emerges when domain complexity grows

WORKED EXAMPLES

Example 1: Satellite Mission Planning

Scenario: Mars orbiter with 2 instruments (camera, spectrometer), 1 antenna, 4 GB storage. Plan 8-hour observation session with data downlink.

Novice Approach:

  1. Plan observation sequence first
  2. Schedule exact start times
  3. Add downlink at end Fails when storage constraint discovered late

Expert HSTS Approach:

  1. Model state variables: storage_level, antenna_state, instrument_states
  2. Run stochastic simulation: storage fills to 95% probability by hour 3
  3. Decision: Storage is bottleneck, not antenna time
  4. Commit to downlink at hour 3 (value commitment for bottleneck)
  5. Leave observation ordering flexible (constraint posting for non-bottleneck)
  6. Output: behavioral envelope with storage invariant + flexible observation sequence

Alternative Path Shown: If simulation revealed antenna conflicts instead of storage, would commit to antenna schedule first, leave storage management flexible.

Example 2: Manufacturing Job Shop

Scenario: 5 jobs, 3 machines, delivery deadlines. Machine M2 has 50% uptime, others 90%.

Novice Approach: Schedule assuming all machines available; handle breakdowns reactively.

Expert HSTS Approach:

  1. Model machine_availability as time-varying state variable
  2. Stochastic simulation: M2 unavailable 40% of time slots
  3. Trade-off Analysis:
    • Option A: Route critical jobs around M2 (safer, longer makespan)
    • Option B: Use M2 with backup plans (shorter nominal, replanning risk)
  4. Decision: Critical path jobs avoid M2; non-critical use M2 with ordering constraints only
  5. Output: schedule robust to M2 failures without pessimistic assumption about availability

What Expert Catches: M2 unreliability creates secondary bottleneck at other machines when jobs reroute. Plans for cascade effects.

QUALITY GATES

Schedule is valid and complete when:

  • All state variables have legal transitions throughout timeline
  • No resource oversubscription in any sampled execution path
  • All goals reachable within temporal flexibility bounds
  • Bottleneck resources identified with >90% confidence via simulation
  • Constraint network admits multiple execution paths (not nominal trajectory)
  • Module interactions explicit and bounded in complexity
  • Search focused on measured conflicts, not assumed priorities
  • Expert domain knowledge encoded as testable compatibility constraints
  • System degrades gracefully under 20% execution deviation
  • Computational cost scales linearly with number of state variables

Automated Validation Signals:

  • Stochastic simulation runs complete without contradiction
  • Constraint propagation converges in bounded time
  • Multiple distinct solutions exist in final envelope
  • Module coupling metrics within acceptable bounds

NOT-FOR BOUNDARIES

This skill should NOT be used for:

  • Pure optimization problems without temporal/resource constraints → Use mathematical programming instead
  • Real-time reactive control → Use control theory instead
  • Simple project management with known task durations → Use critical path method instead
  • Problems where optimal solution required → Use complete search methods instead
  • Domains where expert knowledge unavailable → Use machine learning approaches instead

Delegation Rules:

  • For route planning: use path-planning-algorithms instead
  • For resource allocation without time: use constraint-satisfaction-methods instead
  • For predictive analytics: use time-series-forecasting instead
  • For execution monitoring: use plan-execution-monitoring instead

Boundary Signals: If you're spending more effort encoding the domain than solving instances, consider whether classical OR methods might suffice for your use case.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

Apply normative BDI reasoning to agents that must detect norms, choose which commitments to internalize, and resolve conflicts by comparing consequences. Use when obligations, prohibitions, or policies collide in autonomous systems. NOT for simple fixed-priority rules, pure constraint satisfaction, or domains where no real normative conflict exists.

日本語の概要は準備中です。原文の説明を表示しています。

curiositech/windags-skills132026年10月12日 更新

curiositech のスキルをすべて見る

このスキルの問題を報告する