Lumen / lumen_chat_state.py

Commit History

4 days ago

  1. Isolate tests from live provider keys, requeue cancelled state flushes and trim redundant latency in search, draw, rich conversion and TikTok metadata

    SilverElixir
    da6a2d2

6 days ago

  1. Gate webhook updates until startup state loads and shut down gracefully on SIGTERM

    SilverElixir
    c43d58c
  2. Harden identity/output filters, quotas, history and deploy guards after the security audit

    SilverElixir
    e6073ca

7 days ago

  1. Cap a message by a shared deadline and bound streaming's first chunk by it⁠

    SilverElixir
    53310cd
  2. Tag log lines with the chat, silence uvicorn access noise, log stack traces for unexpected failures

    SilverElixir
    22981df

26 days ago

  1. Private temp dir for state fallback instead of shared tmp

    SilverElixir
    afada05
  2. Resolve declined nicknames both ways, cover fixes with tests

    SilverElixir
    85833be
  3. Review fixes: full sender names, nick hints, ctx persist, trim order

    SilverElixir
    6e8e909
  4. Chat memory: sender directory and combined 100-message cap

    SilverElixir
    60ad579

27 days ago

  1. Count model attempts and failures in daily stats

    SilverElixir
    965ba13

28 days ago

  1. Fix small hardening issues across logging media and errors

    SilverElixir
    3438464
  2. Read numeric env settings through guarded helper

    SilverElixir
    a5fc83f
  3. Fail closed when the chat index is corrupt without legacy

    SilverElixir
    2111b5d
  4. Guard state dirty flags with generation counters

    SilverElixir
    909b840

29 days ago

  1. Add owner ban commands, dependabot PR cap, seed docs

    SilverElixir
    eb80878

30 days ago

  1. Fix review findings on limits and stats

    SilverElixir
    87259c9
  2. Fix stats activity clock and expand diagnostics

    SilverElixir
    5e12873
  3. Add per-user daily limits with Gemini fallback

    SilverElixir
    f47e28b

  1. Single-source limit scalars; generation-checked chat lock acquisition (A5-8, A5-10)

    SilverElixir
    a7a4333
  2. Validate restored chat state; cap media buckets per chat; stop pruning from dirtying every chat (A5-4, A5-5, A5-6, A5-7, A5-9)

    SilverElixir
    d728999

  1. Guard state flush on failed startup load; keep failed shutdown writes queued (A5-2, A5-1)

    SilverElixir
    13f2c64

  1. Comment cleanup: short Russian why-comments, no AI boilerplate⁠

    SilverElixir
    5f80ef1

  1. Independent re-review: fix missed regressions and close gaps⁠

    SilverElixir
    5bd5d41
  2. Fix regressions found by adversarial review: routing, rendering, rate limits⁠

    SilverElixir
    62c1832
  3. Reliability wave 3: router skips quota-exhausted models, prune never drops a chat holding the lock

    SilverElixir
    83fef4a

  1. Reliability: cap malformed-call retry by route deadline, service quota separation, album buffer cleanup

    SilverElixir
    c67c969

  1. Luna audit fixes: album lock, multilingual routing, streaming budget, quota and persistence hardening

    SilverElixir
    dd4c939
  2. Qwen audit fixes: aio Gemini client, snapshot-before-thread state flush, drop dead Fish check, utcnow fix

    SilverElixir
    3704a0f

  1. History summarization: compress overflow into summary instead of silent cut

    SilverElixir
    a348a03

  1. Comment polish: Russian pro-style comments, keep dated evidence short (+426/-2765). Fix: bot.send_chat_action -> bot.bot.send_chat_action (was AttributeError, typing indicator never showed)

    SilverElixir
    0b65b92

  1. Fix lang reset on restart: keep lang in restored chat state

    SilverElixir
    8af70d7

  1. P2: extract lumen_chat_state.py (chat state, quotas, locks, owner utils) with bot.X re-exports (AUD-A-001)

    SilverElixir
    d124960