Skip to content

fix(automation): restore apply and repair workflows - #855

Merged
steipete merged 1 commit into
mainfrom
fix/apply-ledger-owner-inputs
Jul 25, 2026
Merged

steipete merged 1 commit into
mainfrom
fix/apply-ledger-owner-inputs

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Summary

  • keep the root apply report as digest-only action-ledger evidence so ledger-enabled apply runs can finalize without weakening namespaced durable-path validation
  • pass the scalar repository owner to GitHub App token creation while preserving CLAWSWEEPER_ALLOWED_OWNER as the multi-owner repair authorization policy
  • add regression coverage for both invariants and credit @yetval in the changelog

Closes #833.
Closes #834.

Proof

  • Before the patch, a forced-ledger dry run with the default report path exited 1 with action event subject record path must be a namespaced repository-relative data path using portable segments.
  • After the patch, the identical dry run exited 0 and finalized two immutable workflow shards.
  • node --test test/clawsweeper-action-ledger.test.ts test/actions-runtime.test.ts — 24 passed.
  • pnpm run build:all — passed.
  • pnpm run check passed formatting, all builds, lint, and changed coverage. Its aggregate macOS coverage stage reached unrelated existing host/flaky failures (GNU timeout unavailable, Linux Landlock symbols unavailable, /var canonicalization, one clock-second drift, and loaded-suite timing/mock races).
  • Autoreview: clean, no accepted/actionable findings (0.98 confidence).

Operational evidence

  • Current-head self-heal, conflict-self-heal, and spam-scanner runs still fail before useful work with the list-valued owner input.

@steipete
steipete requested a review from a team as a code owner July 25, 2026 18:04
@clawsweeper

clawsweeper Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: fix(automation): restore apply and repair workflows This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@steipete
steipete merged commit a0cbed1 into main Jul 25, 2026
8 checks passed
@steipete
steipete deleted the fix/apply-ledger-owner-inputs branch July 25, 2026 18:09
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant