feat(scripts): 4 fix-scripts for hypatia auto-corrective dispatch#220
Merged
hyperpolymath merged 3 commits intoMay 27, 2026
Merged
Conversation
…ep + Hypatia) Adds the second human + machine readable session record for 2026-05-26 — turn 2 follows the gitbot-fleet#148 sustainabot validation (turn 1, captured in `SESSION-2026-05-26-sustainabot-148-validation.md`). * `docs/archive/SESSION-2026-05-26-cicd-foundational-fixes.md` — Human-readable. Goal (4 user-asked phases sequenced), outcome (10/14 PRs MERGED in this turn), per-phase details: - automerge (7/7 enabled, all cleared in-session except 2 still queued) - CI/CD foundational fixes (vscode-smoke root-cause + fix shipped affinescript#381 MERGED; governance regex + `.governance-allowlist` Layer 2.5 in standards#185 OPEN; both belt-and-suspenders with parallel narrow fixes) - Hypatia lessons (5 patterns under language `affine`/`affinescript` in hypatia#332 MERGED) - SafeDOMExample estate-wide sweep (4 PRs across 4 repos: gitbot-fleet#210/burble#92/claude-gecko#30 migrated + standards#188 delete-24; 1267 `.res` siblings deferred to affinescript#57 Phase 2; gitbot-fleet#208 CLOSED) * `docs/archive/README.md` — Table updated with the new entry. * `.machine_readable/SESSION-2026-05-26-cicd.a2ml` — Machine-readable companion. Per-phase PR rosters with branch/status/scope, agent-memory-update audit, captured lessons. Outstanding at session end (awaiting owner-merge, no further agent action possible): - hyperpolymath/affinescript#371 (parser: fn-type eff arrow type position) — CLEAN - hyperpolymath/affinescript#372 (parser: builtin/lowercase qualified paths + TOTAL) — UNSTABLE - hyperpolymath/standards#185 (governance regex + `.governance-allowlist`) — BLOCKED - hyperpolymath/standards#188 (delete 24 stale SafeDOMExample fixtures) — BLOCKED Refs gitbot-fleet#148, gitbot-fleet#208, gitbot-fleet#210 Refs hyperpolymath/affinescript#370, #371, #372, #373, #376, #381 Refs hyperpolymath/standards#185, #188 Refs hyperpolymath/hypatia#332 Refs hyperpolymath/burble#92 Refs hyperpolymath/claude-gecko-browser-extension#30 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… (consumer-ref updates) Extends the existing session record with the inline .res-sweep work the user directed after Phase 5a (.affine sweep) closed gitbot-fleet#208. The original record had marked the 1,267 stale .res fixtures as deferred to affinescript#57 Phase 2; this commit captures what was actually done instead. Human-readable additions (`docs/archive/SESSION-2026-05-26-cicd-foundational-fixes.md`): * New '.res sweep (Phase 5b — added later in the same session)' subsection — scope correction from the earlier awk $7-vs-$6 bug (134 true top-level dirs / 129 reachable GitHub remotes, not 255), 6-batch fan-out table, 125 PRs filed. * New 'Phase 5c — 4 consumer-reference updates' subsection — atomic follow-up commits to existing deletion PRs in universal-chat-extractor#70, thunderbird-template-reloaded#77, panll#52, zotero-tools#15. * New 'Unsweepable corpus (672 files behind unreachable remotes)' — repos-monorepo 510 (404), hyperpolymath-archive 152 (404), polystack 10 (archived), typed-wasm 1 (already migrated). * New 'Side-anomalies' — the voyage-enterprise-decision-system foreign-WIP loss (`feedback_parallel_session_branch_drift` violation; agent prompt template tightened) + the accessibility-everywhere real-SafeDOM.res-not-touched note. Machine-readable additions (`.machine_readable/SESSION-2026-05-26-cicd.a2ml`): * `[phase.5b.res-sweep]` + 6 `[[phase.5b.res-sweep.batch]]` entries with per-batch PR counts and skips * `[phase.5b.res-sweep.unsweepable]` enumerating the 673-file unreachable corpus * `[phase.5c.consumer-ref-updates]` + 4 `[[update]]` entries with PR# / file / change Refs #148, #208 Refs hyperpolymath/affinescript#56, #57, #229 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…R-LIC-001/ERR-WF-013/ERR-GIT-001/ERR-PR-001) Four fleet fix-scripts paired with hypatia rule modules + recipes landed in hypatia#356 + the rules-extension PR. These let the fleet auto-dispatch fixes for the regression classes the 2026-05-27 estate sweep surfaced: - `fix-spdx-double-suffix.sh` (ERR-LIC-001 / rhodibot regex regression) — repairs `AGPL-3.0-or-later-or-later` and `+`-form variants in SPDX-License-Identifier lines. - `fix-workflow-timeout-minutes.sh` (ERR-WF-013) — inserts `timeout-minutes: 10` (or per-job override) after each `runs-on:` line in workflow YAMLs that lack one. Prevents the 6-hour default budget burn on stuck codeload fetches. - `fix-gitattributes-eol.sh` (ERR-GIT-001 / CRLF phantom-diff) — writes a canonical `.gitattributes` declaring `* text=auto eol=lf` with binary exemptions, then runs `git add --renormalize .` to refresh blob storage. Eliminates the phantom-diff blocker observed on claude-integrations#43. - `fix-close-obsolete-pr.sh` (ERR-PR-001 / supersedes pattern) — compares a PR's proposed `uses: …@<sha>` against main's current value at the same path; closes-as-superseded when stale. All four are POSIX-compatible, run set -euo pipefail, and use the gh CLI for the cross-repo operations. Pairs with the matching hypatia recipe JSONs. Refs session_2026_05_27_estate_sweep_1254_prs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Four fleet fix-scripts paired with the new hypatia rules + recipes:
fix-spdx-double-suffix.sh(ERR-LIC-001 / rhodibot regex regression)fix-workflow-timeout-minutes.sh(ERR-WF-013 / 6-hour default budget burn)fix-gitattributes-eol.sh(ERR-GIT-001 / CRLF phantom-diff blocker)fix-close-obsolete-pr.sh(ERR-PR-001 / supersedes pattern)All POSIX-compatible,
set -euo pipefail, useghfor cross-repo operations.Pairs with the matching hypatia recipe JSONs in the hypatia rules-extension PR.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com