Repository navigation
docs: credit the projects deslag borrows from - #36
Merged
Merged
Conversation
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.
webern
force-pushed
the
m/acknowledgements
branch
from
September 26, 2026 11:47
0487f28 to
8c390d7
Compare
webern
commented
Sep 26, 2026
webern
commented
Sep 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdat 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.mdgets a one-line rule: credit borrowed code or designs inACKNOWLEDGEMENTS.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
includelist inCargo.tomlleaves outACKNOWLEDGEMENTS.md. When code is first ported intosrc/, either add the file toincludeor put the licence notice in the ported file's header, so that the notice ships with the crate.Testing
make ci: exit 0ACKNOWLEDGEMENTS.mdand ran deslag with.agents/deslag.toml: it failed the file, so the new glob selects it. Reverted.References