Skip to content

✨ hivectl benchmarks export: offline schema records from local evidence #18990

Closed

Description

@clubanderson

Third scope item of hivecommons/benchmarks#1: an offline hivectl benchmarks export over the local evidence tree (default /data/evidence), so an owner can produce schema records and publish by hand.

The spoke endpoint GET /api/benchmarks/export and the hub aggregation shipped in #17716 (RFC #17694). This command is the piece that was not included.

Behaviour

  • Reads schema v1 bundles under --root, converts with pkg/evidence/benchmarks.Convert, the same converter and the same record schema as the HTTP exporter. No network, no hive session.
  • Identifies the hive only by its salted hash: --hive-id (hashed locally) or --hive-hash (the 16 hex shown in Settings > Benchmarks). One is required.
  • Privacy is anonymized by default: task.repo and source.org appear only for repos named with --public-repo owner/name; without it every repo is anonymous. Never any login, PR number, SHA, prompt, finding text or path.
  • --since, --until, --out, JSON array output, and --by-month DIR writing <hash>/<YYYY-MM>.json files in the layout of data/fleet/ in hivecommons/benchmarks.
  • Cost stays unknown offline (no launch-cost store).

Tracks hivecommons/benchmarks#1.

Activity

  1. self-assigned this
    on Nov 18, 2026
  2. hivecommons-hive commented on Nov 18, 2026

    @hivecommons-hive
    Contributor

    A hive agent asked to open a pull request that would close this issue, but it is already claimed by clubanderson. No PR was opened; the owner decides whether to proceed.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions