Fucking tmux is AI slop. #openbsd #tmux #floss https://github.com/tmux/tmux/wiki/Contributing#use-of-ai

EDIT: There has been a fair amount of discussion about if this applies to upstream openBSD, and how the AI code policy is interpreted.

An example can be seen in this commit by the lead developer landing in openBSD attributed to "claude code" https://github.com/openbsd/src/commit/9c2b8e445a0bdfafdd6148b1760f00aa5429627b

Contributing

tmux source code. Contribute to tmux/tmux development by creating an account on GitHub.

GitHub
@FoxFunction @trashheap @zardoz03 Son of a nutcracker
@somebody Waiting to hear about a fork of the project any moment.
@FoxFunction Keep your eyes peeled.
@trashheap "I hardly knew ye." (Some times it could have been somewhat helpful. Oh well.)
@trashheap they forgot to update the difference section "GitHub holds the portable tmux version. There are a few minor differences, mostly for portability." They shall be more soon…
losing one tool after another

(T_T)

i really hope that slop doesn't make its way into #openbsd's base. lately it feels like i'd have to fork everything i care about...

@hi @trashheap
Seems to me a bit more nuanced:

Use of AI

Code written with the assistance of AI can be acceptable. However, the question of ownership and copyright of AI-produced work is not yet well-defined in law.

Given this, in order for code produced with AI to be accepted, it must either be trivial enough to be not copyrightable (basic refactoring, one line bug fixes), or there must be a public statement available from the AI publisher showing they do not assert copyright over the work.

@ParadeGrotesque @hi @trashheap
That last part shows a profound misunderstanding of the problem.

@FritzAdalis

Why do you say that?

Seems to me a cautious statement, in line with the rest of the position.

You could even understand it as a way to say: release the code or state clearly that it is free of problematic license.

Which is another way of saying: we won't accept your code unless you can vouch for it. Which no slop shop is able to do.

@hi @trashheap

@ParadeGrotesque @hi @trashheap
I don't think anyone is worried that Anthropic et al are going to assert copyright; it's more that copyrighted works were used to train the model so the generated code may or may not fall under the original authors' copyright.

How can you vouch for code you didn't write?

The various other AI concerns are externalities I guess.

@FritzAdalis

And I believe that's exactly the point the tmux author is trying to make: you did not write the code, you cannot vouch for the code, therefore I can't accept your slop generated code.

(Unless it is completely trivial, in which case your code is probably not needed)

@hi @trashheap

@ParadeGrotesque @hi @trashheap
Maybe. That's not how I read it, but hopefully I'm wrong.

@ParadeGrotesque @FritzAdalis @hi

You could even understand it as a way to say: release the code or state clearly that it is free of problematic license.

Take a look at that bit of text again, specifically the text which FOLLOWS it.

It is followed by a listing of LLMs who have issued statements from various LLM vendors that they assert no copyright on the output; and are therefore "fine."

@ParadeGrotesque @FritzAdalis @hi

And I believe that's exactly the point the tmux author is trying to make: you did not write the code, you cannot vouch for the code, therefore I can't accept your slop generated code.

As an example you can see a fairly lengthy pull request "co-authored with Claude" here: https://github.com/tmux/tmux/pull/4744/changes/b700e9ce219cae63988c4287fd3cde41a6a6f8c4

AND then you can see it landing in upstream tmux in the openbsd source tree, attributed to the original author and claude here: https://github.com/openbsd/src/commit/9c2b8e445a0bdfafdd6148b1760f00aa5429627b

The ultimate committer of that code being Nicholas Marriott, the lead developer of tmux.

Support synchronized output mode (DECSET 2026) from applications by chrislloyd Β· Pull Request #4744 Β· tmux/tmux

When an application enables synchronized output (ESC[?2026h), tmux now defers flushing pane output until the application disables it (ESC[?2026l) or a 1 second timeout expires. This reduces tearing...

GitHub
@trashheap
Ooh! How'd you achieve the red text?
@dick_turpin My instance runs a mastodon fork called glitch-soc, it supports markdown syntax for block quotes.
@trashheap Brilliant. The best I can achieve is Bold, italics, etc., using the Unicode Text Converter.

@trashheap

OK, that's bad. As in: really bad. ☹️

@FritzAdalis @hi

@ParadeGrotesque @FritzAdalis @hi YEAH, it stings; tmux has been part of my personal stack for a long time.
@ParadeGrotesque @trashheap @hi
It is the only change in openbsd-src that mentions Claude. (I think Xavier Claude doesn't count here.

@FritzAdalis @ParadeGrotesque @hi Agreed. Though the whole proccess of tmux portable pull requests getting filtered through nicm if/when they land in openbsd; makes the whole thing hard to track.

AND it looks like there are a couple of recent pull requests in downstream portable tmux that mention Claude; which are just newer, and have yet to filter up stream. (Assuming they are accepted.)

@hi as I understand it, OpenBSD already said AI code was not acceptable (introducing notion of copyright). The tmux project that accepts AI is the portable one. I don’t expect code from there to go back to OpenBSD src. Unless it is something trivial and acceptable from their POV.
@joel @hi Here is a commit crediting claude code landing in the openbsd tree upstream. https://github.com/openbsd/src/commit/9c2b8e445a0bdfafdd6148b1760f00aa5429627b
Add support for applications to use synchronized output mode (DECSET Β· openbsd/src@9c2b8e4

2026) to prevent screen tearing during rapid updates. When an application sends SM ?2026, tmux buffers output until RM ?2026 is received or a 1-second timeout expires. From Chris Lloyd with the as...

GitHub

@trashheap πŸ€·β€β™‚οΈ maybe it was something identified as acceptable. I only have uneducated user opinion.

@hi

@trashheap Should any tool, or anything, that helped in in some way produce the code get attribution? Currently it seems like people are giving the company/product free advertising.
@aslakr For those who would like to use software, made entirely by human ingenuity; such labels are valuable; and seem to be the "middle ground" a number of large FLOSS projects are settling on, as an example the linux kernel's draft policy requires labeling.