Skip to content

Consideration of a Code of Conduct and/or written rules for moderation #29507

Closed

Description

@achow101

There have been a number of events over the past several months which have resulted in various individuals requesting that moderation action be taken. However, without any actual guidelines for when moderation actions should be taken, and of what sort, the bare minimum of moderating obvious spam is only done. This appears to leave many contributors dissatisfied as I have frequently heard grumblings about the behavior of various people leaving comments on PRs and issues. As such, I think it would be prudent for us to reconsider adding a Code of Conduct or otherwise some written rules of moderation so that moderation actions can be taken more proactively.

While short pithy statements like "be excellent to each other" and "don't be an asshole" are great sound bites, they do very little to actually establish what behavior is acceptable, and when and what moderation actions can be taken. As someone who does moderation actions, personally I would like to have more guidance from other contributors on the moderation actions that they would like me to do.

The last time this was brought up, in #26890, there were concerns about the specific wording of the proposed Code of Conduct. Instead of proposing a specific text this time around, I've opted to first revisit the idea on its own, and we can try to nail down the text at a later date. But here are a few examples of Codes of Conduct that we may want to adopt (with modifications):

There were also a few concerns last time about a Code of Conduct or any other written rules being used as a vehicle for harassment. While I don't doubt that this is certainly possible, I think that having something written down would be overall more beneficial than not. I also think that if such a situation were to arise, it would be possible to amend the document to cover those cases.

As this discussion is about how frequent contributors feel about a Code of Conduct and moderation in their place of work, discussion of this issue is limited to members of the org. Comments from others may be deleted or hidden as off topic. If you are not a member but think you should be, send me a message by email or IRC.

