launchrender

command
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2026 License: Apache-2.0 Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command launchrender renders the launch artefacts under docs/launch/ from the templates in docs/launch/templates/ and checks every launch file (Story 4.17).

Every number a template shows comes from a placeholder: {{bench.<path>}} reads docs/benchmark/results.json, {{registry.providers}} and friends count the embedded registry, {{card.alt}} and friends come from the share card, and {{video.<path>}} reads docs/launch/templates/video.yaml (the recording parameters). A format may follow a bar: {{bench.union_recall.value|pct}} (see values.go). A template docs/launch/templates/<path>.md.tmpl renders docs/launch/<path>.md.

The share card docs/launch/share-card.png is rendered from the demo fixture scan: the README demo sandbox (scripts/demo-env.sh) seeded with generated test keys and scanned by a benchmark build whose verification answers come from a ground truth (OpenAI and Groq live, Anthropic dead), with --format card: totals only, no repository name. Its alt text is {{card.alt}}.

With -check it writes nothing and fails on: a rendered file or the card that differs from what the inputs render (drift), a literal number in launch prose that no placeholder produced (dates, versions, list numbering, code and URLs excepted), a block or prevent claim without docs/hooks/policy.md's "live and high-confidence keys" or an absolute claim such as "stops every leak", a key-shaped string (AD-3), non-ASCII text, a draft that does not lead with a number, cites results without the benchmark's bias statement or lacks the share card alt text, a missing draft, the Show HN title, and any mention of re:Invent or a literal date in a post. docs/launch/what-your-coding-agent-remembers.md is tools/genremembers' and is only checked here.

Usage:

go run ./tools/launchrender           render (make launch-render)
go run ./tools/launchrender -check    drift and content checks (make launch-check)

Exit codes: 0 done or clean, 1 a check failed, 2 bad input (a placeholder without a value, an unreadable or invalid data file, a card that cannot be rendered, bad flags); on exit 2 nothing is written. Messages never carry key material (AD-3).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL