Repository navigation
Closed
openwizdev/WizSite
#149Closed
Copy link
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Milestone
Description
Parent
Ticket MK9 of spec #2476 (0.1.2): openwiz.dev/market, generated from the registry. Size: M.
What to build
In openwizdev/WizSite:
market/registry.json: a pinned snapshot of WizMarket'scheck/check.py indexoutput (the contract's index shape in openwizdev/WizMarketcontracts/listing.v1.md). Until WizMarket's check merges, use the contract's own synthetic example; MK11 refreshes it.scripts/market-sync.mjs <WizMarket checkout>: runs that checkout'spython3 -I check/check.py indexand writesmarket/registry.json.scripts/market.mjs: reads and validates the snapshot (refuses a malformed one, failing the build), and renders the market's cards. Export the loader so the Drivers page (MK10) can reuse it.market/index.html: the page shell, in the site's design (tokens.css, site.css, the same header and footer slots), filled bybuild.mjsat build time: each listing's name, summary, tags, status (verifiedwith a link to its proof, orlisted), stage (being built, with its link) and URL. Browsable by tag with plain links or anchors, working without JavaScript. One "Publish your own" paragraph linking WizMarket and its pull-request template.build.mjs: add the page and its generation (your lines only).footer.html: one Market link (your line only).tests/market.test.mjsandtests/market-fixtures/: build from a fixture snapshot and prove every listing renders with its status, tags and links, a malformed snapshot fails the build, and a non-verified listing never shows verified. Red first. Add it topackage.json'stest:functionsline.
No server, no network at build, no accounts. Every statement on the page true against the contract. A merge deploys openwiz.dev: the lead asks the planner before merging.
Owned paths
market/inopenwizdev/WizSite(new)scripts/market.mjsinopenwizdev/WizSite(new)scripts/market-sync.mjsinopenwizdev/WizSite(new)tests/market.test.mjsinopenwizdev/WizSite(new)tests/market-fixtures/inopenwizdev/WizSite(new)build.mjsinopenwizdev/WizSite(shared: the market page's lines)footer.htmlinopenwizdev/WizSite(shared: the Market link)package.jsoninopenwizdev/WizSite(shared: the market test on the test:functions line)
Relies on: nothing
Links
- 0.1.2 MK1: the WizMarket listing contract, its schema and fixtures #2485 real: the index shape the page reads
Acceptance criteria
-
tests/market.test.mjsred first, then green in WizSite CI withnpm run build,npm run checkand every test - The page works without JavaScript and passes the site's link, privacy and contrast checks
- A preview link in the PR for the owner's late look
Proof
P4 (market): the page's test and the preview.
Metadata
Metadata
Assignees
Labels
ready-for-agentFully specified; an agent can take it once its blockers have merged
Activity
jparker2006 commentedon Nov 23, 2026
launch-fleet: started
Hand checks by the spec's lead (2026-11-23): open; only
ready-for-agent; no claim, builder or pull request; blocker #2485 merged (openwizdev/WizMarket@0149c2d); no owned-path clash with running work. Plan approval: #2476 revision 1 (comment 7087275832).jparker2006 commentedon Nov 23, 2026
agent: builder
state: working
harness: claude-code
model: claude-opus-5-5
skills: build-ticket@0.2.2
step: Granted check.py lines in; full suite green locally; pull request openwizdev/WizSite#149 open, waiting on CI.
time: 2026-11-23T01:04:53Z
jparker2006 commentedon Nov 23, 2026
Builder question (MK9):
scripts/check.pyneeds the market page's lines, and it isn't an owned path.What I found: WizSite's
npm run check(scripts/check.py) pins the exact build output and the footer's links. With the market page built (branchmk9-market, head6da0d70),check_siterefuses atassert files == STATIC | set(names.values()), 'unexpected or missing build output', andcheck_footerwould refuse the new Market link (FOOTER_LINKSis a fixed tuple). The page also can't get the site's link and privacy checks (acceptance criterion 2) unless it's inPAGES. Its external links are listing URLs (any https host, some with a query) and WizMarket links, andcheck_refallows neither today. So CI can't go green inside the owned paths.scripts/check.pyis a protected guard and isn't covered by the standing supporting-edit rule.Options:
(a) Approve a supporting edit to
scripts/check.py, covering the market page's lines only (about 21 added lines, 3 changed), plus a test for them inscripts/test_check.py:market/index.htmltoSTATICandPAGES, so it gets every per-page check: links, fragments, footer, nav, privacy and copy;('/market/', 'Market')toFOOTER_LINKS;market/registry.json(already checked against listing.v1's URL grammar byscripts/market.mjs) or underhttps://github.com/openwizdev/WizMarket. Every other page keeps today's allowlist.I ran exactly this on a scratch copy:
npm run buildandnpm run checkpass. The new test would show that a market-page link outside the registry, or the same URL on another page, is still refused.(b) A separate ticket owns that
check.pychange, and this PR waits for it to merge.(c) Leave the page out of
check.py. That isn't viable: the exact-output assertion refuses any new built file.My pick: (a). It's the smallest change that keeps every existing guard and puts the new page under them.
Two gaps I'll name in the PR, both following the ticket's own instructions, with no change asked:
fixtures/index.json, so its proof links point at the synthetic commitdddd…and lead nowhere..github/pull_request_template.mdon WizMarket main, which exists only once MK3 (0.1.2 MK3: publish your own, WizMarket's pull-request template and README #2487) merges.The lead's planner check before merge covers both.
jparker2006 commentedon Nov 23, 2026
launch-fleet: started
Started at 2026-11-23 00:43:42Z, record delayed by GitHub's content block.
Fresh builder continuing branch
mk9-marketat 6da0d7024515dacc0c157e2dcad55aa870e9ab38 (the first builder was archived under a credits throttle). Hand checks by the spec's lead (2026-11-23): open; onlyready-for-agent; no pull request; blocker #2485 merged; no owned-path clash with running work. Plan approval: #2476 revision 2 (comment 7088242970).jparker2006 commentedon Nov 23, 2026
F4 supporting edit granted (planner), for #2500:
scripts/check.pyscripts/test_check.pyscripts/landing-check.mjsOnly these lines: register
market/index.htmlinSTATICandPAGES, add the Market footer link toFOOTER_LINKS, strip the generated market section before the exact-export comparison, and allow on the market page only external links that are exactly registry URLs or under WizMarket; the matchingedit_builtpage list entry and one allowlist test; and the landing check's link count from 9 to 10. Granted by the spec's lead.jparker2006 commentedon Nov 23, 2026
launch-fleet: look: no thread matches builder:2500, and no private run map was restored; more than one builder is recorded as started
From a webhook tick on openwizdev/WizSite#149 (2026-11-23 01:37Z). The routing for this ticket is missing from the private record, so the fleet cannot reach its builder. Delivery to the orchestrator was refused; this record stands in for it.
jparker2006 commentedon Nov 23, 2026
launch-fleet: look: WizSite#149 webhook routing found no matching builder and more than one builder recorded as started. Orchestrator delivery was refused by the host; assignment reconciliation is needed.