Skip to content

feat(workflows): expose verdict inputs on bundled review gates - #5391

Closed
chelsealong wants to merge 1 commit into
github:mainfrom
chelsealong:fix/codex-spec-kit-5389
Closed

chelsealong wants to merge 1 commit into
github:mainfrom
chelsealong:fix/codex-spec-kit-5389

Conversation

@chelsealong

Copy link
Copy Markdown
Contributor

Description

Fixes #5389. Add optional spec_verdict, plan_verdict, and assessment_verdict inputs to the corresponding bundled gates. Omitted or empty values preserve the existing pause behavior. Update the shipped workflow example in the documentation.

Testing

  • Tested locally with .venv/bin/specify --help
  • Ran relevant tests with .venv/bin/python -m pytest — 13 passed
  • Tested with a sample project (not applicable; the CLI regression test runs the shipped gate definitions in isolated temporary workflows)

The new test failed on all three gates before the change with a missing verdict_input. After the change, it verifies that each gate pauses without a verdict and completes after resume --input ...=approve. Markdownlint, Ruff, and git diff --check passed.

AI Disclosure

  • I did use AI assistance

AI disclosure: Implemented with Codex (GPT-6, default settings, autonomous mode) for workflow configuration, documentation, and regression test generation. No human review or testing is claimed.

@chelsealong
chelsealong requested a review from mnriem as a code owner November 11, 2026 21:43
Copilot AI adaptive review requested due to automatic review settings November 11, 2026 21:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unchanged workflow versions block existing installations from receiving the fix through updates, and the tests use a nonportable command that causes failures on Windows without Unix utilities.

2 open issues
What changed in this PR

Addresses #5389 by allowing bundled workflow review gates to accept verdicts without a terminal, while preserving existing behavior when verdicts are omitted or empty.

Changes:

  • Adds optional verdict inputs to the specification, plan, and assessment gates.
  • Adds regression tests for pausing and resuming all three gates.
  • Updates the shipped workflow example and non-interactive resume guidance.

Tests were not rerun during this review. AI disclosure: GitHub Copilot (model unknown, autonomous mode) generated this review for the requester.

File Description
workflows/​speckit/​workflow.yml Adds and binds specification and plan verdict inputs.
workflows/​bugfix/​workflow.yml Adds and binds the assessment verdict input.
tests/​workflows/​test_bundled_gate_verdict_inputs.py Tests omitted, empty, and approving verdicts without a terminal.
docs/​workflows/​developing.md Updates the example and explains verdict-based resume.

Review effort: Balanced (auto)


# Keep the shipped gate and input schema, replacing agent commands with a
# local shell step so this exercises CLI run/resume without an agent.
source["steps"] = [gate, {"id": "after", "type": "shell", "run": "true"}]
Comment on lines +38 to +41
spec_verdict:
type: string
enum: ["", approve, reject]
default: ""
@mnriem mnriem added the triage-can-wait Verdict: valid and in-scope but deprioritized; held behind the evidence gate label Nov 11, 2026
@mnriem

mnriem commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Thank you for the contribution. The requested verdict inputs for all three bundled review gates have landed in #5392, so this PR is superseded. Closing in favor of that merged implementation.

AI disclosure: Posted on behalf of @mnriem by GitHub Copilot using GPT-6.1 Sol (gpt-6.1-sol), autonomous execution of the authorized cleanup; AI-generated closure explanation. Reasoning-effort settings were not exposed.

@mnriem mnriem closed this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage-can-wait Verdict: valid and in-scope but deprioritized; held behind the evidence gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Declare verdict inputs on the gates of the bundled speckit and catalog bugfix workflows

3 participants