[Safe Outputs Conformance] MCE-001: add_comment tool description missing required CONSTRAINTS/IMPORTANT disclosure keyword
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Aptitud para principiantes
- 78/100
Línea de trabajo
Abre pkg/workflow/js/safe_outputs_tools.json y localiza la descripción de la herramienta add_comment. Comprueba si este archivo se genera a partir de otra fuente y, después, añade la divulgación de las restricciones requerida, preservando los límites indicados. Ejecuta bash scripts/check-safe-outputs-conformance.sh; estará hecho cuando MCE-001 pase.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Conformance Check Failure
Check ID: MCE-001
Severity: MEDIUM
Category: Specification (Section 8.3 MCE2 - Tool Description Constraint Disclosure)
Problem Description
Spec Section 8.3 MCE2 requires that tool descriptions surfacing enforced constraints make that disclosure unambiguous, using a recognizable marker (CONSTRAINTS, or IMPORTANT ... constraint, or validation constraint). The add_comment tool description in pkg/workflow/js/safe_outputs_tools.json already states all three numeric limits (524288/65536 character limits, 10 mentions, configured max-links default 50) in prose, but does not contain any of the required marker keywords, so an automated or quick-scanning consumer of the tool description cannot reliably detect that these are hard-enforced constraints versus descriptive text.
Affected Components
- Files:
pkg/workflow/js/safe_outputs_tools.json(theadd_commenttool entry, line ~531)
🔍 Current vs Expected Behavior
Current Behavior
Current description (relevant excerpt):
\"...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...\"
This correctly lists the limits but never uses the word CONSTRAINTS or an IMPORTANT ...constraint / validation constraint phrase, so the checker (and a human skimming many tool descriptions) cannot pattern-match it as an explicit constraint-disclosure block.
Expected Behavior
Per spec Section 8.3 MCE2, the description should clearly flag the limits as enforced constraints, e.g. by prefixing the limits sentence with CONSTRAINTS: so it reads something like:
\"...CONSTRAINTS: input is limited to 524288 characters, 10 mentions, and configured max-links URL occurrences (default: 50)...\"
Remediation Steps
This task can be assigned to a Copilot coding agent with the following steps:
- Open
pkg/workflow/js/safe_outputs_tools.jsonand locate theadd_commenttool entry. - Edit the
descriptionfield to prefix the constraint-limits sentence withCONSTRAINTS:(or otherwise insert the literal wordCONSTRAINTSadjacent to the limits), without changing the actual documented limit values (524288, 65536, 10 mentions, max-links default 50) or any other wording/behavior. - If
pkg/workflow/js/safe_outputs_tools.jsonis generated/synced from another source (check for a generator script), apply the same edit at the source of truth so it round-trips correctly, and regenerate. - Run
make fmtif any Go-side generation templates were touched.
Verification
After remediation, verify the fix by running:
bash scripts/check-safe-outputs-conformance.sh
The check MCE-001 should pass without errors.
References
- Safe Outputs Specification: docs/src/content/docs/specs/safe-outputs-specification.md (Section 8.3 MCE2)
- Conformance Checker: scripts/check-safe-outputs-conformance.sh
- Run ID: 39907463914
- Date: 2026-10-23
Generated by ✅ Daily Safe Outputs Conformance Checker · claude · agent · ~67 AIC · ⌖ ~1 AIC · ⊞ 5.4K · ◷
- expires on Oct 23, 2026, 9:51 PM UTC-08:00
- Lenguaje dominante
- Go
- Estrellas
- 5.4k
- Forks
- 596
- Merge medio
- 3 h 40 min
- PR fusionados (30 d)
- 830
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/gh-aw
-
automation models
Dificultad 1/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
automated-analysis code-quality cookie testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
automated conformance safe-outputs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
wgdonenotdeferred: parenthesized Done() statement escapes non-deferred detection (paren_unwrap_gap)Abiertocookie sergo
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
cookie eslint
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
Todos los issues de github/gh-aw
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
keyxmakerx/Chronicle#1721 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Gentleman-Programming/gentle-ai#5720 ·
Los mantenedores suelen responder en 1 día
-
compress: block buffers get re-zeroed on every call, and the zeroing is immediately overwrittenAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ClickHouse/ch-go#1218 ·
Los mantenedores suelen responder en 13 días
-
effort:s impact:low raised-by:reviewer risk:low
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
medici-finance/assay#4251 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
stripCodeFence unti testsAbierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Edwin-metcalf/MetCode#30 ·
Los mantenedores suelen responder en 1 día