@laitszkin/apollo-toolkit 3.3.3 → 3.3.4
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/CHANGELOG.md +5 -0
- package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
- package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
- package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
- package/implement-specs-with-worktree/SKILL.md +11 -7
- package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
- package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
- package/package.json +1 -1
- package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
- package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
- package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
- package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,11 @@ All notable changes to this repository are documented in this file.
|
|
|
7
7
|
### Added
|
|
8
8
|
- (None yet)
|
|
9
9
|
|
|
10
|
+
## [v3.3.4] - 2026-04-27
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- Tighten `implement-specs-with-worktree` so the skill must verify it is operating inside the intended isolated worktree before any edits, and never mutate product files from the parent checkout.
|
|
14
|
+
|
|
10
15
|
## [v3.3.3] - 2026-04-27
|
|
11
16
|
|
|
12
17
|
### Changed
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -4,12 +4,13 @@ description: >-
|
|
|
4
4
|
Read a specs planning set (spec.md, tasks.md, checklist.md, contract.md, design.md)
|
|
5
5
|
from `docs/plans/{YYYY-MM-DD}/{change_name}/` or `docs/plans/{YYYY-MM-DD}/{batch_name}/{change_name}/`
|
|
6
6
|
plus parent `coordination.md` when present, and implement the approved tasks
|
|
7
|
-
within an isolated git worktree
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
branch
|
|
7
|
+
within an isolated git worktree, with every code, test, and spec edit made
|
|
8
|
+
inside that worktree rather than the parent checkout. Use when the user asks
|
|
9
|
+
to implement from an existing spec set, execute a spec plan, or work on a
|
|
10
|
+
feature branch without affecting the parent working tree. If not already in a
|
|
11
|
+
worktree, create a new worktree with a spec-named branch from the same parent
|
|
12
|
+
branch as the worktree base, implement all planned tasks, then commit the
|
|
13
|
+
changes to that local branch when complete.
|
|
13
14
|
---
|
|
14
15
|
|
|
15
16
|
# Implement Specs with Worktree
|
|
@@ -24,7 +25,7 @@ description: >-
|
|
|
24
25
|
## Standards
|
|
25
26
|
|
|
26
27
|
- Evidence: Read and understand the complete specs set before starting implementation, identify the authoritative parent branch that the worktree should inherit from, verify whether the requested scope is already implemented on that parent branch or current main working tree, and when the requested plan path is missing from the current worktree verify where the authoritative copy actually lives before substituting any nearby spec.
|
|
27
|
-
- Execution: Create or use an isolated worktree for implementation only when the requested spec still needs work, sync the exact approved plan set into that worktree when it is missing there, create the worktree branch from the same parent branch as the worktree base, use the spec-set name as the canonical branch/worktree name, prefer direct `git` ref checks over brittle shell inference when deciding whether a branch or worktree already exists, and commit to a local branch when done.
|
|
28
|
+
- Execution: Create or use an isolated worktree for implementation only when the requested spec still needs work, sync the exact approved plan set into that worktree when it is missing there, create the worktree branch from the same parent branch as the worktree base, use the spec-set name as the canonical branch/worktree name, prefer direct `git` ref checks over brittle shell inference when deciding whether a branch or worktree already exists, and commit to a local branch when done. Do not edit product files from the parent checkout; every implementation, test, and spec backfill change must happen inside the active worktree directory after verifying `git rev-parse --show-toplevel` and `pwd` point at the same worktree root.
|
|
28
29
|
- Quality: Complete all planned tasks, run relevant tests, backfill the spec documents with actual completion status, avoid dragging unrelated sibling specs into the worktree just because they share a batch directory, revert unrelated formatter-only noise outside the spec-owned scope before committing, if branch/worktree creation reports ambiguous state re-check the actual git refs and worktree list before retrying, and when using targeted Rust `cargo test` selectors remember Cargo accepts only one positional test filter so each distinct selector needs its own confirmed command.
|
|
29
30
|
- Output: Keep the worktree branch clean with only the intended implementation commits.
|
|
30
31
|
|
|
@@ -59,6 +60,7 @@ Implement approved spec planning sets in an isolated git worktree, ensuring the
|
|
|
59
60
|
- Run `git worktree list` to see existing worktrees and branches.
|
|
60
61
|
- Determine if the current session is already inside a worktree (check `git rev-parse --show-toplevel` and compare with `git worktree list`).
|
|
61
62
|
- If the current worktree is missing the exact requested plan set, sync that plan into the worktree before coding and re-read the synced files there so implementation happens against the same plan snapshot that will be backfilled later.
|
|
63
|
+
- Before making any edits, confirm the active shell is inside the intended worktree directory; if not, stop editing, create or enter the required worktree first, and only then continue.
|
|
62
64
|
- Determine the authoritative parent branch for the new worktree:
|
|
63
65
|
- if the current checkout already comes from a branch, reuse that branch as the base
|
|
64
66
|
- if the current session is inside a detached worktree, identify the parent branch that owns that worktree before creating another branch from it
|
|
@@ -85,6 +87,7 @@ If not already in a worktree, or if the user explicitly requests a fresh worktre
|
|
|
85
87
|
git worktree add ../<spec-name> <branch-name>
|
|
86
88
|
```
|
|
87
89
|
- Move into the new worktree directory and begin work there.
|
|
90
|
+
- Do not start editing until the shell is operating inside the new worktree directory and the worktree root has been verified.
|
|
88
91
|
- When checking whether the target branch or worktree already exists, use direct git evidence instead of shell heuristics:
|
|
89
92
|
```bash
|
|
90
93
|
git show-ref --verify --quiet refs/heads/<branch-name>
|
|
@@ -144,6 +147,7 @@ After implementation and testing:
|
|
|
144
147
|
## Working Rules
|
|
145
148
|
|
|
146
149
|
- Always work in an isolated worktree to keep the parent checkout clean.
|
|
150
|
+
- Treat the parent checkout as read-only for implementation work; use it only for inspection, worktree creation, or verification, never for file edits.
|
|
147
151
|
- Treat an already-landed spec as complete work, not as a reason to recreate a duplicate worktree.
|
|
148
152
|
- Keep the new branch based on the same parent branch as the worktree base; do not silently rebase the workflow onto a different branch.
|
|
149
153
|
- Use the spec-set name as the canonical identifier for the branch and worktree unless the user explicitly asks for a different naming scheme.
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|