@pennixrv/trellis 0.6.29 → 0.6.30
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.
|
@@ -1482,8 +1482,9 @@ def _auto_commit_archive(
|
|
|
1482
1482
|
)
|
|
1483
1483
|
return not source_was_tracked
|
|
1484
1484
|
|
|
1485
|
+
commit_paths = [*paths, *([source_rel] if source_was_tracked else [])]
|
|
1485
1486
|
rc, _, _ = run_git(
|
|
1486
|
-
["diff", "--cached", "--quiet", "--", *
|
|
1487
|
+
["diff", "--cached", "--quiet", "--", *commit_paths],
|
|
1487
1488
|
cwd=repo_root,
|
|
1488
1489
|
)
|
|
1489
1490
|
if rc == 0:
|
|
@@ -1493,10 +1494,11 @@ def _auto_commit_archive(
|
|
|
1493
1494
|
commit_msg = f"chore(task): archive {task_name}"
|
|
1494
1495
|
# Commit with an explicit pathspec: a bare `git commit` would sweep any
|
|
1495
1496
|
# unrelated entries the developer had staged before archiving into the
|
|
1496
|
-
# chore commit (#579). `source_rel`
|
|
1497
|
-
#
|
|
1497
|
+
# chore commit (#579). Include `source_rel` only when it was tracked, so
|
|
1498
|
+
# the source-side deletions land in that commit without passing an absent,
|
|
1499
|
+
# never-tracked path to git.
|
|
1498
1500
|
rc, _, err = run_git_retry_index_lock(
|
|
1499
|
-
["commit", "-m", commit_msg, "--", *
|
|
1501
|
+
["commit", "-m", commit_msg, "--", *commit_paths], cwd=repo_root
|
|
1500
1502
|
)
|
|
1501
1503
|
if rc == 0:
|
|
1502
1504
|
print(f"[OK] Auto-committed: {commit_msg}", file=sys.stderr)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pennixrv/trellis",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.30",
|
|
4
4
|
"description": "AI capabilities grow like ivy — Trellis provides the structure to guide them along a disciplined path",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"inquirer": "^9.3.7",
|
|
35
35
|
"undici": "^6.21.0",
|
|
36
36
|
"zod": "^4.4.2",
|
|
37
|
-
"@pennixrv/trellis-core": "0.6.
|
|
37
|
+
"@pennixrv/trellis-core": "0.6.30"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@eslint/js": "^9.18.0",
|