polish: trim unknown-arg echo, document trace artifacts and unverified selectors

Addresses whole-branch review's minor findings:
- Unknown CLI arguments now echo only the flag name, not its value, so a
  mistyped flag (e.g. --pasword=secret) can't leak a credential into the
  error output.
- README now notes that failed runs retain a screenshot/trace under
  test-results/ (gitignored, may contain the username but not the masked
  password), and points at the UNVERIFIED post-composer selectors as the
  first thing to check during real home-network verification.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Doar Mihai
2026-07-18 19:03:50 +03:00
co-authored by Claude Sonnet 5
parent a95440751f
commit 0154c058af
2 changed files with 18 additions and 1 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ for arg in "$@"; do
--body=*) BODY="${arg#*=}" ;;
--headed) HEADLESS_FLAG="false" ;;
*)
echo "{\"success\": false, \"error\": \"Unknown argument: $arg\"}"
UNKNOWN_FLAG="${arg%%=*}"
echo "{\"success\": false, \"error\": \"Unknown argument: $UNKNOWN_FLAG\"}"
exit 1
;;
esac