@mindfoldhq/trellis 0.5.0-beta.16 → 0.5.0-beta.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -98
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +1 -29
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +92 -5
- package/dist/commands/update.js.map +1 -1
- package/dist/configurators/antigravity.d.ts.map +1 -1
- package/dist/configurators/antigravity.js +2 -8
- package/dist/configurators/antigravity.js.map +1 -1
- package/dist/configurators/claude.d.ts.map +1 -1
- package/dist/configurators/claude.js +3 -9
- package/dist/configurators/claude.js.map +1 -1
- package/dist/configurators/codebuddy.d.ts.map +1 -1
- package/dist/configurators/codebuddy.js +2 -2
- package/dist/configurators/codebuddy.js.map +1 -1
- package/dist/configurators/codex.d.ts.map +1 -1
- package/dist/configurators/codex.js +2 -7
- package/dist/configurators/codex.js.map +1 -1
- package/dist/configurators/copilot.d.ts.map +1 -1
- package/dist/configurators/copilot.js +2 -9
- package/dist/configurators/copilot.js.map +1 -1
- package/dist/configurators/cursor.d.ts.map +1 -1
- package/dist/configurators/cursor.js +2 -2
- package/dist/configurators/cursor.js.map +1 -1
- package/dist/configurators/droid.d.ts.map +1 -1
- package/dist/configurators/droid.js +2 -2
- package/dist/configurators/droid.js.map +1 -1
- package/dist/configurators/gemini.d.ts.map +1 -1
- package/dist/configurators/gemini.js +2 -2
- package/dist/configurators/gemini.js.map +1 -1
- package/dist/configurators/index.d.ts.map +1 -1
- package/dist/configurators/index.js +13 -11
- package/dist/configurators/index.js.map +1 -1
- package/dist/configurators/kilo.d.ts.map +1 -1
- package/dist/configurators/kilo.js +2 -8
- package/dist/configurators/kilo.js.map +1 -1
- package/dist/configurators/kiro.d.ts.map +1 -1
- package/dist/configurators/kiro.js +2 -2
- package/dist/configurators/kiro.js.map +1 -1
- package/dist/configurators/opencode.d.ts.map +1 -1
- package/dist/configurators/opencode.js +3 -3
- package/dist/configurators/opencode.js.map +1 -1
- package/dist/configurators/pi.d.ts.map +1 -1
- package/dist/configurators/pi.js +9 -4
- package/dist/configurators/pi.js.map +1 -1
- package/dist/configurators/qoder.d.ts.map +1 -1
- package/dist/configurators/qoder.js +2 -2
- package/dist/configurators/qoder.js.map +1 -1
- package/dist/configurators/shared.d.ts +21 -2
- package/dist/configurators/shared.d.ts.map +1 -1
- package/dist/configurators/shared.js +32 -3
- package/dist/configurators/shared.js.map +1 -1
- package/dist/configurators/windsurf.d.ts.map +1 -1
- package/dist/configurators/windsurf.js +2 -8
- package/dist/configurators/windsurf.js.map +1 -1
- package/dist/constants/paths.d.ts +2 -0
- package/dist/constants/paths.d.ts.map +1 -1
- package/dist/constants/paths.js +2 -0
- package/dist/constants/paths.js.map +1 -1
- package/dist/migrations/manifests/0.5.0-beta.17.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.18.json +9 -0
- package/dist/templates/codex/skills/finish-work/SKILL.md +41 -109
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +73 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/add-project-local-conventions.md +83 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +54 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +81 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +57 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-skills-or-commands.md +78 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-spec-structure.md +83 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-task-lifecycle.md +79 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-workflow.md +48 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +55 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +68 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +80 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +51 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/spec-system.md +102 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/task-system.md +101 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/workflow.md +75 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/workspace-memory.md +71 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +79 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +69 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +59 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +74 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +83 -0
- package/dist/templates/common/commands/finish-work.md +34 -10
- package/dist/templates/common/index.d.ts +22 -2
- package/dist/templates/common/index.d.ts.map +1 -1
- package/dist/templates/common/index.js +53 -4
- package/dist/templates/common/index.js.map +1 -1
- package/dist/templates/common/skills/brainstorm.md +3 -0
- package/dist/templates/copilot/prompts/finish-work.prompt.md +44 -112
- package/dist/templates/markdown/agents.md +8 -0
- package/dist/templates/opencode/plugins/inject-subagent-context.js +20 -5
- package/dist/templates/opencode/plugins/inject-workflow-state.js +6 -1
- package/dist/templates/pi/extensions/trellis/index.ts.txt +499 -51
- package/dist/templates/shared-hooks/inject-workflow-state.py +6 -1
- package/dist/templates/trellis/scripts/common/task_store.py +4 -16
- package/dist/templates/trellis/scripts/common/tasks.py +4 -1
- package/dist/templates/trellis/workflow.md +59 -3
- package/dist/utils/template-hash.d.ts.map +1 -1
- package/dist/utils/template-hash.js +19 -1
- package/dist/utils/template-hash.js.map +1 -1
- package/package.json +1 -1
|
@@ -191,7 +191,12 @@ _FALLBACK_BREADCRUMBS = {
|
|
|
191
191
|
"user did not say."
|
|
192
192
|
),
|
|
193
193
|
"completed": (
|
|
194
|
-
"
|
|
194
|
+
"Code committed via Phase 3.4; run `/trellis:finish-work` to wrap up "
|
|
195
|
+
"(archive task + record session).\n"
|
|
196
|
+
"If you reach this state with uncommitted code, return to Phase 3.4 "
|
|
197
|
+
"first — `/finish-work` refuses to run on a dirty working tree.\n"
|
|
198
|
+
"`task.py archive` deletes runtime session files that point at the "
|
|
199
|
+
"archived task."
|
|
195
200
|
),
|
|
196
201
|
}
|
|
197
202
|
|
|
@@ -322,24 +322,12 @@ def cmd_archive(args: argparse.Namespace) -> int:
|
|
|
322
322
|
data["completedAt"] = today
|
|
323
323
|
write_json(task_json_path, data)
|
|
324
324
|
|
|
325
|
-
# Handle subtask relationships on archive
|
|
326
|
-
|
|
325
|
+
# Handle subtask relationships on archive.
|
|
326
|
+
# Keep this task in its parent's children list so progress
|
|
327
|
+
# counters (children_progress) stay consistent — children
|
|
328
|
+
# missing from the active set are treated as completed.
|
|
327
329
|
task_children = data.get("children", [])
|
|
328
330
|
|
|
329
|
-
# If this is a child, remove from parent's children list
|
|
330
|
-
if task_parent:
|
|
331
|
-
parent_dir = find_task_by_name(task_parent, tasks_dir)
|
|
332
|
-
if parent_dir:
|
|
333
|
-
parent_json = parent_dir / FILE_TASK_JSON
|
|
334
|
-
if parent_json.is_file():
|
|
335
|
-
parent_data = read_json(parent_json)
|
|
336
|
-
if parent_data:
|
|
337
|
-
parent_children = parent_data.get("children", [])
|
|
338
|
-
if dir_name in parent_children:
|
|
339
|
-
parent_children.remove(dir_name)
|
|
340
|
-
parent_data["children"] = parent_children
|
|
341
|
-
write_json(parent_json, parent_data)
|
|
342
|
-
|
|
343
331
|
# If this is a parent, clear parent field in all children
|
|
344
332
|
if task_children:
|
|
345
333
|
for child_name in task_children:
|
|
@@ -102,8 +102,11 @@ def children_progress(
|
|
|
102
102
|
"""
|
|
103
103
|
if not children:
|
|
104
104
|
return ""
|
|
105
|
+
# A child missing from active statuses has been archived (cmd_archive
|
|
106
|
+
# sets status=completed before moving the dir). Count it as done so
|
|
107
|
+
# parent progress doesn't regress when children are archived.
|
|
105
108
|
done = sum(
|
|
106
109
|
1 for c in children
|
|
107
|
-
if all_statuses.get(c) in ("completed", "done")
|
|
110
|
+
if c not in all_statuses or all_statuses.get(c) in ("completed", "done")
|
|
108
111
|
)
|
|
109
112
|
return f" [{done}/{len(children)} done]"
|
|
@@ -120,7 +120,8 @@ Phase 3: Finish → distill lessons + wrap-up
|
|
|
120
120
|
- 3.1 Quality verification `[required · repeatable]`
|
|
121
121
|
- 3.2 Debug retrospective `[on demand]`
|
|
122
122
|
- 3.3 Spec update `[required · once]`
|
|
123
|
-
- 3.4
|
|
123
|
+
- 3.4 Commit changes `[required · once]`
|
|
124
|
+
- 3.5 Wrap-up reminder
|
|
124
125
|
|
|
125
126
|
### Rules
|
|
126
127
|
|
|
@@ -207,6 +208,9 @@ python3 ./.trellis/scripts/task.py create "<task title>" --slug <name>
|
|
|
207
208
|
python3 ./.trellis/scripts/task.py start <task-dir>
|
|
208
209
|
```
|
|
209
210
|
|
|
211
|
+
`--slug` is the human-readable name only. Do not include the `MM-DD-` date
|
|
212
|
+
prefix; `task.py create` adds that prefix automatically.
|
|
213
|
+
|
|
210
214
|
Skip when `python3 ./.trellis/scripts/task.py current --source` already points to a task.
|
|
211
215
|
|
|
212
216
|
#### 1.1 Requirement exploration `[required · repeatable]`
|
|
@@ -439,7 +443,57 @@ Load the `trellis-update-spec` skill and review whether this task produced new k
|
|
|
439
443
|
|
|
440
444
|
Update the docs under `.trellis/spec/` accordingly. Even if the conclusion is "nothing to update", walk through the judgment.
|
|
441
445
|
|
|
442
|
-
#### 3.4
|
|
446
|
+
#### 3.4 Commit changes `[required · once]`
|
|
447
|
+
|
|
448
|
+
The AI drives a batched commit of this task's code changes so `/finish-work` can run cleanly afterwards. Goal: produce work commits FIRST, then bookkeeping (archive + journal) commits land after — never interleaved.
|
|
449
|
+
|
|
450
|
+
**Step-by-step**:
|
|
451
|
+
|
|
452
|
+
1. **Inspect dirty state**:
|
|
453
|
+
```bash
|
|
454
|
+
git status --porcelain
|
|
455
|
+
```
|
|
456
|
+
Snapshot every dirty path. If the working tree is clean, skip to 3.5.
|
|
457
|
+
|
|
458
|
+
2. **Learn commit style** from recent history (so drafted messages blend in):
|
|
459
|
+
```bash
|
|
460
|
+
git log --oneline -5
|
|
461
|
+
```
|
|
462
|
+
Note the prefix convention (`feat:` / `fix:` / `chore:` / `docs:` ...), language (中文/English), and length style.
|
|
463
|
+
|
|
464
|
+
3. **Classify dirty files into two groups**:
|
|
465
|
+
- **AI-edited this session** — files you wrote/edited via Edit/Write/Bash tool calls in this session. You know what changed and why.
|
|
466
|
+
- **Unrecognized** — dirty files you did NOT touch this session (could be the user's manual edits, leftover WIP from a previous session, or unrelated work). Do NOT silently include these.
|
|
467
|
+
|
|
468
|
+
4. **Draft a commit plan**. Group AI-edited files into logical commits (1 commit per coherent change unit, not 1 commit per file). Each entry: `<commit message>` + file list. List unrecognized files separately at the bottom.
|
|
469
|
+
|
|
470
|
+
5. **Present the plan once, ask for one-shot confirmation**. Format:
|
|
471
|
+
```
|
|
472
|
+
Proposed commits (in order):
|
|
473
|
+
1. <message>
|
|
474
|
+
- <file>
|
|
475
|
+
- <file>
|
|
476
|
+
2. <message>
|
|
477
|
+
- <file>
|
|
478
|
+
|
|
479
|
+
Unrecognized dirty files (NOT in any commit — confirm include/exclude):
|
|
480
|
+
- <file>
|
|
481
|
+
- <file>
|
|
482
|
+
|
|
483
|
+
Reply 'ok' / '行' to execute. Reply with edits, or '我自己来' / 'manual' to abort.
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
6. **On confirmation**: run `git add <files>` + `git commit -m "<msg>"` for each batch in order. Do not amend. Do not push.
|
|
487
|
+
|
|
488
|
+
7. **On rejection** (user replies "不行" / "我自己来" / "manual" / any pushback on the plan): stop. Do not attempt a second plan. The user will commit by hand; you skip ahead to 3.5 once they confirm.
|
|
489
|
+
|
|
490
|
+
**Rules**:
|
|
491
|
+
- No `git commit --amend` anywhere — three-stage three-commit flow (work commits → archive commit → journal commit).
|
|
492
|
+
- Never push to remote in this step.
|
|
493
|
+
- If the user wants different message wording but accepts the file grouping, edit the message and re-confirm once — but if they reject the grouping, exit to manual mode.
|
|
494
|
+
- The batched plan is one prompt; do not prompt per commit.
|
|
495
|
+
|
|
496
|
+
#### 3.5 Wrap-up reminder
|
|
443
497
|
|
|
444
498
|
After the above, remind the user they can run `/finish-work` to wrap up (archive the task, record the session).
|
|
445
499
|
|
|
@@ -480,5 +534,7 @@ User override (per-turn escape hatch): if the user's CURRENT message explicitly
|
|
|
480
534
|
[/workflow-state:in_progress]
|
|
481
535
|
|
|
482
536
|
[workflow-state:completed]
|
|
483
|
-
|
|
537
|
+
Code committed via Phase 3.4; run `/trellis:finish-work` to wrap up (archive task + record session).
|
|
538
|
+
If you reach this state with uncommitted code, return to Phase 3.4 first — `/finish-work` refuses to run on a dirty working tree.
|
|
539
|
+
`task.py archive` deletes runtime session files that point at the archived task.
|
|
484
540
|
[/workflow-state:completed]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-hash.d.ts","sourceRoot":"","sources":["../../src/utils/template-hash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAQH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAe5D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAGnD;AAoBD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CA6BtD;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,CAOpE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EA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OpE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAQ1E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAU1E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAKlE;AAED;;GAEG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,IAAI,CASN;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,cAAc,GACrB,OAAO,CAsBT;AAED;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,MAAM,EACX,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,GACtB,OAAO,CAST;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,aAAa,EAAE,MAAM,EAAE,EACvB,MAAM,EAAE,cAAc,GACrB,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAQtB;AA0ED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAwCpD"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import { createHash } from "node:crypto";
|
|
16
16
|
import fs from "node:fs";
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import { DIR_NAMES } from "../constants/paths.js";
|
|
18
|
+
import { DIR_NAMES, FILE_NAMES } from "../constants/paths.js";
|
|
19
19
|
import { ALL_MANAGED_DIRS } from "../configurators/index.js";
|
|
20
20
|
import { toPosix } from "./posix.js";
|
|
21
21
|
/** File name for storing template hashes */
|
|
@@ -207,6 +207,8 @@ export function getModificationStatus(cwd, relativePaths, hashes) {
|
|
|
207
207
|
* Directories to scan for template files during init (derived from platform registry)
|
|
208
208
|
*/
|
|
209
209
|
const TEMPLATE_DIRS = ALL_MANAGED_DIRS;
|
|
210
|
+
/** Root-level template files written by init and managed by update. */
|
|
211
|
+
const TEMPLATE_FILES = [FILE_NAMES.AGENTS];
|
|
210
212
|
/**
|
|
211
213
|
* Patterns to exclude from hash tracking
|
|
212
214
|
*/
|
|
@@ -272,6 +274,22 @@ function collectFiles(cwd, dir, relativeTo = "") {
|
|
|
272
274
|
*/
|
|
273
275
|
export function initializeHashes(cwd) {
|
|
274
276
|
const hashes = {};
|
|
277
|
+
for (const relativePath of TEMPLATE_FILES) {
|
|
278
|
+
if (shouldExcludeFromHash(relativePath)) {
|
|
279
|
+
continue;
|
|
280
|
+
}
|
|
281
|
+
const fullPath = path.join(cwd, relativePath);
|
|
282
|
+
if (!fs.existsSync(fullPath)) {
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
try {
|
|
286
|
+
const content = fs.readFileSync(fullPath, "utf-8");
|
|
287
|
+
hashes[relativePath] = computeHash(content);
|
|
288
|
+
}
|
|
289
|
+
catch {
|
|
290
|
+
// Skip files that can't be read (binary, etc.)
|
|
291
|
+
}
|
|
292
|
+
}
|
|
275
293
|
// Collect all template files
|
|
276
294
|
for (const dir of TEMPLATE_DIRS) {
|
|
277
295
|
const files = collectFiles(cwd, dir);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-hash.js","sourceRoot":"","sources":["../../src/utils/template-hash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,SAAS,EAA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