@pennixrv/trellis 0.7.1-beta.0 → 0.7.1-beta.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.
Files changed (129) hide show
  1. package/README.md +10 -7
  2. package/dist/cli/index.d.ts.map +1 -1
  3. package/dist/cli/index.js +6 -4
  4. package/dist/cli/index.js.map +1 -1
  5. package/dist/commands/ablate.d.ts.map +1 -1
  6. package/dist/commands/ablate.js +2 -0
  7. package/dist/commands/ablate.js.map +1 -1
  8. package/dist/commands/backup.d.ts +4 -0
  9. package/dist/commands/backup.d.ts.map +1 -0
  10. package/dist/commands/backup.js +75 -0
  11. package/dist/commands/backup.js.map +1 -0
  12. package/dist/commands/init.d.ts.map +1 -1
  13. package/dist/commands/init.js +687 -676
  14. package/dist/commands/init.js.map +1 -1
  15. package/dist/commands/mem.d.ts.map +1 -1
  16. package/dist/commands/mem.js +49 -7
  17. package/dist/commands/mem.js.map +1 -1
  18. package/dist/commands/task-progress.d.ts +1 -0
  19. package/dist/commands/task-progress.d.ts.map +1 -1
  20. package/dist/commands/task-progress.js +67 -25
  21. package/dist/commands/task-progress.js.map +1 -1
  22. package/dist/commands/teamwork/spawn.d.ts.map +1 -1
  23. package/dist/commands/teamwork/spawn.js +5 -2
  24. package/dist/commands/teamwork/spawn.js.map +1 -1
  25. package/dist/commands/teamwork/teammate-adapters.d.ts +0 -2
  26. package/dist/commands/teamwork/teammate-adapters.d.ts.map +1 -1
  27. package/dist/commands/teamwork/teammate-adapters.js +0 -2
  28. package/dist/commands/teamwork/teammate-adapters.js.map +1 -1
  29. package/dist/commands/teamwork/teammate-launch.d.ts +1 -2
  30. package/dist/commands/teamwork/teammate-launch.d.ts.map +1 -1
  31. package/dist/commands/teamwork/teammate-launch.js +0 -2
  32. package/dist/commands/teamwork/teammate-launch.js.map +1 -1
  33. package/dist/commands/uninstall.d.ts.map +1 -1
  34. package/dist/commands/uninstall.js +92 -84
  35. package/dist/commands/uninstall.js.map +1 -1
  36. package/dist/commands/update.d.ts.map +1 -1
  37. package/dist/commands/update.js +633 -591
  38. package/dist/commands/update.js.map +1 -1
  39. package/dist/commands/workflow.d.ts.map +1 -1
  40. package/dist/commands/workflow.js +94 -89
  41. package/dist/commands/workflow.js.map +1 -1
  42. package/dist/configurators/shared.js +2 -2
  43. package/dist/configurators/shared.js.map +1 -1
  44. package/dist/constants/paths.d.ts +3 -10
  45. package/dist/constants/paths.d.ts.map +1 -1
  46. package/dist/constants/paths.js +4 -13
  47. package/dist/constants/paths.js.map +1 -1
  48. package/dist/migrations/manifests/0.7.1-beta.1.json +186 -0
  49. package/dist/migrations/manifests/0.7.1-beta.10.json +9 -0
  50. package/dist/migrations/manifests/0.7.1-beta.2.json +522 -0
  51. package/dist/migrations/manifests/0.7.1-beta.3.json +9 -0
  52. package/dist/migrations/manifests/0.7.1-beta.4.json +9 -0
  53. package/dist/migrations/manifests/0.7.1-beta.5.json +9 -0
  54. package/dist/migrations/manifests/0.7.1-beta.6.json +10 -0
  55. package/dist/migrations/manifests/0.7.1-beta.7.json +8 -0
  56. package/dist/migrations/manifests/0.7.1-beta.8.json +481 -0
  57. package/dist/migrations/manifests/0.7.1-beta.9.json +191 -0
  58. package/dist/templates/claude/hooks/statusline.py +9 -4
  59. package/dist/templates/common/bundled-skills/trellis-decision-space-construction-and-merging/workflow.md +2 -0
  60. package/dist/templates/common/bundled-skills/trellis-goal-exploration-and-requirements/workflow.md +2 -0
  61. package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +1 -1
  62. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/add-project-local-conventions.md +1 -1
  63. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +5 -5
  64. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-task-lifecycle.md +3 -2
  65. package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +1 -1
  66. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +1 -1
  67. package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/task-system.md +8 -2
  68. package/dist/templates/common/bundled-skills/trellis-session-insight/references/cli-quick-reference.md +2 -1
  69. package/dist/templates/common/bundled-skills/trellis-session-insight/references/triggering-patterns.md +2 -2
  70. package/dist/templates/common/bundled-skills/trellis-solution-design-and-convergence/workflow.md +4 -0
  71. package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/mcp-setup.md +4 -2
  72. package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-task-planning.md +2 -2
  73. package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +7 -2
  74. package/dist/templates/common/bundled-skills/trellis-teamwork/references/coordination-modes.md +3 -1
  75. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-configuration-matrix.md +11 -6
  76. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +50 -6
  77. package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +49 -9
  78. package/dist/templates/common/commands/start.md +2 -2
  79. package/dist/templates/common/skills/before-dev.md +1 -4
  80. package/dist/templates/common/skills/break-loop.md +7 -18
  81. package/dist/templates/common/skills/check.md +7 -11
  82. package/dist/templates/common/skills/{brainstorm.md → request-intake.md} +5 -3
  83. package/dist/templates/common/skills/update-spec.md +5 -7
  84. package/dist/templates/extract.js +4 -0
  85. package/dist/templates/extract.js.map +1 -1
  86. package/dist/templates/omp/extensions/trellis/index.ts.txt +1 -1
  87. package/dist/templates/opencode/lib/session-utils.js +301 -209
  88. package/dist/templates/snow/SNOW.md +1 -1
  89. package/dist/templates/trellis/agents/teammate.md +16 -5
  90. package/dist/templates/trellis/index.d.ts +3 -0
  91. package/dist/templates/trellis/index.d.ts.map +1 -1
  92. package/dist/templates/trellis/index.js +6 -0
  93. package/dist/templates/trellis/index.js.map +1 -1
  94. package/dist/templates/trellis/scripts/add_session.py +1 -1
  95. package/dist/templates/trellis/scripts/common/active_task.py +3 -47
  96. package/dist/templates/trellis/scripts/common/paths.py +9 -25
  97. package/dist/templates/trellis/scripts/common/safe_commit.py +8 -8
  98. package/dist/templates/trellis/scripts/common/task_context.py +11 -51
  99. package/dist/templates/trellis/scripts/common/task_continuity.py +53 -45
  100. package/dist/templates/trellis/scripts/common/task_layout.py +80 -0
  101. package/dist/templates/trellis/scripts/common/task_move.py +345 -0
  102. package/dist/templates/trellis/scripts/common/task_store.py +28 -55
  103. package/dist/templates/trellis/scripts/common/task_utils.py +23 -19
  104. package/dist/templates/trellis/scripts/common/task_workflow.py +72 -31
  105. package/dist/templates/trellis/scripts/common/tasks.py +6 -5
  106. package/dist/templates/trellis/scripts/hooks/linear_sync.py +13 -3
  107. package/dist/templates/trellis/scripts/task.py +41 -23
  108. package/dist/templates/trellis/workflow.md +4 -2
  109. package/dist/utils/ablation-store.d.ts +1 -1
  110. package/dist/utils/ablation-store.d.ts.map +1 -1
  111. package/dist/utils/ablation-store.js +58 -24
  112. package/dist/utils/ablation-store.js.map +1 -1
  113. package/dist/utils/asset-backup.d.ts +138 -0
  114. package/dist/utils/asset-backup.d.ts.map +1 -0
  115. package/dist/utils/asset-backup.js +514 -0
  116. package/dist/utils/asset-backup.js.map +1 -0
  117. package/dist/utils/atomic-write.d.ts +1 -1
  118. package/dist/utils/atomic-write.d.ts.map +1 -1
  119. package/dist/utils/atomic-write.js +6 -3
  120. package/dist/utils/atomic-write.js.map +1 -1
  121. package/dist/utils/manifest-prune.d.ts +4 -1
  122. package/dist/utils/manifest-prune.d.ts.map +1 -1
  123. package/dist/utils/manifest-prune.js +17 -6
  124. package/dist/utils/manifest-prune.js.map +1 -1
  125. package/dist/utils/template-hash.d.ts +5 -4
  126. package/dist/utils/template-hash.d.ts.map +1 -1
  127. package/dist/utils/template-hash.js +24 -17
  128. package/dist/utils/template-hash.js.map +1 -1
  129. package/package.json +2 -2
