Skip to content

Replace outdated "never patch" guidance in the usage guide - #28

Merged
dsghi merged 1 commit into
mainfrom
docs/usage-guide-write-guidance
Oct 5, 2026
Merged

dsghi merged 1 commit into
mainfrom
docs/usage-guide-write-guidance

Conversation

@dsghi

@dsghi dsghi commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Summary

The FAQ at the end of docs/seed/ref-devbrain-usage.md still said:

Never patch — always do full rewrites of the current content.

That guidance predates PreviewEditDocument / ApplyEditDocument, AppendDocument, and EditTags. It also contradicts the guide's own "Editing Existing Documents Safely — Preview and Apply" section, so an assistant following it would re-emit whole documents for small changes.

The FAQ answer now keeps the "no versioning, be deliberate about overwrites" warning and points to the narrowest write for each kind of change:

  • exact text edits: PreviewEditDocument / ApplyEditDocument
  • growing logs: AppendDocument
  • tag-only changes: EditTags
  • whole-document replacement: UpsertDocument

This is a docs-only change with no changelog entry. Instances that already seeded ref:devbrain-usage can re-seed it, or apply the same one-line change with preview/apply.

🤖 Generated with Claude Code

The FAQ still told assistants to "never patch — always do full rewrites",
which predates PreviewEditDocument/ApplyEditDocument, AppendDocument, and
EditTags and contradicts the guide's own preview/apply section. Point to
the narrowest write for each kind of change instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dsghi
dsghi merged commit ba2bb10 into main Oct 5, 2026
4 checks passed
@dsghi
dsghi deleted the docs/usage-guide-write-guidance branch October 5, 2026 02:35
@dsghi dsghi mentioned this pull request Oct 21, 2026
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