You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Settings descriptor follow-ups from the config input projection review (P3) #351
Observed in the review of PR oxstack/ox-llm#2569 (config input projection, Refs #220) at head b9b60e3488bd4026d017f5715712930f9825e815; verdict pass, three P3 findings, filed as follow-ups per the early-stage process.
Descriptor user_only flags lag the user-only read paths. Several hidden schema-only rows are read from the user layer only (Settings::user_bool/user_u32/user_value) but carry no .user_only() flag: compaction.reactivateSkills, oxa.onExceed, oxa.a2a.enabled, oxa.work.workerGithub, oxa.work.localChecks, oxa.inbox.headless, oxa.workers.*, projectTrustPolicy (see oxa/oxa-config/src/descriptor/hidden.rs). The read paths enforce the boundary today, so nothing leaks; but strip_user_only keeps a project value for these keys, and the new project_input projection carries the flag verbatim, so it would report user_only = false for them. Audit and set the flags before any write/routing slice uses the projected user_only for a decision.
Raw JSON object keys accept any JSON the schema kind allows.hooks, oxa.workers.models, oxa.onExceed etc. store a typo like "bash.jobs" inside the object; Settings::set behaves the same way today. When a routing slice writes these, make the write path the single place that validates nested object fields.
Nearest-key suggestions can name hidden rows.nearest_key in oxa/oxa-config/src/input.rs suggests schema-only keys (e.g. oxa.bash.ciPollHint) that have no /settings menu entry. Harmless, but a suggestion the owner cannot find in the menu is confusing; prefer visible rows or mark the suggestion as schema-only.
No behaviour change is requested by the projection slice itself; these are fixed forward.
Activity