@pennixrv/trellis 0.7.1-beta.13 → 0.7.1-beta.15

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.
Files changed (118) hide show
  1. package/dist/commands/teamwork/adapters/acp.d.ts +15 -0
  2. package/dist/commands/teamwork/adapters/acp.d.ts.map +1 -0
  3. package/dist/commands/teamwork/adapters/acp.js +261 -0
  4. package/dist/commands/teamwork/adapters/acp.js.map +1 -0
  5. package/dist/commands/teamwork/adapters/claude.d.ts +1 -0
  6. package/dist/commands/teamwork/adapters/claude.d.ts.map +1 -1
  7. package/dist/commands/teamwork/adapters/claude.js +5 -0
  8. package/dist/commands/teamwork/adapters/claude.js.map +1 -1
  9. package/dist/commands/teamwork/adapters/codex.d.ts +2 -1
  10. package/dist/commands/teamwork/adapters/codex.d.ts.map +1 -1
  11. package/dist/commands/teamwork/adapters/codex.js +10 -2
  12. package/dist/commands/teamwork/adapters/codex.js.map +1 -1
  13. package/dist/commands/teamwork/adapters/index.d.ts +23 -1
  14. package/dist/commands/teamwork/adapters/index.d.ts.map +1 -1
  15. package/dist/commands/teamwork/adapters/index.js +163 -24
  16. package/dist/commands/teamwork/adapters/index.js.map +1 -1
  17. package/dist/commands/teamwork/agent-loader.d.ts +2 -1
  18. package/dist/commands/teamwork/agent-loader.d.ts.map +1 -1
  19. package/dist/commands/teamwork/agent-loader.js +2 -1
  20. package/dist/commands/teamwork/agent-loader.js.map +1 -1
  21. package/dist/commands/teamwork/artifact.d.ts +17 -8
  22. package/dist/commands/teamwork/artifact.d.ts.map +1 -1
  23. package/dist/commands/teamwork/artifact.js +69 -28
  24. package/dist/commands/teamwork/artifact.js.map +1 -1
  25. package/dist/commands/teamwork/batch-reservation.d.ts +16 -0
  26. package/dist/commands/teamwork/batch-reservation.d.ts.map +1 -0
  27. package/dist/commands/teamwork/batch-reservation.js +43 -0
  28. package/dist/commands/teamwork/batch-reservation.js.map +1 -0
  29. package/dist/commands/teamwork/batch.d.ts +5 -0
  30. package/dist/commands/teamwork/batch.d.ts.map +1 -0
  31. package/dist/commands/teamwork/batch.js +123 -0
  32. package/dist/commands/teamwork/batch.js.map +1 -0
  33. package/dist/commands/teamwork/coordination.d.ts +12 -0
  34. package/dist/commands/teamwork/coordination.d.ts.map +1 -0
  35. package/dist/commands/teamwork/coordination.js +46 -0
  36. package/dist/commands/teamwork/coordination.js.map +1 -0
  37. package/dist/commands/teamwork/coordinator.d.ts +3 -2
  38. package/dist/commands/teamwork/coordinator.d.ts.map +1 -1
  39. package/dist/commands/teamwork/coordinator.js +21 -36
  40. package/dist/commands/teamwork/coordinator.js.map +1 -1
  41. package/dist/commands/teamwork/dev-parse-trace.d.ts +2 -1
  42. package/dist/commands/teamwork/dev-parse-trace.d.ts.map +1 -1
  43. package/dist/commands/teamwork/dev-parse-trace.js +2 -0
  44. package/dist/commands/teamwork/dev-parse-trace.js.map +1 -1
  45. package/dist/commands/teamwork/guard.d.ts.map +1 -1
  46. package/dist/commands/teamwork/guard.js +15 -1
  47. package/dist/commands/teamwork/guard.js.map +1 -1
  48. package/dist/commands/teamwork/index.d.ts.map +1 -1
  49. package/dist/commands/teamwork/index.js +75 -6
  50. package/dist/commands/teamwork/index.js.map +1 -1
  51. package/dist/commands/teamwork/plan.d.ts +11 -0
  52. package/dist/commands/teamwork/plan.d.ts.map +1 -0
  53. package/dist/commands/teamwork/plan.js +183 -0
  54. package/dist/commands/teamwork/plan.js.map +1 -0
  55. package/dist/commands/teamwork/profiles.d.ts +43 -6
  56. package/dist/commands/teamwork/profiles.d.ts.map +1 -1
  57. package/dist/commands/teamwork/profiles.js +138 -110
  58. package/dist/commands/teamwork/profiles.js.map +1 -1
  59. package/dist/commands/teamwork/rm.d.ts.map +1 -1
  60. package/dist/commands/teamwork/rm.js +7 -0
  61. package/dist/commands/teamwork/rm.js.map +1 -1
  62. package/dist/commands/teamwork/run.d.ts +4 -0
  63. package/dist/commands/teamwork/run.d.ts.map +1 -1
  64. package/dist/commands/teamwork/run.js +3 -0
  65. package/dist/commands/teamwork/run.js.map +1 -1
  66. package/dist/commands/teamwork/runtime.d.ts +9 -0
  67. package/dist/commands/teamwork/runtime.d.ts.map +1 -0
  68. package/dist/commands/teamwork/runtime.js +232 -0
  69. package/dist/commands/teamwork/runtime.js.map +1 -0
  70. package/dist/commands/teamwork/spawn.d.ts +4 -0
  71. package/dist/commands/teamwork/spawn.d.ts.map +1 -1
  72. package/dist/commands/teamwork/spawn.js +32 -4
  73. package/dist/commands/teamwork/spawn.js.map +1 -1
  74. package/dist/commands/teamwork/supervisor/inbox.d.ts.map +1 -1
  75. package/dist/commands/teamwork/supervisor/inbox.js +6 -3
  76. package/dist/commands/teamwork/supervisor/inbox.js.map +1 -1
  77. package/dist/commands/teamwork/supervisor/stdout.js +1 -1
  78. package/dist/commands/teamwork/supervisor/stdout.js.map +1 -1
  79. package/dist/commands/teamwork/supervisor.d.ts +3 -0
  80. package/dist/commands/teamwork/supervisor.d.ts.map +1 -1
  81. package/dist/commands/teamwork/supervisor.js +2 -0
  82. package/dist/commands/teamwork/supervisor.js.map +1 -1
  83. package/dist/commands/teamwork/teammate-adapters.d.ts +0 -3
  84. package/dist/commands/teamwork/teammate-adapters.d.ts.map +1 -1
  85. package/dist/commands/teamwork/teammate-adapters.js +9 -54
  86. package/dist/commands/teamwork/teammate-adapters.js.map +1 -1
  87. package/dist/commands/teamwork/teammate-launch.d.ts +8 -4
  88. package/dist/commands/teamwork/teammate-launch.d.ts.map +1 -1
  89. package/dist/commands/teamwork/teammate-launch.js +86 -6
  90. package/dist/commands/teamwork/teammate-launch.js.map +1 -1
  91. package/dist/commands/update.d.ts.map +1 -1
  92. package/dist/commands/update.js +2 -1
  93. package/dist/commands/update.js.map +1 -1
  94. package/dist/configurators/workflow.d.ts.map +1 -1
  95. package/dist/configurators/workflow.js +3 -1
  96. package/dist/configurators/workflow.js.map +1 -1
  97. package/dist/migrations/manifests/0.7.1-beta.14.json +11 -0
  98. package/dist/migrations/manifests/0.7.1-beta.15.json +9 -0
  99. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/multi-agent-teamwork.md +13 -1
  100. package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +7 -3
  101. package/dist/templates/common/bundled-skills/trellis-teamwork/references/coordination-modes.md +14 -0
  102. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-configuration-matrix.md +33 -31
  103. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +18 -5
  104. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +57 -14
  105. package/dist/templates/trellis/agents/profiles/architecture.md +9 -0
  106. package/dist/templates/trellis/agents/profiles/diagnosis.md +9 -0
  107. package/dist/templates/trellis/agents/profiles/exploration.md +9 -0
  108. package/dist/templates/trellis/agents/profiles/research.md +9 -0
  109. package/dist/templates/trellis/agents/profiles/review.md +9 -0
  110. package/dist/templates/trellis/agents/profiles/verification.md +9 -0
  111. package/dist/templates/trellis/agents/teammate-profiles.json +56 -4
  112. package/dist/templates/trellis/agents/teammate.md +20 -10
  113. package/dist/templates/trellis/index.d.ts +1 -0
  114. package/dist/templates/trellis/index.d.ts.map +1 -1
  115. package/dist/templates/trellis/index.js +16 -4
  116. package/dist/templates/trellis/index.js.map +1 -1
  117. package/dist/templates/trellis/teamwork.json +9 -0
  118. package/package.json +3 -2
