Commit Graph

13 Commits

Author SHA1 Message Date
924bf8f479 passepartout: v0.5.0 hotfix 2 — daemon stable
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
- Restore (in-package :passepartout) to core-reason
- Move *VAULT-MEMORY* back to core-skills
- Fix ASDF and defstruct/defpackage ordering
- Increase daemon timeout to 120s
- Handshake: 0.5.0

Verified: daemon processes messages, TUI clean, gate trace works
2026-05-07 20:14:51 -04:00
52a8386282 v0.4.1: native embedding CFFI — working backend init, model metadata loads
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
Key discoveries:
- llamba_backend_init works (after sb-int:set-floating-point-modes :traps nil)
- llama_model_default_params fills 72-byte struct correctly
- Bad path test: returns NULL pointer, SBCL handles gracefully
- Real model: loads metadata (768-dim, 12-layer nomic-bert), then
  NULL pointer in weight init (likely tensor_split/devices field)

Standalone test file: test/test_native_embedding_standalone.lisp
Reproduced: sbcl --load quicklisp/setup.lisp --eval '(ql:quickload :cffi)'
         --load test/test_native_embedding_standalone.lisp

Next: GDB debugging session needed to pinpoint which struct field
causes the NULL dereference during Model weight loading.
2026-05-06 22:09:36 -04:00
42e07801ce Release v0.3.0 — Event Orchestration, Human-in-the-Loop, Daily-Driver TUI
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
Test results: 86 pass, 0 fail across 21 suites. TUI integration: 7/7 pass.

Features:
- 9-vector deterministic dispatcher gates (secrets, paths, shells, network)
- Human-in-the-Loop Flight Plan workflow for blocked actions
- Event Orchestrator: unified hooks + cron + tier-based routing
- Context Manager: stack-based project scoping with persistence
- Model-Tier Routing: per-slot provider cascades with privacy filter
- Memory Scope Segmentation: memex/session/project with scope-aware retrieval
- Asynchronous Embedding Gateway: provider-agnostic vectors with cron job
- TUI Experience: scrollback, history, status bar, themes, tab completion
- v0.2.x Backfill Remediation: 14 stale/todo/stub items resolved
- Multi-distro deployment: Debian + Fedora, systemd, Docker
- 31 literate Org files with full prose

Fixes:
- CLI test: fiveam:is t -> pass/fail handler-case
- Cascade-parsing integration test: load provider before checking
- Version strings 0.2.0 -> 0.3.0 in core-communication, tui-main, architecture
2026-05-06 15:50:20 -04:00
1d91fcc6cc fix: 6 quality-of-life fixes — 0 remaining failures in core suites
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
- log-message: silence TUI send-daemon error handler (no stdout bleed)
- now function: fix get-decoded-time destructuring (seconds↔minutes swap).
  Timestamps now show HH:MM instead of SS:MM.
- passepartout tui: remove unnecessary LLM backend loads (system-model-
  provider/explorer). TUI is a client, daemon handles LLM. Faster startup.
- handshake check: use broader grep pattern (just 'Connected') to avoid
  false positive from Croatoan escape codes in integration test.
- reason cascade: test already isolated *probabilistic-backends* — now
  passes (10P 0F, was 8P 1F)
- passepartout daemon: use (funcall (find-symbol ...)) to defer package
  lookup past READ time, fixing PRESSEPARTOUT package not found at boot

Test results: reason 10/0, repl 7/0, diagnostics 3/0, literate 4/1 (env)
TUI integration: 7/7 pass
2026-05-06 11:40:08 -04:00
7d7a4be668 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)
2026-05-06 09:20:42 -04:00
7c9cc629a1 fix: TUI agent-responds uses text-match not unicode arrow
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
tmux capture-pane strips the ⬇ (U+2B07) character; grep on it always
returns empty. Switch to case-insensitive text matching on actual
LLM response content (hello, hi, greeting, hey).

Also: reorder tests (cascade-parsing, eval-command, status-bar first
to warm the TUI; agent-responds last), increase handshake timeout
to 60s, increase agent poll timeout to 90s.

TUI integration: 5/5 pass (was 4/5 with false-negative on agent-responds)
2026-05-06 09:07:16 -04:00
750918527d tests: TUI integration + cascade parsing — precise LLM diagnostics
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
- TUI agent-responds: hardened to detect and FAIL on cascade/exhausted
  responses (previously a separate WARN-only test that let real
  cascade failures slip through)
- New TUI cascade-parsing test: /eval *provider-cascade* on screen,
  checks for clean keywords (no cl-dotenv quote artifacts)
- Pre-warm step: sbcl --eval '(ql:quickload :passepartout/tui)'
  before launching tmux, cuts TUI startup from ~120s to ~10s
- Removed test_agent_not_cascade_failure (absorbed into agent-responds)
- New integration test: test-provider-cascade-parsing verifies
  PROVIDER_CASCADE entries are keywords without quotes, matching
  registered backends — catches the exact cl-dotenv quote bug
- Fixed stop-daemon ghost symbol (removed export) and paren bug
- Contract section updated with numbered Phase 2/3 items
2026-05-06 08:56:07 -04:00
26bfce61f1 fix: CLI test, TUI integration harness — all non-blockers resolved
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
- gateway-cli: add load-time sanity check, fix FiveAM prefix for
  jailed-package compatibility
- TUI integration: switch all tests from file-grep to tmux capture-pane
  (agent-responds, cascade-failure, eval-command, connection-drop).
  Fixes file-buffering false negatives. Increase eval sleep to 3s.
- Cherry-pick: system-integration-tests.org org source updated
2026-05-05 20:58:41 -04:00
299d501c88 tests: tune TUI harness (capture-pane polling, cascade-failure as warning, 120s startup, no daemon kill)
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 2s
2026-05-05 16:45:55 -04:00
23b8cfacd3 fix: setup wizard non-interactive safe, TUI script daemon detection + timing
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
2026-05-05 14:26:27 -04:00
3d237e9c78 tests: add cascade-failure detection to TUI integration (⬇≠success if line is cascade failure)
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
2026-05-05 13:44:03 -04:00
26d917dbc4 tests: flexible TUI handshake test (v[0-9] not v0.x), true agent round-trip with ⬇ marker
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
2026-05-05 13:41:57 -04:00
057bf9f3a8 tests: Phase 2+3 integration (LLM cascade gated, messaging gated, Emacs Flight Plan, TUI shell script)
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
2026-05-05 13:38:00 -04:00