Skip to content

Support direct current-directory output - #30

Merged
raghubetina merged 9 commits into
mainfrom
codex/cli-root-output
Aug 29, 2026
Merged

Support direct current-directory output#30
raghubetina merged 9 commits into
mainfrom
codex/cli-root-output

Conversation

@raghubetina

@raghubetina raghubetina commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • allow firstdraft plan compile --output . and retained Compilation download into an eligible arbitrary POSIX current directory
  • preserve preexisting material under design with lock-held, journaled Git/index-aware rollback semantics
  • keep absent-directory output and zero-output GitHub Publication behavior unchanged
  • document the exact command, error, and recovery contract

Verification

  • npm run check: typecheck, ESLint, Prettier, 183 tests, deterministic package manifest, installed-package smoke
  • git diff --check
  • exact-head CI 33247952292: Node 24 quality and Node 22 on Ubuntu, macOS, and Windows all pass
  • Windows retains an explicit root_platform_unsupported contract; POSIX-only root-adoption scenarios are skipped there

Exact boundary

  • base: d38ef3e54a6476b3a91f22a17fe7bd47aa6d6d68
  • head: e4028b20c72e3c831716c3461c744511f02f55ce
  • tree: b43ba6de98e27328e548cc3410ba9f39dfa9fcee

No package version, npm publication, dist-tag, GitHub Publication, Drawing Board, deployment, merge, or release change is included.

Let agent-driven workflows place verified Compilation bytes at the current root while moving existing design material aside without losing Git history or recovery information. Keep absent-directory output and GitHub Publication unchanged.
Expose the documented destination_exists reason for ordinary occupied output paths and keep the direct-output command documentation accurate for current-directory adoption.
Guarantee rollback for unexpected verifier failures, make preflight and release errors stable, restore the post-analysis destination check, and document the Git object boundary before offering direct root output.
Avoid restoring a Git index before First Draft attempted installation, and keep output-path errors truthful when Plan analysis has already used the network.
@raghubetina
raghubetina marked this pull request as ready for review August 29, 2026 10:31
@raghubetina
raghubetina merged commit 4352f64 into main Aug 29, 2026
4 checks passed
@raghubetina
raghubetina deleted the codex/cli-root-output branch August 29, 2026 10:31
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