@@ -13,11 +13,7 @@ git status
13
13
 
14
14
  ## Step 2: Read Task Artifacts and Applicable Specs
15
15
 
16
- Read the current task artifacts in order:
17
-
18
- - `prd.md`
19
- - `design.md` if present
20
- - `implement.md` if present
16
+ Read the current native phase, accepted contract and its actual artifact references for requirements, design, execution and validation. Common filenames such as `prd.md`, `design.md` and `implement.md` do not prove current acceptance or authorization. For taskless work, check the authorized bounded request.
21
17
 
22
18
  ```bash
23
19
  python3 ./.trellis/scripts/get_context.py --mode packages
@@ -33,7 +29,7 @@ Read the specific guideline files referenced — the index is a pointer, not the
33
29
 
34
30
  ## Step 3: Run Project Checks
35
31
 
36
- Run the project's lint, type-check, and test commands. Fix any failures before proceeding.
32
+ Run the applicable required project checks and verification appropriate to the changed behavior and risk. Investigate failures and fix those caused by the change within its authorization; record unrelated baseline failures and unavailable checks accurately. Do not silently expand the task to repair unrelated failures or claim checks passed when evidence is incomplete.
37
33
 
38
34
  ## Step 4: Review Against Checklist
39
35
 
@@ -47,9 +43,9 @@ Run the project's lint, type-check, and test commands. Fix any failures before p
47
43
 
48
44
  ### Test Coverage
49
45
 
50
- - [ ] New function → unit test added?
51
- - [ ] Bug fix → regression test added?
52
- - [ ] Changed behavior → existing tests updated?
46
+ - [ ] Non-trivial new behavior and risk covered by meaningful existing or new tests?
47
+ - [ ] Bug fix reproduced by a regression check at the actual entry path?
48
+ - [ ] Changed behavior reflected in tests without mirroring implementation details?
53
49
 
54
50
  ### Spec Sync
55
51
 
@@ -80,7 +76,7 @@ Skip this step if your change is confined to a single layer.
80
76
 
81
77
  - [ ] Searched for existing similar code before creating new?
82
78
  ```bash
