Repository navigation
fix(roadmap): refuse a requirement text over 500 chars - #4614
Conversation
MeasurementsStage eval replay (
Good plans that every gate accepts: 5 of 5, before and after. The gate refuses no good plan. fail-to-pass (
Premise: on the base, Local checks: the eval, gate, plan and requirement-length tests pass (341 passed), the plan-check tests pass (32 passed), |
8144cc4 to
70df44e
Compare
70df44e to
da1573f
Compare
Second roundThe first CI run failed one test in shard 4: Local runs after the fix: the screen tests (31 passed), and the other test files that load the golden set (363 passed, 1 skipped). The replay after each rebase: 58 cases, 82 of 319 judged (26%), exit 0. |
da1573f to
708626e
Compare
check_proposal refuses each ADDED and MODIFIED requirement whose text is longer than REQUIREMENT_MAX_CHARS (500), the limit of the strict OpenSpec validation of a spec. plan-check reports the same problem. The plan of #3462 is a golden case of the stage replay.
708626e to
dbd3d5e
Compare
The stage gates and
plan-checkaccepted a spec requirement text over 500 characters. The implement run then stopped atopenspec archive, becauseopenspec validate --all --strictrefuses it in the merged spec. OpenSpec 1.14.3 checks the length of an ADDED requirement in a change, and not of a MODIFIED one, as in the #3462 plan._length_problems, which_delta_problemscalls, refuses each ADDED and MODIFIED text overREQUIREMENT_MAX_CHARS(500). It counts UTF-16 units, as OpenSpec does. The problem names the requirement, its length and the limit.plan-checkgets it throughcheck_proposal.pathscatches.Closes #4524
Change:
openspec/changes/archive/2026-11-11-4524-plan-gates-miss-a-spec-requirement/