Skip to content

feat(ops): add signal freshness SLOs - #54

Merged
JSONbored merged 1 commit into
JSONbored:mainfrom
oktofeesh1:codex/signal-freshness-slos
May 29, 2026
Merged

feat(ops): add signal freshness SLOs#54
JSONbored merged 1 commit into
JSONbored:mainfrom
oktofeesh1:codex/signal-freshness-slos

Conversation

@oktofeesh1

Copy link
Copy Markdown
Contributor

Summary

Adds signal freshness SLO reporting so stale, blocked, or missing signal sources are visible before public-review readiness is considered healthy.

What changed

  • Added a freshness SLO report covering registry data, scoring model snapshots, GitHub totals, repo sync segments, decision packs, bounty data, and signal snapshots.
  • Exposed freshnessSlo on readiness, sync status, and stale decision-pack refresh responses.
  • Added a signals.freshness_slo audit event with redacted count/status/affected-area metadata.
  • Added OpenAPI schema coverage plus unit and integration tests for fresh, stale, missing, blocked, malformed timestamp, API, and queue audit paths.

Why

Issue #40 needs freshness SLOs and alertable audit events so stale signal data cannot silently pass readiness checks.

Validation

  • npm run test:ci
  • npx vitest run test/unit/data-quality.test.ts test/unit/queue.test.ts test/integration/api.test.ts test/unit/openapi.test.ts
  • Codex Security diff scan: no findings

Notes

Closes #40

@JSONbored JSONbored left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR #54 — request changes
feat(ops): add signal freshness SLOs

Required changes:

  • Do not make readyForPublicReview depend on optional/missing freshness signals unless they are truly launch-blocking.
  • Avoid deriving global freshness from only the latest 200 signal snapshots; this can hide stale/missing per-repo/per-contributor data as the project grows.
  • Connect SLO breaches to repair/alert behavior, not only readiness reporting.
  • Add tests for optional bounty/decision-pack absence, large snapshot sets, stale per-repo signals beyond the recent sample window, and repair queue behavior.

Add freshness SLO readiness reporting, per-target snapshot freshness checks, and repair queue behavior for stale signal data. Keeps optional non-launch-blocking freshness signals visible without blocking public review readiness.
@oktofeesh1
oktofeesh1 force-pushed the codex/signal-freshness-slos branch from a8be2b7 to fc51238 Compare May 29, 2026 07:26
@JSONbored
JSONbored dismissed their stale review May 29, 2026 07:29

issues resolved

@JSONbored
JSONbored merged commit 9815ce4 into JSONbored:main May 29, 2026
3 checks passed
@JSONbored JSONbored added gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. and removed feature labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ops): add signal freshness SLOs and alertable audit events

2 participants