mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 04:15:48 -06:00
b41d5293b2
* refactor(mantis): replace Telegram proof compiler with frozen visible replay * refactor(mantis): let Codex own Telegram proof scenarios * fix(mantis): isolate proof publication * fix(mantis): bind baseline cache to revision * chore(mantis): remove stale scenario-designer wording * fix(mantis): align readable worktrees with trusted proof * fix(mantis): register proof collector tooling * refactor(mantis): keep collector functions private * fix(mantis): publish agent-selected Telegram proof * fix(mantis): trim proof media to final turn * fix(mantis): fence lanes before evidence collection * fix(mantis): verify lane termination before unlock
12 lines
387 B
Bash
Executable File
12 lines
387 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
lease_file="$LEASE_FILE"
|
|
lease_lost_marker="$LEASE_LOST_MARKER"
|
|
[[ -n "$lease_file" && -f "$lease_file" ]] || exit 0
|
|
if [[ -n "$lease_lost_marker" && -f "$lease_lost_marker" ]]; then
|
|
echo "Lease was already lost; no release is required."
|
|
exit 0
|
|
fi
|
|
node --import tsx scripts/e2e/telegram-user-credential.ts release \
|
|
--lease-file "$lease_file"
|