Skip to content

docs: publish schema reference for spark-compete-hotfix-v1 (pr.body_must_include, evidence_types enum) #399

@rifki0908

Description

@rifki0908

Spark Compete packet validator: missing schema reference for pr.body_must_include and review_claim.evidence_types

Schema: spark-compete-hotfix-v1
Validator endpoint: https://compete.sparkswarm.ai/api/packet/validate

Problem

When trying to satisfy the spark-compete-hotfix-v1 packet schema, two fields produce schema_const / schema_enum errors with no discoverable allowed values:

  1. pr.body_must_include — every value tested (field names, schema names, header strings) returns schema_const: Field does not match the required schema value for index 0, plus schema_contains: Array is missing a required schema value.
  2. review_claim.evidence_types — limited probing surfaced only two valid enum values (smoke_test, public_api_response); the full enum is unknown.

What we already tried

Request

Please publish one of:

Why this matters

Twelve [spark-compete] fix(security): ... PRs across spark-cli, vibeship-spawner-ui, spark-telegram-bot, and spark-domain-chip-labs are blocked by needs-valid-packet even after every other validator error has been resolved (errors went from 20 → 3, all remaining are body_must_include schema_const). Without published schema reference, contributors are guessing at validator-internal constants.

Public-safe context

  • No private logs, secrets, or admin-state were inspected.
  • No private dashboards or maintainer-only routes were probed.
  • Validator API rate-limit is respected (one request batch hit 429: too_many_packet_validation_attempts, then waited 5min before retrying).

Filed under the Spark Compete public-packet policy spark-compete-public-packet-policy-v1. Treating this as a tooling/docs gap rather than a code bug.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions