Skip to content

feat: show token counts for workflows and artifacts - #75

Merged
harsha09 merged 1 commit into
mainfrom
feat/issue-21-artifact-tokens
Oct 23, 2026
Merged

harsha09 merged 1 commit into
mainfrom
feat/issue-21-artifact-tokens

Conversation

@harsha09

Copy link
Copy Markdown
Owner

Summary

  • sdd workflows prints a cl100k token count for every copied workflow file and for each artifact template.
  • When a change is active, the same command counts that change's artifact files. A missing template prints missing. A file that has not been written prints not written.
  • Dollar cost stays on sdd report and sdd cost.

Part of #21. Issue #25 stays open, so this does not close the epic.

Checks

  • Core vitest: 282 tests passed, including hello world counted as 2 tokens.
  • sdd verify ran pnpm test and recorded exit 0 on the working tree. The stamp is 1c62be3, the commit before this one.
  • Pre-commit tsc --noEmit and biome check passed.

The reading in the change pack is the product manager's proposal. This pull request does not record an acceptance or a QA result.

sdd workflows prints a cl100k count for each workflow file,
each artifact template, and the active change's artifact files.

Part of #21
@harsha09
harsha09 merged commit ed15978 into main Oct 23, 2026
10 checks passed
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