Skip to content

fix: migrate nono profiles to new schema - #66

Open
alexzurbonsen wants to merge 1 commit into
always-further:mainfrom
alexzurbonsen:fix/pi-profile
Open

alexzurbonsen wants to merge 1 commit into
always-further:mainfrom
alexzurbonsen:fix/pi-profile

Conversation

@alexzurbonsen

@alexzurbonsen alexzurbonsen commented Sep 14, 2026 •

Copy link
Copy Markdown

Summary

The latest nono version 0.77.0 dropped some alias keys, see https://github.com/nolabs-ai/nono/releases/tag/v0.77.0 and nolabs-ai/nono#1826 from the profile schema.

Migration is needed: undo -> rollback (The old description of the key reads Alias for rollback. Controls which files are excluded from undo snapshots.)

I need to fix this for pi but included the remaining ones that use undo as well.

Previously:

$ nono profile validate ./opencode/policy.json
nono profile: validating ./opencode/policy.json

  [err]  JSON syntax error: Profile parse error: unknown field `undo`, expected one of `$schema`, `extends`, `meta`, `security`, `groups`, `commands`, `filesystem`, `network`, `diagnostics`, `linux`, `env_credentials`, `environment`, `command_policies`, `credential_capture`, `credential_providers`, `credential_routes`, `workdir`, `hooks`, `session_hooks`, `rollback`, `open_urls`, `allow_launch_services`, `allow_gpu`, `allow_parent_of_protected`, `interactive`, `skipdirs`, `packs`, `binary`, `command_args`, `unsafe_macos_seatbelt_rules`, `platform_overrides` on line 1 column 1

Result: invalid (1 error)                                                                                                                                                                                            nono: Profile parse error: validation failed

Test

$ nono profile validate ./opencode/policy.json
nono profile: validating ./opencode/policy.json

  [ok]  JSON syntax valid
  [ok]  All 25 group references valid

  Result: valid

Signed-off-by: Alexander zur Bonsen <alexander.zur.bonsen@tngtech.com>
@alexzurbonsen alexzurbonsen changed the title fix: migrate profile to new schema fix: migrate nono profiles to new schema Sep 16, 2026
@alexzurbonsen

Copy link
Copy Markdown
Author

Hi @lukehinds, could you take a look or delegate to someone appropriate? Thank you!

@TrueWill

Copy link
Copy Markdown

Could this also remove interactive from the claude pack please?

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.

2 participants