Agora (logos-agora) — review
Independent review of stevancarlon's LP-0026 forum, an external contribution · repo stevancarlon/logos-agora, default-branch HEAD c9c068e (30 Oct 2026) · published package logos_forum 0.3.5 (built from 7b213d9) · reviewed 2 Nov 2026 · same method and layout as the Forumer and Logos Forum reviews
A careful, honestly documented native forum with a solid backend, and one serious packaging collision.
Agora is a Basecamp ui_qml module: a C++/Qt backend with SQLite and Ed25519 (OpenSSL), and a QML front end. Posts are signed envelopes on one Logos Delivery content topic. Attachments go through Logos Storage, but via a separately run, patched Storage node, not Basecamp's storage_module.
What holds up:
- Signatures and content hashes are real, and every SQL statement is parameterised.
- Bodies and titles render as plain text. Storage downloads are checked against signed size, SHA-256 and sniffed MIME type.
- The outbox never claims a post was sent without a matching
messageSent. - The published package matches the source exactly.
- All 26 backend tests and 67 UI tests pass locally.
- The docs state their own limits unusually candidly.
The biggest problem is outside the code. Agora registers the module identifier logos_forum, which already belongs to edenbd1's earlier, published Logos Forum. In a real Basecamp 0.3.2 with both catalogs added, Basecamp offers to "Upgrade 'Agora' to v0.3.7". That would remove Agora, install the other project's code, and downgrade Delivery from 0.4.0 to 0.3.3. Both apps also write to the same data folder.
Below that sit four Medium issues:
- An alias can render exactly like someone else's public ID, or like "Anonymous".
- The missed-history (Store) recovery path exists only in the test harness. The app tells users to open a screen that doesn't exist.
- Shared attachments can't be enabled by a normal user: the Storage endpoint is set only through a raw backend call, and needs a custom-patched node.
- CI is red on the reviewed commit.
Live check (added 2 Nov): two isolated Basecamp profiles exchanged a signed thread and a reply over the public logos.test network in both directions. Agora's retry-with-the-same-ID and duplicate handling worked on a real Delivery failure. No RLN membership was needed: the network doesn't validate proofs, and only Delivery's local preset demands one (see Two profiles over logos.test).
Summary
| # | Severity | Finding | Evidence |
|---|---|---|---|
| H1 | High | Module identifier logos_forum collides with edenbd1's Logos Forum. Basecamp offers to "upgrade" Agora into the other app and downgrade Delivery. Both share one data folder. | Reproduced in Basecamp 0.3.2 |
| M1 | Medium | An alias can equal a public ID's 8-hex display, or "Anonymous", and the feed renders them identically. | Probe and screenshot |
| M2 | Medium | Store (missed-history) recovery isn't reachable from the shipped UI. The app's notice points to a non-existent "Network → Advanced". | By inspection; whole-tree grep |
| M3 | Medium | Shared attachments need a raw backend call to configure, plus a separately built, patched Storage node. A normal user can't enable them. | By inspection, docs and GUI |
| M4 | Medium | CI is red on the reviewed HEAD (Native checks; macOS-Intel). | GitHub check runs |
| L1 | Low | Remote aliases and attachment names are rendered as rich text in tooltips. Markup is interpreted; no remote fetch was observed. | Probe and screenshot |
| L2 | Low | Network and publishing status are visible only in a tooltip on a small clock icon, with no route to fix "credentials need attention". | Observed in Basecamp |
| L3 | Low | Sender-chosen timestamps drive sorting: up to +5 minutes in the future, unbounded in the past. | By inspection |
| L4 | Low | The local archive is never pruned; intake allows about 345k messages a day. | By inspection |
| L5 | Low | Signing keys are stored unencrypted in SQLite (file permissions are correct). | Verified on disk |
| L6 | Low | Every fresh install posts as the same default alias, "wanderer". | Observed on two profiles |
Findings
HighH1. The module identifier logos_forum belongs to another, earlier forum: Basecamp offers to "upgrade" Agora into it
What. native/forum/module.json:3 declares "name": "logos_forum". edenbd1's Logos Forum, published earlier with its own catalog, uses the same identifier (catalog version 0.3.7). Both are ui_qml modules. Both also store data in <user-dir>/module_data/logos_forum: Agora at ForumBackend.cpp:168, Logos Forum at src/logos_forum_backend.cpp:243. Agora's content topic sits under the same /logos-forum/1/… application name as well.
Reproduced. In a fresh Basecamp 0.3.2 profile with Agora 0.3.5 installed from its catalog, I added the Logos Forum catalog. Package Manager then listed Logos Forum — installed 0.3.5 — UPGRADE. Clicking it opened Basecamp's own dialog: "Upgrade 'Agora' to v0.3.7. The current version will be removed first", with the dependency change "Downgrade delivery_module v0.4.0 → v0.3.3". I cancelled at that point.


