Skip to content

Expose resource diagnostics in the TUI - #477

Open
tylergibbs1 wants to merge 2 commits into
huggingface:mainfrom
tylergibbs1:agent/expose-resource-diagnostics
Open

Expose resource diagnostics in the TUI#477
tylergibbs1 wants to merge 2 commits 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
@tylergibbs1
tylergibbs1 force-pushed the agent/expose-resource-diagnostics branch from 0b76d1b to b0f7216 Compare August 10, 2026 00:11
@tylergibbs1

Copy link
Copy Markdown
Author

Rebased onto current main and resolved the conflicts while retaining the new /route command and reserving both /route and /diagnostics from prompt-template discovery. The branch is now at b0f7216.

Validation passed: focused command/template/TUI/CLI tests, Ruff lint and format checks, and git diff --check.

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