Conversation
Allow a dedicated principal to upload and publish immutable skill versions through existing object write grants. Public creation is explicit and persisted at insert; publish-only updates reject any privacy field, including no-op and multipart input. Existing management permissions stay separate. Add trusted-proxy route coverage and Mongo integration tests. Local typecheck and lint pass; executable tests require Docker or CI.
Document the publish permission, strict public opt-in, existing object grants to a service-account subject, and the dedicated NyxID operation policy needed to exclude auth-only execution routes. Include the feature changeset; regenerating the assistant KB leaves its selected digest unchanged.
11 tasks
ctkm-aelf
marked this pull request as ready for review
September 17, 2026 00:26
ctkm-aelf
marked this pull request as draft
September 17, 2026 01:55
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.
Summary
A dedicated worker can upload skill packages and publish new versions using
ornn:skill:publish, without the broadornn:skill:updatepermission. Updates still require ownership or an explicit per-skill write grant. Publish-only callers cannot change existing visibility, permissions, ownership, bindings, or tags, or delete skills or versions.An explicit
POST /skills?public=truecreates a readable skill at insert time; ordinary creation remains private. Existing create/update permissions retain their behavior. The dedicated role contains onlyornn:skill:readandornn:skill:publish.Linked issue
Closes #1247
Type of change
feat:)docs:)Commit decomposition
Co-Authored-Bytrailers.Changeset
.changeset/content-only-publication.mdwith anornn-apiminor bump.Testing
Notes for the reviewer
The companion NyxID PR #1588 supplies a separate curation service-account identity, exact catalog-service assignment grants, and an explicit method/path policy on a dedicated Ornn catalog target. That existing proxy policy is required to exclude unrelated authenticated Ornn routes such as assistant chat; Ornn permission names alone do not restrict those routes. Existing skill owners grant the machine UUID write access once. Content updates then require no per-change review.
The change is additive and does not provision roles, credentials, or live catalog services. This feature PR targets
developaccording to the repository workflow.