Skip to content

fix: repair archive scoping, cache recovery, and validation - #266

Merged
steipete merged 2 commits into
mainfrom
fix/round20
Nov 14, 2026
Merged

steipete merged 2 commits into
mainfrom
fix/round20

Conversation

@steipete

Copy link
Copy Markdown
Owner

This consolidates the verified fixes in #257–#265 and removes their overlapping cache-ingestion changes. It restores existing archive contracts: account aliases resolve consistently, cached reads can repair missing local rows without replacing newer data, and invalid inputs fail before sync or writes.

The changes cover:

During verification, backup recovery also failed under a shared-group umask: the live Git index was rejected only after publication had started. Export now rejects unsafe index permissions before publication; its recovery snapshot uses mode 0600. The regression proves that rejection leaves the live generation untouched. The recovery safety checks remain enforced.

Credit: @saariuslystoned, including the original contributions by sm0ky. The changelog also records the separately landed #256 fix from @rymalia. No release, tag, package-version change, or paid X request is part of this work.

Validation: 378 failures reproduced against unchanged v0.17.0 across the 30 contributor test files; format/lint/type checks and the build passed on an AWS Crabbox. All affected regression files passed after the changes; the seven backup-recovery failures from the full run were diagnosed and covered by the additional umask regression. Independent P0–P2 reviews are clean. GitHub CI supplies dual-runtime coverage, installed-package smoke, and Playwright proof at this PR's exact head.

steipete and others added 2 commits November 13, 2026 23:34
Consolidate verified fixes from #257 through #265, including the shared cache hydration changes in #257 and #261. Preserve read-only behavior, newer stored data, and account identity checks.

Co-authored-by: Bobby Bones <saariuscrypto@gmail.com>\nCo-authored-by: sm0ky <smokyproductcompany@gmail.com>
Validate live Git index ownership, type, and permissions before publication. Keep its recovery copy private and prove that a shared-group umask fails before any publication rename, preserving the live generation and the existing recovery safety boundary.
@clawsweeper

clawsweeper Bot commented Nov 14, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T07:41:47.352857Z ec73711 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete

Copy link
Copy Markdown
Owner Author

Merged as ff12a9b after exact-head CI passed every required job: https://github.com/steipete/birdclaw/actions/runs/43572085145.

Reproduction: the 30 contributor test files produced 378 failures on v0.17.0 before source changes. The fixed code passed independent P0–P2 review, format/lint/type checks, production/CLI builds, and the affected regressions on AWS Crabbox. The subsequent compatible-dependency verification ran the complete suite: 2,563 passed, 0 failed. Backup validation/recovery also passed all 108 tests, including rejection of unsafe Git index permissions before publication.

No paid X requests were made. Contributor credit is preserved in the changelog and squash commit. #257–#265 are closed as specifically superseded by this consolidation; #138 remains open under the existing maintainer backlog decision.

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.

1 participant