Back

Open Chaos: A self-evolving open-source project

363 points17 hoursopenchaos.dev
tedivm13 hours ago

When I used to play Screeps[1], a MMO strategy game where you programmed to control your units and buildings, a group of us setup a player that was managed in this exact way called Quorum[2].

If anyone wants to run their own project in this way I open sourced the code to do so under the GitConsensus[3] project. There's a Github App (which may not still work, but if there's interest I'll restart it) and a "run it yourself" python library and CLI you can run from Github Actions[4].

1. https://screeps.com/

2. https://github.com/ScreepsQuorum/screeps-quorum

3. https://www.gitconsensus.com/

4. https://pypi.org/project/gitconsensus/

lucb1e13 hours ago

I don't get the title. Do I understand correctly this is basically "Twitch plays Github" without Twitch?

repeekad10 hours ago

GitHub plays GitHub?

mistrate10 hours ago

yea

esquire_9003 hours ago

Cool social experiment. It's interesting how narrow the scope of all top voted PRs are: change this or that detail in the voting (daily, count down votes etc), or make it more efficient (rust).

I wonder if this has the potential to build a "community" that will take this into a completely different direction, or if it will neatly stay within the initial boundaries.

bji9jhff9 hours ago

Is it a kind of computer-assisted Nomic [0]?

0: https://fr.wikipedia.org/wiki/Nomic

bshanks5 hours ago
lexx8 hours ago

Nomic vibes indeed

Dinux13 hours ago

I'd expect even more chaos, let an LLM build the features and people vote.

stavros11 hours ago
oniony13 hours ago

I honestly thought that this is what it was initially.

deadbabe13 hours ago

Is most code not written by LLMs these days anyway?

Kinrany12 hours ago

Most code by lines, perhaps, but not most code that works and is useful

genghisjahn11 hours ago

Says who?

+2
all210 hours ago
+1
bigstrat20035 hours ago
jibal10 hours ago

The name of the person who said it is on the left above the comment.

sighansen16 hours ago

Really interesting. I wonder if something good will come out of it. It feels like twitch plays pomemon.

stavros16 hours ago

If you want to see a speedrun, I made the same thing around a month ago:

https://theboard.stavros.io

strangescript13 hours ago

This is cool, but once a week seems a little slow

throawayonthe12 hours ago
Kinrany12 hours ago

The frequency should be adjusted based on the number of participants

lucb1e8 hours ago

Request merging the change you wish to see!

Kinrany12 hours ago

It could merge any PR that reaches a set number of upvotes

Towaway6912 hours ago

is it forkable to have even more chaos?

anishgupta12 hours ago

> The website IS the repo. The repo IS the website. I wonder if we get something productive by end of 2026 from this repo. Who knows, maybe we solve AGI

Eldodi12 hours ago

Would have been even more absurd if code AND PRs were all AI generated by different coding agents

appplication11 hours ago

Nothing is stopping that from happening tbh

jibal10 hours ago

It's not possible to generate anything productive this way.

lucb1e8 hours ago

Wikipedia basically works this way. And instead of it being directly public, it goes through a voting process. One might argue it's actually much more curated than Wikipedia :P

jibal4 hours ago

No, it doesn't work anything like this.

> One might argue it's actually much more curated than Wikipedia

Well duh. It's vastly more "curated" since Wikipedia isn't curated at all, almost anyone can change anything at any time but changes are supposed to reflect consensus (in theory, but there are numerous rogue agents who violate the rules) and it's a single instance with a linear set of changes that only occur once a week, whereas WP is a seething mass of constant change--but with a tight fitness function due to the (again theoretical) requirement that all changes must reflect reliable sources, not the whims of the editors--totally the opposite of OC. (There are additional policies and various governing groups but these make WP even less like OC). It's beyond absurd to liken OC to WP.

mappum16 hours ago

Excited to see how this plays out, I made something similar a while back: https://news.ycombinator.com/item?id=9351286

drdeca5 hours ago

Oh man, I was going to try and find that to link to it. I can’t believe it was 10 years ago… I really enjoyed following that for a while. Thanks for making it.

fourthark13 hours ago

The end product is... just the website?

I feel like I'm missing something.

