Repository navigation
Keep project commands in reviewable config files, with a local override and a one-click migration PR (#438) - #1708
Merged
currentbits merged 2 commits intoOct 24, 2026
Conversation
…e-to-solenta.json PR (#438) - solenta.local.json (gitignored, per checkout) layers over solenta.json: setup/onSettle replace, quickActions merge by id (or name) and a local {"id": ..., "hidden": true} hides a shared entry. Trust hashes the merged set; shared-only files keep their hash and button ids. - Unknown keys in solenta.json / solenta.local.json (top level, quick action rows, devServer, automation rows) are file errors, not ignored. - site/solenta.schema.json, served at solenta.app, gives "$schema" editor autocomplete; a test pins it to the parser's key set. - Edit project > Move to solenta.json: a new worktree thread from origin's default branch writes the stored setup + quick actions into solenta.json, gitignores solenta.local.json and opens a PR. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a829db906
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
currentbits
pushed a commit
that referenced
this pull request
Oct 24, 2026
) #1708 added solenta.local.json and its own setupSource; both now share one field. A local or shared solenta.json setup still beats the repo's env spec. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Project commands can now live in reviewable, layered config files, not just Solenta's store. A gitignored
solenta.local.jsonoverrides the sharedsolenta.jsonon one checkout. Both files are checked against a published JSON schema, and a button moves the commands that are still app-only intosolenta.jsonthrough a PR. Closes #438.Changes
solenta.local.jsonlayer. Setup andonSettlereplace the shared ones. Quick actions merge withsolenta.jsonbyid(or by name), and{"id": "test", "hidden": true}hides a shared entry on this checkout. The trust hash covers the merged set, so a local edit asks for approval again. A shared-only file keeps its existing hash andrepo:<index>button ids. App settings still win over both files.devServerand automation rows, so a typo likesetpushows in Edit project instead of being ignored."$schema": "https://solenta.app/solenta.schema.json"gives editor autocomplete; the schema lives atsite/solenta.schema.json, and a test pins it to the parser's key set.solenta.json(other keys kept,$schemafirst), gitignoressolenta.local.json, commits and opens a PR through the existingcreatePr. Saved settings stay until the user clears them after the merge, so nothing changes before review.Verification
npm run test:electronbefore rebasing: 5031/5031 pass. After rebasing onto main, the related electron suites pass (165) and so do theeditProject/threadHeaderrenderer tests (100).npm run typecheck(including the preload sync check) andnpx vite buildpass.electron/test/layered-config.test.jsruns the migration against a real git repo with a bare origin. The checkout sits on an unrelated branch, and the test asserts the PR branch has only the one commit and the expectedsolenta.json/.gitignore. It stops atcreatePrbecause a local origin isn't a forge. Not tested: opening a real GitHub PR from the button.Notes for reviewers
solenta.jsonwith stray keys, or two quick actions with the same name, now shows an error instead of loading.solenta.jsononly from the default branch (it would break the Automations: permission scopes (private vs project-shared) #1590 write-then-read automations UI), the org-managed layer, and TOML.claude-opus-5-5 via Claude Code
🤖 Generated with Claude Code