Skip to content

chore(specgit): automate bootstrap around required harness specializations - #532

Merged
LeXwDeX merged 3 commits into
devfrom
feat/521-specgit-bootstrap-wrapper
Sep 3, 2026
Merged

chore(specgit): automate bootstrap around required harness specializations#532
LeXwDeX merged 3 commits into
devfrom
feat/521-specgit-bootstrap-wrapper

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Closes #521

Why

The pinned SpecGit 1.10.1 currency gate rejects every specgit issue run because this repository intentionally specializes the generated acceptance workflow. Refreshing the harness manually is unsafe because it overwrites those required bytes.

What changed

  • Added script/specgit-bootstrap.sh as the canonical repository-local entry point.
  • Snapshot and restore the complete SpecGit init write surface on success, failure, and handled signals.
  • Fail closed for dirty write-surface paths, missing binding state, and restore hash mismatches.
  • Preserve wrapped arguments, diagnostics, exit status, and the single-JSON stdout contract.
  • Added isolated fake-CLI behavior tests and updated repository instructions.

Evidence

  • bash script/specgit-bootstrap.test.sh: 38 passed, 0 failed.
  • sh -n script/specgit-bootstrap.sh: passed.
  • bash -n script/specgit-bootstrap.test.sh: passed.
  • shellcheck -s sh script/specgit-bootstrap.sh: passed.
  • shellcheck -s bash script/specgit-bootstrap.test.sh: passed.
  • Commit hooks: root lint passed at 4840/4850 warnings; all 29 typecheck tasks passed.
  • DAG verification: PASS; corrected diff review: PASS with 0 blocking findings.

Checklist

  • Why, What changed, and Evidence are filled in.
  • specgit finish exits 0.

@LeXwDeX LeXwDeX changed the title Delivery specgit-bootstrap-wrapper chore(specgit): automate bootstrap around required harness specializations Sep 3, 2026
@LeXwDeX
LeXwDeX changed the base branch from main to dev September 3, 2026 08:53
@LeXwDeX
LeXwDeX marked this pull request as ready for review September 3, 2026 10:47
@LeXwDeX
LeXwDeX merged commit 1b42e5d into dev Sep 3, 2026
12 checks passed
@LeXwDeX
LeXwDeX deleted the feat/521-specgit-bootstrap-wrapper branch September 3, 2026 11:18
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.

chore(specgit): automate bootstrap around required harness specializations

1 participant