Skip to content

Promote regateSweepOrderMode: oldest-first into global.gittensory.yml (VPS) #5277

Description

@JSONbored

Context

All 3 per-repo private configs set regateSweepOrderMode: oldest-first, and 2 of 3 carry near-identical comments explicitly framing this as deliberate cross-repo parity ("mirrors awesome-claude's existing setting so all 3 gated repos share the same sweep ordering," #3815). global.gittensory.yml never sets this key; the code/DB default is staleness (src/db/schema.ts:56, src/db/repositories.ts:526,731).

resolveRepositorySettings overlays yml onto DB settings, feeding orderMode directly into selectRegateCandidates (src/queue/processors.ts:1394). A future 4th repo, or one of the existing 3 if its file is ever lost or fails to parse, silently falls back to staleness ordering instead of the documented-as-intended FIFO. Affects sweep order only, not gate/merge/close correctness.

Requirements

  • Direct edit to the private dedicated-server config, not a GitHub PR.
  • No behavior change for existing repos expected (per-repo override still wins) — this only closes the silent-fallback gap.

Deliverables

Expected Outcome

A future repo (or any existing repo losing its override) falls back to the documented-as-intended FIFO sweep order instead of silently reverting to staleness ordering.

Links & Resources

  • Evidence: jsonbored__gittensory.gittensory.yml:19-21, jsonbored__metagraphed.gittensory.yml:20-22, jsonbored__awesome-claude.gittensory.yml:16; src/db/schema.ts:56; src/db/repositories.ts:526,731

Part of #5270 (roadmap epic).

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions