@laitszkin/apollo-toolkit 2.14.1 → 2.14.3
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 +13 -0
- package/archive-specs/SKILL.md +5 -3
- package/commit-and-push/SKILL.md +5 -4
- package/merge-changes-from-local-branches/SKILL.md +18 -12
- package/package.json +1 -1
- package/scheduled-runtime-health-check/SKILL.md +9 -4
- package/systematic-debug/SKILL.md +14 -8
- package/version-release/SKILL.md +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ All notable changes to this repository are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [v2.14.3] - 2026-04-07
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- Strengthen `systematic-debug` so runtime-pipeline investigations must anchor on one canonical run or artifact root, map failures to concrete stages, and separate toolchain/platform faults from application-logic faults before fixing.
|
|
11
|
+
- Strengthen `scheduled-runtime-health-check` so bounded runs must record the canonical run folder as soon as it materializes and use structured artifacts from that same run when analyzing health.
|
|
12
|
+
|
|
13
|
+
## [v2.14.2] - 2026-04-06
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- Rewire `merge-changes-from-local-branches` so its final local-branch submission stage is handed to `commit-and-push`, which now owns the shared changelog/readiness/archival flow after merges.
|
|
17
|
+
- Rework `archive-specs` so documentation alignment is delegated to `align-project-documents` and `maintain-project-constraints` before completed plan sets are archived.
|
|
18
|
+
- Clarify that `commit-and-push` and `version-release` depend directly on `archive-specs` for completed plan conversion and project-doc alignment, instead of duplicating downstream documentation-sync steps.
|
|
19
|
+
|
|
7
20
|
## [v2.14.1] - 2026-04-06
|
|
8
21
|
|
|
9
22
|
### Changed
|
package/archive-specs/SKILL.md
CHANGED
|
@@ -7,7 +7,7 @@ description: Convert completed project plan sets into maintainable project docum
|
|
|
7
7
|
|
|
8
8
|
## Dependencies
|
|
9
9
|
|
|
10
|
-
- Required:
|
|
10
|
+
- Required: `align-project-documents` to align repository docs with current code before archiving, and `maintain-project-constraints` to synchronize `AGENTS.md` after the doc update.
|
|
11
11
|
- Conditional: none.
|
|
12
12
|
- Optional: none.
|
|
13
13
|
- Fallback: not applicable.
|
|
@@ -15,9 +15,9 @@ description: Convert completed project plan sets into maintainable project docum
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
17
|
- Evidence: Treat code, config, deployment files, and current spec files as evidence sources; never guess when a detail is missing.
|
|
18
|
-
- Execution: Inventory all relevant specs first, reconcile them with the current repository,
|
|
18
|
+
- Execution: Inventory all relevant specs first, reconcile them with the current repository, use `align-project-documents` to update durable project docs, use `maintain-project-constraints` to refresh `AGENTS.md` when repository guidance changed, then archive only the truly consumed planning artifacts.
|
|
19
19
|
- Quality: Prefer source-of-truth behavior over stale plan text, align existing docs to the same standard structure, and call out unknowns explicitly instead of inventing missing setup details.
|
|
20
|
-
- Output: Produce
|
|
20
|
+
- Output: Produce synchronized durable docs (`README.md`, categorized project docs, and `AGENTS.md` when needed), then archive or remove superseded spec files after the conversion is complete.
|
|
21
21
|
|
|
22
22
|
## Goal
|
|
23
23
|
|
|
@@ -44,6 +44,7 @@ Convert completed planning artifacts into stable, standardized project documenta
|
|
|
44
44
|
|
|
45
45
|
### 3) Standardize existing project docs into categorized outputs
|
|
46
46
|
|
|
47
|
+
- Hand the documentation rewrite/alignment work to `align-project-documents`; use the templates below only as the target shape and evidence checklist.
|
|
47
48
|
- If the project already has `README.md`, handbooks, setup guides, architecture docs, or runbooks, rewrite or reorganize them so they follow this skill's standardized split-document structure instead of leaving mixed formats in place.
|
|
48
49
|
- Use `references/templates/readme.md` for the concise project introduction.
|
|
49
50
|
- Use `references/templates/docs-index.md` for the project documentation index and reference list.
|
|
@@ -85,6 +86,7 @@ Ensure the split project docs cover all of the following:
|
|
|
85
86
|
- `docs/README.md` should act as the reference list for the categorized docs.
|
|
86
87
|
- Each category doc should stay focused on one topic instead of acting like another monolithic handbook.
|
|
87
88
|
- Remove template placeholders and stale planning language before finishing.
|
|
89
|
+
- After the docs are aligned, run `maintain-project-constraints` whenever the documentation changes imply `AGENTS.md` needs to reflect updated workflows, commands, or repository capabilities.
|
|
88
90
|
|
|
89
91
|
### 7) Archive superseded spec files after successful conversion
|
|
90
92
|
|
package/commit-and-push/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: commit-and-push
|
|
3
|
-
description: "Guide the agent to submit local changes with commit and push only (no versioning). Use when users ask to commit, submit, or push changes without requesting tag/version/release operations.
|
|
3
|
+
description: "Guide the agent to submit local changes with commit and push only (no versioning). Use when users ask to commit, submit, or push changes without requesting tag/version/release operations. Depend directly on `archive-specs` when completed plan sets should become durable docs or when project docs need alignment, and let that skill own the downstream documentation synchronization work."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Commit and Push
|
|
@@ -8,14 +8,14 @@ description: "Guide the agent to submit local changes with commit and push only
|
|
|
8
8
|
## Dependencies
|
|
9
9
|
|
|
10
10
|
- Required: `submission-readiness-check` before the final commit.
|
|
11
|
-
- Conditional: `review-change-set` is required for code-affecting changes; `discover-edge-cases` and `harden-app-security` are important review gates that remain conditional, but become required whenever the reviewed scope or risk profile warrants them.
|
|
11
|
+
- Conditional: `archive-specs` when completed plan sets should be converted or repository docs need alignment; `review-change-set` is required for code-affecting changes; `discover-edge-cases` and `harden-app-security` are important review gates that remain conditional, but become required whenever the reviewed scope or risk profile warrants them.
|
|
12
12
|
- Optional: none.
|
|
13
13
|
- Fallback: If any required dependency is unavailable, stop and report the missing dependency.
|
|
14
14
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
17
|
- Evidence: Inspect git state and classify the change set before deciding which quality gates apply, then compare the actual pending diff against root `CHANGELOG.md` `Unreleased` before committing.
|
|
18
|
-
- Execution: Run the required quality-gate skills when applicable, and treat every conditional gate whose scenario is met as blocking before submission; hand the repository to `submission-readiness-check` for
|
|
18
|
+
- Execution: Run the required quality-gate skills when applicable, and treat every conditional gate whose scenario is met as blocking before submission; hand the repository to `submission-readiness-check` for readiness classification, invoke `archive-specs` directly whenever completed plan sets should be converted or project docs need alignment, preserve staging intent, honor any explicit user-specified target branch, and when the worktree is already clean inspect local `HEAD`, upstream state, and the most recent relevant commit before deciding the request is a no-op; when worktree-based delivery is involved, verify where the authoritative target branch lives before moving history, re-validate on that target branch after replay or merge, and remove the temporary worktree only after the target branch is safely updated; then commit and push without release steps; run dependent git mutations sequentially and verify the remote branch actually contains the new local `HEAD` before reporting success.
|
|
19
19
|
- Quality: Re-run relevant validation for runtime changes, preserve unrelated local work safely when branch switching or post-push local sync is required, and do not bypass blocking readiness findings such as missing/stale `Unreleased` bullets or unsynchronized project docs.
|
|
20
20
|
- Output: Produce a concise Conventional Commit, push it to the intended branch, and report any temporary stash/restore or local branch sync that was required.
|
|
21
21
|
|
|
@@ -61,10 +61,11 @@ Load only when needed:
|
|
|
61
61
|
- Re-run relevant tests when runtime logic changes.
|
|
62
62
|
5. Run shared submission readiness
|
|
63
63
|
- Execute `$submission-readiness-check` after code/doc scans are complete and before the final commit.
|
|
64
|
-
- Let it decide whether completed plan sets should be converted, whether project docs
|
|
64
|
+
- Let it decide whether completed plan sets should be converted, whether project docs need alignment through `archive-specs`, and whether `CHANGELOG.md` is blocking submission.
|
|
65
65
|
- Do not continue to commit while `submission-readiness-check` reports unresolved readiness blockers.
|
|
66
66
|
- Treat root `CHANGELOG.md` `Unreleased` coverage as mandatory for code-affecting or user-visible changes: if the current work is not reflected there yet, update it before committing instead of merely noting the gap.
|
|
67
67
|
- Re-open the final `CHANGELOG.md` diff after readiness updates and confirm the `Unreleased` bullets describe the same scope as the commit you are about to create.
|
|
68
|
+
- When readiness indicates doc conversion or project-doc drift, run `archive-specs` before the final commit instead of duplicating documentation alignment work locally.
|
|
68
69
|
6. Commit
|
|
69
70
|
- Preserve user staging intent where possible.
|
|
70
71
|
- Write a concise Conventional Commit message using `references/commit-messages.md`.
|
|
@@ -4,26 +4,28 @@ description: >-
|
|
|
4
4
|
Read changes from all local git branches and merge them into the local main
|
|
5
5
|
branch. When conflicts arise, auto-resolve them by keeping correct functionality
|
|
6
6
|
(preferring the more recent change on the same line, or the change that preserves
|
|
7
|
-
working behavior).
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
working behavior). Hand the final merged local branch state to `commit-and-push`
|
|
8
|
+
so the commit workflow can handle changelog/readiness steps and any required
|
|
9
|
+
spec archival before the work is considered complete. Use when the user asks
|
|
10
|
+
to consolidate local branch work, merge all changes into main, or prepare local
|
|
11
|
+
branches for integration.
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
# Merge Changes from Local Branches
|
|
13
15
|
|
|
14
16
|
## Dependencies
|
|
15
17
|
|
|
16
|
-
- Required:
|
|
18
|
+
- Required: `commit-and-push` for the final local-branch submission flow after merge verification.
|
|
17
19
|
- Conditional: none.
|
|
18
|
-
- Optional:
|
|
20
|
+
- Optional: none.
|
|
19
21
|
- Fallback: If git operations fail, stop and report the error.
|
|
20
22
|
|
|
21
23
|
## Standards
|
|
22
24
|
|
|
23
25
|
- Evidence: Inspect the current branch state, local branches, ahead/behind status, and actual conflicting files before deciding what to merge.
|
|
24
|
-
- Execution: Merge only the relevant local branches into `main` sequentially, resolve conflicts by reading both sides and editing the merged result to preserve shipped behavior,
|
|
26
|
+
- Execution: Merge only the relevant local branches into `main` sequentially, resolve conflicts by reading both sides and editing the merged result to preserve shipped behavior, verify the merged state, then hand the final local branch state to `commit-and-push` so commit/changelog/spec-archival work happens through the shared submission workflow.
|
|
25
27
|
- Quality: Never use blanket timestamp rules or default `-X ours/theirs` conflict resolution as the primary merge strategy, and do not declare success until the final `main` state has been checked and verified.
|
|
26
|
-
- Output: Produce a clean main branch with all local changes integrated.
|
|
28
|
+
- Output: Produce a clean local main branch with all local changes integrated and ready for the shared submit workflow.
|
|
27
29
|
|
|
28
30
|
## Goal
|
|
29
31
|
|
|
@@ -94,10 +96,14 @@ For each local branch (excluding main):
|
|
|
94
96
|
```
|
|
95
97
|
- If verification fails, fix the merged state on `main` before proceeding.
|
|
96
98
|
|
|
97
|
-
### 5)
|
|
99
|
+
### 5) Hand off the merged result for shared submission handling
|
|
98
100
|
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
+
- Once merge verification passes, invoke `commit-and-push` for the authoritative local branch so the final submission flow owns:
|
|
102
|
+
- `CHANGELOG.md` readiness
|
|
103
|
+
- any required `archive-specs` run
|
|
104
|
+
- the final commit creation on the local target branch
|
|
105
|
+
- Do not duplicate commit-message, changelog, or spec-archival logic inside this skill.
|
|
106
|
+
- If a follow-up fix is required after verification, make that fix on `main` before handing off to `commit-and-push`.
|
|
101
107
|
|
|
102
108
|
### 6) Report completion
|
|
103
109
|
|
|
@@ -106,13 +112,13 @@ For each local branch (excluding main):
|
|
|
106
112
|
- Confirm main is updated with all changes.
|
|
107
113
|
- Note any conflicts that were resolved and the rationale.
|
|
108
114
|
- Report the verification commands that were run.
|
|
109
|
-
- Confirm
|
|
115
|
+
- Confirm whether the workflow stopped at the local commit boundary or continued into a remote push because the user explicitly requested it.
|
|
110
116
|
|
|
111
117
|
## Working Rules
|
|
112
118
|
|
|
113
119
|
- Never force-push; use only merge or rebase with merge.
|
|
114
120
|
- Prefer preserving functionality over keeping either branch's exact changes.
|
|
115
|
-
- Do not push to remote
|
|
121
|
+
- Do not push to remote from this skill directly; let `commit-and-push` own any later publish step only when the user explicitly requests it.
|
|
116
122
|
- If a branch contains no meaningful changes (empty merge), skip it.
|
|
117
123
|
- Keep the main branch history clean and readable.
|
|
118
124
|
- If a branch's merge breaks tests, resolve the conflict differently before committing.
|
package/package.json
CHANGED
|
@@ -14,8 +14,8 @@ description: Use a background terminal to run a user-specified command immediate
|
|
|
14
14
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
|
-
- Evidence: Anchor every conclusion to the requested command, execution window, startup/shutdown timestamps, captured logs, and concrete runtime signals.
|
|
18
|
-
- Execution: Collect the run contract, verify the real stop mechanism before launch, use a background terminal, optionally update the code only when the user asks, execute the requested command immediately or in the requested window, capture logs, stop cleanly when bounded, then delegate log review to `analyse-app-logs` only when findings are requested or needed.
|
|
17
|
+
- Evidence: Anchor every conclusion to the requested command, execution window, startup/shutdown timestamps, one canonical run folder or artifact root, captured logs, and concrete runtime signals.
|
|
18
|
+
- Execution: Collect the run contract, verify the real stop mechanism before launch, use a background terminal, optionally update the code only when the user asks, execute the requested command immediately or in the requested window, record the canonical run folder once the process materializes it, capture logs, stop cleanly when bounded, then delegate log review to `analyse-app-logs` only when findings are requested or needed.
|
|
19
19
|
- Quality: Keep scheduling, execution, and shutdown deterministic; separate confirmed findings from hypotheses; and mark each assessed module healthy/degraded/failed/unknown with reasons.
|
|
20
20
|
- Output: Return the run configuration, execution status, log locations, optional code-update result, optional module health by area, confirmed issues, potential issues, observability gaps, and scheduler status when applicable.
|
|
21
21
|
|
|
@@ -45,10 +45,12 @@ This skill is an orchestration layer. It owns the background terminal session, o
|
|
|
45
45
|
|
|
46
46
|
- Prefer one bounded observation window over open-ended monitoring.
|
|
47
47
|
- Use one dedicated background terminal session per requested run so execution and logs stay correlated.
|
|
48
|
+
- Record the canonical run directory, artifact root, or other generated output location as soon as it exists, and use that as the source of truth for later analysis.
|
|
48
49
|
- Treat code update as optional and only perform it when the user explicitly requests it.
|
|
49
50
|
- Treat startup, steady-state, and shutdown as part of the same investigation.
|
|
50
51
|
- Do not call a module healthy unless there is at least one positive signal for it.
|
|
51
52
|
- Separate scheduler failures, boot failures, runtime failures, and shutdown failures.
|
|
53
|
+
- For complex pipelines, identify the last successful stage before attributing the failure to application logic.
|
|
52
54
|
- If logs cannot support a health judgment, mark the module as `unknown` instead of guessing.
|
|
53
55
|
|
|
54
56
|
## Required workflow
|
|
@@ -62,6 +64,7 @@ This skill is an orchestration layer. It owns the background terminal session, o
|
|
|
62
64
|
- Create a dedicated run folder and record timezone, cwd, requested command, terminal session identifier, and any requested start/end boundaries.
|
|
63
65
|
- Capture stdout and stderr from the beginning of the session so the full run stays auditable.
|
|
64
66
|
- Identify and record the exact bounded-stop mechanism before launch: signal path, wrapper script, env var names, CLI flags, PID capture, and any project-specific shutdown helper.
|
|
67
|
+
- Decide in advance what the canonical evidence root will be if the command generates its own run directory, artifact bundle, database, or report file, so later diagnosis does not drift across multiple runs.
|
|
65
68
|
3. Optionally update to the latest safe code state
|
|
66
69
|
- Only do this step when the user explicitly asked to update the project before execution.
|
|
67
70
|
- Prefer the repository's normal safe update path, such as `git pull --ff-only`, or the project's documented sync command if one exists.
|
|
@@ -73,6 +76,7 @@ This skill is an orchestration layer. It owns the background terminal session, o
|
|
|
73
76
|
- If the user requested a future start time and no reliable scheduler is available, fail closed and report the scheduling limitation instead of starting early.
|
|
74
77
|
5. Run and capture readiness
|
|
75
78
|
- Execute the requested command in the same background terminal.
|
|
79
|
+
- As soon as the command emits or creates its canonical run directory, artifact root, or equivalent output location, record that path and reuse it for every later check.
|
|
76
80
|
- Wait for a concrete readiness signal when the command is expected to stay up, such as a health endpoint, listening-port log, worker boot line, or queue-consumer ready message.
|
|
77
81
|
- If readiness never arrives, stop the run, preserve logs, and treat it as a failed startup window.
|
|
78
82
|
6. Observe and stop when bounded
|
|
@@ -84,7 +88,8 @@ This skill is an orchestration layer. It owns the background terminal session, o
|
|
|
84
88
|
7. Explain findings from logs when requested
|
|
85
89
|
- If the user asked for findings after completion, wait for the run to finish before analyzing the captured logs.
|
|
86
90
|
- Invoke `analyse-app-logs` on only the captured runtime window.
|
|
87
|
-
- Pass the service or module names, environment, timezone, run folder, relevant log files, and the exact start/end boundaries.
|
|
91
|
+
- Pass the service or module names, environment, timezone, canonical run folder, relevant log files, and the exact start/end boundaries.
|
|
92
|
+
- When the command produced reports, databases, or other structured artifacts, compare them against the same run's logs before making a health judgment.
|
|
88
93
|
- Reuse its confirmed issues, hypotheses, and monitoring improvements instead of rewriting a separate incident workflow.
|
|
89
94
|
8. Produce the final report
|
|
90
95
|
- Always summarize the actual command executed, actual start/end timestamps, execution status, and log locations.
|
|
@@ -114,7 +119,7 @@ Absence of errors alone is not enough for `healthy`.
|
|
|
114
119
|
Use this structure in responses:
|
|
115
120
|
|
|
116
121
|
1. Run summary
|
|
117
|
-
- Workspace, command, schedule if any, actual start/end timestamps, duration if bounded, readiness result, shutdown result if applicable, and log locations.
|
|
122
|
+
- Workspace, command, schedule if any, actual start/end timestamps, duration if bounded, readiness result, shutdown result if applicable, canonical run folder or artifact root, and log locations.
|
|
118
123
|
2. Execution result
|
|
119
124
|
- Whether the command completed, stayed up for the requested window, or failed early.
|
|
120
125
|
3. Code update result
|
|
@@ -14,16 +14,18 @@ description: "Systematic debugging workflow for program issues: understand obser
|
|
|
14
14
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
|
-
- Evidence: Gather expected versus observed behavior from code and runtime facts before deciding on a cause.
|
|
18
|
-
- Execution: Inspect the relevant paths, reproduce every plausible cause with tests,
|
|
17
|
+
- Evidence: Gather expected versus observed behavior from code and runtime facts before deciding on a cause, and when the issue involves a runtime pipeline or bounded run, anchor the investigation to one canonical artifact root or run directory instead of mixed terminal snippets from multiple runs.
|
|
18
|
+
- Execution: Inspect the relevant paths, reproduce every plausible cause with tests or bounded reruns, map each observed failure to a concrete pipeline stage, distinguish toolchain/platform faults from application-logic faults, then apply the minimal fix.
|
|
19
19
|
- Quality: Keep scope focused on the bug, prefer existing test patterns, and explicitly rule out hypotheses that could not be reproduced.
|
|
20
|
-
- Output: Deliver the plausible-cause list, reproduction tests, validated fix summary, and passing-test confirmation.
|
|
20
|
+
- Output: Deliver the plausible-cause list, the canonical evidence source, reproduction tests or reruns, validated fix summary, and passing-test confirmation.
|
|
21
21
|
|
|
22
22
|
## Core Principles
|
|
23
23
|
|
|
24
24
|
- Gather facts from user reports and code behavior before changing implementation.
|
|
25
25
|
- Cover all plausible causes with reproducible tests instead of guessing a single cause.
|
|
26
26
|
- Keep fixes minimal, focused, and validated by passing tests.
|
|
27
|
+
- When logs or runtime artifacts exist, treat one run as canonical and compare every conclusion against that same run's generated artifacts, not against ad hoc console recollection.
|
|
28
|
+
- When the failing flow crosses multiple layers, identify the last confirmed successful stage before assigning blame.
|
|
27
29
|
|
|
28
30
|
## Trigger Conditions
|
|
29
31
|
|
|
@@ -39,10 +41,11 @@ Also auto-invoke this skill when mismatch evidence appears during normal executi
|
|
|
39
41
|
|
|
40
42
|
## Required Workflow
|
|
41
43
|
|
|
42
|
-
1. **Understand and inspect**: Parse expected vs observed behavior, explore relevant code paths, and build a list of plausible root causes.
|
|
43
|
-
2. **
|
|
44
|
-
3. **
|
|
45
|
-
4. **
|
|
44
|
+
1. **Understand and inspect**: Parse expected vs observed behavior, explore relevant code paths, record the canonical failing run or artifact root when runtime output is involved, and build a list of plausible root causes.
|
|
45
|
+
2. **Map the failure boundary**: Break the flow into concrete stages such as setup, startup, readiness, steady-state execution, persistence, and shutdown, then identify the last stage that is confirmed to have succeeded.
|
|
46
|
+
3. **Reproduce with tests or bounded reruns**: Write or extend tests that reproduce every plausible cause, and when the bug depends on runtime orchestration rerun the same bounded command or scenario instead of switching contexts mid-investigation.
|
|
47
|
+
4. **Diagnose and confirm**: Use reproduction evidence to confirm the true root cause, explicitly rule out non-causes, and classify whether the fault belongs to the toolchain/platform layer, the orchestration layer, or application logic.
|
|
48
|
+
5. **Fix and validate**: Implement focused fixes and iterate until all reproduction tests or bounded reruns pass.
|
|
46
49
|
|
|
47
50
|
## Implementation Guidelines
|
|
48
51
|
|
|
@@ -50,10 +53,13 @@ Also auto-invoke this skill when mismatch evidence appears during normal executi
|
|
|
50
53
|
- Prefer existing test patterns and fixtures over creating new frameworks.
|
|
51
54
|
- Keep the scope to bug reproduction and resolution; avoid unrelated refactors.
|
|
52
55
|
- If a hypothesized cause cannot be reproduced, document why and deprioritize it explicitly.
|
|
56
|
+
- For long-running or generated-artifact workflows, record the exact command, timestamps, and artifact paths before inspecting outputs so later comparisons stay on the same evidence set.
|
|
57
|
+
- Do not mix baseline data and rerun data casually; compare the same scenario or command across runs and call out when a conclusion comes from a rerun rather than the original failure.
|
|
53
58
|
|
|
54
59
|
## Deliverables
|
|
55
60
|
|
|
56
61
|
- Plausible root-cause list tied to concrete code paths
|
|
57
|
-
-
|
|
62
|
+
- Canonical failing run or artifact root when runtime evidence exists
|
|
63
|
+
- Reproduction tests or bounded reruns for each plausible cause
|
|
58
64
|
- Fix summary mapped to failing-then-passing tests
|
|
59
65
|
- Final confirmation that all related tests pass
|
package/version-release/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: version-release
|
|
3
|
-
description: "Guide the agent to prepare and publish a versioned release (version bump, changelog, tag, GitHub release, and push). Use only when users explicitly request version/tag/release work.
|
|
3
|
+
description: "Guide the agent to prepare and publish a versioned release (version bump, changelog, tag, GitHub release, and push). Use only when users explicitly request version/tag/release work. Depend directly on `archive-specs` when completed plan sets should become durable docs or when project docs need alignment, and let that skill own the downstream documentation synchronization work."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Version Release
|
|
@@ -8,14 +8,14 @@ description: "Guide the agent to prepare and publish a versioned release (versio
|
|
|
8
8
|
## Dependencies
|
|
9
9
|
|
|
10
10
|
- Required: `submission-readiness-check` before version metadata edits, tagging, or release publication.
|
|
11
|
-
- Conditional: `review-change-set` is required for code-affecting releases before metadata edits and the final commit; `discover-edge-cases` and `harden-app-security` are important review gates that remain conditional, but become required whenever the reviewed scope or risk profile warrants them.
|
|
11
|
+
- Conditional: `archive-specs` when completed plan sets should be converted or repository docs need alignment; `review-change-set` is required for code-affecting releases before metadata edits and the final commit; `discover-edge-cases` and `harden-app-security` are important review gates that remain conditional, but become required whenever the reviewed scope or risk profile warrants them.
|
|
12
12
|
- Optional: none.
|
|
13
13
|
- Fallback: If a required release dependency is unavailable, stop and report the missing dependency.
|
|
14
14
|
|
|
15
15
|
## Standards
|
|
16
16
|
|
|
17
17
|
- Evidence: Inspect the active change set, current version files, existing tag format, existing remote tags/releases, and root `CHANGELOG.md` `Unreleased` content before touching version files, tags, or release metadata.
|
|
18
|
-
- Execution: Use this workflow only for explicit release intent, run the required quality gates when applicable, and treat every conditional gate whose scenario is met as blocking before versioning or publication; hand the repository to `submission-readiness-check` before versioning work, and if the worktree is already clean inspect the current version, local/remote tag state, and existing GitHub release state before deciding whether the request is already satisfied; then cut the release directly from `CHANGELOG.md` `Unreleased`, update versions and docs, commit, tag, push, and publish the GitHub release with actual release tooling rather than PR-surrogate directives; run git mutations sequentially and verify both the branch tip and release tag exist remotely before publishing the GitHub release.
|
|
18
|
+
- Execution: Use this workflow only for explicit release intent, run the required quality gates when applicable, and treat every conditional gate whose scenario is met as blocking before versioning or publication; hand the repository to `submission-readiness-check` before versioning work, invoke `archive-specs` directly whenever completed plan sets should be converted or project docs need alignment, and if the worktree is already clean inspect the current version, local/remote tag state, and existing GitHub release state before deciding whether the request is already satisfied; then cut the release directly from `CHANGELOG.md` `Unreleased`, update versions and docs, commit, tag, push, and publish the GitHub release with actual release tooling rather than PR-surrogate directives; run git mutations sequentially and verify both the branch tip and release tag exist remotely before publishing the GitHub release.
|
|
19
19
|
- Quality: Never guess versions, align user-facing docs with actual code, do not bypass readiness blockers from `submission-readiness-check`, do not reconstruct release notes from `git diff` when curated changelog content already exists, and do not report release success until the commit, tag, and GitHub release all exist for the same version.
|
|
20
20
|
- Output: Produce a versioned release commit and tag, publish a matching GitHub release, and keep changelog plus relevant repository documentation synchronized.
|
|
21
21
|
|
|
@@ -61,8 +61,9 @@ Load only when needed:
|
|
|
61
61
|
- Resolve all confirmed findings before changing version files, tags, or release metadata.
|
|
62
62
|
4. Run shared submission readiness
|
|
63
63
|
- Execute `$submission-readiness-check` before version file edits, tags, or release publication.
|
|
64
|
-
- Let it decide whether completed plan sets should be
|
|
64
|
+
- Let it decide whether completed plan sets should be converted, whether project docs need alignment through `archive-specs`, and whether `CHANGELOG.md` `Unreleased` is ready to be cut into a versioned release entry.
|
|
65
65
|
- Do not continue while `submission-readiness-check` reports unresolved blockers.
|
|
66
|
+
- When readiness indicates completed-spec conversion or project-doc drift, run `archive-specs` before version edits instead of reproducing documentation alignment inside the release workflow.
|
|
66
67
|
5. Decide version and tag format
|
|
67
68
|
- Read existing version files (for example `project.toml`, `package.json`, or repo-specific version files).
|
|
68
69
|
- Infer existing tag format (`vX.Y.Z` or `X.Y.Z`) from repository tags.
|