From 333bd6f1eb7422cc279a43011bff05b8d550c75d Mon Sep 17 00:00:00 2001 From: ghost <49853598+JSONbored@users.noreply.github.com> Date: Thu, 18 Jun 2026 15:48:07 -0700 Subject: [PATCH] fix(api): scrub public subnet descriptor wording --- src/services/subnet-interface.ts | 8 ++++---- test/unit/subnet-interface.test.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/services/subnet-interface.ts b/src/services/subnet-interface.ts index ae5c02238c..3d5cdb4ad3 100644 --- a/src/services/subnet-interface.ts +++ b/src/services/subnet-interface.ts @@ -9,13 +9,13 @@ const SUBNET_INTERFACE_SCHEMA_VERSION = "1.0"; // Curated, contribution-relevant MCP tools surfaced to agents/devs who discover gittensor via metagraphed. // Names mirror src/mcp/server.ts registrations; the list is intentionally a miner-facing subset (not all 33). const CONTRIBUTION_MCP_TOOLS: ReadonlyArray<{ name: string; summary: string }> = [ - { name: "gittensory_get_decision_pack", summary: "Rank high-fit, low-duplicate issues to contribute to across registered repos." }, + { name: "gittensory_get_decision_pack", summary: "Surface contribution candidates across registered repos with duplicate-risk context." }, { name: "gittensory_check_before_start", summary: "Check whether an issue is already claimed or solved before writing code." }, - { name: "gittensory_validate_linked_issue", summary: "Confirm that linking an issue will earn the linked-issue scoring multiplier." }, + { name: "gittensory_validate_linked_issue", summary: "Confirm whether a planned PR has a linked issue before opening it." }, { name: "gittensory_preflight_pr", summary: "Preflight a planned PR for lane fit, duplicate risk, and review burden." }, { name: "gittensory_monitor_open_prs", summary: "Track your open PRs and what to clean up first." }, { name: "gittensory_list_notifications", summary: "See review feedback (e.g. changes requested) on your PRs." }, - { name: "gittensory_agent_plan_next_work", summary: "Deterministically rank your next gittensor contribution actions." }, + { name: "gittensory_agent_plan_next_work", summary: "Suggest useful next gittensor contribution actions from current repo and PR context." }, ]; const ONBOARDING_STEPS: ReadonlyArray = [ @@ -65,7 +65,7 @@ export function buildSubnetInterfaceDescriptor(args: { origin: string; generated name: "Gittensory", role: "contribution_interface", site: GITTENSORY_SITE_URL, - summary: "Gittensor-native contribution quality & planning layer: deterministic signals for miners and a free anti-slop + AI second-opinion gate for maintainers.", + summary: "Gittensor-native contribution planning layer: MCP guidance for contributors and a free anti-slop + AI second-opinion gate for maintainers.", }, interfaces: { mcp: { diff --git a/test/unit/subnet-interface.test.ts b/test/unit/subnet-interface.test.ts index 9ac29bbae5..e8a6e6a875 100644 --- a/test/unit/subnet-interface.test.ts +++ b/test/unit/subnet-interface.test.ts @@ -28,6 +28,6 @@ describe("buildSubnetInterfaceDescriptor", () => { it("defaults the upstream repo when not provided and contains no private/reward wording", () => { const descriptor = buildSubnetInterfaceDescriptor({ origin: "https://x.dev", generatedAt: "2026-06-14T00:00:00.000Z", appSlug: "gittensory" }); expect(descriptor.subnet.upstreamRepo).toBe("entrius/gittensor"); - expect(JSON.stringify(descriptor)).not.toMatch(/wallet|hotkey|reward|payout|trust score|scoreability|ranking/i); + expect(JSON.stringify(descriptor)).not.toMatch(/wallet|hotkey|reward|payout|earn|scoring|multiplier|trust score|scoreability|rank(?:ing)?/i); }); });