Skip to content

feat(config): expose remaining DB-only gate settings in .gittensory.yml (config-as-code parity) #822

Description

@JSONbored

Follow-up to #551 (merge-readiness aggregate gate). The DB-settable mergeReadinessGateMode shipped, but the config-as-code parity was deferred: .gittensory.yml can't yet set the composite via gate.mergeReadiness.

Why deferred

The other gate modes map from the manifest in src/signals/focus-manifest.ts (e.g. if (gate.slopMode !== null) effective.slopGateMode = gate.slopMode;). Adding gate.mergeReadiness needs the manifest gate-schema parser extended to recognize + normalize the new key — more than the one-line mapping, so it was split out to keep #551 focused.

Deliverables

  • Add mergeReadiness: off|advisory|block to the .gittensory.yml gate schema + parser (focus-manifest.ts)
  • Map it onto effective.mergeReadinessGateMode in resolveEffectiveSettings (manifest wins over DB, mirroring the other gate modes)
  • Test: gate.mergeReadiness: block in yml drives the composite

Context

src/signals/focus-manifest.ts (~488 the gate-mode mapping, ~479 resolveEffectiveSettings). Relates #551, #555 (focus-manifest-as-gate).

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