Skip to content

refactor(config): compose effective tool definitions from config layers - #542

Merged
chenjiahan merged 2 commits into
mainfrom
chenjiahan/config-layer-consumers
Oct 8, 2026
Merged

chenjiahan merged 2 commits into
mainfrom
chenjiahan/config-layer-consumers

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Motivation

Prepare loadRstackConfig().configs to expose inherited tool definitions to existing consumers, as proposed in #504.

Changes

Compose ordered layers into effective definitions without evaluating configuration factories. Missing tools stay absent, single definitions retain their identity, and multiple definitions use the existing tool-specific merge logic on demand. Test automatic inheritance and Format normalization remain in their final consumers.

Wire the loader through this composition step with its current project layer. Public define.extends() registration will follow in a separate PR.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T09:21:48.334577Z 6fdbb64 New commits
ℹ️ 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.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6fdbb64
Status: ✅  Deploy successful!
Preview URL: https://72777879.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-config-layer-cons.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit 690c744 into main Oct 8, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/config-layer-consumers branch October 8, 2026 09:42
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