Skip to content

Recover orphaned trust locks safely - #28

Open
solnikhil wants to merge 5 commits into
mainfrom
codex/issue-19
Open

Recover orphaned trust locks safely#28
solnikhil wants to merge 5 commits into
mainfrom
codex/issue-19

Conversation

@solnikhil

@solnikhil solnikhil commented Aug 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • make trust-store lock acquisition crash-safe and cross-platform
  • publish complete owner metadata atomically, with POSIX identity claims and a serialized Windows recovery barrier
  • recover dead, stale, malformed, or partially published lock state without deleting a live owner's lock
  • reserve the pin transaction before invoking npm so concurrent installs cannot overwrite trust decisions
  • add adversarial concurrency, process-death, malformed-state, and recovery tests

Verification

  • 135 focused unit/security tests
  • 246 exhaustive tests
  • full GitHub Actions matrix passes on Windows, macOS, and Ubuntu

Closes #19

Copilot AI lite review requested due to automatic review settings August 23, 2026 17:13

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 23, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 49a64ea2-423a-454c-b138-b65e74f3f0c8


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Recover safely from malformed orphan trust-store locks

2 participants