mirror of
https://github.com/bitbaum/petvity.git
synced 2026-12-04 07:50:03 +01:00
The fleet's building-in-public contract puts each product's record in its own repository as two markdown files and renders it through Loki's fleet map via bip-kit. Petvity had neither the files nor the pages. - ROADMAP.md: Now / Next / Later / Shipped, derived from the phases in AGENTS.md and the merged history. Planned work is written as plans. - CHANGELOG.md: Keep-a-Changelog dialect, user-facing, newest first, from merged PRs; today's homepage rewrite is the top entry. - /[locale]/roadmap and /[locale]/changelog render bip-kit's DevelopmentPage inside the marketing nav/footer; the records are English by contract, the chrome and metadata stay localized (keys in all 9 locales, footer links). - lib/config/development.ts is the SSOT for the map URL, slug and profile; lib/development/records.ts fetches with revalidate 300 and an 8s ceiling. - The --bp-* theme scope already mapped for the blog (.pv-longform) covers the records; the page title and record name take the editorial faces. - Vitest covers the data path with a fleet-map fixture, no network. - Sitemap lists both pages. Verified at 390px in de/en/ar: no horizontal overflow. Claude-Session: https://claude.ai/code/session_01NJJp6XiUkeEVzjDaBmWjL3 Co-authored-by: Claude <noreply@anthropic.com>
20 lines
853 B
TypeScript
20 lines
853 B
TypeScript
/**
|
|
* Public development records — SSOT for where they come from.
|
|
*
|
|
* The fleet map is the producer: it ingests ROADMAP.md and CHANGELOG.md from
|
|
* this repository (the record) and serves every product's roadmap/changelog
|
|
* from one endpoint. The site is only a consumer; it keeps no local copy.
|
|
*/
|
|
export const DEVELOPMENT = {
|
|
/** Loki's fleet map — `{ projects: [{ slug, roadmap, changelog, ... }] }`. */
|
|
mapUrl: "https://loki.orangecat.ch/api/fleet/map",
|
|
/** This product's slug in that map. */
|
|
slug: "petvity",
|
|
/** The full public profile, linked from both pages. */
|
|
profileUrl: "https://loki.orangecat.ch/fleet/petvity",
|
|
/** The map is cached five minutes upstream; re-fetch on the same rhythm. */
|
|
revalidateSeconds: 300,
|
|
/** Records are optional chrome, never a reason to hang a page. */
|
|
timeoutMs: 8_000,
|
|
} as const;
|