New Features in git11

git11 is an AI workspace for engineering teams. It understands repositories, auto-generates documentation, answers deep code questions, and works securely across your GitHub organization.

✦ AI Documentation for any repository

✦ Ask anything about your codebase

✦ Organization & team access with permissions

✦ Secure GitHub App integration with audit logs

git11 repository intelligence dashboard

Documentation as Continuous Integration

Software documentation will follow the exact adoption curve as automated testing and deployment.

By git11 Engineering · Sat May 16 2026 · 5 min read

Documentation as Continuous Integration

The average engineer spends 40% of their week decoding poorly documented internal codebases. This is a massive tax on engineering velocity. Most documentation is incorrect the moment you merge the pull request. Manual documentation is dead code.

Ten years ago, we manually deployed code via FTP or bash scripts. We treated deployments as events rather than processes. Today, we view git push as the start of a deterministic pipeline. Documentation is the final variable in the DevOps cycle to undergo this conversion.

The Drift Problem

Code moves faster than prose. Every README.md eventually lies to the reader because the cost of synchronization is too high. Engineers prioritize features over updating technical specs. This creates state drift.

Documentation drift is technical debt. Like an unpatched security flaw, it compounds over time. When a new hire reads an outdated setup guide in /docs/setup.md, they waste four hours troubleshooting a fixed bug. We tolerate this because we view docs as a secondary artifact.

In 2014, we stopped trusting manual server configurations and moved to Infrastructure as Code. We are now at a similar inflection point for knowledge. We can no longer rely on human memory to sync code changes with architectural descriptions.

Documentation Lifecycle Stages

Every engineering team moves through three specific phases of documentation maturity. Most companies currently stall at stage two.

  1. Tribal knowledge: No written docs. Everything lives in the lead engineer's head. 2.

Manual maintenance: Outdated Markdown files that nobody trusts. 3. Automated synthesis: Docs update automatically based on AST changes and PR diffs.

Automated docs are not just generated API references like Swagger or JSDoc. They are contextual. They explain why a specific logic branch exists in src/auth/session.go without a human writing a single word of English.

Parallels to Early CI

Early critics of CI/CD argued that automated tests were too brittle. They claimed humans needed to verify every build manually. We now know that humans are the least reliable part of any release pipeline. Humans forget to update the documentation 90% of the time.

Documentation automation uses the same primitives as your build pipeline. It hooks into pre-commit or CI runners like GitHub Actions. It analyzes the diff to identify logic changes that require new explanation. It fails the build if the knowledge graph is inconsistent.

  • CI automates the verification of logic.
  • CD automates the distribution of logic.
  • DA (Documentation Automation) automates the explanation of logic.

The Knowledge Graph

Effective automation requires a Knowledge Graph. This is a map of how components interact. If you change a database schema in models/user.rb, the automation knows that services/billing.rb is affected. It flags the existing documentation for these services as stale.

We are moving toward a world where the README.md is a derived asset. You do not edit it. The system generates it by analyzing your imports, types, and logic flow. This removes the mental burden of context switching during a sprint.

Implementing the Pipeline

To move toward automated docs, start with small, verifiable units of information. This mirrors how teams transitioned from monoliths to microservices. Do not try to document the entire architecture at once.

  1. Define a schema for your metadata in .git11/config.yaml. 2. Map your directory structure to specific ownership tags.
  1. Trigger documentation audits on every merged pull request. 4. Use LLMs the delta between the old and new AST.

Your tools should look for specific patterns. If a function signature changes in lib/api_client.ts, the tool must update the corresponding examples in the integration guide. This is a deterministic process, not a creative one.

Breaking the Wiki

Internal wikis like Confluence or Notion are where knowledge goes to die. They exist outside the version control system. This is the same mistake we made with manual server configuration logs before Terraform existed.

Documentation belongs in the repository. It must follow the same branching strategy as your code. When you checkout feature/new-api, the documentation should reflect only that feature. Automation makes this synchronization effortless.

  • The repository is the single source of truth.
  • Markdown files are build targets, not source files.
  • High-level architecture diagrams are generated from code imports.

Measuring Documentation Velocity

You cannot improve what you do not measure. Most teams measure code coverage or deployment frequency. Almost no one measures Documentation Coverage. Automated tools allow us to quantify how much of the codebase is actually explained.

We define Documentation Coverage as the ratio of documented logical paths to total cyclomatic complexity. A score of 0.8 means your docs explain 80% of the possible execution paths. This metric becomes a gate in your CI pipeline, just like test coverage.

The Cost of Human Input

Writing documentation is an expensive use of a staff engineer's time. At $150 per hour, a two-hour documentation session costs the company $300. In a team of 50, this total exceeds $750,000 annually. Automation reduces this cost to the price of API tokens.

Lowering the cost of documentation increases its frequency. When it costs nothing to update a guide, the guides stay fresh. Fresh guides mean fewer interruptions for senior developers on Slack or Zoom. This restores the flow state required for high-level engineering.

Future State

In the next 24 months, the concept of "writing" documentation will feel as dated as manually compiling a kernel. You will write code. The system will observe the changes and generate the necessary technical context for your colleagues.

  • New developers will ask questions to a bot trained on the repo.
  • Pull requests will auto-generate their own summaries.
  • Complex refactors will automatically update the architectural diagrams.

The goal is not to eliminate writing. The goal is to eliminate the synchronization of facts. We are trading human labor for automated consistency.

Code that cannot be explained is technical debt, and manual explanation is a scaling failure.

Ask this question directly on your own repo →