Improve CLI human output UX#90
Closed
odyslam wants to merge 37 commits into
Closed
Conversation
Contributor
Author
|
Follow-up commit What changed in this commit:
Validation after this commit:
|
Contributor
Author
|
Follow-up commit
Local validation after this commit:
|
Contributor
Author
|
Follow-up commit I ran the default command surface and representative read-only/error paths locally, then fixed the remaining rough spots:
Validation:
|
0de29d7 to
7a33ee7
Compare
Contributor
Author
|
Closing this oversized PR in favor of smaller stacked PRs. The current diff is too large to review cleanly; I am preserving the work and will reopen it as a reviewable stack with the generated-client pruning included in the final layer. |
This was referenced May 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--toonas the compact agent-readable output mode while preserving--jsonand hidden legacy--formatcompatibility.Source: Phylax platform index, empty lists say what was not found, mixed search results show all buckets, project/account/deployment/member outputs get dedicated layouts, and human errors include API-provided reasons without raw envelope instructions.--toon.1.4.2to1.4.3.Reviewer Guide
crates/pcl/common/src/args.rsfor the three output modes: default human,--toon, and--json.crates/pcl/core/src/api.rsfor human renderers, next-action filtering, search/project/account/deployment/member formatting, source labels, and cleaned error rendering.crates/pcl/core/src/config.rsandcrates/pcl/core/src/surface.rsfor safer human next actions around config and doctor failures.cargo run --locked -q -p pcl -- incidents --limit 3and confirm the default view is a readable table/summary, not the full envelope dump.search --query linea,projects --project-id <id>,releases --project <id>,access --pending,integrations --project <id> --provider slack,api call GET /views/public/incidents --query limit=3 --dry-run, and representative errors likeapi list --limit 3.--toonand--jsonon representative commands such asworkflows,schema list,api list --filter incidents,auth status, andrequests list --limit 3.AGENTS.md,README.md, andscripts/agent-smoke.shfor the new agent-facing--toonguidance.Validation
make cimake auditcargo run --locked -q -p pcl -- --version->pcl 1.4.3cargo test -p pcl-core --lib 'human_' -- --nocapture/tmp/pcl-human-full-audit-final.txtfound no legacy/bad UX markers:Details:,Schema: pcl.envelope.v1,Request:,Response:,from offchain,item(s), raw claperror:/Usage:,config delete,Read error.http.body,Use data.*, or blankBody:.