sagaz-ai 0.1.2 → 0.1.4

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/INSTALL.md CHANGED
@@ -3,7 +3,8 @@
3
3
  ## Requirements
4
4
 
5
5
  - Codex Desktop.
6
- - Node.js 18+ if installing with `npx`.
6
+ - Node.js 22.14+ if installing with `npx`.
7
+ - Node.js 24 LTS is preferred for new installations.
7
8
  - Git installed.
8
9
  - GitHub CLI (`gh`) installed and authenticated if you want GitHub Ops.
9
10
  - Access to the local Codex skills folder.
@@ -17,6 +18,21 @@ Sagaz can be used on Windows and macOS through Codex Desktop. The npm installer
17
18
 
18
19
  If your Codex Desktop installation uses a custom home folder, pass `--codex-home <path>`.
19
20
 
21
+ ## Node.js And npm
22
+
23
+ Use a currently supported Node.js release:
24
+
25
+ - Recommended minimum: Node.js 22.14+.
26
+ - Preferred for new installations: Node.js 24 LTS.
27
+ - Avoid Node.js 18 and Node.js 20 for new Sagaz installations because they are no longer the best compatibility baseline for current npm publishing and GitHub Actions behavior.
28
+
29
+ Verify:
30
+
31
+ ```bash
32
+ node --version
33
+ npm --version
34
+ ```
35
+
20
36
  ## Recommended: Install With npx
21
37
 
22
38
  ### Windows PowerShell
package/README.md CHANGED
@@ -41,6 +41,7 @@ Sagaz also guides the user through the process. At the end of each phase, it exp
41
41
  - **Tool registry:** Sagaz verifies and recommends tools such as GitHub CLI, Playwright, Vercel, Expo/EAS, Supabase, Firebase, Stripe, CI/CD, and observability services.
42
42
  - **Stack presets:** common web, mobile, backend, database, and dashboard stacks are documented as starting points.
43
43
  - **Sagaz evaluations:** scenario-based checks help prevent regressions in the orchestration system itself.
44
+ - **Compatibility audits:** Sagaz can check whether Windows, macOS, npm, Node.js, Codex Desktop, AI model behavior, GitHub, package contents, or external platform changes require a Sagaz update.
44
45
 
45
46
  ## How It Works
46
47
 
@@ -84,6 +85,8 @@ Sagaz supports Windows and macOS through Codex Desktop. The npm installer instal
84
85
 
85
86
  If your Codex Desktop installation uses a custom home folder, pass `--codex-home <path>`.
86
87
 
88
+ Use Node.js 22.14+ with npm for installation. Node.js 24 LTS is preferred for new installations because it aligns with current npm publishing and GitHub Actions compatibility. Avoid Node.js 18 and Node.js 20 for new Sagaz installations.
89
+
87
90
  #### Windows PowerShell
88
91
 
89
92
  ```powershell
@@ -206,6 +209,8 @@ For tool-heavy work, Sagaz uses a tool registry to verify local availability and
206
209
 
207
210
  For common project types, Sagaz can start from documented stack presets such as Next.js on Vercel, React with Vite, Expo mobile, React Native, Supabase, Firebase, Node APIs, static sites, and admin dashboards.
208
211
 
212
+ When asked whether Sagaz needs updates, Sagaz should run a compatibility update audit across Windows, macOS, npm, Node.js, Codex Desktop, current model/tool behavior, GitHub, local installed skill, package contents, documentation, CI/CD, and relevant external platforms before recommending a new version.
213
+
209
214
  ## Web Example
210
215
 
211
216
  ```text
@@ -60,6 +60,7 @@ See `protocols/` for quality gates, testing matrix, stack selection, design qual
60
60
  - `protocols/ai-application-quality.md`
61
61
  - `protocols/agent-observability.md`
62
62
  - `protocols/durable-run-state.md`
63
+ - `protocols/compatibility-update-audit.md`
63
64
 
64
65
  ## Tools
65
66
 
@@ -10,4 +10,7 @@ Maintain Sagaz as a reliable, safe, versionable, low-token orchestration ecosyst
10
10
  - Does it reduce future risk?
11
11
  - Does it preserve low token usage?
12
12
  - Is the user impact clear?
13
+ - If the user asks whether Sagaz needs updates, apply `protocols/compatibility-update-audit.md` before answering.
14
+ - Check Windows, macOS, npm, Node.js, Codex Desktop, AI model behavior, GitHub, package contents, local installed skill, documentation, CI/CD, and relevant external platform assumptions.
15
+ - If a compatibility risk is found, explain it and ask whether the user wants Sagaz updated and released.
13
16
 
@@ -40,8 +40,11 @@ The repository should include:
40
40
 
41
41
  - package checks on push and pull request
42
42
  - manual npm publishing workflow
43
+ - GitHub Actions configured with Node.js 24 unless a newer supported LTS baseline is intentionally adopted
43
44
 
44
- The npm publishing workflow requires an `NPM_TOKEN` repository secret. Do not assume it exists. If it is missing, guide the user through creating it and explain why it is needed.
45
+ The npm publishing workflow requires either trusted publishing or an `NPM_TOKEN` repository secret. Do not assume either is configured. If missing, guide the user through the safest available option and explain why it is needed.
46
+
47
+ Use Node.js 22.14+ as the minimum package baseline and Node.js 24 LTS for GitHub Actions unless a compatibility audit recommends a newer baseline.
45
48
 
