-
Notifications
You must be signed in to change notification settings - Fork 0
Merge jobs into experts workflows #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
nhorton
wants to merge
13
commits into
main
Choose a base branch
from
total_shift
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
Add specification for the experts system - auto-improving collections of domain knowledge that get exposed as Claude agents. - Add doc/experts_requirements.md with full specification: - Directory structure (.deepwork/experts/[name]/) - File formats (expert.yml, topics/*.md, learnings/*.md) - CLI commands (deepwork topics, deepwork learnings) - Sync behavior (generates agents in .claude/agents/) - Add initial "experts" standard expert in src/deepwork/standard/experts/: - Meta-expert for the experts system itself - Topics on design patterns and discovery descriptions - Update doc/architecture.md: - Add src/deepwork/standard/ directory to structure diagram - Add "Experts (Planned)" section Co-Authored-By: Claude Opus 4.5 <[email protected]>
Remove "(Planned)" from section heading and update status to reflect that the experts system implementation is now complete. Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add `agent: deepwork-jobs` to all 4 steps in deepwork_jobs job.yml - Remove misleading "Prerequisites" documentation from step files - Create new step_delegation.md topic explaining how to use expert delegation - Update job_yml_schema.md with "Agent Delegation" section - Key insight: "This is how you make a step 'run via' an expert" The deepwork_jobs steps now properly delegate to the deepwork-jobs expert, giving them access to job schema knowledge, best practices, and learnings. Co-Authored-By: Claude Opus 4.5 <[email protected]>
- Add new review_pr job with 3 steps: check_relevance, deep_review, improve_and_rereview - Use inline bash completion $(gh pr diff) for efficient token usage in expert prompts - Experts focus only on their domain expertise for specialized feedback - Iterative improvement cycles until all experts approve or 3 max iterations - Add learnings: domain focus in expert prompts, efficiency improvements - Code cleanup: remove redundant try/except and unused context variables - Include PR review output files from workflow execution Co-Authored-By: Claude Opus 4.5 <[email protected]>
Jobs are now workflows inside experts. Each expert is a complete package: expertise + topics + learnings + workflows. Changes: - deepwork_jobs expert merged into experts expert (new_workflow, learn, review_pr) - deepwork_rules job became deepwork-rules expert with define workflow - Schema renamed: job_schema.py → workflow_schema.py - Templates renamed: skill-job-*.jinja → skill-workflow-*.jinja - Added path traversal protection for script/prompt_file paths - Fixed potential IndexError in hooks_syncer BREAKING: Skill naming changed to use expert name: - /deepwork-jobs.define → /experts.define - /review_pr.* → /experts.review_pr, /experts.deep_review, etc. - /deepwork-rules.define (unchanged structure, new expert) Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.
Summary
deepwork_jobsexpert - merged intoexpertsexpertreview_prworkflow for expert-driven PR reviewsTest plan
deepwork installcreates correct skills/experts.new_workflowworks for creating new workflows/experts.review_prworks for PR review🤖 Generated with Claude Code