HydraIssues

hydratam: give candidate cities a Sources list for accumulating evidence citations
open feature Project: experiencenet Parent: #619 Reporter: 17 Sep 2026 13:15

Description

City had rationale/metric text but no citation field at all -- only Market.Source and Opportunity.Source existed, both single strings meant for the one research issue a record was seeded from, not for ongoing evidence.

Added City.Sources []string (yaml/json sources, omitempty): a list of http(s) citation URLs a candidate city accumulates over time. store.Validate rejects any entry that isn't http:///https://. The atlas renders them as hostname-labeled links at the bottom of a city's card in the market dossier.

Applied it as the first real entry: Rotterdam (zuid-holland market) now cites https://www.ciiic.nl/en/news/landelijk-netwerk-van-vijf-ix-labs-gestart-dankzij-het-nationaal-groeifonds-programma-ciiic -- SHINE, one of five immersive-tech labs in the national IX Labs NL network (motion capture, virtual production, spatial audio), funded by the Nationaal Groeifonds CIIIC programme, opening 2026-11-18. Rotterdam's rationale was extended to mention it.

Documented the general procedure in the runbook's new "Sources" section: how to decide whether a given URL is evidence for a city, a whole market, or a researched opportunity, and a read-modify-write recipe for attaching a source without hitting the existing PUT-is-replace trap.

go build/go vet/go test all green; hydratam seed --dry-run validates the updated seed cleanly.

Session Context

Comments (1)

api 14 Oct 2026 20:20

Status as of 2026-10-01, pinning this for later:

  • Implementation landed in the same commits as #751 (City.Sources field + validation, atlas link rendering, runbook "Sources" section, testbook validation case). Build/vet/test clean, shipped in v0.1.16.
  • Rotterdam's SHINE-lab citation is committed in seed/markets.yaml on main, but it is only live once BOTH: (1) the server is actually running v0.1.16+ (see #751), AND (2) hydratam seed --replace-market zuid-holland is run against the production data directory -- a live PUT edit would get overwritten by a future reseed, so the seed file is the right place for it, but it still needs that command run on the server. No cluster-exec/SSH access was available this session to do that step directly.

Close once that reseed has run and GET /api/v1/markets/zuid-holland shows the sources entry on Rotterdam.