LibreChat/api/server/controllers/agents
Danny Avila 1e61adebb6 fix: Codex round 6 — index-gate engine, global capacity, misfire skip, ambiguous reconcilable
- P1: do NOT arm the engine if ensureScheduleIndexes fails (fires need the unique
  idempotency index); leave scheduler disabled instead of firing without it
- Count capacity in system (global) scope, not the owner's tenant, so multiple
  tenants can't collectively exceed fireConcurrency
- Record schedule error on the accepted-then-init-failure path (before completeJob)
- Reconcile a retained 'complete' job for a still-'started' run as success
- Misfire skip-forward: occurrences overdue past a 15m grace advance without
  firing (no stale/bursty chats on restart)
- Ambiguous loopback failures stay reconcilable ('started'), not terminalized
  'interrupted' (so a late real completion can still finalize them)
- Record scheduled success BEFORE completeJob deletes the job (no success→interrupted
  mislabel on a crash in the window)
Note: e2e nav-id finding already fixed in f8b27693b (role-based selector).
2026-07-21 20:41:17 -04:00
..
__tests__ fix: Address Codex review — tenant context, spend/concurrency caps, run-now safety 2026-07-21 15:04:41 -04:00
callbacks.js 🙊 refactor: Clarify Ask Question Schema Errors and Retry Guidance (#14279) 2026-07-15 11:06:29 -04:00
client.js fix: address deep review — indexes, redis metadata, capacity, crash-retry, cascade (14 findings) 2026-07-21 20:13:15 -04:00
client.test.js 🪝 feat: Human-in-the-Loop Runtime - Tool Approval + Ask-User-Question (Slice B) (#13942) 2026-06-29 16:56:41 -04:00
errors.js 📦 refactor: Consolidate DB models, encapsulating Mongoose usage in data-schemas (#11830) 2026-03-21 14:28:53 -04:00
filterAuthorizedTools.spec.js 🧠 feat: Add Memory as an Agent Capability with Inline Tools and Ephemeral Badge (#13869) 2026-06-24 17:14:13 -04:00
openai.js 🧵 feat: Background Tool Calls for Agents & Model Specs (#14197) 2026-07-13 12:51:36 -04:00
recordCollectedUsage.spec.js 🪢 chore: Consolidate Pricing and Tx Imports After tx.js Module Removal (#12086) 2026-03-21 14:28:53 -04:00
request.js fix: Codex round 6 — index-gate engine, global capacity, misfire skip, ambiguous reconcilable 2026-07-21 20:41:17 -04:00
responses.js 🧵 feat: Background Tool Calls for Agents & Model Specs (#14197) 2026-07-13 12:51:36 -04:00
resume.js fix: Codex round 4 — owner limits on terminal outcomes, weekly floor, disabled-write guard 2026-07-21 16:12:43 -04:00
steer.js 🧭 feat: Mid-Run Steering and Queued Messages for Agent Runs (#14220) 2026-07-14 10:11:10 -04:00
v1.js 🧊 fix: Include Conversation Starters in Agent View and List Responses (#14142) 2026-07-08 12:54:54 -04:00
v1.spec.js 🧊 fix: Include Conversation Starters in Agent View and List Responses (#14142) 2026-07-08 12:54:54 -04:00