mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo.git
synced 2026-09-22 17:22:01 -07:00
Reviewed the refactorer's profile-wallet-connect work. getViewerAddress is a clean pure selector (reactive-then-wallet precedence, null-on-absent); the profile index.js wiring fix is sound and correctly re-loads when the address becomes available. Fixed swarmforge/scripts/gherkin-parser, which delegated to a non-existent .swarmforge/tools/aps path, to use the established tmp/aps-spec checkout. Added the mutation differential-manifest for the new module. Verification: 243 client unit + 33 property tests pass, lint clean, mutation 2 killed / 0 survived, DRY no candidates, soft Gherkin mutation 6 intrinsic equivalents. By architect.
15 lines
510 B
Bash
Executable File
15 lines
510 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Wrapper for the Babashka APS gherkin-parser task.
|
|
# Delegates to the project-local APS checkout under ./tmp/aps-spec.
|
|
set -euo pipefail
|
|
if [ "$#" -ne 2 ]; then
|
|
echo "usage: gherkin-parser <feature-file> <json-output>" >&2
|
|
exit 2
|
|
fi
|
|
FEATURE_FILE="$(realpath -m "$1")"
|
|
JSON_OUTPUT="$(realpath -m "$2")"
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
APS_DIR="$(cd "$SCRIPT_DIR/../../tmp/aps-spec" && pwd)"
|
|
cd "$APS_DIR"
|
|
exec bb gherkin-parser "$FEATURE_FILE" "$JSON_OUTPUT"
|