Unjoined public channel is reported as a private channel
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 84/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- cli
Rechercherichtung
Beginne mit src/lib/public-channels.ts und der Prüfung assertChannelIsPublic und reproduziere das Problem mit dem Befehl tdc thread view id:Cef56SqAhC6dgFNn5R4f4. Die Aufgabe ist abgeschlossen, wenn ein nicht beigetretener öffentlicher Kanal nicht mehr als privat gemeldet wird oder der Fehler genau zwischen nicht beigetretenen öffentlichen und privaten Kanälen unterscheidet und das Verhalten von --include-private-channels weiterhin eindeutig ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
What happened. tdc thread view id:Cef56SqAhC6dgFNn5R4f4 (a thread in a public channel I have not joined) fails with:
NOT_FOUND: This thread belongs to a private channel.
Use --include-private-channels to access it
With the flag it reads fine, and the channel is public.
Why. assertChannelIsPublic checks the channel id against getPublicChannelIds, which is built from client.channels.getChannels({ workspaceId }) (src/lib/public-channels.ts). That list did not contain the channel for me, so anything outside it is reported as private, joined or not. Comms has two levels here, private and public-not-yet-joined, and the message only names one.
Ask. Either of these; the first is enough on its own:
- Reword the error to what the check actually knows: "This thread is in a channel you have not joined, or a private one. Pass
--include-private-channelsto read it." - Check the channel itself (its
publicflag) so an unjoined public channel passes the guard without the flag, and only private ones need it.
Why it matters. Agents relay this message as a fact. Mine told me the thread was private twice, once inside a draft reply that warned colleagues the link would not work for them. Version 3.1.0.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 0
- Forks
- 0
- Ø Merge
- 1 T. 16 Std.
- Gemergte PRs (30 T.)
- 9
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Doist/comms-cli
-
tdc channel threads fails with READ_ONLY for a read-only token, while sibling read commands succeedOffenbug Severity:Medium
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 55/100
Doist/comms-cli#51 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Doist/comms-cli
Ähnliche Issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
openclaw/openclaw#168089 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
✨ enhancement needs-discussion
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferenceEvtl. vergeben @alok-108 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
microsoft/playwright#43263 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:studio type:security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement good first issue Stellar Wave trivial
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
StellarCanary/ProtocolCanary-Action#331 ·
Maintainer antworten meist innerhalb von 1 Tag