@@ -24,10 +24,10 @@ Use the ordinary Teamwork Session commands for a deliberate one-shot or
24
24
  interactive discussion:
25
25
 
26
26
  ```bash
27
- trellis teamwork run [name]
28
- trellis teamwork spawn <name> --agent teammate --provider <provider> \
29
- --as reviewer --file .trellis/tasks/<task-dir>/prd.md \
30
- --jsonl .trellis/tasks/<task-dir>/research.jsonl
27
+ trellis teamwork run [name] --profile exploration --configuration codex-sol
28
+ trellis teamwork spawn <name> --profile review --configuration copilot-opus \
29
+ --as reviewer --file .trellis/tasks/in_progress/<task-dir>/prd.md \
30
+ --jsonl .trellis/tasks/in_progress/<task-dir>/research.jsonl
31
31
  trellis teamwork send <name> --as <agent> --stdin
32
32
  trellis teamwork wait <name> --as <agent> --kind done,turn_finished
33
33
  trellis teamwork interrupt <name> --as <agent> --to <teammate> --stdin
@@ -39,13 +39,19 @@ create a second scheduler. Do not use them to bypass a rejected batch or to
39
39
  steer an active managed assignment manually.
40
40
 
41
41
  `spawn` registers an idle teammate; the first targeted `send` starts its turn.
42
- The agent card can set provider defaults, while `--provider`, `--model`,
42
+ The project profile supplies the common and professional role cards plus
43
+ execution defaults. `--profile` and `--configuration` select them;
44
+ `--reasoning-effort`, `--provider`, `--model`,
43
45
  `--cwd`, `--resume`, `--sandbox`, `--timeout`, and `--warn-before` refine one
44
46
  launch. `--file` accepts repeatable paths or globs. `--jsonl` accepts a
45
47
  repeatable Trellis JSONL manifest whose entries have `{ "file", "reason" }`.
46
48
  Both forms are resolved relative to the spawn cwd, reject paths outside the
47
49
  cwd or configured trusted roots, skip missing entries with a warning, and
48
50
  enforce per-file and total-context limits before building the system prompt.
51
+ Legacy generic `--agent <card>` remains available for deliberately custom
52
+ agent cards, but it cannot be combined with professional profile selection.
53
+ Interactive roles return the requested answer; they do not invent batch
54
+ claims, report paths or attempt identities.
49
55
 
50
56
  Use `--inbox-policy explicitOnly|broadcastAndExplicit` to control which
51
57
  messages are delivered to a teammate. `send --to` selects recipients and
@@ -62,6 +68,13 @@ replacement instruction, `kill` attempts graceful shutdown, and `kill --force`
62
68
  uses the hard termination path. `--resume` supplies the provider session or
63
69
  thread identifier for a later attempt.
64
70
 
71
+ Codex interrupts use `turn/interrupt` and await the old terminal turn before
72
+ submitting the replacement. ACP sends `session/cancel` and awaits the terminal
73
+ prompt response; sending a notification alone is not cancellation proof.
74
+ Batch cancellation additionally confirms provider process exit. Unconfirmed
75
+ termination preserves reconciliation and its capacity reservation. Session
76
+ removal and prune preserve sessions with unresolved batch reservations.
77
+
65
78
  For short independent work, `teamwork run` creates an ephemeral session,
66
79
  injects the selected context, sends one prompt, waits for `done`, prints the
67
80
  answer, and removes the session. For a managed plan, the coordinator owns
@@ -14,10 +14,13 @@ coordination_mode
14
14
  ```
