Repository navigation
refactor(trust): share blocked-command explanations - #2619
Conversation
|
Automated review finding This refactor correctly routes One real gap: Posted via Claude Code |
…1019-share-readable-blocked-trust-explanations-across-test-prefli
Summary
Workspace test preflight, individual project commands, and
basectl trust statusdescribe the same blocked trust state with different wording. Shareblocked_command_summary()across all three paths for missing approval, a changed manifest, and changed test requirements.Workspace text and JSON
detailuse the same explanation as command diagnostics and interactive trust status. Each surface keeps its existing layout, identity details, and review/allow guidance. Trust decisions, execution behavior, exit codes, and structured status fields are unchanged.Issue
Closes #2618
Follow-up to #2613. Addresses the review finding about the remaining trust-status formatter.
Validation
trust status, individual project preflight, and workspace text/JSON explanations; retains identity and review/allow guidance; and verifies zero delegated test starts when blocked.git diff --checkpassed.origin/mainpassed.bin/base-testshell run was stopped after hosted full-suite validation passed; 492 local shell cases had passed before the next case was interrupted. Full shell-suite evidence comes from CI.a61f9f2c: 24 successful checks; the optional hosted release-train readback was skipped. Python 3.10–3.13, Pylint, BATS, macOS smoke, integration, pinned and moving-provider Ubuntu source suites, security, compatibility, and branch policy passed.Demo Impact
None. This aligns diagnostic wording without changing demo behavior or workflows.
Notes
The changelog records the visible wording improvement.
.ai-context/needs no update: this is a formatter consolidation with no product, architecture, command-surface, or trust-contract change. JSON schema version 2 is unchanged; only its existing human-readabledetailtext changes.