opencode-code-archaeology 2.3.0 → 2.4.0

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 CHANGED
@@ -1,21 +1,15 @@
1
- # [2.3.0](https://github.com/Maleick/Code-Archaeology/compare/v2.2.6...v2.3.0) (2026-05-08)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * allow Hermes to initialize shared sessions ([#22](https://github.com/Maleick/Code-Archaeology/issues/22)) ([8a484c4](https://github.com/Maleick/Code-Archaeology/commit/8a484c481a895bc8c9b818c831551c435380a438))
7
- * protect Hermes session initialization from symlinks ([#25](https://github.com/Maleick/Code-Archaeology/issues/25)) ([be855df](https://github.com/Maleick/Code-Archaeology/commit/be855dfeeb1c5173e4db3d5e4b4c32e17f3d2271))
8
- * use local release version sync plugin ([#24](https://github.com/Maleick/Code-Archaeology/issues/24)) ([221085d](https://github.com/Maleick/Code-Archaeology/commit/221085dc0d3e958c824b474e958bfef15e726094))
1
+ # [2.4.0](https://github.com/Maleick/Code-Archaeology/compare/v2.3.1...v2.4.0) (2026-05-09)
9
2
 
10
3
 
11
4
  ### Features
12
5
 
13
- * sync yolo docs and tests ([#23](https://github.com/Maleick/Code-Archaeology/issues/23)) ([b42d9b7](https://github.com/Maleick/Code-Archaeology/commit/b42d9b794fd9460dcfd82ff0b56ebdf18bb1d071))
6
+ * add artifact cleanup script for expedition outputs ([#31](https://github.com/Maleick/Code-Archaeology/issues/31)) ([bde8919](https://github.com/Maleick/Code-Archaeology/commit/bde891909cdffa5f408433059595579431f3a199))
14
7
 
15
8
  ## Unreleased
16
9
 
17
10
  ### Features
18
11
 
12
+ * document manual release reruns and workflow dispatch trigger settings in `docs/RELEASE.md` and `CONTRIBUTING.md`
19
13
  * add Hermes integration docs coverage for `yolo` and explicit docs smoke coverage for `--yolo` across wiki/INTEGRATION pages
20
14
 
21
15
  ## [2.2.6](https://github.com/Maleick/Code-Archaeology/compare/v2.2.5...v2.2.6) (2026-05-07)
package/CONTRIBUTING.md CHANGED
@@ -19,6 +19,13 @@ Use Node 20 for CI parity. Node 18 or newer is supported by the package metadata
19
19
  - Keep `.archaeology/`, `.superpowers/`, `node_modules/`, logs, secrets, and editor state out of commits.
20
20
  - Do not commit, tag, push, or publish release artifacts unless you are intentionally performing a reviewed release step.
21
21
 
22
+ ## PR Checklist
23
+
24
+ - Keep `dist/` checked in only when runtime or source output changes; `dist/` is part of the published package surface and must reflect shipped behavior.
25
+ - Add `dist/` updates in the same PR for source changes (for example: `src/`, `commands/`, `prompts/`, hooks, or `scripts/` changes).
26
+ - Do not add or track `disk/`; it is runtime scratch space and belongs in `.gitignore`.
27
+ - If a change is docs-only (`README`, `INSTALL`, `docs/`, `wiki/`), `dist/` updates are not required.
28
+
22
29
  ## Testing Commands
23
30
 
24
31
  Run the most focused checks for your change, and run the release checks before release-impacting changes are merged:
@@ -43,6 +50,13 @@ Before committing, pushing, or opening a PR, run a polish pass over the changed
43
50
  - Do not include secrets, credentials, private repository contents, or full local runtime state.
44
51
  - Preserve the safety model: survey first, excavate for mock patches, restore only after review.
45
52
 
53
+ ## Release Behavior
54
+
55
+ - The `release.yml` workflow supports manual `workflow_dispatch` reruns.
56
+ - Manual reruns with `publish=false` validate setup, build, package verification, and tests without running `semantic-release` or exposing release credentials.
57
+ - Do not treat a feature-branch manual rerun as full release validation; publish behavior is restricted to the configured release branch (`main`).
58
+ - Use `publish=true` only for an explicit publish attempt from `main`; the workflow enforces this branch restriction before granting release permissions.
59
+
46
60
  ## Release Notes Expectations
47
61
 
48
62
  - Add user-visible changes to `CHANGELOG.md`.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.3.0
1
+ 2.4.0
package/docs/RELEASE.md CHANGED
@@ -116,6 +116,14 @@ Publishing is performed by `.github/workflows/release.yml` through npm trusted p
116
116
  - Workflow filename: `release.yml`
117
117
  - Environment name: leave blank unless the workflow adds a GitHub Actions `environment`
118
118
 
119
+ Manual validation reruns are available from GitHub Actions using `workflow_dispatch`:
120
+
121
+ ```bash
122
+ gh workflow run release.yml --ref <branch> -f publish=false
123
+ ```
124
+
125
+ This default path is useful for fast validation of setup, build, package verification, and test steps on any branch. It does not run `semantic-release` and does not expose release credentials or publish permissions to the dispatched ref. Set `publish=true` only for an explicit publish attempt from `main`; the workflow enforces this branch restriction before granting release permissions.
126
+
119
127
  If publishing fails, do not create a replacement tag unless the failure requires a new package version. Fix the issue, rerun verification, and follow npm versioning rules.
120
128
 
121
129
  ## 9. Final Checks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-code-archaeology",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Excavate, catalog, and restore a codebase by removing accumulated sediment—dead code, legacy fallbacks, circular dependencies, weak types, and defensive programming slop.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",