#1976·OpenSpec

Requirement length guidance is not exposed to coding agents or enforced by strict validation

Author: alessio-locatelliCreated Sep 25, 2026Updated Sep 25, 2026

Problem

openspec validate --all --strict can report findings such as:

[INFO] requirements[6]: Requirement text is very long (>500 characters). Consider breaking it down.

The validator defines 500 characters as the maximum recommended requirement text length, but this constraint is not clearly communicated to coding agents while they are authoring specs.

As a result, agents can repeatedly generate requirements that trigger this finding.

The finding is also emitted as INFO, so even openspec validate --all --strict exits with status code 0 when these are the only findings. Local validation and CI therefore do not prevent them from accumulating.

Over time, a project can end up with dozens of these findings, at which point splitting the existing requirements becomes a significant cleanup task.

Expected behavior

OpenSpec should help prevent overlong requirements during authoring and provide clear guidance for fixing existing ones.

If the 500-character limit is intended to be enforceable, strict validation should also provide a practical way to use it as a CI quality gate.

Possible solutions

  • Mention the recommended requirement length in the relevant agent skill/instructions so agents can avoid producing overlong requirements in the first place.
  • Document or provide an example of how an existing long requirement should be split without changing its semantics.
  • If exceeding 500 characters is intended to be a strict-validation violation, classify this finding as WARNING rather than INFO, so normal validation remains advisory while --strict fails as expected.