83
- grep -r "pattern" src/
79
+ rg "pattern" src/
84
80
  ```
85
81
  - [ ] If the same value repeats, does it represent one stable concept whose callers must change together? Extract only then — two literals that merely happen to match today should stay separate.
86
82
  - [ ] After batch modification, all occurrences updated?
@@ -101,6 +97,6 @@ Skip this step if your change is confined to a single layer.
101
97
  Report every violation you find. Then:
102
98
 
103
99
  - Mechanical and local (lint nit, missing type, wrong import, dead branch, failing assertion) → fix in place, then re-run project checks.
104
- - Design or judgment (naming a shared concept, moving a module boundary, changing a public interface, reassigning where behavior lives) → record the evidence and your recommendation, and stop. Do not rewrite it silently.
100
+ - Local engineering judgment within the accepted contract → resolve it with evidence and continue. A material unresolved change to scope, public behavior, ownership, risk or acceptance → record the recommendation and pause dependent work for the project's decision process.
105
101
 
106
102
  If a fix would touch files outside the current task's scope, say so and stop instead of widening the change.
@@ -1,10 +1,12 @@
1
- # Trellis Brainstorm
1
+ # Trellis Request Intake
2
2
 
3
- Use this entry skill for a new request that needs a Trellis task. For a clear, low-risk, reversible, authorized, immediately verifiable request, follow the taskless route in workflow.md.
3
+ Use this entry skill to route a new request. First check its relationship to the active task: a change to the same goal returns to the earliest affected phase; independent work needs its own intake. Do not put unrelated work into the active task or bypass its ownership and acceptance gates. To resume existing work, use trellis-continue and the current native task facts.
4
+
5
+ Reuse verified evidence and existing authorization. For a clear, low-risk, reversible, authorized, immediately verifiable request, follow the taskless route in workflow.md. Intake ends when the request reaches its appropriate phase; do not repeat session initialization or conduct a second requirements or planning workflow here.
4
6
 
5
7
  ## Start the task
6
8
 
7
- 1. Inspect only repository evidence that can change the goal, scope, acceptance criteria, constraints, or route. Ask the user when intent or a material choice remains unclear.
9
+ 1. Inspect only evidence that can change the goal, scope, acceptance criteria, constraints, or route. Ask the user only for missing intent or a material user choice; use the project's decision method when needed.
8
10
  2. Create a Trellis task when the work needs a persistent route, coordination, or review:
9
11
 
10
12
  {{PYTHON_CMD}} ./.trellis/scripts/task.py create "<title>" --description "<summary>"
@@ -23,9 +23,9 @@ Apply code-spec depth when the change includes any of:
23
23
  - Database schema/migration change
24
24
  - Infra integration (storage, queue, cache, secrets, env wiring)
25
25
 
26
- ### Mandatory Output (7 Sections)
26
+ ### Applicable Contract Coverage
27
27
 
28
- For triggered tasks, include all sections below:
28
+ For triggered tasks, cover the applicable contracts below in the existing document structure. Reuse current coverage and link it where sufficient; do not require seven headings, artificial examples or empty sections for every small API change:
29
29
  1. Scope / Trigger
30
30
  2. Signatures (command/API/DB)
31
31
  3. Contracts (request/response/env)
@@ -138,7 +138,7 @@ If you added a new section or the code-spec status changed, update the category'
138
138
 
139
139
  ## Update Templates
140
140
 
141
- ### Mandatory Template for Infra/Cross-Layer Work
141
+ ### Example Structure for Infra/Cross-Layer Work
142
142
 
143
143
  ```markdown
