Dashboard › craft › Distillation
9008b8c4-d446-4ce5-b9c4-0364516d2a08["6ab0f6e638ab9e20cfe8e6c630f9ec0f","00b98139f8a0ab06953b6b5ae2178a9d"]
Date: Jul 21, 2026
prepare command flow in src/commands/prepare.ts — version computation (auto/calver/explicit), latest tag lookup, release branch creation via releaseBranchPrefix, changelog writing, commit/push, and every call site of getGitTagPrefix/getLatestTag/getVersioningPolicy/getGlobalGitHubConfig; (3) the publish command flow in src/commands/publish.ts — release branch discovery, version resolution, iteration over targets, publish_repo/publish-issue mechanism, target instantiation, and github target's tag/release creation (versionToTag, tagPrefix, isLatestRelease, make_latest); (4) publish_repo/publish issue mechanics — searches for publish_repo, publish, issue creation/accepted label, composite GitHub Action (action.yml/.github), and why a reviewer worried a per-.craft.yml-per-product model could break the publish repo with 2 .craft.yml files vs 1; (5) CLI entry & arg parsing in src/index.ts and yargs builders per command — how a new global --workspace <name> option/positional would be added and how env/config defaults layer; (6) version/tag utilities in src/utils/version.ts, src/utils/git.ts, src/utils/calver.ts, src/utils/changelog.ts, src/utils/autoVersion.ts — every function taking/deriving tagPrefix/latest tag/release branch and what's already prefix-aware after the feat/prefixed-tags work; (7) precedents for grouping — per-target overrides of global config, npm workspaces detection in npm target, an expandWorkspaceTargets function possibly in src/commands/targets.ts, and a full grep for workspace across the repo; (8) tests that would need to change and existing test patterns for config/prepare/publish.workspace-named code; (d) exact publish_repo/publish-issue behavior and concrete risk with multiple .craft.yml files; (e) schema extension points.