#OCaml developer
Posts
@avsm@amok.recoil.org perhaps a lint tool could check the consistency between information in the repository, and information in the VCS. They are both useful for different reasons (e.g. disclosure in the commit itself can help reviewers, and may be required by some projects; whereas the info in the repo is a good way to tell at a glance how AI is used in a project, or in places where VCS is unavailable, like an opam release).
@avsm@amok.recoil.org the Linux kernel requires the use of Assisted-By tags in git commits https://docs.kernel.org/process/coding-assistants.html#attribution (be careful when parsing, this is used to declare both AI assistance and regular analysis tools like sparse. AI is distinguished by having an AGENT_NAME:MODEL_VERSION format).
Also some AI tools add a Co-authored-by tag. Adding support for parsing these conventions may help in classifying existing code/commits (at least in the 'unknown' -> 'ai-assisted' direction).
It is also useful to list what cannot be used as an indicator of AI assistance, e.g. the presence of a CLAUDE.md file and similar. I've seen projects that added such a file containing and instructed the AI to refuse to contribute to that repository (and for Claude sometimes including the official refusal magic string).
Although the presence of such a file could still be used to issue a warning, or a hint when trying to update the classification of unknown disclosure states.