drdaeman12 hours ago

It’s an absurdist art software project, devoid of any consistent intent or purpose beyond the operating principles.

Towaway6912 hours ago

codified dadaismus

nish__2 hours ago

Just a website? Websites can do anything. It could evolve into a whole social network.

danr413 hours ago

It can evolve into anything based on community votes

patcon11 hours ago

So it begins?

Once you have governance that people stick around for, you can decide to do anything

ivanjermakov12 hours ago

It's not a product, it's a social experiment for programmers.

fullstackwife12 hours ago

Should votes get invalidated after major change in the ongoing PR?

ewidar43 minutes ago

Not sure you can "cancel" github reactions of other users

polyomino13 hours ago

They should automate reading hacker news comments and generating PRs to address them

staticassertion13 hours ago

Open a PR and suggest this.

jibal3 hours ago

You can't just "suggest" something in a PR, you have to provide the change.

BinaryIgor15 hours ago

Are guardrails, CI/CD, to make code at least compile-able and require minimal quality standards also possible to change via PR or managed somewhere else? With this possibility, it might went into oblivion indeed!

6r1715 hours ago

I mean.... it's the spirit of the project to eventually be able to reach to that state. I freaking love that project woaw hahaha

SubiculumCode11 hours ago

Firefox warns of a security threat when I visit the site.

omoikane9 hours ago

Maybe Firefox is prescient, just waiting for someone to create a problematic pull request that does something untoward while simultaneously locking everyone else from submitting pull requests (and get a bunch of bots to upvote it in the last second before the merge window closes).

WithinReason11 hours ago

Merging the security threat is yet to be voted on

alexpadula12 hours ago

You know it’s kinda like a lottery the more I read it lol! If the repo got super popular and had lots of traffic say.

noncoml14 hours ago

Reading through the comments, it’s remarkable how many of us have had the same idea at some point

Beautifully executed

alexpadula12 hours ago

Sorry to be a party pooper I just don’t get the point.

izietto12 hours ago

I don't think there's a point. You can always submit a point, if it gets voted you will have your point

stingraycharles10 hours ago

This is exactly the point.

Towaway6912 hours ago

It's a bit like bigtech but instead of product people voting on what gets merged, everyone gets a vote here.

fwipsy13 hours ago

Twitch plays Github?

stingraycharles11 hours ago

Am I the only one who's noticing that this "open chaos" project's most voted PRs are to add structure to the project (e.g., calculate +1/-1, etc.)?

I guess people just desire a certain amount of structure to their chaos :)

hmokiguess6 hours ago

Can’t have one without the other

aalimov_8 hours ago

“Convenient chaos”

flyrain8 hours ago

I guess this is one sign that coding is drifting to an art, given the LLM is invading.

oooyay8 hours ago

A lot of engineering disciplines are a mixture of math, art, and science. Programming was no different, but I do think some people built up an identity that reinforced a difference that wasn't there to begin with.

electrodisk14 hours ago

confused, what is this and what’s going on exactly?

phreack14 hours ago

https://github.com/skridlevsky/openchaos?tab=readme-ov-file#...

Anyone makes a PR, there's a vote and highest voted one gets merged every week. It's marvelous.

meltyness14 hours ago
jedberg14 hours ago

Click through to the GitHub link at the bottom, which has the README. It explains everything.

kittikitti16 hours ago

This is a very interesting experiment where I hope the metamorphosis is more like a butterfly than Kafka.

Esophagus412 hours ago

Yes, this could end up either turning into a Linux or like when Microsoft released Tay and Twitter users taught it to be a Nazi. Or anywhere in between, really.

jibal10 hours ago

It really can't for numerous reasons, one of them being that PRs have to be fairly low effort, and this will be even more so if the popular "merge daily" PR is voted in. People talk about this "evolving", but it's nothing like biological evolution or genetic algorithms. It's just a linear sequence of small changes, and without either planning and central authority or some stable fitness function (the ecological environment in biological evolution) the changes are directionless.

fc417fc8027 hours ago

> some stable fitness function

The participants could always vote to add a test harness and CI/CD to vet pull requests against.

+1
jibal4 hours ago
libertyit14 hours ago

Genius.