Skip to content

Expose resource diagnostics in the TUI#477

Open
tylergibbs1 wants to merge 1 commit into
huggingface:mainfrom
tylergibbs1:agent/expose-resource-diagnostics
Open

Expose resource diagnostics in the TUI#477
tylergibbs1 wants to merge 1 commit into
huggingface:mainfrom
tylergibbs1:agent/expose-resource-diagnostics

Conversation

@tylergibbs1

Copy link
Copy Markdown

Summary

  • add a built-in /diagnostics command that shows every current resource diagnostic
  • render severity, resource kind, optional name, optional source path, and remediation message in the existing scrollable TUI command modal and in print mode
  • reserve diagnostics.md so prompt expansion cannot shadow the command
  • document the command and cover empty, populated, dismissal, autocomplete, print-mode, and post-reload behavior

Why

Tau already retains non-fatal resource diagnostics, but users could only see their count through /session or /reload. The detailed messages and source paths were not reachable from a registered user-facing command, making ignored or invalid resources difficult to repair.

Validation

  • env -u OPENAI_API_KEY uv run pytest -q — 1,155 passed
  • uv run ruff format --check .
  • uv run ruff check .
  • uv run mypy
  • git diff --check

Closes #459

@tylergibbs1
tylergibbs1 marked this pull request as ready for review July 25, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose detailed resource diagnostics in the TUI

1 participant