Impact. Anyone who tries both LP-0026 forums, as judges and early users will, can't have both installed. One click replaces one app with another project's code. Both apps then share one data folder; their file names don't overlap (forum.sqlite vs forum.db), but that's luck, not design. Basecamp's lack of per-repository namespacing makes this possible, but the identifier was already taken by a published module, so Agora can avoid it.
Fix: rename the module, e.g. agora_forum. Migrate an existing module_data/logos_forum/forum.sqlite on first start. Consider renaming the content topic to /agora/1/commons/json, with a dual-subscribe transition window.
MediumM1. An alias can render exactly like someone else's public ID, or like "Anonymous"
What. Public-ID posts display the first 8 hex characters of the author's fingerprint (Main.qml:215-216, :834). Alias posts display the alias text. receive() accepts any alias of 1–32 characters (ForumBackend.cpp:708-709). Nothing marks which mode a post used: the feed row and the thread header look the same. So an alias equal to a victim's displayed ID (e.g. babf0d4f), or the literal alias Anonymous, is indistinguishable at a glance. Only the author tooltip, after a 500 ms hover, appends the real fingerprint (Main.qml:218-219).
Reproduced. probes/probe_identity_spoof.cpp uses three independent databases (victim, attacker, reader). The reader accepts all four envelopes, and the feed renders the attacker's posts as 86269236 and Anonymous, identical to the genuine ones. probes/tst_probe_spoof.qml rendered the real feed:

