添加上传和下载文件夹

This commit is contained in:
yoyuzh
2026-03-19 13:39:48 +08:00
parent 64e146dfee
commit 41a83d2805
17 changed files with 729 additions and 33 deletions

View File

@@ -0,0 +1,5 @@
name = "explorer"
description = "Read-only codebase investigator. It traces current behavior, finds entry points, and collects evidence from files, configs, and docs without making edits."
nickname_candidates = ["explorer", "trace", "inspect"]
sandbox_mode = "read-only"
include_apply_patch_tool = false

View File

@@ -0,0 +1,5 @@
name = "implementer"
description = "Code-writing agent. It makes focused changes in frontend, backend, scripts, or docs after planning/exploration are complete, and leaves broad verification to tester."
nickname_candidates = ["implementer", "impl", "builder"]
sandbox_mode = "workspace-write"
include_apply_patch_tool = true

View File

@@ -0,0 +1,5 @@
name = "orchestrator"
description = "Default top-level agent for this repo. It coordinates specialist agents, keeps scope aligned with the user request, and owns the final synthesis."
nickname_candidates = ["orchestrator", "lead", "coord"]
sandbox_mode = "read-only"
include_apply_patch_tool = false

View File

@@ -0,0 +1,5 @@
name = "planner"
description = "Planning-only agent. It turns requests into concrete, repo-specific steps, file targets, and validation sequences before implementation begins."
nickname_candidates = ["planner", "plan"]
sandbox_mode = "read-only"
include_apply_patch_tool = false

View File

@@ -0,0 +1,5 @@
name = "reviewer"
description = "Read-only review agent. It inspects diffs for bugs, regressions, missing tests, and command coverage gaps before work is considered done."
nickname_candidates = ["reviewer", "review", "audit"]
sandbox_mode = "read-only"
include_apply_patch_tool = false

View File

@@ -0,0 +1,5 @@
name = "tester"
description = "Verification-only agent. It runs lint, test, build, package, and type-check commands that already exist in this repo, reports failures, and does not edit source files."
nickname_candidates = ["tester", "qa", "verify"]
sandbox_mode = "workspace-write"
include_apply_patch_tool = false

32
.codex/config.toml Normal file
View File

@@ -0,0 +1,32 @@
[features]
multi_agent = true
[agents.orchestrator]
description = "Primary coordinator for this monorepo. Routes work across planner, explorer, implementer, tester, and reviewer."
config_file = ".codex/agents/orchestrator.toml"
nickname_candidates = ["orchestrator", "lead", "coord"]
[agents.planner]
description = "Builds repo-specific execution plans before code changes."
config_file = ".codex/agents/planner.toml"
nickname_candidates = ["planner", "plan"]
[agents.explorer]
description = "Maps existing behavior and code paths without editing files."
config_file = ".codex/agents/explorer.toml"
nickname_candidates = ["explorer", "trace", "inspect"]
[agents.implementer]
description = "Owns code changes and nearby test updates."
config_file = ".codex/agents/implementer.toml"
nickname_candidates = ["implementer", "impl", "builder"]
[agents.tester]
description = "Runs repository-backed verification commands only."
config_file = ".codex/agents/tester.toml"
nickname_candidates = ["tester", "qa", "verify"]
[agents.reviewer]
description = "Performs read-only review for bugs, regressions, and test gaps."
config_file = ".codex/agents/reviewer.toml"
nickname_candidates = ["reviewer", "review", "audit"]