devrites 7.0.15 → 7.0.16
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/engine/internal/lib/context.go +3 -0
- package/engine/internal/lib/triggers.go +23 -0
- package/package.json +1 -1
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
|
+
## [7.0.16](https://github.com/ViktorsBaikers/DevRites/compare/v7.0.15...v7.0.16) (2026-10-27)
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
* **devrites:** print the command that applies suggested triggers ([#175](https://github.com/ViktorsBaikers/DevRites/issues/175)) ([b32b2b8](https://github.com/ViktorsBaikers/DevRites/commit/b32b2b86de8c4d66a9dfd51f23ae22b683f90979))
|
|
10
|
+
|
|
5
11
|
## [7.0.15](https://github.com/ViktorsBaikers/DevRites/compare/v7.0.14...v7.0.15) (2026-10-25)
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ history can't lose it. After you clear the conversation, switch hosts, or hand
|
|
|
31
31
|
the feature to another engineer, the next session reads the same plan,
|
|
32
32
|
decisions, and evidence before it continues.
|
|
33
33
|
|
|
34
|
-
**Status:** [`v7.0.
|
|
34
|
+
**Status:** [`v7.0.16`](https://github.com/ViktorsBaikers/DevRites/releases/tag/v7.0.16): see [`CHANGELOG.md`](CHANGELOG.md) for release notes.
|
|
35
35
|
|
|
36
36
|
This is the latest published release; `main` may contain unreleased work.
|
|
37
37
|
|
|
@@ -396,6 +396,9 @@ func RunContext(root string, args []string, stdout, stderr io.Writer) int {
|
|
|
396
396
|
if suggested := suggestTriggers(manifest, root, featureDir, opts); len(suggested) > 0 {
|
|
397
397
|
fmt.Fprintf(stdout, "triggers: suggested=[%s] (advisory — confirm each before use)\n",
|
|
398
398
|
strings.Join(suggested, ","))
|
|
399
|
+
// The advisory list is only actionable if the agent is told how to
|
|
400
|
+
// apply it; no shipped guidance names the flag.
|
|
401
|
+
fmt.Fprintf(stdout, "triggers: apply with: %s\n", triggerApplyCommand(opts, suggested))
|
|
399
402
|
}
|
|
400
403
|
}
|
|
401
404
|
if len(missingRequired) > 0 {
|
|
@@ -156,3 +156,26 @@ func afkAllowsParallel(content string) bool {
|
|
|
156
156
|
}
|
|
157
157
|
return n > 1
|
|
158
158
|
}
|
|
159
|
+
|
|
160
|
+
// triggerApplyCommand renders the command that applies the suggested triggers.
|
|
161
|
+
// The suggestions are never applied automatically (see the file header), so the
|
|
162
|
+
// agent needs a copy-pasteable form or the advisory list has no consumer.
|
|
163
|
+
func triggerApplyCommand(opts contextOpts, suggested []string) string {
|
|
164
|
+
parts := []string{"devrites-engine", "context"}
|
|
165
|
+
if opts.slug != "" {
|
|
166
|
+
parts = append(parts, opts.slug)
|
|
167
|
+
}
|
|
168
|
+
for _, flag := range []struct{ name, value string }{
|
|
169
|
+
{"--phase", opts.phase},
|
|
170
|
+
{"--skill", opts.skill},
|
|
171
|
+
{"--role", opts.role},
|
|
172
|
+
{"--slice", opts.slice},
|
|
173
|
+
{"--out", opts.out},
|
|
174
|
+
} {
|
|
175
|
+
if flag.value != "" {
|
|
176
|
+
parts = append(parts, flag.name, flag.value)
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
parts = append(parts, "--trigger", strings.Join(suggested, ","))
|
|
180
|
+
return strings.Join(parts, " ")
|
|
181
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devrites",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.16",
|
|
4
4
|
"description": "DevRites: a disciplined senior-engineer workflow pack for Claude Code, Codex, omp, pi, and Devin CLI",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"homepage": "https://github.com/ViktorsBaikers/DevRites#readme",
|