Skip to content

docs(principles): add source-text-is-the-truth - #103

Merged
Teakowa merged 1 commit into
mainfrom
docs/principle-source-text-is-the-truth
Oct 19, 2026
Merged

Teakowa merged 1 commit into
mainfrom
docs/principle-source-text-is-the-truth

Conversation

@e54-bot

@e54-bot e54-bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the source-text-is-the-truth principle and its index row.

A structured view, agent operation, or tool that changes a project through a model must turn each change into a local, validated edit of the authored text. The edit comes from the owner of the language's emission. Consumers never compose source syntax or regenerate whole files.

Why a principle

The judgment recurs across repositories and can't be fully carried by a check. Owner source edits and edit-transaction revalidation catch stale or invalid edits, but not a second emitter that produces valid text differently. It was settled in wrightkit/wright#784 (ADR-0029, structured statement edits). Future decisions on rule-level edits, declarations, settings, and source-language authoring will need the same lean.

The Detail link to ADR-0029 resolves once wrightkit/wright#784 merges.

Structured changes to a project become local, validated edits of authored text produced by the owner of the language's emission; consumers never compose source syntax or regenerate whole files. Distilled from Wright ADR-0029, and it applies to later rule-level, declaration, settings, and source-language authoring decisions across workshop-rs and wright.
@Teakowa
Teakowa merged commit da20dc8 into main Oct 19, 2026
@Teakowa
Teakowa deleted the docs/principle-source-text-is-the-truth branch October 19, 2026 11:40
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.

2 participants