Skip to content

Commit db4b80f

Browse files
Bordaclaude
andcommitted
feat(foundry): add creator agent and create skill; rename self-mentor → curator
- rename foundry:self-mentor agent to foundry:curator across all files (agent file, audit template, codex mirror, 23+ cross-ref files) - add foundry:creator agent for scaffolding new agent definitions via /create skill - add foundry:create skill with full workflow for new-agent scaffolding - add brainstorm tree-viewer.html live visualization script --- Co-authored-by: Claude Code <noreply@anthropic.com>
1 parent 0ae0f4e commit db4b80f

35 files changed

Lines changed: 535 additions & 189 deletions

.claude/README.md

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.

.claude/permissions-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ These entries pre-authorize `Read`, `Glob`, `Grep`, and `Write` on directories t
8989
| Permission | Description | Typical use case |
9090
| ----------------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
9191
| `Read(.claude/*.md)` | Read top-level `.claude/` markdown files | Agents read CLAUDE.md, permissions-guide.md, and TEAM_PROTOCOL.md at spawn |
92-
| `Read(.claude/**/*.md)` | Read any nested `.claude/` markdown file | Agents and skills read their own agent/skill/rule files; self-mentor reads config files for audit |
92+
| `Read(.claude/**/*.md)` | Read any nested `.claude/` markdown file | Agents and skills read their own agent/skill/rule files; curator reads config files for audit |
9393
| `Read(.claude/logs/**)` | Read log files under `.claude/logs/` | `/calibrate` reads calibrations.jsonl for historical context; `/audit` reads audit-errors.jsonl |
9494
| `Edit(.claude/logs/**)` | Edit log files under `.claude/logs/` | Skills append to calibrations.jsonl and audit-errors.jsonl without Bash redirection |
9595
| `Read(./**)` | Read any file in the project root | Teammates read `TEAM_PROTOCOL.md` and agent files at spawn; skills read their own SKILL.md files |
@@ -143,7 +143,7 @@ ______________________________________________________________________
143143
| `Bash(mkdir -p .plans/closed/)` | Create `.plans/closed/` directory | Plans are moved here when completed |
144144
| `Bash(mkdir -p .reports/calibrate/*)` | Create `.reports/calibrate/` skill run subdirs | `/calibrate` creates a timestamped run dir before spawning pipeline agents |
145145
| `Bash(mkdir -p .reports/resolve/*)` | Create `.reports/resolve/` skill run subdirs | `/resolve` creates a run dir for lint+QA gate artifacts |
146-
| `Bash(mkdir -p .reports/audit/*)` | Create `.reports/audit/` skill run subdirs | `/audit` creates a timestamped run dir before spawning self-mentor agents |
146+
| `Bash(mkdir -p .reports/audit/*)` | Create `.reports/audit/` skill run subdirs | `/audit` creates a timestamped run dir before spawning curator agents |
147147
| `Bash(mkdir -p .reports/review/*)` | Create `.reports/review/` skill run subdirs | `/oss:review` creates a run dir for multi-agent review artifacts |
148148
| `Bash(mkdir -p .reports/analyse/*)` | Create `.reports/analyse/` skill run subdirs | `/analyse` creates subdirs for thread, ecosystem, and health modes |
149149
| `Bash(mkdir -p .experiments/*)` | Create `.experiments/` skill run subdirs | `/optimize` creates a run dir for run mode artifacts |

.codex/AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ Parent agent responsibilities:
137137
- `oss-shepherd`: issue triage, maintainer review, SemVer and release governance
138138
- `solution-architect`: architecture planning, API contracts, migration design
139139
- `web-explorer`: authoritative external docs/changelogs/API delta research
140-
- `self-mentor`: configuration drift, instruction overlap, calibration/gate hygiene
140+
- `curator`: configuration drift, instruction overlap, calibration/gate hygiene
141141

142142
### Collaboration team patterns
143143

144144
- Architecture/public API changes: `solution-architect` + `sw-engineer` + `qa-specialist` + `doc-scribe`
145145
- Security-sensitive features: `security-auditor` + `sw-engineer` + `qa-specialist`
146146
- Data pipeline changes: `data-steward` + `sw-engineer` + `qa-specialist`
147-
- Toolchain/CI quality changes: `ci-guardian` + `linting-expert` + `self-mentor`
147+
- Toolchain/CI quality changes: `ci-guardian` + `linting-expert` + `curator`
148148
- External migration/release-note driven changes: `web-explorer` + `solution-architect` + `sw-engineer`
149149
- Release readiness: `oss-shepherd` + `ci-guardian` + `doc-scribe` + `qa-specialist`
150150

