[Safe Outputs Conformance] MCE-001: add_comment tool description lacks explicit CONSTRAINTS/IMPORTANT disclosure wording
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
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
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.shfunctioncheck_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
- Edit the
add_commententry inpkg/workflow/js/safe_outputs_tools.json(line ~531) to add an explicitCONSTRAINTS:prefix (orIMPORTANT constraint:phrasing) ahead of the existing limit disclosures, e.g. prependCONSTRAINTS: input limited to 524288 characters, 10 mentions, and configured max-links URL occurrences (default: 50); ...while keeping the existing WRITE-ONCE guidance intact. - Keep all currently-passing sub-checks intact (65536 char limit, 10 mention limit, max-links default 50 phrasing) when rewording.
- 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
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/gh-aw
-
automation models
Difficoltà 1/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
agent-research
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
automated conformance good-first-issue safe-outputs
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
[Safe Outputs Conformance] SEC-005: Cross-repo target-repo field flagged without allowlist checkApertaautomated conformance safe-outputs security
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di github/gh-aw
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
FiloSottile/age#758 ·
-
nginx configAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 2 giorni
-
fix: the buttons mock cannot take back the match point -- its undo looks only for the running matchApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
stuttgart-things/zaehlwerk#168 ·
I maintainer di solito rispondono entro 1 giorno