46
49
  ## npm Publishing
47
50
 
@@ -0,0 +1,86 @@
1
+ # Compatibility Update Audit
2
+
3
+ ## Purpose
4
+
5
+ Detect whether Sagaz needs an update because the surrounding ecosystem changed. Use this protocol whenever the user asks if Sagaz needs updates, whether everything is current, whether a new Codex/model release affects Sagaz, or whether Sagaz is still safe to use.
6
+
7
+ ## Mandatory Scope
8
+
9
+ Check every relevant variable before answering:
10
+
11
+ - Windows installation behavior
12
+ - macOS installation behavior
13
+ - Codex Desktop skill discovery and local skill folder behavior
14
+ - current AI model behavior, tool behavior, and instruction-following assumptions
15
+ - npm package version and `latest` tag
16
+ - Node.js supported versions and npm CLI behavior
17
+ - Git and GitHub CLI availability expectations
18
+ - GitHub repository state, workflows, permissions, and release process
19
+ - package contents included by `npm pack`
20
+ - installer behavior through `npx sagaz-ai@latest`
21
+ - Markdown ecosystem structure
22
+ - local installed skill versus repository skill
23
+ - documentation consistency across README, INSTALL, skill, and governance files
24
+ - CI/CD workflow compatibility
25
+ - browser, Playwright, deployment, mobile, and tool registry assumptions when relevant
26
+ - breaking changes in platforms Sagaz recommends, such as Vercel, Expo/EAS, Supabase, Firebase, Stripe, OpenAI, OpenRouter, TogetherAI, Groq, and GitHub Actions
27
+
28
+ ## Information Sources
29
+
30
+ Use local checks first:
31
+
32
+ - repository files
33
+ - installed skill files
34
+ - `git status`
35
+ - `npm test`
36
+ - `npm pack --dry-run`
37
+ - `npm view sagaz-ai version`
38
+ - `node --version`
39
+ - `npm --version`
40
+ - `git --version`
41
+ - `gh --version`
42
+ - `gh auth status`
43
+
44
+ Use web or official documentation when the question depends on current external behavior, including Codex Desktop, OpenAI models, npm, Node.js, GitHub Actions, GitHub CLI, or platform APIs. Prefer official sources.
45
+
46
+ ## Audit Output
47
+
48
+ Answer with:
49
+
50
+ ```md
51
+ Current Sagaz version:
52
+ Local repository state:
53
+ npm latest:
54
+ Installed local skill:
55
+ Windows status:
56
+ macOS status:
57
+ Node/npm status:
58
+ Codex Desktop/model risk:
59
+ GitHub/GitHub CLI status:
60
+ External platform risks:
61
+ Documentation status:
62
+ Package status:
63
+ Conclusion:
64
+ Recommended Sagaz update:
65
+ Needs user permission:
66
+ ```
67
+
68
+ ## Update Decision
69
+
70
+ Recommend a Sagaz update when:
71
+
72
+ - a platform behavior changed and may break installation or usage
73
+ - documentation is wrong, incomplete, or ambiguous
74
+ - npm/package behavior changed
75
+ - Codex Desktop skill behavior changed
76
+ - model/tool behavior requires new operating rules
77
+ - a dependency or recommended platform introduced a breaking change
78
+ - local installed skill is behind repository or npm
79
+ - package contents do not match the repository expectations
80
+ - verification cannot be completed without a new check or script
81
+
82
+ Do not recommend a new release only because a dependency has a newer version. Recommend a release only when Sagaz behavior, safety, installation, documentation, or verification needs to change.
83
+
84
+ ## Permission Rule
85
+
86
+ If an update is recommended, explain the reason, impact, risk, and proposed version bump. Ask the user for permission before editing files, committing, pushing, publishing, creating releases, changing secrets, or updating installed tools.
@@ -32,7 +32,8 @@ If navigation is needed, read:
32
32
  11. For multi-phase or production work, apply durable run state and compact agent observability.
33
33
  12. Use the tool registry before recommending or using external tools, connectors, deployments, publishing, or account-linked actions.
34
34
  13. Use stack presets as starting points when recommending technologies, then adapt to user constraints.
35
- 14. Do not declare done without verification evidence proportional to risk.
35
+ 14. When the user asks whether Sagaz needs updates, apply the compatibility update audit across Windows, macOS, npm, Node.js, Codex Desktop, AI model behavior, GitHub, package contents, installed skill, and relevant external platforms before recommending a new version.
36
+ 15. Do not declare done without verification evidence proportional to risk.
36
37
 
37
38
  ## Quick Selection
38
39
 
@@ -46,6 +47,7 @@ If navigation is needed, read:
46
47
  - Tools/connectors: `tools/tool-registry.md`
47
48
  - Stack presets: `stack-presets/`
48
49
  - Sagaz quality checks: `evals/sagaz-evaluation-suite.md`
50
+ - Sagaz update checks: `protocols/compatibility-update-audit.md`
49
51
 
50
52
  ## Required Handoff
51
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sagaz-ai",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Sagaz AI orchestration ecosystem installer for Codex Desktop.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -29,7 +29,7 @@
29
29
  "author": "Thiago Cabral",
30
30
  "license": "MIT",
31
31
  "engines": {
32
- "node": ">=18"
32
+ "node": ">=22.14"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",