refactor(installer): remove dead task/tool/workflow manifest code#2083
refactor(installer): remove dead task/tool/workflow manifest code#2083
Conversation
…YAML Switch skill discovery gate from requiring bmad-skill-manifest.yaml with type: skill to detecting any directory with a valid SKILL.md (frontmatter name + description, name matches directory name). Delete 34 stub manifests that carried no data beyond type: skill. Agent manifests (9) are retained for persona metadata consumed by agent-manifest.csv.
The remove-skill-manifest-yaml branch deleted the scanners that discover tasks, tools, and workflows but left behind the code that writes their manifest CSVs. Remove collectTasks/Tools/Workflows, writeTaskManifest/ToolManifest/WorkflowManifest, their helpers, and the now-unreachable getPreservedCsvRows/upgradeRowToSchema methods. Update installer pre-registration and test assertions accordingly.
🤖 Augment PR SummarySummary: Refactors the installer’s manifest pipeline to remove legacy workflow/task/tool CSV generation that’s no longer meaningful after the skill-manifest YAML migration. Changes:
Technical Notes: Net effect is a smaller, clearer install footprint—clean installs no longer produce empty workflow/task/tool manifest CSVs, while still generating agent/skill manifests and a hashed 🤖 Was this summary useful? React with 👍 or 👎 |
| await this.writeAgentManifest(cfgDir), | ||
| await this.writeTaskManifest(cfgDir), | ||
| await this.writeToolManifest(cfgDir), | ||
| await this.writeFilesManifest(cfgDir), |
There was a problem hiding this comment.
With the workflow/task/tool collectors removed, this.files now only contains skills/agents; when generateManifests() is called with an empty installedFiles list, files-manifest.csv will omit other installed artifacts (e.g., workflows/**). If installedFiles is meant to be optional, consider whether the fallback path still needs to produce a complete file manifest.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe changes remove support for generating workflow, task, and tool CSV manifests in the installer system. Manifest generation now outputs only skills and agents, with related tests and fixture creation updated accordingly. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
collectTasks(),collectTools(),collectWorkflows()and their helpers (getTasksFromDir,getToolsFromDir,getWorkflowsFromPath) frommanifest-generator.js— these scan for artifacts that no longer exist after the skill-manifest-yaml removalwriteTaskManifest(),writeToolManifest(),writeWorkflowManifest()and the now-unreachablegetPreservedCsvRows()/upgradeRowToSchema()methodsworkflow-manifest.csvandtask-manifest.csvininstaller.jsNet: -659 lines, clean installs no longer produce empty
task-manifest.csv,tool-manifest.csv, orworkflow-manifest.csv.Test plan
npm run qualitypasses (all 227 tests, lint, format, docs build, ref validation, skill validation)task-manifest.csv,tool-manifest.csv, orworkflow-manifest.csvoutside the deleted code