Knowledge Capture
Knowledge must outlive the individual who acquired it.
The test is not whether it was written down. It is whether someone who was not there can find it, trust it, apply it, and teach it. Most captured knowledge fails at "find it" — because it was filed under what the author was doing, not under what the next person will be searching for.
Hard rules
- Capture the transmissible procedure, not the narrative of who did what.
- Link to evidence. An unlinked claim decays into folklore within a year.
- Attribute the source, and distinguish it from the current maintainer.
- Supersede, never overwrite. A wrong lesson is corrected with its lineage intact, so the reader learns why the old answer was wrong.
- Competency, not tenure. Record what someone can do and explain, not how long they have been present.
- File by symptom, not by cause. The reader searches with the symptom; the cause is what they lack.
What counts
Capture when at least one holds:
- solving it required non-obvious knowledge that a competent person would not deduce;
- it will recur;
- getting it wrong was or would be expensive;
- the knowledge currently exists in exactly one head.
Do not capture: things the code already says clearly, one-off environment noise, restatements of public documentation, or a session log.
Capture shape
Symptom What the next person will actually observe, in their words.
Context Where it applies, and where it does not. Scope prevents misuse.
Cause What was actually happening. Standing: verified | inferred | unknown.
Resolution The procedure. Imperative steps, not a story.
Evidence Links to the failing case, the fix, the test, the data.
Non-obvious bit The single thing that made this hard. If absent, reconsider capturing.
Attribution Who established it, when. Current maintainer if different.
Supersedes Prior knowledge this replaces, and why that was wrong.
Verification How a reader confirms it still holds. Knowledge without this rots invisibly.Procedure
- Write the symptom first, in the finder's language. The error text they will paste, the behaviour they will see. Not "misconfigured connection pool" — "requests hang for exactly 30 seconds then fail".
- State the scope. Which versions, which environments, which conditions. Also where it does not apply — that boundary is what stops the next person misapplying it.
- Record the cause with a standing.
verifiedif you proved it;inferredif the fix worked and the mechanism is a hypothesis;unknownif it resolved and you do not know why.unknownis a legitimate and useful entry. Pretending otherwise creates confident folklore. - Write the resolution as steps someone else can follow without you.
- Link the evidence. The failing run, the diff, the test that now guards it.
- Name the non-obvious element. If you cannot, this is documentation, not knowledge, and probably belongs next to the code.
- Add a verification step so a future reader can tell whether it is still true.
- Make it teachable. Can someone competent explain it to a third person from this record alone? If not, it is not yet capture — it is a note.
- Check for an existing entry. Extend or supersede it; do not add a fourth partial account of the same problem.
Competency, not attendance
When recording what a person can do, record the demonstrated capability and its evidence:
- Can they perform the task unaided?
- Can they explain why it works?
- Can they teach it to someone else?
Those three are separable and progressively stronger. Time served, attendance and job title record none of them and are not substitutes.
Worked example
A deploy failed with a build error nobody could reproduce locally.
- Symptom. "Build passes locally, fails on deploy with
__dirname is not defined." - Context. Server-side code only, production builds only. Does not apply to client code or to local dev, which runs on a different runtime.
- Cause. A dependency assumes a Node host; the deploy target bundles to a Worker runtime with no CommonJS globals. Standing:
verified— swapping the dependency fixed it and reintroducing it reproduced the failure. - Resolution. Identify the importing dependency; replace with a Worker-compatible equivalent or an HTTP call. Do not shim the global — that hides the incompatibility until it surfaces somewhere worse.
- Evidence. Failing deploy log, the dependency swap, the production build that passed.
- Non-obvious bit. Local dev runs on Node and does not enforce the target's constraints, so this whole failure class is invisible until a production build.
- Verification. Run a production build, not just dev, before trusting the fix.
- Filed under. The literal error string — because that is what the next person will search for at 11pm.
Pressure tests
- Would someone who was not present find this by searching what they can observe?
- Can they apply it without asking the author a question?
- Does it state where it does not apply?
- Is any claim in it unsupported and unlabelled?
- If it turns out to be wrong in a year, can it be corrected without erasing why it was believed?
- Does it record a person's attendance where it should record their demonstrated competency?
Stop conditions
- The knowledge is a session narrative — rewrite as procedure or discard.
- No evidence can be linked and the cause is unverified — capture it explicitly as
unknown, or do not capture it. - An existing entry covers this — extend or supersede it instead.
- The content restates public documentation.