15
15
 
16
16
  The plan also freezes the Teamwork Session, batch, deadline, protected targets,
17
- and ordered `assignments`. Each assignment has an `assignment_id`, brief path,
18
- role, provider, optional profile and model, scope, lens, source digest,
19
- acceptance criteria, and an explicit retry budget. The CLI validates the plan
20
- and the immutable brief before dispatch.
17
+ and ordered `assignments`. Each assignment has an `assignment_id`, selected
18
+ profile/configuration, selection reason, task input, scope, optional lens,
19
+ source digest, acceptance criteria, and an explicit retry budget. The native
20
+ constructor resolves the effective provider/model/effort/options and common
21
+ plus professional instructions, then publishes schema-2 plan and briefs.
22
+ Claims also use schema 2; reports remain schema 1. Do not hand-author frozen
23
+ execution objects, role or capability digests, claims, or plan hashes.
21
24
 
22
25
  Use the native task lifecycle for task status and acceptance. Teamwork records
23
26
  coordination facts and teammate reports; it does not write `current_phase_id`,
@@ -39,19 +42,59 @@ specs, and the generic teammate role card. Freeze the input revision and route
39
42
  revision after the coordinator has selected the scope. If those values change,
40
43
  construct a new plan rather than mixing results from different task inputs.
41
44
 
42
- The reserved managed-batch entry point is:
45
+ Construct and run through the native entry points:
43
46
 
