@laitszkin/apollo-toolkit 3.3.2 → 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 +10 -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/merge-changes-from-local-branches/SKILL.md +20 -11
- 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,16 @@ 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
|
+
|
|
15
|
+
## [v3.3.3] - 2026-04-27
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- Require `review-change-set` after merge verification before `merge-changes-from-local-branches` can continue into archival or submission.
|
|
19
|
+
|
|
10
20
|
## [v3.3.2] - 2026-04-27
|
|
11
21
|
|
|
12
22
|
### 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
|
|
@@ -4,20 +4,22 @@ description: >-
|
|
|
4
4
|
Read changes from local branches identified by branch name and merge them back
|
|
5
5
|
into the current local branch. When conflicts arise, auto-resolve them by
|
|
6
6
|
keeping correct functionality (preferring the more recent change on the same
|
|
7
|
-
line, or the change that preserves working behavior).
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
`
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
line, or the change that preserves working behavior). After merge verification,
|
|
8
|
+
require `review-change-set` to review the merged code and confirm it still
|
|
9
|
+
matches the active spec documents before any submission workflow continues.
|
|
10
|
+
Run `archive-specs` only after that review gate passes so completed plan sets
|
|
11
|
+
are archived and durable project docs are synchronized, then hand the current
|
|
12
|
+
branch state to `commit-and-push` so the final submit workflow commits and
|
|
13
|
+
pushes on that same local branch. Use when the user asks to consolidate local
|
|
14
|
+
branch work, merge named branches into the current branch, or prepare the
|
|
15
|
+
current branch for integration.
|
|
14
16
|
---
|
|
15
17
|
|
|
16
18
|
# Merge Changes from Local Branches
|
|
17
19
|
|
|
18
20
|
## Dependencies
|
|
19
21
|
|
|
20
|
-
- Required: `archive-specs` to archive completed plan sets and synchronize durable project docs after
|
|
22
|
+
- Required: `review-change-set` to review the merged code and confirm spec alignment before submission, `archive-specs` to archive completed plan sets and synchronize durable project docs after the review gate passes, and `commit-and-push` for the final current-branch submission flow.
|
|
21
23
|
- Conditional: none.
|
|
22
24
|
- Optional: none.
|
|
23
25
|
- Fallback: If git operations fail, stop and report the error.
|
|
@@ -25,7 +27,7 @@ description: >-
|
|
|
25
27
|
## Standards
|
|
26
28
|
|
|
27
29
|
- Evidence: Inspect the original current branch, local branches, branch-name matches provided by the user or active spec names, actual conflicting files, and any active batch-spec `coordination.md` merge-order guidance before deciding what to merge.
|
|
28
|
-
- Execution: Merge only the relevant named branches back into the original current branch, read any active batch-spec `coordination.md` and honor its documented merge order when present, resolve conflicts by reading both sides and editing the merged result to preserve shipped behavior, verify the merged state, delete each successfully merged source branch and its detached worktree only after the merged result is confirmed, run `archive-specs` so completed plan sets are archived and durable docs are synchronized, then hand the final current-branch state to `commit-and-push` so changelog/readiness/commit/push work happens through the shared submission workflow on the same branch.
|
|
30
|
+
- Execution: Merge only the relevant named branches back into the original current branch, read any active batch-spec `coordination.md` and honor its documented merge order when present, resolve conflicts by reading both sides and editing the merged result to preserve shipped behavior, verify the merged state, run `review-change-set` to confirm the merged code still matches the active spec documents, delete each successfully merged source branch and its detached worktree only after the merged result is confirmed, run `archive-specs` only after the review gate passes so completed plan sets are archived and durable docs are synchronized, then hand the final current-branch state to `commit-and-push` so changelog/readiness/commit/push work happens through the shared submission workflow on the same branch.
|
|
29
31
|
- Quality: Never use blanket timestamp rules or default `-X ours/theirs` conflict resolution as the primary merge strategy, never infer in-scope branches from ancestry heuristics when branch names already define the target set, and do not declare success until the final current-branch state has been checked, verified, and cleared for post-merge archival/doc-sync work.
|
|
30
32
|
- Output: Produce a clean current branch with all relevant named-branch changes integrated and ready for the shared submit workflow.
|
|
31
33
|
|
|
@@ -116,9 +118,16 @@ For each in-scope named branch:
|
|
|
116
118
|
```
|
|
117
119
|
- If verification fails, fix the merged state on the current branch before proceeding.
|
|
118
120
|
|
|
121
|
+
### 4.5) Review the merged change set before submission
|
|
122
|
+
|
|
123
|
+
- After merge verification passes, invoke `review-change-set` on the merged current branch.
|
|
124
|
+
- Compare the merged code against the active spec documents and any relevant `docs/plans/` artifacts that governed the merge.
|
|
125
|
+
- Do not proceed to archival or submission until the review returns no actionable findings and the merged state is confirmed to match the spec documents.
|
|
126
|
+
- If review finds a problem or spec mismatch, fix the current branch, rerun verification, and review again before continuing.
|
|
127
|
+
|
|
119
128
|
### 5) Archive completed specs and sync durable project docs
|
|
120
129
|
|
|
121
|
-
- After all in-scope merges succeed
|
|
130
|
+
- After all in-scope merges succeed, the current-branch state has been verified, and `review-change-set` has confirmed the merged code matches the spec documents, invoke `archive-specs`.
|
|
122
131
|
- Let `archive-specs` convert and archive any completed `docs/plans/...` spec sets that now reflect the delivered outcome.
|
|
123
132
|
- Let `archive-specs` synchronize durable project docs and `AGENTS.md` when the merged result changed operator workflows, repository guidance, or user-visible behavior.
|
|
124
133
|
- Do not proceed to the final submission commit while required archival or documentation updates remain unfinished.
|
|
@@ -141,7 +150,7 @@ For each in-scope named branch:
|
|
|
141
150
|
- the currently checked-out branch
|
|
142
151
|
- branches that were skipped, failed to merge, or still need manual follow-up
|
|
143
152
|
- If `git branch -d` refuses deletion because the branch is not actually merged, stop and report the branch instead of forcing deletion with `-D`.
|
|
144
|
-
- Once merge verification
|
|
153
|
+
- Once merge verification, `review-change-set`, and archival/doc synchronization pass, invoke `commit-and-push` for the original current branch so the final submission flow owns:
|
|
145
154
|
- `CHANGELOG.md` readiness
|
|
146
155
|
- the final commit creation on the original current branch
|
|
147
156
|
- the user-requested push on that same branch
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|