144
144
  ## Scenario: <name>
@@ -313,12 +313,10 @@ If you're unsure what to update, answer these prompts:
313
313
  Before finishing your code-spec update:
314
314
 
315
315
  - [ ] Is the content specific and actionable?
316
- - [ ] Did you include a code example?
316
+ - [ ] Are examples included where they clarify a real contract or failure?
317
317
  - [ ] Did you explain WHY, not just WHAT?
318
318
  - [ ] Did you include executable signatures/contracts?
319
- - [ ] Did you include validation and error matrix?
320
- - [ ] Did you include Good/Base/Bad cases?
321
- - [ ] Did you include required tests with assertion points?
319
+ - [ ] Are applicable validation, failure cases and verification assertions covered or linked?
322
320
  - [ ] Is it in the right code-spec file?
323
321
  - [ ] Does it duplicate existing content?
324
322
  - [ ] Would a new team member understand it?
@@ -88,6 +88,10 @@ export async function copyTrellisDir(srcRelativePath, destPath, options) {
88
88
  async function copyDirRecursive(src, dest, options) {
89
89
  ensureDir(dest);
90
90
  for (const entry of fs.readdirSync(src)) {
91
+ if (entry === "__pycache__" ||
92
+ [".pyc", ".pyo"].includes(path.extname(entry))) {
93
+ continue;
94
+ }
91
95
  const srcPath = path.join(src, entry);
92
96
  const destPath = path.join(dest, entry);
93
97
  const stat = fs.statSync(srcPath);
@@ -1 +1 @@
1
- {"version":3,"file":"extract.js","sourceRoot":"","sources":["../../src/templates/extract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAE1E,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AC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED,KAAK,UAAU,gBAAgB,CAC7B,GAAW,EACX,IAAY,EACZ,OAAkC;IAElC,SAAS,CAAC,IAAI,CAAC,CAAC;IAEhB,KAAK,MAAM,KAAK,IAAI,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;QACxC,IACE,KAAK,KAAK,aAAa;YACvB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAC9C,CAAC;YACD,SAAS;QACX,CAAC;QACD,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAElC,IAAI,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YACvB,MAAM,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;QACrD,CAAC;aAAM,CAAC;YACN,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;YAClD,MAAM,YAAY,GAChB,OAAO,EAAE,UAAU,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;YAC1E,MAAM,SAAS,CAAC,QAAQ,EAAE,4BAA4B,CAAC,OAAO,CAAC,EAAE;gBAC/D,UAAU,EAAE,YAAY;aACzB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -182,7 +182,7 @@ function displayProjectPath(projectRoot: string, filePath: string, taskDir?: str
182
182
  const taskRelative = relative(projectRoot, taskDir).split("\\").join("/");
183
183
  const taskLabel = taskRelative && !taskRelative.startsWith("../") && !isAbsolute(taskRelative)
184
184
  ? taskRelative
185
- : `.trellis/tasks/${basename(taskDir)}`;
185
+ : taskDir.split("\\").join("/");
186
186
  const withinTask = relative(taskDir, filePath).split("\\").join("/");
187
187
  if (withinTask && !withinTask.startsWith("../") && !isAbsolute(withinTask)) {
188
188
  return `${taskLabel}/${withinTask}`;