Impact. Impersonation of a known public ID, for example in a release-notes thread, and fake "anonymous" posts that are really signed and linkable. The profile screen labels the mode honestly ("Alias + verifiable public key"), but readers aren't shown which mode a post used.
Fix: mark the mode visibly (an ID badge or monospace for public IDs, an alias marker, and a distinct style for anonymous). Reject aliases matching ^[0-9a-f]{8,}$ or "anonymous" (case-insensitive) on both compose and receive. Optionally show an alias with a short fingerprint suffix in the feed.
MediumM2. Store recovery of missed posts isn't reachable from the shipped UI
What. Manual recovery (ForumController.qml:407 loadHistory, then backend historyPage) is called from exactly one place in the whole tree: the network test harness, native/tests/network/Peer.qml:71. The shipped QML never calls it. When live intake is rate-limited, the app tells the user to "Recover missed posts from Network → Advanced" (ForumController.qml:539, 548). Agora has no such screen; docs/STORAGE.md itself says "Agora no longer exposes a Network settings screen". The only automatic path left is Delivery's own backfill, which Agora enables only when it creates the Delivery node (ForumController.qml:392-399). If another app already started the shared node, Agora reuses it unchanged.
Observed. In Basecamp the node joined logos.test (15 relay peers) and subscribed to /logos-forum/1/commons/json. Over about 7 minutes no posts arrived, from live traffic or backfill. That's consistent with no current activity on the topic and short Store retention, so I don't treat it as a defect by itself.
Impact. The LP-0026 "offline → means to obtain past messages" requirement is implemented and tested in the backend, but an ordinary user can't trigger it. The one hint the app gives sends them to a screen that doesn't exist.
Fix: add a "Load older posts" action at the end of the feed and in the rate-limit notice. Have it discover Store peers through Delivery rather than asking for a multiaddress. Fix the notice text.
MediumM3. Shared attachments can't be enabled by a normal user
What. Uploads and downloads need a storageEndpoint. The QML only reads it; there is no field anywhere to set it. docs/STORAGE.md:42-46 tells users to send {"op":"settings","storageEndpoint":"http://127.0.0.1:8080/api/storage/v1"} to the backend "during installation or integration setup". The endpoint must also be a separately run Storage node built from v0.5.3 plus three Agora-maintained patches (patches/). Agora talks HTTP to that node and doesn't use Basecamp's storage_module (STORAGE.md: "Agora's HTTP integration does not consume the Basecamp Storage module's native upload/download methods"). Without it, the composer quietly switches to "Save locally · Local-only thread".
Impact. "Images, inline video and PDFs; sharing through Logos Storage" is a headline README feature, but for anyone installing from the catalog, attachments stay on their own device. On the plus side, the patches are well documented and look like genuine upstream fixes: provider-address merging, relay renewal and forwarding checks, and download admission. They deserve to go upstream.
Fix: add a Storage field to the profile dialog, or detect a local node. Longer term, use Basecamp's storage_module and send the patches upstream.
MediumM4. CI is red on the reviewed commit
On c9c068e (default-branch HEAD), "Native checks" failed at the build-native.sh step, and "Desktop platform checks" failed on macOS-15-Intel. Windows and macOS-15 passed. The previous commit 08f115a was green. Job logs need a GitHub login, so I couldn't read the cause. The submission's own checklist leaves "green CI" unticked. Locally the same script passed 26/26 backend tests and 67/67 UI tests on two of three runs. On the other, test_replyCaretAtLineStart (a pixel check of the text caret) failed, so a flaky test is one plausible cause.
Fix: make the caret test tolerant (or quarantine it), then re-run CI on HEAD.
LowL1. Remote aliases and attachment names are rendered as rich text in tooltips
Every visible Text correctly sets PlainText. Two tooltips don't, though: the author tooltip (Main.qml:1115, which shows the alias) and the attachment-name tooltip (AttachmentCard.qml:110). Qt Quick Controls' tooltip uses AutoText. probes/tst_probe_tooltip.qml gives an identity the alias <img src=http://127.0.0.1:87/a> (31 characters, accepted by receive()) and hovers it. The tooltip's text item reports textFormat = AutoText, the tag is consumed as markup (it isn't shown), and the newline collapses. A local HTTP listener received no request. Qt 6.9.2 logged "StyledText - Invalid base url in img tag" and loaded nothing, so this isn't an IP leak in the tested version. Markup such as fonts and colours still renders.

<img …> disappears from the tooltip (parsed as markup); the visible author name above shows it literally (PlainText).Fix: give both tooltips a contentItem: Text { textFormat: Text.PlainText }, or escape with .replace(/</g,"<").
LowL2. Network and publishing status are nearly invisible
Nothing in the main view shows the connection state. A queued post shows only a small clock icon. Its tooltip says "Publishing unavailable · posts remain queued. Delivery credentials need attention (unknown)." That's accurate and honest, but there's no hint of what to do: an RLN membership has to be obtained elsewhere. The "λ" in the corner is just a link to logos.co. Agora also creates an identity ("wanderer") silently on first run, with no onboarding.

