Files
pipelines/app/notes/next-session.md
T

73 lines
4.5 KiB
Markdown

# Next session prompt (written 2026-10-22 ~19:00)
Paste this as the opening message:
---
Continue the Flutter port in /Users/alan/repos/pipelines. Read app/AGENTS.md,
app/WORK.md (sections "Chat tasks landing and native builds" and "Open wave
handoff") and app/PARITY.md first. Main is at 88476800 with 1563 tests passing;
the preview on port 8098 serves the published app/build/web (rollback
web-before-chat-tasks-1792688535). Use the CLI
/private/var/folders/jp/q0qvjyg54fl_c5vhhk1ylz2m0000gn/T/opencode/pipelines-cli-inlinefix-c303756
(rebuild it if the server-build warning blocks a command). Never change,
restart or rebind the Pipelines server. Keep git history free of any Claude or
AI attribution: no Co-Authored-By trailers, ever.
State of the open wave (Task v6 lanes on openai/gpt-6-luna, one worktree each
under tmp/flutter-<name> on branch flutter/<name>):
- Landed on their branch, ready to merge: 146 report format
(flutter/run-report-format 6eb2a7b8), 147 recent directories
(flutter/run-directories b8d18bcb), 149 background question notices
(flutter/chat-question-notice 42808814).
- Still running when I stopped: 140 /stop + /help (flutter/chat-cmd-stop), 143
runs filter menu (flutter/runs-filter-menu), 144 runs day groups
(flutter/runs-day-groups), 145 runs pipeline URL filter
(flutter/runs-pipeline-url). `pipelines inspect <id> --json` first.
- Failed: 148 composer paste (flutter/chat-paste) and 152 chat create dialog
(flutter/chat-create-dialog): read the stage outputs, preserve any uncommitted
worktree changes as a WIP commit, then fix directly or rerun with the findings
addressed. 151 live New marks is a WIP commit faa5cc00 on flutter/chat-live-new
(needs the lint fix at chat_session_local.dart:59, focused tests and clearing
activeSessionId when the conversation is left). 141/142/150 (/new /close
/rename) blocked three times on Luna; a direct Claude agent was implementing it
on flutter/chat-cmd-session — check that branch for its commit before redoing.
- Direct agent branches (worktrees under .claude/worktrees/): shell Runs-tab
attention badge worktree-agent-ab5296d8f4132ba79 (eb800928), search selection
probe worktree-agent-a81e60797507d2317 (4f0d2aab); the chat task-bar/model
chooser probe and the graph pulse/session repair probe agents had not committed
yet — check their worktrees for uncommitted tool/ and notes/ files.
For each green branch: merge into main, `flutter test` + `flutter analyze` in
app/, fix fixture fallout yourself, `flutter build web --output build/web-next`
then publish by renaming (keep a web-before-<name>-<ts> rollback), one commit
per landing, then update the PARITY rows. After the wave, start the remaining
lanes listed under "Still to start" in WORK.md, keeping the lane contract (one
behaviour, small file budget, exact web wording in the prompt; the briefs with
that wording are in the session scratchpad briefs/ and in the run prompts of
140-152). Mobile: the Android testing APK is at
app/build/android-testing/pipelines-next-67045f25.apk; the phone still needs a
reachable endpoint, which is the operator's decision (a tailnet TLS-terminated
forward of 127.0.0.1:8080 gives wss:// with no manifest change). Keep answers
to a few sentences.
Late findings (after the prompt above was written):
- Shell Runs-tab attention badge is DONE on worktree-agent-ab5296d8f4132ba79
(eb800928, +454/-15, analyze clean, 239 focused tests green). Merge it first;
its pipelines_app.dart/runs_destination.dart/runs_list.dart/screen.dart hunks
are additive and will touch run 145's edits.
- Search selection probe is DONE on worktree-agent-a81e60797507d2317 (4f0d2aab,
22 captures in app/build/search-selection-probe/, note
app/notes/search-selection-probe.md). It found two lib defects to fix as
manager work: (1) a retired-field hit after a field hit leaves the earlier
Summary section expanded (`RunDetailTabs._selectSearchTarget` never collapses
on `section: null`, run_detail_tabs.dart); (2) a step hit opens the wrong visit,
off by one: `_openSearchResult` in pipelines_app.dart passes the server's
1-based `visit` into the zero-based `AppRoute.run.stage(visit:)`.
- Main now also carries 0acd7346 `feat(chat): add Claude Code chat backend` and
83d013f1 from another session; with it, three chat tests fail
(chat_model_picker_test, chat_screen_model_test, chat_thread_header_test: a
`chat-model` button appears where the fixture expects none, because
`supportsChatModels` now includes `claude`). Fix the fixtures or the rule
before trusting a full-suite run.
---