Skip to content

[Bug] oclite: check_task polling floods output with repeated lines #80

@randomm

Description

@randomm

Bug

The output shows repeated check_task tool calls flooding the screen:

◇ check_task tsk_c0019ddaf001Y0oaX0liu0v1W0
✓ check_task
◇ check_task tsk_c0019ddaf001Y0oaX0liu0v1W0
✓ check_task
◇ check_task tsk_c0019ddaf001Y0oaX0liu0v1W0
✓ check_task

This is the LLM agent polling for background task completion, generating massive visual noise.

Fix Options

  1. Suppress repeated tool calls: If the same tool is called with the same arguments within N seconds, collapse into a single line with a counter: ✓ check_task ×5
  2. Hide check_task entirely: Since we have anti-polling guidance in check_task.txt, the agent shouldnt be polling. But if it does, hide the visual noise.
  3. Collapse consecutive identical tools: When tool_start matches the previous tool_start (same tool + same args), overwrite instead of appending.

Acceptance Criteria

  • Repeated check_task calls dont flood the output
  • Other tools still display normally
  • bun run typecheck passes
  • bun test passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions