Skip to content

docs(openspec): plan #3265 Measure plan groups with one token counter - #3306

Merged
dan-petty merged 1 commit into
mainfrom
fix/3265-the-plan-group-size-measure-differs
Nov 3, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/3265-the-plan-group-size-measure-differs

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3265

The stage and the implement Job measure a task group with different token counts. The stage falls back to a character heuristic when the tiktoken cache is missing, and it counts only the files that already exist, so a group can pass the stage and stop at the Job. This change counts a group with the exact tiktoken encoding in both paths and fails with a clear error when the cache is missing. It adds the estimated size of each created file to the stage measure, and refuses a group that gives no estimate. The staging prompt states the step budget and the estimate rule.

Change: openspec/changes/3265-the-plan-group-size-measure-differs/

@dan-petty
dan-petty force-pushed the fix/3265-the-plan-group-size-measure-differs branch from dd64cf5 to dfdcdbb Compare November 3, 2026 12:56
@dan-petty
dan-petty merged commit e80ae3d into main Nov 3, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/3265-the-plan-group-size-measure-differs branch November 3, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant