Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Safe Outputs Conformance] MCE-001: add_comment tool description lacks explicit CONSTRAINTS/IMPORTANT disclosure wording

Aperta Adatta ai principianti
#71,061 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à
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, go
Ambito
devtools

Direzione di ricerca

Leggi la descrizione dello strumento add_comment in pkg/workflow/js/safe_outputs_tools.json e il controllo MCE-001 in scripts/check-safe-outputs-conformance.sh. Aggiungi l’avviso CONSTRAINTS o IMPORTANT richiesto, mantenendo la formulazione esistente del limite e le indicazioni WRITE-ONCE. Esegui bash scripts/check-safe-outputs-conformance.sh; il risultato corretto significa che MCE-001 passa e che i controlli esistenti del limite restano intatti.

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

Descrizione

automated conformance safe-outputs
Conformance Check Failure

Check ID: MCE-001
Severity: MEDIUM
Category: Specification (Section 8.3 MCE2)

Problem Description

Per spec Section 8.3 MCE2, the add_comment MCP tool description MUST surface its enforcement constraints, including an explicit CONSTRAINTS/IMPORTANT-style disclosure. The current description in pkg/workflow/js/safe_outputs_tools.json (around line 531) already documents the numeric limits (524288 char input limit, 10 mentions, configured max-links, 65536-char published comment limit) but opens with WRITE-ONCE: do NOT probe this tool... rather than a CONSTRAINTS: or IMPORTANT labeled block, so the keyword check fails even though the limits themselves are present.

Affected Components
  • Files: pkg/workflow/js/safe_outputs_tools.json (add_comment tool description, line ~531)
  • Check: scripts/check-safe-outputs-conformance.sh function check_mce_constraint_disclosure (MCE-001)
<b>Current vs Expected Behavior</b>
Current Behavior

Description text: WRITE-ONCE: do NOT probe this tool with empty or placeholder arguments. If not ready to post a real comment, call noop. ... Input is limited to 524288 characters, 10 mentions, and configured max-links URL occurrences (default: 50). Oversized agent content is automatically replaced by notices to fit the complete 65536-character published comment. ...

Expected Behavior

The description should include a clearly labeled constraints block (containing the literal word CONSTRAINTS or phrasing like IMPORTANT constraint) so agents and tooling can reliably locate the enforcement limits, per Requirement MCE2.

Remediation Steps
  1. Edit the add_comment entry in pkg/workflow/js/safe_outputs_tools.json (line ~531) to add an explicit CONSTRAINTS: prefix (or IMPORTANT constraint: phrasing) ahead of the existing limit disclosures, e.g. prepend CONSTRAINTS: input limited to 524288 characters, 10 mentions, and configured max-links URL occurrences (default: 50); ... while keeping the existing WRITE-ONCE guidance intact.
  2. Keep all currently-passing sub-checks intact (65536 char limit, 10 mention limit, max-links default 50 phrasing) when rewording.
  3. Regenerate/recompile any workflows that embed this tool definition if required by make recompile.
Verification

After remediation, verify the fix by running:

bash scripts/check-safe-outputs-conformance.sh

MCE-001 should pass without errors.

References
  • Safe Outputs Specification: docs/src/content/docs/specs/safe-outputs-specification.md
  • Conformance Checker: scripts/check-safe-outputs-conformance.sh
  • Run: §39729823556
  • Date: 2026-10-22

Generated by ✅ Daily Safe Outputs Conformance Checker · claude · agent · 132.9 AIC · ⌖ 0.552 AIC · ⊞ 5.4K · ◷

  • expires on Oct 22, 2026, 9:54 PM UTC-08:00
Lingua principale
Go
Stelle
5.4k
Fork
596
Merge medio
3h 41m
PR unite (30g)
829

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 github/gh-aw

Tutte le issue di github/gh-aw

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.