fix: pre-warm in setup, TUI rendering diagnostics
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s

- passepartout setup: add pre-compile step for :passepartout + :passepartout/tui.
  So first daemon/TUI start is fast (~10s instead of ~120s).
- TUI test: remove pre-warm (now in setup). Add 3 rendering diagnostics:
  * add-msg-render: /eval injects agent msg, verify text on screen
    (isolates TUI rendering from daemon)
  * daemon-msg-roundtrip: wait for LLM, check via /eval that :agent
    entry exists in :messages list (isolates daemon\xe2\x86\x92TUI comm)
  * agent-response-renders: full E2E \xe2\x80\x94 LLM response text on screen
    (confirms complete TUI\xe2\x86\x92daemon\xe2\x86\x92LLM\xe2\x86\x92TUI pipeline)
- Fix missing #+end_src in shell block (was preventing tangle)
- Update Contract section with new Phase 3 diagnostic items
- Test: 7/7 pass (was 5/5)
This commit is contained in:
2026-05-06 09:20:42 -04:00
parent 7c9cc629a1
commit 7d7a4be668
3 changed files with 149 additions and 91 deletions

View File

@@ -124,6 +124,14 @@ setup_system() {
esac
fi
# Pre-compile core + TUI so first daemon/TUI start is fast
echo -e "${YELLOW}--- Pre-compiling core system ---${NC}"
sbcl --noinform --load "$HOME/quicklisp/setup.lisp" \
--eval "(push (truename \"$PASSEPARTOUT_DATA_DIR/\") asdf:*central-registry*)" \
--eval '(ql:quickload :passepartout)' \
--eval '(ql:quickload :passepartout/tui :silent t)' \
--eval '(uiop:quit)' 2>&1 | grep -v '^;' || true
if [ "$NON_INTERACTIVE" = true ]; then
echo "Configure complete."
exit 0