Skip to content

fix: retire archived PR worktrees and duplicate Codex skills - #124

Merged
axatbhardwaj merged 7 commits into
mainfrom
fix/reclaim-before-retention
Sep 21, 2026
Merged

axatbhardwaj merged 7 commits into
mainfrom
fix/reclaim-before-retention

Conversation

@axatbhardwaj

@axatbhardwaj axatbhardwaj commented Sep 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Default Codex skill installs to ~/.agents/skills, with guarded migration of unchanged manifest-owned legacy copies.
  • Preserve customized skills, support files, instruction ownership, and other harness settings. Support old instruction-block upgrades and retries after interrupted legacy retirement.
  • Add a private evidence archive helper and native retirement instructions for finished automation-owned PR worktrees.
  • Reclaim safely finished manager passes before checking retention limits.

Validation

  • 394 tests pass across 55 files; diff check clean.
  • All 8 CI checks pass on Linux/macOS with Bun 1.3.14 and 1.4.2.
  • Behavioral regression coverage includes instruction-block drift, repaired retry, forced/path-mismatch holds, incomplete canonical ownership, customized support-file preservation, installed skill layout, and corrupted archives.
  • Initial archive scaffold failure is not counted as behavioral TDD evidence; corrective cases have test-first failure evidence.

Boundaries

  • Independent configured Opus authored review: APPROVE at fa0137428ddced03e5453fb9be0c2fc3c87b42a9; prior installer findings resolved, no blocking findings. Six additional independent repair probes and packaged upgrade/retry checks pass.
  • No Orca patch, scheduler, live installation, production worktree removal, or release.
  • Fixture checks do not establish live native cleanup or long-running resource bounds.

@axatbhardwaj axatbhardwaj changed the title fix/reclaim before retention fix: retire archived PR worktrees and duplicate Codex skills Sep 21, 2026
@axatbhardwaj
axatbhardwaj marked this pull request as ready for review September 21, 2026 18:50
@axatbhardwaj
axatbhardwaj merged commit f7bf611 into main Sep 21, 2026
8 checks passed
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