Activity

  1. ryanofsky commented on Feb 28, 2024

    @ryanofsky
    Contributor

    I agree more moderation would be useful, but I would propose something more lightweight and less prescriptive than a code of conduct. I think we should try short-term bans of posters who causing specific problems, with full transparency so it's clear:

    • Who is currently banned
    • What specific reasons they were banned for, with links to relevant issues or comments
    • When the ban will end
    • Who made the decision to ban them

    I think it would be good if bans were fairly short, starting at a few days and not lasting more than a few months.

    I think this could be a good approach because a ban does not need to imply that anyone has done something wrong or immoral, it could just be a tool for allowing overheated discussions to cool off.

  2. ryanofsky commented on Feb 29, 2024

    @ryanofsky
    Contributor

    Another suggestion: Since discussion about moderation is mostly nontechnical, and also a topic (like the GUI) that a lot of bitcoin developers may be explicitly uninterested in, maybe we could consider opening a new repository like bitcoin-core/moderation or bitcoin-core/gh to track issues like this related to moderation, or management of the github org.

  3. kanzure commented on Feb 29, 2024

    @kanzure
    Contributor

    Here is a comment from #26890 when this was last proposed:

    For what it's worth, I think it will be extremely difficult to prevent the weaponization of the loose language, including the requirement to accept veiled criticism and encouraging weaponized demands for apologies. ... After wrangling the nutbar attackers in IRC for a decade, I would offer my gentle warning that the insidiousness of the characters you are going to be dealing with in the coming years can't really be understated. I would suggest that a CoC of this type will be more likely to be used against you than it will be the tool you hope will become a facilitator of diplomatic discourse.

    See also http://esr.ibiblio.org/?p=8609

  4. leo-aa88 commented on Feb 29, 2024

    @leo-aa88
  5. jrc-dev commented on Feb 29, 2024

    @jrc-dev
  6. TheBlueMatt commented on Feb 29, 2024

    @TheBlueMatt
    Contributor

    I think it's important to point out here that a CoC is basically a formalization of what happens anyway. Either there's a formal process that's (hopefully) somewhat transparent to deal with disruptive people or there isn't and there's only frustration from being ignored and banned and muted by individuals and the same conversations happen in back rooms instead. There's not going to be a material change in outcome for a CoC done right (though it can definitely be done wrong), there's only more transparency and formalism.

  7. leo-aa88 commented on Feb 29, 2024

    @leo-aa88
  8. achow101 commented on Mar 1, 2024

    @achow101
    MemberAuthor

    As this discussion is about how frequent contributors feel about a Code of Conduct and moderation in their place of work, discussion of this issue is limited to members of the org. Comments from others may be deleted or hidden as off topic. If you are not a member but think you should be, send me a message by email or IRC.

  9. ChrisMartl commented on Mar 1, 2024

    @ChrisMartl
  10. glozow commented on Mar 1, 2024

    @glozow
    Contributor

    I’ll first point out that moderation is very much necessary. Beyond brigading and flamewar PR discussions, it seems many people do not realize the amount of spam ("actual spam") this repo gets. This is a github repository where people collaborate on code; it's not a discussion forum for everybody to voice their opinions about Bitcoin and Bitcoin development (there are lots of other places for that).

    Another problem is that moderators are often accused of censorship and of making decisions subjectively, due to an absurd notion that “everybody can contribute to this open source project” means that abuse, harassment, and spam should be tolerated and welcomed as part of technical discussion. We also genuinely don't want to discourage people from joining the community and spend a lot of time worrying whether we're making a moderation decision that everybody agrees with. This makes moderators too scared to act and, consequently, makes this a worse community and more unproductive place to work.

    So apart from agreeing to a code of conduct and moderation policy that establishes what kind of space we want to work in - which is something we should decide on as a community - I’m also interested in formalizing this as a way to protect moderators. Applying a process that is transparent, consistent, and based on objective guidelines we agreed to as a community is a much more straightforward task.

    I completely agree that this discussion about guidelines for behavior on this github repository (again, a place where people work on code together) should just include the people who regularly contribute to the codebase.

  11. achow101 commented on Mar 1, 2024

    @achow101
    MemberAuthor

    I would propose something more lightweight and less prescriptive than a code of conduct.

    I think the examples I've linked to are fairly lightweight and not that prescriptive. They all really just outline the kind of space that they want to foster for their respective projects, some pointers on how to achieve that, and some things to not do. I think they're fairly loose and don't really prescribe how people must actually behave nor necessarily exact things that would be violations or specific consequences for doing so. Rather, they do seem to all just state that they want their communities to be welcoming and respectful, and if anyone feels like that is being violated, they can report a CoC violation.

    I think we should try short-term bans of posters who causing specific problems, with full transparency so it's clear:

    Sure, but the question has always been what behaviors do contributors think are ban worthy, and the lack of any guidelines for that is what brings up this issue.

    maybe we could consider opening a new repository like bitcoin-core/moderation or bitcoin-core/gh to track issues like this related to moderation, or management of the github org.

    I agree with having these kinds of issues be in a separate place. I think the Discussions feature could be used for this as well.

    For what it's worth, I think it will be extremely difficult to prevent the weaponization of the loose language, including the requirement to accept veiled criticism and encouraging weaponized demands for apologies.

    IIRC this is a criticism of the specific text proposed in the previous PR, but the point of this one is not to propose a specific text yet. It's not clear to me how the examples I've linked to would require accepting veiled criticism or encourage weaponized demands for apologies, so I think this problem can be avoided by using different language.

    See also http://esr.ibiblio.org/?p=8609

    At the same time, this is open source and no one is obligated to work with you. You could be a genius super coder, but be a complete asshole that is hard to work with, and it is everyone's right to decide to never speak with you. Being good at something doesn't give you the right to force everyone to listen to you.

    Well-kept Gardens Die By Pacifism and I certainly think we're well on the road to death considering how little moderation occurs in this repo and the IRC channel. We can even see from the 2023's contributor survey results that the number of contributors has been steadily decreasing and that disruption from both contributors and non-contributors have been a major frustration in the past couple years. I do not want to suggest that there is evidence for a direct causal link between lacking moderation and fewer contributors, but it's not so much a stretch to say that this may be a factor, among many others. More active moderation and a guidelines for that moderation (whether that be a code of conduct or something else) seems like proper way to resolve these issues.

  12. ajtowns commented on Mar 2, 2024

    @ajtowns
    Contributor

    As such, I think it would be prudent for us to reconsider adding a Code of Conduct or otherwise some written rules of moderation so that moderation actions can be taken more proactively.

    Like I said last time, I think more proactive moderation is a good idea, but adding a code of conduct will likely cause more problems than it solves. Moderation is naturally a judgement call, and either people support the people making those judgement calls or they don't. Trying to specify what's good behaviour just encourages lawyer-style parsing of the terms, and if you're just talking in generalities like "be excellent to each other" you're not really providing any help to the people who might actually want some help.

    If mods/others want to write some "how to constructively engage with other contributors" advice (like productivity.md or developer-notes.md) that's likely fine, and allows for a positive focus on good behaviour rather than a negative one on the worst contributors. ("oops, I got moderated, how should I react?" might be a good question to have an answer for, for people who're trying to be constructive, but don't always succeed, and are afraid that more proactive moderation might cause them to be exiled/excommunicated)

    If repo admins/mods want to have a private wiki page with some bullet points for what should be moderated and what shouldn't so they can be consistent with each other, especially in the early days of being more proactive, that probably also makes sense. (Trying to coordinate a response to attackers while being completely transparent in all your plans on how you'll respond seems like a losing bet to me, so beyond ryanofsky's suggestions about making it possible to audit the actual actions taken, I think there are limits on how much transparency is a good thing)

    (To be explicit: I don't support adding a code of conduct, however I do support the current repo admins being more proactive in moderating comments, even if they insist on making a code of conduct as part of doing so)

  13. ajtowns commented on Mar 2, 2024

    @ajtowns
    Contributor

    As someone who does moderation actions, personally I would like to have more guidance from other contributors on the moderation actions that they would like me to do.

    To answer this: I think the moderation I've seen has been pretty fine, just being more proactive about it would be better; ie don't wait until there's been lots of brigading on a PR with content-free ACKs/NACKs before acting; react to messages when they start getting too heated/circular/unconstructive, rather than only after an argument's gone completely off the rails?

  14. jrc-dev commented on Mar 3, 2024

    @jrc-dev
  15. 11 remaining items

  16. ajtowns commented on Mar 6, 2024

    @ajtowns
    Contributor

    One way of thinking about this issue is maintainers seeking feedback on the current process for moderation.

    You might consider phrasing that as "Moderation Guidelines" or similar rather than a Code of Conduct -- ie something that talks about how moderators will behave, rather than how everyone will. Having "guidelines" rather than "policy" or "rules" might help that be a living document, and minimise the amount of legalistic nitpicking based on it (and having it be authored by the people it affects might make it feel like less of an imposition on contributors). If it were up to me (and it's not!), I'd do something like this:

    • setup a "Mod Guidelines" page somewhere, maybe in the devwiki. limit edits to org members, and say on the page that only mods should edit it
      • state what the goals are for moderation: presumably we want PRs/issues/reviews/comments to be friendly, professional, and focussed on technical issues, but probably the "bitcoin is money for enemies" philosophy and the desire to accept contributions from anons limits how effective moderation can be in practice; probably technical limitations about how github works also limits things
      • state what tools you've got: hide comments, limit PRs/issues to org members, block users, (...?) and give an idea when they're expected to be used, mostly so mods can be consistent but also so contributors know what to expect
      • give some advice on how to react to being moderated. main points are probably:
        • "take a step back and calm down, this isn't permanent, and isn't going on your permanent record"
        • "generally, escalation will only make things worse"
        • "if you're sincerely confused, you can ask for more of an explanation; but expect that to be an explanation of what you did wrong, not a sudden realisation from the moderators that you were right all along. arguing with the ref is how you turn a yellow card into a red card"
    • pass that text around to regular contributors and ask them if they're comfortable endorsing it; revise it until you've got something that does seem widely supported
    • setup somewhere that collects logs of moderation actions, possibly only viewable by mods or by org members
    • setup somewhere for contributors (not necessarily org members) to give feedback about moderation (maybe the irc channel and the annual survey are good enough)

    The recent Core dev survey showed that the number 1 frustration of developers is the brigading/campaigning comments from outside the org. Very recently I've received (and made) various requests for more moderation. Up until that point, pretty much 100% of the feedback (at least from my perspective) was "you're making things worse," "you are censoring," "you are acting against bitcoin's values and should step down," etc.

    I think that's to be expected tbh -- when moderation is working well, the only people that really notice are the ones being moderated, and they'll complain; and when you add in people with significant financial motivation to see the project either fail or make little progress (eg, so that their altcoins can compete, or so that they can get control over bitcoin's future for themselves) then I think attacks on the development process and maintainers even when things are working fine is also to be expected. If those sorts of attacks are seen to be effective at slowing the project down or pushing existing devs out, I'd expect more of them. YMMV, of course.

  17. ariard commented on Mar 6, 2024

    @ariard
    Contributor

    setup somewhere that collects logs of moderation actions, possibly only viewable by mods or by org members

    I think this overall “Mod guidelines” proposal is reasonable and actually wise to precise how the moderators should behave, rather than everyone will. One divergence, I strongly believe that all the moderation process should happen in public (e.g on a dedicated irc channel), including the logs of moderation actions. I don’t see any technical or philosophical reason why this should happen in private ? Publicity of moderation allows anyone to verify moderation decisions are generally following the guidelines. If you have a private inter-personal issue, I think it’s better left to existent conflict resolution mechanisms or other new ones.

    I still very think “moderators” selection should be a careful process. We can afford to select people who are not necessarily highly technical contributors though yet with a past track records of bitcoin contributions. I think it can be judicious to pick up e.g regular meetups organizers or operational people at bitcoin orgs outside of the circle of maintainers and proficient reviewers. They might have more time to investigate and take a listening-first and grounded moderation decision and they will be certainly more neutral w.r.t to any technical discussion (I don’t think it’s fair practice if you have a moderator moderating on its own PR ?).

    Additionally, I think it’s good to rotate moderators every X and have them elected by the regular technical contributors (this is done by Linux kernel where every contributors with more than Y commits over the last N releases can participate in the vote). Someone could be re-elected through election acts as a check-and-balance, and avoid any unaccountable and opaque bureaucracy phenomena.

    Lastly, I think it’s good if the “Moderation guidelines” offers some public or personal apologies (e.g “sorry for the heated conversation, I owe you a beer next time”) mechanism for offenders to recall the ban. It can happen to be “rough” towards someone in the flux of online events, we’re human beings we all have highs and lows. I hope we’ll design “Mod guidelines” that are cultivating community appeasement and communication reestablishment, over narrow "blame culture”.

  18. Sjors commented on Mar 7, 2024

    @Sjors
    Member

    controversial or unsafe stuff getting merged, without a "paper trail" of objections

    This sounds like a major issue for consensus changes, but I don't see how its super relevant for day-to-day Bitcoin Core contributions and PRs.

    That's a fair distinction. Though I'd add DoS resistance and various critical pieces of the wallet to that list (it seems both you and @ariard agree on that).

  19. ariard commented on Mar 8, 2024

    @ariard
    Contributor

    On the recommendation of the Bitcoin Dev Google Groups maintainers, I read the piece entitled Well-Kept Gardens Die By Pacifism and they invited me to keep the discussion here.

    I think it's a flawed piece on how to maintain high-quality online community. Mostly, it's justifying the necessity of putting barriers in online discussion by taking example from the meatspace academics world then go to jump at the end to say it's okay for online communities moderators to listen to their emotional impulsions when to decide when to apply censorship.

    On the academic world, it's very true there is a lot of barriers and check-and-balances to guarantee high-quality of the discussion. E.g all major university systems are selecting their participants based on their GPA records or one-time exam like baccalaureat result. And indeed taking speechs on public subject inside a university most of the time you have to be member of an association or fraternity, which have themselves their own selection criteria.

    However it forgets a lot of crucial points of the academics world, the "opinion moderators" (i.e the university professors)
    are going through a long list of initial exams to guarantee diversity and richness of their viewpoints (PhD / post-doc / threshold of academic paper citations / "aggregation" rituals). They are also guarantee life-long job tenures in most systems, motivated to avoid temporary pressure from the crowd in the filtering of ideas and who is allowed to speak.

    All their act of moderations are constantly evaluated and re-evaluated by their academic peers in an open fashion. Moderators or administrators accused of plagiarism can very easy seen their careers jeopardized as one Harvard president recently learnt it.

    Finally, it's ignoring the "Trused Party Are Security Holes" philosophy which in my opinion not only underpinning the Bitcoin ecosystem though also ignoring the traditional critics of the "masters" or "moderators" living in academics life (e.g see George's Steiner Lessons of the Masters).

    Overall, Eliezer Yudkowsky's piece sounds to me inaccurate as it's more an empty justification of the pure arbitrary
    of an online moderator capabilities usage rather than giving example of concrete mechanism that an online community can put in place to guarantee it stays intellectually lively or lines of code productive.


    After looking more on Github API and its architecture, I think it will cost someone with domain expertise like myself 100$ / month in terms of domain names and infrastructure to permanently nuke any GH-based moderation decision.

    I’ll check this line of research rather than keep commenting on establishing a moderation process that might not be technically plausible to follow.

  20. petertodd commented on Mar 11, 2024

    @petertodd
    Contributor

    By the way in the eventuality we have a Code of Conduct would I be able to report @morcos for sending me lawyer letters without material evidences and getting him ban from the repository ?

    This is not a troll and a very serious question, given he’s funding at least one maintainer on this repository.

    We should be willing to discuss concrete, real-world, examples where a proposed Code of Conduct would be relevant. While this is a particularly extreme example, it certainly is relevant given that it is alleged to have happened, with people closely involved in the repo. It raises an important point: is conduct outside of the direct communication of the project relevant?

    Similarly, a discussion about standards of proof and openness is certainly relevant.

  21. cfunk7777 commented on Mar 11, 2024

    @cfunk7777
  22. isghe commented on Mar 19, 2024

    @isghe
  23. deleted a comment from isghe on Mar 19, 2024
  24. achow101 commented on Mar 21, 2024

    @achow101
    MemberAuthor

    You might consider phrasing that as "Moderation Guidelines" or similar rather than a Code of Conduct -- ie something that talks about how moderators will behave, rather than how everyone will. Having "guidelines" rather than "policy" or "rules" might help that be a living document, and minimise the amount of legalistic nitpicking based on it (and having it be authored by the people it affects might make it feel like less of an imposition on contributors).

    That is essentially what I imagine. It's really just the need for an established set of rules at all, whether it's called a "Code of Conduct" or "Moderation Guidelines", I don't think it particularly matters.

    we should have a distinct group of moderators i.e people not being maintainers, not vetted with current GH admin rights, not being on a security list or being an emeritus security researcher like myself in the purpose to minimize future situation of conflict of interests. We can take time to go select the adequate group of people.

    Indeed, and I would, in fact, prefer that. Frankly, I really don't want to be spending my time on moderation and only do so because there are few others with the requisite github permissions to do so. If we establish a group of moderators who can take over that duty, that'd be great.

    I do want to mention however that the repo does actually get a ton of spam, and there are hundreds of currently blocked users because they open spam PRs and issues (just look at everything that's closed and titled as "."). Currently one of the maintainers just renames and closes the issue/PR, and blocks the spammer. I don't think this is at all controversial. I would not want this process to be bogged down in procedural things that are intended for dealing with more nuanced disputes.


    I suggest that we move forward with the following:

    • Create a wiki page "Moderation Guidelines" with text outlining the suggestions from Consideration of a Code of Conduct and/or written rules for moderation #29507 (comment)
    • Choose a couple of people to be moderators and give them the moderator permission. I don't think this needs to be particularly rigorous, but a ACK/NACK vote-ish thing like we do for maintainers seems fine.
    • Enable the Content Reporting feature so that things can be reported to the moderators (I did not know this feature existing until now).
    • Setup a new repo bitcoin-core/modlog (or something like that) where moderators should be record moderation actions.
  25. kanzure commented on May 8, 2024

    @kanzure
    Contributor

    Here is a "moderation guidelines" document that was created 5 days ago apparently: https://github.com/bitcoin-core/meta/blob/main/MODERATION-GUIDELINES.md as it seems directly related to the previous discussion in this issue, I thought I would bring it up. All previous comments here, I believe, still apply.

    In #29507 (comment) @ajtowns proposes a "Moderation Guidelines" document. I like the idea of writing about goals, explaining the available tools moderators have on github, and some helpful text about de-escalation for enraged internet users. All of that sounds somewhat helpful or at least harmless to the github project.

    However, the current meta "Moderator Guidelines" doc's transparency section introduces a requirement that "it is critical for [moderators] to be clear about how decisions are made" which seems like a very big departure from formlessness for the project overall? Another issue with the transparency section is that it imposes a bunch of extra work that doesn't scale with denial of service attacks against moderator attention or project resources. At most, surely, maybe a statement that a moderator has made a decision & then move on.

    Bitcoin is for enemies. It is important to recognize that CoCs and similar policy or governance are effectively just instructions for your adversaries on how to defeat a project. At the same time, I believe the github repository and its members should absolutely defend itself (including by using moderators) and fight spam or other attacks on contributors' scarce time and attention.

    Also: I would like to propose someone opens an issue for follow-up discussion in the meta repo, links to that issue here, and then closes this issue. I think moving meta talk to meta makes sense.

  26. mzumsande commented on May 8, 2024

    @mzumsande
    Contributor

    Also: I would like to propose someone opens an issue for follow-up discussion in the meta repo, links to that issue here, and then closes this issue. I think moving meta talk to meta makes sense.

    There already exists one: bitcoin-core/meta#1

  27. achow101 commented on May 8, 2024

    @achow101
    MemberAuthor

    Since there is a draft guidelines and a meta repo with an open issue for discussion, I'm going to close this one.

  28. ariard commented on Mar 25, 2025

    @ariard
    Contributor

    We should be willing to discuss concrete, real-world, examples where a proposed Code of Conduct would be relevant. While this is a particularly extreme example, it certainly is relevant given that it is alleged to have happened, with people closely involved in the repo. It raises an important point: is conduct outside of the direct communication of the project relevant?

    Re-opened a pull request to remove the current moderation rules on bitcoin-core-meta.

    I’m not going to comment on what did happen with the letter assigned to Chaincode’s attorney by respect for the private life of folks involved. All I’m going to say this was just cheap legal intimidation from Alex Morcos with no ground and with incompetent lawyers because he didn’t like the way I talk to him in private correspondence.

    All what I know from the motivation of some stakeholders in putting in place moderation rules or “code of conduct’ is that some well-known names in the Bitcoin space was accused of let’s say “qui pro quo” (in the sense of US labor laws) at the end of 2021 in some kind of sexual misconduct affair.

    Though I have no information of what really did happen…just that something happens from the 2 sides of the affair and somehow it’s really analog to the history that have happened with the Zcash thing (— I’ve never checked the court motions).

    Similarly, a discussion about standards of proof and openness is certainly relevant.

    Electronical signatures is recognized in many “rule of law” jurisdictions around the world.

    Openness is more generally understood as what is “publicly” accessible in legal jurisprudence, an Internet forum like Github open-source repositories might with no doubt such “public” standard.

    A chain hash of an electronic element has nothing complicated to go to explain in front of a serious judge, compared to the complexity of the CSW case. @petertodd

  29. locked as resolved and limited conversation to collaborators on Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions