Skip to content
  • Categories
  • Recent
  • Popular
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB-ActivityPub Bridge Test Instance

  1. Home
  2. Categories
  3. General Discussion
  4. AP Test (community.nodebb.org)
  5. The state of conversational contexts (February 2025)

The state of conversational contexts (February 2025)

Scheduled Pinned Locked Moved AP Test (community.nodebb.org)
activitypubforumwgswicgbackfill
35 Posts 10 Posters 226 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julian@community.nodebb.orgJ julian@community.nodebb.org

    A conversational context is what the ForumWG uses to describe what you might see as a reply tree or comment thread. One of the short-to-medium term goals of the ForumWG is to get conversational backfill working reliably.

    What this means — conversational backfill means that when you encounter a post/status/note/etc. (e.g. you're mentioned or boosted/shared something), there is a reliable and comprehensive way to retrieve the entire conversation around it, so you are not interacting with the object on its own, but in its proper context with all its sibling replies.

    We plan to achieve this with a combination of a top-down (FEP-driven) and bottom-up (implementor-first) approach. While this sounds incongruent, top-down approaches tend to overcomplicate and bottom-up approaches tend to violate the protocol (unintentionally of course 😂.)

    There are a number of independent top-down efforts to achieve this:

    • FEP-7888: Demystifying the context property
    • FEP-171b: Conversation Containers
    • FEP-76ea: Conversation Threads

    These FEPs are in the R&D phase.

    State of the Top-Down approach

    At this time, the ForumWG is only recommending the following:

    • Publishers SHOULD use context for grouping related objects in a thread (but this is not the only way to use context).

    There is general agreement over:

    • A context SHOULD resolve to a resource.

    There are concerns over:

    • What that resource is (as:OrderedCollection, a new type, something else?)
    • What is included in that context (plain objects or activities)

    State of the Bottom-Up approach

    The bottom-up approach is results-oriented, and while certain implementors may follow certain FEPs, the overarching goal is "cross-compatible conversational backfill".

    Separately, these implementors are (or have signalled interest in) implementing conversational backfill:

    • NodeBB and Discourse (@angusmcleod@mastodon.social)
      • Following FEP 7888
      • Attaches context to objects
      • context resolves to an OrderedCollection
      • Two-way conversation backfill is tested and working.
    • WordPress (@pfefferle@mastodon.social) and Frequency (@jesseplusplus@mastodon.social)
      • Following FEP 7888
      • Attaches context to objects
      • context resolves to an OrderedCollection
      • One-way conversational backfill is tested and working — others can backfill an entire conversation from these implementors.
    • Lemmy (@nutomic@lemmy.ml) and PieFed (@rimu@mastodon.nzoss.nz)
      • Have signalled interest (neither positive nor negative) in conversational backfill and are waiting and watching at this time.

    Of note:

    • Mitra (@silverpill@mitra.social)
      • Following FEP 171b
      • One-way conversational backfill is tested and working — Mitra can backfill an entire conversation from FEP 7888 implementors

    What's Next

    This thread will likely contain updates and discussion from related parties about their implementations and what they wish to do next. In the cruelest irony of ironies, because conversational backfill is not ubiquitous yet, you will need to "View Original URL" in order to see all of the replies.

    The ForumWG will meet again on 6 March 13h00 EST where all of this will be discussed, as well as planning out the future focus items for the ForumWG.

    If you are an implementor, there is no reason you cannot join the fray. Boost this post, reply to it, join the conversation(al context)!!

    If you're not an implementor, boost me anyway 😛

    eeeee@community.nodebb.orgE This user is from outside of this forum
    eeeee@community.nodebb.orgE This user is from outside of this forum
    eeeee@community.nodebb.org
    wrote on last edited by
    #21

    Ok I tried this as as a root post
    1000041037.jpg

    1 Reply Last reply
    1
    0
    • julian@community.nodebb.orgJ julian@community.nodebb.org

      A conversational context is what the ForumWG uses to describe what you might see as a reply tree or comment thread. One of the short-to-medium term goals of the ForumWG is to get conversational backfill working reliably.

      What this means — conversational backfill means that when you encounter a post/status/note/etc. (e.g. you're mentioned or boosted/shared something), there is a reliable and comprehensive way to retrieve the entire conversation around it, so you are not interacting with the object on its own, but in its proper context with all its sibling replies.

      We plan to achieve this with a combination of a top-down (FEP-driven) and bottom-up (implementor-first) approach. While this sounds incongruent, top-down approaches tend to overcomplicate and bottom-up approaches tend to violate the protocol (unintentionally of course 😂.)

      There are a number of independent top-down efforts to achieve this:

      • FEP-7888: Demystifying the context property
      • FEP-171b: Conversation Containers
      • FEP-76ea: Conversation Threads

      These FEPs are in the R&D phase.

      State of the Top-Down approach

      At this time, the ForumWG is only recommending the following:

      • Publishers SHOULD use context for grouping related objects in a thread (but this is not the only way to use context).

      There is general agreement over:

      • A context SHOULD resolve to a resource.

      There are concerns over:

      • What that resource is (as:OrderedCollection, a new type, something else?)
      • What is included in that context (plain objects or activities)

      State of the Bottom-Up approach

      The bottom-up approach is results-oriented, and while certain implementors may follow certain FEPs, the overarching goal is "cross-compatible conversational backfill".

      Separately, these implementors are (or have signalled interest in) implementing conversational backfill:

      • NodeBB and Discourse (@angusmcleod@mastodon.social)
        • Following FEP 7888
        • Attaches context to objects
        • context resolves to an OrderedCollection
        • Two-way conversation backfill is tested and working.
      • WordPress (@pfefferle@mastodon.social) and Frequency (@jesseplusplus@mastodon.social)
        • Following FEP 7888
        • Attaches context to objects
        • context resolves to an OrderedCollection
        • One-way conversational backfill is tested and working — others can backfill an entire conversation from these implementors.
      • Lemmy (@nutomic@lemmy.ml) and PieFed (@rimu@mastodon.nzoss.nz)
        • Have signalled interest (neither positive nor negative) in conversational backfill and are waiting and watching at this time.

      Of note:

      • Mitra (@silverpill@mitra.social)
        • Following FEP 171b
        • One-way conversational backfill is tested and working — Mitra can backfill an entire conversation from FEP 7888 implementors

      What's Next

      This thread will likely contain updates and discussion from related parties about their implementations and what they wish to do next. In the cruelest irony of ironies, because conversational backfill is not ubiquitous yet, you will need to "View Original URL" in order to see all of the replies.

      The ForumWG will meet again on 6 March 13h00 EST where all of this will be discussed, as well as planning out the future focus items for the ForumWG.

      If you are an implementor, there is no reason you cannot join the fray. Boost this post, reply to it, join the conversation(al context)!!

      If you're not an implementor, boost me anyway 😛

      eeeee@community.nodebb.orgE This user is from outside of this forum
      eeeee@community.nodebb.orgE This user is from outside of this forum
      eeeee@community.nodebb.org
      wrote on last edited by
      #22

      I look in medicine group and I can see a post I made from Lemm.ee earlier, but not this one from nodebb
      1000041036.jpg

      1 Reply Last reply
      1
      0
      • julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote on last edited by
        #23

        @eeeee Thanks, can you open an issue about this? I'll have to see what Lemmy expects for a new submission.

        1 Reply Last reply
        1
        0
        • freamon@community.nodebb.orgF This user is from outside of this forum
          freamon@community.nodebb.orgF This user is from outside of this forum
          freamon@community.nodebb.org
          wrote on last edited by
          #24

          @julian I tested out a root post that mentioned a PieFed community, and it got there okay - it's viewable at https://pythag.net/c/sci_fi (and federated out okay to another PieFed instance at https://palaver.p3x.de/c/sci_fi@pythag.net)

          My guess as to why Lemmy might not like it is that the activity contains:

          "audience": "https://community.nodebb.org/category/-1"
          

          It looks like Lemmy tries to fetch that and can't parse the response.

          1 Reply Last reply
          1
          0
          • julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.org
            wrote on last edited by
            #25

            @freamon oh! You're right on the money.

            For whatever reason, Lemmy always checks audience even though it doesn't need to.

            I brought this up for discussion in their github, and it resulted in @nutomic@lemmy.ml removing parsing of audience altogether!

            So this might actually be a moot point once more Lemmy instances update, but I am not 100% sure.

            1 Reply Last reply
            1
            0
            • System shared this topic on
            • silverpill@mitra.socialS silverpill@mitra.social

              @julian I implemented collection of posts in mitra. For now it is only attached to top-level posts (via context).

              Here, for example: https://mitra.social/objects/019529ff-7a45-9752-16f2-a3e780746c1c

              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.orgJ This user is from outside of this forum
              julian@community.nodebb.org
              wrote on last edited by
              #26

              @silverpill@mitra.social this is now tested and outgoing backfill is working with NodeBB.

              Are there plans to introduce post collections to all levels via context?

              While there is utility in exposing it for the root-level, if I am Announce'd one of the replies (e.g. this one), there is no explicit link to the top-level post in order to discover context.

              1 Reply Last reply
              1
              0
              • silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.socialS This user is from outside of this forum
                silverpill@mitra.social
                wrote on last edited by
                #27

                @julian Sure, I will add context to replies. Maybe in the next release

                @angus @mario @jupiter_rowland @kopper

                1 Reply Last reply
                1
                0
                • mario@hub.somaton.comM mario@hub.somaton.com
                  @julian Hubzilla internally backfills via context. Has done so all along. Activitypub content is so far backfilled via inReplyTo traversal and the replies collection.
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.orgJ This user is from outside of this forum
                  julian@community.nodebb.org
                  wrote on last edited by
                  #28

                  @mario@hub.somaton.com when you say "internally backfills", I'm assuming you mean between Hubzilla instances?

                  Is this done via context containing activities, or objects?

                  1 Reply Last reply
                  1
                  0
                  • mario@hub.somaton.comM This user is from outside of this forum
                    mario@hub.somaton.comM This user is from outside of this forum
                    mario@hub.somaton.com
                    wrote on last edited by
                    #29
                    @julian right between Hubzilla.

                    context currently serves activities. But we are in the process of moving to contextHistory.
                    1 Reply Last reply
                    1
                    0
                    • eeeee@community.nodebb.orgE This user is from outside of this forum
                      eeeee@community.nodebb.orgE This user is from outside of this forum
                      eeeee@community.nodebb.org
                      wrote on last edited by
                      #30

                      I still cant post into a community on Lemmy. Ive had more tries and looked at other posts which are going in. It seems they are directed in there somehow, not just by mentioning the group in the post.
                      @julian did you get any idea on this?

                      1 Reply Last reply
                      0
                      • julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.orgJ This user is from outside of this forum
                        julian@community.nodebb.org
                        wrote on last edited by
                        #31

                        @eeeee it is likely due to audience.

                        So, what happens on your end is you make a topic and mention the Lemmy community.

                        When NodeBB federates that post out, the Lemmy community is included in the mentions, but it also specifies your category 18, World Chat, in audience.

                        If Lemmy sees that, and it doesn't know about that community already, it will drop the activity immediately. If it does, then it will likely slot the post into the "World Chat on isurg.com" community on that Lemmy instance.

                        Lemmy removed audience checking, so this might be a non-issue. Once that Lemmy instance updates to the latest version, it'll hopefully post to the correct community.

                        That's a tricky one, though, because which community should it post to?

                        • "Medicine" on mander.xyz, or
                        • "World Chat" on isurg.com?
                        1 Reply Last reply
                        0
                        • eeeee@community.nodebb.orgE This user is from outside of this forum
                          eeeee@community.nodebb.orgE This user is from outside of this forum
                          eeeee@community.nodebb.org
                          wrote on last edited by
                          #32

                          Ok but I also referenced @isurg@lemm.ee and that didnt get a notification either

                          1 Reply Last reply
                          0
                          • eeeee@community.nodebb.orgE This user is from outside of this forum
                            eeeee@community.nodebb.orgE This user is from outside of this forum
                            eeeee@community.nodebb.org
                            wrote on last edited by
                            #33

                            I get your dilema about should it post in world or in medicine@mander.xyz
                            So if I want it to go in mander@xyz how to specify that?

                            julian@community.nodebb.orgJ 1 Reply Last reply
                            0
                            • eeeee@community.nodebb.orgE eeeee@community.nodebb.org

                              I get your dilema about should it post in world or in medicine@mander.xyz
                              So if I want it to go in mander@xyz how to specify that?

                              julian@community.nodebb.orgJ This user is from outside of this forum
                              julian@community.nodebb.orgJ This user is from outside of this forum
                              julian@community.nodebb.org
                              wrote on last edited by
                              #34

                              @eeeee You wait for me to overhaul the entire /world/category UX so that you can "browse" to @medicine@mander.xyz from your NodeBB itself.

                              🔜

                              1 Reply Last reply
                              0
                              • eeeee@community.nodebb.orgE This user is from outside of this forum
                                eeeee@community.nodebb.orgE This user is from outside of this forum
                                eeeee@community.nodebb.org
                                wrote on last edited by
                                #35

                                That sounds good 🙂

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Login or register to search.
                                Powered by NodeBB Contributors
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Popular