Skip to content

Settings descriptor follow-ups from the config input projection review (P3) #351

Open

Description

@oxa-agent

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.

  1. 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.
  2. 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.
  3. 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

  1. transferred this issue fromon Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions