Skip to content

[Feature]: Add an optional Autonomous Run Governance preset for end-to-end Spec Kit delivery #3479

Description

@hindermath

Hi @mnriem, thank you again for your earlier guidance on publishing optional, stackable Spec Kit presets.

Background

Issue #2362 coordinated the earlier security, architecture, iSAQB, accessibility, cross-platform, and agent-parity governance presets. Those packages are deliberately focused on their own governance domains. This proposal is a separate optional preset for teams that explicitly delegate an entire Spec Kit feature run, including convergence, implementation, validation, and an authorized delivery closeout.

Problem Statement

Spec Kit provides strong individual commands, but a fully delegated run still needs a portable contract for phase ordering, repeated clarification and analysis, evidence-first execution, deterministic resume, remote permission boundaries, review convergence, non-recursive closeout, and workflow learning. Without that contract, projects tend to encode orchestration in one agent-specific prompt, infer remote authority too broadly, create self-invalidating evidence commits, or stop optional quality passes after an arbitrary number of iterations.

Field Validation

The preset was derived from six consecutive end-to-end field runs in hindermath/TuiVision:

Feature Feature PR Evidence closeout Retrospective
018 Editor/Help/Resources Hardening hindermath/TuiVision#42 #43 #44
019 Wave-3 Visual Porting hindermath/TuiVision#45 #46 #47
020 Mouse Support and Interaction hindermath/TuiVision#48 #49 #50
021 Terminal/Charset Hardening hindermath/TuiVision#51 #52 N/A (no non-empty correction justified)
022 Wave-4 Visual Porting hindermath/TuiVision#53 #54 #55
023 A11Y Framework hindermath/TuiVision#56 #57 #58

The runs exposed and then validated exact delivery-evidence paths, bounded red-test matrices, compile-surface checks, linked-source identity boundaries, causal closeouts for self-invalidating reviewed-head facts, single-commit closeouts without self-reference, duplicate push/PR workflow classification, one mutable validation token per invocation, and fail-closed validation-helper handling.

Published Package

Installation:

specify preset add --from https://github.com/hindermath/spec-kit-preset-autonomous-run-governance/archive/refs/tags/v0.1.0.zip --priority 70

What the Preset Provides

  • speckit.autonomous: orchestrates Specify, repeated Clarify, checklists, Plan, plan review, Tasks, repeated Analyze, Implement, validation, and an explicitly authorized closeout.
  • speckit.autonomous-retrospective: classifies reusable learning as Promote, ObserveAgain, RejectProjectSpecific, Superseded, or NoPromotion.
  • Constitution, Spec, Plan, Tasks, and standalone Agent addenda.
  • Runbook, evidence ledger, retrospective, readiness checklist, and six-run field-validation templates.
  • Agent command/skill generation tested for Codex, Claude, Copilot skills mode, and Antigravity (agy). Gemini CLI was additionally tested as a transitional and enterprise compatibility surface while it remains available through upstream Spec Kit.

Safety and Permission Boundaries

The preset is opt-in and does not execute anything merely by being installed. LocalImplementation is the safe default. PublishPR and MergeAndSync require explicit current user authority. General autonomy never grants remote write, merge, bypass, cancellation, secret, or provider-administration rights. Unavailable reviewers remain missing reviews, not approvals. Empty feature, retrospective, and closeout PRs are rejected. Any provider bypass remains a separate repository-specific policy decision and is not supplied by the preset.

Compatibility and Composition

The preset adds two new commands instead of replacing core commands. It appends governance to Constitution, Spec, Plan, and Tasks and provides a standalone agent addendum because Spec Kit 0.8.x has no core agent-file-template base layer. It was stacked successfully after the existing six governance presets at priorities 10, 20, 30, 40, 50, 60, and 70 without changing the six-preset matrix. It has no programming-language, test-framework, CI-provider, branch-version, agent-vendor, or merge-policy dependency.

Google's June 2026 transition changes the active Google validation target but not the provider-neutral preset boundary. For individual Free, Pro, and Ultra use, Antigravity (agy) is now the maintained target after 18 June 2026. Gemini CLI remains a transitional or enterprise, Cloud, and API compatibility surface while upstream Spec Kit continues to expose both integrations. The bounded TuiVision follow-up in hindermath/TuiVision#60 validates the real agy path, retains GEMINI.md and ~/.gemini/antigravity-cli/, and keeps historical Gemini evidence intact.

Validation Performed

  • development install plus release-shaped local ZIP install
  • public GitHub tag-ZIP download, checksum re-verification, and fresh install
  • seven-preset list, info, and resolve composition
  • remove, reinstall, disable, and enable lifecycle
  • exactly one generated autonomous and retrospective surface for Codex, Claude, Copilot skills mode, and Antigravity (agy), plus the retained Gemini CLI transition/enterprise compatibility check
  • synthetic remote-free LocalImplementation run through read-only Analyze: 3/3 requirements and 1/1 success criterion mapped, with zero Critical/High/Medium findings
  • resume, convergence, no-empty-PR, and unauthorized remote-action refusal contracts
  • Bash/macOS/Linux/Windows repository checks in the source package PR

Why This Belongs in the Community Catalog

This is optional workflow governance rather than a change to Spec Kit core behavior. It packages a repeated operational problem into a small stackable preset, keeps provider and project details out of core artifacts, and makes the permission model inspectable before users delegate long-running work. Catalog discovery would let teams evaluate and install it without implying that autonomous delivery is the default Spec Kit workflow.

Requested Maintainer Feedback

I would appreciate feedback on:

  1. whether the package boundary is appropriately narrow for a community preset;
  2. whether speckit.autonomous and speckit.autonomous-retrospective are suitable command names;
  3. whether the permission metadata and LocalImplementation default are explicit enough;
  4. whether the standalone agent addendum is the right 0.8.x composition approach; and
  5. whether this package is suitable for a Community Catalog entry.

I will wait for maintainer guidance before preparing any catalog PR. This issue is a request for review and coordination, not a claim of automatic upstream inclusion.

Acceptance Criteria

  • Maintainers confirm whether the preset scope is appropriate for Community Catalog discovery.
  • Command names and metadata shape receive feedback or approval.
  • Safety and permission boundaries are considered sufficiently explicit.
  • Any requested package changes are tracked before a catalog PR.
  • A catalog PR is opened only after maintainer guidance.

The external upstream decision is intentionally not a blocker for the locally published v0.1.0 package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions