Skip to content

docs: credit the projects deslag borrows from - #36

Merged
webern merged 3 commits into
mainfrom
m/acknowledgements
Sep 26, 2026
Merged

webern merged 3 commits into
mainfrom
m/acknowledgements

Conversation

@webern

@webern webern commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Human Summary

Create an acknowledgments file for ideas we take from other projects.

Summary

deslag borrows ideas from other prose linters, starting with Vale, and nothing in the repo credited them. This PR adds ACKNOWLEDGEMENTS.md at the root. It credits each codebase we study for ideas, in general terms: its URL, licence, copyright line, the commit we studied, and what we took from it. If code is ever ported, the entry says so. The file's frontmatter tells an agent how to keep it.

The first entry is Vale, which is MIT. No Vale code is ported. The ideas we took are planned in #28 to #33, and #34 records the ones we decided against.

AGENTS.md gets a one-line rule: credit borrowed code or designs in ACKNOWLEDGEMENTS.md.

deslag's own config now lints the new file, since agents will write its entries. It has no byte budget, because it grows with each project, and a comment in the config says so. The as-built doc described that config as covering "AGENTS.md and the skills", which was already missing the guide. It now just says the config is for this repo.

One thing for later: the include list in Cargo.toml leaves out ACKNOWLEDGEMENTS.md. When code is first ported into src/, either add the file to include or put the licence notice in the ported file's header, so that the notice ships with the crate.

Testing

  • make ci: exit 0
  • Put an em dash in ACKNOWLEDGEMENTS.md and ran deslag with .agents/deslag.toml: it failed the file, so the new glob selects it. Reverted.

References

@webern webern added the docs Documentation including agent instructions, readmes, code comments, etc. label Sep 26, 2026
Add ACKNOWLEDGEMENTS.md, which credits each codebase deslag studies
for ideas. The first is Vale: its licence, its copyright line, the
commit we studied, and what we took from it. No code is ported.

AGENTS.md gets a rule to credit borrowed code and designs there.

deslag now lints the file, with no byte budget, since it grows with
each project. The as-built doc no longer lists what the config covers.
Comment thread .agents/deslag.toml Resolved
Comment thread ACKNOWLEDGEMENTS.md Resolved
@webern
webern merged commit a2edd2f into main Sep 26, 2026
2 checks passed
@webern
webern deleted the m/acknowledgements branch September 26, 2026 11:53
@webern webern added the ai Primarily authored by AI (whether PR, Issue, Whatever) label Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai Primarily authored by AI (whether PR, Issue, Whatever) docs Documentation including agent instructions, readmes, code comments, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Credit the projects deslag borrows from

1 participant