From f3788eb687a62699c8d39390e1e351073895de98 Mon Sep 17 00:00:00 2001 From: Taylor Eernisse Date: Wed, 11 Feb 2026 10:22:39 -0500 Subject: [PATCH] feat(cli): expose available_statuses in robot mode and hide status_category MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three related refinements to how work item status is presented: 1. available_statuses in meta (list.rs, main.rs): Robot-mode issue list responses now include meta.available_statuses — a sorted array of all distinct status_name values in the database. Agents can use this to validate --status filter values, offer autocomplete, or display valid options without a separate query. 2. Hide status_category from JSON (list.rs, show.rs): status_category (e.g. "open", "closed") is a GitLab internal classification that duplicates the state field and adds no actionable signal for consumers. Switched from skip_serializing_if to skip_serializing so it never appears in JSON output while remaining available internally for future use. 3. Simplify human-readable status display (show.rs): Removed the "(category)" parenthetical from the Status line in lore show issue output. The category was noise — users care about the board column label, not GitLab's internal taxonomy. 4. robot-docs schema updates (main.rs): Documented the --status filter semantics and the new meta.available_statuses field in the self-discovery manifest. Co-Authored-By: Claude Opus 4.6