Skip to content

Commit 13edb5b

Browse files
committed
fix naming
1 parent cd3856c commit 13edb5b

13 files changed

Lines changed: 48 additions & 15 deletions

File tree

.claude/agents/dwe_experts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: experts-expert
2+
name: experts
33
description: "DeepWork experts system - creating, organizing, and evolving domain knowledge collections that auto-improve through topics and learnings."
44
---
55

@@ -158,7 +158,7 @@ Returns markdown list with links, summaries, sorted by last_updated.
158158
Running `deepwork sync` generates Claude agents in `.claude/agents/`:
159159

160160
- Filename: `dwe_[expert-name].md`
161-
- Agent name: `[expert-name]-expert`
161+
- Agent name: `[expert-name]`
162162
- Body: full_expertise + dynamic topic/learning lists
163163

164164
The dynamic embedding ensures agents always access current topics and learnings:

.claude/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"permissions": {
3+
"deny": [
4+
"Bash(gh pr merge:*)"
5+
],
36
"allow": [
47
"WebFetch(domain:code.claude.com)",
58
"WebFetch(domain:www.anthropic.com)",

.deepwork/experts/experts/expert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ full_expertise: |
158158
Running `deepwork sync` generates Claude agents in `.claude/agents/`:
159159
160160
- Filename: `dwe_[expert-name].md`
161-
- Agent name: `[expert-name]-expert`
161+
- Agent name: `[expert-name]`
162162
- Body: full_expertise + dynamic topic/learning lists
163163
164164
The dynamic embedding ensures agents always access current topics and learnings:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636
- `deepwork learnings --expert "name"` - Lists learnings as markdown with summarized results
3737
- Expert agent generation during `deepwork sync`:
3838
- Generates Claude agents in `.claude/agents/dwe_[expert-name].md`
39-
- Agent name format: `[expert-name]-expert`
39+
- Agent name format: `[expert-name]`
4040
- Uses dynamic command embedding (`$(deepwork topics ...)`) for always-current content
4141
- Standard "experts" expert shipped with DeepWork documenting the experts system itself
4242
- Includes topics on design patterns and discovery descriptions

doc/experts_requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Returns a Markdown list of learnings:
135135

136136
Agents are created in `.claude/agents/` with:
137137
- **Filename**: `dwe_[expert-name].md` (e.g., `dwe_rails-activejob.md`)
138-
- **name field**: `[expert-name]-expert` (e.g., `rails-activejob-expert`)
138+
- **name field**: `[expert-name]` (e.g., `rails-activejob`)
139139
- **description**: The `discovery_description` from expert.yml
140140

141141
### Agent Body Content

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@
6868
uv venv .venv --quiet
6969
fi
7070
71-
# Sync dependencies (including dev extras like pytest, ruff, mypy)
71+
# Sync dependencies (including dev group: pytest, ruff, mypy)
7272
# Run quietly - uv only outputs when changes are needed
73-
uv sync --all-extras --quiet 2>/dev/null || uv sync --all-extras
73+
uv sync --group dev --quiet 2>/dev/null || uv sync --group dev
7474
7575
# Activate venv by setting environment variables directly
7676
# This works reliably for both interactive shells and `nix develop --command`

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ dev = [
3838
"types-PyYAML",
3939
]
4040

41+
[dependency-groups]
42+
dev = [
43+
"pytest>=7.0",
44+
"pytest-mock>=3.10",
45+
"pytest-cov>=4.0",
46+
"ruff>=0.1.0",
47+
"mypy>=1.0",
48+
"types-PyYAML",
49+
]
50+
4151
[project.scripts]
4252
deepwork = "deepwork.cli.main:cli"
4353

src/deepwork/core/experts_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ def get_agent_name(self, expert_name: str) -> str:
9797
expert_name: Name of the expert (e.g., "rails-activejob")
9898
9999
Returns:
100-
Agent name (e.g., "rails-activejob-expert")
100+
Agent name (e.g., "rails-activejob")
101101
"""
102-
return f"{expert_name}-expert"
102+
return expert_name
103103

104104
def generate_expert_agent(
105105
self,

src/deepwork/standard/experts/experts/expert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ full_expertise: |
158158
Running `deepwork sync` generates Claude agents in `.claude/agents/`:
159159
160160
- Filename: `dwe_[expert-name].md`
161-
- Agent name: `[expert-name]-expert`
161+
- Agent name: `[expert-name]`
162162
- Body: full_expertise + dynamic topic/learning lists
163163
164164
The dynamic embedding ensures agents always access current topics and learnings:

src/deepwork/templates/claude/agent-expert.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Template Variables:
1010
- learnings_count: int - Number of learnings in this expert
1111
#}
1212
---
13-
name: {{ expert_name }}-expert
13+
name: {{ expert_name }}
1414
description: "{{ discovery_description | replace('"', '\\"') | replace('\n', ' ') | truncate(200) }}"
1515
---
1616

0 commit comments

Comments
 (0)