opencode-code-archaeology 2.2.0 → 2.2.2
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 +14 -0
- package/docs/RELEASE.md +10 -10
- package/package.json +1 -2
- package/wiki/Release-Process.md +6 -6
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -63
- package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -48
- package/.github/pull_request_template.md +0 -27
- package/.github/workflows/ci.yml +0 -45
- package/.github/workflows/release.yml +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.2.2](https://github.com/Maleick/Code-Archaeology/compare/v2.2.1...v2.2.2) (2026-05-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* deploy pages with Node 24 actions ([#15](https://github.com/Maleick/Code-Archaeology/issues/15)) ([3d0fb9f](https://github.com/Maleick/Code-Archaeology/commit/3d0fb9fc168ab5b94229966a053fd58986076238))
|
|
7
|
+
|
|
8
|
+
## [2.2.1](https://github.com/Maleick/Code-Archaeology/compare/v2.2.0...v2.2.1) (2026-05-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* opt actions into Node 24 runtime ([#14](https://github.com/Maleick/Code-Archaeology/issues/14)) ([1d2b797](https://github.com/Maleick/Code-Archaeology/commit/1d2b797c629ba0c3a7b9245cb596e3fac2c42cd7))
|
|
14
|
+
|
|
1
15
|
# [2.2.0](https://github.com/Maleick/Code-Archaeology/compare/v2.1.0...v2.2.0) (2026-05-07)
|
|
2
16
|
|
|
3
17
|
|
package/docs/RELEASE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release Process
|
|
2
2
|
|
|
3
|
-
This checklist is for future `opencode-code-archaeology` releases. `v2.
|
|
3
|
+
This checklist is for future `opencode-code-archaeology` releases. `v2.2.0` is the current release example; replace it with the next version when preparing a new release.
|
|
4
4
|
|
|
5
5
|
## 1. Preflight
|
|
6
6
|
|
|
@@ -12,23 +12,23 @@ This checklist is for future `opencode-code-archaeology` releases. `v2.1.0` is t
|
|
|
12
12
|
|
|
13
13
|
## 2. Version Bump
|
|
14
14
|
|
|
15
|
-
For a future release, replace `2.
|
|
15
|
+
For a future release, replace `2.2.0` with the target version:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm version 2.
|
|
18
|
+
npm version 2.2.0 --no-git-tag-version
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Update `VERSION` to the same value:
|
|
22
22
|
|
|
23
23
|
```text
|
|
24
|
-
2.
|
|
24
|
+
2.2.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
Confirm `package.json`, `package-lock.json`, and `VERSION` agree.
|
|
28
28
|
|
|
29
29
|
## 3. Changelog
|
|
30
30
|
|
|
31
|
-
- Add a `v2.
|
|
31
|
+
- Add a `v2.2.0` entry, or the future target version, to `CHANGELOG.md`.
|
|
32
32
|
- Include user-visible changes, safety notes, and any migration instructions.
|
|
33
33
|
- Keep the release notes factual and avoid claiming publication steps that have not happened yet.
|
|
34
34
|
|
|
@@ -88,10 +88,10 @@ Only perform these steps after verification passes and after confirming the bran
|
|
|
88
88
|
```bash
|
|
89
89
|
git status --short
|
|
90
90
|
git add README.md INSTALL.md docs wiki assets .github SECURITY.md CONTRIBUTING.md CHANGELOG.md package.json package-lock.json VERSION .gitignore
|
|
91
|
-
git commit -m "chore: prepare v2.
|
|
92
|
-
git tag v2.
|
|
91
|
+
git commit -m "chore: prepare v2.2.0 release"
|
|
92
|
+
git tag v2.2.0
|
|
93
93
|
git push origin HEAD
|
|
94
|
-
git push origin v2.
|
|
94
|
+
git push origin v2.2.0
|
|
95
95
|
```
|
|
96
96
|
|
|
97
97
|
For a future release, use the future version in the commit message and tag.
|
|
@@ -101,7 +101,7 @@ For a future release, use the future version in the commit message and tag.
|
|
|
101
101
|
Create the GitHub release from the matching tag:
|
|
102
102
|
|
|
103
103
|
```bash
|
|
104
|
-
gh release create v2.
|
|
104
|
+
gh release create v2.2.0 --title "v2.2.0" --notes-file CHANGELOG.md
|
|
105
105
|
```
|
|
106
106
|
|
|
107
107
|
Before publishing, trim the notes to the specific version section if `CHANGELOG.md` contains multiple releases.
|
|
@@ -125,7 +125,7 @@ Confirm the public release surfaces report the expected version:
|
|
|
125
125
|
```bash
|
|
126
126
|
npm view opencode-code-archaeology version
|
|
127
127
|
npm view opencode-code-archaeology dist-tags
|
|
128
|
-
gh release view v2.
|
|
128
|
+
gh release view v2.2.0
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
Optionally verify a fresh install path:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-code-archaeology",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
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",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"docs/SECURITY_AUDIT.md",
|
|
38
38
|
"wiki",
|
|
39
39
|
"assets",
|
|
40
|
-
".github",
|
|
41
40
|
"AGENTS.md",
|
|
42
41
|
"VERSION",
|
|
43
42
|
"README.md",
|
package/wiki/Release-Process.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[Home](Home) | [Installation](Installation) | [Workflow](Expedition-Workflow) | [Security](Security-and-Safety)
|
|
4
4
|
|
|
5
|
-
Use this checklist for future `opencode-code-archaeology` releases. `v2.
|
|
5
|
+
Use this checklist for future `opencode-code-archaeology` releases. `v2.2.0` is the current example version; replace it with the target version.
|
|
6
6
|
|
|
7
7
|
## Checklist
|
|
8
8
|
|
|
9
9
|
1. Review the worktree for unrelated changes and local state.
|
|
10
|
-
2. Bump package files with `npm version 2.
|
|
11
|
-
3. Update `VERSION` to `2.
|
|
10
|
+
2. Bump package files with `npm version 2.2.0 --no-git-tag-version`.
|
|
11
|
+
3. Update `VERSION` to `2.2.0`.
|
|
12
12
|
4. Update `CHANGELOG.md` with release notes.
|
|
13
13
|
5. Run verification:
|
|
14
14
|
|
|
@@ -22,10 +22,10 @@ bash -n hooks/opencode/*.sh
|
|
|
22
22
|
npm pack --json --dry-run
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
6. Confirm the package dry run includes `dist`, `assets`, `hooks`, `commands`, `skills`, `
|
|
26
|
-
7. Commit release files, tag `v2.
|
|
25
|
+
6. Confirm the package dry run includes `dist`, `assets`, `hooks`, `commands`, `skills`, `schema`, `prompts`, `docs`, `wiki`, `README.md`, `INSTALL.md`, `CHANGELOG.md`, `SECURITY.md`, `CONTRIBUTING.md`, `VERSION`, `AGENTS.md`, and `LICENSE`.
|
|
26
|
+
7. Commit release files, tag `v2.2.0`, push the branch, and push the tag.
|
|
27
27
|
8. Create the GitHub release from the tag.
|
|
28
28
|
9. Publish npm with `npm publish --access public`.
|
|
29
|
-
10. Confirm `npm view opencode-code-archaeology version` and `gh release view v2.
|
|
29
|
+
10. Confirm `npm view opencode-code-archaeology version` and `gh release view v2.2.0` show the expected release.
|
|
30
30
|
|
|
31
31
|
Do not claim GitHub Pages is enabled unless repository settings confirm it.
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
name: Bug report
|
|
2
|
-
description: Report a problem with the Code Archaeology OpenCode plugin.
|
|
3
|
-
title: "bug: "
|
|
4
|
-
labels:
|
|
5
|
-
- bug
|
|
6
|
-
body:
|
|
7
|
-
- type: markdown
|
|
8
|
-
attributes:
|
|
9
|
-
value: Thanks for helping improve Code Archaeology. Do not include secrets, private code, or full `.archaeology/` state.
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: summary
|
|
12
|
-
attributes:
|
|
13
|
-
label: Summary
|
|
14
|
-
description: What went wrong?
|
|
15
|
-
validations:
|
|
16
|
-
required: true
|
|
17
|
-
- type: dropdown
|
|
18
|
-
id: mode
|
|
19
|
-
attributes:
|
|
20
|
-
label: Mode
|
|
21
|
-
options:
|
|
22
|
-
- survey
|
|
23
|
-
- excavate
|
|
24
|
-
- restore
|
|
25
|
-
- install or CLI
|
|
26
|
-
- documentation
|
|
27
|
-
- other
|
|
28
|
-
validations:
|
|
29
|
-
required: true
|
|
30
|
-
- type: input
|
|
31
|
-
id: version
|
|
32
|
-
attributes:
|
|
33
|
-
label: Version
|
|
34
|
-
description: Package version, commit SHA, or install source.
|
|
35
|
-
placeholder: v2.0.2
|
|
36
|
-
- type: textarea
|
|
37
|
-
id: steps
|
|
38
|
-
attributes:
|
|
39
|
-
label: Steps to reproduce
|
|
40
|
-
placeholder: |
|
|
41
|
-
1. Run ...
|
|
42
|
-
2. See ...
|
|
43
|
-
validations:
|
|
44
|
-
required: true
|
|
45
|
-
- type: textarea
|
|
46
|
-
id: expected
|
|
47
|
-
attributes:
|
|
48
|
-
label: Expected behavior
|
|
49
|
-
validations:
|
|
50
|
-
required: true
|
|
51
|
-
- type: textarea
|
|
52
|
-
id: actual
|
|
53
|
-
attributes:
|
|
54
|
-
label: Actual behavior
|
|
55
|
-
description: Include sanitized logs or error output when useful.
|
|
56
|
-
validations:
|
|
57
|
-
required: true
|
|
58
|
-
- type: textarea
|
|
59
|
-
id: environment
|
|
60
|
-
attributes:
|
|
61
|
-
label: Environment
|
|
62
|
-
description: OS, Node version, OpenCode version, package manager, and target language.
|
|
63
|
-
placeholder: macOS 14, Node 20, OpenCode ..., npm ..., TypeScript
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
name: Feature request
|
|
2
|
-
description: Suggest an improvement for the Code Archaeology OpenCode plugin.
|
|
3
|
-
title: "feat: "
|
|
4
|
-
labels:
|
|
5
|
-
- enhancement
|
|
6
|
-
body:
|
|
7
|
-
- type: markdown
|
|
8
|
-
attributes:
|
|
9
|
-
value: Please focus on the user workflow and safety impact. Do not include private repository contents.
|
|
10
|
-
- type: textarea
|
|
11
|
-
id: problem
|
|
12
|
-
attributes:
|
|
13
|
-
label: Problem
|
|
14
|
-
description: What workflow or limitation should this improve?
|
|
15
|
-
validations:
|
|
16
|
-
required: true
|
|
17
|
-
- type: textarea
|
|
18
|
-
id: proposal
|
|
19
|
-
attributes:
|
|
20
|
-
label: Proposed solution
|
|
21
|
-
description: What should Code Archaeology do differently?
|
|
22
|
-
validations:
|
|
23
|
-
required: true
|
|
24
|
-
- type: dropdown
|
|
25
|
-
id: area
|
|
26
|
-
attributes:
|
|
27
|
-
label: Area
|
|
28
|
-
options:
|
|
29
|
-
- survey reporting
|
|
30
|
-
- excavate mock patches
|
|
31
|
-
- restore safety
|
|
32
|
-
- language support
|
|
33
|
-
- CLI or install
|
|
34
|
-
- documentation
|
|
35
|
-
- CI or release
|
|
36
|
-
- other
|
|
37
|
-
validations:
|
|
38
|
-
required: true
|
|
39
|
-
- type: textarea
|
|
40
|
-
id: alternatives
|
|
41
|
-
attributes:
|
|
42
|
-
label: Alternatives considered
|
|
43
|
-
description: Any workaround or simpler approach?
|
|
44
|
-
- type: textarea
|
|
45
|
-
id: safety
|
|
46
|
-
attributes:
|
|
47
|
-
label: Safety considerations
|
|
48
|
-
description: Could this modify user code, expose local state, or affect restore behavior?
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
## Summary
|
|
2
|
-
|
|
3
|
-
-
|
|
4
|
-
|
|
5
|
-
## Verification
|
|
6
|
-
|
|
7
|
-
- [ ] Polish pass completed before commit, push, and PR.
|
|
8
|
-
- [ ] `npm run build`
|
|
9
|
-
- [ ] `npm run typecheck`
|
|
10
|
-
- [ ] `npm test`
|
|
11
|
-
- [ ] `npm audit --audit-level=moderate`
|
|
12
|
-
- [ ] `bash -n hooks/opencode/*.sh`
|
|
13
|
-
- [ ] `npm pack --json --dry-run`
|
|
14
|
-
|
|
15
|
-
## Safety Checklist
|
|
16
|
-
|
|
17
|
-
- [ ] I did not commit `.archaeology/`, `.superpowers/`, secrets, logs, or local editor state.
|
|
18
|
-
- [ ] Restore-mode changes are backed by reviewed survey or excavate output.
|
|
19
|
-
- [ ] I did not remove try/catch around I/O or external input boundaries.
|
|
20
|
-
- [ ] I flagged uncertain type or behavior changes for review instead of guessing.
|
|
21
|
-
|
|
22
|
-
## Docs And Release Checklist
|
|
23
|
-
|
|
24
|
-
- [ ] README, INSTALL, docs, and wiki source are updated if user behavior changed.
|
|
25
|
-
- [ ] CHANGELOG includes user-visible changes.
|
|
26
|
-
- [ ] Package metadata and npm package contents are correct for release-impacting changes.
|
|
27
|
-
- [ ] Version, tag, publish, and release steps are not included unless this PR is the release PR.
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
verify:
|
|
13
|
-
name: Verify
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- name: Checkout
|
|
18
|
-
uses: actions/checkout@v4
|
|
19
|
-
|
|
20
|
-
- name: Setup Node.js
|
|
21
|
-
uses: actions/setup-node@v4
|
|
22
|
-
with:
|
|
23
|
-
node-version: 20
|
|
24
|
-
cache: npm
|
|
25
|
-
|
|
26
|
-
- name: Install dependencies
|
|
27
|
-
run: npm ci
|
|
28
|
-
|
|
29
|
-
- name: Build
|
|
30
|
-
run: npm run build
|
|
31
|
-
|
|
32
|
-
- name: Typecheck
|
|
33
|
-
run: npm run typecheck
|
|
34
|
-
|
|
35
|
-
- name: Test
|
|
36
|
-
run: npm test
|
|
37
|
-
|
|
38
|
-
- name: Audit dependencies
|
|
39
|
-
run: npm audit --audit-level=moderate
|
|
40
|
-
|
|
41
|
-
- name: Check shell hook syntax
|
|
42
|
-
run: bash -n hooks/opencode/*.sh
|
|
43
|
-
|
|
44
|
-
- name: Validate npm package contents
|
|
45
|
-
run: npm pack --json --dry-run
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
release:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
permissions:
|
|
12
|
-
contents: write
|
|
13
|
-
issues: write
|
|
14
|
-
pull-requests: write
|
|
15
|
-
id-token: write
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v4
|
|
18
|
-
with:
|
|
19
|
-
fetch-depth: 0
|
|
20
|
-
persist-credentials: false
|
|
21
|
-
|
|
22
|
-
- uses: actions/setup-node@v4
|
|
23
|
-
with:
|
|
24
|
-
node-version: '22'
|
|
25
|
-
registry-url: 'https://registry.npmjs.org'
|
|
26
|
-
|
|
27
|
-
- name: Install dependencies
|
|
28
|
-
run: npm ci
|
|
29
|
-
|
|
30
|
-
- name: Build
|
|
31
|
-
run: npm run build
|
|
32
|
-
|
|
33
|
-
- name: Type check
|
|
34
|
-
run: npm run typecheck
|
|
35
|
-
|
|
36
|
-
- name: Verify package
|
|
37
|
-
run: npm run verify:pack
|
|
38
|
-
|
|
39
|
-
- name: Test
|
|
40
|
-
run: npm test
|
|
41
|
-
|
|
42
|
-
- name: Release
|
|
43
|
-
env:
|
|
44
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
45
|
-
NPM_CONFIG_PROVENANCE: true
|
|
46
|
-
run: npx semantic-release
|