Repository navigation
Two workflows the toolkit had opinions about and no words for - #96
Merged
Merged
Conversation
/preflight ends at "ready to commit" and /watch-ci begins after the push. Between them sits the step all thirteen of the last PRs went through, and nothing described it: the branch, the title, the body a reviewer reads. Separately, observability carries the same lockstep discipline as the config schema — checked in both directions by observability_pack_test.go — and had neither a hook nor a skill, so adding a metric failed a test whose existence was not discoverable from the edit. - /ship — branch as type/slug, then the title convention, which is the part that is genuinely hard to guess: a PR title is a prose sentence naming the *problem*, with no area: prefix, while commits that go straight to main keep the prefix because they are housekeeping with no problem to name. Then the commit body as rationale, the PR body written for a reviewer — the movement that earns the format is "the part that needs review", where the author says what they are least sure of and what they got wrong first — and the template checklist answered rather than ticked. - /observability — the pack lockstep in both directions, and the two traps in how it reads the source: it extracts quoted literals from metrics.go only, so a name built by concatenation or declared elsewhere passes the test while shipping unwatched, and histogram series match after the _bucket/_sum/_count suffix is stripped. Plus the consequence of the v1 freeze that catches people: it covers names *and label sets*, so adding a label to an existing metric is a break while a new name is additive — which is why the tenant series are their own metrics. Spans and audit fields get the same treatment without a test to lean on. CONTRIBUTING said commit messages follow "area: imperative summary". That stopped being true at #78, and every PR since has been prose. The line now describes what the repo does, with the split stated.
This was referenced Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows #95. Two skills, and one correction to CONTRIBUTING.
/preflightends at "ready to commit" and/watch-cibegins after the push. Between them sits the step all thirteen of the last PRs went through — branch, title, the body a reviewer actually reads — and nothing described it. Separately, observability carries the same lockstep discipline as the config schema and had neither a hook nor a skill until #95 added the hook, so adding a metric failed a test whose existence was not discoverable from the edit./shipWritten from walking #95 by hand rather than from first principles, which is where most of it came from:
type/prefix the titles dropped.feat/downstream-keepalivewith the title A retry answering an upstream's question arrived looking like a first try. The branch classifies; the title explains. Not obvious from either one alone.git log 41c5757is the model, closing on what the work surfaced). The PR body is written for a reviewer, and the movement that earns the format is "The part that needs review" — where the author says what they are least sure of. The gateway can keep its own streams alive, at a price worth stating #94 opens that section with "three consequences, two of which I initially got wrong," then measures all three./observabilityThe pack lockstep in both directions, plus two traps found by reading
observability_pack_test.gorather than the code it tests:declaredMetricsextracts quoted string literals frommetrics.goonly. A name built by concatenation, or declared in another file, is invisible to the check — it passes green while shipping a metric nothing watches. Worth knowing before trusting the test as a backstop._bucket/_sum/_countis stripped, so queryingfold_request_duration_seconds_bucketis fine; the base name is what must be declared.It also states the consequence of the v1 freeze that catches people: it covers metric names and label sets, so adding a label to an existing metric is a break while a new name is additive. That is why the tenant series are separate metrics rather than a
tenantlabel onfold_requests_total— the reasoning is inmetrics.go, and now in a place someone looks before writing the label.Spans and audit fields get the same treatment, flagged explicitly as having no test behind them.
The part that needs review
The title convention is a judgement call I asked about rather than inferred, and the split is mine to defend. CONTRIBUTING said
area: imperative summary. That stopped being true at #78 — every PR since is prose. Butrelease:anddocs:commits going straight to main kept their prefixes throughout, includingdocs: repoint the conformance receipt at the v1.15.0 runan hour ago.I have encoded that as a rule with a reason — housekeeping has no problem to name, so it gets a prefix; a PR does, so it gets a sentence. That reads as coherent rather than as two conventions overlapping, but the split is a post-hoc reading of thirteen PRs, not something anyone wrote down. If the real rule is simpler ("prose for anything with a PR"), the CONTRIBUTING wording should shrink to match.
/shipsays never merge without the user asking, and states why: branch protection hasenforce_adminsoff and requires no reviews, so nothing mechanical sits between a green check and a merged PR. Encoding a social rule in a skill is weaker than a branch-protection setting. It is written down because the alternative is nowhere.Verification
/ship,/observabilityappear in the skill roster).TestPackReferencesOnlyDeclaredMetrics,TestEveryMetricAppearsInThePack,TestDashboardIsWellFormed,TestBothRuleFilesCarryTheSameAlerts; the three pack files;metricNamesUnexercisedconfirmed empty;enduser.idand thefold.*attribute names read fromgateway/otel.go.Checklist
make check— no Go touched.claude/README.mdgains both rows; CONTRIBUTING's title section rewritten