LowL3. Sender-chosen timestamps drive sorting
receive() accepts any created greater than 0 and up to 5 minutes in the future (ForumBackend.cpp:694-696). "Latest activity" sorts by the newest reply timestamp (:374). A peer can therefore keep a thread pinned to the top by replying with +5-minute timestamps, or backdate posts arbitrarily. By inspection; a common trade-off in serverless forums. Fix: sort by min(created, received), or cap the past skew relative to the received time.
LowL4. The local archive is never pruned
No code path deletes posts (grep "DELETE FROM posts" finds nothing). Live intake is bounded at 240 messages burst and 4 a second (ForumBackend.cpp:251-262), which still admits about 345k envelopes of up to 64 KiB each per day from one spammer. Orphan replies are kept too. The docs list retention as future work. By inspection.
LowL5. Signing keys are stored unencrypted
Ed25519 private keys sit as raw 32-byte blobs in identities.secret. Verified in the Basecamp profile: the folder is 0700 and forum.sqlite, -wal and -shm are 0600, which is correct. There's no passphrase and no export or backup flow. Losing the file loses the identities. Acceptable for an alpha; worth stating in the UI.
LowL6. Every new user is called "wanderer"
On first start the backend silently creates an identity with the fixed alias wanderer (ForumBackend.cpp:225-226). Both of my fresh profiles posted as "wanderer", so a thread and its reply from two different people looked like one author talking to themselves (screenshot below). Combined with M1, a default identity tells readers nothing. Fix: ask for an alias on first post, or default to the public-ID display.
Two profiles over the public logos.test network
Do we need RLN? No, not to send on today's testnet. Delivery 0.4.0's logos.test preset turns RLN on for sending but off for validation (rln_presets.cpp: enabled = true, enableValidation = false). Peers log "RLN proof validation is disabled; not registering the RLN validator". Without a membership, the local node refuses to send ("No usable RLN membership … sends fail until it is active"), and Agora's gate correctly holds posts as queued. That's what a stock install does today. Delivery's own LOGOS_DELIVERY_RLN_PRESETS override ({"logos.test":{"enabled":false}}) switches RLN off locally. Delivery then reports Disabled, Agora's gate opens, and the network relays the messages, because nobody validates proofs.
What I ran. Two isolated Basecamp 0.3.2 profiles (A, B), each with its own HOME, user dir and Xvfb display, with official Delivery 0.4.0 and Agora 0.3.5 from the catalog. Both auto-created a Core node on logos.test with mix routing set to "Required". Test content was clearly labelled ("review-test … please ignore", "Please disregard for adoption").
| Step | Result |
|---|---|
| A creates a thread | Send 1 failed in Delivery: mix not mounted or pool below: 4, since the mix pool wasn't ready yet. Agora marked it failed and, 60 s later, re-sent the same envelope (attempts = 2). That send was "successfully sent over mix". A shows ✓ sent. |
| B receives it | The same ID (b0354c4f…) was stored as received about 62 s after composing, signature-verified. It renders in B's feed and thread view. |
| B replies, quoting A | A received the reply 16 s later. But B's Delivery reported Unable to send within retry time window for that same send. Agora retried the same envelope, the retry propagated, and A ignored the duplicate (one row, no double post). |


