@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.
- package/README.md +10 -7
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +6 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/ablate.d.ts.map +1 -1
- package/dist/commands/ablate.js +2 -0
- package/dist/commands/ablate.js.map +1 -1
- package/dist/commands/backup.d.ts +4 -0
- package/dist/commands/backup.d.ts.map +1 -0
- package/dist/commands/backup.js +75 -0
- package/dist/commands/backup.js.map +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +687 -676
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/mem.d.ts.map +1 -1
- package/dist/commands/mem.js +49 -7
- package/dist/commands/mem.js.map +1 -1
- package/dist/commands/task-progress.d.ts +1 -0
- package/dist/commands/task-progress.d.ts.map +1 -1
- package/dist/commands/task-progress.js +67 -25
- package/dist/commands/task-progress.js.map +1 -1
- package/dist/commands/teamwork/spawn.d.ts.map +1 -1
- package/dist/commands/teamwork/spawn.js +5 -2
- package/dist/commands/teamwork/spawn.js.map +1 -1
- package/dist/commands/teamwork/teammate-adapters.d.ts +0 -2
- package/dist/commands/teamwork/teammate-adapters.d.ts.map +1 -1
- package/dist/commands/teamwork/teammate-adapters.js +0 -2
- package/dist/commands/teamwork/teammate-adapters.js.map +1 -1
- package/dist/commands/teamwork/teammate-launch.d.ts +1 -2
- package/dist/commands/teamwork/teammate-launch.d.ts.map +1 -1
- package/dist/commands/teamwork/teammate-launch.js +0 -2
- package/dist/commands/teamwork/teammate-launch.js.map +1 -1
- package/dist/commands/uninstall.d.ts.map +1 -1
- package/dist/commands/uninstall.js +92 -84
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +633 -591
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +94 -89
- package/dist/commands/workflow.js.map +1 -1
- package/dist/configurators/shared.js +2 -2
- package/dist/configurators/shared.js.map +1 -1
- package/dist/constants/paths.d.ts +3 -10
- package/dist/constants/paths.d.ts.map +1 -1
- package/dist/constants/paths.js +4 -13
- package/dist/constants/paths.js.map +1 -1
- package/dist/migrations/manifests/0.7.1-beta.1.json +186 -0
- package/dist/migrations/manifests/0.7.1-beta.10.json +9 -0
- package/dist/migrations/manifests/0.7.1-beta.2.json +522 -0
- package/dist/migrations/manifests/0.7.1-beta.3.json +9 -0
- package/dist/migrations/manifests/0.7.1-beta.4.json +9 -0
- package/dist/migrations/manifests/0.7.1-beta.5.json +9 -0
- package/dist/migrations/manifests/0.7.1-beta.6.json +10 -0
- package/dist/migrations/manifests/0.7.1-beta.7.json +8 -0
- package/dist/migrations/manifests/0.7.1-beta.8.json +481 -0
- package/dist/migrations/manifests/0.7.1-beta.9.json +191 -0
- package/dist/templates/claude/hooks/statusline.py +9 -4
- package/dist/templates/common/bundled-skills/trellis-decision-space-construction-and-merging/workflow.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-goal-exploration-and-requirements/workflow.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/add-project-local-conventions.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +5 -5
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-task-lifecycle.md +3 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/task-system.md +8 -2
- package/dist/templates/common/bundled-skills/trellis-session-insight/references/cli-quick-reference.md +2 -1
- package/dist/templates/common/bundled-skills/trellis-session-insight/references/triggering-patterns.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-solution-design-and-convergence/workflow.md +4 -0
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/mcp-setup.md +4 -2
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-task-planning.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-teamwork/SKILL.md +7 -2
- package/dist/templates/common/bundled-skills/trellis-teamwork/references/coordination-modes.md +3 -1
- package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-configuration-matrix.md +11 -6
- package/dist/templates/common/bundled-skills/trellis-teamwork/references/teammate-processes.md +50 -6
- package/dist/templates/common/bundled-skills/trellis-teamwork/references/teamwork-plan-construction.md +49 -9
- package/dist/templates/common/commands/start.md +2 -2
- package/dist/templates/common/skills/before-dev.md +1 -4
- package/dist/templates/common/skills/break-loop.md +7 -18
- package/dist/templates/common/skills/check.md +7 -11
- package/dist/templates/common/skills/{brainstorm.md → request-intake.md} +5 -3
- package/dist/templates/common/skills/update-spec.md +5 -7
- package/dist/templates/extract.js +4 -0
- package/dist/templates/extract.js.map +1 -1
- package/dist/templates/omp/extensions/trellis/index.ts.txt +1 -1
- package/dist/templates/opencode/lib/session-utils.js +301 -209
- package/dist/templates/snow/SNOW.md +1 -1
- package/dist/templates/trellis/agents/teammate.md +16 -5
- package/dist/templates/trellis/index.d.ts +3 -0
- package/dist/templates/trellis/index.d.ts.map +1 -1
- package/dist/templates/trellis/index.js +6 -0
- package/dist/templates/trellis/index.js.map +1 -1
- package/dist/templates/trellis/scripts/add_session.py +1 -1
- package/dist/templates/trellis/scripts/common/active_task.py +3 -47
- package/dist/templates/trellis/scripts/common/paths.py +9 -25
- package/dist/templates/trellis/scripts/common/safe_commit.py +8 -8
- package/dist/templates/trellis/scripts/common/task_context.py +11 -51
- package/dist/templates/trellis/scripts/common/task_continuity.py +53 -45
- package/dist/templates/trellis/scripts/common/task_layout.py +80 -0
- package/dist/templates/trellis/scripts/common/task_move.py +345 -0
- package/dist/templates/trellis/scripts/common/task_store.py +28 -55
- package/dist/templates/trellis/scripts/common/task_utils.py +23 -19
- package/dist/templates/trellis/scripts/common/task_workflow.py +72 -31
- package/dist/templates/trellis/scripts/common/tasks.py +6 -5
- package/dist/templates/trellis/scripts/hooks/linear_sync.py +13 -3
- package/dist/templates/trellis/scripts/task.py +41 -23
- package/dist/templates/trellis/workflow.md +4 -2
- package/dist/utils/ablation-store.d.ts +1 -1
- package/dist/utils/ablation-store.d.ts.map +1 -1
- package/dist/utils/ablation-store.js +58 -24
- package/dist/utils/ablation-store.js.map +1 -1
- package/dist/utils/asset-backup.d.ts +138 -0
- package/dist/utils/asset-backup.d.ts.map +1 -0
- package/dist/utils/asset-backup.js +514 -0
- package/dist/utils/asset-backup.js.map +1 -0
- package/dist/utils/atomic-write.d.ts +1 -1
- package/dist/utils/atomic-write.d.ts.map +1 -1
- package/dist/utils/atomic-write.js +6 -3
- package/dist/utils/atomic-write.js.map +1 -1
- package/dist/utils/manifest-prune.d.ts +4 -1
- package/dist/utils/manifest-prune.d.ts.map +1 -1
- package/dist/utils/manifest-prune.js +17 -6
- package/dist/utils/manifest-prune.js.map +1 -1
- package/dist/utils/template-hash.d.ts +5 -4
- package/dist/utils/template-hash.d.ts.map +1 -1
- package/dist/utils/template-hash.js +24 -17
- package/dist/utils/template-hash.js.map +1 -1
- 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
|
|
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
|
|
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
|
-
- [ ]
|
|
51
|
-
- [ ] Bug fix
|
|
52
|
-
- [ ] Changed behavior
|
|
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
|
-
|
|
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
|
-
-
|
|
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
|
|
1
|
+
# Trellis Request Intake
|
|
2
2
|
|
|
3
|
-
Use this entry skill
|
|
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
|
|
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
|
-
###
|
|
26
|
+
### Applicable Contract Coverage
|
|
27
27
|
|
|
28
|
-
For triggered tasks,
|
|
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
|
-
###
|
|
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
|
-
- [ ]
|
|
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
|
-
- [ ]
|
|
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,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oot: 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
|
-
:
|
|
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}`;
|