README.md

Created about 13 hours ago

attributes
source_urlhttps://github.com/ksimback/looper/blob/8a9b7981c212fcbcc4cfeb3cfde5d2bbac8cbb55/templates/loops/docs-sync/README.md

docs-sync

Detect drift between documentation and the code it describes, fix the docs,
and account for every drift item — fixed, or deferred with a reason. Docs
follow code; the code is never modified.

Use when

Documentation has fallen behind the code — commands, flags, defaults, paths,
or behavior claims no longer match — and you want the cleanup done with an
auditable per-item report instead of a silent rewrite.

What it emits

  • loop-workspace/sync-plan.md — doc inventory + likely drift hot spots.
  • loop-workspace/DRIFT-REPORT.md — every drift item with doc location,
    code location, description, and status.
  • Doc fixes, applied to the target repo's working tree (never committed).

Placeholders

Token Replace with
{{REPO_DIR}} Path to the repository.
{{DOCS_DIR}} Docs path relative to the repo root, e.g. docs or README.md.
{{SRC_DIR}} Code path relative to the repo root, e.g. src.

Customization notes

  • Multiple doc surfaces (README + docs/ + CLI help text): list them all
    in the ls-files context command and name them in the goal statement.
  • The judge verifies fixed items against the code itself, not the report's
    claims — keep {{SRC_DIR}} scoped to what the docs actually describe so
    verification stays cheap.
  • Run on a clean branch; doc edits go through side-effect approval and stay
    uncommitted for your review.

Copyright (c) 2026 Kevin Simback License files are attached. MIT

MIT notice

MIT License

Copyright (c) 2026 Kevin Simback

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.