specdojo 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/README.md +77 -18
- package/dist/{catalog-build-references.js → catalog/build-references.js} +4 -4
- package/dist/catalog/build-render.js +32 -0
- package/dist/{catalog-build.js → catalog/build.js} +9 -9
- package/dist/{catalog.js → catalog/catalog.js} +10 -10
- package/dist/{catalog-generate.js → catalog/generate.js} +8 -8
- package/dist/catalog/paths.js +1 -0
- package/dist/{catalog-plan-generate.js → catalog/plan-generate.js} +4 -4
- package/dist/{catalog-plan.js → catalog/plan.js} +4 -4
- package/dist/{catalog-scaffold.js → catalog/scaffold.js} +3 -3
- package/dist/{agent.js → commands/agent.js} +11 -11
- package/dist/{build-command.js → commands/build.js} +2 -2
- package/dist/{init-command.js → commands/init.js} +98 -32
- package/dist/{orchestrator.js → commands/orchestrator.js} +2 -2
- package/dist/{watch.js → commands/watch.js} +3 -3
- package/dist/{dashboard-timeline.js → dashboard/dashboard-timeline.js} +2 -2
- package/dist/{dashboard.js → dashboard/dashboard.js} +11 -10
- package/dist/{dashboard-exec-records.js → dashboard/exec-records.js} +2 -2
- package/dist/{dashboard-routines.js → dashboard/routines.js} +6 -5
- package/dist/{dashboard-shared.js → dashboard/shared.js} +1 -1
- package/dist/{timeline-build.js → dashboard/timeline-build.js} +2 -1
- package/dist/{timeline.js → dashboard/timeline.js} +1 -1
- package/dist/{deliverable.js → deliverable/deliverable.js} +5 -5
- package/dist/{deliverable-trash.js → deliverable/trash.js} +5 -5
- package/dist/{devcontainer-command.js → devcontainer/command.js} +5 -3
- package/dist/{devcontainer-scaffold.js → devcontainer/scaffold.js} +94 -2
- package/dist/{doc-index.js → docs/doc-index.js} +1 -1
- package/dist/{frontmatter-namespace.js → docs/frontmatter-namespace.js} +1 -1
- package/dist/{index-command.js → docs/index-command.js} +1 -1
- package/dist/docs/template-resolution.js +1 -0
- package/dist/{viewpoint-document-kinds-check.js → docs/viewpoint-document-kinds-check.js} +1 -1
- package/dist/{yaml-pages-command.js → docs/yaml-pages-command.js} +1 -1
- package/dist/{yaml-pages.js → docs/yaml-pages.js} +2 -2
- package/dist/{exec-agent-config.js → exec/agent-config.js} +33 -4
- package/dist/{exec-agent-git-state.js → exec/agent-git-state.js} +1 -1
- package/dist/{exec-agent-protected-config.js → exec/agent-protected-config.js} +1 -1
- package/dist/{exec-commands.js → exec/commands.js} +22 -18
- package/dist/{exec-core.js → exec/core.js} +11 -11
- package/dist/{exec-events.js → exec/events.js} +2 -2
- package/dist/{exec-evidence.js → exec/evidence.js} +11 -6
- package/dist/exec/exec.js +2 -0
- package/dist/exec/format.js +1 -0
- package/dist/{exec-handoff.js → exec/handoff.js} +13 -12
- package/dist/{exec-limit.js → exec/limit.js} +93 -12
- package/dist/{exec-parent-validation.js → exec/parent-validation.js} +4 -4
- package/dist/{exec-pipeline-state.js → exec/pipeline-state.js} +16 -2
- package/dist/{exec-plans-core.js → exec/plans-core.js} +68 -114
- package/dist/{exec-plans-generation.js → exec/plans-generation.js} +53 -10
- package/dist/{exec-plans-storage.js → exec/plans-storage.js} +5 -5
- package/dist/{exec-plans.js → exec/plans.js} +3 -3
- package/dist/{exec-project.js → exec/project.js} +1 -1
- package/dist/{exec-protection-handoff.js → exec/protection-handoff.js} +3 -3
- package/dist/{exec-register-resume.js → exec/register-resume.js} +2 -2
- package/dist/{exec-register.js → exec/register.js} +92 -9
- package/dist/{exec-repo-integration-git.js → exec/repo-integration-git.js} +2 -2
- package/dist/{exec-repo-integration-sync.js → exec/repo-integration-sync.js} +4 -4
- package/dist/{exec-repo-integration.js → exec/repo-integration.js} +13 -10
- package/dist/{exec-repo-trace.js → exec/repo-trace.js} +3 -3
- package/dist/{exec-reporter-output.js → exec/reporter-output.js} +2 -2
- package/dist/{exec-reporter.js → exec/reporter.js} +29 -12
- package/dist/{exec-results.js → exec/results.js} +256 -22
- package/dist/{exec-run-agent-pipeline.js → exec/run/agent-pipeline.js} +32 -12
- package/dist/{exec-run-agent.js → exec/run/agent.js} +79 -27
- package/dist/{exec-run-in-place.js → exec/run/in-place.js} +56 -27
- package/dist/{exec-run-job.js → exec/run/job.js} +64 -35
- package/dist/{exec-run-lifecycle-commands.js → exec/run/lifecycle-commands.js} +30 -22
- package/dist/{exec-run-lock.js → exec/run/lock.js} +4 -3
- package/dist/{exec-run-mode-shared.js → exec/run/mode-shared.js} +3 -3
- package/dist/{exec-run-register-command.js → exec/run/register-command.js} +18 -10
- package/dist/{exec-run-register-core.js → exec/run/register-core.js} +46 -21
- package/dist/{exec-run-register-mode.js → exec/run/register-mode.js} +20 -16
- package/dist/{exec-run-register-resume.js → exec/run/register-resume.js} +22 -17
- package/dist/{exec-run-register-state.js → exec/run/register-state.js} +13 -10
- package/dist/{exec-run-register-worktree.js → exec/run/register-worktree.js} +54 -23
- package/dist/{exec-run.js → exec/run/run.js} +11 -11
- package/dist/{exec-run-schedule-mode.js → exec/run/schedule-mode.js} +17 -17
- package/dist/{exec-run-schedule-prepare.js → exec/run/schedule-prepare.js} +31 -18
- package/dist/{exec-run-schedule-task.js → exec/run/schedule-task.js} +45 -18
- package/dist/{exec-run-shared.js → exec/run/shared.js} +61 -11
- package/dist/{exec-schedule-calendar.js → exec/schedule/calendar.js} +1 -1
- package/dist/{exec-schedule-cpm.js → exec/schedule/cpm.js} +2 -2
- package/dist/{exec-schedule-gantt-chart-render.js → exec/schedule/gantt-chart-render.js} +2 -2
- package/dist/exec/schedule/gantt-chart.js +2 -0
- package/dist/{exec-schedule-hash.js → exec/schedule/hash.js} +2 -2
- package/dist/exec/schedule/index.js +1 -0
- package/dist/{exec-schedule-initial.js → exec/schedule/initial.js} +2 -2
- package/dist/{exec-schedule-progress.js → exec/schedule/progress.js} +2 -2
- package/dist/{exec-schedule-ready.js → exec/schedule/ready.js} +2 -2
- package/dist/{exec-schedule.js → exec/schedule/schedule.js} +11 -11
- package/dist/exec/shared.js +63 -0
- package/dist/exec/slot-lock.js +1 -0
- package/dist/{exec-strategy.js → exec/strategy.js} +2 -2
- package/dist/{exec-task-repos.js → exec/task-repos.js} +2 -2
- package/dist/{exec-task-view.js → exec/task-view.js} +4 -4
- package/dist/{exec-trial-commands.js → exec/trial-commands.js} +20 -22
- package/dist/{exec-trial-core.js → exec/trial-core.js} +6 -6
- package/dist/{exec-trial.js → exec/trial.js} +2 -2
- package/dist/{exec-worktree-command.js → exec/worktree-command.js} +25 -23
- package/dist/{exec-worktree-ops-commit.js → exec/worktree-ops-commit.js} +25 -60
- package/dist/{exec-worktree-ops-lifecycle.js → exec/worktree-ops-lifecycle.js} +13 -8
- package/dist/{exec-worktree-ops-merge.js → exec/worktree-ops-merge.js} +48 -7
- package/dist/{exec-worktree-ops.js → exec/worktree-ops.js} +3 -3
- package/dist/exec/worktree.js +305 -0
- package/dist/{grade-apply.js → grade/apply.js} +9 -9
- package/dist/{grade-command-apply.js → grade/command-apply.js} +7 -7
- package/dist/{grade-command-inspect.js → grade/command-inspect.js} +6 -6
- package/dist/{grade-command-plan.js → grade/command-plan.js} +5 -5
- package/dist/{grade-core.js → grade/core.js} +3 -3
- package/dist/grade/grade.js +19 -0
- package/dist/{grade-markdown.js → grade/markdown.js} +6 -6
- package/dist/{grade-pipeline-state.js → grade/pipeline-state.js} +4 -4
- package/dist/{grade-plan.js → grade/plan.js} +5 -5
- package/dist/{grade-result.js → grade/result.js} +5 -94
- package/dist/{grade-target-discovery.js → grade/target-discovery.js} +7 -7
- package/dist/{grade-targets.js → grade/targets.js} +11 -8
- package/dist/{job-definition.js → job/definition.js} +25 -6
- package/dist/{job.js → job/job.js} +12 -11
- package/dist/{kata-command.js → kata/command.js} +3 -3
- package/dist/{kata.js → kata/kata.js} +5 -5
- package/dist/register/approach.js +134 -0
- package/dist/{register-core.js → register/core.js} +13 -7
- package/dist/{register-create-commands.js → register/create-commands.js} +115 -8
- package/dist/{register-date.js → register/date.js} +1 -1
- package/dist/register/derivation.js +163 -0
- package/dist/{register-event-merge.js → register/event-merge.js} +32 -3
- package/dist/{register-events.js → register/events.js} +9 -3
- package/dist/{register-history.js → register/history.js} +7 -6
- package/dist/{register-item.js → register/item.js} +23 -5
- package/dist/register/lifecycle-lock.js +5 -0
- package/dist/{register-maintenance-commands.js → register/maintenance-commands.js} +13 -7
- package/dist/{register-migrate-timestamps.js → register/migrate-timestamps.js} +3 -3
- package/dist/{register-migration.js → register/migration.js} +4 -4
- package/dist/{register.js → register/register.js} +32 -27
- package/dist/{register-renumber.js → register/renumber.js} +38 -11
- package/dist/{register-transition-commands.js → register/transition-commands.js} +3 -3
- package/dist/{register-update.js → register/update.js} +5 -5
- package/dist/{register-views.js → register/views.js} +47 -7
- package/dist/{review-grade.js → review/grade.js} +2 -2
- package/dist/{review-plan.js → review/plan.js} +3 -3
- package/dist/{routine-definition.js → routine/definition.js} +2 -2
- package/dist/{routine.js → routine/routine.js} +49 -22
- package/dist/{schedule-approach.js → schedule/approach.js} +8 -8
- package/dist/{schedule-build.js → schedule/build.js} +7 -4
- package/dist/{schedule.js → schedule/schedule.js} +6 -6
- package/dist/{schedule-strategy-generate-document.js → schedule/strategy-generate-document.js} +2 -2
- package/dist/{schedule-strategy-generate-scope.js → schedule/strategy-generate-scope.js} +4 -4
- package/dist/{schedule-strategy-generate.js → schedule/strategy-generate.js} +10 -10
- package/dist/shared/agent-types.js +23 -0
- package/dist/shared/artifact-path.js +9 -0
- package/dist/{build-if-stale.js → shared/build-if-stale.js} +1 -1
- package/dist/{catalog-build-render.js → shared/catalog-render.js} +3 -32
- package/dist/{exec-slot-lock.js → shared/cross-process-lock.js} +3 -1
- package/dist/shared/fs.js +30 -0
- package/dist/{exec-worktree.js → shared/git.js} +83 -241
- package/dist/shared/grade-result.js +94 -0
- package/dist/{package-paths.js → shared/package-paths.js} +3 -3
- package/dist/shared/plan-templates.js +114 -0
- package/dist/{exec-provider-scaffold.js → shared/provider-scaffold.js} +3 -1
- package/dist/shared/random.js +4 -0
- package/dist/{exec-schedule-index.js → shared/schedule-index.js} +3 -1
- package/dist/shared/schedule-paths.js +9 -0
- package/dist/{specdojo-config.js → shared/specdojo-config.js} +93 -5
- package/dist/{exec-shared.js → shared/text.js} +0 -134
- package/dist/shared/time.js +28 -0
- package/dist/specdojo.js +22 -22
- package/docs/ja/specdojo/exec-templates/xep-common-conventions-template.md +29 -17
- package/docs/ja/specdojo/exec-templates/xep-register-investigate-template.md +1 -2
- package/docs/ja/specdojo/exec-templates/xep-register-template.md +1 -2
- package/docs/ja/specdojo/exec-templates/xer-template.md +1 -3
- package/docs/ja/specdojo/exec-templates/xrp-job-template.md +6 -4
- package/docs/ja/specdojo/guides/exec-config-guide.md +91 -16
- package/docs/ja/specdojo/guides/exec-operation-guide.md +145 -12
- package/docs/ja/specdojo/guides/exec-worktree-guide.md +2 -0
- package/docs/ja/specdojo/guides/orchestrator-operation-guide.md +31 -0
- package/docs/ja/specdojo/guides/quick-start-guide.md +81 -16
- package/docs/ja/specdojo/guides/register-operation-guide.md +2 -1
- package/docs/ja/specdojo/guides/remote-host-development-guide.md +10 -1
- package/docs/ja/specdojo/guides/review-guide.md +1 -1
- package/docs/ja/specdojo/guides/routine-operation-guide.md +5 -5
- package/docs/ja/specdojo/guides/use-case-guide.md +1 -1
- package/docs/ja/specdojo/references/command-reference.md +52 -28
- package/docs/ja/specdojo/rulebooks/pjr-rulebook.md +17 -11
- package/docs/ja/specdojo/standards/job-definition-standard.md +20 -18
- package/docs/ja/specdojo/standards/rulebook-authoring-standard.md +2 -2
- package/docs/ja/specdojo/templates/pjr-derived-items-template.md +22 -0
- package/docs/ja/specdojo/templates/pjr-index-template.md +1 -0
- package/docs/specdojo/schemas/v1/agent-members.schema.yaml +29 -2
- package/docs/specdojo/schemas/v1/exec-defaults.schema.yaml +20 -0
- package/docs/specdojo/schemas/v1/exec-evidence.schema.yaml +23 -0
- package/docs/specdojo/schemas/v1/job-run.schema.yaml +2 -2
- package/docs/specdojo/schemas/v1/job.schema.yaml +7 -0
- package/docs/specdojo/schemas/v1/pipeline-state.schema.yaml +26 -0
- package/docs/specdojo/schemas/v1/register-events.schema.yaml +3 -0
- package/docs/specdojo/schemas/v1/register-item-frontmatter.schema.yaml +70 -7
- package/docs/specdojo/schemas/v1/routine-run.schema.yaml +1 -1
- package/docs/specdojo/schemas/v1/specdojo-config.schema.yaml +1 -1
- package/package.json +1 -1
- package/templates/antigravity/README.md +5 -1
- package/templates/antigravity/agent-members-snippet.yaml +108 -12
- package/templates/antigravity/exec-defaults-snippet.yaml +8 -13
- package/templates/claude/README.md +27 -3
- package/templates/claude/agents/claude-executor.md +0 -1
- package/templates/claude/agents/claude-reporter.md +2 -1
- package/templates/claude/agents/claude-review-executor.md +0 -1
- package/templates/codex/README.md +23 -4
- package/templates/devcontainer/devcontainer.json +2 -2
- package/templates/devcontainer/remote-host/specdojo-tmux.sh.sample +69 -0
- package/templates/devcontainer/remote-host/ssh-config.sample +16 -0
- package/templates/init-agent-members.yaml +75 -25
- package/templates/init-exec-defaults.yaml +24 -8
- package/templates/opencode/README.md +17 -3
- package/templates/opencode/agents/opencode-executor.md +0 -1
- package/templates/opencode/agents/opencode-reporter.md +2 -1
- package/templates/opencode/agents/opencode-review-executor.md +0 -1
- package/dist/exec-schedule-gantt-chart.js +0 -2
- package/dist/exec.js +0 -2
- package/dist/grade.js +0 -19
- package/templates/claude/agents/claude-expert-review-executor.md +0 -14
- /package/dist/{catalog-plan-prompt.js → catalog/plan-prompt.js} +0 -0
- /package/dist/{catalog-types.js → catalog/types.js} +0 -0
- /package/dist/{template-frontmatter.js → docs/template-frontmatter.js} +0 -0
- /package/dist/{role-types.js → exec/role-types.js} +0 -0
- /package/dist/{exec-schedule-gantt-chart-scope.js → exec/schedule/gantt-chart-scope.js} +0 -0
- /package/dist/{exec-types.js → exec/types.js} +0 -0
- /package/dist/{grade-command-shared.js → grade/command-shared.js} +0 -0
- /package/dist/{register-command-types.js → register/command-types.js} +0 -0
- /package/dist/{review-types.js → review/types.js} +0 -0
- /package/dist/{schedule-phase-sets.js → schedule/phase-sets.js} +0 -0
- /package/dist/{schedule-strategy-profiles.js → schedule/strategy-profiles.js} +0 -0
- /package/dist/{agent-response.js → shared/agent-response.js} +0 -0
- /package/dist/{catalog-paths.js → shared/catalog-paths.js} +0 -0
- /package/dist/{dist-freshness.js → shared/dist-freshness.js} +0 -0
- /package/dist/{git-environment.js → shared/git-environment.js} +0 -0
- /package/dist/{exec-format.js → shared/markdown-format.js} +0 -0
- /package/dist/{practice-id.js → shared/practice-id.js} +0 -0
- /package/dist/{spawn-self.js → shared/spawn-self.js} +0 -0
- /package/dist/{specdojo-gitignore.js → shared/specdojo-gitignore.js} +0 -0
- /package/dist/{template-resolution.js → shared/template-resolution.js} +0 -0
- /package/dist/{yaml-schema-modeline.js → shared/yaml-schema-modeline.js} +0 -0
- /package/dist/{yaml.js → shared/yaml.js} +0 -0
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
name: claude-reporter
|
|
3
3
|
description: SpecDojo pipeline の reporter。渡された evidence だけから指定スキーマの構造化結果を返す。
|
|
4
4
|
tools: Read, Glob, Grep
|
|
5
|
-
model: sonnet
|
|
6
5
|
---
|
|
7
6
|
|
|
8
7
|
あなたは SpecDojo pipeline の Claude reporter です。
|
|
@@ -13,4 +12,6 @@ model: sonnet
|
|
|
13
12
|
|
|
14
13
|
runner が Markdown として描画する自由記述フィールドでは、`depends_on` のように `_` を含む識別子・フィールド名を必ずインラインコードで囲んでください。
|
|
15
14
|
|
|
15
|
+
edit mode では、`evidence.changes` の変更ファイルについて、成果物(`docs/`)、ソースコード(`src/`)、テストコード(`tests/`)など変更された各ファイルで何を変更したかの説明を `changed_files` に返してください。
|
|
16
|
+
|
|
16
17
|
agent 自身で claim / complete / block を実行しないでください。
|
|
@@ -37,10 +37,12 @@ specdojo config scaffold --provider codex
|
|
|
37
37
|
command_template: 'codex exec --ephemeral --sandbox workspace-write -c approval_policy="never" -c sandbox_workspace_write.network_access=false --model {model} -c model_reasoning_effort="{effort}"'
|
|
38
38
|
command_params:
|
|
39
39
|
by_proficiency:
|
|
40
|
-
normal: {
|
|
41
|
-
expert: {
|
|
40
|
+
normal: { effort: medium }
|
|
41
|
+
expert: { effort: high }
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
`{model}` には実体の member の `model` が入る。model の ID は名簿の 1 か所に書き、reasoning effort だけを proficiency で切り替える。
|
|
45
|
+
|
|
44
46
|
実 Git / worktree を必要とする integration テストを親 runner で実行する場合は、command ではなく固定許可リスト ID を追加する。
|
|
45
47
|
|
|
46
48
|
```yaml
|
|
@@ -51,12 +53,29 @@ specdojo config scaffold --provider codex
|
|
|
51
53
|
|
|
52
54
|
この構成では Codex executor は `npm run test:unit` を実行し、親 runner が `npm run test:integration` の結果を evidence へ追加する。
|
|
53
55
|
|
|
54
|
-
2. SpecDojo が起動する agent をリポジトリ共通の `.specdojo/agent-members.yaml`
|
|
56
|
+
2. SpecDojo が起動する agent をリポジトリ共通の `.specdojo/agent-members.yaml` へ実体と別名の 2 段で定義する。実体は model の系統で名付け(`terra-executor`・`sol-executor` など)、`model` に版を含む ID(`gpt-5.6-terra` など)を持つ。従来の名前(`codex-executor`・`codex-expert-executor` など)は `aliases` で実体を指す別名にする。project ごとの `pm-members.yaml` は人間専用なので、`type: agent` を書かない。
|
|
57
|
+
|
|
58
|
+
```yaml
|
|
59
|
+
members:
|
|
60
|
+
- nickname: terra-executor
|
|
61
|
+
provider: codex
|
|
62
|
+
model: gpt-5.6-terra
|
|
63
|
+
mode: edit
|
|
64
|
+
stage_role: executor
|
|
65
|
+
proficiency: normal
|
|
66
|
+
# display_name などの必須項目は省略
|
|
67
|
+
aliases:
|
|
68
|
+
- nickname: codex-executor
|
|
69
|
+
alias_of: terra-executor
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
model を持たない従来の 1 段の member は、`command_params.by_proficiency` に `model` を書けばそのまま動く(member の `model` があればそちらが優先される)。
|
|
73
|
+
|
|
55
74
|
3. 対話セッション用のデフォルト(`.codex/config.toml`)は利用環境に合わせて作成する。モデルや `approval_policy` の好みを含むため、このテンプレートには含めていない。
|
|
56
75
|
4. コピーしたファイルと `.specdojo/agent-members.yaml` をコミットする。worktree はコミット済み内容から作られるため、未コミットだと agent 実行時に設定が読めない。
|
|
57
76
|
|
|
58
77
|
## 4. カスタマイズ
|
|
59
78
|
|
|
60
|
-
- worker
|
|
79
|
+
- worker のモデルは実体の member の `model`、reasoning effort は `command_params.by_proficiency` で調整する。subagent(`agents/*.toml`)側の `model` / `model_reasoning_effort` は利用プランに合わせて調整する。
|
|
61
80
|
- `codex-expert-executor` の result 更新禁止は pipeline の責務境界なので維持する。SpecDojo worker としての選択は `.specdojo/agent-members.yaml` の `stage_role: executor` で行い、custom subagent ファイルは起動コマンドから直接選択されない。
|
|
62
81
|
- 権限設計の背景は `exec-config-guide.md` の `agent 権限とプロンプトインジェクション対策` を参照する。
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:22",
|
|
4
4
|
"remoteUser": "node",
|
|
5
5
|
"init": true,
|
|
6
|
-
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces/
|
|
7
|
-
"workspaceFolder": "/workspaces/
|
|
6
|
+
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces/__SPECDOJO_WORKSPACE_NAME__,type=bind,consistency=cached",
|
|
7
|
+
"workspaceFolder": "/workspaces/__SPECDOJO_WORKSPACE_NAME__/${localWorkspaceFolderBasename}",
|
|
8
8
|
"features": {
|
|
9
9
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
10
10
|
"installZsh": false,
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
#
|
|
3
|
+
# specdojo-tmux.sh.sample
|
|
4
|
+
#
|
|
5
|
+
# 常時稼働ホスト上で devcontainer 内の tmux セッションへ入るためのスクリプトです。
|
|
6
|
+
# ホスト側の ~/bin/specdojo-tmux.sh などへコピーし、実行権限(chmod +x)を付与して使用してください。
|
|
7
|
+
#
|
|
8
|
+
# 前提ツール:
|
|
9
|
+
# - Docker (Docker Desktop または Docker Engine): コンテナの実行環境
|
|
10
|
+
# - Dev Container CLI (@devcontainers/cli): コンテナの起動に使用 (npm install -g @devcontainers/cli)
|
|
11
|
+
# - tmux: コンテナ内にインストールされている必要があります
|
|
12
|
+
#
|
|
13
|
+
# 起動コマンド:
|
|
14
|
+
# - コンテナ起動: devcontainer up --workspace-folder "$workspace_dir"
|
|
15
|
+
# - セッション接続: docker exec -it ... tmux new-session -A -s <名前>
|
|
16
|
+
#
|
|
17
|
+
set -euo pipefail
|
|
18
|
+
|
|
19
|
+
# コンテナ内とホスト側の作業ディレクトリ(実際の環境に合わせて設定してください)
|
|
20
|
+
container_workspace_dir="/workspaces/<workspace-name>/<repo-name>"
|
|
21
|
+
workspace_dir="${HOME}/<path-to-workspace>/<repo-name>"
|
|
22
|
+
|
|
23
|
+
# セッション名(必要に応じて変更してください)
|
|
24
|
+
session_name="specdojo"
|
|
25
|
+
|
|
26
|
+
# SSH 経由(RemoteCommand)で node や devcontainer が見つからない場合は、
|
|
27
|
+
# node と devcontainer が置かれているディレクトリを PATH に追加してください。
|
|
28
|
+
# 例: export PATH="/opt/homebrew/bin:$PATH"
|
|
29
|
+
|
|
30
|
+
find_container() {
|
|
31
|
+
local id
|
|
32
|
+
id="$(docker ps -q --filter "label=devcontainer.local_folder=$workspace_dir" | head -n 1)"
|
|
33
|
+
if [ -n "$id" ]; then
|
|
34
|
+
echo "$id"
|
|
35
|
+
return
|
|
36
|
+
fi
|
|
37
|
+
docker ps --format '{{.Names}}\t{{.Image}}' | awk '$2 ~ /^vsc-/ {print $1; exit}'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
if [ ! -f "$workspace_dir/.devcontainer/devcontainer.json" ]; then
|
|
41
|
+
echo "devcontainer.json was not found: $workspace_dir" >&2
|
|
42
|
+
echo "Set workspace_dir to the repository path on the host." >&2
|
|
43
|
+
exit 1
|
|
44
|
+
fi
|
|
45
|
+
|
|
46
|
+
if ! command -v devcontainer >/dev/null 2>&1; then
|
|
47
|
+
echo "Dev Container CLI is not installed. Run: npm install -g @devcontainers/cli" >&2
|
|
48
|
+
exit 1
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
if ! docker info >/dev/null 2>&1; then
|
|
52
|
+
echo "Docker is not running on the host." >&2
|
|
53
|
+
exit 1
|
|
54
|
+
fi
|
|
55
|
+
|
|
56
|
+
container_name="$(find_container)"
|
|
57
|
+
|
|
58
|
+
if [ -z "$container_name" ]; then
|
|
59
|
+
echo "Starting devcontainer..." >&2
|
|
60
|
+
devcontainer up --workspace-folder "$workspace_dir"
|
|
61
|
+
container_name="$(find_container)"
|
|
62
|
+
fi
|
|
63
|
+
|
|
64
|
+
if [ -z "$container_name" ]; then
|
|
65
|
+
echo "The devcontainer did not start." >&2
|
|
66
|
+
exit 1
|
|
67
|
+
fi
|
|
68
|
+
|
|
69
|
+
exec docker exec -it --detach-keys="ctrl-]" -w "$container_workspace_dir" "$container_name" tmux new-session -A -s "$session_name"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# 接続元端末の ~/.ssh/config 用設定サンプル
|
|
2
|
+
# <host> や <user> などのプレースホルダーは実際の接続先環境に合わせて変更してください。
|
|
3
|
+
|
|
4
|
+
# 常時稼働ホストへの通常接続用
|
|
5
|
+
Host <host>
|
|
6
|
+
HostName <host>
|
|
7
|
+
User <user>
|
|
8
|
+
|
|
9
|
+
# devcontainer 内の tmux セッションへ直接入る接続用
|
|
10
|
+
Host <host>-tmux
|
|
11
|
+
HostName <host>
|
|
12
|
+
User <user>
|
|
13
|
+
RequestTTY force
|
|
14
|
+
RemoteCommand ~/bin/specdojo-tmux.sh
|
|
15
|
+
# devcontainer.json の公開ポート(appPort / forwardPorts)に合わせて LocalForward を追加してください。
|
|
16
|
+
# 例: LocalForward 5173 127.0.0.1:5173
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
# yaml-language-server: $schema=../docs/specdojo/schemas/v1/agent-members.schema.yaml
|
|
2
2
|
# Agent definitions used by `specdojo init --exec`.
|
|
3
|
-
# The init command selects only the members whose provider was requested
|
|
3
|
+
# The init command selects only the members whose provider was requested, and only the
|
|
4
|
+
# aliases whose target member was selected.
|
|
5
|
+
#
|
|
6
|
+
# The roster has two levels (PJR-ZM1K):
|
|
7
|
+
# members : concrete agents named after the model family (sonnet-executor, terra-executor, ...).
|
|
8
|
+
# Each member carries the provider, model, and role. The model version is written
|
|
9
|
+
# only in `model`, so replacing a model touches one place.
|
|
10
|
+
# aliases : the earlier names (claude-executor, codex-executor, ...). Each alias points at a
|
|
11
|
+
# concrete member, so Jobs, routines, documents, and user settings keep working.
|
|
12
|
+
# Events and results record the concrete member name, so the model that actually ran is kept.
|
|
4
13
|
version: 1
|
|
5
14
|
members:
|
|
6
|
-
- nickname:
|
|
7
|
-
display_name: Claude Executor
|
|
15
|
+
- nickname: sonnet-executor
|
|
16
|
+
display_name: Claude Sonnet Executor
|
|
8
17
|
email: null
|
|
9
18
|
roles: []
|
|
10
19
|
type: agent
|
|
11
20
|
provider: claude
|
|
21
|
+
model: sonnet
|
|
12
22
|
mode: edit
|
|
13
23
|
stage_role: executor
|
|
14
24
|
capabilities: [web_search]
|
|
@@ -16,12 +26,13 @@ members:
|
|
|
16
26
|
priority: 2
|
|
17
27
|
persona: task-executor
|
|
18
28
|
scheduler_strategy: critical-first
|
|
19
|
-
- nickname:
|
|
20
|
-
display_name: Claude Review Executor
|
|
29
|
+
- nickname: sonnet-review-executor
|
|
30
|
+
display_name: Claude Sonnet Review Executor
|
|
21
31
|
email: null
|
|
22
32
|
roles: []
|
|
23
33
|
type: agent
|
|
24
34
|
provider: claude
|
|
35
|
+
model: sonnet
|
|
25
36
|
mode: review
|
|
26
37
|
stage_role: executor
|
|
27
38
|
capabilities: [web_search]
|
|
@@ -29,12 +40,13 @@ members:
|
|
|
29
40
|
priority: 2
|
|
30
41
|
persona: multi-viewpoint-reviewer
|
|
31
42
|
scheduler_strategy: fifo
|
|
32
|
-
- nickname:
|
|
33
|
-
display_name: Claude Reporter
|
|
43
|
+
- nickname: sonnet-reporter
|
|
44
|
+
display_name: Claude Sonnet Reporter
|
|
34
45
|
email: null
|
|
35
46
|
roles: []
|
|
36
47
|
type: agent
|
|
37
48
|
provider: claude
|
|
49
|
+
model: sonnet
|
|
38
50
|
mode: report
|
|
39
51
|
stage_role: reporter
|
|
40
52
|
capabilities: []
|
|
@@ -43,12 +55,13 @@ members:
|
|
|
43
55
|
persona: execution-reporter
|
|
44
56
|
scheduler_strategy: fifo
|
|
45
57
|
|
|
46
|
-
- nickname:
|
|
47
|
-
display_name: Codex Executor
|
|
58
|
+
- nickname: terra-executor
|
|
59
|
+
display_name: Codex Terra Executor
|
|
48
60
|
email: null
|
|
49
61
|
roles: []
|
|
50
62
|
type: agent
|
|
51
63
|
provider: codex
|
|
64
|
+
model: gpt-5.6-terra
|
|
52
65
|
mode: edit
|
|
53
66
|
stage_role: executor
|
|
54
67
|
capabilities: [web_search]
|
|
@@ -56,12 +69,13 @@ members:
|
|
|
56
69
|
priority: 1
|
|
57
70
|
persona: task-executor
|
|
58
71
|
scheduler_strategy: critical-first
|
|
59
|
-
- nickname:
|
|
60
|
-
display_name: Codex Review Executor
|
|
72
|
+
- nickname: terra-review-executor
|
|
73
|
+
display_name: Codex Terra Review Executor
|
|
61
74
|
email: null
|
|
62
75
|
roles: []
|
|
63
76
|
type: agent
|
|
64
77
|
provider: codex
|
|
78
|
+
model: gpt-5.6-terra
|
|
65
79
|
mode: review
|
|
66
80
|
stage_role: executor
|
|
67
81
|
capabilities: [web_search]
|
|
@@ -69,12 +83,13 @@ members:
|
|
|
69
83
|
priority: 1
|
|
70
84
|
persona: multi-viewpoint-reviewer
|
|
71
85
|
scheduler_strategy: fifo
|
|
72
|
-
- nickname:
|
|
73
|
-
display_name: Codex Reporter
|
|
86
|
+
- nickname: terra-reporter
|
|
87
|
+
display_name: Codex Terra Reporter
|
|
74
88
|
email: null
|
|
75
89
|
roles: []
|
|
76
90
|
type: agent
|
|
77
91
|
provider: codex
|
|
92
|
+
model: gpt-5.6-terra
|
|
78
93
|
stage_role: reporter
|
|
79
94
|
capabilities: []
|
|
80
95
|
proficiency: normal
|
|
@@ -82,12 +97,13 @@ members:
|
|
|
82
97
|
persona: execution-reporter
|
|
83
98
|
scheduler_strategy: fifo
|
|
84
99
|
|
|
85
|
-
- nickname:
|
|
86
|
-
display_name: OpenCode Executor
|
|
100
|
+
- nickname: gemma-executor
|
|
101
|
+
display_name: OpenCode Gemma Executor
|
|
87
102
|
email: null
|
|
88
103
|
roles: []
|
|
89
104
|
type: agent
|
|
90
105
|
provider: opencode
|
|
106
|
+
model: ollama-local/gemma4:31b-mlx-work-64k
|
|
91
107
|
mode: edit
|
|
92
108
|
stage_role: executor
|
|
93
109
|
capabilities: [web_search]
|
|
@@ -95,12 +111,13 @@ members:
|
|
|
95
111
|
priority: 3
|
|
96
112
|
persona: task-executor
|
|
97
113
|
scheduler_strategy: critical-first
|
|
98
|
-
- nickname:
|
|
99
|
-
display_name: OpenCode Review Executor
|
|
114
|
+
- nickname: gemma-review-executor
|
|
115
|
+
display_name: OpenCode Gemma Review Executor
|
|
100
116
|
email: null
|
|
101
117
|
roles: []
|
|
102
118
|
type: agent
|
|
103
119
|
provider: opencode
|
|
120
|
+
model: ollama-local/gemma4:31b-mlx-work-64k
|
|
104
121
|
mode: review
|
|
105
122
|
stage_role: executor
|
|
106
123
|
capabilities: [web_search]
|
|
@@ -108,12 +125,14 @@ members:
|
|
|
108
125
|
priority: 3
|
|
109
126
|
persona: multi-viewpoint-reviewer
|
|
110
127
|
scheduler_strategy: fifo
|
|
111
|
-
- nickname:
|
|
112
|
-
display_name: OpenCode Reporter
|
|
128
|
+
- nickname: gemma-reporter
|
|
129
|
+
display_name: OpenCode Gemma Reporter
|
|
113
130
|
email: null
|
|
114
131
|
roles: []
|
|
115
132
|
type: agent
|
|
116
133
|
provider: opencode
|
|
134
|
+
model: ollama-local/gemma4:31b-mlx-work-64k
|
|
135
|
+
mode: report
|
|
117
136
|
stage_role: reporter
|
|
118
137
|
capabilities: []
|
|
119
138
|
proficiency: normal
|
|
@@ -121,12 +140,13 @@ members:
|
|
|
121
140
|
persona: execution-reporter
|
|
122
141
|
scheduler_strategy: fifo
|
|
123
142
|
|
|
124
|
-
- nickname:
|
|
125
|
-
display_name: Antigravity Executor
|
|
143
|
+
- nickname: flash-executor
|
|
144
|
+
display_name: Antigravity Flash Executor
|
|
126
145
|
email: null
|
|
127
146
|
roles: []
|
|
128
147
|
type: agent
|
|
129
148
|
provider: antigravity
|
|
149
|
+
model: gemini-3.8-flash-medium
|
|
130
150
|
mode: edit
|
|
131
151
|
stage_role: executor
|
|
132
152
|
capabilities: [web_search]
|
|
@@ -134,12 +154,13 @@ members:
|
|
|
134
154
|
priority: 4
|
|
135
155
|
persona: task-executor
|
|
136
156
|
scheduler_strategy: critical-first
|
|
137
|
-
- nickname:
|
|
138
|
-
display_name: Antigravity Review Executor
|
|
157
|
+
- nickname: flash-review-executor
|
|
158
|
+
display_name: Antigravity Flash Review Executor
|
|
139
159
|
email: null
|
|
140
160
|
roles: []
|
|
141
161
|
type: agent
|
|
142
162
|
provider: antigravity
|
|
163
|
+
model: gemini-3.8-flash-medium
|
|
143
164
|
mode: review
|
|
144
165
|
stage_role: executor
|
|
145
166
|
capabilities: [web_search]
|
|
@@ -147,12 +168,13 @@ members:
|
|
|
147
168
|
priority: 4
|
|
148
169
|
persona: multi-viewpoint-reviewer
|
|
149
170
|
scheduler_strategy: fifo
|
|
150
|
-
- nickname:
|
|
151
|
-
display_name: Antigravity Reporter
|
|
171
|
+
- nickname: flash-reporter
|
|
172
|
+
display_name: Antigravity Flash Reporter
|
|
152
173
|
email: null
|
|
153
174
|
roles: []
|
|
154
175
|
type: agent
|
|
155
176
|
provider: antigravity
|
|
177
|
+
model: gemini-3.8-flash-medium
|
|
156
178
|
stage_role: reporter
|
|
157
179
|
capabilities: []
|
|
158
180
|
proficiency: normal
|
|
@@ -160,6 +182,8 @@ members:
|
|
|
160
182
|
persona: execution-reporter
|
|
161
183
|
scheduler_strategy: fifo
|
|
162
184
|
|
|
185
|
+
# Copilot selects its model automatically (--model auto), so its members have no model
|
|
186
|
+
# family to name. They stay as concrete members under the earlier names and need no alias.
|
|
163
187
|
- nickname: copilot-executor
|
|
164
188
|
display_name: Copilot Executor
|
|
165
189
|
email: null
|
|
@@ -198,3 +222,29 @@ members:
|
|
|
198
222
|
priority: 5
|
|
199
223
|
persona: execution-reporter
|
|
200
224
|
scheduler_strategy: fifo
|
|
225
|
+
|
|
226
|
+
aliases:
|
|
227
|
+
- nickname: claude-executor
|
|
228
|
+
alias_of: sonnet-executor
|
|
229
|
+
- nickname: claude-review-executor
|
|
230
|
+
alias_of: sonnet-review-executor
|
|
231
|
+
- nickname: claude-reporter
|
|
232
|
+
alias_of: sonnet-reporter
|
|
233
|
+
- nickname: codex-executor
|
|
234
|
+
alias_of: terra-executor
|
|
235
|
+
- nickname: codex-review-executor
|
|
236
|
+
alias_of: terra-review-executor
|
|
237
|
+
- nickname: codex-reporter
|
|
238
|
+
alias_of: terra-reporter
|
|
239
|
+
- nickname: opencode-executor
|
|
240
|
+
alias_of: gemma-executor
|
|
241
|
+
- nickname: opencode-review-executor
|
|
242
|
+
alias_of: gemma-review-executor
|
|
243
|
+
- nickname: opencode-reporter
|
|
244
|
+
alias_of: gemma-reporter
|
|
245
|
+
- nickname: agy-executor
|
|
246
|
+
alias_of: flash-executor
|
|
247
|
+
- nickname: agy-review-executor
|
|
248
|
+
alias_of: flash-review-executor
|
|
249
|
+
- nickname: agy-reporter
|
|
250
|
+
alias_of: flash-reporter
|
|
@@ -18,6 +18,10 @@ rate_limit_detection:
|
|
|
18
18
|
rate_limit_policy:
|
|
19
19
|
cooldown_seconds:
|
|
20
20
|
rate_limit: 900
|
|
21
|
+
# Agent を nickname で指名した実行の既定。CLI の --on-rate-limit が優先する。
|
|
22
|
+
pinned:
|
|
23
|
+
action: stop
|
|
24
|
+
max_wait_seconds: 28800
|
|
21
25
|
on_non_critical:
|
|
22
26
|
action: skip
|
|
23
27
|
on_critical:
|
|
@@ -28,9 +32,17 @@ rate_limit_policy:
|
|
|
28
32
|
backoff_multiplier: 3
|
|
29
33
|
max_wait_seconds: 600
|
|
30
34
|
on_exhausted: block
|
|
35
|
+
# command_template expands member attributes. {model} is the concrete member's model, and
|
|
36
|
+
# {nickname} is the concrete member's name even when an alias was requested (PJR-ZM1K).
|
|
37
|
+
# The claude and opencode role definitions are one file per role, selected by mode.
|
|
31
38
|
providers:
|
|
32
39
|
claude:
|
|
33
|
-
command_template: "claude -p --verbose --agent {
|
|
40
|
+
command_template: "claude -p --verbose --agent {agent} --model {model} --settings .specdojo/claude/settings.{mode}.json"
|
|
41
|
+
command_params:
|
|
42
|
+
by_mode:
|
|
43
|
+
edit: { agent: claude-executor }
|
|
44
|
+
review: { agent: claude-review-executor }
|
|
45
|
+
report: { agent: claude-reporter }
|
|
34
46
|
rate_limit_detection:
|
|
35
47
|
stderr_patterns: [rate limit, "429", overloaded, session limit]
|
|
36
48
|
codex:
|
|
@@ -38,14 +50,21 @@ providers:
|
|
|
38
50
|
codex exec --ephemeral --sandbox workspace-write -c approval_policy="never"
|
|
39
51
|
-c sandbox_workspace_write.network_access=false --model {model}
|
|
40
52
|
-c model_reasoning_effort="{effort}"
|
|
53
|
+
# The model comes from the concrete member. The reasoning effort follows proficiency.
|
|
41
54
|
command_params:
|
|
42
55
|
by_proficiency:
|
|
43
|
-
normal: {
|
|
44
|
-
expert: {
|
|
56
|
+
normal: { effort: medium }
|
|
57
|
+
expert: { effort: high }
|
|
45
58
|
rate_limit_detection:
|
|
46
59
|
stderr_patterns: [rate limit, "429", session limit, weekly limit, usage limit]
|
|
47
60
|
opencode:
|
|
48
|
-
|
|
61
|
+
# The model ID depends on the provider name in opencode.json. Adjust the members' model.
|
|
62
|
+
command_template: "opencode run --agent {agent} --model {model}"
|
|
63
|
+
command_params:
|
|
64
|
+
by_mode:
|
|
65
|
+
edit: { agent: opencode-executor }
|
|
66
|
+
review: { agent: opencode-review-executor }
|
|
67
|
+
report: { agent: opencode-reporter }
|
|
49
68
|
max_concurrency: 1
|
|
50
69
|
rate_limit_detection:
|
|
51
70
|
exit_codes: []
|
|
@@ -53,11 +72,8 @@ providers:
|
|
|
53
72
|
antigravity:
|
|
54
73
|
# 使える model の ID は `agy models` で確かめる。Gemini の Pro 系は提供されなくなったため、
|
|
55
74
|
# expert は Flash の high とする(2026-10-15、agy 1.3.5 で確認)。
|
|
75
|
+
# model の ID は実体の member の model に書く(PJR-ZM1K)。
|
|
56
76
|
command_template: 'agy --sandbox --add-dir "$(pwd)" --model {model} -p "$(cat)"'
|
|
57
|
-
command_params:
|
|
58
|
-
by_proficiency:
|
|
59
|
-
normal: { model: gemini-3.8-flash-medium }
|
|
60
|
-
expert: { model: gemini-3.8-flash-high }
|
|
61
77
|
rate_limit_detection:
|
|
62
78
|
stderr_patterns: [rate limit, "429", quota, RESOURCE_EXHAUSTED]
|
|
63
79
|
copilot:
|
|
@@ -29,13 +29,27 @@ specdojo exec scaffold --provider opencode
|
|
|
29
29
|
|
|
30
30
|
コピー後に次を行います。
|
|
31
31
|
|
|
32
|
-
1. `.specdojo/exec-defaults.yaml` の `providers.opencode.command_template` に `opencode run --agent {
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
1. `.specdojo/exec-defaults.yaml` の `providers.opencode.command_template` に `opencode run --agent {agent} --model {model}` を指定し、`command_params.by_mode` で mode から役割の定義を選ぶ。agent の定義は役割ごとの 1 ファイルで model を持たず、model は実体の member の `model` を `--model` で渡す。member 側に `command` は書かない。
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
providers:
|
|
36
|
+
opencode:
|
|
37
|
+
command_template: "opencode run --agent {agent} --model {model}"
|
|
38
|
+
command_params:
|
|
39
|
+
by_mode:
|
|
40
|
+
edit: { agent: opencode-executor }
|
|
41
|
+
review: { agent: opencode-review-executor }
|
|
42
|
+
report: { agent: opencode-reporter }
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
2. `.specdojo/agent-members.yaml` を実体と別名の 2 段で書く。実体は model の系統で名付け(`gemma-executor`・`qwen-executor` など)、`model` に `opencode.json` の provider 名を含む ID(`ollama-local/gemma4:31b-mlx-work-64k` など)を持つ。従来の名前(`opencode-executor` など)は `aliases` で実体を指す別名にする。
|
|
46
|
+
3. モデル接続設定(`opencode.json` の provider / model)を利用環境に合わせて作成する。ローカル Ollama の接続先などマシン固有の値を含むため、このテンプレートには含めていない。
|
|
47
|
+
4. コピーしたファイルをコミットする。worktree はコミット済み内容から作られるため、未コミットだと agent 実行時に設定が読めない。
|
|
35
48
|
|
|
36
49
|
## 4. カスタマイズ
|
|
37
50
|
|
|
38
51
|
- edit agent の `permission.edit` は既定で `docs/**`、`src/**`、`tests/**` を許可する。`permission.edit` / `permission.bash` のパターンは、利用プロジェクトの成果物・execution ディレクトリ配置に合わせて調整する。
|
|
52
|
+
- 従来の `opencode run --agent {nickname}` と model を持つ定義ファイルで組んだ 1 段の名簿は、そのまま動く。scaffold は既存ファイルを上書きしないため、`--force` で役割ごとの定義(model を持たない)に置き換える場合だけ、上の `command_template` と 2 段の名簿へ移す。
|
|
39
53
|
- executor の result パス deny と reporter の全ツール deny は、pipeline の責務境界なので維持する。
|
|
40
54
|
- `bash` は deny 基点の許可リストを維持する。`git add` / `git commit` を許可しないこと(許可すると specdojo CLI の commit 許可リストを迂回できる)。
|
|
41
55
|
- 権限設計の背景は `exec-config-guide.md` の `agent 権限とプロンプトインジェクション対策` を参照する。
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: SpecDojo pipeline の reporter。渡された evidence だけから指定スキーマの構造化結果を返す。
|
|
3
3
|
mode: primary
|
|
4
|
-
model: ollama-local/gemma4:31b-mlx-work-64k
|
|
5
4
|
temperature: 0.1
|
|
6
5
|
permission:
|
|
7
6
|
read: deny
|
|
@@ -24,3 +23,5 @@ permission:
|
|
|
24
23
|
応答は runner が指定した構造化出力スキーマに厳密に一致するデータだけとし、Markdown の説明、コードフェンス、スキーマ外フィールドを加えないでください。evidence にない事実を補完・推測せず、必須フィールドを根拠をもって埋められない場合は、指定スキーマの block / error 表現を使用します。出力スキーマまたは必要な evidence が提示されていない場合も成功結果を捏造しません。
|
|
25
24
|
|
|
26
25
|
runner が Markdown として描画する自由記述フィールドでは、`depends_on` のように `_` を含む識別子・フィールド名を必ずインラインコードで囲んでください。
|
|
26
|
+
|
|
27
|
+
edit mode では、`evidence.changes` の変更ファイルについて、成果物(`docs/`)、ソースコード(`src/`)、テストコード(`tests/`)など変更された各ファイルで何を変更したかの説明を `changed_files` に返してください。
|
package/dist/exec.js
DELETED
package/dist/grade.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { registerGradeApplyCommands } from "./grade-command-apply.js";
|
|
2
|
-
import { registerGradeInspectionCommands } from "./grade-command-inspect.js";
|
|
3
|
-
import { registerGradePlanCommands } from "./grade-command-plan.js";
|
|
4
|
-
export * from "./grade-apply.js";
|
|
5
|
-
export { renderGradeFindingTranslationPlan } from "./grade-command-apply.js";
|
|
6
|
-
export * from "./grade-core.js";
|
|
7
|
-
export * from "./grade-markdown.js";
|
|
8
|
-
export * from "./grade-pipeline-state.js";
|
|
9
|
-
export * from "./grade-plan.js";
|
|
10
|
-
export * from "./grade-target-discovery.js";
|
|
11
|
-
export * from "./grade-targets.js";
|
|
12
|
-
export function registerGradeCommand(program) {
|
|
13
|
-
const grade = program
|
|
14
|
-
.command("grade")
|
|
15
|
-
.description("Continuously assess Kata and deliverable content quality");
|
|
16
|
-
registerGradePlanCommands(grade);
|
|
17
|
-
registerGradeApplyCommands(grade);
|
|
18
|
-
registerGradeInspectionCommands(grade);
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: claude-expert-review-executor
|
|
3
|
-
description: SpecDojo 高性能 pipeline executor(review)。複雑な多観点レビューを支援するが、成果物・result のいずれにも書き込まない。
|
|
4
|
-
tools: Read, Bash, Glob, Grep, WebSearch, WebFetch
|
|
5
|
-
model: opus
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
あなたは SpecDojo pipeline の Claude expert executor(review)です。
|
|
9
|
-
|
|
10
|
-
標準入力で渡された review plan をタスク固有の指示として読み、記載された対象、レビュー観点、進め方、完了手順、異常終了条件に従って1件実行してください。
|
|
11
|
-
|
|
12
|
-
成果物・result のいずれも変更せず(Edit / Write ツールは持ちません)、result の作成・更新、evidence からの最終結果要約、agent 自身による claim / complete / block は行わないでください。プロジェクトの事実を捏造しないでください。
|
|
13
|
-
|
|
14
|
-
plan に共通規約として result 更新手順が含まれていても、それは reporter / runner の責務として扱い、executor は実行しません。レビュー結果(一致・乖離・未確認範囲・根拠)はツール出力および最終応答へ簡潔に残し、runner が evidence として収集できるようにしてください。
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|