Skip to content

0.2.0 DR2: WizMarket listing v2 with the pinned package #2994

Backlog

Description

@jparker2006

Parent

Ticket DR2 of spec #3027 (0.2.0). Size: M.

What to build

In openwizdev/WizMarket, a listing v2 beside v1 (v1 never changes). A v2 driver or harness listing carries the package block, and optionally the key_host block, exactly as the driver package contract defines them. The check refuses: a malformed block; an asset URL that is not a release asset of the listed repository; and a verified listing whose receipt's # driver: line is not the package's repository and commit. The index gains the v2 fields per listing and says which contract each listing uses; every v1 listing reads exactly as before. The README's publishing steps for drivers point at v2 and the template.

Owned paths

  • contracts/listing.v2.md in openwizdev/WizMarket (new)
  • schema/listing.v2.json in openwizdev/WizMarket (new)
  • check/check.py in openwizdev/WizMarket
  • check/test_check.py in openwizdev/WizMarket
  • fixtures/v2/ in openwizdev/WizMarket (new)
  • README.md in openwizdev/WizMarket (shared: the drivers part of Publish your own)

Relies on: contracts/driver-package.v1.md, contracts/driver-package.v1.schema.json

Links

Acceptance criteria

  • Every existing v1 listing and fixture passes unchanged, and the index for them is byte-identical
  • Each v2 refusal above has a fixture that fails first and a test
  • A verified v2 listing passes only with a receipt for its exact package commit
  • The index carries the v2 fields

Proof

P2: the check tests, red first. Review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions