Skip to content

feat(notifications): config-as-code recap channel/cadence overrides in .gittensory.yml focus manifest #2250

Description

@JSONbored

Config-as-code parity for the recap knobs: let the .gittensory.yml focus manifest override the recap enable/cadence/channel settings so operators configure the digest as code, not only via env. Follow the existing manifest field-plumbing in src/signals/focus-manifest.ts (resolveEffectiveSettings, read by src/settings/repository-settings.ts:40) — the same layering used for other per-repo review knobs.

Deliverables

  • Add recap fields (enabled / cadence / channel) to the focus-manifest schema + resolveEffectiveSettings in src/signals/focus-manifest.ts, resolved by src/settings/repository-settings.ts:34
  • Env stays the fallback; manifest > env precedence documented and enforced (yml > DB > defaults per the config-as-code convention)
  • Unit test: manifest override wins, env fallback applies when absent, invalid manifest value falls back (all branches)

References

  • src/signals/focus-manifest.ts
  • src/settings/repository-settings.ts:34
  • src/settings/gittensory-repo-focus-manifest.ts

Part of #1963.


size: S · held for later release (gittensor:feature once activated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions