klappy.dev

The StylebookEncoding Types

Encoding Type: Learning (L)

SummaryThe Interpretation Layer

Learnings are where observations become understanding. They require evidence — the observation that prompted the interpretation. Without that link, a learning is just an assertion dressed up as insight.

The key discipline: learnings explain why, not just what. "The deploy took 47 seconds" is an observation. "Cold starts dominate deploy time because the first fetch always misses cache" is a learning — it names the mechanism and connects to evidence.


Type Identity

FieldValue
LetterL
NameLearning
PriorityMedium — learnings inform future decisions but don't constrain them directly

Field Schema

When encoding a Learning, the model outputs a row with the following fields (serialization format governed by odd/encoding-types/serialization-format.md):

L	{title}	{body}	{evidence}	{applicability}
FieldRecommendedDescription
typeyesAlways L
titleyesShort summary of what was learned (≤12 words)
bodyyesThe learning — what was understood and why it matters
evidencenoThe observation(s) that support this learning. References to O-typed entries or direct evidence
applicabilityno"local" (this project only), "general" (applies broadly), or "provisional" (needs more evidence)

Example:

L	Platform-agnostic identification requires URL-level mechanisms	Headers are implementation details that vary by platform. URLs are universal. The consumer query param works everywhere because every MCP platform lets users edit URLs.	O: Labeled consumers only got credit for MCP initialize events — headers weren't forwarded on tool calls	general

Trigger Words (Fallback Classification)

When encode input is unstructured (not TSV), these trigger words classify a paragraph as Learning:

learned, realized, discovered, understood, found that, turns out, the reason is, this means, implies, suggests, the pattern is, insight, takeaway, the mechanism is, because

Quality Criteria

Each criterion adds 1 to the quality score (max 4):

CriterionCheckGap message if missing
SubstanceBody is ≥10 words"Learning is too brief — expand what was understood"
EvidenceEvidence column is non-empty"What observation supports this? A learning without evidence is speculation"
MechanismBody explains why or how, not just what"Add the mechanism — why does this happen, not just that it does"
ApplicabilityApplicability column is non-empty"Is this local to this project, generally applicable, or provisional?"

Quality levels:

ScoreLevelStatus
4strongrecorded
3adequaterecorded
2weakdraft
0–1insufficientdraft

What Makes a Good Learning Encoding

A strong Learning answers: what was understood, what evidence supports it, why it happens (the mechanism), and how broadly it applies. The most common gap is missing evidence — models often encode interpretations without citing the observations that prompted them. The second most common gap is asserting a pattern without explaining the mechanism.


See Also

  • DOLCHE Vocabulary — the six-dimension framework this type belongs to
  • Encoding Type: Observation — the companion type that provides evidence for learnings
  • Prompt Over Code — why this governance doc exists instead of server code

Markdown · RSS · built from klappy/klappy.dev@b750d7d