@pennixrv/trellis 0.7.2-beta.2 → 0.7.2-beta.21
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/README.md +14 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +105 -107
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/teamwork/adapters/acp.d.ts.map +1 -1
- package/dist/commands/teamwork/adapters/acp.js +3 -0
- package/dist/commands/teamwork/adapters/acp.js.map +1 -1
- package/dist/commands/teamwork/adapters/index.d.ts +1 -1
- package/dist/commands/teamwork/adapters/index.d.ts.map +1 -1
- package/dist/commands/teamwork/artifact.d.ts +2 -0
- package/dist/commands/teamwork/artifact.d.ts.map +1 -1
- package/dist/commands/teamwork/artifact.js +4 -2
- package/dist/commands/teamwork/artifact.js.map +1 -1
- package/dist/commands/teamwork/batch-reservation.d.ts.map +1 -1
- package/dist/commands/teamwork/batch-reservation.js +16 -8
- package/dist/commands/teamwork/batch-reservation.js.map +1 -1
- package/dist/commands/teamwork/batch.d.ts +15 -1
- package/dist/commands/teamwork/batch.d.ts.map +1 -1
- package/dist/commands/teamwork/batch.js +279 -24
- package/dist/commands/teamwork/batch.js.map +1 -1
- package/dist/commands/teamwork/coordinator.d.ts +3 -0
- package/dist/commands/teamwork/coordinator.d.ts.map +1 -1
- package/dist/commands/teamwork/coordinator.js +22 -3
- package/dist/commands/teamwork/coordinator.js.map +1 -1
- package/dist/commands/teamwork/create.d.ts +1 -0
- package/dist/commands/teamwork/create.d.ts.map +1 -1
- package/dist/commands/teamwork/create.js +4 -0
- package/dist/commands/teamwork/create.js.map +1 -1
- package/dist/commands/teamwork/evidence-references.d.ts +19 -0
- package/dist/commands/teamwork/evidence-references.d.ts.map +1 -0
- package/dist/commands/teamwork/evidence-references.js +249 -0
- package/dist/commands/teamwork/evidence-references.js.map +1 -0
- package/dist/commands/teamwork/foreground-wait.d.ts +4 -1
- package/dist/commands/teamwork/foreground-wait.d.ts.map +1 -1
- package/dist/commands/teamwork/foreground-wait.js +15 -1
- package/dist/commands/teamwork/foreground-wait.js.map +1 -1
- package/dist/commands/teamwork/index.d.ts.map +1 -1
- package/dist/commands/teamwork/index.js +47 -5
- package/dist/commands/teamwork/index.js.map +1 -1
- package/dist/commands/teamwork/list.d.ts +1 -0
- package/dist/commands/teamwork/list.d.ts.map +1 -1
- package/dist/commands/teamwork/list.js +4 -1
- package/dist/commands/teamwork/list.js.map +1 -1
- package/dist/commands/teamwork/prompt.js +1 -1
- package/dist/commands/teamwork/prompt.js.map +1 -1
- package/dist/commands/teamwork/rm.d.ts +27 -4
- package/dist/commands/teamwork/rm.d.ts.map +1 -1
- package/dist/commands/teamwork/rm.js +155 -51
- package/dist/commands/teamwork/rm.js.map +1 -1
- package/dist/commands/teamwork/run.d.ts.map +1 -1
- package/dist/commands/teamwork/run.js +10 -1
- package/dist/commands/teamwork/run.js.map +1 -1
- package/dist/commands/teamwork/runtime.d.ts +1 -1
- package/dist/commands/teamwork/runtime.d.ts.map +1 -1
- package/dist/commands/teamwork/runtime.js +14 -4
- package/dist/commands/teamwork/runtime.js.map +1 -1
- package/dist/commands/teamwork/spawn.d.ts.map +1 -1
- package/dist/commands/teamwork/spawn.js +4 -1
- package/dist/commands/teamwork/spawn.js.map +1 -1
- package/dist/commands/teamwork/supervisor/stdout.d.ts.map +1 -1
- package/dist/commands/teamwork/supervisor/stdout.js +7 -0
- package/dist/commands/teamwork/supervisor/stdout.js.map +1 -1
- package/dist/commands/teamwork/supervisor.d.ts +1 -1
- package/dist/commands/teamwork/supervisor.d.ts.map +1 -1
- package/dist/commands/teamwork/teammate-adapters.d.ts +3 -0
- package/dist/commands/teamwork/teammate-adapters.d.ts.map +1 -1
- package/dist/commands/teamwork/teammate-adapters.js +14 -5
- package/dist/commands/teamwork/teammate-adapters.js.map +1 -1
- package/dist/commands/teamwork/teammate-launch.d.ts +3 -1
- package/dist/commands/teamwork/teammate-launch.d.ts.map +1 -1
- package/dist/commands/teamwork/teammate-launch.js +7 -5
- package/dist/commands/teamwork/teammate-launch.js.map +1 -1
- package/dist/commands/teamwork/workers.d.ts +8 -0
- package/dist/commands/teamwork/workers.d.ts.map +1 -0
- package/dist/commands/teamwork/workers.js +67 -0
- package/dist/commands/teamwork/workers.js.map +1 -0
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +109 -55
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +5 -7
- package/dist/commands/workflow.js.map +1 -1
- package/dist/configurators/codebuddy.d.ts +1 -8
- package/dist/configurators/codebuddy.d.ts.map +1 -1
- package/dist/configurators/codebuddy.js +2 -12
- package/dist/configurators/codebuddy.js.map +1 -1
- package/dist/configurators/codex.d.ts +0 -36
- package/dist/configurators/codex.d.ts.map +1 -1
- package/dist/configurators/codex.js +2 -99
- package/dist/configurators/codex.js.map +1 -1
- package/dist/configurators/copilot.d.ts +1 -12
- package/dist/configurators/copilot.d.ts.map +1 -1
- package/dist/configurators/copilot.js +2 -20
- package/dist/configurators/copilot.js.map +1 -1
- package/dist/configurators/cursor.d.ts +1 -8
- package/dist/configurators/cursor.d.ts.map +1 -1
- package/dist/configurators/cursor.js +2 -12
- package/dist/configurators/cursor.js.map +1 -1
- package/dist/configurators/droid.d.ts +1 -8
- package/dist/configurators/droid.d.ts.map +1 -1
- package/dist/configurators/droid.js +2 -12
- package/dist/configurators/droid.js.map +1 -1
- package/dist/configurators/dsh.d.ts +1 -21
- package/dist/configurators/dsh.d.ts.map +1 -1
- package/dist/configurators/dsh.js +4 -37
- package/dist/configurators/dsh.js.map +1 -1
- package/dist/configurators/gemini.d.ts +1 -16
- package/dist/configurators/gemini.d.ts.map +1 -1
- package/dist/configurators/gemini.js +3 -21
- package/dist/configurators/gemini.js.map +1 -1
- package/dist/configurators/grok.d.ts +1 -12
- package/dist/configurators/grok.d.ts.map +1 -1
- package/dist/configurators/grok.js +2 -18
- package/dist/configurators/grok.js.map +1 -1
- package/dist/configurators/kimi.d.ts +1 -21
- package/dist/configurators/kimi.d.ts.map +1 -1
- package/dist/configurators/kimi.js +2 -38
- package/dist/configurators/kimi.js.map +1 -1
- package/dist/configurators/kiro.d.ts +1 -9
- package/dist/configurators/kiro.d.ts.map +1 -1
- package/dist/configurators/kiro.js +1 -9
- package/dist/configurators/kiro.js.map +1 -1
- package/dist/configurators/omp.d.ts.map +1 -1
- package/dist/configurators/omp.js +1 -5
- package/dist/configurators/omp.js.map +1 -1
- package/dist/configurators/pi.d.ts.map +1 -1
- package/dist/configurators/pi.js +2 -5
- package/dist/configurators/pi.js.map +1 -1
- package/dist/configurators/qoder.d.ts +1 -10
- package/dist/configurators/qoder.d.ts.map +1 -1
- package/dist/configurators/qoder.js +3 -15
- package/dist/configurators/qoder.js.map +1 -1
- package/dist/configurators/reasonix.d.ts +1 -12
- package/dist/configurators/reasonix.d.ts.map +1 -1
- package/dist/configurators/reasonix.js +3 -22
- package/dist/configurators/reasonix.js.map +1 -1
- package/dist/configurators/shared.d.ts +1 -24
- package/dist/configurators/shared.d.ts.map +1 -1
- package/dist/configurators/shared.js +5 -184
- package/dist/configurators/shared.js.map +1 -1
- package/dist/configurators/snow.d.ts +1 -20
- package/dist/configurators/snow.d.ts.map +1 -1
- package/dist/configurators/snow.js +2 -25
- package/dist/configurators/snow.js.map +1 -1
- package/dist/configurators/trae.d.ts +1 -14
- package/dist/configurators/trae.d.ts.map +1 -1
- package/dist/configurators/trae.js +3 -19
- package/dist/configurators/trae.js.map +1 -1
- package/dist/configurators/workflow.d.ts +2 -0
- package/dist/configurators/workflow.d.ts.map +1 -1
- package/dist/configurators/workflow.js +72 -56
- package/dist/configurators/workflow.js.map +1 -1
- package/dist/configurators/zcode.d.ts +1 -13
- package/dist/configurators/zcode.d.ts.map +1 -1
- package/dist/configurators/zcode.js +2 -18
- package/dist/configurators/zcode.js.map +1 -1
- package/dist/migrations/manifests/0.5.0-beta.5.json +1 -212
- package/dist/migrations/manifests/0.7.2-beta.10.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.11.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.12.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.13.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.14.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.15.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.16.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.17.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.18.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.19.json +11 -0
- package/dist/migrations/manifests/0.7.2-beta.20.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.21.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.3.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.4.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.5.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.6.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.7.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.8.json +9 -0
- package/dist/migrations/manifests/0.7.2-beta.9.json +9 -0
- package/dist/migrations/retired-native-paths.d.ts +109 -0
- package/dist/migrations/retired-native-paths.d.ts.map +1 -0
- package/dist/migrations/retired-native-paths.js +263 -0
- package/dist/migrations/retired-native-paths.js.map +1 -0
- package/dist/templates/claude/index.d.ts +1 -16
- package/dist/templates/claude/index.d.ts.map +1 -1
- package/dist/templates/claude/index.js +5 -32
- package/dist/templates/claude/index.js.map +1 -1
- package/dist/templates/claude/settings.json +0 -22
- package/dist/templates/codebuddy/index.d.ts +2 -3
- package/dist/templates/codebuddy/index.d.ts.map +1 -1
- package/dist/templates/codebuddy/index.js +2 -3
- package/dist/templates/codebuddy/index.js.map +1 -1
- package/dist/templates/codebuddy/settings.json +0 -10
- package/dist/templates/codex/config.toml +2 -19
- package/dist/templates/codex/hooks/session-start.py +25 -30
- package/dist/templates/codex/hooks.json +0 -12
- package/dist/templates/codex/index.d.ts +0 -5
- package/dist/templates/codex/index.d.ts.map +1 -1
- package/dist/templates/codex/index.js +0 -13
- package/dist/templates/codex/index.js.map +1 -1
- package/dist/templates/common/bundled-skills/trellis-decision-space-construction-and-merging/SKILL.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-decision-space-construction-and-merging/workflow.md +7 -3
- package/dist/templates/common/bundled-skills/trellis-delivery-review-and-closeout/SKILL.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-delivery-review-and-closeout/workflow.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-goal-exploration-and-requirements/SKILL.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +7 -7
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +9 -51
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +3 -15
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +1 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +4 -9
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/multi-agent-teamwork.md +6 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/spec-system.md +10 -8
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +9 -79
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +2 -4
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +3 -6
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +24 -103
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-solution-design-and-convergence/SKILL.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-solution-design-and-convergence/workflow.md +14 -5
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/SKILL.md +6 -4
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-task-planning.md +5 -9
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-writing.md +8 -0
- package/dist/templates/common/bundled-skills/trellis-task-implementation/SKILL.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-task-implementation/workflow.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +8 -1
- package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +21 -1
- package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +13 -2
- package/dist/templates/common/bundled-skills/trellis-worktree-delegation/SKILL.md +14 -0
- package/dist/templates/common/bundled-skills/trellis-worktree-delegation/workflow.md +17 -0
- package/dist/templates/common/commands/continue.md +8 -0
- package/dist/templates/common/commands/start.md +2 -0
- package/dist/templates/common/skills/before-dev.md +3 -1
- package/dist/templates/common/skills/check.md +3 -1
- package/dist/templates/common/skills/request-intake.md +5 -3
- package/dist/templates/copilot/hooks/session-start.py +11 -30
- package/dist/templates/cursor/hooks.json +0 -7
- package/dist/templates/cursor/index.d.ts +1 -11
- package/dist/templates/cursor/index.d.ts.map +1 -1
- package/dist/templates/cursor/index.js +2 -10
- package/dist/templates/cursor/index.js.map +1 -1
- package/dist/templates/droid/index.d.ts +2 -3
- package/dist/templates/droid/index.d.ts.map +1 -1
- package/dist/templates/droid/index.js +2 -3
- package/dist/templates/droid/index.js.map +1 -1
- package/dist/templates/droid/settings.json +0 -10
- package/dist/templates/dsh/DSH.md +2 -33
- package/dist/templates/dsh/index.d.ts +1 -19
- package/dist/templates/dsh/index.d.ts.map +1 -1
- package/dist/templates/dsh/index.js +2 -21
- package/dist/templates/dsh/index.js.map +1 -1
- package/dist/templates/gemini/index.d.ts +1 -11
- package/dist/templates/gemini/index.d.ts.map +1 -1
- package/dist/templates/gemini/index.js +2 -10
- package/dist/templates/gemini/index.js.map +1 -1
- package/dist/templates/kiro/agents/trellis.json +1 -1
- package/dist/templates/kiro/index.d.ts +1 -13
- package/dist/templates/kiro/index.d.ts.map +1 -1
- package/dist/templates/kiro/index.js +1 -13
- package/dist/templates/kiro/index.js.map +1 -1
- package/dist/templates/markdown/agents.md +15 -3
- package/dist/templates/markdown/index.d.ts +1 -0
- package/dist/templates/markdown/index.d.ts.map +1 -1
- package/dist/templates/markdown/index.js +1 -0
- package/dist/templates/markdown/index.js.map +1 -1
- package/dist/templates/markdown/spec/index.md.txt +20 -0
- package/dist/templates/omp/extensions/trellis/index.ts.txt +11 -51
- package/dist/templates/omp/index.d.ts +0 -2
- package/dist/templates/omp/index.d.ts.map +1 -1
- package/dist/templates/omp/index.js +1 -4
- package/dist/templates/omp/index.js.map +1 -1
- package/dist/templates/opencode/lib/session-utils.js +17 -5
- package/dist/templates/opencode/lib/trellis-context.js +12 -321
- package/dist/templates/opencode/plugins/inject-shell-session-context.js +93 -0
- package/dist/templates/opencode/plugins/inject-workflow-state.js +4 -10
- package/dist/templates/opencode/plugins/session-start.js +2 -6
- package/dist/templates/pi/extensions/trellis/index.ts.txt +8 -1432
- package/dist/templates/pi/index.d.ts +1 -2
- package/dist/templates/pi/index.d.ts.map +1 -1
- package/dist/templates/pi/index.js +2 -5
- package/dist/templates/pi/index.js.map +1 -1
- package/dist/templates/qoder/index.d.ts +2 -3
- package/dist/templates/qoder/index.d.ts.map +1 -1
- package/dist/templates/qoder/index.js +2 -3
- package/dist/templates/qoder/index.js.map +1 -1
- package/dist/templates/shared-hooks/guard-teamwork-wait.py +118 -12
- package/dist/templates/shared-hooks/index.d.ts +2 -56
- package/dist/templates/shared-hooks/index.d.ts.map +1 -1
- package/dist/templates/shared-hooks/index.js +3 -70
- package/dist/templates/shared-hooks/index.js.map +1 -1
- package/dist/templates/shared-hooks/inject-spec-context.py +6 -35
- package/dist/templates/shared-hooks/inject-workflow-state.py +18 -77
- package/dist/templates/shared-hooks/session-start.py +8 -6
- package/dist/templates/snow/SNOW.md +6 -18
- package/dist/templates/snow/hooks/write-trellis-context.py +51 -133
- package/dist/templates/snow/index.d.ts +2 -21
- package/dist/templates/snow/index.d.ts.map +1 -1
- package/dist/templates/snow/index.js +3 -24
- package/dist/templates/snow/index.js.map +1 -1
- package/dist/templates/template-utils.d.ts +1 -2
- package/dist/templates/template-utils.d.ts.map +1 -1
- package/dist/templates/template-utils.js +1 -11
- package/dist/templates/template-utils.js.map +1 -1
- package/dist/templates/trae/index.d.ts +2 -3
- package/dist/templates/trae/index.d.ts.map +1 -1
- package/dist/templates/trae/index.js +2 -3
- package/dist/templates/trae/index.js.map +1 -1
- package/dist/templates/trellis/agents/delegated-worktree-primary-agent.md +20 -22
- package/dist/templates/trellis/agents/teammate.md +6 -2
- package/dist/templates/trellis/agents/worktree-delegation-node.md +24 -0
- package/dist/templates/trellis/config.yaml +7 -36
- package/dist/templates/trellis/gitignore.txt +4 -0
- package/dist/templates/trellis/index.d.ts +1 -0
- package/dist/templates/trellis/index.d.ts.map +1 -1
- package/dist/templates/trellis/index.js +3 -0
- package/dist/templates/trellis/index.js.map +1 -1
- package/dist/templates/trellis/scripts/common/active_task.py +23 -31
- package/dist/templates/trellis/scripts/common/config.py +1 -36
- package/dist/templates/trellis/scripts/common/git_context.py +13 -4
- package/dist/templates/trellis/scripts/common/io.py +2 -2
- package/dist/templates/trellis/scripts/common/packages_context.py +29 -1
- package/dist/templates/trellis/scripts/common/session_context.py +25 -50
- package/dist/templates/trellis/scripts/common/task_context.py +5 -3
- package/dist/templates/trellis/scripts/common/task_continuity.py +42 -9
- package/dist/templates/trellis/scripts/common/task_move.py +2 -2
- package/dist/templates/trellis/scripts/common/task_runtime.py +211 -0
- package/dist/templates/trellis/scripts/common/task_store.py +8 -78
- package/dist/templates/trellis/scripts/common/task_workflow.py +9 -26
- package/dist/templates/trellis/scripts/common/workflow_phase.py +3 -36
- package/dist/templates/trellis/scripts/common/workflow_selection.py +12 -2
- package/dist/templates/trellis/scripts/common/worktree_delegation.py +603 -0
- package/dist/templates/trellis/scripts/task.py +41 -2
- package/dist/templates/trellis/workflow.md +25 -10
- package/dist/templates/zcode/config.json +0 -10
- package/dist/templates/zcode/index.d.ts +3 -22
- package/dist/templates/zcode/index.d.ts.map +1 -1
- package/dist/templates/zcode/index.js +3 -24
- package/dist/templates/zcode/index.js.map +1 -1
- package/dist/types/ai-tools.d.ts +0 -4
- package/dist/types/ai-tools.d.ts.map +1 -1
- package/dist/types/ai-tools.js +4 -109
- package/dist/types/ai-tools.js.map +1 -1
- package/dist/utils/ablation-store.d.ts.map +1 -1
- package/dist/utils/ablation-store.js +24 -0
- package/dist/utils/ablation-store.js.map +1 -1
- package/dist/utils/asset-backup.d.ts.map +1 -1
- package/dist/utils/asset-backup.js +25 -20
- package/dist/utils/asset-backup.js.map +1 -1
- package/dist/utils/file-writer.d.ts +2 -0
- package/dist/utils/file-writer.d.ts.map +1 -1
- package/dist/utils/file-writer.js +1 -1
- package/dist/utils/file-writer.js.map +1 -1
- package/dist/utils/managed-markdown.d.ts +5 -0
- package/dist/utils/managed-markdown.d.ts.map +1 -0
- package/dist/utils/managed-markdown.js +64 -0
- package/dist/utils/managed-markdown.js.map +1 -0
- package/dist/utils/managed-removal.d.ts +2 -0
- package/dist/utils/managed-removal.d.ts.map +1 -1
- package/dist/utils/managed-removal.js +26 -2
- package/dist/utils/managed-removal.js.map +1 -1
- package/dist/utils/manifest-prune.d.ts.map +1 -1
- package/dist/utils/manifest-prune.js +5 -12
- package/dist/utils/manifest-prune.js.map +1 -1
- package/dist/utils/retired-native-assets.d.ts +17 -0
- package/dist/utils/retired-native-assets.d.ts.map +1 -0
- package/dist/utils/retired-native-assets.js +235 -0
- package/dist/utils/retired-native-assets.js.map +1 -0
- package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
- package/dist/utils/uninstall-scrubbers.js +6 -12
- package/dist/utils/uninstall-scrubbers.js.map +1 -1
- package/package.json +2 -2
- package/dist/templates/claude/agents/trellis-check.md +0 -115
- package/dist/templates/claude/agents/trellis-implement.md +0 -110
- package/dist/templates/claude/agents/trellis-research.md +0 -137
- package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
- package/dist/templates/codebuddy/agents/trellis-implement.md +0 -110
- package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
- package/dist/templates/codex/agents/trellis-check.toml +0 -56
- package/dist/templates/codex/agents/trellis-implement.toml +0 -37
- package/dist/templates/codex/agents/trellis-research.toml +0 -78
- package/dist/templates/cursor/agents/trellis-check.md +0 -114
- package/dist/templates/cursor/agents/trellis-implement.md +0 -109
- package/dist/templates/cursor/agents/trellis-research.md +0 -136
- package/dist/templates/droid/droids/trellis-check.md +0 -107
- package/dist/templates/droid/droids/trellis-implement.md +0 -102
- package/dist/templates/droid/droids/trellis-research.md +0 -137
- package/dist/templates/dsh/agents/trellis-check.md +0 -99
- package/dist/templates/dsh/agents/trellis-implement.md +0 -106
- package/dist/templates/dsh/agents/trellis-research.md +0 -134
- package/dist/templates/gemini/agents/trellis-check.md +0 -107
- package/dist/templates/gemini/agents/trellis-implement.md +0 -102
- package/dist/templates/gemini/agents/trellis-research.md +0 -136
- package/dist/templates/grok/agents/trellis-check.md +0 -105
- package/dist/templates/grok/agents/trellis-implement.md +0 -116
- package/dist/templates/grok/agents/trellis-research.md +0 -146
- package/dist/templates/grok/index.d.ts +0 -16
- package/dist/templates/grok/index.d.ts.map +0 -1
- package/dist/templates/grok/index.js +0 -19
- package/dist/templates/grok/index.js.map +0 -1
- package/dist/templates/kimi/agents/trellis-check.md +0 -103
- package/dist/templates/kimi/agents/trellis-implement.md +0 -115
- package/dist/templates/kimi/agents/trellis-research.md +0 -144
- package/dist/templates/kimi/index.d.ts +0 -20
- package/dist/templates/kimi/index.d.ts.map +0 -1
- package/dist/templates/kimi/index.js +0 -23
- package/dist/templates/kimi/index.js.map +0 -1
- package/dist/templates/kiro/agents/trellis-check.json +0 -26
- package/dist/templates/kiro/agents/trellis-implement.json +0 -26
- package/dist/templates/kiro/agents/trellis-research.json +0 -30
- package/dist/templates/omp/agents/trellis-check.md +0 -41
- package/dist/templates/omp/agents/trellis-implement.md +0 -45
- package/dist/templates/omp/agents/trellis-research.md +0 -30
- package/dist/templates/opencode/agents/trellis-check.md +0 -122
- package/dist/templates/opencode/agents/trellis-implement.md +0 -118
- package/dist/templates/opencode/agents/trellis-research.md +0 -145
- package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -569
- package/dist/templates/pi/agents/trellis-check.md +0 -37
- package/dist/templates/pi/agents/trellis-implement.md +0 -42
- package/dist/templates/pi/agents/trellis-research.md +0 -25
- package/dist/templates/qoder/agents/trellis-check.md +0 -108
- package/dist/templates/qoder/agents/trellis-implement.md +0 -103
- package/dist/templates/qoder/agents/trellis-research.md +0 -137
- package/dist/templates/reasonix/agents/trellis-check.md +0 -36
- package/dist/templates/reasonix/agents/trellis-implement.md +0 -41
- package/dist/templates/reasonix/index.d.ts +0 -13
- package/dist/templates/reasonix/index.d.ts.map +0 -1
- package/dist/templates/reasonix/index.js +0 -16
- package/dist/templates/reasonix/index.js.map +0 -1
- package/dist/templates/shared-hooks/inject-subagent-context.py +0 -1217
- package/dist/templates/snow/agents/trellis-check.md +0 -135
- package/dist/templates/snow/agents/trellis-implement.md +0 -153
- package/dist/templates/snow/agents/trellis-research.md +0 -114
- package/dist/templates/snow/hooks/beforeSubAgentStart.json +0 -15
- package/dist/templates/trae/agents/trellis-check.md +0 -108
- package/dist/templates/trae/agents/trellis-implement.md +0 -103
- package/dist/templates/trae/agents/trellis-research.md +0 -137
- package/dist/templates/zcode/agents/trellis-check.md +0 -109
- package/dist/templates/zcode/agents/trellis-implement.md +0 -111
- package/dist/templates/zcode/agents/trellis-research.md +0 -133
|
@@ -5,6 +5,8 @@ description: 当前任务进入决策空间构造与归并阶段时,整理实
|
|
|
5
5
|
|
|
6
6
|
# 决策空间构造与归并阶段
|
|
7
7
|
|
|
8
|
+
有证据的架构摩擦、具体接口权衡或重复过程设计,可采用宿主已声明的相应方法;跨方法组合不清时按需使用可用总路由。候选足够即返回本阶段,不扩成无关审计,不以方法替代用户决定或阶段接受。
|
|
9
|
+
|
|
8
10
|
当 `current_phase_id` 为 `decision_space_construction_and_merging` 时使用。阅读本 Skill 同目录的 `workflow.md`,并基于已确认且仍有效的需求基线工作。
|
|
9
11
|
|
|
10
12
|
决策空间构造与归并阶段负责展示和归并决策空间,不代替用户锁定保留决定。简单问题使用清单或比较表;只有前置选择或条件会改变后续选项时才建立决策树。阶段结果由 Trellis CLI 接受;无实质候选差异时可按证据跳过本阶段。
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
需要构造时,梳理决策项及其权限、候选、重要排除项与理由;按需补齐证据、适用约束、标准、阈值、依赖、影响和优先级。证据足够时给出推荐;证据不足则保留未知或待决项,不伪造结论。仅当选择之间存在条件依赖时使用决策树,并标明分支条件、来源、未知路径及其下游影响。互斥、共享依赖或汇合关系可用依赖图;独立候选用比较表或清单即可。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
候选尚未覆盖实质选择时,从不同机制、责任边界或运作方式拓宽,而非只列同一做法的参数变体;适用时纳入维持现状或不做。再以已确认约束、当前实现、外部先例及必要的有界探针筛选,区分不可行、代价较高与证据不足,保留排除理由及依赖后果。移交前还应完成下述重要默认与遗漏分支核对;不凑候选数量,不在没有新证据时追加轮次。目标变化回第一阶段,用户保留决定整理给第三阶段,不由辅助 Skill 提前锁定。
|
|
8
8
|
|
|
9
9
|
新颖机制、重大重构、跨组件边界变化或关键取舍缺少可信本地先例时,进行有界的 `prior-art review`,记录适用性与采纳或排除理由。只读 Teamwork 可按需补充证据;主代理核验报告后归并。将 `DecisionSpace` 或有据跳过记录交由 Trellis CLI 接受,待用户决定交由解决方案设计与收敛阶段处理。
|
|
10
10
|
|
|
11
|
+
移交前,从当前目标的实际使用、失败或交付场景挑战重要默认假设,检查候选之外是否仍有会改变行为、责任或验收的分支。可查事实由代理补证,真实用户取舍交第三阶段处理;尚未满足前置或暂不能精确表述的未知,说明影响哪个决定及后续处理,不能因当前无就绪问题就当作已解决。在现有产物简短保留关键发现、排除依据和未决项的移交方式;重要选择可比较且未知已有处置路径时停止,不穷举理论分支,也不把每个默认都变成用户问题。
|
|
12
|
+
|
|
11
13
|
```mermaid
|
|
12
14
|
flowchart TD
|
|
13
15
|
input["核对已确认且仍有效的需求基线"] --> material{"差异或条件分支会改变交付、验收、风险或下游选择?"}
|
|
@@ -26,8 +28,9 @@ flowchart TD
|
|
|
26
28
|
merge --> representation{"候选关系需要条件分支吗?"}
|
|
27
29
|
representation -->|"是"| tree["建立可追溯决策树并标明相关未知路径"]
|
|
28
30
|
representation -->|"否"| simple["使用清单、比较表或适用的依赖图"]
|
|
29
|
-
tree -->
|
|
30
|
-
simple -->
|
|
31
|
+
tree --> challenge["用当前任务场景挑战重要默认,检查遗漏分支与未知处置"]
|
|
32
|
+
simple --> challenge
|
|
33
|
+
challenge --> assess["核对证据、覆盖范围、关系与当前 revision"]
|
|
31
34
|
assess -->|"目标或范围变化"| goal_exploration_and_requirements["回到目标探索与需求核对阶段,更新基线"]
|
|
32
35
|
assess -->|"证据或候选仍有缺口"| items
|
|
33
36
|
assess -->|"可供方案收敛"| output["Trellis CLI 接受 DecisionSpace"]
|
|
@@ -40,3 +43,4 @@ flowchart TD
|
|
|
40
43
|
- 有实质决策空间时,候选、关键证据、关系、未知项和推荐均能支持下一阶段比较;不要求固定字段数量或同时使用多种图表。
|
|
41
44
|
- 无实质差异时,跳过记录须能说明当前基线、判断依据和重新进入条件。
|
|
42
45
|
- 保留用户决定不在本阶段锁定;外部参考不替代项目事实或用户选择。
|
|
46
|
+
- 已检查影响当前目标的重要默认和遗漏分支,关键未知有受影响决定及移交路径;没有就绪问题不单独构成退出依据。
|
|
@@ -5,6 +5,8 @@ description: 当前任务进入交付审查与现场收尾阶段时,核对当
|
|
|
5
5
|
|
|
6
6
|
# 交付审查与现场收尾阶段
|
|
7
7
|
|
|
8
|
+
按交付风险采用宿主已声明的质量与语言检查方法;只有实际执行摩擦或优化目标才复盘。清理、知识保存及正式交接分别核对真实意图、授权与 owner,不因收尾自动执行。方法产物返回本阶段,不替代交付接受或任务完成。
|
|
9
|
+
|
|
8
10
|
当 `current_phase_id` 为 `delivery_review_and_closeout` 时使用。阅读本 Skill 同目录的 `workflow.md`,只审查当前路线和 revision 下的交付,不在本阶段重新设计或实施。
|
|
9
11
|
|
|
10
12
|
本阶段核验交付与合同、接受条件、工作包、集成、验证、未结发现和资源事实。当前合同内缺口按最早受影响阶段回流或暂停;合同外遗留应记录责任方、触发条件、影响和后续引用。满足交付条件后由 Trellis CLI 接受;只有明确撤回才进入取消处置。会话交接包是独立附加操作,不是阶段或任务收尾的前置条件。
|
package/dist/templates/common/bundled-skills/trellis-delivery-review-and-closeout/workflow.md
CHANGED
|
@@ -53,3 +53,5 @@ flowchart TD
|
|
|
53
53
|
### 与会话交接的边界
|
|
54
54
|
|
|
55
55
|
正式会话交接包仅在用户明确要求时按其独立 Skill 处理。它不改变阶段、路线或任务状态,也不是 `delivery_ready`、`complete` 或 `cancel` 的前置条件。
|
|
56
|
+
|
|
57
|
+
完成或取消不会删除任务证据。退役的空业务 session、旧提示缓存和旧锁先用 `task.py runtime [<task>]` 预览,核验当前用途、writer 协议和指纹后按精确摘要确认;固定锁、有效控制记录、未知字段和恢复材料保留。Teamwork 证据按其原生命令审查引用与用途;交接包及其生命周期材料按 handoff owner 的独立合同处理。历史引用缺失、空锁或零运行成员都不能单独证明资产可删。
|
package/dist/templates/common/bundled-skills/trellis-goal-exploration-and-requirements/SKILL.md
CHANGED
|
@@ -5,6 +5,8 @@ description: 当前任务处于目标探索与需求核对阶段时,核对目
|
|
|
5
5
|
|
|
6
6
|
# 目标探索与需求核对阶段
|
|
7
7
|
|
|
8
|
+
根据当前问题选择宿主可用方法:重要用户取舍、零散素材、学习目标或理解障碍分别采用适用方法,不要求用户点名。只加载相关入口,产物返回本阶段;可选方法缺席不阻断原生流程,也不替代需求确认。
|
|
9
|
+
|
|
8
10
|
当 Trellis 任务的 `current_phase_id` 为 `goal_exploration_and_requirements` 时使用。先阅读本 Skill 同目录的 `workflow.md`,再按当前项目事实选择必要的探索深度和证据来源。
|
|
9
11
|
|
|
10
12
|
阶段产物和用户确认通过 Trellis CLI 记录。离开本阶段前,必须由用户明确确认绑定当前 `artifact_revision` 的目标与需求基线;只要求修订或尚未确认时,继续停留在本阶段。确认不等于最终方案批准或实施授权。
|
|
@@ -37,7 +37,7 @@ Do not assume the user has the Trellis source repository. Do not default to modi
|
|
|
37
37
|
- `references/local-architecture/task-system.md`: Task directories, active task, JSONL context, parent/child task trees, and task runtime.
|
|
38
38
|
- `references/local-architecture/spec-system.md`: How `.trellis/spec/` is organized, injected, and refreshed from a `registry.spec` source.
|
|
39
39
|
- `references/local-architecture/workspace-memory.md`: `.trellis/workspace/` journals plus `trellis mem` cross-session recall and the `@pennixrv/trellis-core/mem` SDK.
|
|
40
|
-
- `references/local-architecture/context-injection.md`:
|
|
40
|
+
- `references/local-architecture/context-injection.md`: Main-session hooks, task context, and Teamwork message inbox routing.
|
|
41
41
|
- `references/local-architecture/multi-agent-teamwork.md`: `trellis teamwork`, Teamwork Session storage, teammate process guard, task ownership boundary, and bundled `.trellis/agents/` runtime instructions.
|
|
42
42
|
- `references/local-architecture/bundled-skills.md`: Bundled skills under `packages/cli/src/templates/common/bundled-skills/` and how `getBundledSkillTemplates()` ships them to platform skill roots.
|
|
43
43
|
|
|
@@ -45,8 +45,8 @@ Do not assume the user has the Trellis source repository. Do not default to modi
|
|
|
45
45
|
|
|
46
46
|
- `references/platform-files/overview.md`: How shared `.trellis/` files relate to platform directories and the three platform integration modes (hook-driven, agent prelude, main-session workflow).
|
|
47
47
|
- `references/platform-files/platform-map.md`: Platform directories and paths for skills, agents, hooks, and extensions across all supported platforms including DeepSeek Harness, Reasonix, and Pi's native `trellis_subagent` extension.
|
|
48
|
-
- `references/platform-files/hooks-and-settings.md`: How settings/config files, hooks, plugins, and extensions connect to Trellis; covers `teamwork.teammate_guard.*` and
|
|
49
|
-
- `references/platform-files/agents.md`:
|
|
48
|
+
- `references/platform-files/hooks-and-settings.md`: How settings/config files, hooks, plugins, and extensions connect to Trellis; covers `teamwork.teammate_guard.*` and main-session context.
|
|
49
|
+
- `references/platform-files/agents.md`: Teamwork role cards, Paseo node methods, and the Kiro main-session entry.
|
|
50
50
|
- `references/platform-files/skills-and-commands.md`: Differences between skills, commands, prompts, and workflows, plus how to change them.
|
|
51
51
|
|
|
52
52
|
### Local Customization
|
|
@@ -56,7 +56,7 @@ Do not assume the user has the Trellis source repository. Do not default to modi
|
|
|
56
56
|
- `references/customize-local/change-task-lifecycle.md`: Change task creation, lifecycle and phase state, parent/child links, and lifecycle hooks.
|
|
57
57
|
- `references/customize-local/change-context-loading.md`: Change how tasks, specs, journals, hook context, Teamwork inbox messages, and `trellis mem` recall are loaded.
|
|
58
58
|
- `references/customize-local/change-hooks.md`: Change platform hooks, settings, task lifecycle hooks (`hooks.after_*`), and shell session bridges.
|
|
59
|
-
- `references/customize-local/change-agents.md`: Change
|
|
59
|
+
- `references/customize-local/change-agents.md`: Change Teamwork read-only profiles and Paseo implementation node methods.
|
|
60
60
|
- `references/customize-local/change-skills-or-commands.md`: Add or modify local skills, commands, prompts, and workflows; covers upstream bundled-skill auto-dispatch.
|
|
61
61
|
- `references/customize-local/change-spec-structure.md`: Adjust the project spec structure under `.trellis/spec/`, including registry-backed sources.
|
|
62
62
|
- `references/customize-local/add-project-local-conventions.md`: Put team rules into project-local specs or local skills.
|
|
@@ -64,11 +64,11 @@ Do not assume the user has the Trellis source repository. Do not default to modi
|
|
|
64
64
|
## Current Rules
|
|
65
65
|
|
|
66
66
|
- `.trellis/workflow.md` is the local workflow source of truth. By default, `trellis init` writes the bundled `native` workflow; a custom workflow is available only when its source is explicitly supplied, and can be re-selected via `trellis workflow --template <id> --workflow-source <source>`. Missing `.trellis/agents/<name>.md` files referenced by the active template trigger a non-blocking stderr warning pointing at `trellis update`.
|
|
67
|
-
- `.trellis/config.yaml` is the project-level Trellis configuration entry point. It hosts task lifecycle hooks (`hooks.after_create` / `after_start` / `after_finish`), journal shape (`session_commit_message` / `max_journal_lines` / `session_auto_commit`), Teamwork teammate guard (`teamwork.teammate_guard.idle_timeout` / `max_live_teammates`),
|
|
67
|
+
- `.trellis/config.yaml` is the project-level Trellis configuration entry point. It hosts task lifecycle hooks (`hooks.after_create` / `after_start` / `after_finish`), journal shape (`session_commit_message` / `max_journal_lines` / `session_auto_commit`), Teamwork teammate guard (`teamwork.teammate_guard.idle_timeout` / `max_live_teammates`), the spec registry block (`registry.spec.source` + `registry.spec.template`).
|
|
68
68
|
- `.trellis/spec/` stores the user's project-specific coding conventions and design constraints. When `registry.spec` is set, files are refreshed by `trellis update`; local edits surface as `modified by user` conflicts in `.trellis/.template-hashes.json`.
|
|
69
69
|
- `.trellis/tasks/` stores task records, planning artifacts, research, and JSONL context. Tasks follow their status directory: planning, in_progress, completed/YYYY-MM, or cancelled. Native relocation preserves identity and history and updates machine references transactionally. Tasks form parent/child trees through `task.py create --parent`, `add-subtask`, `remove-subtask`, and `list-context`.
|
|
70
70
|
- `.trellis/workspace/` stores **deliberately written** developer journals. Raw cross-session dialogue is **not** stored here — it lives on disk under `~/.claude/projects/`, `~/.codex/sessions/`, and `~/.pi/agent/sessions/` and is recovered via `trellis mem search|extract|context`. The bundled `trellis-session-insight` skill teaches when to reach for `mem`.
|
|
71
|
-
- `.trellis/agents/teammate.md` is the bundled, platform-agnostic instruction card loaded for a teammate by `trellis teamwork spawn --agent teammate`. Editable; `trellis update` backfills it if missing.
|
|
71
|
+
- `.trellis/agents/teammate.md` is the bundled, platform-agnostic instruction card loaded for a teammate by `trellis teamwork spawn --agent teammate`. Editable; `trellis update` backfills it if missing.
|
|
72
72
|
- `~/.trellis/teamwork/<project>/<session>/events.jsonl` is the Teamwork Session event log. User-owned, file-locked sequence numbering, durable `idempotencyKey` support; never under `.trellis/`.
|
|
73
73
|
- Directories under `packages/cli/src/templates/common/bundled-skills/` are auto-dispatched to platform skill roots by `getBundledSkillTemplates()` in `packages/cli/src/templates/common/index.ts`. Adding a directory there is enough for the shared loader to include it on the next `trellis init` or `trellis update`.
|
|
74
74
|
- Platform settings/config files decide which hooks, agents, skills, commands, prompts, and workflows actually run. Reasonix has no settings file — behavior is encoded inside skill frontmatter.
|
|
@@ -81,5 +81,5 @@ Do not assume the user has the Trellis source repository. Do not default to modi
|
|
|
81
81
|
- Do not overwrite user-modified local files with default templates; check `.trellis/.template-hashes.json` first and prefer `.new` sidecar files over destructive overwrites.
|
|
82
82
|
- Do not put team-private project rules into a public bundled skill; put project rules in `.trellis/spec/`, a project-local skill, the current task, or the workspace journal — `trellis update` will overwrite anything inside a bundled skill directory.
|
|
83
83
|
- Do not hand-edit `~/.trellis/teamwork/<project>/<session>/events.jsonl`; sequence numbers are assigned under a file lock and replay-safe writes go through the `trellis teamwork` CLI or the `@pennixrv/trellis-core/teamwork` SDK.
|
|
84
|
-
-
|
|
84
|
+
- Teamwork behavior belongs in `.trellis/agents/teammate.md` and profiles; Paseo implementation behavior belongs in its node methods. The main session owns task decisions and integration.
|
|
85
85
|
- Do not describe removed or never-shipped mechanisms as current Trellis behavior; cross-check against the local `.trellis/config.yaml` and the installed CLI's `trellis --help` before claiming a knob exists.
|
|
@@ -1,56 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 调整项目协作角色
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
主会话负责需求、决策、授权、集成和结果接受。协作只有两类,各自由原生 owner 管理:
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
| 机制与实例 | 适用工作 | 项目资产与入口 |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| trellis teamwork / trellis teammates | 明确工作包的只读研究、审查与验证 | `.trellis/agents/teammate.md`、`teammate-profiles.json`、`profiles/`;使用 `trellis-teamwork` |
|
|
8
|
+
| paseo-based-parallelism / paseo delegated-agent | 已授权实施阶段的完整实施结果包 | `.trellis/agents/delegated-worktree-primary-agent.md`、`worktree-delegation-node.md`;使用 `trellis-worktree-delegation` |
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
2. `.trellis/workflow.md` Decision Space Construction and Consolidation Phase / research routing
|
|
9
|
-
3. Current task `prd.md`
|
|
10
|
-
4. Current task `implement.jsonl` / `check.jsonl`
|
|
11
|
-
5. Relevant hook or agent prelude
|
|
10
|
+
修改前读取当前任务合同、目标角色文件和对应 Skill 的原生说明。角色卡描述职责、输入、写入边界和报告格式;任务状态、接受与授权仍由 Task CLI 管理。节点收到明确工作包后执行,遇到缺失输入或权限冲突向主会话报告,由主会话处理用户决策。
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
工程规范写入 `.trellis/spec/`;可复用方法写入 Skills。可选 JSONL 只是上下文清单,存在清单不授权协作。禁止通过宿主角色文件、裸 CLI 进程或历史启动记录另建派发路线。
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
| --- | --- |
|
|
17
|
-
| Claude Code | `.claude/agents/trellis-*.md` |
|
|
18
|
-
| Cursor | `.cursor/agents/trellis-*.md` |
|
|
19
|
-
| OpenCode | `.opencode/agents/trellis-*.md` |
|
|
20
|
-
| Codex | `.codex/agents/trellis-*.toml` |
|
|
21
|
-
| Kiro | `.kiro/agents/trellis-*.json` |
|
|
22
|
-
| Gemini CLI | `.gemini/agents/trellis-*.md` |
|
|
23
|
-
| Qoder | `.qoder/agents/trellis-*.md` |
|
|
24
|
-
| CodeBuddy | `.codebuddy/agents/trellis-*.md` |
|
|
25
|
-
| Factory Droid | `.factory/droids/trellis-*.md` |
|
|
26
|
-
| Pi Agent | `.pi/agents/trellis-*.md` |
|
|
27
|
-
| Reasonix | `.reasonix/skills/trellis-*/SKILL.md` (subagent frontmatter) |
|
|
28
|
-
| ZCode | `.zcode/agents/trellis-*.md` |
|
|
29
|
-
|
|
30
|
-
Use the actual paths in the user project as authoritative.
|
|
31
|
-
|
|
32
|
-
## Common Needs
|
|
33
|
-
|
|
34
|
-
| Need | Which agent to edit |
|
|
35
|
-
| --- | --- |
|
|
36
|
-
| Research must write files, not only reply in chat | `trellis-research` |
|
|
37
|
-
| Certain local specs must be read before implementation | `trellis-implement` + `implement.jsonl` configuration rules |
|
|
38
|
-
| Specific commands must run during checking | `trellis-check` |
|
|
39
|
-
| Agent must not modify certain directories | The corresponding agent's write boundary instructions |
|
|
40
|
-
| Agent output format must be fixed | The corresponding agent's final/reporting instructions |
|
|
41
|
-
|
|
42
|
-
## Modification Principles
|
|
43
|
-
|
|
44
|
-
1. **Preserve role boundaries**: research investigates and persists; implement writes implementation; check reviews and fixes.
|
|
45
|
-
2. **Do not hard-code project specs into agents**: long-term specs belong in `.trellis/spec/`; agents are responsible for reading them.
|
|
46
|
-
3. **Make read order explicit**: active task -> PRD -> info -> JSONL -> spec/research.
|
|
47
|
-
4. **Make write boundaries explicit**: which directories may be written and which may not.
|
|
48
|
-
5. **Synchronize across platforms**: when the user configured multiple platforms, decide whether to change only the current platform or all platform agents.
|
|
49
|
-
|
|
50
|
-
## Agent Pull Platforms
|
|
51
|
-
|
|
52
|
-
If an agent file contains a prelude for "read task/context after startup," do not remove those steps when editing. Otherwise the agent will work only from chat context and bypass Trellis's core mechanism.
|
|
53
|
-
|
|
54
|
-
## Hook Push Platforms
|
|
55
|
-
|
|
56
|
-
If context is injected by a hook, the agent file should still retain responsibility boundaries. Do not remove PRD/spec requirements from the agent just because a hook injects context.
|
|
14
|
+
Kiro 的 `.kiro/agents/trellis.json` 是主会话入口;普通 `trellis-check` 是检查方法 Skill。两者都不承担旧角色分发。修改安装资产必须沿所属组件的原生更新入口;只修改源模板不会更新既有项目。
|
|
@@ -32,7 +32,7 @@ Context loading determines when AI reads workflow, task, spec, research, workspa
|
|
|
32
32
|
| --- | --- |
|
|
33
33
|
| Inject more/less information in new sessions | `session_context.py` or the platform `session-start` hook. |
|
|
34
34
|
| Change hints on each user input | `[workflow-state:STATUS]` block in `.trellis/workflow.md`. The `inject-workflow-state` hook is parser-only and reads the block verbatim. |
|
|
35
|
-
|
|
|
35
|
+
| 会话没有读取规范 | 适用 spec 索引、当前阶段和可选任务 JSONL。 |
|
|
36
36
|
| Active task is lost | `active_task.py` and platform session identity propagation. |
|
|
37
37
|
| Change JSONL validation rules | `task_context.py`. |
|
|
38
38
|
|
|
@@ -56,21 +56,9 @@ If the user wants every new session to see more project state, edit:
|
|
|
56
56
|
|
|
57
57
|
Context cannot grow without bound. Prefer injecting indexes and paths so the AI can read detailed files on demand.
|
|
58
58
|
|
|
59
|
-
##
|
|
59
|
+
## 调整协作上下文
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- hook push: edit the `inject-subagent-context` hook.
|
|
64
|
-
- agent pull: edit the read steps in the corresponding `trellis-implement` / `trellis-check` agent file.
|
|
65
|
-
|
|
66
|
-
In both modes, make sure the agent ultimately reads:
|
|
67
|
-
|
|
68
|
-
1. active task
|
|
69
|
-
2. the corresponding JSONL
|
|
70
|
-
3. spec/research referenced by the JSONL
|
|
71
|
-
4. `prd.md`
|
|
72
|
-
5. `design.md` if present
|
|
73
|
-
6. `implement.md` if present
|
|
61
|
+
按 `change-agents.md` 核对机制和职责。Teamwork 修改明确工作包及原生上下文输入;Paseo 修改已授权结果包及节点合同。不要新增宿主派发入口。
|
|
74
62
|
|
|
75
63
|
## Troubleshooting Order
|
|
76
64
|
|
package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md
CHANGED
|
@@ -16,7 +16,6 @@ Hooks are the automation layer that connects a platform to Trellis. When the use
|
|
|
16
16
|
| --- | --- |
|
|
17
17
|
| session-start | Injects a Trellis overview when a session starts, clears, or compacts. |
|
|
18
18
|
| workflow-state | Injects a state hint on each user input. |
|
|
19
|
-
| sub-agent context | Injects PRD/spec/research before an agent starts. |
|
|
20
19
|
| shell session bridge | Lets `task.py` commands in shell see the same session identity. |
|
|
21
20
|
|
|
22
21
|
## Modification Steps
|
|
@@ -47,7 +46,7 @@ python3 ./.trellis/scripts/task.py current --source
|
|
|
47
46
|
python3 ./.trellis/scripts/task.py validate <task>
|
|
48
47
|
```
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
任务和可选 JSONL 正确时,继续检查当前会话身份及对应机制的原生工作包输入。Hook 负责主会话接入;协作角色由 `change-agents.md` 所列 owner 管理。
|
|
51
50
|
|
|
52
51
|
## Notes
|
|
53
52
|
|
|
@@ -30,14 +30,9 @@ workflow-state is a lightweight hint injected around each user turn. Based on cu
|
|
|
30
30
|
|
|
31
31
|
If the user wants to change "what the AI should do next in a given state," edit the corresponding state block in `.trellis/workflow.md` first.
|
|
32
32
|
|
|
33
|
-
##
|
|
33
|
+
## 任务与协作上下文
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
1. **hook push**: a platform hook injects jsonl-referenced files plus `prd.md`, `design.md` if present, and `implement.md` if present before the agent starts.
|
|
38
|
-
2. **agent pull**: the agent definition instructs the agent to read the active task, jsonl context, and task artifacts after startup.
|
|
39
|
-
|
|
40
|
-
In both modes, JSONL files in the task directory are the manifest for spec/research context. Task artifacts are read separately in this order: `prd.md` -> `design.md if present` -> `implement.md if present`.
|
|
35
|
+
主会话按当前阶段读取任务资产和适用规范。`implement.jsonl`、`check.jsonl` 是按需创建的可选上下文清单,不表示执行者类型或派发许可。Teamwork 通过明确工作包和原生上下文输入消费所需内容;Paseo 节点按实施合同和节点绑定读取上下文。角色卡和 Skill 由各自 owner 维护。
|
|
41
36
|
|
|
42
37
|
## JSONL Reading Rules
|
|
43
38
|
|
|
@@ -61,8 +56,8 @@ If shell commands cannot see the same context key, `task.py current --source` ma
|
|
|
61
56
|
| --- | --- |
|
|
62
57
|
| Change session-start injected content | The platform's `session-start` hook or plugin file. |
|
|
63
58
|
| Change per-turn workflow-state rules | `[workflow-state:STATUS]` block in `.trellis/workflow.md`. The platform workflow-state hook parses these blocks verbatim and embeds no fallback text. |
|
|
64
|
-
|
|
|
59
|
+
| 调整协作上下文 | 对应工作包、原生 Teamwork 输入或 Paseo 节点合同。 |
|
|
65
60
|
| Change JSONL validation/display | `.trellis/scripts/common/task_context.py`. |
|
|
66
61
|
| Change active task resolution | `.trellis/scripts/common/active_task.py`. |
|
|
67
62
|
|
|
68
|
-
When modifying context injection, verify two things: new sessions can see the correct task, and
|
|
63
|
+
When modifying context injection, verify two things: new sessions can see the correct task, and the current session or collaboration node sees its own task artifacts/spec/research.
|
|
@@ -39,9 +39,9 @@ Different platforms generate different directories. Common categories:
|
|
|
39
39
|
|
|
40
40
|
| Category | Example paths | Purpose |
|
|
41
41
|
| --- | --- | --- |
|
|
42
|
-
| hooks | `.claude/hooks/`, `.codex/hooks/`, `.cursor/hooks/` | Inject session context, workflow-state, and
|
|
42
|
+
| hooks | `.claude/hooks/`, `.codex/hooks/`, `.cursor/hooks/` | Inject session context, workflow-state, and path-scoped specs. |
|
|
43
43
|
| settings | `.claude/settings.json`, `.codex/hooks.json`, `.qoder/settings.json`, `.trae/hooks.json` | Tell the platform when to run hooks or plugins. |
|
|
44
|
-
|
|
|
44
|
+
| 协作角色 | `.trellis/agents/` | Teamwork 只读角色和 Paseo 实施节点;平台目录不生成旧分发角色。 |
|
|
45
45
|
| skills | `.claude/skills/`, `.agents/skills/`, `.qoder/skills/`, `.zcode/skills/` | Skills that auto-trigger or can be read by AI. |
|
|
46
46
|
| commands/prompts/workflows | `.cursor/commands/`, `.github/prompts/`, `.devin/workflows/`, `.zcode/commands/` | Explicit user-invoked command or workflow entry points. |
|
|
47
47
|
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Teamwork Runtime
|
|
2
2
|
|
|
3
|
+
The mechanism is Trellis Teamwork (Trellis 团队协作); an executor is a Trellis
|
|
4
|
+
teammate, plural Trellis teammates (Trellis 团队成员). Paseo-based-parallelism
|
|
5
|
+
(Paseo 并行协作) and its Paseo delegated-agent (Paseo 委派 Agent) are separate.
|
|
6
|
+
Sessions, worktrees, nodes, attempts and work packages keep their own meanings.
|
|
7
|
+
Native commands, paths and protocol fields retain their exact identifiers.
|
|
8
|
+
|
|
3
9
|
`trellis teamwork` provides durable coordination sessions and teammate processes. Its session lifecycle is independent of the Trellis task lifecycle and phase route. A session may be associated with a task, but it never owns task status, phase state, or phase acceptance.
|
|
4
10
|
|
|
5
11
|
## Local surfaces
|
package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md
CHANGED
|
@@ -48,4 +48,4 @@ All three layers live inside the user project, so an AI can read and modify them
|
|
|
48
48
|
- To change the task model, JSONL context, or active task behavior, read `task-system.md`.
|
|
49
49
|
- To change coding convention injection, read `spec-system.md`.
|
|
50
50
|
- To understand journals and cross-session memory, read `workspace-memory.md`.
|
|
51
|
-
- To change hooks or
|
|
51
|
+
- To change hooks or collaboration context loading, read `context-injection.md`.
|
|
@@ -8,12 +8,8 @@ A common single-repository structure:
|
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
10
|
.trellis/spec/
|
|
11
|
-
├──
|
|
12
|
-
|
|
13
|
-
│ └── ...
|
|
14
|
-
├── frontend/
|
|
15
|
-
│ ├── index.md
|
|
16
|
-
│ └── ...
|
|
11
|
+
├── index.md
|
|
12
|
+
├── <actual-topic>.md
|
|
17
13
|
└── guides/
|
|
18
14
|
├── index.md
|
|
19
15
|
└── ...
|
|
@@ -23,7 +19,9 @@ A common monorepo structure:
|
|
|
23
19
|
|
|
24
20
|
```text
|
|
25
21
|
.trellis/spec/
|
|
22
|
+
├── index.md
|
|
26
23
|
├── cli/
|
|
24
|
+
│ ├── index.md
|
|
27
25
|
│ ├── backend/
|
|
28
26
|
│ │ ├── index.md
|
|
29
27
|
│ │ └── ...
|
|
@@ -39,7 +37,7 @@ A common monorepo structure:
|
|
|
39
37
|
└── ...
|
|
40
38
|
```
|
|
41
39
|
|
|
42
|
-
`index.md` is the entry
|
|
40
|
+
The root `index.md` is the common entry, followed by configured package and actual topic/layer indexes. Keep the Pre-Development Checklist and Quality Check. Existing frontend/backend or other layers remain valid when they match the project; the examples do not require those layers.
|
|
43
41
|
|
|
44
42
|
## Package Configuration
|
|
45
43
|
|
|
@@ -72,7 +70,7 @@ Before a task enters implementation, planning may write relevant specs into `imp
|
|
|
72
70
|
{"file": ".trellis/spec/cli/unit-test/conventions.md", "reason": "Test expectations"}
|
|
73
71
|
```
|
|
74
72
|
|
|
75
|
-
|
|
73
|
+
主会话按工作流读取适用规范;可选 JSONL 提供上下文引用,Teamwork 也可通过原生显式输入消费。清单不决定执行者或授权。
|
|
76
74
|
|
|
77
75
|
## What Specs Should Contain
|
|
78
76
|
|
|
@@ -100,3 +98,7 @@ When the AI learns a new rule during implementation or debugging, it should upda
|
|
|
100
98
|
## Boundaries
|
|
101
99
|
|
|
102
100
|
`.trellis/spec/` is the user's project specification, not a permanent copy of Trellis built-in templates. The AI should encourage the user to update it according to the actual project code instead of treating Trellis default templates as immutable documents.
|
|
101
|
+
|
|
102
|
+
New-project `init` prepares neutral navigation. Ordinary existing-project `init` repairs only a missing local root index, preserving existing files, package mappings and deleted topics/guides. An explicitly repeated default init also recreates a deliberately deleted root index; no deletion intent is stored. External registry sources retain their owner, and unrecognized declarations stop local preparation. Ordinary update and session startup do not trigger this repair or semantic migration.
|
|
103
|
+
|
|
104
|
+
Use the available `trellis-spec-bootstrap` to establish or refresh source-backed conventions within the authorized task. Native file preparation and unchanged fingerprints do not establish semantic readiness. Do not add a second spec state ledger.
|
package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md
CHANGED
|
@@ -1,84 +1,14 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 协作角色
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
主会话负责需求、决策、授权、集成和结果接受。协作只有两类,各自由原生 owner 管理:
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- `trellis-
|
|
5
|
+
| 机制与实例 | 适用工作 | 项目资产与入口 |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| trellis teamwork / trellis teammates | 明确工作包的只读研究、审查与验证 | `.trellis/agents/teammate.md`、`teammate-profiles.json`、`profiles/`;使用 `trellis-teamwork` |
|
|
8
|
+
| paseo-based-parallelism / paseo delegated-agent | 已授权实施阶段的完整实施结果包 | `.trellis/agents/delegated-worktree-primary-agent.md`、`worktree-delegation-node.md`;使用 `trellis-worktree-delegation` |
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
修改前读取当前任务合同、目标角色文件和对应 Skill 的原生说明。角色卡描述职责、输入、写入边界和报告格式;任务状态、接受与授权仍由 Task CLI 管理。节点收到明确工作包后执行,遇到缺失输入或权限冲突向主会话报告,由主会话处理用户决策。
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
工程规范写入 `.trellis/spec/`;可复用方法写入 Skills。可选 JSONL 只是上下文清单,存在清单不授权协作。禁止通过宿主角色文件、裸 CLI 进程或历史启动记录另建派发路线。
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
| --- | --- |
|
|
15
|
-
| `trellis-research` | Investigate the question and write findings into the current task's `research/`. |
|
|
16
|
-
| `trellis-implement` | Implement against `prd.md`, optional `design.md` / `implement.md`, `implement.jsonl`, and related spec/research. |
|
|
17
|
-
| `trellis-check` | Review changes, fix discovered issues, and run necessary checks. |
|
|
18
|
-
|
|
19
|
-
Agent files should not become generic chat prompts. They should define input sources, write boundaries, whether code may be changed, and how results are reported.
|
|
20
|
-
|
|
21
|
-
## Common Paths
|
|
22
|
-
|
|
23
|
-
| Platform | Agent path |
|
|
24
|
-
| --- | --- |
|
|
25
|
-
| Claude Code | `.claude/agents/trellis-*.md` |
|
|
26
|
-
| Cursor | `.cursor/agents/trellis-*.md` |
|
|
27
|
-
| OpenCode | `.opencode/agents/trellis-*.md` |
|
|
28
|
-
| Codex | `.codex/agents/trellis-*.toml` |
|
|
29
|
-
| Kiro | `.kiro/agents/trellis-*.json` |
|
|
30
|
-
| Gemini CLI | `.gemini/agents/trellis-*.md` |
|
|
31
|
-
| Qoder | `.qoder/agents/trellis-*.md` |
|
|
32
|
-
| CodeBuddy | `.codebuddy/agents/trellis-*.md` |
|
|
33
|
-
| Factory Droid | `.factory/droids/trellis-*.md` |
|
|
34
|
-
| Pi Agent | `.pi/agents/trellis-*.md` |
|
|
35
|
-
| Reasonix | `.reasonix/skills/trellis-*/SKILL.md` (subagent frontmatter) |
|
|
36
|
-
| ZCode | `.zcode/agents/trellis-*.md` |
|
|
37
|
-
| Kimi Code | `.kimi-code/skills/trellis-*/SKILL.md` (agent prompts as skills, dispatched to the built-in `coder`; research needs its file-editing tools to persist findings) |
|
|
38
|
-
| DeepSeek Harness | `.dsh/skills/trellis-agent-*/SKILL.md` (role prompts as child-only skills; optional `trellis_wait` enables continuable background settlement; without it, dispatch every child with `run_in_background: false` from the outset) |
|
|
39
|
-
|
|
40
|
-
GitHub Copilot agent/prompt support is provided by a combination of directories such as `.github/agents/`, `.github/prompts/`, and `.github/skills/`; inspect the files actually generated in the user project.
|
|
41
|
-
|
|
42
|
-
Main-session workflow platforms such as Kilo, Antigravity, and Devin may not have Trellis sub-agent files. They usually rely on workflows/skills to guide the main session.
|
|
43
|
-
|
|
44
|
-
## Two Context Loading Modes
|
|
45
|
-
|
|
46
|
-
### hook push
|
|
47
|
-
|
|
48
|
-
The platform hook injects task context before the agent starts. The agent file itself can focus more on responsibilities and boundaries.
|
|
49
|
-
|
|
50
|
-
Common on platforms that support agent hooks.
|
|
51
|
-
|
|
52
|
-
### agent pull
|
|
53
|
-
|
|
54
|
-
The agent file instructs the agent to read after startup:
|
|
55
|
-
|
|
56
|
-
- `python3 ./.trellis/scripts/task.py current --source`
|
|
57
|
-
- `implement.jsonl` or `check.jsonl`
|
|
58
|
-
- spec/research files referenced by JSONL
|
|
59
|
-
- current task `prd.md`
|
|
60
|
-
- `design.md` if present
|
|
61
|
-
- `implement.md` if present
|
|
62
|
-
|
|
63
|
-
This mode fits platforms whose hooks cannot reliably rewrite sub-agent prompts.
|
|
64
|
-
|
|
65
|
-
## Local Change Scenarios
|
|
66
|
-
|
|
67
|
-
| User need | Edit location |
|
|
68
|
-
| --- | --- |
|
|
69
|
-
| Implement agent must follow extra restrictions | The platform's `trellis-implement` agent file. |
|
|
70
|
-
| Check agent must run project-specific commands | `trellis-check` agent file, and `.trellis/spec/` if needed. |
|
|
71
|
-
| Research agent must output a fixed format | `trellis-research` agent file. |
|
|
72
|
-
| Agent cannot read task context | Agent prelude or `inject-subagent-context` hook. |
|
|
73
|
-
| Add a project-specific agent | Platform agent directory + related workflow/command/skill entry point. |
|
|
74
|
-
|
|
75
|
-
## Modification Principles
|
|
76
|
-
|
|
77
|
-
1. **Keep responsibilities single-purpose**. Do not mix research, implement, and check responsibilities into one agent.
|
|
78
|
-
2. **Specify the read order**. Agents must know to start from the active task, read jsonl/spec context, then read `prd.md`, `design.md` if present, and `implement.md` if present.
|
|
79
|
-
3. **Specify write boundaries**. Research usually only writes `research/`; implement can write code; check can fix issues.
|
|
80
|
-
4. **Keep semantics synchronized in multi-platform projects**. If the user configured Claude, Codex, and Cursor together, decide whether changes to one platform's agent also need to be applied to others.
|
|
81
|
-
|
|
82
|
-
## Do Not Default To Editing Upstream Templates
|
|
83
|
-
|
|
84
|
-
Local AI should default to modifying platform agent files inside the user project. Discuss upstream template source only when the user explicitly wants to contribute the change back to Trellis.
|
|
14
|
+
Kiro 的 `.kiro/agents/trellis.json` 是主会话入口;普通 `trellis-check` 是检查方法 Skill。两者都不承担旧角色分发。修改安装资产必须沿所属组件的原生更新入口;只修改源模板不会更新既有项目。
|
|
@@ -8,7 +8,6 @@ settings/config files usually register:
|
|
|
8
8
|
|
|
9
9
|
- session-start hook: injects a Trellis overview when a new session starts or context resets.
|
|
10
10
|
- workflow-state hook: parses `[workflow-state:STATUS]` blocks from `.trellis/workflow.md` and emits the body matching the current task `status` on each user input. Parser-only; the script does not embed fallback content.
|
|
11
|
-
- sub-agent context hook: injects task context when implementation/check/research agents start.
|
|
12
11
|
- shell/session bridge: lets shell commands see the same Trellis session identity.
|
|
13
12
|
- platform plugin or extension entry points.
|
|
14
13
|
|
|
@@ -29,7 +28,7 @@ Common files:
|
|
|
29
28
|
| Pi Agent | `.pi/settings.json`, `.pi/extensions/trellis/` |
|
|
30
29
|
| Trae IDE | `.trae/hooks.json` |
|
|
31
30
|
|
|
32
|
-
Reasonix
|
|
31
|
+
Reasonix、Kimi Code 和 DeepSeek Harness 通过项目 Skills 提供主会话方法入口;ZCode 通过主会话 Hook 注入阶段和 shell 身份。Trellis 不部署宿主实施、检查或研究角色。
|
|
33
32
|
|
|
34
33
|
Whether these files exist in a project depends on which `trellis init --<platform>` flags the user ran.
|
|
35
34
|
|
|
@@ -39,7 +38,6 @@ Whether these files exist in a project depends on which `trellis init --<platfor
|
|
|
39
38
|
| --- | --- |
|
|
40
39
|
| `session-start.py` | Generates session-start context. |
|
|
41
40
|
| `inject-workflow-state.py` | Parses `[workflow-state:STATUS]` blocks in `.trellis/workflow.md` and emits the body matching the current task status. Falls back to `Refer to workflow.md for current step.` when no matching block exists. |
|
|
42
|
-
| `inject-subagent-context.py` | Injects PRD, JSONL context, and related spec/research into sub-agents. |
|
|
43
41
|
| `inject-spec-context.py` | Matches path-scoped specs and manages budgeted delivery state. |
|
|
44
42
|
| `inject-shell-session-context.py` | Lets shell commands inherit Trellis session identity. |
|
|
45
43
|
|
|
@@ -51,7 +49,7 @@ Not every platform has every hook. Do not copy files from another platform just
|
|
|
51
49
|
| --- | --- |
|
|
52
50
|
| AI should see more/less context in a new session | Platform `session-start` hook. |
|
|
53
51
|
| Per-turn hint policy should change | `[workflow-state:STATUS]` block in `.trellis/workflow.md`. The hook parses workflow.md verbatim — no script edit required. |
|
|
54
|
-
|
|
|
52
|
+
| 协作节点缺少 PRD/spec | 原生工作包输入与节点合同。 |
|
|
55
53
|
| `task.py current` in shell has no active task | Shell/session bridge hook or platform environment variable configuration. |
|
|
56
54
|
| Disable an automatic injection | The corresponding hook registration in settings/config. |
|
|
57
55
|
|
package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md
CHANGED
|
@@ -15,7 +15,7 @@ Platform files do not store business state. They let the corresponding AI tool r
|
|
|
15
15
|
| --- | --- | --- |
|
|
16
16
|
| settings/config | `.claude/settings.json`, `.codex/hooks.json`, `.qoder/settings.json`, `.trae/hooks.json` | Register hooks, plugins, extensions, or platform behavior. |
|
|
17
17
|
| hooks/plugins/extensions | `.claude/hooks/`, `.opencode/plugins/`, `.pi/extensions/` | Inject context at session start, user input, agent startup, shell execution, and similar events. |
|
|
18
|
-
|
|
|
18
|
+
| 协作角色 | `.trellis/agents/` | Teamwork 只读角色与 Paseo 实施节点;Kiro 另有主会话入口。 |
|
|
19
19
|
| skills | `.claude/skills/`, `.agents/skills/`, `.qoder/skills/`, `.zcode/skills/` | Capability descriptions that auto-trigger or can be read on demand. |
|
|
20
20
|
| commands/prompts/workflows | `.cursor/commands/`, `.github/prompts/`, `.devin/workflows/`, `.zcode/commands/` | Entry points explicitly invoked by the user. |
|
|
21
21
|
|
|
@@ -29,20 +29,17 @@ Common capabilities:
|
|
|
29
29
|
|
|
30
30
|
- session-start injection of a `.trellis/` overview.
|
|
31
31
|
- workflow-state hints for each user turn.
|
|
32
|
-
- PRD/spec/research injection when sub-agents start.
|
|
33
32
|
- Shell commands inheriting session identity.
|
|
34
33
|
|
|
35
34
|
To change "when the AI knows what," inspect hooks/plugins/extensions and settings first.
|
|
36
35
|
|
|
37
36
|
### 2. Agent Prelude / Pull-Based
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
To change how sub-agents load context, inspect the agent files themselves.
|
|
38
|
+
协作上下文由原生工作包或节点合同提供,职责见 `agents.md`。
|
|
42
39
|
|
|
43
40
|
### 3. Main-Session Workflow
|
|
44
41
|
|
|
45
|
-
|
|
42
|
+
没有启动 Hook 的平台通过 workflow、Skills 和命令引导主会话读取文件、运行脚本并推进任务。
|
|
46
43
|
|
|
47
44
|
To change behavior, inspect platform workflows/skills/commands and `.trellis/workflow.md`.
|
|
48
45
|
|