Repository navigation
Conversation
|
@bsdimp , @emaste , @markjdb: I would appreciate everyone's inputs on the documents proposed in this project. I know all of your time's precious, but I want to do my best to adhere to the FreeBSD project's standards and represent the project as best possible. I am going to take these documents, once finalized, and introduce equivalents in the other test-infrastructure projects (lutok, kyua). |
e7383e3 to
86d0f21
Compare
This change adds a number of documents to help provide a basis for what the project's current standards are, how they're enforced, and what expectations are for each phase of the contribution process. These series of documents try to roughly match the intent of [CONTRIBUTING.md][], while taking a more pragmatic approach to support the project as it stands today. This commit introduces documents to cover the following topics: * AI/LLM use * Authoring (DCO use, email, name) * Style guide (modified style(9) guide) The document hierarchy was inspired by the hierarchy used by the Linux man-pages project. Jamming all of the information into a single Markdown file would make the content difficult to follow as there are a fair number of topics to cover. Signed-off-by: Enji Cooper <ngie@FreeBSD.org> [CONTRIBUTING.md]: https://github.com/freebsd/freebsd-src/blob/b6dd9d3593f3286d8225b3bd2ae9248dcf92864c/CONTRIBUTING.md
86d0f21 to
61a0c9a
Compare
|
Ah. I forgot to mention licensing! |
|
@ngie-eign I remember that in Kyua you asked me to leave But here in AI_USE.md I see the different format So which one is preferrable? I see that the main FreeBSD source tree uses the first one recently, here is an example commit: |
|
I also think that |
|
assisted-by was an experiment in Linux kernel that I brought into my work train. It just means that it was used somehow, but the details were glossed over. And they kinda needed to be for my workflow: I used llm somehow for something, but then I hack it,delete it, rewrite it, use it only for the automation or analysis, but not to generate code. The llm wg will provide better guidance... |
The format doesn't need to match either form exactly (both should be accepted) -- I can clarify that point in My personal "vibe" is that if the contribution made by AI/LLMs is significant enough to warrant it, e.g., AI/LLMs provide complete boilerplate, provide critical logic/algorithms, etc, it's good to mention. If you're just using something like DuckDuckGo.ai or Google [search] for research, it's kind of the way folks have to do things these days with the quality and type of information presented on the Internet. I have begrudgingly used both DuckDuckGo.ai (Luna, Qwen) and Google [search] (Gemini) when doing research if simpler searches fail to turn up anything of value. I also used deepseek-r1 and mistral as initial input for the I got way more value out of the existing file from FreeBSD, the clang-format documentation, and still had to do a lot of trial and error attempting to match the existing code style as much as possible. |
|
Hm. I'll have to check the licensing of the documentation for kernel.org, but this description of AI/LLMs and DCO is fairly succinct: https://docs.kernel.org/process/coding-assistants.html#signed-off-by-and-developer-certificate-of-origin (I'd rather adopt an established community standard instead of reinventing the wheel). //edit: it's GPLv2 |
This change adds a number of documents to help provide a basis for what the project's current standards are, how they're enforced, and what expectations are for each phase of the contribution process.
These series of documents try to roughly match the intent of CONTRIBUTING.md, while taking a more pragmatic approach to support the project as it stands today.
This commit introduces documents to cover the following topics:
The document hierarchy was inspired by the hierarchy used by the Linux man-pages project. Jamming all of the information into a single Markdown file would make the content difficult to follow as there are a fair number of topics to cover.