Skip to content

fix(host): filename-derived identity as the workflow's single selector (#40) - #42

Merged
pmateusz merged 1 commit into
masterfrom
fix/workflow-filename-identity
Aug 25, 2026
Merged

fix(host): filename-derived identity as the workflow's single selector (#40)#42
pmateusz merged 1 commit into
masterfrom
fix/workflow-filename-identity

Conversation

@pmateusz

Copy link
Copy Markdown
Collaborator

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.

#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-review

kimchi-review Bot commented Aug 24, 2026

Copy link
Copy Markdown

Kimchi Code Review

A review is being prepared and will be posted shortly.

Property Value
Commit 418f171
Author @pmateusz
Files changed 31
Review status Pending
What to expect

Kimchi will analyze the changes in this pull request and post:

  • A summary of the overall changes
  • Inline comments on specific lines with findings categorized by issue type

The review typically completes within a few minutes. This comment will be updated once the review is ready.

Interact with Kimchi
  • @getkimchi review — re-trigger a full review on the latest commit
  • @getkimchi summary — regenerate the PR summary
  • @getkimchi ignore — skip this PR (no review will be posted)
  • Reply to any inline comment to ask follow-up questions or request clarification
Configuration

Reviews are configured by your organization admin.
Review instructions, excluded directories, and severity thresholds can be adjusted per repository in the Kimchi dashboard.


Powered by Kimchi — AI-powered code review by CAST AI

@pmateusz
pmateusz merged commit ae1656c into master Aug 25, 2026
4 checks passed
@pmateusz pmateusz linked an issue Aug 25, 2026 that may be closed by this pull request
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.

worfklow run command autosuggests file names instead of slugs

1 participant