docs(FN-823): clarify agent log content is never truncated per-entry
- Clarify in dashboard README that agent log entries are never truncated - Add maxLength safeguards in store (getAgentLog), routes, useAgentLogs, and useMultiAgentLogs hooks - Add tests for store, AgentLogViewer component, useAgentLogs hook, useMultiAgentLogs hook, and dashboard routes - All tests verify that log text and detail fields are preserved in full without per-entry truncation
This commit is contained in:
@@ -2296,6 +2296,10 @@ export class TaskStore extends EventEmitter<TaskStoreEvents> {
|
||||
* Read all historical agent log entries for a task from its agent log file.
|
||||
* Returns entries in chronological order (oldest first).
|
||||
*
|
||||
* Each entry's `text` and `detail` fields are returned in full — there is
|
||||
* no per-entry truncation at the persistence layer. The 500-entry cap
|
||||
* (`MAX_LOG_ENTRIES`) in the dashboard hooks is a whole-list limit only.
|
||||
*
|
||||
* @param taskId - The task ID (e.g. "KB-001")
|
||||
* @returns Array of agent log entries, empty if no log file exists
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user