diff --git a/.approval_check/chat_stub_approval.py b/.approval_check/chat_stub_approval.py index 6a8fb474..afbd53df 100644 --- a/.approval_check/chat_stub_approval.py +++ b/.approval_check/chat_stub_approval.py @@ -32,7 +32,7 @@ SESSIONS = [ "title": "Answer an approval", "agent": "build", "model": "deepseek-v4.1", - "directory": "/Users/alan/repos/pipelines", + "directory": "/home/user/project", "created_at": 1760620000000, "updated_at": 1760620600000, "busy": False, @@ -42,7 +42,7 @@ SESSIONS = [ "title": "Already resolved", "agent": "build", "model": "deepseek-v4.1", - "directory": "/Users/alan/repos/pipelines", + "directory": "/home/user/project", "created_at": 1760620000000, "updated_at": 1760620600000, "busy": False, diff --git a/app/tool/chat_sessions_probe_entry.dart b/app/tool/chat_sessions_probe_entry.dart index 6b9bcd85..3b3ef3e9 100644 --- a/app/tool/chat_sessions_probe_entry.dart +++ b/app/tool/chat_sessions_probe_entry.dart @@ -58,7 +58,7 @@ class _FixtureGateway implements ApiGateway { 'chat_directories': [ '/workspace/demo', '/workspace/archive', - '/Users/alan/repos/pipelines/tmp/flutter-chat-list', + '/home/user/project', ], }; case 'chat_backends': diff --git a/app/tool/check_full.sh b/app/tool/check_full.sh index 78536b92..c2c55bad 100644 --- a/app/tool/check_full.sh +++ b/app/tool/check_full.sh @@ -7,7 +7,7 @@ # verdict comes from the suite's own final line, which is echoed with the # totals. Logs go to build/check/ for the caller's evidence. set -u -FLUTTER="${FLUTTER:-/Users/alan/development/flutter/bin/flutter}" +FLUTTER="${FLUTTER:-flutter}" mkdir -p build/check "$FLUTTER" analyze > build/check/analyze.log 2>&1 if ! grep -q "No issues found" build/check/analyze.log; then diff --git a/app/tool/publish_apk.sh b/app/tool/publish_apk.sh index 23f95df1..f4479504 100644 --- a/app/tool/publish_apk.sh +++ b/app/tool/publish_apk.sh @@ -5,21 +5,21 @@ # The build number is minutes since the epoch, so every build is newer than # the last. The APK and version.json go to build/updates/ (kept across preview # publishes) and are copied into the live preview at build/web/updates/, -# served behind the web login at https://:8096/updates/. Never restarts +# served behind the web login at /updates/. Never restarts # any server. set -eu notes="${1:-}" -# The phone's default server: the web proxy over Tailscale (sign in once in -# Settings). Override with PIPELINES_SERVER_URL. -server="${PIPELINES_SERVER_URL:-wss://alans-macbook-pro.tail6bf4dc.ts.net:8443/connect}" -FLUTTER="${FLUTTER:-/Users/alan/development/flutter/bin/flutter}" +# The phone's default server, e.g. wss://host:8443/connect (required). An +# installation builds its APK with ./install --apk instead. +server="${PIPELINES_SERVER_URL:?set PIPELINES_SERVER_URL to the phone default server, e.g. wss://host/connect}" +FLUTTER="${FLUTTER:-flutter}" export JAVA_HOME="${JAVA_HOME:-/Applications/Android Studio.app/Contents/jbr/Contents/Home}" export ANDROID_HOME="${ANDROID_HOME:-$HOME/Library/Android/sdk}" code=$(( $(date +%s) / 60 )) name="0.1.$code" "$FLUTTER" build apk --release --build-number="$code" --build-name="$name" \ --dart-define=PIPELINES_SERVER_URL="$server" \ - --dart-define=PIPELINES_UPDATES_URL="${PIPELINES_UPDATES_URL:-https://alans-macbook-pro.tail6bf4dc.ts.net:8096/updates/}" + ${PIPELINES_UPDATES_URL:+--dart-define=PIPELINES_UPDATES_URL="$PIPELINES_UPDATES_URL"} mkdir -p build/updates cp build/app/outputs/flutter-apk/app-release.apk build/updates/pipelines.apk cat > build/updates/version.json <[ 'id': 457, 'pipeline_name': 'Plan and land', 'status': 'succeeded', - 'workspace': '/Users/alan/repos/pipelines', + 'workspace': '/home/user/project', 'created_at': '2026-10-20T08:12:00Z', 'finished_at': '2026-10-20T08:42:00Z', },