Documentation
¶
Overview ¶
Package assistedby holds the third form of the `Assisted-by:` trailer, the label abcd declares on a commit it composes from record facts (ruling PC1, the technical facilitator, 2026-10-02): `Assisted-by: abcd:<version>`, beside a model's `<Vendor>:<model-version>` and `None`.
It is also the one Go home of the model form's value grammar (model.go), the gate's TRAILER_RE, which the same two readers need.
It is the label's one Go home. The implement loop writes it (the pick's record-only commit, the sync's merge commit, and the landing's pull-request body, where the models' lines follow it) and refuses a receipt that claims it; the site's authorship tally reads it and counts it apart from both assistance and None. scripts/check-attribution.sh decides the grammar (ABCD_RE and ABCD_ANY_RE) and runs in CI without Go, so the two halves share a test rather than code: TestComposedLabelGrammarMatchesTheGate.
Index ¶
Constants ¶
const DevLabel = "dev"
DevLabel is the version half for a binary built without a release version: a development build, which says so rather than borrowing a release's name.
const ReleaseVersionPattern = `v[0-9]+\.[0-9]+\.[0-9]+([-+][0-9A-Za-z.-]+)?`
ReleaseVersionPattern is a release version as the release workflow admits a tag (.github/workflows/release.yml, "Refuse a tag that is not a vX.Y.Z release tag").
const Vendor = "abcd"
Vendor is the vendor half of the label: abcd itself, never a model's vendor.
Variables ¶
This section is empty.
Functions ¶
func ComposedValue ¶
ComposedValue is the trailer value a commit abcd composes carries, for a binary whose version is v.
func IsModelValue ¶
IsModelValue reports whether a trailer value is, whole, the model form the gate accepts.
Types ¶
This section is empty.