Skip to content

Per-operator private-config seam (runtime rubric/guardrails/params) #1018

Description

@JSONbored

Part of #983.

Context

The locked privacy model is "open-source engine + private runtime config": the real rubrics, trusted knowledge, guardrail globs, and gameable params (confidenceFloor/scopeCap/reputation) must load at RUNTIME and never be committed (the keep-internals-private constraint). gittensory today has NO runtime private-overlay seam — it resolves .gittensory.yml over DB over defaults into a flat RepositorySettings (resolveRepositorySettings, src/settings/repository-settings.ts). reviewbot's loadReviewConfig/applyReviewConfigOverlay (+ review-config.example.json) is the loader to map in. The home for the private config is decided in #1017 (KV hosted vs D1/.gittensory.yml). .gittensory.yml stays the PUBLIC surface; the rubric stays private. Land this BEFORE migrating any rubric, or the OSS flip leaks the tuning.

Deliverables

  • Implement the private-config loader: rubric/knowledge/guardrail-globs + gameable params load at runtime from KV (hosted) or a mounted REVIEW_CONFIG_JSON (self-host), one file per project, fail-safe to a committed placeholder.
  • Map reviewbot's loadReviewConfig/applyReviewConfigOverlay + review-config.example.json into gittensory's resolveRepositorySettings so .gittensory.yml stays the public surface and the private rubric overlays at runtime.
  • Ensure NO private rubric / gameable param is ever committed or surfaced; a missing private config fails safe to the placeholder (no crash, conservative defaults).
  • Add tests: overlay precedence (private over .gittensory.yml over DB over defaults); fail-safe to placeholder when the private config is absent.

Acceptance criteria

  • Private rubric/knowledge/guardrail-globs/gameable params load at runtime and are never committed; .gittensory.yml remains the only public-facing config.
  • A missing or unreachable private config fails safe to the committed placeholder with conservative defaults.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions