Kgothatso NgakoandClaude Opus 5 437fd3e18b fix(marmot): a received kind:1210 or kind:1009 is not a bubble
docs/marmot-v2.md, Phase 7, the line the phase's commit missed: "a received
kind:1210 or kind:1009 gets no bubble". Both are kinds the current profile
defines as not-chat. A 1210 is a group system row -- member added, member
left -- and the profile is explicit that one arriving over the wire is one
member's assertion rather than a fact; this device derives its own from the
commit it applied (`TYPE_MEMBER_ADDED` and its siblings, written by
`processGroupMembershipChanges`), so the received one adds nothing it can
trust. A 1009 is an in-place edit, which the app does not apply. Until now
either fell off the end of `applyInnerEvent`'s `when` into `unsupported()`,
which is the raw-JSON bubble, so a White Noise member leaving a room would
have put their client's system row into the transcript as a block of JSON
under the caption this device wrote for the same fact.

Both kinds now return null: no line. The bubble stays for every other
unknown kind, which is narrower than the plan's "neither does any other
unknown kind". Two reasons. The `TextNoteEvent` arm reaches `unsupported()`
deliberately -- a kind:1 the room did not sign is a member's own note
travelling through the room and has always rendered as this -- and the
bubble is the only trace an unrecognised payload leaves; retiring it would
make the next new kind a silent drop, which is the failure mode the chronicle
note complains about from the other side. The Phase 9 table records the
narrowing.

`MarmotSystemRowJvmTest` holds both: the two kinds make no row, and kind
31337 is still the bubble.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 23:59:18 +02:00
2026-09-09 17:04:09 +02:00
2026-03-24 04:47:19 +02:00
2026-03-23 01:41:39 +02:00
2026-03-23 01:41:39 +02:00
2026-03-23 01:41:39 +02:00

This is a Kotlin Multiplatform project targeting Android, iOS, Desktop (JVM).

  • /composeApp is for code that will be shared across your Compose Multiplatform applications. It contains several subfolders:

    • commonMain is for code that’s common for all targets.
    • Other folders are for Kotlin code that will be compiled for only the platform indicated in the folder name. For example, if you want to use Apple’s CoreCrypto for the iOS part of your Kotlin app, the iosMain folder would be the right place for such calls. Similarly, if you want to edit the Desktop (JVM) specific part, the jvmMain folder is the appropriate location.
  • /iosApp contains iOS applications. Even if you’re sharing your UI with Compose Multiplatform, you need this entry point for your iOS app. This is also where you should add SwiftUI code for your project.

Build and Run Android Application

To build and run the development version of the Android app, use the run configuration from the run widget in your IDE’s toolbar or build it directly from the terminal:

  • on macOS/Linux
    ./gradlew :composeApp:assembleDebug
    
  • on Windows
    .\gradlew.bat :composeApp:assembleDebug
    

Build and Run Desktop (JVM) Application

To build and run the development version of the desktop app, use the run configuration from the run widget in your IDE’s toolbar or run it directly from the terminal:

  • on macOS/Linux
    ./gradlew :composeApp:run
    
  • on Windows
    .\gradlew.bat :composeApp:run
    

Build and Run iOS Application

To build and run the development version of the iOS app, use the run configuration from the run widget in your IDE’s toolbar or open the /iosApp directory in Xcode and run it from there.


Learn more about Kotlin Multiplatform…

Languages
Kotlin 100%