Repository navigation
Description
Parent
Ticket DR4 of spec #3027 (0.2.0). Size: L.
What to build
Create the public repository openwizdev/driver-template from OpenWiz's template driver, keeping its history (the template folder's commits, split out), and mark it as a GitHub template repository. Add: the pinned OpenWiz kit commit; a CI workflow that runs the driver's own tests and the kit on fixtures (the fake harness and a local tracker file) on every pull request, with no secrets and read-only permissions; a release workflow that, on a version tag, builds the package, manifest and checksums the contract defines; a receipt tool that runs the five checks on the author's real host from their own machine and logins, writes the 14-line receipt for the release's commit, attaches it to the release, and opens the WizMarket pull request with the author's own gh only after their yes; an import tool the move tickets use, which brings one driver's folder history from OpenWiz main or from an open pull request's branch into a new repository made from this template; and a README for outside authors (use the template, recommended name <owner>/openwiz-driver-<name>, build, run the kit, publish). A planted break shows the CI fails.
Owned paths
**inopenwizdev/driver-template(new repository, created by this ticket)
Relies on: contracts/driver-package.v1.md, contracts/driver-package.v1.schema.json, kernel/driver.v1.md, kernel/driver-kit/README.md
Links
- 0.2.0 DR1: the driver package contract, first #2993 real: the release asset, manifest and receipt formats the workflows and tools build
- 0.1.1 polish S2337: the driver template never starts a real harness, and driver kit follow-ups (stacked on #2337) #2569 real: the template fixes its open pull request makes (the template never starts a real harness), so the new repository starts from them
Acceptance criteria
- The repository exists, is public, is a template, and its history holds the template folder's commits
- CI passes on the template and fails on the planted break
- A test tag builds a package that the contract's fixture test accepts
- The receipt tool writes a receipt WizMarket's v1 receipt rules accept, from a fixture kit run
- The import tool brings a fixture driver's history across with authors intact
Proof
P3: the CI runs, green and red, linked on the ticket. Review.
Activity