@@ -237,7 +237,7 @@ Parent agent responsibilities:
237237
- Exact references and source-backed evidence are required for decisions
238238
- Volatile ecosystem/tooling behavior could invalidate cached assumptions
239239

240-
### Spawn `self-mentor` when:
240+
### Spawn `curator` when:
241241

242242
- Config/skill/agent drift or duplication is suspected
243243
- Routing quality, calibration leakage, or weak gate coverage is reported

.codex/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ All agents are standardized on `gpt-5.4-mini`. Differentiation is via reasoning
6666
| **oss-shepherd** | high | Issue triage, PR review, SemVer, pyDeprecate, release checklist |
6767
| **solution-architect** | high | System design, ADRs, API compatibility, migration planning |
6868
| **web-explorer** | medium | External docs/release-note extraction and evidence gathering |
69-
| **self-mentor** | medium | Config quality checks, drift/leak detection, workflow hygiene |
69+
| **curator** | medium | Config quality checks, drift/leak detection, workflow hygiene |
7070

7171
### Spawn rules
7272

@@ -102,7 +102,7 @@ Reasoning allocation:
102102
| ---------- | --------------------------------------------------------------------- | ------------------------------------------------------ |
103103
| **xhigh** | qa-specialist, security-auditor | Adversarial: exhaustive search for what could go wrong |
104104
| **high** | sw-engineer, squeezer, data-steward, oss-shepherd, solution-architect | Analytical: depth without unbounded budget |
105-
| **medium** | doc-scribe, ci-guardian, linting-expert, web-explorer, self-mentor | Writing/config/research balance |
105+
| **medium** | doc-scribe, ci-guardian, linting-expert, web-explorer, curator | Writing/config/research balance |
106106

107107
### Profiles
108108

@@ -153,7 +153,7 @@ Agent targeting examples:
153153
```text
154154
use the qa-specialist to review tests/ for missing edge cases
155155
use the solution-architect to produce a minimal migration plan for this API change
156-
use the self-mentor to review .codex drift and weak gates
156+
use the curator to review .codex drift and weak gates
157157
```
158158

159159
## 🪙 RTK Integration
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name = "self-mentor"
1+
name = "curator"
22
model = "gpt-5.4-mini"
33
model_reasoning_effort = "xhigh"
44
model_reasoning_summary = "detailed"
55
approval_policy = "on-request"
66
sandbox_mode = "workspace-write"
77

88
developer_instructions = """
9-
You are the Self Mentor subagent for Borda Codex config quality.
9+
You are the Curator subagent for Borda Codex config quality.
1010
Philosophy: "Keep instructions lean, current, and consistent."
1111
1212
## Scope

.codex/calibration/benchmarks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"agents": {
3-
"self-mentor": [
3+
"curator": [
44
"Review Checklist",
55
"calibration coverage"
66
],

.codex/calibration/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ HOME_CFG="$HOME/.codex/config.toml"
1111
TASKS="$ROOT/.codex/calibration/tasks.json"
1212
BENCHMARKS="$ROOT/.codex/calibration/benchmarks.json"
1313
SKILLS=(review develop resolve audit calibrate release investigate sync manage analyse optimize research)
14-
AGENTS=(sw-engineer qa-specialist squeezer doc-scribe security-auditor data-steward ci-guardian linting-expert oss-shepherd solution-architect web-explorer self-mentor)
14+
AGENTS=(sw-engineer qa-specialist squeezer doc-scribe security-auditor data-steward ci-guardian linting-expert oss-shepherd solution-architect web-explorer curator)
1515

1616
LEAKS=0
1717
FAILS=0

.codex/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ config_file = "agents/solution-architect.toml"
148148
description = "Web and external-doc research: package versions, changelogs, migration guides, release notes, API reference extraction."
149149
config_file = "agents/web-explorer.toml"
150150

151-
[agents.self-mentor]
151+
[agents.curator]
152152
description = "Configuration quality reviewer: detect duplication, drift, stale references, weak gates, and instruction hygiene issues."
153-
config_file = "agents/self-mentor.toml"
153+
config_file = "agents/curator.toml"

0 commit comments

Comments
 (0)