Documentation Is Part of the Product

Blog English

Why documentation should be treated as an operating asset that shapes implementation, review, onboarding, and product trust rather than as a cleanup task after coding.


Many teams still talk about documentation as if it begins after the real work is done. First the product gets built, then someone writes down what happened. That model was already weak before AI-assisted development. With AI, it becomes actively risky.

When code, copy, interfaces, and workflows can be generated quickly, documentation stops being a nice retrospective layer. It becomes part of the mechanism that keeps the product coherent.

Why this matters more now

AI can generate implementation from incomplete intent. That is often presented as convenience. In practice, it means every ambiguity in a project becomes a place where the product can drift.

If documentation is weak or stale, different people and different tools will infer different products from the same repository.

One contributor may follow the current UI. Another may follow an old README. An AI assistant may follow the nearest file and invent the rest.

The issue is not only correctness at the code level. The issue is whether the project still describes one product instead of several overlapping guesses.

Documentation does four product jobs

Good documentation does much more than explain the interface after the fact.

First, it carries intent. It tells future contributors what the product is trying to achieve and what it is explicitly not trying to become.

Second, it sets expectations. Readers can tell what exists now, what is planned, and what should not be described as already implemented.

Third, it reduces coordination cost. New contributors, reviewers, institutions, and AI assistants can all orient themselves without reconstructing the project from fragments.

Fourth, it supports trust. A project that clearly separates current state, planned direction, and experimental workflow is easier to evaluate and easier to maintain.

Let Books is already structured this way

The Let Books repository already demonstrates this layered approach.

  • AGENTS.md defines product purpose, workflows, domain boundaries, and long-term direction.
  • AGENTS-Implementation.md defines tactical implementation and documentation rules.
  • README.md explains the current state of the repository and distinguishes present deliverables from future plans.
  • docs/ defines a knowledge platform with publishing, writing, localization, and source-map conventions.

That means documentation here is not only explanation. It is part of how the project operates.

Stale documentation is product debt

Teams often recognize technical debt only when it appears in code. But stale documentation creates a similar kind of drag.

It leads to:

  • incorrect implementation assumptions
  • repeated decisions that were already made
  • demos being treated as product truth by accident
  • avoidable onboarding time
  • review friction because the standard is unclear

In AI-assisted workflows, this debt can compound quickly because assistants are very good at continuing from nearby assumptions, even when those assumptions are outdated.

Documentation and implementation should form a chain

The right model is not documentation first and code later in a rigid waterfall sense. The right model is a maintained chain.

  • specifications define product intent
  • current-state docs define what exists now
  • demos and implementations make workflows concrete
  • tests and validation enforce repeatable expectations
  • CI checks keep drift visible

If any link in that chain changes, the surrounding links should be reviewed too.

Why broad audiences should care

This is not only a technical issue.

Institutions care because documentation affects governance, procurement confidence, onboarding, continuity, and auditability.

Students should care because learning to document intent is part of learning to build reliable systems, not an administrative extra.

General readers should care because a product with clear documentation is usually a product with clearer decisions behind it.

The practical test

A useful question for any team is simple:

If a new contributor or an AI assistant entered the repository today, would the docs help them build the intended product, or would they mostly help them build something plausible?

That difference is the difference between documentation as commentary and documentation as part of the product.

The durable lesson

Documentation is not separate from product quality.

It shapes implementation, review, communication, validation, and long-term trust. In AI-assisted projects especially, documentation is part of the product because it is part of the system that keeps the product itself from drifting.

  • ../../wiki/documentation-traceability.md
  • ../../wiki/validation-layers.md
  • ai-as-an-oracle.md
  • responsibility-after-intelligence.md
  • spec-driven-development-in-let-books.md