fix(cli): add Read-Only and Writes columns to tool list output #1476 #1509

Merged
HAL9000 merged 3 commits from fix/1476-tool-list-cols into master 2026-05-30 08:01:16 +00:00

3 Commits

Author SHA1 Message Date
HAL9000 b65f0db8d0 fix(cli): add Read-Only and Writes columns to tool list output
CI / lint (pull_request) Successful in 51s
CI / typecheck (pull_request) Successful in 1m6s
CI / security (pull_request) Successful in 1m13s
CI / helm (pull_request) Successful in 39s
CI / build (pull_request) Successful in 46s
CI / quality (pull_request) Successful in 1m7s
CI / push-validation (pull_request) Successful in 31s
CI / unit_tests (pull_request) Successful in 6m33s
CI / docker (pull_request) Successful in 1m28s
CI / coverage (pull_request) Successful in 11m43s
CI / integration_tests (pull_request) Successful in 25m4s
CI / status-check (pull_request) Successful in 2s
- Apply ruff format to tool.py (flatten single-line namespaces.add call)
- Add Behave BDD tests verifying 5-column table, capability rendering
  (checkmark/dash), and Summary panel presence
- Add CHANGELOG.md entry

ISSUES CLOSED: #1476
2026-05-30 03:33:08 -04:00
HAL9000 e6f31e6391 fix(cli): align tool list rich output with spec (Read-Only/Writes columns and Summary panel)
Replaced the broken PR implementation with a complete spec-compliant fix:

- Removed Description and Timeout columns (not in spec)
- Reordered columns to spec order: Name, Type, Source, Read-Only, Writes
- Fixed column/row count mismatch: add_row now passes exactly 5 values
- Added capability-based Read-Only/Writes computation (read_only/writes fields)
- Renders checkmark (tick) or em dash based on capability metadata
- Added Summary panel with Total, Tools, Validations, Read-Only, Writes, Namespaces counts
- Added OK status message listing tool count

ISSUES CLOSED: #1476
2026-05-30 03:33:08 -04:00
freemo a656c5787d fix(v3.7.0): resolve issue #1476 - tool list missing columns 2026-05-30 03:33:08 -04:00