Skip to content

docs: require user-visible changes to ship with their docs, and credit AI tooling - #84

Merged
sirjmann92 merged 2 commits into
mainfrom
docs/agents-docs-requirement
Sep 16, 2026
Merged

sirjmann92 merged 2 commits into
mainfrom
docs/agents-docs-requirement

Conversation

@sirjmann92

Copy link
Copy Markdown
Owner

Two documentation changes.

AGENTS.md — Documentation Is Part of the Change

A new section stating the rule directly: any change a user can observe must land in the same PR as its documentation update. It covers new features, settings, toggles, pages and job types; changed defaults and renamed settings; removals; and new or changed API endpoints and payloads.

It also says what doesn't need docs — refactors, internal helpers, test-only changes, dependency bumps. If a user cannot tell the difference, neither can the docs.

A routing table maps each kind of change to the file that owns it, so "where does this go?" isn't re-litigated per PR:

Change Update
New/changed setting or default docs/settings.md
Page behaviour the matching docs/<page>.md
Integration / webhook / workflow docs/integrations.md
New API endpoint or payload the ## API section in README.md
New headline capability README Features list + the relevant docs/ page
Screenshot-worthy UI refresh the image in images/

Plus two conventions this repo already learned the expensive way:

  • Don't duplicate. README gets the summary, docs/ gets the detail. Repeating detail in both guarantees drift — the same failure mode as a version pinned in five places.
  • Document the why for non-obvious defaults. general.fix_container_mismatch ships off because enabling it makes an *arr recreate the file record and permanently lose sceneName. A user reading only "corrects the file extension" would turn it on and be surprised.

README.md — Acknowledgements

A short footnote above the license noting that AI coding tools were a substantial help in building this, alongside the fact that everything shipped was still reviewed, tested, and run in production. Deliberately a footnote, not a banner.

Verification

pre-commit run --all-files passes clean (all 16 hooks). Docs-only change — no code paths touched, no rebuild required.

Adds a "Documentation Is Part of the Change" section to AGENTS.md stating
that any change a user can observe must land in the same PR as its docs
update, with a routing table mapping change type to the file that owns it.

Explicitly exempts refactors, internal helpers, test-only changes, and
dependency bumps — if a user cannot tell the difference, neither can the
docs.

Also carries over two conventions the repo already learned the hard way:
keep the README summary and the docs/ detail from duplicating each other
(duplicated prose drifts exactly like the Biome pins did), and document
the rationale behind non-obvious opt-in defaults.
A short footnote under Acknowledgements, above the license — stated plainly
rather than as a headline, and paired with the fact that everything shipped
was still reviewed, tested, and run in production.
@sirjmann92
sirjmann92 merged commit db5103d into main Sep 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant