Skip to content

feat(dashboard): design self-host review config generator #1683

Description

@JSONbored

Context

Self-hosters should eventually be able to configure review behavior from the website/admin dashboard instead of hand-editing YAML. The dashboard must generate or write the same config values consumed by .gittensory.yml / GITTENSORY_REPO_CONFIG_DIR, not create a second source of truth.

Parent: #1680

Requirements

  • Design the dashboard workflow for selecting repo, gate policy, review profile, inline comments, RAG, REES analyzers, AI provider mode, and autonomy level.
  • Make the generated output explicit and reviewable before it is saved or copied.
  • Preserve private-config boundaries: private maintainer policy must not leak into public repo-root files.
  • Define validation errors using the existing parser/schema so dashboard and YAML behavior match.
  • Include import/export paths for existing private repo config.

Deliverables

  • Product/design spec for the dashboard flow.
  • Data model/API plan reusing existing config parser and private config directory behavior.
  • Security notes for auth, repo access, secret handling, and public/private config separation.
  • Implementation breakdown for a later UI/API PR.

Acceptance criteria

  • The dashboard plan has one config source of truth and no parallel schema.
  • Generated config can be diffed/copied and validates against the same parser as file-based config.
  • The private config workflow remains safe for self-hosted maintainers.
  • No labels beyond maintainer-only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue - worth 1.25x multiplier.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions