Skip to content

docs(list): note --full requirement on the JSON ci object - #3220

Merged
max-sixty merged 1 commit into
mainfrom
json-pr-network-inventory
Jun 25, 2026
Merged

docs(list): note --full requirement on the JSON ci object#3220
max-sixty merged 1 commit into
mainfrom
json-pr-network-inventory

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

The wt list --json Fields table described the ci object as "absent when no CI", which omits the actual gate: ci is only populated under --full (or [list] full, or the statusline JSON path) — the same --full requirement the Columns table and the [list] columns note already document. A consumer scripting plain wt list --json sees ci always absent and reasonably misreads it as "no CI configured" rather than "needs --full".

This states the requirement on the field row: --full only, then absent when no PR/MR or branch workflow. Source edit is in src/cli/mod.rs (the after_long_help primary source); the docs/content/list.md and skill-reference mirrors plus the two --help snapshots are regenerated.

This was written by Claude Code on behalf of max

The `wt list --json` Fields table described `ci` as "absent when no CI",
omitting that the object is only populated under `--full` (or `[list]
full`, or the statusline JSON path) — the same gate the Columns table and
the `[list] columns` note already document. A consumer scripting plain
`wt list --json` would see `ci` always absent and misread it as "no CI
configured". State the `--full` requirement on the field row.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@max-sixty
max-sixty merged commit 2f47f29 into main Jun 25, 2026
37 checks passed
@max-sixty
max-sixty deleted the json-pr-network-inventory branch June 25, 2026 03:15
max-sixty added a commit that referenced this pull request Jun 25, 2026
…lds (#3224)

Follow-up to #3220. That PR added the `--full` qualifier to the JSON
`ci` field row; the `summary` field and the `main` object's `diff`
sub-field have the identical omission. Both are gated by `--full` in the
same `skip_tasks` block (`SummaryGenerate` and `BranchDiff` are dropped
when not `--full`), and both Columns-table rows already say "`--full`
only" while their JSON field rows didn't — so a consumer scripting plain
`wt list --json` would see `summary`/`main.diff` always absent and
misread the cause.

This states the requirement on both rows, so all three `--full`-gated
JSON surfaces (`ci`, `summary`, `main.diff`) read consistently. Edited
in `src/cli/mod.rs` (the `after_long_help` primary source); the
`docs/content/list.md` and skill-reference mirrors plus the two `--help`
snapshots are regenerated.

> _This was written by Claude Code on behalf of max_

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

2 participants