Skip to content

feat(sync): track upstream Gittensor registry and scoring drift (#87) - #320

Merged
JSONbored merged 2 commits into
JSONbored:mainfrom
monsterdavidliu-ux:feat/issue-87-upstream-drift
Jun 2, 2026
Merged

feat(sync): track upstream Gittensor registry and scoring drift (#87)#320
JSONbored merged 2 commits into
JSONbored:mainfrom
monsterdavidliu-ux:feat/issue-87-upstream-drift

Conversation

@monsterdavidliu-ux

@monsterdavidliu-ux monsterdavidliu-ux commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Enriches upstream drift reports with source metadata (repo, ref, commitSha) and sorted recommended Gittensory module follow-up paths derived from affected drift areas.
  • Surfaces source and recommendedFollowUp in public upstream status/drift API output and OpenAPI schema.
  • Records upstream.drift_detected audit events during scheduled refreshUpstreamDrift runs (including no-drift refreshes).
  • Adds regression tests for deterministic drift fingerprints, secret-safe audit metadata, and forbidden public language boundaries.

Closes #87.

Test plan

  • npx vitest run test/unit/upstream-ruleset.test.ts
  • npm run typecheck
  • npm run ui:openapi

…SONbored#87)

Add upstream source metadata and recommended Gittensory module follow-up
to drift reports and public status output. Log drift detection during
scheduled refresh and add regression tests for fingerprint stability,
secret-safe audit metadata, and public output boundaries.

Closes JSONbored#87.

@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.

@monsterdavidliu-ux

A few notes:

  • This lines up with #87: drift reports now say where the upstream snapshot came from and which Gittensory modules likely need follow-up.
  • OpenAPI and the UI artifact were updated together, which matters for this repo’s generated-contract gate.
  • The audit metadata is bounded and avoids raw upstream payloads or private/user-specific material.

No code changes requested.

@dosubot dosubot Bot added the lgtm label Jun 2, 2026
@JSONbored
JSONbored merged commit 3717f4c into JSONbored:main Jun 2, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in gittensory - v1 roadmap Jun 2, 2026
@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

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

feat(sync): track upstream Gittensor registry and scoring drift

3 participants