diff --git a/HANDOFF.md b/HANDOFF.md index 3eaa8bc..c8c03bc 100644 --- a/HANDOFF.md +++ b/HANDOFF.md @@ -46,6 +46,15 @@ Read these files first: 7. `reports/next-phase-implementation-plan.md` 8. `reports/agent-consumable-minimum.md` +## Fastest operational entrypoints + +For another engineering agent, the most useful command entrypoints are now: + +- `bash scripts/install-openclawtest-poc.sh` +- `npm run apply:openclawtest` +- `npm run verify:openclawtest` +- `npm run test` + ## Repo structure - `src/core/` - reusable state/policy/callback logic diff --git a/package.json b/package.json index e5f5d99..c577fea 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "private": true, "type": "module", "scripts": { + "apply:openclawtest": "bash ./scripts/refresh-openclawtest-poc.sh", + "verify:openclawtest": "bash ./scripts/verify-openclaw-poc.sh /home/openclawtest/.openclaw /home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist", "test": "tsx --test tests/**/*.test.mjs", "typecheck": "tsc --noEmit" }, diff --git a/scripts/install-openclawtest-poc.sh b/scripts/install-openclawtest-poc.sh new file mode 100755 index 0000000..99a1dcd --- /dev/null +++ b/scripts/install-openclawtest-poc.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +set -euo pipefail + +ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" + +echo "== install reply-end-controls PoC into openclawtest ==" + +bash "${ROOT_DIR}/scripts/refresh-openclawtest-poc.sh" + +echo +echo "== verify installed state ==" +bash "${ROOT_DIR}/scripts/verify-openclaw-poc.sh" \ + "/home/openclawtest/.openclaw" \ + "/home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist" + +echo +echo "PoC install flow complete." +echo "Next: send a Telegram reply through openclawtest and verify buttons/callback/state manually."