Surgically rebase metacommand changes onto main#65
Merged
Conversation
This commit adds a meta-command system to DeepWork that provides: 1. Meta-commands: Job-level entry points (e.g., /job_name) that route user intent to the appropriate step 2. Hidden step commands: Step commands now use uw. prefix by default to indicate they are internal/hidden from the main command list 3. Exposed steps: Steps can opt into visibility with `exposed: true` 4. Quality criteria: Declarative quality criteria on steps rendered with standard evaluation framing in stop hooks Key changes: - Added `exposed` and `quality_criteria` fields to Step schema/parser - Added get_meta_command_filename() and updated get_step_command_filename() with exposed parameter in adapters - Added generate_meta_command() and updated generate_all_commands() in generator to create meta-commands first, then hidden step commands - Added new meta-command templates for Claude and Gemini - Updated step templates to support quality_criteria - Updated deepwork_jobs standard job to use exposed: true on learn step and declarative quality_criteria instead of hooks - Added exposed_step_job test fixture - Updated all tests to account for new file naming scheme Generated files updated via `deepwork install`.
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.
This commit adds a meta-command system to DeepWork that provides:
exposed: trueKey changes:
exposedandquality_criteriafields to Step schema/parserGenerated files updated via
deepwork install.