Takeaways. Delivery, Agora's durable outbox and its deduplication work end to end on the public network, in both directions. Delivery's acknowledgements aren't reliable proof either way: one send that "failed" had in fact been delivered. Agora's choice to retry the identical envelope, rather than compose a new post, is exactly right for that. Both profiles ran on one host, so this doesn't establish cross-machine connectivity. I didn't exercise Store recovery (M2) or attachments (M3) here.
How it uses the Logos stack
| Component | Used? | How |
|---|---|---|
| Logos Delivery (Messaging) | Yes, load-bearing | The QML adapter calls getConnectionStatus, createNode (Core, logos.test, anonymity "Required", backfill on), start, subscribe, send and storeQuery, and handles messageSent, messageError and messageReceived events. It reuses a shared node without reconfiguring it. One topic: /logos-forum/1/commons/json. Observed live: 15 relay peers, subscribe succeeded. |
| RLN | Yes (readiness gate) | Before each send it reads delivery_module.rlnState, then liblogos_rln_module.get_membership_state. It publishes only on active or grace_period. Observed: correctly "blocked" without a membership, and the post stayed queued. The RLN module isn't declared as a dependency in the manifest. |
| Logos Storage | Partly | An HTTP client for a separate, patched Storage v0.5.3 node on loopback, not Basecamp's storage_module. Uploads (POST /data, then advertise) and downloads are strictly verified. Not configurable from the UI (M3). |
| Basecamp | Yes | A ui_qml module with its backend in the ui-host over Qt Remote Objects. It also needs a "media companion" runtime (QtMultimedia, FFmpeg and Agora's renderer) installed outside the package. |
| LEZ / blockchain | No | No on-chain program. That's not required by LP-0026. |
Claims vs code
| Claim | Where | Verdict |
|---|---|---|
| Envelope ID = SHA-256 of canonical payload; Ed25519 signs the same bytes | ForumBackend.cpp:496-499 (sign), :679-711 (verify, OpenSSL EVP_DigestVerify) | Confirmed |
| Anonymous mode carries no author, key or signature | :697-700; locally, anonymous posts aren't linked to an identity row | Confirmed |
| "Only a matching messageSent marks sent" | ForumController.qml:570-579; 90 s watchdog → failed | Confirmed |
| Intake bounded before signature work | receiveBytes token bucket 240 / 4 per second; size checked first | Confirmed |
| Downloads verified (size, SHA-256, MIME); redirects refused; loopback-only endpoint | StorageTransfer.cpp | Confirmed |
| Identity rotation | "New identity for each thread" creates a new key per thread (:516-518); replies keep the current key | Confirmed (thread-level only) |
| "Recovery … implemented and tested" | Backend and tests yes; shipped UI no | Partly (M2) |
| "Sharing through Logos Storage" | Needs an external patched node and a raw config call | Partly (M3) |
| Test counts: "26 backend and 67 QML checks" | Ran both: 26 and 67 | Exact |
| Published package corresponds to source | LGX SHA-256 = catalog; packaged QML = HEAD QML; forum_backend.so SHA-256 = PROVENANCE.json; only change since the build commit is the descriptor rename | Confirmed |
LP-0026 criteria
Same rubric and legend as the Forumer and Logos Forum reviews. PASS / PARTIAL / FAIL / UNVERIFIABLE.
| # | Criterion | Verdict | Evidence |
|---|---|---|---|
| 0 | Adoption: realistic topics, organic conversations | UNVERIFIABLE | Self-declared as not met; nothing arrived on the topic during about 7 minutes live. |
| F1 | No centralised server | PASS | Everything is local or peer-to-peer. Storage needs the user's own local node. |
| F2 | Uses the Logos stack | PASS | Delivery is load-bearing; Storage only via an external node (M3). |
| F3 | One or more accounts | PASS | Multiple identities, created in the profile dialog. |
| F4 | Create topics and reply | PASS | Thread from A and reply from B over public logos.test, both received (RLN switched off locally). |
| F5 | Reply by unique ID / alias / no ID | PASS, with caveat | All three modes work; M1 makes them visually spoofable. |
| F6 | Identity rotation | PASS | A new key per thread when enabled. |
| U1 | Basecamp GUI, local build instructions | PASS | Built from source; ran in Basecamp 0.3.2. |
| U2 | Pre-built in a module catalog | PASS, with caveat | The catalog works and hashes match, but H1 conflicts with another catalog. |
| U3 | Usable by non-experts; clear pending and error states | PARTIAL | Clean UI and honest pending text, but status is hidden (L2) and Storage needs developer setup (M3). |
| U4/S1 | Sound, reusable architecture | PASS | The backend is UI-independent and tested headless. |
| R1 | Offline → means to obtain past messages | PARTIAL | Implemented and tested in the backend; unreachable from the UI (M2). |
| R2 | Failed sends stay local and are retried | PASS | Observed live: two real Delivery send failures were retried with the same envelope, delivered, and deduplicated. |
| P1 | Doesn't flood the network | PASS | One message in flight, 5 s pacing, RLN gate. |
| S2 | CI green on default branch | FAIL (at HEAD) | M4; green at 08f115a. |
| S3 | README / docs | PASS | Thorough and candid; GUIDE, PROTOCOL, STORAGE, NETWORK and FURPS docs. |
| S4 | Recorded video demo | PASS | 2:36, real native UI; staged content and synthetic narration, both declared. |
Using it in Basecamp
Official Basecamp 0.3.2 AppImage (Qt 6.9.2) in an isolated profile on Xvfb. Delivery 0.4.0, RLN 0.12.0 and LEZ RLN 5.1.0 came from the official catalog (hashes verified). Agora 0.3.5 is the catalog LGX, plus the media companion runtime built as the release kit describes.




Demo video
agora-walkthrough.mp4 (release v0.3.5-alpha.1, 2:36, with audio). Frames sampled at 5, 30, 60, 90, 115 and 145 s show the real native UI: feed, composer with attachment, inline video, quotes and profile. The content is staged, and the submission says so. I didn't transcribe the narration, which is declared as synthetic.

What works
- Real Ed25519 signing and verification with OpenSSL; content-hash IDs; signature checked before insert; duplicate IDs ignored.
- Every SQL statement is prepared with bound values. Search uses
instron case-folded text, so there's no LIKE injection. - All visible post text renders as PlainText; bodies with markup show literally.
- Storage downloads: streaming size cap, SHA-256 and sniffed MIME checked against signed metadata, a 24-megapixel cap, redirects refused, loopback-only endpoint without credentials.
- File permissions are 0700 and 0600, verified on disk.
- The publishing gate is honest: no RLN membership means posts stay queued, nothing pretends to be sent.
- Reuses a shared Delivery node without reconfiguring or stopping it.
- The published package matches the source exactly, and both test suites pass.
- Unusually candid docs: every claim is scoped ("one host", "not cross-machine", "staged content").
- The Storage and libp2p patches are well reasoned and tested; worth upstreaming.
How I reviewed
- Pinned
c9c068e. Read README, INSTALL, PROTOCOL, STORAGE, the patches README and the LP-0026 submission. ReadForumBackend.cpp(958 lines),StorageTransfer.cpp,AttachmentMime.handForumController.qmlin full, plus the rendering paths inMain.qml. - Installed Qt 6.9.2 (gcc_64, Multimedia) with aqtinstall and ran
scripts/build-native.pyas CI does: 26/26 and 67/67, plus two reruns of the UI suite (one caret flake). - Wrote probes against the real backend and QML: the identity-spoof probe (C++, three databases) and the tooltip and spoof-feed probes (QuickTest, offscreen), with an HTTP listener.
- Downloaded the v0.3.5 release: LGX, kit, provenance and video. Verified the hashes and compared the package with the source.
- Ran the official Basecamp 0.3.2 AppImage, glibc-patched for this sandbox, which is an environment detail and not Agora's. Installed the official Delivery and RLN modules and the Agora catalog LGX, drove the UI with xdotool, and captured screenshots with ffmpeg. Added both forum catalogs to reproduce H1.
- Checked CI status for HEAD through the public GitHub API.
Not tested
- Cross-machine exchange. The two-profile test over logos.test ran on one host. Store recovery over the network and posting with a real RLN membership (proof generation) weren't exercised.
- Storage transfers through a node. I didn't build the patched Storage node, so upload and download were reviewed by code only.
- Inline video playback in the Basecamp GUI (covered by the UI test suite), macOS and Windows builds, cross-machine behaviour, and network-level anonymity.
- CI job logs need a GitHub login, so the cause of M4 is unconfirmed.
- I didn't complete the Package Manager "upgrade" in H1. The dialog was enough evidence.
Re-run the probes
Files are in probes/, with outputs in probe_identity_spoof.txt and the test logs. Build Agora with Qt 6.9.2 (QMAKE=… python3 scripts/build-native.py), then:
probe_identity_spoof: putprobe.proandprobe_identity_spoof.cppin<repo>/../probes/cpp/, then runqmake && make && QT_QPA_PLATFORM=offscreen ./probe_identity_spoof.- QML probes:
python3 listener.py 87 &, thenbuild/qt6.9.2-ui-tests/forum-ui-tests -input <dir with tst_probe_*.qml>with the same environment asbuild-native.py. Fix the import path at the top of each probe to point atnative/forum/qml.
No code was pushed to the author, and no issue was filed.