44
47
  ```bash
45
- trellis teamwork batch <plan-path>
48
+ trellis teamwork config --profile review --mode advisor
49
+ trellis teamwork plan <draft.json> --task <task-dir> --output <task-dir>/plan.json --dry-run
50
+ trellis teamwork plan <draft.json> --task <task-dir> --output <task-dir>/plan.json
51
+ trellis teamwork batch <task-dir>/plan.json --task <task-dir> --preflight
52
+ trellis teamwork batch <task-dir>/plan.json --task <task-dir>
46
53
  ```
47
54
 
48
- The current CLI unconditionally refuses this command before writing
49
- coordination state: a verified runtime adapter has not been connected to the
50
- coordinator. It does not discover an adapter or start the batch. The shared
51
- coordinator and its plan/report contracts exist and are tested separately.
52
- Do not present `run` or `spawn` as a substitute for managed batch execution.
53
- When connected, the coordinator owns dispatch, waiting, report acceptance,
54
- and the terminal receipt; the coordinating agent must not add a second retry loop.
55
+ The draft is a JSON object with `schema_version: 2`, the binding fields above,
56
+ safe `batch_id` and `session_id`, `deadline`, optional `requested_capacity`
57
+ and `protected_targets`, and explicit `assignments`. A minimal member is:
58
+
59
+ ```json
60
+ {
61
+ "assignment_id": "review-a",
62
+ "profile": "review",
63
+ "configuration": "codex-sol",
64
+ "selection_reason": "Use the configured source reviewer",
65
+ "summary": "Review the selected change",
66
+ "scope": "src/example.ts",
67
+ "input": "Inspect the assigned source and return evidence in the requested report.",
68
+ "source_digest": "<SHA-256 of the selected source evidence>",
69
+ "acceptance": ["Cite precise source locations and explain observable impact"],
70
+ "max_retries": 0
71
+ }
72
+ ```
73
+
74
+ Optional member overrides are `provider`, `model`, `reasoning_effort`, and
75
+ adapter-supported `options`; context comes from `context_files` and
76
+ `context_manifests`. Committee members additionally need distinct `lens`
77
+ values and otherwise share the same task/evidence/acceptance contract. The
78
+ constructor creates their evaluation group. Read the configuration matrix
79
+ before choosing candidates. Output must be inside the selected task under
80
+ this project's `.trellis/tasks/`; existing immutable artifacts are preserved.
81
+
82
+ `--dry-run` validates all prepared briefs and paths without writing artifacts.
83
+ `--preflight` validates frozen inputs, current native task revisions and
84
+ capacity without launching a provider; `processProbe: not_run` means accounts,
85
+ models and transport have not been tested by that command. Actual dispatch
86
+ negotiates provider model and effort and fails explicitly if unsupported.
87
+
88
+ The foreground CLI owns dispatch, waiting, report acceptance, retries, process
89
+ shutdown and the terminal receipt. Do not add a second scheduler or retry
90
+ loop. `run` and `spawn` operate interactive sessions and do not bypass batch
91
+ reconciliation. A restart returns a durable terminal receipt or
92
+ `RECONCILIATION_REQUIRED`; it never silently replays an uncertain attempt.
93
+ Capacity reservations survive a coordinator crash because a dead coordinator
94
+ does not prove its provider processes exited. Do not delete an unresolved
95
+ reservation to make another batch fit; inspect ownership and terminal evidence.
96
+ An unreadable or conflicting recovery state also retains the reservation and
97
+ original evidence; it does not authorize a replacement dispatch.
55
98
 
56
99
  ## Teamwork Session and forum commands
57
100
 
@@ -59,7 +102,7 @@ Create and inspect the durable runtime object with the native CLI:
59
102
 
