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:

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:

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).

26/26 · 67/67backend / QML UI tests pass (one UI pixel test flaky, 1 failure in 3 runs)
A ⇄ B workstwo Basecamp profiles exchanged a thread and a reply over public logos.test (RLN switched off locally, which the network permits)
package = sourcecatalog SHA-256 matches; QML identical; backend hash matches its provenance file

Summary

#SeverityFindingEvidence
H1HighModule 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
M1MediumAn alias can equal a public ID's 8-hex display, or "Anonymous", and the feed renders them identically.Probe and screenshot
M2MediumStore (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
M3MediumShared 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
M4MediumCI is red on the reviewed HEAD (Native checks; macOS-Intel).GitHub check runs
L1LowRemote aliases and attachment names are rendered as rich text in tooltips. Markup is interpreted; no remote fetch was observed.Probe and screenshot
L2LowNetwork 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
L3LowSender-chosen timestamps drive sorting: up to +5 minutes in the future, unbounded in the past.By inspection
L4LowThe local archive is never pruned; intake allows about 345k messages a day.By inspection
L5LowSigning keys are stored unencrypted in SQLite (file permissions are correct).Verified on disk
L6LowEvery 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.

Package Manager shows Logos Forum as an upgrade of Agora
Both catalogs added: Basecamp sees the installed Agora 0.3.5 as an old Logos Forum and offers UPGRADE.
Upgrade dialog
Basecamp's dialog: upgrade 'Agora' to v0.3.7 (the other project), removing Agora and downgrading Delivery.

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:

Feed: real public ID, alias equal to it, alias Anonymous, real anonymous
Post 1 is a real public ID; post 2 is an alias equal to its display. Post 4 is really anonymous; post 3 is an alias "Anonymous". All render the same.

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.

Tooltip rendering alias markup
The alias <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,"&lt;").

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.

Publishing paused tooltip
The only explanation of why nothing is being sent.

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").

StepResult
A creates a threadSend 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 itThe 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 AA 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).
Profile B feed with A's thread
Profile B: A's thread arrived over logos.test.
Profile A thread with B's reply
Profile A: its own thread (✓ sent) and B's quoted reply. Both authors are "wanderer" (L6).

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

ComponentUsed?How
Logos Delivery (Messaging)Yes, load-bearingThe 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.
RLNYes (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 StoragePartlyAn 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).
BasecampYesA 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 / blockchainNoNo on-chain program. That's not required by LP-0026.

Claims vs code

ClaimWhereVerdict
Envelope ID = SHA-256 of canonical payload; Ed25519 signs the same bytesForumBackend.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 rowConfirmed
"Only a matching messageSent marks sent"ForumController.qml:570-579; 90 s watchdog → failedConfirmed
Intake bounded before signature workreceiveBytes token bucket 240 / 4 per second; size checked firstConfirmed
Downloads verified (size, SHA-256, MIME); redirects refused; loopback-only endpointStorageTransfer.cppConfirmed
Identity rotation"New identity for each thread" creates a new key per thread (:516-518); replies keep the current keyConfirmed (thread-level only)
"Recovery … implemented and tested"Backend and tests yes; shipped UI noPartly (M2)
"Sharing through Logos Storage"Needs an external patched node and a raw config callPartly (M3)
Test counts: "26 backend and 67 QML checks"Ran both: 26 and 67Exact
Published package corresponds to sourceLGX SHA-256 = catalog; packaged QML = HEAD QML; forum_backend.so SHA-256 = PROVENANCE.json; only change since the build commit is the descriptor renameConfirmed

LP-0026 criteria

Same rubric and legend as the Forumer and Logos Forum reviews. PASS / PARTIAL / FAIL / UNVERIFIABLE.

#CriterionVerdictEvidence
0Adoption: realistic topics, organic conversationsUNVERIFIABLESelf-declared as not met; nothing arrived on the topic during about 7 minutes live.
F1No centralised serverPASSEverything is local or peer-to-peer. Storage needs the user's own local node.
F2Uses the Logos stackPASSDelivery is load-bearing; Storage only via an external node (M3).
F3One or more accountsPASSMultiple identities, created in the profile dialog.
F4Create topics and replyPASSThread from A and reply from B over public logos.test, both received (RLN switched off locally).
F5Reply by unique ID / alias / no IDPASS, with caveatAll three modes work; M1 makes them visually spoofable.
F6Identity rotationPASSA new key per thread when enabled.
U1Basecamp GUI, local build instructionsPASSBuilt from source; ran in Basecamp 0.3.2.
U2Pre-built in a module catalogPASS, with caveatThe catalog works and hashes match, but H1 conflicts with another catalog.
U3Usable by non-experts; clear pending and error statesPARTIALClean UI and honest pending text, but status is hidden (L2) and Storage needs developer setup (M3).
U4/S1Sound, reusable architecturePASSThe backend is UI-independent and tested headless.
R1Offline → means to obtain past messagesPARTIALImplemented and tested in the backend; unreachable from the UI (M2).
R2Failed sends stay local and are retriedPASSObserved live: two real Delivery send failures were retried with the same envelope, delivered, and deduplicated.
P1Doesn't flood the networkPASSOne message in flight, 5 s pacing, RLN gate.
S2CI green on default branchFAIL (at HEAD)M4; green at 08f115a.
S3README / docsPASSThorough and candid; GUIDE, PROTOCOL, STORAGE, NETWORK and FURPS docs.
S4Recorded video demoPASS2: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.

Empty feed
First start: an identity "wanderer" is created silently; the empty state is friendly.
Composer
The composer: board, title, body counter, attachments, identity, "Keep draft".
Thread created
Thread saved; a clock icon marks it queued, since publishing is blocked without RLN.
Profile
Profile: alias, the mode labelled honestly ("Alias + verifiable public key"), per-thread rotation.

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.

Walkthrough frames
Six frames from the walkthrough.

What works

Good

How I reviewed

Not tested

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:

No code was pushed to the author, and no issue was filed.