Skip to content

[Preset]: Update Autonomous Run Governance to v0.4.1 #4153

Description

@hindermath

Preset ID

autonomous-run-governance

Preset Name

Autonomous Run Governance

Version

0.4.1

Description

Adds permission-bounded autonomous delivery with validated delivery sets, semantic phase completion, and lifecycle-bound exact-head evidence.

Author

Thorsten Hindermann

Repository URL

https://github.com/hindermath/spec-kit-preset-autonomous-run-governance

Download URL

https://github.com/hindermath/spec-kit-preset-autonomous-run-governance/archive/refs/tags/v0.4.1.zip

Documentation URL

https://github.com/hindermath/spec-kit-preset-autonomous-run-governance/blob/v0.4.1/README.md

License

MIT

Required Spec Kit Version

=0.8.3

Required Extensions (optional)

  • intake-review-governance >=0.1.0 only when repository policy requires a current intake review before feature creation

Templates Provided

  • constitution-template - autonomous delivery authority and safety governance
  • spec-template - autonomous-run applicability and scope boundaries
  • plan-template - convergence, evidence, validation, and closeout planning
  • tasks-template - dependency-ordered autonomous delivery tasks
  • autonomous-run-agent-guidance-addendum-template - portable agent guidance
  • autonomous-runbook-template - permission-bounded execution runbook
  • autonomous-run-evidence-template - convergence, validation, and delivery ledger
  • autonomous-run-state-template - machine-readable lifecycle checkpoint
  • autonomous-runner-profiles-template - local fail-closed model bindings
  • autonomous-run-gate-requirements-template - declared acceptance gates
  • autonomous-run-gate-evidence-template - exact-head gate evidence
  • autonomous-phase-result-template - semantic phase completion result
  • autonomous-run-retrospective-template - classified workflow learning
  • autonomous-run-readiness-checklist-template - delivery readiness
  • autonomous-run-field-validation-summary - field-validation summary

Commands Provided

  • speckit.autonomous - executes a complete Spec Kit feature under explicit delivery authority
  • speckit.autonomous-status - inspects an active or interrupted run without mutation
  • speckit.autonomous-stop - cooperatively pauses at a safe boundary
  • speckit.autonomous-resume - resumes after drift, operation, governance, and authority revalidation
  • speckit.autonomous-retrospective - extracts and classifies reusable learning

Number of Scripts (optional)

11

Tags

autonomous, governance, evidence, permissions, sdd

Key Features

Hi @mnriem, thank you again for reviewing the earlier Autonomous Run Governance updates and for merging v0.3.3 through #3821 and PR #3823.

This backward-compatible v0.4.1 update addresses three provider-neutral findings reproduced during a real MergeAndSync run and independently validated before release:

  • It validates the complete intended delivery set, including explicitly named untracked files, without staging or mutating the worktree. This closes the gap where ordinary git diff --check cannot see an intended untracked file.
  • It treats process exit code zero as necessary but not sufficient. A routed phase becomes Completed only when its versioned, content-bound result proves the expected phase, outcome, task completion, gates, and payload hash.
  • It separates exact-head evidence into honest PreMerge and causal PostMerge lifecycle snapshots. The post-merge snapshot binds the accepted pre-merge hash and actual merge commit without creating a recursive product delta.
  • It preserves explicit delivery authority, read-only status, cooperative stop, drift-aware resume, fail-closed routing, optional intake review, learner and accessibility policy, and LocalImplementation as the safe default.
  • It adds one phase-result template and six Bash/PowerShell delivery, phase, and lifecycle validators plus their shared provider-neutral core. Bash and PowerShell return equivalent classifications.
  • Independent field fixtures covered intended-untracked whitespace, semantic Blocked results with process exit zero, exact-head drift, premature merge claims, predecessor-hash drift, and non-recursive post-merge closeout.
  • The full preset regression suite passed 124 tests with 12 planned skips. A fresh project passed twelve-preset add, list, info, resolve, disable, enable, remove, and reinstall checks with exactly five autonomous skills on each maintained agent surface.
  • The release was adopted through non-empty pull requests by Home Baseline and 35 dynamically applicable consumer repositories without product-code changes. Project-specific guidance and OpenCode layout variants were preserved.
  • Public preset PRs Suggestion on how to "frame" this concept #16 and Create extensions folder for Gemini CLI #17 are merged. The v0.4.1 tag points to 27b309147f32844b76f7255f573544a5c46e1242.
  • The downloaded v0.4.1 GitHub tag ZIP passed archive and fresh-install validation with SHA-256 3b12b0415ff5da5187620f4f420689c7cb2d6421527dc0d56fcae6a600519f6e.

The preset remains optional, provider-neutral, and independent of programming language, branch naming, CI provider, concrete model names, and merge policy. Installation grants no commit, push, PR, merge, bypass, secret, or administrative authority. Maintainer feedback on the lifecycle split and semantic completion contract would be appreciated.

Testing Checklist

  • Preset installs successfully via specify preset add
  • Template resolution works correctly after installation
  • Documentation is complete and accurate
  • Tested on at least one real project

Submission Requirements

  • Valid preset.yml manifest included
  • Linked README explains how to use this preset and includes the exact versioned specify preset add --from ... install command
  • LICENSE file included
  • GitHub release created with version tag
  • Preset ID follows naming conventions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions