LibreChat/api/server/controllers/agents
Danny Avila 228a45d5dc fix: Address Codex review — tenant context, spend/concurrency caps, run-now safety
- Run engine claim/reconcile in system tenant context (strict tenant isolation
  would otherwise throw on the cross-tenant claim query) [P1]
- Ignore user-supplied scheduleId on non-scheduled chats (scope-claim gate +
  recordRunOutcome no-match guard) to prevent cross-schedule state corruption [P2]
- Treat disabled schedules config (interface.schedules:false / use:false) as a
  hard stop for firing [P2]
- Route reconciled requires_action→complete through recordRunOutcome so resumed
  runs record lastRun/counter bookkeeping [P2]
- Serialize manual run-now via a per-schedule lease; manual runs no longer
  reschedule the next automatic occurrence [P2]
- Mark schedule attachments as used (clear upload TTL) on create/update [P2]
- Cap per-tick fire starts at configured fireConcurrency (was ×4) [P2]
- Start the engine only after server readiness [P2]
- Compensate the per-user limit check-then-insert race by rolling back overflow [P2]
- Gate card write controls on SCHEDULES.CREATE [P3]
- Extend role schema + fixtures for SCHEDULES; +6 method tests
2026-07-21 15:04:41 -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 🙊 refactor: Clarify Ask Question Schema Errors and Retry Guidance (#14279) 2026-07-15 11:06:29 -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: Address Codex review — tenant context, spend/concurrency caps, run-now safety 2026-07-21 15:04:41 -04:00
responses.js 🧵 feat: Background Tool Calls for Agents & Model Specs (#14197) 2026-07-13 12:51:36 -04:00
resume.js 🧭 feat: Mid-Run Steering and Queued Messages for Agent Runs (#14220) 2026-07-14 10:11:10 -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