Skip to content

Create custom run ancestors privately - #500

Merged
Anionix merged 1 commit into
mainfrom
codex/bug-498-custom-run-ancestors
Jul 24, 2026
Merged

Create custom run ancestors privately#500
Anionix merged 1 commit into
mainfrom
codex/bug-498-custom-run-ancestors

Conversation

@Anionix

@Anionix Anionix commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Fixes #498

Source review: #477 (comment)

Contract

  • Walk from the nearest existing custom run-dir ancestor.
  • Create every missing ancestor shallow-to-deep with requested mode 0700.
  • Create the final run leaf separately with exclusive no-clobber semantics.
  • Stop before the run leaf when ancestor creation fails.

Verification

  • TDD red: intermediate ancestors were 0775/0777 under umask 002/000.
  • Regression green: both collaborative-umask cases pass.
  • Focused lifecycle tests: 7 passed.
  • Ruff and git diff --check: PASS.
  • Targeted correctness/scope review: PASS.
  • Lean: NO_LEAN; directory modes and mkdir behavior are executable Python/OS contracts.

Exact SHA: 81b61f71dcfcd1ecaacc905cec22a9f0549decc5

Primary source:

@Anionix
Anionix enabled auto-merge July 24, 2026 06:18
@Anionix
Anionix merged commit 721d8b8 into main Jul 24, 2026
6 checks passed
@Anionix
Anionix deleted the codex/bug-498-custom-run-ancestors branch July 24, 2026 06:27
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.

Create custom run-dir ancestors privately

1 participant