matrix-org / matrix-org/mscbot-python

MSC Multi-Authoring

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

Sometimes, MSCs will gain or have multiple authors. Be it in a corporate/group setting where multiple people have to interact with reviews and threads from the SCT or community. Or in a delegate/"community shepherd" setting where the original author does not have the time or energy to continue working on a MSC.

In these situations, people can still contribute to the MSC, but they crucially do not have the same capabilities as the original PR author, as the following;

  • (Un)Resolving threads
  • Editing the PR description
    • Often required to update implementations, but other reasons may also exist.
  • Update the PR branch itself with commits.
Describe the solution you'd like.

For the first two issues, I'd like to request that the mscbot is able to respond to commands such as @mscbot resolve (on a thread) or @mscbot update_description <new description> (as a comment, which then gets hidden after processing).

For the last issue, there is #21.

To activate it, the original author should add Author: @user_a, @user_b, ... to the PR description. (Obviously, the update_description will not be able to overwrite this part)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at mscbot's handling of pull-request comments and review threads, then trace how pull-request descriptions and author permissions are represented. The issue specifies commands for resolving threads and updating descriptions, plus an Author declaration that must remain protected. Done means authorized co-authors can perform the requested actions while unauthorized users cannot.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.