sagaz-ai 0.1.3 → 0.1.5
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 +31 -1
- package/README.md +4 -1
- package/ai-orchestration-ecosystem/governance/package-release-policy.md +4 -1
- package/ai-orchestration-ecosystem/stack-presets/static-site.md +56 -1
- package/ai-orchestration-ecosystem/workflows/web-production-release.md +2 -1
- package/codex-skill/sagaz/SKILL.md +3 -1
- package/package.json +2 -2
package/INSTALL.md
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
## Requirements
|
|
4
4
|
|
|
5
5
|
- Codex Desktop.
|
|
6
|
-
- Node.js
|
|
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
|
|
@@ -111,6 +127,20 @@ Keep this repository available to Codex. Then, inside the project you want to wo
|
|
|
111
127
|
Sagaz: use the appropriate workflow for this project. Maintain run state, handoffs, and verification evidence.
|
|
112
128
|
```
|
|
113
129
|
|
|
130
|
+
For a hand-built static site, Sagaz should use clean URLs by default:
|
|
131
|
+
|
|
132
|
+
```text
|
|
133
|
+
/blog/post-slug/
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
with files laid out as:
|
|
137
|
+
|
|
138
|
+
```text
|
|
139
|
+
blog/post-slug/index.html
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
When GitHub Pages is the target, Sagaz should also prepare `CNAME`, `.nojekyll`, `404.html`, `robots.txt`, `sitemap.xml`, canonical URLs, social metadata, and Schema.org JSON-LD before recommending publication.
|
|
143
|
+
|
|
114
144
|
## GitHub Ops
|
|
115
145
|
|
|
116
146
|
### Windows PowerShell
|
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ Sagaz also guides the user through the process. At the end of each phase, it exp
|
|
|
40
40
|
- **Durable checkpoints:** long projects can resume across threads and refactors without losing context.
|
|
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
|
+
- **Static site discipline:** hand-built static sites use clean directory URLs by default, GitHub Pages-ready files, and a practical SEO baseline.
|
|
43
44
|
- **Sagaz evaluations:** scenario-based checks help prevent regressions in the orchestration system itself.
|
|
44
45
|
- **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.
|
|
45
46
|
|
|
@@ -85,6 +86,8 @@ Sagaz supports Windows and macOS through Codex Desktop. The npm installer instal
|
|
|
85
86
|
|
|
86
87
|
If your Codex Desktop installation uses a custom home folder, pass `--codex-home <path>`.
|
|
87
88
|
|
|
89
|
+
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.
|
|
90
|
+
|
|
88
91
|
#### Windows PowerShell
|
|
89
92
|
|
|
90
93
|
```powershell
|
|
@@ -205,7 +208,7 @@ For production-grade work, Sagaz can also apply SRE readiness, DORA metrics, sec
|
|
|
205
208
|
|
|
206
209
|
For tool-heavy work, Sagaz uses a tool registry to verify local availability and recommend the right connector or platform before asking permission to install, authenticate, deploy, publish, or modify external resources.
|
|
207
210
|
|
|
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.
|
|
211
|
+
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. For hand-built static sites, Sagaz should default to clean URLs through directory `index.html` files and verify SEO essentials including canonical URLs, Open Graph/Twitter metadata, Schema.org JSON-LD, sitemap, robots, optimized images, and GitHub Pages files when applicable.
|
|
209
212
|
|
|
210
213
|
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
214
|
|
|
@@ -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
|
|
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
|
|
|
@@ -6,10 +6,55 @@ Marketing pages, documentation, portfolios, landing pages, and simple content si
|
|
|
6
6
|
|
|
7
7
|
## Default Stack
|
|
8
8
|
|
|
9
|
-
-
|
|
9
|
+
- Hand-built HTML/CSS/JS when the user explicitly wants no static site generator or CMS
|
|
10
|
+
- Astro, Eleventy, or Vite depending on content needs when a generator is acceptable
|
|
10
11
|
- TypeScript when the project has interactive code
|
|
11
12
|
- Netlify, Vercel, Cloudflare Pages, or GitHub Pages
|
|
12
13
|
|
|
14
|
+
## URL Architecture
|
|
15
|
+
|
|
16
|
+
- Use clean URLs by default.
|
|
17
|
+
- For hand-built static sites, create each public route as a directory containing `index.html`.
|
|
18
|
+
- Examples:
|
|
19
|
+
- `/blog/` maps to `blog/index.html`
|
|
20
|
+
- `/blog/desafios-de-alfabetizacao/` maps to `blog/desafios-de-alfabetizacao/index.html`
|
|
21
|
+
- Do not expose `.html` in navigation, canonical URLs, sitemap URLs, Open Graph URLs, or internal links.
|
|
22
|
+
- Prefer trailing slashes for directory routes because GitHub Pages, Netlify, Cloudflare Pages, and most static hosts serve directory indexes naturally.
|
|
23
|
+
- If converting an existing static site, update all internal links, canonical tags, sitemap entries, and structured data URLs in the same change.
|
|
24
|
+
|
|
25
|
+
## SEO Baseline
|
|
26
|
+
|
|
27
|
+
Apply this baseline before delivery unless the user explicitly asks for a draft only:
|
|
28
|
+
|
|
29
|
+
- Unique `<title>` and meta description for every indexable page.
|
|
30
|
+
- `rel="canonical"` on every indexable page.
|
|
31
|
+
- Open Graph metadata: `og:title`, `og:description`, `og:type`, `og:url`, `og:image`, `og:site_name`, and locale when relevant.
|
|
32
|
+
- Twitter Card metadata for share previews.
|
|
33
|
+
- Schema.org JSON-LD:
|
|
34
|
+
- `WebSite` for the root site.
|
|
35
|
+
- `Person`, `Organization`, `LocalBusiness`, or `ProfessionalService` when the site represents a person or business.
|
|
36
|
+
- `Blog` for the blog listing.
|
|
37
|
+
- `BlogPosting` or `Article` for posts.
|
|
38
|
+
- `BreadcrumbList` for blog posts and nested pages.
|
|
39
|
+
- Root `sitemap.xml` containing clean canonical URLs, `lastmod`, and sensible priority/change frequency when known.
|
|
40
|
+
- Root `robots.txt` that allows intended content and references the sitemap.
|
|
41
|
+
- Descriptive `alt` text for meaningful images; empty `alt` only for decorative images.
|
|
42
|
+
- Optimized image formats such as WebP/AVIF plus reasonable dimensions.
|
|
43
|
+
- One clear `h1` per page and semantic heading hierarchy.
|
|
44
|
+
- Accessible navigation, focusable controls, and no hidden text used only for keyword stuffing.
|
|
45
|
+
|
|
46
|
+
## GitHub Pages Defaults
|
|
47
|
+
|
|
48
|
+
When the user wants GitHub Pages:
|
|
49
|
+
|
|
50
|
+
- Add `.nojekyll` for plain static delivery.
|
|
51
|
+
- Add `CNAME` with the custom domain when known.
|
|
52
|
+
- Add `404.html` for GitHub Pages fallback.
|
|
53
|
+
- Use absolute root-relative asset links such as `/assets/styles.css` for nested clean routes.
|
|
54
|
+
- Keep the publishing source compatible with branch deploy from repository root unless the user chooses a custom Actions workflow.
|
|
55
|
+
- Tell the user to configure the custom domain in repository `Settings > Pages` before or alongside DNS changes to reduce takeover risk.
|
|
56
|
+
- For apex domains, use GitHub Pages `A` records or provider-supported `ALIAS`/`ANAME`; for `www`, use `CNAME` to `<user>.github.io` or `<org>.github.io`.
|
|
57
|
+
|
|
13
58
|
## Strengths
|
|
14
59
|
|
|
15
60
|
- Low cost.
|
|
@@ -21,3 +66,13 @@ Marketing pages, documentation, portfolios, landing pages, and simple content si
|
|
|
21
66
|
|
|
22
67
|
- Dynamic features require external services or backend functions.
|
|
23
68
|
- Content workflows must be planned if nontechnical users edit content.
|
|
69
|
+
- No CMS means blog updates require direct file edits, link updates, sitemap updates, and verification.
|
|
70
|
+
|
|
71
|
+
## Verification Checklist
|
|
72
|
+
|
|
73
|
+
- Local route test for `/`, `/blog/`, and representative nested routes.
|
|
74
|
+
- Check that no public internal links contain `.html`.
|
|
75
|
+
- Check broken images and asset loading from nested pages.
|
|
76
|
+
- Parse JSON-LD to verify valid JSON.
|
|
77
|
+
- Confirm sitemap URLs match canonical URLs.
|
|
78
|
+
- Confirm `robots.txt`, `sitemap.xml`, `CNAME`, `.nojekyll`, and `404.html` are present when GitHub Pages is the target.
|
|
@@ -11,7 +11,7 @@ Use this named workflow when the task matches Web Production Release delivery.
|
|
|
11
11
|
3. Technology: stack recommendation, architecture, deployment tradeoffs.
|
|
12
12
|
4. Design: UX, UI, design system, accessibility, visual quality.
|
|
13
13
|
5. Implementation: build in small verifiable increments.
|
|
14
|
-
6. Verification: tests, QA, visual validation, security review.
|
|
14
|
+
6. Verification: tests, QA, visual validation, SEO checks, accessibility checks, and security review.
|
|
15
15
|
7. Production: readiness, environment variables, deployment, rollback.
|
|
16
16
|
8. GitHub Ops: commit, push, PR, checks, release when approved.
|
|
17
17
|
9. Delivery: final handoff with evidence and residual risks.
|
|
@@ -25,6 +25,7 @@ Use this named workflow when the task matches Web Production Release delivery.
|
|
|
25
25
|
- API contracts.
|
|
26
26
|
- Performance budgets.
|
|
27
27
|
- Accessibility compliance.
|
|
28
|
+
- SEO and share metadata for public websites.
|
|
28
29
|
- Database migrations.
|
|
29
30
|
- Release strategy.
|
|
30
31
|
- DORA metrics.
|
|
@@ -33,7 +33,9 @@ If navigation is needed, read:
|
|
|
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
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.
|
|
36
|
+
15. For hand-built static sites, apply clean URL architecture by default: public routes should be directories with `index.html`, so URLs render as `/page/` and `/blog/post-slug/` rather than exposing `.html`.
|
|
37
|
+
16. For static websites, maximize practical SEO before delivery: unique titles/descriptions, canonical URLs, Open Graph/Twitter metadata, Schema.org JSON-LD, root sitemap, robots sitemap discovery, performance-friendly images, accessibility basics, and deployment-specific files such as `CNAME`, `.nojekyll`, and `404.html` for GitHub Pages when applicable.
|
|
38
|
+
17. Do not declare done without verification evidence proportional to risk.
|
|
37
39
|
|
|
38
40
|
## Quick Selection
|
|
39
41
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sagaz-ai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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": ">=
|
|
32
|
+
"node": ">=22.14"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|