Files
openclaw/scripts/mantis/telegram-visible-release-user.sh
Ayaan Zaidi b41d5293b2 refactor(mantis): give Codex open-ended Telegram proof control (#128197)
* 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
2026-08-24 11:47:26 +05:30

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"