Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

lessons-library

Curated, generalized lessons that recur across projects — the durable memory of the engineering system.

Two tiers, kept distinct:

  1. Project-local lessons live in each project's docs/agent-lessons/, written during /project-closeout by mining that project's local-review findings.
  2. Generalized lessons live here. When a lesson family recurs across projects (e.g. "new E2E spec ⇒ register it in the CI matrix", dependabot triage), it's rewritten stack-agnostically and promoted here.

Promotion

/project-closeout ends with: if a mined lesson generalizes, open a PR against engsys/lessons-library/. That's the feedback loop that keeps engsys the source of truth instead of a fork point.

Format

One lesson per file. Keep them LLM-optimized and trigger-first:

# <short title>

**Trigger:** the symptom that should make you recall this.
**Failure mode:** what goes wrong and why.
**Correct behavior:** the checklist / the fix.
**Check:** a quick diagnostic before/after.
**Seen in:** keep it generalized — e.g. "recurring across projects."

This library is published publicly (npm + GitHub). Generalize before promoting: never include private project/repo/company names, secrets, internal hosts, or proprietary specifics in a lesson. The pattern is what's portable, not the particulars.

Seeding

A future installer option may seed a project's docs/agent-lessons/ with the lessons relevant to its chosen stack. For now, promotion is manual via PR.

Index

Verification & review

Concurrency & safety

Data & identity

Workflow & git

Ops & deploy

Tooling