sagaz-ai 0.1.1 → 0.1.3
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 +79 -6
- package/README.md +60 -11
- package/ai-orchestration-ecosystem/INDEX.md +1 -0
- package/ai-orchestration-ecosystem/governance/ecosystem-maintenance.md +3 -0
- package/ai-orchestration-ecosystem/protocols/compatibility-update-audit.md +86 -0
- package/bin/sagaz.js +8 -1
- package/codex-skill/sagaz/SKILL.md +3 -1
- package/package.json +1 -1
package/INSTALL.md
CHANGED
|
@@ -8,12 +8,41 @@
|
|
|
8
8
|
- GitHub CLI (`gh`) installed and authenticated if you want GitHub Ops.
|
|
9
9
|
- Access to the local Codex skills folder.
|
|
10
10
|
|
|
11
|
+
## Platform Support
|
|
12
|
+
|
|
13
|
+
Sagaz can be used on Windows and macOS through Codex Desktop. The npm installer uses the current user's home directory and installs the skill into the standard Codex skills folder:
|
|
14
|
+
|
|
15
|
+
- Windows: `C:\Users\YOUR_USER\.codex\skills\sagaz`
|
|
16
|
+
- macOS: `~/.codex/skills/sagaz`
|
|
17
|
+
|
|
18
|
+
If your Codex Desktop installation uses a custom home folder, pass `--codex-home <path>`.
|
|
19
|
+
|
|
11
20
|
## Recommended: Install With npx
|
|
12
21
|
|
|
22
|
+
### Windows PowerShell
|
|
23
|
+
|
|
13
24
|
```powershell
|
|
14
25
|
npx sagaz-ai install
|
|
15
26
|
```
|
|
16
27
|
|
|
28
|
+
Optional ecosystem copy:
|
|
29
|
+
|
|
30
|
+
```powershell
|
|
31
|
+
npx sagaz-ai install --ecosystem C:\Users\YOUR_USER\Documents\Sagaz\ai-orchestration-ecosystem
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### macOS Terminal
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npx sagaz-ai install
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Optional ecosystem copy:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npx sagaz-ai install --ecosystem ~/Documents/Sagaz/ai-orchestration-ecosystem
|
|
44
|
+
```
|
|
45
|
+
|
|
17
46
|
Then open a new Codex Desktop thread and test:
|
|
18
47
|
|
|
19
48
|
```text
|
|
@@ -22,32 +51,52 @@ Sagaz: explain the available workflows.
|
|
|
22
51
|
|
|
23
52
|
## Optional Commands
|
|
24
53
|
|
|
54
|
+
### Windows PowerShell
|
|
55
|
+
|
|
25
56
|
```powershell
|
|
26
57
|
npx sagaz-ai status
|
|
27
58
|
npx sagaz-ai doctor
|
|
28
59
|
npx sagaz-ai install --force
|
|
29
60
|
```
|
|
30
61
|
|
|
31
|
-
|
|
62
|
+
### macOS Terminal
|
|
32
63
|
|
|
33
|
-
```
|
|
34
|
-
npx sagaz-ai
|
|
64
|
+
```bash
|
|
65
|
+
npx sagaz-ai status
|
|
66
|
+
npx sagaz-ai doctor
|
|
67
|
+
npx sagaz-ai install --force
|
|
35
68
|
```
|
|
36
69
|
|
|
37
70
|
## Manual Install
|
|
38
71
|
|
|
39
|
-
Copy
|
|
72
|
+
Copy the Sagaz skill folder from the repository.
|
|
73
|
+
|
|
74
|
+
Windows source folder:
|
|
40
75
|
|
|
41
76
|
```text
|
|
42
77
|
codex-skill\sagaz
|
|
43
78
|
```
|
|
44
79
|
|
|
45
|
-
|
|
80
|
+
macOS source folder:
|
|
81
|
+
|
|
82
|
+
```text
|
|
83
|
+
codex-skill/sagaz
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
into the platform-specific Codex skill folder.
|
|
87
|
+
|
|
88
|
+
Windows:
|
|
46
89
|
|
|
47
90
|
```text
|
|
48
91
|
C:\Users\YOUR_USER\.codex\skills\sagaz
|
|
49
92
|
```
|
|
50
93
|
|
|
94
|
+
macOS:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
~/.codex/skills/sagaz
|
|
98
|
+
```
|
|
99
|
+
|
|
51
100
|
Then open a new Codex Desktop thread and test:
|
|
52
101
|
|
|
53
102
|
```text
|
|
@@ -64,6 +113,8 @@ Sagaz: use the appropriate workflow for this project. Maintain run state, handof
|
|
|
64
113
|
|
|
65
114
|
## GitHub Ops
|
|
66
115
|
|
|
116
|
+
### Windows PowerShell
|
|
117
|
+
|
|
67
118
|
Authenticate GitHub CLI:
|
|
68
119
|
|
|
69
120
|
```powershell
|
|
@@ -75,4 +126,26 @@ Verify:
|
|
|
75
126
|
```powershell
|
|
76
127
|
gh auth status
|
|
77
128
|
git --version
|
|
78
|
-
```
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### macOS Terminal
|
|
132
|
+
|
|
133
|
+
Install Git and GitHub CLI if needed:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
xcode-select --install
|
|
137
|
+
brew install gh
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Authenticate GitHub CLI:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
gh auth login -h github.com
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Verify:
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
gh auth status
|
|
150
|
+
git --version
|
|
151
|
+
```
|
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
|
|
|
@@ -77,14 +78,17 @@ Key areas:
|
|
|
77
78
|
|
|
78
79
|
### Recommended: Install With npx
|
|
79
80
|
|
|
80
|
-
|
|
81
|
-
npx sagaz-ai install
|
|
82
|
-
```
|
|
81
|
+
Sagaz supports Windows and macOS through Codex Desktop. The npm installer installs the skill into the current user's Codex skills folder:
|
|
83
82
|
|
|
84
|
-
|
|
83
|
+
- Windows: `C:\Users\YOUR_USER\.codex\skills\sagaz`
|
|
84
|
+
- macOS: `~/.codex/skills/sagaz`
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
If your Codex Desktop installation uses a custom home folder, pass `--codex-home <path>`.
|
|
87
|
+
|
|
88
|
+
#### Windows PowerShell
|
|
89
|
+
|
|
90
|
+
```powershell
|
|
91
|
+
npx sagaz-ai install
|
|
88
92
|
```
|
|
89
93
|
|
|
90
94
|
Optional: also copy the ecosystem to a known local folder:
|
|
@@ -100,36 +104,79 @@ npx sagaz-ai status
|
|
|
100
104
|
npx sagaz-ai doctor
|
|
101
105
|
```
|
|
102
106
|
|
|
107
|
+
#### macOS Terminal
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
npx sagaz-ai install
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Optional: also copy the ecosystem to a known local folder:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
npx sagaz-ai install --ecosystem ~/Documents/Sagaz/ai-orchestration-ecosystem
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Check installation:
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
npx sagaz-ai status
|
|
123
|
+
npx sagaz-ai doctor
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Then open a new Codex Desktop thread and run:
|
|
127
|
+
|
|
128
|
+
```text
|
|
129
|
+
Sagaz: explain the available workflows.
|
|
130
|
+
```
|
|
131
|
+
|
|
103
132
|
### Manual Installation
|
|
104
133
|
|
|
105
134
|
#### 1. Clone Or Download The Repository
|
|
106
135
|
|
|
136
|
+
Windows PowerShell:
|
|
137
|
+
|
|
107
138
|
```powershell
|
|
108
139
|
git clone https://github.com/tscabral1/sagaz.git
|
|
109
140
|
```
|
|
110
141
|
|
|
142
|
+
macOS Terminal:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
git clone https://github.com/tscabral1/sagaz.git
|
|
146
|
+
```
|
|
147
|
+
|
|
111
148
|
Or download the ZIP from GitHub.
|
|
112
149
|
|
|
113
150
|
#### 2. Copy The Skill Into Codex
|
|
114
151
|
|
|
115
|
-
|
|
152
|
+
Copy the Sagaz skill folder from the repository.
|
|
153
|
+
|
|
154
|
+
Windows source folder:
|
|
116
155
|
|
|
117
156
|
```text
|
|
118
|
-
|
|
157
|
+
codex-skill\sagaz
|
|
119
158
|
```
|
|
120
159
|
|
|
121
|
-
|
|
160
|
+
macOS source folder:
|
|
122
161
|
|
|
123
162
|
```text
|
|
124
|
-
codex-skill
|
|
163
|
+
codex-skill/sagaz
|
|
125
164
|
```
|
|
126
165
|
|
|
127
|
-
into
|
|
166
|
+
into the platform-specific Codex skills folder.
|
|
167
|
+
|
|
168
|
+
Windows:
|
|
128
169
|
|
|
129
170
|
```text
|
|
130
171
|
C:\Users\YOUR_USER\.codex\skills\sagaz
|
|
131
172
|
```
|
|
132
173
|
|
|
174
|
+
macOS:
|
|
175
|
+
|
|
176
|
+
```text
|
|
177
|
+
~/.codex/skills/sagaz
|
|
178
|
+
```
|
|
179
|
+
|
|
133
180
|
#### 3. Keep The Ecosystem Available
|
|
134
181
|
|
|
135
182
|
Keep `ai-orchestration-ecosystem/` accessible in the Codex workspace or in a known local folder.
|
|
@@ -160,6 +207,8 @@ For tool-heavy work, Sagaz uses a tool registry to verify local availability and
|
|
|
160
207
|
|
|
161
208
|
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.
|
|
162
209
|
|
|
210
|
+
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.
|
|
211
|
+
|
|
163
212
|
## Web Example
|
|
164
213
|
|
|
165
214
|
```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
|
|
|
@@ -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.
|
package/bin/sagaz.js
CHANGED
|
@@ -23,9 +23,16 @@ Usage:
|
|
|
23
23
|
npx sagaz-ai doctor
|
|
24
24
|
|
|
25
25
|
Options:
|
|
26
|
-
--codex-home <path> Override Codex home. Default: ~/.codex
|
|
26
|
+
--codex-home <path> Override Codex home. Default: ~/.codex on Windows, macOS, and Linux
|
|
27
27
|
--ecosystem <path> Also copy ai-orchestration-ecosystem to a target folder
|
|
28
28
|
--force Overwrite existing installed skill
|
|
29
|
+
|
|
30
|
+
Examples:
|
|
31
|
+
Windows:
|
|
32
|
+
npx sagaz-ai install --ecosystem C:\\Users\\YOUR_USER\\Documents\\Sagaz\\ai-orchestration-ecosystem
|
|
33
|
+
|
|
34
|
+
macOS:
|
|
35
|
+
npx sagaz-ai install --ecosystem ~/Documents/Sagaz/ai-orchestration-ecosystem
|
|
29
36
|
`);
|
|
30
37
|
}
|
|
31
38
|
|
|
@@ -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.
|
|
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
|
|