sagaz-ai 0.1.4 → 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 CHANGED
@@ -127,6 +127,20 @@ Keep this repository available to Codex. Then, inside the project you want to wo
127
127
  Sagaz: use the appropriate workflow for this project. Maintain run state, handoffs, and verification evidence.
128
128
  ```
129
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
+
130
144
  ## GitHub Ops
131
145
 
132
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
 
@@ -207,7 +208,7 @@ For production-grade work, Sagaz can also apply SRE readiness, DORA metrics, sec
207
208
 
208
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.
209
210
 
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.
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.
211
212
 
212
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.
213
214
 
@@ -6,10 +6,55 @@ Marketing pages, documentation, portfolios, landing pages, and simple content si
6
6
 
7
7
  ## Default Stack
8
8
 
9
- - Astro, Eleventy, or Vite depending on content needs
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. Do not declare done without verification evidence proportional to risk.
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.4",
3
+ "version": "0.1.5",
4
4
  "description": "Sagaz AI orchestration ecosystem installer for Codex Desktop.",
5
5
  "type": "module",
6
6
  "bin": {