devrites 2.6.0 → 2.6.1
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 +6 -0
- package/README.md +1 -1
- package/install.sh +0 -1
- package/package.json +1 -1
- package/uninstall.sh +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to DevRites are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and DevRites adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Releases are generated automatically by [semantic-release](https://semantic-release.gitbook.io/) from Conventional Commits on `main`.
|
|
4
4
|
|
|
5
|
+
## [2.6.1](https://github.com/ViktorsBaikers/DevRites/compare/v2.6.0...v2.6.1) (2026-07-05)
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
* **installer:** emit valid Codex hooks config ([5a23d0a](https://github.com/ViktorsBaikers/DevRites/commit/5a23d0a0d4f1d990cf206f258a0b6866b46cf341))
|
|
10
|
+
|
|
5
11
|
## [2.6.0](https://github.com/ViktorsBaikers/DevRites/compare/v2.5.2...v2.6.0) (2026-07-05)
|
|
6
12
|
|
|
7
13
|
### Added
|
package/README.md
CHANGED
|
@@ -101,7 +101,7 @@ Full diagram set (lifecycle, polish orchestrator, review fan-out, debug loop,
|
|
|
101
101
|
rules carrier, workspace state, namespace map) →
|
|
102
102
|
[`docs/flow.md`](docs/flow.md).
|
|
103
103
|
|
|
104
|
-
**Status:** [`v2.6.
|
|
104
|
+
**Status:** [`v2.6.1`](https://github.com/ViktorsBaikers/DevRites/releases/tag/v2.6.1) — see [`CHANGELOG.md`](CHANGELOG.md) for release notes.
|
|
105
105
|
|
|
106
106
|
## Contents
|
|
107
107
|
|
package/install.sh
CHANGED
|
@@ -551,7 +551,6 @@ gen_codex_hooks_json() {
|
|
|
551
551
|
_out="$1"
|
|
552
552
|
cat > "$_out" <<'EOF'
|
|
553
553
|
{
|
|
554
|
-
"$comment": "DevRites hooks for Codex. Project hooks load only after the project .codex layer is trusted; use /hooks in Codex to review and trust these non-managed hooks. Commands resolve the git root first so hooks work when Codex starts from a subdirectory.",
|
|
555
554
|
"hooks": {
|
|
556
555
|
"PreToolUse": [
|
|
557
556
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devrites",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "DevRites — disciplined senior-engineer workflow skills pack for Claude Code and Codex",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://github.com/ViktorsBaikers/DevRites#readme",
|
package/uninstall.sh
CHANGED
|
@@ -125,8 +125,8 @@ if [ -f "$TARGET/.claude/devrites.codex-hooks-merge" ] && [ -f "$TARGET/.codex/h
|
|
|
125
125
|
if [ "$DRYRUN" -eq 1 ]; then
|
|
126
126
|
dr_say " [merge-remove] .codex/hooks.json DevRites hooks"
|
|
127
127
|
else
|
|
128
|
-
if grep -q 'DevRites
|
|
129
|
-
&& ! grep '"command"[[:space:]]*:' "$TARGET/.codex/hooks.json" 2>/dev/null | grep -vq 'devrites-\|DEVRITES_\|DevRites:'; then
|
|
128
|
+
if grep -q '"command"[[:space:]]*:.*\(devrites-\|DEVRITES_\|DevRites:\)' "$TARGET/.codex/hooks.json" 2>/dev/null \
|
|
129
|
+
&& ! grep '"command"[[:space:]]*:' "$TARGET/.codex/hooks.json" 2>/dev/null | grep -vq 'devrites-\|DEVRITES_\|printf.*DevRites:'; then
|
|
130
130
|
rm -f "$TARGET/.codex/hooks.json" || dr_die "cannot remove .codex/hooks.json"
|
|
131
131
|
else
|
|
132
132
|
command -v node >/dev/null 2>&1 || dr_die "node is required to remove DevRites hooks from .codex/hooks.json"
|