fix(host): filename-derived identity as the workflow's single selector (#40) - #42
Merged
Merged
Conversation
#40) The .workflow.ts filename stem is now the installed workflow identity used by completion, /workflow run, run ids, progress, telemetry, and recorded-run recovery. A declared WorkflowDefinition.name is definition metadata for composition and nesting, never a top-level command selector; the host binds the loaded root definition's runtime identity to the filename without touching nested definitions. discoverWorkflows() entries expose identity (stem) separately from name (declared). Completion and run resolution enumerate filenames without importing project modules; a miss no longer scans and evaluates the whole catalog. Existing runs keep their recorded run-started identity across status, resume, and attended reloads. List, picker, and welcome rows show the unique identity, so duplicate declared names no longer need disambiguation. Co-Authored-By: Kimchi <noreply@kimchi.dev>
Kimchi Code ReviewA review is being prepared and will be posted shortly.
What to expectKimchi will analyze the changes in this pull request and post:
The review typically completes within a few minutes. This comment will be updated once the review is ready. Interact with Kimchi
ConfigurationReviews are configured by your organization admin. Powered by Kimchi — AI-powered code review by CAST AI |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The .workflow.ts filename stem is now the installed workflow identity used by completion, /workflow run, run ids, progress, telemetry, and recorded-run recovery. A declared WorkflowDefinition.name is definition metadata for composition and nesting, never a top-level command selector; the host binds the loaded root definition's runtime identity to the filename without touching nested definitions.