feat: Wave 7 — 'where did I leave off' + Stark trivia
Some checks are pending
Rust CI / cargo test (jarvis-core) (push) Waiting to run
Rust CI / cargo clippy (push) Waiting to run
Rust CI / cargo check (workspace) (push) Waiting to run

leftoff/recap.lua:
- Voice "на чём я остановился" / "where did I leave off" stitches a
  one-paragraph recap from four independent sources:
    1. last assistant LLM reply (jarvis.llm_last_reply)
    2. 3 most-recent memory facts (sorted by last_used_at)
    3. count + name of the next scheduled task
    4. active profile (implicit, in tone)
- Fully offline — no LLM call, just pulls from local state.

trivia/trivia.lua:
- 15 RU + 15 EN one-liners about the Stark universe (suits, arc reactor,
  in-universe trivia about J.A.R.V.I.S. itself). Doesn't overlap with
  the verbatim quote pool in personality/tony_quote.lua.

Pack count: 95 → 97. Tests: 140 still pass.
This commit is contained in:
Bossiara13 2026-05-16 14:41:56 +03:00
parent 8f46bd735a
commit 7e1d1c3cc7
4 changed files with 162 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# Random MCU / Iron Man trivia — one of dozens of fixed lines per language.
# Different from the existing `interesting_fact/` (which is general curiosity)
# and `personality/tony_quote` (which is verbatim film quotes).
# These are short factoids about the suit, the Stark universe, etc.
[[commands]]
id = "trivia.iron_man"
type = "lua"
script = "trivia.lua"
sandbox = "minimal"
timeout = 2000
[commands.phrases]
ru = [
"расскажи про железного человека",
"факт про железного человека",
"trivia про старка",
"интересное про старка",
"марвел факт",
]
en = [
"tell me about iron man",
"iron man trivia",
"stark trivia",
"marvel fact",
"tell me a marvel fact",
]