@blxzer/cursor-trellis 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/README.md +37 -12
- package/README.zh-CN.md +41 -16
- package/bin/{trellis.js → cstl.js} +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +30 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/capability-smoke.d.ts +24 -0
- package/dist/commands/capability-smoke.d.ts.map +1 -0
- package/dist/commands/capability-smoke.js +83 -0
- package/dist/commands/capability-smoke.js.map +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +94 -34
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/uninstall.d.ts +1 -1
- package/dist/commands/uninstall.js +2 -2
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.d.ts +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +79 -34
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/upgrade.js +2 -2
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/configurators/cursor.d.ts +2 -2
- package/dist/configurators/cursor.js +4 -4
- package/dist/configurators/cursor.js.map +1 -1
- package/dist/configurators/index.js +3 -3
- package/dist/configurators/index.js.map +1 -1
- package/dist/configurators/shared.d.ts +10 -10
- package/dist/configurators/shared.d.ts.map +1 -1
- package/dist/configurators/shared.js +26 -26
- package/dist/configurators/shared.js.map +1 -1
- package/dist/configurators/workflow.d.ts +2 -2
- package/dist/migrations/manifests/0.2.10.json +374 -0
- package/dist/migrations/manifests/0.3.0.json +89 -0
- package/dist/templates/common/bundled-skills/{trellis-cursor2plus-setup → cstl-cursor2plus-setup}/SKILL.md +5 -4
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/SKILL.md +75 -75
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/add-project-local-conventions.md +8 -8
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-agents.md +6 -6
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-context-loading.md +7 -7
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-skills-or-commands.md +1 -1
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-spec-structure.md +2 -2
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-task-lifecycle.md +31 -31
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-workflow.md +12 -12
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/overview.md +55 -55
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/context-injection.md +13 -13
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/generated-files.md +83 -83
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/overview.md +2 -2
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/spec-system.md +1 -1
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/task-system.md +22 -22
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/workflow.md +5 -5
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/local-architecture/workspace-memory.md +3 -3
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/platform-files/agents.md +11 -11
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/platform-files/hooks-and-settings.md +1 -1
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/platform-files/overview.md +4 -4
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/platform-files/platform-map.md +5 -5
- package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/platform-files/skills-and-commands.md +15 -15
- package/dist/templates/common/bundled-skills/{trellis-micro-grill → cstl-micro-grill}/SKILL.md +62 -47
- package/dist/templates/common/bundled-skills/{trellis-skill-creator → cstl-skill-creator}/SKILL.md +44 -44
- package/dist/templates/common/bundled-skills/{trellis-skill-creator → cstl-skill-creator}/references/authoring-rules.md +97 -97
- package/dist/templates/common/bundled-skills/{trellis-skill-creator/references/trellis-skill-locations.md → cstl-skill-creator/references/cstl-skill-locations.md} +52 -52
- package/dist/templates/common/bundled-skills/{trellis-skill-creator → cstl-skill-creator}/references/review-checklist.md +47 -47
- package/dist/templates/common/bundled-skills/{trellis-spec-bootstrap → cstl-spec-bootstrap}/SKILL.md +1 -1
- package/dist/templates/common/commands/continue.md +20 -20
- package/dist/templates/common/commands/start.md +11 -11
- package/dist/templates/common/index.d.ts +1 -1
- package/dist/templates/common/index.d.ts.map +1 -1
- package/dist/templates/common/skills/brainstorm.md +188 -164
- package/dist/templates/common/skills/check.md +1 -1
- package/dist/templates/cursor/agents/{trellis-check.md → cstl-check.md} +8 -8
- package/dist/templates/cursor/agents/{trellis-implement.md → cstl-implement.md} +8 -8
- package/dist/templates/cursor/agents/{trellis-research.md → cstl-research.md} +2 -2
- package/dist/templates/cursor/commands/cursor2plus-setup.md +5 -5
- package/dist/templates/cursor/fixtures/expected-rules.d.ts +1 -1
- package/dist/templates/cursor/fixtures/expected-rules.d.ts.map +1 -1
- package/dist/templates/cursor/fixtures/expected-rules.js +2 -2
- package/dist/templates/cursor/fixtures/expected-rules.js.map +1 -1
- package/dist/templates/cursor/rules/{trellis-subagent-dispatch.mdc → cstl-subagent-dispatch.mdc} +2 -2
- package/dist/templates/cursor/rules/{trellis-triage.mdc → cstl-triage.mdc} +1 -1
- package/dist/templates/markdown/agents.md +4 -4
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +634 -634
- package/dist/templates/markdown/spec/guides/cursor-context-injection-guide.md.txt +4 -4
- package/dist/templates/markdown/spec/guides/cursor-semantic-compliance.md.txt +6 -0
- package/dist/templates/markdown/spec/guides/cursor-subagent-policy.md.txt +393 -391
- package/dist/templates/markdown/spec/guides/durable-learning-decision-guide.md.txt +6 -6
- package/dist/templates/markdown/spec/guides/execution-strategy.md.txt +2 -2
- package/dist/templates/markdown/spec/guides/index.md.txt +3 -2
- package/dist/templates/shared-hooks/index.d.ts +1 -1
- package/dist/templates/shared-hooks/index.js +1 -1
- package/dist/templates/shared-hooks/inject-subagent-context.py +3 -3
- package/dist/templates/shared-hooks/inject-workflow-state.py +27 -27
- package/dist/templates/shared-hooks/research-end-retrieval-pack.py +1 -1
- package/dist/templates/shared-hooks/session-start.py +3 -3
- package/dist/templates/trellis/config/execution-strategy-rules.json +1 -1
- package/dist/templates/trellis/config.yaml +4 -4
- package/dist/templates/trellis/local/README.md +12 -10
- package/dist/templates/trellis/local/patch_wpelc8.py +3 -3
- package/dist/templates/trellis/local/subagent-models.json.example +1 -1
- package/dist/templates/trellis/local/trellis-task-models.json.example +3 -3
- package/dist/templates/trellis/local/trellis-task-models.json5.example +5 -5
- package/dist/templates/trellis/local/trellis_task_models_config.py +6 -6
- package/dist/templates/trellis/scripts/common/cli_adapter.py +3 -3
- package/dist/templates/trellis/scripts/common/execution_strategy.py +1 -1
- package/dist/templates/trellis/scripts/common/parent_orchestration.py +702 -702
- package/dist/templates/trellis/scripts/common/session_context.py +1159 -1159
- package/dist/templates/trellis/scripts/common/subagent_dispatch.py +5 -5
- package/dist/templates/trellis/scripts/common/task_gates.py +2056 -2034
- package/dist/templates/trellis/scripts/common/task_store.py +1594 -1594
- package/dist/templates/trellis/workflow.md +805 -805
- package/dist/types/ai-tools.d.ts +1 -1
- package/dist/types/ai-tools.d.ts.map +1 -1
- package/dist/types/ai-tools.js +1 -1
- package/dist/types/ai-tools.js.map +1 -1
- package/dist/utils/project-capabilities.d.ts +14 -3
- package/dist/utils/project-capabilities.d.ts.map +1 -1
- package/dist/utils/project-capabilities.js +122 -12
- package/dist/utils/project-capabilities.js.map +1 -1
- package/dist/utils/readiness.d.ts +10 -0
- package/dist/utils/readiness.d.ts.map +1 -1
- package/dist/utils/readiness.js +6 -3
- package/dist/utils/readiness.js.map +1 -1
- package/package.json +3 -4
- /package/dist/templates/common/bundled-skills/{trellis-meta → cstl-meta}/references/customize-local/change-hooks.md +0 -0
- /package/dist/templates/common/bundled-skills/{trellis-spec-bootstrap → cstl-spec-bootstrap}/references/mcp-setup.md +0 -0
- /package/dist/templates/common/bundled-skills/{trellis-spec-bootstrap → cstl-spec-bootstrap}/references/repository-analysis.md +0 -0
- /package/dist/templates/common/bundled-skills/{trellis-spec-bootstrap → cstl-spec-bootstrap}/references/spec-task-planning.md +0 -0
- /package/dist/templates/common/bundled-skills/{trellis-spec-bootstrap → cstl-spec-bootstrap}/references/spec-writing.md +0 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.2.10",
|
|
3
|
+
"description": "v0.2.10 — Commands-only policy skill residue cleanup. Safe-file-delete migration removes stale .cursor/skills/ directories from projects initialized before the commands-only policy (v0.2.8).",
|
|
4
|
+
"breaking": false,
|
|
5
|
+
"recommendMigrate": false,
|
|
6
|
+
"changelog": "**@blxzer/cursor-trellis 0.2.10 / @blxzer/cursor-trellis-core 0.2.10**\n\n### Fixed\n- fix(cursor): commands-only policy residue cleanup — safe-file-delete migration removes stale .cursor/skills/ directories (11 skill trees, 44 files) from projects initialized before v0.2.8. Pristine copies auto-removed; user-modified files kept with warning.\n\nRun \trellis update in each project.",
|
|
7
|
+
"migrations": [
|
|
8
|
+
{
|
|
9
|
+
"type": "safe-file-delete",
|
|
10
|
+
"from": ".cursor/skills/smart-search-cli/SKILL.md",
|
|
11
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
12
|
+
"allowed_hashes": [
|
|
13
|
+
"165247f4c2f9d672ab3a2ae04d6a7abc85ec822f56f0089b471b8f2d92e9519b"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "safe-file-delete",
|
|
18
|
+
"from": ".cursor/skills/smart-search-cli/agents/openai.yaml",
|
|
19
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
20
|
+
"allowed_hashes": [
|
|
21
|
+
"e12d55b84111ecfbb0f49bf10ecc88fff4ddaebd63da1e9a176eb21e1a3fc7c1"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "safe-file-delete",
|
|
26
|
+
"from": ".cursor/skills/smart-search-cli/examples/batch-search.md",
|
|
27
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
28
|
+
"allowed_hashes": [
|
|
29
|
+
"6bfdb0ea8eabee67001a2061090ec726299e06bc897d2c014104bd7d946d1f44"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "safe-file-delete",
|
|
34
|
+
"from": ".cursor/skills/smart-search-cli/examples/evidence-gathering.md",
|
|
35
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
36
|
+
"allowed_hashes": [
|
|
37
|
+
"2f327f2726903e7d670d82822a1a779ace0c355c2d0d197ec4e838247234a5e5"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "safe-file-delete",
|
|
42
|
+
"from": ".cursor/skills/smart-search-cli/references/cli-contract.md",
|
|
43
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
44
|
+
"allowed_hashes": [
|
|
45
|
+
"8073087190b409ab0f2bf71f9950a44193d4565ca5599c5f83c138de5a52d957"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"type": "safe-file-delete",
|
|
50
|
+
"from": ".cursor/skills/trellis-cursor2plus-setup/SKILL.md",
|
|
51
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
52
|
+
"allowed_hashes": [
|
|
53
|
+
"008314d02baa69cdf60091e380e4d0953bb5676966841e0da63ac9ade11c1c03"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"type": "safe-file-delete",
|
|
58
|
+
"from": ".cursor/skills/trellis-meta/SKILL.md",
|
|
59
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
60
|
+
"allowed_hashes": [
|
|
61
|
+
"16380026539b840e2cc0bf33f4f7b030343b59ddd5ffe7bce0935fb2c7c09c69"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "safe-file-delete",
|
|
66
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/add-project-local-conventions.md",
|
|
67
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
68
|
+
"allowed_hashes": [
|
|
69
|
+
"cf3dabacc8692219544761acad97036f5b7627978a899b98d7a42bbeb05ede40",
|
|
70
|
+
"e078bc469b90819cf9eb4e574a701c7da8cfbe0a5aa727d80fa8fc0f53b80b86"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "safe-file-delete",
|
|
75
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-agents.md",
|
|
76
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
77
|
+
"allowed_hashes": [
|
|
78
|
+
"7f1b4561bbd61cfdb79b56ef3d94e5156aae5d1ec7d6e9779766d065e07e4c7f"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "safe-file-delete",
|
|
83
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-context-loading.md",
|
|
84
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
85
|
+
"allowed_hashes": [
|
|
86
|
+
"1a5810ab42d24df1e6355ed3b4d6421e303abe2664b63cc6b1d024411c45e153",
|
|
87
|
+
"bd4dbcb1e0fbd5277995cce66a07206b826f0bd869e1b6586365a55d0a532ddf"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "safe-file-delete",
|
|
92
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-hooks.md",
|
|
93
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
94
|
+
"allowed_hashes": [
|
|
95
|
+
"67570b7f3e8185a2051e02459c15699784b4391d4af878585f1531e5fdbb5711",
|
|
96
|
+
"309d130fdcf510fc3da860960bd836daf893fdb3dcc586cba3c602984c420759"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "safe-file-delete",
|
|
101
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-skills-or-commands.md",
|
|
102
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
103
|
+
"allowed_hashes": [
|
|
104
|
+
"3b924a033355642452ecf0011749f66cb729b6897ca1386fad1b046dbb5d9ec2"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "safe-file-delete",
|
|
109
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-spec-structure.md",
|
|
110
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
111
|
+
"allowed_hashes": [
|
|
112
|
+
"a18b86c7e8788f604f4b925e44617d062ae9ff10cc586205d1de6d32a4f073c5",
|
|
113
|
+
"b64c1570023a90b97c8c1384d2a9f2c689dd986d3e41e4d8123a2ab63631eb72"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "safe-file-delete",
|
|
118
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-task-lifecycle.md",
|
|
119
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
120
|
+
"allowed_hashes": [
|
|
121
|
+
"f118e072fcf956c8e83747da0ce682f273c79ecbae5a8f179ea418bc5f7add6f",
|
|
122
|
+
"5b62db27631bddebcb22b74c6b6fdd5714e9d22d5d881a59e33d37608d2614e6"
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "safe-file-delete",
|
|
127
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/change-workflow.md",
|
|
128
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
129
|
+
"allowed_hashes": [
|
|
130
|
+
"3471e9de0649d60cd74bbead4bda69b9b5493ba5ba281023efdf0f3302bda048"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"type": "safe-file-delete",
|
|
135
|
+
"from": ".cursor/skills/trellis-meta/references/customize-local/overview.md",
|
|
136
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
137
|
+
"allowed_hashes": [
|
|
138
|
+
"cf72a13fd3928f0f753dd2ba382dfff108262446677eb22a308994c28a07934a",
|
|
139
|
+
"de371fd66c0188c8b1419424421071d69bbc764106849aea57b8eb8da055ec0a"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "safe-file-delete",
|
|
144
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/context-injection.md",
|
|
145
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
146
|
+
"allowed_hashes": [
|
|
147
|
+
"b3c9c6326d1ae13990cbc2abb01444304dfbe81cc84bc42fb0d4608b88460bc7"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"type": "safe-file-delete",
|
|
152
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/generated-files.md",
|
|
153
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
154
|
+
"allowed_hashes": [
|
|
155
|
+
"427038022103b9a957f125914b57bd1bc3b3856adcd715155bc8efc2195e9c51"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"type": "safe-file-delete",
|
|
160
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/overview.md",
|
|
161
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
162
|
+
"allowed_hashes": [
|
|
163
|
+
"1ca874f97251774bde70898c1520ee3788fd75ea17955c874071fa43d9f6c2e3"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "safe-file-delete",
|
|
168
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/spec-system.md",
|
|
169
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
170
|
+
"allowed_hashes": [
|
|
171
|
+
"55f3c95033a3cbed6c06e225187071502d7dcf3f153f4becbec6aa79acc782f5",
|
|
172
|
+
"b8d8a6a0888b44a232c8f50161b9e20e903cf621ad7be4021715ab6fab226f47"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"type": "safe-file-delete",
|
|
177
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/task-system.md",
|
|
178
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
179
|
+
"allowed_hashes": [
|
|
180
|
+
"99ee49d0869e6c8c5ea3d957ef5cff3c6792e3591812df211d5a68f48bf43aa7",
|
|
181
|
+
"c9265a12eebd3dd4f429a208d7413e3d7302f4a42b0feb784a93aed445a2d705"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "safe-file-delete",
|
|
186
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/workflow.md",
|
|
187
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
188
|
+
"allowed_hashes": [
|
|
189
|
+
"2bee24b09e71af28ba48bb63fcbb22cb359416809892797d8667ec37afbb73d8"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"type": "safe-file-delete",
|
|
194
|
+
"from": ".cursor/skills/trellis-meta/references/local-architecture/workspace-memory.md",
|
|
195
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
196
|
+
"allowed_hashes": [
|
|
197
|
+
"38c83e5374a6d7dad2ea31df92d3c55162ec5b66221d5e5fd8668049ae4f6ba8",
|
|
198
|
+
"e6deecd689aff58a3c6d691abd07d6808c007e6de86c37178706339799145b7d"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"type": "safe-file-delete",
|
|
203
|
+
"from": ".cursor/skills/trellis-meta/references/platform-files/agents.md",
|
|
204
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
205
|
+
"allowed_hashes": [
|
|
206
|
+
"ea509a98e3934d15ffb5a6a70b2779ecac24634ec7a4735b3e92a602876cd959",
|
|
207
|
+
"2d4e79a6aacbfb03353b4b6a447a6cd4762ab579c134b6fcc52df20c188753eb"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "safe-file-delete",
|
|
212
|
+
"from": ".cursor/skills/trellis-meta/references/platform-files/hooks-and-settings.md",
|
|
213
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
214
|
+
"allowed_hashes": [
|
|
215
|
+
"32b5d4c7e07f735cc795a553f05d3db9efcd9bd370cf3fece42c34397f0616d6"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "safe-file-delete",
|
|
220
|
+
"from": ".cursor/skills/trellis-meta/references/platform-files/overview.md",
|
|
221
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
222
|
+
"allowed_hashes": [
|
|
223
|
+
"644dcb54d321411fd4a96d1d075c1d28b76cd4240b827548a65368e3b62f49bf"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "safe-file-delete",
|
|
228
|
+
"from": ".cursor/skills/trellis-meta/references/platform-files/platform-map.md",
|
|
229
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
230
|
+
"allowed_hashes": [
|
|
231
|
+
"41f7bb07653c16fb56d0fa3779bb0f794b429943070bb1df4d3abccc6cd2299a"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "safe-file-delete",
|
|
236
|
+
"from": ".cursor/skills/trellis-meta/references/platform-files/skills-and-commands.md",
|
|
237
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
238
|
+
"allowed_hashes": [
|
|
239
|
+
"8fe7c5e9bc69ec2daa9afb1af7b8c5e9e7b3eb1f8eac7517cf50aef0ee79822c"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "safe-file-delete",
|
|
244
|
+
"from": ".cursor/skills/trellis-micro-grill/SKILL.md",
|
|
245
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
246
|
+
"allowed_hashes": [
|
|
247
|
+
"4b5537ac101e1dbba97da6b6bdc779fc5f9fb7cde9df0d81c34a8944e9aceb0f"
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"type": "safe-file-delete",
|
|
252
|
+
"from": ".cursor/skills/trellis-skill-creator/SKILL.md",
|
|
253
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
254
|
+
"allowed_hashes": [
|
|
255
|
+
"3390947b96733efff7629ac11cc020d10bfbded379a5adab12eb59c108e75cb4"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "safe-file-delete",
|
|
260
|
+
"from": ".cursor/skills/trellis-skill-creator/references/authoring-rules.md",
|
|
261
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
262
|
+
"allowed_hashes": [
|
|
263
|
+
"3a964698d56b34234061f50cb42e5537033f6b9c8d0196981c446f286d112152"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "safe-file-delete",
|
|
268
|
+
"from": ".cursor/skills/trellis-skill-creator/references/review-checklist.md",
|
|
269
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
270
|
+
"allowed_hashes": [
|
|
271
|
+
"f44355ff5abe41e251951f2c2adf91989fdb1ed636e24902e0677ef45ef67ded"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "safe-file-delete",
|
|
276
|
+
"from": ".cursor/skills/trellis-skill-creator/references/trellis-skill-locations.md",
|
|
277
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
278
|
+
"allowed_hashes": [
|
|
279
|
+
"c53869d29aa96fc00f6ff9a4b0d39e827c40d4ade813d64afc502637063d092e"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "safe-file-delete",
|
|
284
|
+
"from": ".cursor/skills/trellis-spec-bootstrap/SKILL.md",
|
|
285
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
286
|
+
"allowed_hashes": [
|
|
287
|
+
"97bfa68c06cebb558eb4464bc1b81f7d2d56040d75baa8de1ee5ad90cca0196a"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"type": "safe-file-delete",
|
|
292
|
+
"from": ".cursor/skills/trellis-spec-bootstrap/references/mcp-setup.md",
|
|
293
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
294
|
+
"allowed_hashes": [
|
|
295
|
+
"df542fc8f279edd38046d26a7c8151804b708f57b24d4aa2733cea587a88c65e"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": "safe-file-delete",
|
|
300
|
+
"from": ".cursor/skills/trellis-spec-bootstrap/references/repository-analysis.md",
|
|
301
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
302
|
+
"allowed_hashes": [
|
|
303
|
+
"0dae98d774f6e34559b9f3442888ac43e3a8af110c37cbefc49ce256986858b6"
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"type": "safe-file-delete",
|
|
308
|
+
"from": ".cursor/skills/trellis-spec-bootstrap/references/spec-task-planning.md",
|
|
309
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
310
|
+
"allowed_hashes": [
|
|
311
|
+
"ef493d028c3b0807a8a534bb71fb92a68129f273db763ad27ceb464a522e799d"
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "safe-file-delete",
|
|
316
|
+
"from": ".cursor/skills/trellis-spec-bootstrap/references/spec-writing.md",
|
|
317
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
318
|
+
"allowed_hashes": [
|
|
319
|
+
"e9800fe9ed4a4cd87062ea1829cf2caa8d170ec15e141678a6a30e74c497f47d"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"type": "safe-file-delete",
|
|
324
|
+
"from": ".cursor/skills/trellis-before-dev/SKILL.md",
|
|
325
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
326
|
+
"allowed_hashes": [
|
|
327
|
+
"bdead304ba21dbd65387312613f37108f2326eb9c872fbcaa5ff3db6bf45a311",
|
|
328
|
+
"65c37b2c8637b905ebfe607f6b1c45d728741164b3aded8d004f8d98f8792a63"
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"type": "safe-file-delete",
|
|
333
|
+
"from": ".cursor/skills/trellis-brainstorm/SKILL.md",
|
|
334
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
335
|
+
"allowed_hashes": [
|
|
336
|
+
"9081813d6366a574048d94f70ee8dacf659ddb7deadd78b06f5bd2a15f9b8e52"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "safe-file-delete",
|
|
341
|
+
"from": ".cursor/skills/trellis-break-loop/SKILL.md",
|
|
342
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
343
|
+
"allowed_hashes": [
|
|
344
|
+
"b28b4d759b94ea0f38ef4b0bdba2263b72bd18e2ed754cd286aab06d157945c7"
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "safe-file-delete",
|
|
349
|
+
"from": ".cursor/skills/trellis-check/SKILL.md",
|
|
350
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
351
|
+
"allowed_hashes": [
|
|
352
|
+
"3d7d75a86e4bfd1d1326a394352446b652666050799c7a5f13b6db4c2587c2f3"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"type": "safe-file-delete",
|
|
357
|
+
"from": ".cursor/skills/trellis-update-spec/SKILL.md",
|
|
358
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
359
|
+
"allowed_hashes": [
|
|
360
|
+
"1cecff6ec5518e44512daa3ef68aa012dc1fef2447980a9e92d285b913dece8c"
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "safe-file-delete",
|
|
365
|
+
"from": ".cursor/skills/trellis-finish-work/SKILL.md",
|
|
366
|
+
"description": "Commands-only policy residue cleanup (v0.2.10)",
|
|
367
|
+
"allowed_hashes": [
|
|
368
|
+
"54b3ebec0b0e90b0dec57fffac5833f350fafb43e9d044d9a855fa96de0db947",
|
|
369
|
+
"45ca4f4075bc99f35892ace80d9a7a5413694a8fc0e5f7458088dd9c5db4f8f6"
|
|
370
|
+
]
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"notes": "Hash source: templates at commit acd41a92^ (pre-commands-only). Platform-variant hashes cover win32 (python) and linux (python3) where python3 appears in template content. .agents/skills/ (shared layer) is NOT touched — only .cursor/skills/ residue."
|
|
374
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.3.0",
|
|
3
|
+
"description": "v0.3.0 — Rename CLI command from trellis/tl to cstl. Breaking: trellis/tl bin aliases removed; all skill/command/agent/rule names renamed trellis-* -> cstl-*.",
|
|
4
|
+
"breaking": true,
|
|
5
|
+
"recommendMigrate": true,
|
|
6
|
+
"changelog": "**@blxzer/cursor-trellis 0.3.0 / @blxzer/cursor-trellis-core 0.3.0**\n\n### Breaking\n- feat(cli): rename CLI command from `trellis`/`tl` to `cstl`. The `trellis` and `tl` bin aliases are **removed**. Update any aliases, CI scripts, or shell history that reference `trellis` or `tl`.\n- feat(templates): all skill, command, agent, and rule names renamed `trellis-*` -> `cstl-*` (hard cut, no compatibility aliases).\n - `.cursor/commands/trellis-continue.md` -> `cstl-continue.md`\n - `.cursor/commands/trellis-finish-work.md` -> `cstl-finish-work.md`\n - `.cursor/commands/trellis-cursor2plus-setup.md` -> `cstl-cursor2plus-setup.md`\n - `.cursor/rules/trellis-triage.mdc` -> `cstl-triage.mdc`\n - `.cursor/rules/trellis-subagent-dispatch.mdc` -> `cstl-subagent-dispatch.mdc`\n - `.cursor/agents/trellis-research.md` -> `cstl-research.md`\n - `.cursor/agents/trellis-implement.md` -> `cstl-implement.md`\n - `.cursor/agents/trellis-check.md` -> `cstl-check.md`\n - `.cursor/skills/trellis-meta/` -> `cstl-meta/` (and 4 other bundled skill dirs)\n- fix(hooks): `<!-- trellis-hook-injected -->` marker -> `<!-- cstl-hook-injected -->`\n- fix(subagents): `subagent_type` identifiers `trellis-research/implement/check` -> `cstl-research/implement/check` (affects Cursor++ BYOK `trellis-task-models.json5` keys)\n\n### Upgrade\n\n**Manual npm install required** — the old `trellis upgrade` command no longer exists after install.\n\n```bash\nnpm install -g @blxzer/cursor-trellis@latest\ncstl update --migrate\n```\n\nThe `--migrate` flag is REQUIRED to trigger the file renames in your project. Renames are hash-verified; locally modified files are preserved with a warning.",
|
|
7
|
+
"aiInstructions": "When helping a user migrate from 0.2.x to 0.3.0:\n1. **Manual npm install required** — the old `trellis upgrade` command no longer exists after install. Run: `npm install -g @blxzer/cursor-trellis@latest`\n2. **Run `cstl update --migrate`** in each project — the `--migrate` flag is REQUIRED to trigger the rename of `.cursor/commands/trellis-*.md` -> `cstl-*.md`, `.cursor/rules/trellis-*.mdc` -> `cstl-*.mdc`, `.cursor/agents/trellis-*.md` -> `cstl-*.md`, and `.cursor/skills/trellis-*` -> `cstl-*` directories.\n3. Renames are hash-verified; locally modified files are preserved with a warning. The user can manually rename modified files or accept the new template and re-apply their customizations.\n4. Update any personal aliases, CI scripts, or shell history that reference `trellis` or `tl` to use `cstl`.\n5. If the user uses Cursor++ BYOK (`.trellis/local/cursor2plus/`), the `trellis-task-models.json5` keys must be updated from `trellis-research/implement/check` to `cstl-research/implement/check`. Run the `cstl-cursor2plus-setup` skill or edit `~/.ccursor/trellis-task-models.json5` manually then re-run `patch_wpelc8.py --apply`.\n6. The `.trellis/` directory name is UNCHANGED — only the CLI command and skill/command/agent/rule name prefixes changed.",
|
|
8
|
+
"migrations": [
|
|
9
|
+
{
|
|
10
|
+
"type": "rename",
|
|
11
|
+
"from": ".cursor/commands/trellis-continue.md",
|
|
12
|
+
"to": ".cursor/commands/cstl-continue.md",
|
|
13
|
+
"description": "v0.3.0 rename: trellis-continue command -> cstl-continue"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "rename",
|
|
17
|
+
"from": ".cursor/commands/trellis-finish-work.md",
|
|
18
|
+
"to": ".cursor/commands/cstl-finish-work.md",
|
|
19
|
+
"description": "v0.3.0 rename: trellis-finish-work command -> cstl-finish-work"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"type": "rename",
|
|
23
|
+
"from": ".cursor/commands/trellis-cursor2plus-setup.md",
|
|
24
|
+
"to": ".cursor/commands/cstl-cursor2plus-setup.md",
|
|
25
|
+
"description": "v0.3.0 rename: trellis-cursor2plus-setup command -> cstl-cursor2plus-setup"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "rename",
|
|
29
|
+
"from": ".cursor/rules/trellis-triage.mdc",
|
|
30
|
+
"to": ".cursor/rules/cstl-triage.mdc",
|
|
31
|
+
"description": "v0.3.0 rename: trellis-triage rule -> cstl-triage"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"type": "rename",
|
|
35
|
+
"from": ".cursor/rules/trellis-subagent-dispatch.mdc",
|
|
36
|
+
"to": ".cursor/rules/cstl-subagent-dispatch.mdc",
|
|
37
|
+
"description": "v0.3.0 rename: trellis-subagent-dispatch rule -> cstl-subagent-dispatch"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "rename",
|
|
41
|
+
"from": ".cursor/agents/trellis-research.md",
|
|
42
|
+
"to": ".cursor/agents/cstl-research.md",
|
|
43
|
+
"description": "v0.3.0 rename: trellis-research agent -> cstl-research"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "rename",
|
|
47
|
+
"from": ".cursor/agents/trellis-implement.md",
|
|
48
|
+
"to": ".cursor/agents/cstl-implement.md",
|
|
49
|
+
"description": "v0.3.0 rename: trellis-implement agent -> cstl-implement"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "rename",
|
|
53
|
+
"from": ".cursor/agents/trellis-check.md",
|
|
54
|
+
"to": ".cursor/agents/cstl-check.md",
|
|
55
|
+
"description": "v0.3.0 rename: trellis-check agent -> cstl-check"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "rename-dir",
|
|
59
|
+
"from": ".cursor/skills/trellis-meta",
|
|
60
|
+
"to": ".cursor/skills/cstl-meta",
|
|
61
|
+
"description": "v0.3.0 rename: trellis-meta skill dir -> cstl-meta"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "rename-dir",
|
|
65
|
+
"from": ".cursor/skills/trellis-micro-grill",
|
|
66
|
+
"to": ".cursor/skills/cstl-micro-grill",
|
|
67
|
+
"description": "v0.3.0 rename: trellis-micro-grill skill dir -> cstl-micro-grill"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "rename-dir",
|
|
71
|
+
"from": ".cursor/skills/trellis-skill-creator",
|
|
72
|
+
"to": ".cursor/skills/cstl-skill-creator",
|
|
73
|
+
"description": "v0.3.0 rename: trellis-skill-creator skill dir -> cstl-skill-creator"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "rename-dir",
|
|
77
|
+
"from": ".cursor/skills/trellis-spec-bootstrap",
|
|
78
|
+
"to": ".cursor/skills/cstl-spec-bootstrap",
|
|
79
|
+
"description": "v0.3.0 rename: trellis-spec-bootstrap skill dir -> cstl-spec-bootstrap"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "rename-dir",
|
|
83
|
+
"from": ".cursor/skills/trellis-cursor2plus-setup",
|
|
84
|
+
"to": ".cursor/skills/cstl-cursor2plus-setup",
|
|
85
|
+
"description": "v0.3.0 rename: trellis-cursor2plus-setup skill dir -> cstl-cursor2plus-setup"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"notes": "Breaking rename: trellis/tl bin aliases removed. Projects initialized before v0.3.0 must run `cstl update --migrate` to rename .cursor/ files. Pre-0.2.8 projects that still have .cursor/skills/trellis-* directories (commands-only policy) will find them missing — those directories were already safe-file-deleted by v0.2.10; the rename-dir migration silently skips missing sources. User-modified files at legacy paths are preserved with a warning; the user must manually rename or re-apply customizations to the new cstl-* paths."
|
|
89
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: "Guides Cursor++ BYOK users through trellis-task-models.json5 setup at init or on demand. User picks models per Trellis/Cursor Task role; the agent lists providers, writes commented JSON5 with primary/fallback, runs patch_wpelc8.py. Use when
|
|
2
|
+
name: cstl-cursor2plus-setup
|
|
3
|
+
description: "Guides Cursor++ BYOK users through trellis-task-models.json5 setup at init or on demand. User picks models per Trellis/Cursor Task role; the agent lists providers, writes commented JSON5 with primary/fallback, runs patch_wpelc8.py. Use when cstl init just finished with Cursor selected, user asks to configure subagent models, or providers.json changed."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Trellis Cursor++ subagent model setup (agent-led)
|
|
@@ -16,9 +16,10 @@ Do **not** ask the user to hand-edit slugs (`model-xxxxx`) unless they prefer it
|
|
|
16
16
|
|
|
17
17
|
## When to run
|
|
18
18
|
|
|
19
|
-
- Right after **`
|
|
19
|
+
- Right after **`cstl init`** when **Cursor** was selected (CLI prints a follow-up hint).
|
|
20
20
|
- User says they use **Cursor++ BYOK** and want per–subagent-type models.
|
|
21
21
|
- After Cursor++ **providers** change: re-list, adjust fallbacks, re-patch.
|
|
22
|
+
- After **Cursor or Cursor++ upgrade**: run `python ./.trellis/local/cursor2plus/patch_wpelc8.py --check-compat` before `--apply --approve`; revert first if compat fails.
|
|
22
23
|
|
|
23
24
|
Native **Cursor API** (no Cursor++): **stop** — frontmatter `model:` works; this skill does not apply. Tell the user: **`.trellis/local/cursor2plus/` is safe to ignore or delete** unless they use Cursor++ BYOK.
|
|
24
25
|
|
|
@@ -31,7 +32,7 @@ Native **Cursor API** (no Cursor++): **stop** — frontmatter `model:` works; th
|
|
|
31
32
|
python ./.trellis/local/cursor2plus/patch_wpelc8.py --explain
|
|
32
33
|
```
|
|
33
34
|
3. Ask the user **one role at a time** (or one message with a table) which **apiModel/displayName** they want for:
|
|
34
|
-
- `
|
|
35
|
+
- `cstl-research`, `cstl-implement`, `cstl-check`
|
|
35
36
|
- optional: `generalPurpose`, `shell`, `best-of-n-runner`
|
|
36
37
|
For each, ask **fallback** if they care (recommend a second choice from `--list-models`).
|
|
37
38
|
4. Write **`%USERPROFILE%\.ccursor\trellis-task-models.json5`** (or `~/.ccursor/`) using structure from `.trellis/local/trellis-task-models.json5.example`:
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
---
|
|
2
|
-
name:
|
|
3
|
-
description: "Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, or workflows generated by
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Trellis Meta
|
|
7
|
-
|
|
8
|
-
This skill is for local Trellis users who have already run `
|
|
9
|
-
|
|
10
|
-
The default operating scope is local files in the user project:
|
|
11
|
-
|
|
12
|
-
- `.trellis/`: workflow, config, tasks, spec, workspace, scripts, and runtime state.
|
|
13
|
-
- Platform directory: `.cursor/` — skills, agents, hooks, commands, rules.
|
|
14
|
-
- Shared skill layer: `.agents/skills/` (industry skill-sharing path, kept when present but not extended by new Trellis behavior).
|
|
15
|
-
|
|
16
|
-
Trellis previously supported many AI-platform adapter directories (`.claude/`, `.codex/`, `.opencode/`, `.kiro/`, `.gemini/`, `.qoder/`, `.codebuddy/`, `.github/`, `.factory/`, `.pi/`, `.kilocode/`, `.agent/`, `.windsurf/`). The project has converged on **Cursor-only**. Legacy adapter directories in upgraded projects are preserved by `
|
|
17
|
-
|
|
18
|
-
Do not assume the user has the Trellis source repository. Do not default to modifying the global npm install directory or `node_modules`.
|
|
19
|
-
|
|
20
|
-
## How To Use
|
|
21
|
-
|
|
22
|
-
1. Read `references/local-architecture/overview.md` first to establish the local Trellis system model.
|
|
23
|
-
2. If the request involves a specific AI tool, read `references/platform-files/platform-map.md` and the relevant platform file notes.
|
|
24
|
-
3. If the user wants to change behavior, read `references/customize-local/overview.md`, then open the specific customization topic.
|
|
25
|
-
4. Before editing, read the actual files in the user project and treat local content as authoritative.
|
|
26
|
-
|
|
27
|
-
## References
|
|
28
|
-
|
|
29
|
-
### Local Architecture
|
|
30
|
-
|
|
31
|
-
- `references/local-architecture/overview.md`: The three-layer local Trellis architecture and customization principles.
|
|
32
|
-
- `references/local-architecture/generated-files.md`: Files generated by `
|
|
33
|
-
- `references/local-architecture/workflow.md`: Phases, routing, and workflow-state blocks in `.trellis/workflow.md`.
|
|
34
|
-
- `references/local-architecture/task-system.md`: Task directories, selected tasks, JSONL context, and task runtime.
|
|
35
|
-
- `references/local-architecture/spec-system.md`: How `.trellis/spec/` is organized and injected.
|
|
36
|
-
- `references/local-architecture/workspace-memory.md`: `.trellis/workspace/`, journals, and cross-session memory.
|
|
37
|
-
- `references/local-architecture/context-injection.md`: Hooks, sub-agent preludes, and context injection paths.
|
|
38
|
-
|
|
39
|
-
### Platform Files
|
|
40
|
-
|
|
41
|
-
- `references/platform-files/overview.md`: How shared `.trellis/` files relate to platform directories.
|
|
42
|
-
- `references/platform-files/platform-map.md`: Platform directories and paths for skills, agents, hooks, and extensions.
|
|
43
|
-
- `references/platform-files/hooks-and-settings.md`: How settings/config files, hooks, plugins, and extensions connect to Trellis.
|
|
44
|
-
- `references/platform-files/agents.md`: Local file responsibilities for `
|
|
45
|
-
- `references/platform-files/skills-and-commands.md`: Differences between skills, commands, prompts, and workflows, plus how to change them.
|
|
46
|
-
|
|
47
|
-
### Local Customization
|
|
48
|
-
|
|
49
|
-
- `references/customize-local/overview.md`: Choose the right local customization entry point for the user's request.
|
|
50
|
-
- `references/customize-local/change-workflow.md`: Change phases, routing, next actions, and workflow-state.
|
|
51
|
-
- `references/customize-local/change-task-lifecycle.md`: Change task creation, status, archive behavior, and hooks.
|
|
52
|
-
- `references/customize-local/change-context-loading.md`: Change how tasks, specs, journals, and hook context are loaded.
|
|
53
|
-
- `references/customize-local/change-hooks.md`: Change platform hooks, settings, and shell session bridges.
|
|
54
|
-
- `references/customize-local/change-agents.md`: Change research, implement, and check agent behavior.
|
|
55
|
-
- `references/customize-local/change-skills-or-commands.md`: Add or modify local skills, commands, prompts, and workflows.
|
|
56
|
-
- `references/customize-local/change-spec-structure.md`: Adjust the project spec structure under `.trellis/spec/`.
|
|
57
|
-
- `references/customize-local/add-project-local-conventions.md`: Put team rules into project-local specs or local skills.
|
|
58
|
-
|
|
59
|
-
## Current Rules
|
|
60
|
-
|
|
61
|
-
- `.trellis/workflow.md` is the local workflow source of truth.
|
|
62
|
-
- `.trellis/config.yaml` is the project-level Trellis configuration and task hook configuration entry point.
|
|
63
|
-
- `.trellis/spec/` stores the user's project-specific coding conventions and design constraints.
|
|
64
|
-
- `.trellis/tasks/` stores task PRDs, technical notes, research files, and JSONL context.
|
|
65
|
-
- `.trellis/workspace/` stores developer journals and cross-session memory.
|
|
66
|
-
- Platform settings/config files decide which hooks, agents, skills, commands, prompts, and workflows actually run.
|
|
67
|
-
- `.trellis/.template-hashes.json` and `.trellis/.runtime/` are management/runtime state files. Confirm necessity before editing them.
|
|
68
|
-
|
|
69
|
-
## Do Not
|
|
70
|
-
|
|
71
|
-
- Do not treat Trellis upstream source code as the default target for local customization.
|
|
72
|
-
- Do not modify the global npm install directory or `node_modules/@blxzer/cursor-trellis` to implement project needs.
|
|
73
|
-
- Do not overwrite user-modified local files with default templates.
|
|
74
|
-
- Do not put team-private project rules into the public `
|
|
75
|
-
- Do not describe removed historical mechanisms as current Trellis behavior.
|
|
1
|
+
---
|
|
2
|
+
name: cstl-meta
|
|
3
|
+
description: "Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, or workflows generated by cstl init."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Trellis Meta
|
|
7
|
+
|
|
8
|
+
This skill is for local Trellis users who have already run `cstl init` in a project. After reading it, an AI should understand the Trellis architecture, operating model, and customization entry points inside that user project, then modify the generated `.trellis/` and platform directory files according to the user's request.
|
|
9
|
+
|
|
10
|
+
The default operating scope is local files in the user project:
|
|
11
|
+
|
|
12
|
+
- `.trellis/`: workflow, config, tasks, spec, workspace, scripts, and runtime state.
|
|
13
|
+
- Platform directory: `.cursor/` — skills, agents, hooks, commands, rules.
|
|
14
|
+
- Shared skill layer: `.agents/skills/` (industry skill-sharing path, kept when present but not extended by new Trellis behavior).
|
|
15
|
+
|
|
16
|
+
Trellis previously supported many AI-platform adapter directories (`.claude/`, `.codex/`, `.opencode/`, `.kiro/`, `.gemini/`, `.qoder/`, `.codebuddy/`, `.github/`, `.factory/`, `.pi/`, `.kilocode/`, `.agent/`, `.windsurf/`). The project has converged on **Cursor-only**. Legacy adapter directories in upgraded projects are preserved by `cstl update` but new Trellis behavior ships to `.cursor/` only.
|
|
17
|
+
|
|
18
|
+
Do not assume the user has the Trellis source repository. Do not default to modifying the global npm install directory or `node_modules`.
|
|
19
|
+
|
|
20
|
+
## How To Use
|
|
21
|
+
|
|
22
|
+
1. Read `references/local-architecture/overview.md` first to establish the local Trellis system model.
|
|
23
|
+
2. If the request involves a specific AI tool, read `references/platform-files/platform-map.md` and the relevant platform file notes.
|
|
24
|
+
3. If the user wants to change behavior, read `references/customize-local/overview.md`, then open the specific customization topic.
|
|
25
|
+
4. Before editing, read the actual files in the user project and treat local content as authoritative.
|
|
26
|
+
|
|
27
|
+
## References
|
|
28
|
+
|
|
29
|
+
### Local Architecture
|
|
30
|
+
|
|
31
|
+
- `references/local-architecture/overview.md`: The three-layer local Trellis architecture and customization principles.
|
|
32
|
+
- `references/local-architecture/generated-files.md`: Files generated by `cstl init` and their customization boundaries.
|
|
33
|
+
- `references/local-architecture/workflow.md`: Phases, routing, and workflow-state blocks in `.trellis/workflow.md`.
|
|
34
|
+
- `references/local-architecture/task-system.md`: Task directories, selected tasks, JSONL context, and task runtime.
|
|
35
|
+
- `references/local-architecture/spec-system.md`: How `.trellis/spec/` is organized and injected.
|
|
36
|
+
- `references/local-architecture/workspace-memory.md`: `.trellis/workspace/`, journals, and cross-session memory.
|
|
37
|
+
- `references/local-architecture/context-injection.md`: Hooks, sub-agent preludes, and context injection paths.
|
|
38
|
+
|
|
39
|
+
### Platform Files
|
|
40
|
+
|
|
41
|
+
- `references/platform-files/overview.md`: How shared `.trellis/` files relate to platform directories.
|
|
42
|
+
- `references/platform-files/platform-map.md`: Platform directories and paths for skills, agents, hooks, and extensions.
|
|
43
|
+
- `references/platform-files/hooks-and-settings.md`: How settings/config files, hooks, plugins, and extensions connect to Trellis.
|
|
44
|
+
- `references/platform-files/agents.md`: Local file responsibilities for `cstl-research`, `cstl-implement`, and `cstl-check`.
|
|
45
|
+
- `references/platform-files/skills-and-commands.md`: Differences between skills, commands, prompts, and workflows, plus how to change them.
|
|
46
|
+
|
|
47
|
+
### Local Customization
|
|
48
|
+
|
|
49
|
+
- `references/customize-local/overview.md`: Choose the right local customization entry point for the user's request.
|
|
50
|
+
- `references/customize-local/change-workflow.md`: Change phases, routing, next actions, and workflow-state.
|
|
51
|
+
- `references/customize-local/change-task-lifecycle.md`: Change task creation, status, archive behavior, and hooks.
|
|
52
|
+
- `references/customize-local/change-context-loading.md`: Change how tasks, specs, journals, and hook context are loaded.
|
|
53
|
+
- `references/customize-local/change-hooks.md`: Change platform hooks, settings, and shell session bridges.
|
|
54
|
+
- `references/customize-local/change-agents.md`: Change research, implement, and check agent behavior.
|
|
55
|
+
- `references/customize-local/change-skills-or-commands.md`: Add or modify local skills, commands, prompts, and workflows.
|
|
56
|
+
- `references/customize-local/change-spec-structure.md`: Adjust the project spec structure under `.trellis/spec/`.
|
|
57
|
+
- `references/customize-local/add-project-local-conventions.md`: Put team rules into project-local specs or local skills.
|
|
58
|
+
|
|
59
|
+
## Current Rules
|
|
60
|
+
|
|
61
|
+
- `.trellis/workflow.md` is the local workflow source of truth.
|
|
62
|
+
- `.trellis/config.yaml` is the project-level Trellis configuration and task hook configuration entry point.
|
|
63
|
+
- `.trellis/spec/` stores the user's project-specific coding conventions and design constraints.
|
|
64
|
+
- `.trellis/tasks/` stores task PRDs, technical notes, research files, and JSONL context.
|
|
65
|
+
- `.trellis/workspace/` stores developer journals and cross-session memory.
|
|
66
|
+
- Platform settings/config files decide which hooks, agents, skills, commands, prompts, and workflows actually run.
|
|
67
|
+
- `.trellis/.template-hashes.json` and `.trellis/.runtime/` are management/runtime state files. Confirm necessity before editing them.
|
|
68
|
+
|
|
69
|
+
## Do Not
|
|
70
|
+
|
|
71
|
+
- Do not treat Trellis upstream source code as the default target for local customization.
|
|
72
|
+
- Do not modify the global npm install directory or `node_modules/@blxzer/cursor-trellis` to implement project needs.
|
|
73
|
+
- Do not overwrite user-modified local files with default templates.
|
|
74
|
+
- Do not put team-private project rules into the public `cstl-meta`; put project rules in `.trellis/spec/` or a project-local skill.
|
|
75
|
+
- Do not describe removed historical mechanisms as current Trellis behavior.
|