Skip to content

feat(registry): add SN60 Bitsec openapi, subnet-api, and data-artifact surfaces#1965

Closed
minion1227 wants to merge 1 commit into
JSONbored:mainfrom
minion1227:sn60-bitsec-surfaces
Closed

feat(registry): add SN60 Bitsec openapi, subnet-api, and data-artifact surfaces#1965
minion1227 wants to merge 1 commit into
JSONbored:mainfrom
minion1227:sn60-bitsec-surfaces

Conversation

@minion1227

Copy link
Copy Markdown
Contributor

Add or update a subnet surface

This PR appends three community surfaces to exactly one subnet file —
registry/subnets/bitsec-ai.json (SN60 Bitsec) — and nothing else. Each was
generated with npm run surface:add and is live-verified as public and
no-auth. Bitsec.ai is the security/vulnerability-detection subnet; these are
its public operational endpoints, all served under the official bitsec.ai
domain (https://bitsec.ai/api/...).

Summary

  • openapihttps://bitsec.ai/api/openapi.json
    Machine-readable FastAPI spec (OpenAPI 3.x, version 0.1.0, 30 paths). Fetched
    with 200 application/json; surface:add parsed it and set
    schema_status: machine-readable + schema_url. This is the canonical
    contract for the surfaces below.

  • subnet-apihttps://bitsec.ai/api/analytics
    Public competition-state endpoint ("Get Leaderboard Summary"). Returns the
    current round (name, phase, submissions_status, agents_submitted_count,
    winner_emissions_percentage, is_emissions_active), screening counts
    (agents_pending_evaluation, evaluated_count), agent stats, and projects.
    Verified 200 application/json, no credentials required.

  • data-artifacthttps://bitsec.ai/api/jobs/leaderboard
    Public per-agent leaderboard snapshot ("Leaderboard"). Returns a JSON array
    (32 rows at fetch time) of evaluated agents with agent_id, agent_version,
    score, num_completed_validators, hotkey, project_set_id, and timestamps.
    Verified 200 application/json (~9 KB), no credentials required.

Surface

Checklist

  • Changes exactly one registry/subnets/bitsec-ai.json file.
  • Generated with npm run surface:add — lands authority: community and
    review.state: community-submitted.
  • Every url is public and safe for read-only probes; the source_url
    (official site + the OpenAPI spec) independently proves the subnet publishes them.
  • Public-safe: no auth-only flows, secrets, wallet/PAT data, private URLs,
    validator internals, or generated public/metagraph/** artifacts.
  • Does not duplicate an existing Metagraphed surface (SN60 had no callable
    surface; not adapter-backed).

Validation

  • npm run validate:surface -- registry/subnets/bitsec-ai.json → passed (3 surfaces, 1 file)
  • npm run scan:public-safety → passed

Closes #589

@superagent-security

Copy link
Copy Markdown

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.11%. Comparing base (7a7b0c3) to head (a57aea7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1965   +/-   ##
=======================================
  Coverage   93.11%   93.11%           
=======================================
  Files          46       46           
  Lines        7319     7319           
  Branches     2694     2694           
=======================================
  Hits         6815     6815           
  Misses         90       90           
  Partials      414      414           
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@minion1227 minion1227 force-pushed the sn60-bitsec-surfaces branch 2 times, most recently from 24f89fb to 6832f65 Compare June 26, 2026 03:26
@minion1227 minion1227 force-pushed the sn60-bitsec-surfaces branch from 6832f65 to a57aea7 Compare June 26, 2026 04:05
@JSONbored JSONbored added gittensor Gittensor contributor context banned Banned due to plagiarism or other repeat violations. labels Jun 26, 2026

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

Closing this, and I want to be transparent about why.

This account is permanently blocked from contributing to our repositories — for plagiarism. In JSONbored/gittensory you filed two PRs that were copies of another contributor's open work, submitted as your own to claim the credit:

Lifting another contributor's diff to claim the credit is a hard line for us — two strikes, you're out. Our Code of Conduct states it plainly: plagiarism and reward-farming result in a permanent block from contributing, enforced across JSONbored/gittensory, JSONbored/metagraphed, and JSONbored/awesome-claude.

The block is on the account, not any individual PR, so this isn't a review of the change — it's enforcement of the ban. Closed and labeled slop. This decision is final.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

banned Banned due to plagiarism or other repeat violations. gittensor Gittensor contributor context

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Enrich SN60 Bitsec.ai — add public API endpoint + OpenAPI/Swagger spec

2 participants