60
103
  ```bash
61
104
  trellis teamwork create <name> --type chat|forum \
62
- --task .trellis/tasks/<task-dir> --description "bounded discussion"
105
+ --task .trellis/tasks/in_progress/<task-dir> --description "bounded discussion"
63
106
  trellis teamwork list [--scope project|global] [--all]
64
107
  trellis teamwork messages <name> [--raw]
65
108
  trellis teamwork wait <name> --as <agent> --kind done,turn_finished
@@ -0,0 +1,9 @@
1
+ # 架构与方案评估(architecture)
2
+
3
+ 你负责评估 brief 指定的架构问题和实质候选。共同角色卡规定的范围、结果写入和停止条件始终适用。
4
+
5
+ 输入应包含目标与约束、当前结构、受影响边界、候选或待决问题和接受条件。先核对现有职责与接口,再比较满足当前需求的候选,包括数据与控制流、失败恢复、兼容与迁移、可验证性及维护成本。必要的源码探索或外部补证必须服务于当前决定。
6
+
7
+ 结果应包含推荐及依据、排除候选与理由、接口和边界、关键情景、风险、实施与验证建议,以及仍须用户决定的取舍。证据足以评估候选后停止;不要为假设的未来增加框架,不自行扩充规划权限或实施授权。最终结论由协调者归并。
8
+
9
+ 必要输入缺失、角色与 brief 冲突或需要越界操作时,报告阻断。不编写产品源码、测试或修复,不替协调者接受结果,不继续委派。
@@ -0,0 +1,9 @@
1
+ # 已知故障诊断(diagnosis)
2
+
3
+ 你负责诊断 brief 中已经发生的故障。共同角色卡规定的范围、结果写入和停止条件始终适用。
4
+
5
+ 输入应包含实际症状与完整错误、期望行为、环境与版本、复现条件和近期变更。先建立事实及可重复的最小触发,再提出少量可区分的假设,按信息增益选择已授权的观测或验证,记录支持与反证。每次失败先核对现场,不连续猜测或试改。
6
+
7
+ 结果应包含故障链、已排除假设、最可能根因及证据强度、剩余未知、最小修复方向和验证建议。根因证据充分或受限无法继续时停止,不把测试失败本身当作根因。复杂方法按项目技能来源规则使用,不复制用户级 Skill 内容进角色卡。
8
+
9
+ 必要输入缺失、角色与 brief 冲突或需要越界操作时,报告阻断。不编写修复或顺带重构,不替协调者接受结果,不继续委派。
@@ -0,0 +1,9 @@
1
+ # 本地源码探索(exploration)
2
+
3
+ 你负责回答 brief 中的本地源码问题,建立可接续的代码与证据地图。共同角色卡规定的范围、结果写入和停止条件始终适用。
4
+
5
+ 输入应包含问题、仓库与基线、主题范围、已有锚点和所需深度。先确定入口、定义和调用路径,按项目来源规则使用有效索引或有界搜索,再阅读支持结论的当前源码。追踪相关数据流、关键条件、异常路径、依赖和测试入口;区分实际源码、文档陈述和推断。
6
+
7
+ 结果应直接回答问题,给出文件、符号及适用行号,说明关键路径、关系、影响边界、反例、证据不足处和建议的下一阅读点。必要路径和边界已核对后停止;不要无限扫描全库,不把代码地图写成未经验证的架构推荐或根因定论。
8
+
9
+ 必要输入缺失、角色与 brief 冲突或需要越界操作时,报告阻断。不编写产品源码、测试或修复,不替协调者接受结果,不继续委派。
@@ -0,0 +1,9 @@
1
+ # 外部资料研究(research)
2
+
3
+ 你负责为 brief 中的问题核对外部资料与先例。共同角色卡规定的范围、结果写入和停止条件始终适用。
4
+
5
+ 输入应包含研究问题、约束与版本、待比较路线和来源要求。先拆出可证伪的问题,再核对官方文档、标准、维护者源码或明确标注的次级材料,记录版本、日期、反证和适用边界。本地源码用于提出或核验适用条件,主体证据来自外部来源。遵循项目已有的检索和官方文档入口;搜索摘要只是候选,不等于已读全文。
6
+
7
+ 结果应包含有出处的结论或比较、可核验链接、版本或检索日期,以及对当前项目的具体影响。明确区分已核实、推断、冲突和未知。证据足以支持当前决定后停止;网络或来源访问失败应如实报告,不编造检索结果,不以社区说法代替官方合同。
8
+
9
+ 必要输入缺失、角色与 brief 冲突或需要越界操作时,报告阻断。不编写产品源码、测试或修复,不替协调者接受结果,不继续委派。
@@ -0,0 +1,9 @@
1
+ # 变更与设计审查(review)
2
+
3
+ 你负责审查 brief 明确指定的候选、差异、提交或设计。共同角色卡规定的范围、结果写入和停止条件始终适用。
4
+
5
+ 输入应包含候选、需求基线、本次关注点和适用验收。沿真实调用方和相关上下文核对正确性、需求覆盖、回归、数据或安全风险及测试缺口。不能只看 diff,也不能按检查表制造问题或强加风格偏好。
6
+
7
+ 结果按 [严重]、[主要]、[轻微] 排序;每项说明触发条件、实际影响、准确定位与证据和修复方向。无发现时说明检查范围及剩余风险,不能据此宣称没有 bug。默认不运行会修改现场的构建或安装;确需验证时遵守 brief 已有授权,或建议由 verification 执行。
8
+
9
+ 候选的相关调用与关键风险已核对后停止。必要输入缺失、角色与 brief 冲突或需要越界操作时,报告阻断。不编写产品源码、测试或修复,不替协调者接受结果,不继续委派。
@@ -0,0 +1,9 @@
1
+ # 行为与接受条件验证(verification)
2
+
3
+ 你负责检验 brief 中明确的行为声明和接受条件。共同角色卡规定的范围、结果写入和停止条件始终适用。
4
+
5
+ 输入应包含待验证声明、期望行为、候选版本与环境、已授权命令,以及产物、临时目录和清理约定。先将声明映射到能够证实或证伪的检查,核对实际版本与环境,再执行适用的已有测试、构建或复现步骤并解释结果。不要无故重复全套检查或添加只镜像实现的断言。
6
+
7
+ 结果应将声明、检查和实际结果对应起来,记录退出事实、关键证据、pass/fail/not_run/受限、环境差异、残留资源及不能据此推断的结论。工具输出、缓存和临时复现材料可能产生文件副作用,须遵守 brief 的允许位置及清理约定,不能声称绝无副作用。
8
+
9
+ 适用声明已有证据或受限无法继续时停止。缺少账号、环境或授权时停止相关检查并报告,不自行安装、登录、发布或写产品测试。不替协调者接受结果,不继续委派;根因辨析交给 diagnosis。
@@ -1,8 +1,60 @@
1
1
  {
2
+ "schema_version": 2,
3
+ "default_profile": "exploration",
2
4
  "profiles": {
3
- "architecture": { "reasoning_effort": "high" },
4
- "review": { "reasoning_effort": "high" },
5
- "research": { "reasoning_effort": "medium" },
6
- "verification": { "reasoning_effort": "high" }
5
+ "architecture": {
6
+ "role": "profiles/architecture.md",
7
+ "default_configuration": "codex-sol",
8
+ "configurations": {
9
+ "codex-sol": { "provider": "codex", "model": "gpt-6.1-sol", "reasoning_effort": "xhigh" },
10
+ "copilot-sol": { "provider": "copilot", "model": "gpt-6.1-sol", "reasoning_effort": "xhigh" },
11
+ "copilot-opus": { "provider": "copilot", "model": "claude-opus-5.5", "reasoning_effort": "xhigh" }
12
+ }
13
+ },
14
+ "review": {
15
+ "role": "profiles/review.md",
16
+ "default_configuration": "codex-sol",
17
+ "configurations": {
18
+ "codex-sol": { "provider": "codex", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
19
+ "copilot-sol": { "provider": "copilot", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
20
+ "copilot-opus": { "provider": "copilot", "model": "claude-opus-5.5", "reasoning_effort": "high" }
21
+ }
22
+ },
23
+ "research": {
24
+ "role": "profiles/research.md",
25
+ "default_configuration": "codex-sol",
26
+ "configurations": {
27
+ "codex-sol": { "provider": "codex", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
28
+ "copilot-sol": { "provider": "copilot", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
29
+ "copilot-sonnet": { "provider": "copilot", "model": "claude-sonnet-5.5", "reasoning_effort": "high" }
30
+ }
31
+ },
32
+ "verification": {
33
+ "role": "profiles/verification.md",
34
+ "default_configuration": "codex-sol",
35
+ "configurations": {
36
+ "codex-sol": { "provider": "codex", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
37
+ "copilot-sol": { "provider": "copilot", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
38
+ "copilot-sonnet": { "provider": "copilot", "model": "claude-sonnet-5.5", "reasoning_effort": "high" }
39
+ }
40
+ },
41
+ "exploration": {
42
+ "role": "profiles/exploration.md",
43
+ "default_configuration": "codex-sol",
44
+ "configurations": {
45
+ "codex-sol": { "provider": "codex", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
46
+ "copilot-sol": { "provider": "copilot", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
47
+ "copilot-sonnet": { "provider": "copilot", "model": "claude-sonnet-5.5", "reasoning_effort": "high" }
48
+ }
49
+ },
50
+ "diagnosis": {
51
+ "role": "profiles/diagnosis.md",
52
+ "default_configuration": "codex-sol",
53
+ "configurations": {
54
+ "codex-sol": { "provider": "codex", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
55
+ "copilot-sol": { "provider": "copilot", "model": "gpt-6.1-sol", "reasoning_effort": "high" },
56
+ "copilot-opus": { "provider": "copilot", "model": "claude-opus-5.5", "reasoning_effort": "high" }
57
+ }
58
+ }
7
59
  }
8
60
  }
@@ -6,14 +6,14 @@ labels: [trellis, teammate]
6
6
 
7
7
  # Teammate (Teamwork runtime)
8
8
 
9
- You are a bounded Trellis teammate assigned one frozen teammate assignment. Produce
9
+ You are a bounded Trellis teammate assigned one task by the coordinator. Produce
10
10
  independently reviewable investigation, research, review, verification, or
11
11
  evidence. The coordinator owns dispatch, retry, acceptance, and final
12
12
  disposition.
13
13
 
14
- Read the immutable brief before substantive work. For the assigned teammate
15
- assignment,
16
- the paths are:
14
+ For a managed batch, read the immutable brief and issued claim before substantive
15
+ work. Use the exact paths supplied in the launch input; task directories may
16
+ include a status and, for settled tasks, a month. The artifact layout is:
17
17
 
18
18
  ```text
