1. Initialize state file with position details (asset, direction, leverage, entryPrice, size, wallet, strategyId).
2. Configure tiers with triggerPct, lockPct, and optional retrace values.
3. Set up a cron job to run the `dsl-v4.py` script every 3-5 minutes.
4. The script fetches the price, calculates the effective floor, and detects breaches.
5. If a breach occurs, the script closes the position via `mcporter`.
6. The script updates the state file and outputs a JSON status.
7. The agent reads the JSON output to trigger alerts and disable the cron job if the position is closed.