Client help and errors still name the retired publisher role

Aperta Adatta ai principianti
#2,778 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
84/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
cli, documentation

Direzione di ricerca

Inizia con l’errore e il testo di aiuto del report indicati in src/core/cli/report_commands.js e src/core/cli/core_commands.js, poi aggiorna le formulazioni corrispondenti in docs/CLI_REFERENCE.md e nelle tre copie di hypaware-query reports.md. Verifica il comportamento del server descritto nell’issue: qualsiasi membro dell’organizzazione può scrivere report. Il lavoro è terminato quando tutti i messaggi client indicati spiegano questa regola e il caso 401, senza menzionare alcun ruolo publisher.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What

hypaware-server retired the publisher membership role in hyparam/hypaware-server#1548 (server LLP 0619, live since 2026-10-19). Roles are now member and admin, and every member already gets report-publish. The server refuses publisher with 400 invalid_role.

The client still tells users report writes need the publisher role:

  • src/core/cli/report_commands.js:1886: the HTTP 401 error on a report write says "your account lacks the publisher role that report writes require - ask a server admin for it". A user who follows it asks an admin for a role that no longer exists.
  • src/core/cli/core_commands.js:821, :899, :967: hyp report help text says publish, recommend, mark and delete "need the publisher role".
  • docs/CLI_REFERENCE.md:484 and :691: "Requires the publisher role".
  • The hypaware-query skill copies say the same: hypaware-core/skills/hypaware-query/reports.md:52, hypaware-core/plugins-workspace/claude/skills/hypaware-query/reports.md:49 and hypaware-core/plugins-workspace/codex/skills/hypaware-query/reports.md:49.

Line numbers are from master 4d0d9617.

Expected

Help, the 401 error, the CLI reference and the skill copies describe the current server: any org member can write reports; a 401 on a write means the session expired or the account is not a member of the org. No mention of a publisher role.

Notes

Copy-only change. The server already accepts report writes from every member, so no behavior change is needed in the client. hypscope's role picker carries the same stale option and is a separate follow-up in that repo.

🤖 Generated with Claude Code

Lingua principale
JavaScript
Stelle
11
Fork
0
Merge medio
2h 49m
PR unite (30g)
302

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyparam/hypaware

Tutte le issue di hyparam/hypaware

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.