19
19
  .trellis/tasks/<task-dir>/teammates/<batch>/<assignment>/brief.json
@@ -23,8 +23,14 @@ the paths are:
23
23
  .trellis/tasks/<task-dir>/teammates/<batch>/<assignment>/attempts/<attempt-id>/report.json
24
24
  ```
25
25
 
26
- Read the brief and claim, append material progress to the assigned worklog,
27
- and create exactly one pending report for this attempt using this JSON shape:
26
+ For an interactive `spawn` or `run` without a managed assignment, use the
27
+ coordinator's bounded message as the task input and return the requested answer.
28
+ Do not invent a brief, attempt identity, report path, or acceptance decision.
29
+ The same professional role, source/Git read-only obligations, and delegation
30
+ boundaries apply. Missing necessary task information is a blocker.
31
+
32
+ For a managed assignment, append material progress to the assigned worklog and
33
+ create exactly one pending report for this attempt using this JSON shape:
28
34
 
29
35
  ```json
30
36
  {
@@ -57,11 +63,15 @@ that context is missing, report the blocker instead of inventing values.
57
63
  These are role and result requirements, not a claim of sandbox isolation.
58
64
  Available coding tools do not authorize product implementation in this role.
59
65
 
60
- Use only the explicit context paths frozen in the brief. Do not read or use
66
+ Use only the source scope and context explicitly assigned by the coordinator.
67
+ Search and inspect relevant files within that scope when the task calls for
68
+ local exploration; injected context is an entry point, not a claim that every
69
+ needed source file has already been supplied. Do not read or use
61
70
  ambient personal, session, or cross-project memory, including memory tools or
62
- environment-provided memory. If the host exposes such memory and cannot isolate
63
- it, stop and report the host-boundary failure through the assigned failure
64
- protocol.
71
+ environment-provided memory. If ambient memory is inseparable from the evidence
72
+ needed for the answer, stop and report the limitation through the assigned
73
+ failure protocol. This is a role obligation; do not claim technical memory
74
+ isolation or filesystem enforcement.
65
75
 
66
76
  Only submit `status: complete` when every acceptance criterion is met and at
67
77
  least one evidence item supports the result. If the work cannot be completed,
@@ -55,6 +55,7 @@ export declare const addSessionScript: string;
55
55
  export declare const linearSyncScript: string;
56
56
  export declare const workflowMdTemplate: string;
57
57
  export declare const configYamlTemplate: string;
58
+ export declare const teamworkConfigTemplate: string;
58
59
  export declare const gitignoreTemplate: string;
59
60
  export declare const gitattributesTemplate: string;
60
61
  export declare const teammateAgentTemplate: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/trellis/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAcH,eAAO,MAAM,WAAW,QAAsC,CAAC;AAG/D,eAAO,MAAM,UAAU,QAA6C,CAAC;AACrE,eAAO,MAAM,WAAW,QAA0C,CAAC;AACnE,eAAO,MAAM,eAAe,QAA8C,CAAC;AAC3E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,eAAe,QAA+C,CAAC;AAC5E,eAAO,MAAM,eAAe,QAA+C,CAAC;AAC5E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,cAAc,QAA8C,CAAC;AAC1E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,gBAAgB,QAA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uB,QAEnC,CAAC;AACF,eAAO,MAAM,mBAAmB,QAE/B,CAAC;AACF,eAAO,MAAM,eAAe,QAA+C,CAAC;AAC5E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAG9E,eAAO,MAAM,kBAAkB,QAA2C,CAAC;AAC3E,eAAO,MAAM,mBAAmB,QAA4C,CAAC;AAC7E,eAAO,MAAM,UAAU,QAAkC,CAAC;AAC1D,eAAO,MAAM,gBAAgB,QAAyC,CAAC;AACvE,eAAO,MAAM,gBAAgB,QAAyC,CAAC;AACvE,eAAO,MAAM,gBAAgB,QAA+C,CAAC;AAG7E,eAAO,MAAM,kBAAkB,QAA8B,CAAC;AAC9D,eAAO,MAAM,kBAAkB,QAA8B,CAAC;AAC9D,eAAO,MAAM,sBAAsB,QAAgC,CAAC;AACpE,eAAO,MAAM,iBAAiB,QAAgC,CAAC;AAC/D,eAAO,MAAM,qBAAqB,QAAoC,CAAC;AAGvE,eAAO,MAAM,qBAAqB,QAAqC,CAAC;AACxE,eAAO,MAAM,8BAA8B,QAE1C,CAAC;AACF,eAAO,MAAM,wBAAwB,QAEpC,CAAC;AAEF;;GAEG;AACH,wBAAgB,aAAa,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA6CnD;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAelD"}
@@ -18,7 +18,7 @@
18
18
  * ├── gitignore.txt # .gitignore content
19
19
  * └── gitattributes.txt # project-root .gitattributes content
20
20
  */
21
- import { readFileSync } from "node:fs";
21
+ import { readFileSync, readdirSync } from "node:fs";
22
22
  import { dirname, join } from "node:path";
23
23
  import { fileURLToPath } from "node:url";
24
24
  const __filename = fileURLToPath(import.meta.url);
@@ -67,6 +67,7 @@ export const linearSyncScript = readTemplate("scripts/hooks/linear_sync.py");
67
67
  // Configuration files
68
68
  export const workflowMdTemplate = readTemplate("workflow.md");
69
69
  export const configYamlTemplate = readTemplate("config.yaml");
70
+ export const teamworkConfigTemplate = readTemplate("teamwork.json");
70
71
  export const gitignoreTemplate = readTemplate("gitignore.txt");
71
72
  export const gitattributesTemplate = readTemplate("gitattributes.txt");
72
73
  // Project agent roles loaded from `.trellis/agents/`.
@@ -128,9 +129,20 @@ export function getAllScripts() {
128
129
  */
129
130
  export function getAllAgents() {
130
131
  const agents = new Map();
131
- agents.set("teammate.md", teammateAgentTemplate);
132
- agents.set("delegated-worktree-primary-agent.md", delegatedWorktreeAgentTemplate);
133
- agents.set("teammate-profiles.json", teammateProfilesTemplate);
132
+ function collect(directory) {
133
+ for (const entry of readdirSync(join(__dirname, "agents", directory), {
134
+ withFileTypes: true,
135
+ })) {
136
+ const relative = join(directory, entry.name);
137
+ if (entry.isDirectory())
138
+ collect(relative);
139
+ else if (entry.isFile())
140
+ agents.set(relative, readTemplate(join("agents", relative)));
141
+ else
142
+ throw new Error(`unsupported agent template: ${relative}`);
143
+ }
144
+ }
145
+ collect("");
134
146
  return agents;
135
147
  }
136
148
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/trellis/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,SAAS,YAAY,CAAC,YAAoB;IACxC,OAAO,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC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AAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;;gBAC1D,MAAM,IAAI,KAAK,CAAC,+BAA+B,QAAQ,EAAE,CAAC,CAAC;QAClE,CAAC;IACH,CAAC;IACD,OAAO,CAAC,EAAE,CAAC,CAAC;IACZ,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,9 @@
1
+ {
2
+ "schema_version": 1,
3
+ "default_mode": "general",
4
+ "modes": {
5
+ "general": { "default_members": 1 },
6
+ "advisor": { "default_members": 1 },
7
+ "committee": { "default_members": 3 }
8
+ }
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pennixrv/trellis",
3
- "version": "0.7.1-beta.13",
3
+ "version": "0.7.1-beta.15",
4
4
  "description": "AI capabilities grow like ivy — Trellis provides the structure to guide them along a disciplined path",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -27,6 +27,7 @@
27
27
  "author": "Mindfold LLC",
28
28
  "license": "AGPL-3.0-only",
29
29
  "dependencies": {
30
+ "@agentclientprotocol/sdk": "2.4.0",
30
31
  "chalk": "^5.3.0",
31
32
  "commander": "^12.1.0",
32
33
  "figlet": "^1.9.4",
@@ -34,7 +35,7 @@
34
35
  "inquirer": "^9.3.7",
35
36
  "undici": "^6.21.0",
36
37
  "zod": "^4.4.2",
37
- "@pennixrv/trellis-core": "0.7.1-beta.13"
38
+ "@pennixrv/trellis-core": "0.7.1-beta.15"
38
39
  },
39
40
  "devDependencies": {
40
41
  "@eslint/js": "^9.18.0",