logicstamp_watch_status
Check watch mode status to determine if bundle context is fresh. If active, read bundles directly without refresh; otherwise refresh first.
Instructions
⚠️ CRITICAL: Do NOT use sleep() delays before calling LogicStamp tools when watch mode is active. Watch mode keeps bundles fresh automatically - just read them directly. ⚠️ CALL THIS FIRST before any other LogicStamp tool! Checks if watch mode (stamp context --watch) is active. If ACTIVE: SKIP refresh_snapshot, go to list_bundles → read_bundle (context fresh via incremental rebuilds). If INACTIVE: Call refresh_snapshot first. Enables zero-cost instant context access when watch mode running. Reads .logicstamp/context_watch-status.json and verifies process is running. Watch features: Incremental rebuilds (affected bundles only), change detection (props/hooks/state/components), debouncing (500ms), optional log file. Strict watch mode (stamp context --watch --strict-watch): Also detects breaking changes. Returns strictWatch=true when enabled. Detection: Reads strictWatch field from .logicstamp/context_watch-status.json file (when LogicStamp CLI includes it). Set includeRecentLogs=true to see recent regeneration events. When watch mode is active, bundles are already fresh - read them directly without any sleep() delays. The tools handle race conditions internally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | CRITICAL: Absolute path to project root. REQUIRED - must always be provided. | |
| includeRecentLogs | No | Include recent watch log entries showing what changed (default: false). Only available if watch mode was started with --log-file flag. | |
| logLimit | No | Maximum number of recent log entries to return (default: 5) |