Skip to content

Add a neutral YAML configuration API for native consumers - #125

Open
BenCodez wants to merge 4 commits into
mainfrom
cez/1fe4ce81
Open

BenCodez wants to merge 4 commits into
mainfrom
cez/1fe4ce81

Conversation

@BenCodez

@BenCodez BenCodez commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

Native consumers can load and edit YAML through the public core.config.YamlConfiguration facade without importing Configurate nodes or platform APIs. It supports typed reads, sections and snapshots, classpath defaults for missing files, reload and revision-checked atomic updates. Existing files, including empty files, remain authoritative. Failed reloads and writes preserve the last good snapshot, and updates retain unknown keys.

File operations are synchronous and caller-scheduled. Missing-file initialization requires same-directory hard links. If cleanup fails after publication, the new file remains valid and a staged sibling may need cleanup. Same-classloader instances coordinate writes to the same path; cross-process coordination remains the application's responsibility. Case-insensitive reads retain first-key precedence, while writes use exact keys. There is no default overlay or lossless comment round-trip.

Hosted Maven validated head ea69f3b6 with 483 unit tests with one skip and three full-JAR and one shared-JAR artifact check passed. There were zero failures or errors. Build log Local validation also passed 55 focused tests; the packaged shared JAR ran the consumer fixture without platform classes. Downstream mod embedding and native acceptance remain separate.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

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

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0b55ae01-7652-4166-9c30-000aca19cf8f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@BenCodez BenCodez changed the title Document and verify shared YAML configuration for NeoForge consumers Add a neutral YAML configuration API for native consumers Nov 18, 2026
@BenCodez
BenCodez marked this pull request as ready for review November 24, 2026 23:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T00:00:07.748731Z ea69f3b Draft marked ready
🔒 Security Review ✅ Completed 2026-11-25T00:02:17.971388Z ea69f3b Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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