matheusandre1 opened a new pull request, #177:
URL: https://github.com/apache/camel-kit/pull/177

   ## Summary
   
   Closes #174.
   
   - **Codex validation in preview.** An existing `.codex/config.toml` is now
     validated in preflight, without writing. `init --dry-run` rejects invalid
     TOML, damaged managed-block markers and Camel-Kit server tables defined
     outside the block, with the same message as `init`. Real initialization
     now fails before any project file is written; previously it failed in the
     merge step, after the workspace was partly generated.
   - **Preserved wrapper reporting.** Wrappers stay an exception to
     `.camel-kit/conflicts/` proposals, so no partial wrapper is offered for
     merging. The conflict output now says the file was kept with no saved
     version and points to `--force --replace-wrapper`.
   
   The merge policy and the wrapper preservation policy are unchanged.
   
   ## Tests
   
   - `InitSafeAdoptionTest`: preview and init reject unmergeable Codex configs
     without changing the project; valid TOML is accepted and merged; a
     preserved wrapper has no proposal and no partial wrapper is created.
   - `InitCommandTest`: output for a preserved wrapper.
   - `./mvnw test -B -pl kit/camel-kit-core -am` and
     `./mvnw -Psourcecheck validate -B` pass.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to