@mindfoldhq/trellis 0.3.10-beta.0 → 0.3.10
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/dist/cli/index.js +0 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/init.d.ts +0 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +31 -203
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +6 -154
- package/dist/commands/update.js.map +1 -1
- package/dist/configurators/workflow.d.ts +2 -6
- package/dist/configurators/workflow.d.ts.map +1 -1
- package/dist/configurators/workflow.js +58 -88
- package/dist/configurators/workflow.js.map +1 -1
- package/dist/migrations/index.d.ts +0 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +0 -2
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/manifests/0.3.10.json +9 -0
- package/dist/templates/claude/agents/dispatch.md +2 -1
- package/dist/templates/claude/agents/implement.md +3 -2
- package/dist/templates/claude/commands/trellis/before-backend-dev.md +13 -0
- package/dist/templates/claude/commands/trellis/before-frontend-dev.md +13 -0
- package/dist/templates/claude/commands/trellis/check-backend.md +13 -0
- package/dist/templates/claude/commands/trellis/check-frontend.md +13 -0
- package/dist/templates/claude/commands/trellis/create-command.md +2 -2
- package/dist/templates/claude/commands/trellis/onboard.md +13 -13
- package/dist/templates/claude/commands/trellis/parallel.md +2 -1
- package/dist/templates/claude/commands/trellis/record-session.md +2 -2
- package/dist/templates/claude/commands/trellis/start.md +4 -8
- package/dist/templates/claude/hooks/inject-subagent-context.py +13 -21
- package/dist/templates/claude/hooks/session-start.py +2 -170
- package/dist/templates/codex/skills/before-backend-dev/SKILL.md +18 -0
- package/dist/templates/codex/skills/before-frontend-dev/SKILL.md +18 -0
- package/dist/templates/codex/skills/check-backend/SKILL.md +18 -0
- package/dist/templates/codex/skills/check-frontend/SKILL.md +18 -0
- package/dist/templates/codex/skills/create-command/SKILL.md +2 -2
- package/dist/templates/codex/skills/onboard/SKILL.md +11 -11
- package/dist/templates/codex/skills/record-session/SKILL.md +2 -2
- package/dist/templates/codex/skills/start/SKILL.md +3 -8
- package/dist/templates/cursor/commands/trellis-before-backend-dev.md +13 -0
- package/dist/templates/cursor/commands/trellis-before-frontend-dev.md +13 -0
- package/dist/templates/cursor/commands/trellis-check-backend.md +13 -0
- package/dist/templates/cursor/commands/trellis-check-frontend.md +13 -0
- package/dist/templates/cursor/commands/trellis-create-command.md +2 -2
- package/dist/templates/cursor/commands/trellis-onboard.md +13 -13
- package/dist/templates/cursor/commands/trellis-record-session.md +2 -2
- package/dist/templates/cursor/commands/trellis-start.md +16 -7
- package/dist/templates/gemini/commands/trellis/before-backend-dev.toml +17 -0
- package/dist/templates/gemini/commands/trellis/before-frontend-dev.toml +17 -0
- package/dist/templates/gemini/commands/trellis/check-backend.toml +17 -0
- package/dist/templates/gemini/commands/trellis/check-frontend.toml +17 -0
- package/dist/templates/gemini/commands/trellis/create-command.toml +2 -2
- package/dist/templates/gemini/commands/trellis/onboard.toml +2 -2
- package/dist/templates/gemini/commands/trellis/record-session.toml +2 -2
- package/dist/templates/gemini/commands/trellis/start.toml +4 -9
- package/dist/templates/iflow/agents/dispatch.md +2 -1
- package/dist/templates/iflow/agents/implement.md +3 -2
- package/dist/templates/iflow/commands/trellis/before-backend-dev.md +13 -0
- package/dist/templates/iflow/commands/trellis/before-frontend-dev.md +13 -0
- package/dist/templates/iflow/commands/trellis/check-backend.md +13 -0
- package/dist/templates/iflow/commands/trellis/check-frontend.md +13 -0
- package/dist/templates/iflow/commands/trellis/create-command.md +2 -2
- package/dist/templates/iflow/commands/trellis/onboard.md +13 -13
- package/dist/templates/iflow/commands/trellis/parallel.md +2 -1
- package/dist/templates/iflow/commands/trellis/record-session.md +2 -2
- package/dist/templates/iflow/commands/trellis/start.md +4 -8
- package/dist/templates/iflow/hooks/inject-subagent-context.py +13 -21
- package/dist/templates/iflow/hooks/session-start.py +1 -156
- package/dist/templates/kilo/workflows/before-backend-dev.md +13 -0
- package/dist/templates/kilo/workflows/before-frontend-dev.md +13 -0
- package/dist/templates/kilo/workflows/check-backend.md +13 -0
- package/dist/templates/kilo/workflows/check-frontend.md +13 -0
- package/dist/templates/kilo/workflows/create-command.md +2 -2
- package/dist/templates/kilo/workflows/onboard.md +13 -13
- package/dist/templates/kilo/workflows/parallel.md +2 -1
- package/dist/templates/kilo/workflows/record-session.md +2 -2
- package/dist/templates/kilo/workflows/start.md +3 -8
- package/dist/templates/kiro/skills/before-backend-dev/SKILL.md +18 -0
- package/dist/templates/kiro/skills/before-frontend-dev/SKILL.md +18 -0
- package/dist/templates/kiro/skills/check-backend/SKILL.md +18 -0
- package/dist/templates/kiro/skills/check-frontend/SKILL.md +18 -0
- package/dist/templates/kiro/skills/create-command/SKILL.md +2 -2
- package/dist/templates/kiro/skills/onboard/SKILL.md +11 -11
- package/dist/templates/kiro/skills/record-session/SKILL.md +2 -2
- package/dist/templates/kiro/skills/start/SKILL.md +3 -8
- package/dist/templates/markdown/spec/backend/script-conventions.md +0 -93
- package/dist/templates/opencode/agents/dispatch.md +2 -1
- package/dist/templates/opencode/agents/implement.md +2 -2
- package/dist/templates/opencode/agents/research.md +2 -1
- package/dist/templates/opencode/commands/trellis/before-backend-dev.md +13 -0
- package/dist/templates/opencode/commands/trellis/before-frontend-dev.md +13 -0
- package/dist/templates/opencode/commands/trellis/check-backend.md +13 -0
- package/dist/templates/opencode/commands/trellis/check-frontend.md +13 -0
- package/dist/templates/opencode/commands/trellis/create-command.md +2 -2
- package/dist/templates/opencode/commands/trellis/onboard.md +13 -13
- package/dist/templates/opencode/commands/trellis/parallel.md +2 -1
- package/dist/templates/opencode/commands/trellis/record-session.md +2 -2
- package/dist/templates/opencode/commands/trellis/start.md +3 -8
- package/dist/templates/opencode/plugin/inject-subagent-context.js +18 -45
- package/dist/templates/opencode/plugin/session-start.js +1 -149
- package/dist/templates/qoder/skills/before-backend-dev/SKILL.md +18 -0
- package/dist/templates/qoder/skills/before-frontend-dev/SKILL.md +18 -0
- package/dist/templates/qoder/skills/check-backend/SKILL.md +18 -0
- package/dist/templates/qoder/skills/check-frontend/SKILL.md +18 -0
- package/dist/templates/qoder/skills/create-command/SKILL.md +2 -2
- package/dist/templates/qoder/skills/onboard/SKILL.md +13 -13
- package/dist/templates/qoder/skills/record-session/SKILL.md +2 -2
- package/dist/templates/qoder/skills/start/SKILL.md +3 -8
- package/dist/templates/trellis/config.yaml +0 -20
- package/dist/templates/trellis/index.d.ts +0 -11
- package/dist/templates/trellis/index.d.ts.map +1 -1
- package/dist/templates/trellis/index.js +0 -22
- package/dist/templates/trellis/index.js.map +1 -1
- package/dist/templates/trellis/scripts/add_session.py +7 -52
- package/dist/templates/trellis/scripts/common/cli_adapter.py +45 -33
- package/dist/templates/trellis/scripts/common/config.py +0 -152
- package/dist/templates/trellis/scripts/common/git_context.py +586 -23
- package/dist/templates/trellis/scripts/common/paths.py +0 -46
- package/dist/templates/trellis/scripts/common/phase.py +49 -50
- package/dist/templates/trellis/scripts/common/registry.py +72 -41
- package/dist/templates/trellis/scripts/common/task_queue.py +98 -27
- package/dist/templates/trellis/scripts/common/task_utils.py +6 -96
- package/dist/templates/trellis/scripts/create_bootstrap.py +26 -31
- package/dist/templates/trellis/scripts/multi_agent/cleanup.py +48 -43
- package/dist/templates/trellis/scripts/multi_agent/create_pr.py +45 -336
- package/dist/templates/trellis/scripts/multi_agent/plan.py +26 -2
- package/dist/templates/trellis/scripts/multi_agent/start.py +57 -126
- package/dist/templates/trellis/scripts/multi_agent/status.py +753 -12
- package/dist/templates/trellis/scripts/task.py +975 -50
- package/dist/templates/trellis/workflow.md +34 -21
- package/dist/types/migration.d.ts +1 -3
- package/dist/types/migration.d.ts.map +1 -1
- package/dist/utils/project-detector.d.ts +0 -23
- package/dist/utils/project-detector.d.ts.map +1 -1
- package/dist/utils/project-detector.js +0 -364
- package/dist/utils/project-detector.js.map +1 -1
- package/dist/utils/template-fetcher.d.ts +10 -2
- package/dist/utils/template-fetcher.d.ts.map +1 -1
- package/dist/utils/template-fetcher.js +43 -12
- package/dist/utils/template-fetcher.js.map +1 -1
- package/package.json +1 -1
- package/dist/migrations/manifests/0.4.0-beta.1.json +0 -228
- package/dist/templates/claude/commands/trellis/before-dev.md +0 -29
- package/dist/templates/claude/commands/trellis/check.md +0 -25
- package/dist/templates/codex/skills/before-dev/SKILL.md +0 -34
- package/dist/templates/codex/skills/check/SKILL.md +0 -30
- package/dist/templates/cursor/commands/trellis-before-dev.md +0 -29
- package/dist/templates/cursor/commands/trellis-check.md +0 -25
- package/dist/templates/gemini/commands/trellis/before-dev.toml +0 -33
- package/dist/templates/gemini/commands/trellis/check.toml +0 -29
- package/dist/templates/iflow/commands/trellis/before-dev.md +0 -29
- package/dist/templates/iflow/commands/trellis/check.md +0 -25
- package/dist/templates/kilo/workflows/before-dev.md +0 -29
- package/dist/templates/kilo/workflows/check.md +0 -25
- package/dist/templates/kiro/skills/before-dev/SKILL.md +0 -34
- package/dist/templates/kiro/skills/check/SKILL.md +0 -30
- package/dist/templates/opencode/commands/trellis/before-dev.md +0 -29
- package/dist/templates/opencode/commands/trellis/check.md +0 -25
- package/dist/templates/qoder/skills/before-dev/SKILL.md +0 -34
- package/dist/templates/qoder/skills/check/SKILL.md +0 -30
- package/dist/templates/trellis/scripts/common/git.py +0 -31
- package/dist/templates/trellis/scripts/common/io.py +0 -37
- package/dist/templates/trellis/scripts/common/log.py +0 -45
- package/dist/templates/trellis/scripts/common/packages_context.py +0 -233
- package/dist/templates/trellis/scripts/common/session_context.py +0 -466
- package/dist/templates/trellis/scripts/common/task_context.py +0 -384
- package/dist/templates/trellis/scripts/common/task_store.py +0 -534
- package/dist/templates/trellis/scripts/common/tasks.py +0 -109
- package/dist/templates/trellis/scripts/common/types.py +0 -112
- package/dist/templates/trellis/scripts/hooks/linear_sync.py +0 -243
- package/dist/templates/trellis/scripts/multi_agent/_bootstrap.py +0 -17
- package/dist/templates/trellis/scripts/multi_agent/status_display.py +0 -542
- package/dist/templates/trellis/scripts/multi_agent/status_monitor.py +0 -225
|
@@ -38,22 +38,53 @@ const RAW_URL_PATTERNS = {
|
|
|
38
38
|
bitbucket: "https://bitbucket.org/{repo}/raw/{ref}/{subdir}",
|
|
39
39
|
};
|
|
40
40
|
export const SUPPORTED_PROVIDERS = Object.keys(RAW_URL_PATTERNS);
|
|
41
|
+
/**
|
|
42
|
+
* Convert an HTTPS URL to giget-style source format.
|
|
43
|
+
* e.g. "https://github.com/user/repo" → "gh:user/repo"
|
|
44
|
+
* "https://github.com/user/repo/tree/branch/path" → "gh:user/repo/path#branch"
|
|
45
|
+
* Returns the original string if it's not a recognized HTTPS URL.
|
|
46
|
+
*/
|
|
47
|
+
export function normalizeRegistrySource(source) {
|
|
48
|
+
const patterns = [
|
|
49
|
+
{ re: /^https?:\/\/github\.com\//, prefix: "gh:" },
|
|
50
|
+
{ re: /^https?:\/\/gitlab\.com\//, prefix: "gitlab:" },
|
|
51
|
+
{ re: /^https?:\/\/bitbucket\.org\//, prefix: "bitbucket:" },
|
|
52
|
+
];
|
|
53
|
+
for (const { re, prefix } of patterns) {
|
|
54
|
+
if (!re.test(source))
|
|
55
|
+
continue;
|
|
56
|
+
const path = source.replace(re, "");
|
|
57
|
+
// Handle /tree/<branch>/<subdir> format (GitHub browse URLs)
|
|
58
|
+
const treeMatch = path.match(/^([^/]+\/[^/]+)\/tree\/([^/]+)(?:\/(.+?))?(?:\.git)?\/?$/);
|
|
59
|
+
if (treeMatch) {
|
|
60
|
+
const [, repo, ref, subdir] = treeMatch;
|
|
61
|
+
return `${prefix}${repo}${subdir ? `/${subdir}` : ""}#${ref}`;
|
|
62
|
+
}
|
|
63
|
+
// Plain URL: strip trailing .git and /
|
|
64
|
+
const cleaned = path.replace(/\.git\/?$/, "").replace(/\/$/, "");
|
|
65
|
+
return `${prefix}${cleaned}`;
|
|
66
|
+
}
|
|
67
|
+
return source;
|
|
68
|
+
}
|
|
41
69
|
/**
|
|
42
70
|
* Parse a giget-style registry source into its components.
|
|
43
71
|
*
|
|
44
72
|
* Supports: gh:user/repo/subdir#ref, gitlab:user/repo/subdir, bitbucket:user/repo/subdir
|
|
73
|
+
* Also accepts HTTPS URLs which are auto-converted (e.g. https://github.com/user/repo).
|
|
45
74
|
* Ref defaults to "main" if not specified.
|
|
46
75
|
*
|
|
47
76
|
* @throws Error if provider is unsupported
|
|
48
77
|
*/
|
|
49
78
|
export function parseRegistrySource(source) {
|
|
79
|
+
// Auto-convert HTTPS URLs to giget format
|
|
80
|
+
const normalized = normalizeRegistrySource(source);
|
|
50
81
|
// Extract provider prefix
|
|
51
|
-
const colonIndex =
|
|
82
|
+
const colonIndex = normalized.indexOf(":");
|
|
52
83
|
if (colonIndex === -1) {
|
|
53
84
|
throw new Error(`Invalid registry source "${source}". Expected format: gh:user/repo/path`);
|
|
54
85
|
}
|
|
55
|
-
const provider =
|
|
56
|
-
const rest =
|
|
86
|
+
const provider = normalized.slice(0, colonIndex);
|
|
87
|
+
const rest = normalized.slice(colonIndex + 1);
|
|
57
88
|
// Check supported provider
|
|
58
89
|
const pattern = RAW_URL_PATTERNS[provider];
|
|
59
90
|
if (!pattern) {
|
|
@@ -64,14 +95,14 @@ export function parseRegistrySource(source) {
|
|
|
64
95
|
// Match: user/repo (required), /subdir (optional), #ref (optional)
|
|
65
96
|
const refMatch = rest.match(/^([^#]+?)(?:#(.+))?$/);
|
|
66
97
|
if (!refMatch) {
|
|
67
|
-
throw new Error(`Invalid registry source "${
|
|
98
|
+
throw new Error(`Invalid registry source "${normalized}". Expected format: ${provider}:user/repo/path`);
|
|
68
99
|
}
|
|
69
100
|
const pathPart = refMatch[1];
|
|
70
101
|
const ref = refMatch[2] || "main";
|
|
71
102
|
// Split into repo (first two segments) and subdir (rest)
|
|
72
103
|
const segments = pathPart.split("/").filter(Boolean);
|
|
73
104
|
if (segments.length < 2) {
|
|
74
|
-
throw new Error(`Invalid registry source "${
|
|
105
|
+
throw new Error(`Invalid registry source "${normalized}". Must include user/repo at minimum.`);
|
|
75
106
|
}
|
|
76
107
|
const repo = `${segments[0]}/${segments[1]}`;
|
|
77
108
|
const subdir = segments.slice(2).join("/");
|
|
@@ -80,8 +111,8 @@ export function parseRegistrySource(source) {
|
|
|
80
111
|
.replace("{repo}", repo)
|
|
81
112
|
.replace("{ref}", ref)
|
|
82
113
|
.replace("{subdir}", subdir);
|
|
83
|
-
// Build giget source (
|
|
84
|
-
const gigetSource =
|
|
114
|
+
// Build giget source (use normalized format)
|
|
115
|
+
const gigetSource = normalized;
|
|
85
116
|
return { provider, repo, subdir, ref, rawBaseUrl, gigetSource };
|
|
86
117
|
}
|
|
87
118
|
// =============================================================================
|
|
@@ -285,7 +316,7 @@ async function copyMissing(src, dest) {
|
|
|
285
316
|
* repo as the giget source instead of the default TEMPLATE_REPO.
|
|
286
317
|
* @returns Object with success status and message
|
|
287
318
|
*/
|
|
288
|
-
export async function downloadTemplateById(cwd, templateId, strategy, template, registry
|
|
319
|
+
export async function downloadTemplateById(cwd, templateId, strategy, template, registry) {
|
|
289
320
|
// Use pre-fetched template or find from index
|
|
290
321
|
let resolved = template;
|
|
291
322
|
if (!resolved) {
|
|
@@ -324,8 +355,8 @@ export async function downloadTemplateById(cwd, templateId, strategy, template,
|
|
|
324
355
|
message: `Template type "${resolved.type}" is not supported yet (only "spec" is supported)`,
|
|
325
356
|
};
|
|
326
357
|
}
|
|
327
|
-
// Get destination path
|
|
328
|
-
const destDir =
|
|
358
|
+
// Get destination path
|
|
359
|
+
const destDir = getInstallPath(cwd, resolved.type);
|
|
329
360
|
// Check if directory exists for skip strategy
|
|
330
361
|
if (strategy === "skip" && fs.existsSync(destDir)) {
|
|
331
362
|
return {
|
|
@@ -376,8 +407,8 @@ export async function downloadTemplateById(cwd, templateId, strategy, template,
|
|
|
376
407
|
* Download a registry source directly to the spec directory (no index.json).
|
|
377
408
|
* Used when the registry source points to a spec directory, not a marketplace.
|
|
378
409
|
*/
|
|
379
|
-
export async function downloadRegistryDirect(cwd, registry, strategy
|
|
380
|
-
const destDir =
|
|
410
|
+
export async function downloadRegistryDirect(cwd, registry, strategy) {
|
|
411
|
+
const destDir = getInstallPath(cwd, "spec");
|
|
381
412
|
if (strategy === "skip" && fs.existsSync(destDir)) {
|
|
382
413
|
return {
|
|
383
414
|
success: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-fetcher.js","sourceRoot":"","sources":["../../src/utils/template-fetcher.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC,gFAAgF;AAChF,YAAY;AACZ,gFAAgF;AAEhF,MAAM,CAAC,MAAM,kBAAkB,GAC7B,mFAAmF,CAAC;AAEtF,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAE/C,6CAA6C;AAC7C,MAAM,aAAa,GAA2B;IAC5C,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE,kBAAkB;IAC3B,IAAI,EAAE,GAAG,EAAE,sBAAsB;CAClC,CAAC;AAEF,+CAA+C;AAC/C,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,mDAAmD;IACnD,cAAc,EAAE,KAAK;IACrB,wDAAwD;IACxD,WAAW,EAAE,MAAM;CACX,CAAC;AAqCX,gFAAgF;AAChF,0BAA0B;AAC1B,gFAAgF;AAEhF,sDAAsD;AACtD,MAAM,gBAAgB,GAA2B;IAC/C,EAAE,EAAE,yDAAyD;IAC7D,MAAM,EAAE,yDAAyD;IACjE,MAAM,EAAE,gDAAgD;IACxD,SAAS,EAAE,iDAAiD;CAC7D,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI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C;IAE5C,IAAI,QAAQ,KAAK,MAAM,IAAI,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QAClD,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,YAAY,OAAO,iBAAiB;SAC9C,CAAC;IACJ,CAAC;IAED,IAAI,CAAC;QACH,MAAM,oBAAoB,CACxB,QAAQ,CAAC,WAAW,EACpB,OAAO,EACP,QAAQ,EACR,IAAI,CACL,CAAC;QACF,OAAO;YACL,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,wBAAwB,QAAQ,CAAC,WAAW,OAAO,OAAO,EAAE;SACtE,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,YAAY,GAChB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAC;QAE3D,IAAI,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,CAAC;YACvC,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EACL,kEAAkE;aACrE,CAAC;QACJ,CAAC;QACD,IACE,YAAY,CAAC,QAAQ,CAAC,oBAAoB,CAAC;YAC3C,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EACxC,CAAC;YACD,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EACL,iEAAiE;aACpE,CAAC;QACJ,CAAC;QACD,OAAO;YACL,OAAO,EAAE,KAAK;YACd,OAAO,EAAE,oBAAoB,YAAY,EAAE;SAC5C,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "0.4.0-beta.1",
|
|
3
|
-
"description": "Monorepo support, unified commands, safe-file-delete, worktree submodule awareness",
|
|
4
|
-
"breaking": true,
|
|
5
|
-
"recommendMigrate": true,
|
|
6
|
-
"changelog": "**Enhancements:**\n- feat(init): auto-detect monorepo (pnpm/npm/Cargo/Go/uv workspaces + git submodules)\n- feat(init): generate per-package spec directories and config.yaml with packages list\n- feat(update): new safe-file-delete migration type — auto-removes deprecated files when content hash matches\n- feat(update): PROTECTED_PATHS prevents migrations from touching user data (.trellis/workspace, spec, tasks)\n- feat(update): config.yaml update.skip to exclude paths from safe-file-delete and template updates\n- feat(commands): merge before-backend-dev + before-frontend-dev into unified before-dev (all 9 platforms)\n- feat(commands): merge check-backend + check-frontend into unified check (all 9 platforms)\n- feat(scripts): worktree agents auto-initialize git submodules for task packages\n- feat(scripts): session-start hook supports spec_scope filtering for monorepo\n- feat(scripts): task.py and add_session.py support --package for monorepo context\n\n**Internal:**\n- refactor(scripts): Python scripts restructured — shared io/log/git modules, TypedDict type safety, god modules split into focused modules. All entry paths unchanged.\n\n**Bug Fixes:**\n- fix(update): allow rename/rename-dir migrations to target protected paths (0.2.0 compat)\n- fix(update): warn when config.yaml parse fails instead of silently disabling update.skip\n- fix(scripts): preserve git submodule status prefix character (.strip → .rstrip)",
|
|
7
|
-
"notes": "Run `trellis update` to sync new unified commands. Old before-backend-dev, before-frontend-dev, check-backend, check-frontend files will be auto-deleted if unmodified.",
|
|
8
|
-
"migrationGuide": "## Command Consolidation\n\nThe following commands have been merged:\n\n| Old (removed) | New (replacement) |\n|---------------|-------------------|\n| `before-backend-dev` | `before-dev` |\n| `before-frontend-dev` | `before-dev` |\n| `check-backend` | `check` |\n| `check-frontend` | `check` |\n\n### If you never customized these commands\n\nNo action needed. `trellis update` will:\n1. Auto-delete the old files (hash-verified, only if unmodified)\n2. Write the new unified `before-dev` and `check` commands\n\n### If you customized the old commands\n\nThe old files will NOT be deleted (hash mismatch protection). You need to:\n1. Open the new `before-dev` / `check` command file\n2. Merge your customizations from the old backend/frontend variants into the unified file\n3. Delete the old files manually once merged\n\n### Affected paths per platform\n\n- **Claude**: `.claude/commands/trellis/`\n- **Cursor**: `.cursor/commands/`\n- **iFlow**: `.iflow/commands/trellis/`\n- **OpenCode**: `.opencode/commands/trellis/`\n- **Gemini**: `.gemini/commands/trellis/`\n- **Kilo**: `.kilocode/workflows/`\n- **Codex**: `.agents/skills/`\n- **Kiro**: `.kiro/skills/`\n- **Qoder**: `.qoder/skills/`\n\n## Python Scripts Refactoring\n\nAll `.trellis/scripts/` files have been restructured internally. **No action needed** — all entry paths (`python3 .trellis/scripts/task.py`, etc.) remain unchanged. `trellis update` will sync the new scripts automatically.",
|
|
9
|
-
"aiInstructions": "When helping users migrate to v0.4.0-beta.1:\n\n1. **Check for customized old commands**: Run `git diff` or compare file hashes to see if the user modified before-backend-dev, before-frontend-dev, check-backend, or check-frontend files.\n2. **If customized**: Help merge their customizations into the new unified `before-dev` and `check` files. The new files use `python3 ./.trellis/scripts/get_context.py --mode packages` to auto-detect which specs to load, replacing the hardcoded backend/frontend split.\n3. **If not customized**: Just run `trellis update` — safe-file-delete will handle cleanup automatically.\n4. **Python scripts**: No user action needed. The refactoring preserves all entry paths. If the user has custom scripts that import from `.trellis/scripts/common/`, they may need to update imports (e.g., `from common.io import read_json` instead of inline `_read_json_file`).",
|
|
10
|
-
"migrations": [
|
|
11
|
-
{
|
|
12
|
-
"type": "safe-file-delete",
|
|
13
|
-
"from": ".claude/commands/trellis/before-backend-dev.md",
|
|
14
|
-
"description": "Replaced by before-dev.md",
|
|
15
|
-
"allowed_hashes": ["7e35444de2a5779ef39944f17f566ea21d2ed7f4994246f4cfe6ebf9a11dd3e3"]
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "safe-file-delete",
|
|
19
|
-
"from": ".claude/commands/trellis/before-frontend-dev.md",
|
|
20
|
-
"description": "Replaced by before-dev.md",
|
|
21
|
-
"allowed_hashes": ["a6225f9d123dbd4a7aec822652030cae50be3f5b308297015e04d42b23a27b2a"]
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "safe-file-delete",
|
|
25
|
-
"from": ".claude/commands/trellis/check-backend.md",
|
|
26
|
-
"description": "Replaced by check.md",
|
|
27
|
-
"allowed_hashes": ["4e81a28d681ea770f780df55a212fd504ce21ee49b44ba16023b74b5c243cef3"]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "safe-file-delete",
|
|
31
|
-
"from": ".claude/commands/trellis/check-frontend.md",
|
|
32
|
-
"description": "Replaced by check.md",
|
|
33
|
-
"allowed_hashes": ["5e8e3b682032ba0dd6bb843dd4826fff0159f78a7084964ccb119c6cf98b3d91"]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"type": "safe-file-delete",
|
|
37
|
-
"from": ".cursor/commands/trellis-before-backend-dev.md",
|
|
38
|
-
"description": "Replaced by trellis-before-dev.md",
|
|
39
|
-
"allowed_hashes": ["7e35444de2a5779ef39944f17f566ea21d2ed7f4994246f4cfe6ebf9a11dd3e3"]
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"type": "safe-file-delete",
|
|
43
|
-
"from": ".cursor/commands/trellis-before-frontend-dev.md",
|
|
44
|
-
"description": "Replaced by trellis-before-dev.md",
|
|
45
|
-
"allowed_hashes": ["a6225f9d123dbd4a7aec822652030cae50be3f5b308297015e04d42b23a27b2a"]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"type": "safe-file-delete",
|
|
49
|
-
"from": ".cursor/commands/trellis-check-backend.md",
|
|
50
|
-
"description": "Replaced by trellis-check.md",
|
|
51
|
-
"allowed_hashes": ["4e81a28d681ea770f780df55a212fd504ce21ee49b44ba16023b74b5c243cef3"]
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"type": "safe-file-delete",
|
|
55
|
-
"from": ".cursor/commands/trellis-check-frontend.md",
|
|
56
|
-
"description": "Replaced by trellis-check.md",
|
|
57
|
-
"allowed_hashes": ["5e8e3b682032ba0dd6bb843dd4826fff0159f78a7084964ccb119c6cf98b3d91"]
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "safe-file-delete",
|
|
61
|
-
"from": ".iflow/commands/trellis/before-backend-dev.md",
|
|
62
|
-
"description": "Replaced by before-dev.md",
|
|
63
|
-
"allowed_hashes": ["7e35444de2a5779ef39944f17f566ea21d2ed7f4994246f4cfe6ebf9a11dd3e3"]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"type": "safe-file-delete",
|
|
67
|
-
"from": ".iflow/commands/trellis/before-frontend-dev.md",
|
|
68
|
-
"description": "Replaced by before-dev.md",
|
|
69
|
-
"allowed_hashes": ["a6225f9d123dbd4a7aec822652030cae50be3f5b308297015e04d42b23a27b2a"]
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"type": "safe-file-delete",
|
|
73
|
-
"from": ".iflow/commands/trellis/check-backend.md",
|
|
74
|
-
"description": "Replaced by check.md",
|
|
75
|
-
"allowed_hashes": ["4e81a28d681ea770f780df55a212fd504ce21ee49b44ba16023b74b5c243cef3"]
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"type": "safe-file-delete",
|
|
79
|
-
"from": ".iflow/commands/trellis/check-frontend.md",
|
|
80
|
-
"description": "Replaced by check.md",
|
|
81
|
-
"allowed_hashes": ["5e8e3b682032ba0dd6bb843dd4826fff0159f78a7084964ccb119c6cf98b3d91"]
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"type": "safe-file-delete",
|
|
85
|
-
"from": ".opencode/commands/trellis/before-backend-dev.md",
|
|
86
|
-
"description": "Replaced by before-dev.md",
|
|
87
|
-
"allowed_hashes": ["7e35444de2a5779ef39944f17f566ea21d2ed7f4994246f4cfe6ebf9a11dd3e3"]
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"type": "safe-file-delete",
|
|
91
|
-
"from": ".opencode/commands/trellis/before-frontend-dev.md",
|
|
92
|
-
"description": "Replaced by before-dev.md",
|
|
93
|
-
"allowed_hashes": ["a6225f9d123dbd4a7aec822652030cae50be3f5b308297015e04d42b23a27b2a"]
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"type": "safe-file-delete",
|
|
97
|
-
"from": ".opencode/commands/trellis/check-backend.md",
|
|
98
|
-
"description": "Replaced by check.md",
|
|
99
|
-
"allowed_hashes": ["4e81a28d681ea770f780df55a212fd504ce21ee49b44ba16023b74b5c243cef3"]
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"type": "safe-file-delete",
|
|
103
|
-
"from": ".opencode/commands/trellis/check-frontend.md",
|
|
104
|
-
"description": "Replaced by check.md",
|
|
105
|
-
"allowed_hashes": ["5e8e3b682032ba0dd6bb843dd4826fff0159f78a7084964ccb119c6cf98b3d91"]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"type": "safe-file-delete",
|
|
109
|
-
"from": ".kilocode/workflows/before-backend-dev.md",
|
|
110
|
-
"description": "Replaced by before-dev.md",
|
|
111
|
-
"allowed_hashes": ["7e35444de2a5779ef39944f17f566ea21d2ed7f4994246f4cfe6ebf9a11dd3e3"]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"type": "safe-file-delete",
|
|
115
|
-
"from": ".kilocode/workflows/before-frontend-dev.md",
|
|
116
|
-
"description": "Replaced by before-dev.md",
|
|
117
|
-
"allowed_hashes": ["a6225f9d123dbd4a7aec822652030cae50be3f5b308297015e04d42b23a27b2a"]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"type": "safe-file-delete",
|
|
121
|
-
"from": ".kilocode/workflows/check-backend.md",
|
|
122
|
-
"description": "Replaced by check.md",
|
|
123
|
-
"allowed_hashes": ["4e81a28d681ea770f780df55a212fd504ce21ee49b44ba16023b74b5c243cef3"]
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "safe-file-delete",
|
|
127
|
-
"from": ".kilocode/workflows/check-frontend.md",
|
|
128
|
-
"description": "Replaced by check.md",
|
|
129
|
-
"allowed_hashes": ["5e8e3b682032ba0dd6bb843dd4826fff0159f78a7084964ccb119c6cf98b3d91"]
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"type": "safe-file-delete",
|
|
133
|
-
"from": ".gemini/commands/trellis/before-backend-dev.toml",
|
|
134
|
-
"description": "Replaced by before-dev.toml",
|
|
135
|
-
"allowed_hashes": ["c384cda35b0e57de4a84d2812d59fd223c998be2aaa16a0620d7b987a08f6e33"]
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"type": "safe-file-delete",
|
|
139
|
-
"from": ".gemini/commands/trellis/before-frontend-dev.toml",
|
|
140
|
-
"description": "Replaced by before-dev.toml",
|
|
141
|
-
"allowed_hashes": ["3e1ad82280f2aaabe60b93ec3e76c1017ef6282319d061e1a3de556b421317e2"]
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"type": "safe-file-delete",
|
|
145
|
-
"from": ".gemini/commands/trellis/check-backend.toml",
|
|
146
|
-
"description": "Replaced by check.toml",
|
|
147
|
-
"allowed_hashes": ["8f872a2eea659abce0cbdc40ee6a197e70ffa4a4e0cbdc42ea9bb026af1cfe79"]
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"type": "safe-file-delete",
|
|
151
|
-
"from": ".gemini/commands/trellis/check-frontend.toml",
|
|
152
|
-
"description": "Replaced by check.toml",
|
|
153
|
-
"allowed_hashes": ["4fb9eecf75f5efc0d9a38becc459d503261ecc5e69906cdfc489b2ef065944a6"]
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"type": "safe-file-delete",
|
|
157
|
-
"from": ".agents/skills/before-backend-dev/SKILL.md",
|
|
158
|
-
"description": "Replaced by before-dev skill",
|
|
159
|
-
"allowed_hashes": ["4537ccee0071353beee636a052c01642a27a87b6b0a73e7bc872b2501547fa64"]
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"type": "safe-file-delete",
|
|
163
|
-
"from": ".agents/skills/before-frontend-dev/SKILL.md",
|
|
164
|
-
"description": "Replaced by before-dev skill",
|
|
165
|
-
"allowed_hashes": ["679c1708a4d9fbad5214db299a38366581684a9383cf51a5d8ac21f890d6ba0d"]
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"type": "safe-file-delete",
|
|
169
|
-
"from": ".agents/skills/check-backend/SKILL.md",
|
|
170
|
-
"description": "Replaced by check skill",
|
|
171
|
-
"allowed_hashes": ["9b312cfd7a07ed036769b387d84d642cd5e20f06b88e7b6a4626705fa8beb6fa"]
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"type": "safe-file-delete",
|
|
175
|
-
"from": ".agents/skills/check-frontend/SKILL.md",
|
|
176
|
-
"description": "Replaced by check skill",
|
|
177
|
-
"allowed_hashes": ["27b75f9eea472ed104f39a65bb78ae559cfe8730c85e0742e55fd575a4a2f854"]
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"type": "safe-file-delete",
|
|
181
|
-
"from": ".kiro/skills/before-backend-dev/SKILL.md",
|
|
182
|
-
"description": "Replaced by before-dev skill",
|
|
183
|
-
"allowed_hashes": ["4537ccee0071353beee636a052c01642a27a87b6b0a73e7bc872b2501547fa64"]
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"type": "safe-file-delete",
|
|
187
|
-
"from": ".kiro/skills/before-frontend-dev/SKILL.md",
|
|
188
|
-
"description": "Replaced by before-dev skill",
|
|
189
|
-
"allowed_hashes": ["679c1708a4d9fbad5214db299a38366581684a9383cf51a5d8ac21f890d6ba0d"]
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
"type": "safe-file-delete",
|
|
193
|
-
"from": ".kiro/skills/check-backend/SKILL.md",
|
|
194
|
-
"description": "Replaced by check skill",
|
|
195
|
-
"allowed_hashes": ["9b312cfd7a07ed036769b387d84d642cd5e20f06b88e7b6a4626705fa8beb6fa"]
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"type": "safe-file-delete",
|
|
199
|
-
"from": ".kiro/skills/check-frontend/SKILL.md",
|
|
200
|
-
"description": "Replaced by check skill",
|
|
201
|
-
"allowed_hashes": ["27b75f9eea472ed104f39a65bb78ae559cfe8730c85e0742e55fd575a4a2f854"]
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
"type": "safe-file-delete",
|
|
205
|
-
"from": ".qoder/skills/before-backend-dev/SKILL.md",
|
|
206
|
-
"description": "Replaced by before-dev skill",
|
|
207
|
-
"allowed_hashes": ["4537ccee0071353beee636a052c01642a27a87b6b0a73e7bc872b2501547fa64"]
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"type": "safe-file-delete",
|
|
211
|
-
"from": ".qoder/skills/before-frontend-dev/SKILL.md",
|
|
212
|
-
"description": "Replaced by before-dev skill",
|
|
213
|
-
"allowed_hashes": ["679c1708a4d9fbad5214db299a38366581684a9383cf51a5d8ac21f890d6ba0d"]
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
"type": "safe-file-delete",
|
|
217
|
-
"from": ".qoder/skills/check-backend/SKILL.md",
|
|
218
|
-
"description": "Replaced by check skill",
|
|
219
|
-
"allowed_hashes": ["9b312cfd7a07ed036769b387d84d642cd5e20f06b88e7b6a4626705fa8beb6fa"]
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"type": "safe-file-delete",
|
|
223
|
-
"from": ".qoder/skills/check-frontend/SKILL.md",
|
|
224
|
-
"description": "Replaced by check skill",
|
|
225
|
-
"allowed_hashes": ["27b75f9eea472ed104f39a65bb78ae559cfe8730c85e0742e55fd575a4a2f854"]
|
|
226
|
-
}
|
|
227
|
-
]
|
|
228
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Read the relevant development guidelines before starting your task.
|
|
2
|
-
|
|
3
|
-
Execute these steps:
|
|
4
|
-
|
|
5
|
-
1. **Discover packages and their spec layers**:
|
|
6
|
-
```bash
|
|
7
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
2. **Identify which specs apply** to your task based on:
|
|
11
|
-
- Which package you're modifying (e.g., `cli/`, `docs-site/`)
|
|
12
|
-
- What type of work (backend, frontend, unit-test, docs, etc.)
|
|
13
|
-
|
|
14
|
-
3. **Read the spec index** for each relevant module:
|
|
15
|
-
```bash
|
|
16
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
17
|
-
```
|
|
18
|
-
Follow the **"Pre-Development Checklist"** section in the index.
|
|
19
|
-
|
|
20
|
-
4. **Read the specific guideline files** listed in the Pre-Development Checklist that are relevant to your task. The index is NOT the goal — it points you to the actual guideline files (e.g., `error-handling.md`, `conventions.md`, `mock-strategies.md`). Read those files to understand the coding standards and patterns.
|
|
21
|
-
|
|
22
|
-
5. **Always read shared guides**:
|
|
23
|
-
```bash
|
|
24
|
-
cat .trellis/spec/guides/index.md
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
6. Understand the coding standards and patterns you need to follow, then proceed with your development plan.
|
|
28
|
-
|
|
29
|
-
This step is **mandatory** before writing any code.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Check if the code you just wrote follows the development guidelines.
|
|
2
|
-
|
|
3
|
-
Execute these steps:
|
|
4
|
-
|
|
5
|
-
1. **Identify changed files**:
|
|
6
|
-
```bash
|
|
7
|
-
git diff --name-only HEAD
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
2. **Determine which spec modules apply** based on the changed file paths:
|
|
11
|
-
```bash
|
|
12
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
3. **Read the spec index** for each relevant module:
|
|
16
|
-
```bash
|
|
17
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
18
|
-
```
|
|
19
|
-
Follow the **"Quality Check"** section in the index.
|
|
20
|
-
|
|
21
|
-
4. **Read the specific guideline files** referenced in the Quality Check section (e.g., `quality-guidelines.md`, `conventions.md`). The index is NOT the goal — it points you to the actual guideline files. Read those files and review your code against them.
|
|
22
|
-
|
|
23
|
-
5. **Run lint and typecheck** for the affected package.
|
|
24
|
-
|
|
25
|
-
6. **Report any violations** and fix them if found.
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: before-dev
|
|
3
|
-
description: "Read the relevant development guidelines before starting your task."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Read the relevant development guidelines before starting your task.
|
|
7
|
-
|
|
8
|
-
Execute these steps:
|
|
9
|
-
|
|
10
|
-
1. **Discover packages and their spec layers**:
|
|
11
|
-
```bash
|
|
12
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
2. **Identify which specs apply** to your task based on:
|
|
16
|
-
- Which package you're modifying (e.g., `cli/`, `docs-site/`)
|
|
17
|
-
- What type of work (backend, frontend, unit-test, docs, etc.)
|
|
18
|
-
|
|
19
|
-
3. **Read the spec index** for each relevant module:
|
|
20
|
-
```bash
|
|
21
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
22
|
-
```
|
|
23
|
-
Follow the **"Pre-Development Checklist"** section in the index.
|
|
24
|
-
|
|
25
|
-
4. **Read the specific guideline files** listed in the Pre-Development Checklist that are relevant to your task. The index is NOT the goal — it points you to the actual guideline files (e.g., `error-handling.md`, `conventions.md`, `mock-strategies.md`). Read those files to understand the coding standards and patterns.
|
|
26
|
-
|
|
27
|
-
5. **Always read shared guides**:
|
|
28
|
-
```bash
|
|
29
|
-
cat .trellis/spec/guides/index.md
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
6. Understand the coding standards and patterns you need to follow, then proceed with your development plan.
|
|
33
|
-
|
|
34
|
-
This step is **mandatory** before writing any code.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: check
|
|
3
|
-
description: "Check if the code you just wrote follows the development guidelines."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Check if the code you just wrote follows the development guidelines.
|
|
7
|
-
|
|
8
|
-
Execute these steps:
|
|
9
|
-
|
|
10
|
-
1. **Identify changed files**:
|
|
11
|
-
```bash
|
|
12
|
-
git diff --name-only HEAD
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
2. **Determine which spec modules apply** based on the changed file paths:
|
|
16
|
-
```bash
|
|
17
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
3. **Read the spec index** for each relevant module:
|
|
21
|
-
```bash
|
|
22
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
23
|
-
```
|
|
24
|
-
Follow the **"Quality Check"** section in the index.
|
|
25
|
-
|
|
26
|
-
4. **Read the specific guideline files** referenced in the Quality Check section (e.g., `quality-guidelines.md`, `conventions.md`). The index is NOT the goal — it points you to the actual guideline files. Read those files and review your code against them.
|
|
27
|
-
|
|
28
|
-
5. **Run lint and typecheck** for the affected package.
|
|
29
|
-
|
|
30
|
-
6. **Report any violations** and fix them if found.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Read the relevant development guidelines before starting your task.
|
|
2
|
-
|
|
3
|
-
Execute these steps:
|
|
4
|
-
|
|
5
|
-
1. **Discover packages and their spec layers**:
|
|
6
|
-
```bash
|
|
7
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
2. **Identify which specs apply** to your task based on:
|
|
11
|
-
- Which package you're modifying (e.g., `cli/`, `docs-site/`)
|
|
12
|
-
- What type of work (backend, frontend, unit-test, docs, etc.)
|
|
13
|
-
|
|
14
|
-
3. **Read the spec index** for each relevant module:
|
|
15
|
-
```bash
|
|
16
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
17
|
-
```
|
|
18
|
-
Follow the **"Pre-Development Checklist"** section in the index.
|
|
19
|
-
|
|
20
|
-
4. **Read the specific guideline files** listed in the Pre-Development Checklist that are relevant to your task. The index is NOT the goal — it points you to the actual guideline files (e.g., `error-handling.md`, `conventions.md`, `mock-strategies.md`). Read those files to understand the coding standards and patterns.
|
|
21
|
-
|
|
22
|
-
5. **Always read shared guides**:
|
|
23
|
-
```bash
|
|
24
|
-
cat .trellis/spec/guides/index.md
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
6. Understand the coding standards and patterns you need to follow, then proceed with your development plan.
|
|
28
|
-
|
|
29
|
-
This step is **mandatory** before writing any code.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Check if the code you just wrote follows the development guidelines.
|
|
2
|
-
|
|
3
|
-
Execute these steps:
|
|
4
|
-
|
|
5
|
-
1. **Identify changed files**:
|
|
6
|
-
```bash
|
|
7
|
-
git diff --name-only HEAD
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
2. **Determine which spec modules apply** based on the changed file paths:
|
|
11
|
-
```bash
|
|
12
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
3. **Read the spec index** for each relevant module:
|
|
16
|
-
```bash
|
|
17
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
18
|
-
```
|
|
19
|
-
Follow the **"Quality Check"** section in the index.
|
|
20
|
-
|
|
21
|
-
4. **Read the specific guideline files** referenced in the Quality Check section (e.g., `quality-guidelines.md`, `conventions.md`). The index is NOT the goal — it points you to the actual guideline files. Read those files and review your code against them.
|
|
22
|
-
|
|
23
|
-
5. **Run lint and typecheck** for the affected package.
|
|
24
|
-
|
|
25
|
-
6. **Report any violations** and fix them if found.
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
description = "Read the relevant development guidelines before starting your task"
|
|
2
|
-
|
|
3
|
-
prompt = """
|
|
4
|
-
Read the relevant development guidelines before starting your task.
|
|
5
|
-
|
|
6
|
-
Execute these steps:
|
|
7
|
-
|
|
8
|
-
1. **Discover packages and their spec layers**:
|
|
9
|
-
```bash
|
|
10
|
-
python3 ./.trellis/scripts/get_context.py --mode packages
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
2. **Identify which specs apply** to your task based on:
|
|
14
|
-
- Which package you're modifying (e.g., `cli/`, `docs-site/`)
|
|
15
|
-
- What type of work (backend, frontend, unit-test, docs, etc.)
|
|
16
|
-
|
|
17
|
-
3. **Read the spec index** for each relevant module:
|
|
18
|
-
```bash
|
|
19
|
-
cat .trellis/spec/<package>/<layer>/index.md
|
|
20
|
-
```
|
|
21
|
-
Follow the **"Pre-Development Checklist"** section in the index.
|
|
22
|
-
|
|
23
|
-
4. **Read the specific guideline files** listed in the Pre-Development Checklist that are relevant to your task. The index is NOT the goal -> it points you to the actual guideline files (e.g., `error-handling.md`, `conventions.md`, `mock-strategies.md`). Read those files to understand the coding standards and patterns.
|
|
24
|
-
|
|
25
|
-
5. **Always read shared guides**:
|
|
26
|
-
```bash
|
|
27
|
-
cat .trellis/spec/guides/index.md
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
6. Understand the coding standards and patterns you need to follow, then proceed with your development plan.
|
|
31
|
-
|
|
32
|
-
This step is **mandatory** before writing any code.
|
|
33
|
-
"""
|