Files
pipelines/app/notes/chat-stage-debug-queue.md
T

3.1 KiB

Chat and stage-debug delivery

User authorized lifting deployment/APK restrictions for these fixes. No device tests or phone installation are authorized/claimed; deployment is web + APK feed.

Item Source Verification Landing Deployment
Send follow-ups while busy 91854148: Send beside separate Stop; server queues without interruption Both hosts: repeated follow-ups, pending-ack duplicate guard, newer draft preservation, 320px/2x text; server queued-prompt regression passes Main APK building; web installer next
Streamed reasoning fa818341 + integration 8e980564: live inline disclosure, active reply identity survives queued follow-ups Full integrated check + browser visible streaming/OCR and post-follow-up update pass Merged main; ancestry verified APK building; web installer next
Collapsed stage input/output 027be68a: Summary sections start closed Both-host regressions fail before fixes; real browser confirms hidden bodies initially Merged main; ancestry verified APK building; web installer next
Exact-visit raw input/output/memory/session debugging 28539298: recorded turn documents in Session with safe viewer Both-host missing/capture/repair/repeated-visit isolation tests; real browser opens all three exact recorded files Merged main; ancestry verified APK building; web installer next

Integrated acceptance

  • tool/check_full.sh: clean analysis, all 1,762 tests pass.
  • flutter build web --no-pub -o build/chat_stage_debug_web: pass. Avoid concurrent pub-get jobs in one checkout; their generated iOS plugin symlink updates race.
  • node tool/chat_stage_debug_probe.mjs build/chat_stage_debug_web build/chat-stage-debug-evidence: 17 checks/8 captures pass. Uses the normal app and loopback protocol/artifact fixtures, actual pointer/text input and OCR for canvas-painted SelectableText. Confirms live reasoning plus text, queued follow-up without interrupt, further reasoning updates, collapsed stage fields, session export action, and exact input.md/output.md/memory.md bytes with Back restoring the same visit.
  • OpenCode normalization regressions TestChatStreamRealV2Shapes and TestChatDeltaPartIDsNeverCollide pass (no backend changes).
  • All UI code remains under app/; no production chat/run mutations or device use.
  • App working agreement updated as requested: authorized installers/APK delivery are allowed; default testing stays on web and device leases remain required.

Build recovery

The prior navigation APK build failed, not merely timed out: Docker's retained oom event identifies container bc23c00f17d7, and Gradle reports its daemon disappeared. Docker has 8,321,232,896 bytes total; the Flutter template allowed an 8 GiB Gradle heap plus separate Kotlin daemons, metaspace and workers. app/docker/build.sh now limits only its private copied Android build tree: 3 GiB Gradle heap, 1 GiB metaspace, two workers, in-process Kotlin compiler, no parallel Gradle projects or file watcher. Host Android settings unchanged. sh -n app/docker/build.sh passes; actual APK validation pending combined build.