gaia-framework 1.1.21 → 1.3.0
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/README.md +73 -27
- package/gaia-install.sh +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -316,6 +316,16 @@ Fast-track workflows for small changes that skip the full lifecycle ceremony.
|
|
|
316
316
|
|
|
317
317
|
### Testing Workflows
|
|
318
318
|
|
|
319
|
+
Testing workflows are **integrated into the main lifecycle** — they are not optional standalone tools. Key integration points:
|
|
320
|
+
|
|
321
|
+
| Lifecycle Point | Required Testing Workflow | Gate Type |
|
|
322
|
+
|---|---|---|
|
|
323
|
+
| After `/gaia-create-arch` | `/gaia-test-design` | HALT at `/gaia-create-epics` |
|
|
324
|
+
| Before `/gaia-dev-story` (high-risk) | `/gaia-atdd` | HALT (conditional on risk_level) |
|
|
325
|
+
| Before `/gaia-readiness-check` | `/gaia-trace` + `/gaia-ci-setup` | HALT |
|
|
326
|
+
| During `/gaia-brownfield` | `/gaia-nfr` + `/gaia-perf-testing` | REQUIRED steps |
|
|
327
|
+
| Before `/gaia-deploy-checklist` | traceability + CI + readiness PASS | HALT |
|
|
328
|
+
|
|
319
329
|
| Command | Workflow | Agent | Output |
|
|
320
330
|
|---------|----------|-------|--------|
|
|
321
331
|
| `/gaia-test-design` | Test Design | Sable | `docs/test-artifacts/` |
|
|
@@ -366,15 +376,16 @@ The brownfield onboarding workflow (`/gaia-brownfield`) is a comprehensive 9-ste
|
|
|
366
376
|
| 3. UX Design Assessment | `{has_frontend}` | UI patterns, Mermaid navigation sitemap, accessibility assessment, UX gaps |
|
|
367
377
|
| 4. Event & Messaging Catalog | `{has_events}` | Producer/consumer tables, delivery guarantees, Mermaid event flow diagrams |
|
|
368
378
|
|
|
369
|
-
**Steps 5–
|
|
379
|
+
**Steps 5–10** always run:
|
|
370
380
|
|
|
371
381
|
| Step | Output |
|
|
372
382
|
|------|--------|
|
|
373
383
|
| 5. Dependency Map | External services, infrastructure, library deps with CVE risk, Mermaid dependency graph |
|
|
374
|
-
| 6. NFR Assessment & Baselines | Code quality, security posture, performance, test coverage —
|
|
375
|
-
| 7.
|
|
376
|
-
| 8.
|
|
377
|
-
| 9.
|
|
384
|
+
| 6. NFR Assessment & Baselines | Code quality, security posture, performance, test coverage — output to `test-artifacts/nfr-assessment.md` (canonical) |
|
|
385
|
+
| 7. Performance Test Plan | Performance budgets, load test scenarios, Core Web Vitals targets — output to `test-artifacts/` (**REQUIRED**) |
|
|
386
|
+
| 8. Create PRD for Gaps | Gap-focused PRD with NFR baselines from step 6, references all upstream artifacts |
|
|
387
|
+
| 9. Map Architecture with Diagrams | C4 Mermaid diagrams (Level 1 + 2), 3–5 sequence diagrams, as-is/target delta |
|
|
388
|
+
| 10. Epics/Stories & Onboard Developer | Gap stories + developer knowledge base index linking all artifacts |
|
|
378
389
|
|
|
379
390
|
**Design rules:**
|
|
380
391
|
- All diagrams use **Mermaid syntax** — no ASCII art
|
|
@@ -382,20 +393,21 @@ The brownfield onboarding workflow (`/gaia-brownfield`) is a comprehensive 9-ste
|
|
|
382
393
|
- Flow diagrams limited to **3–5 key flows** per document
|
|
383
394
|
- NFR baselines are **measured from the codebase**, not estimated
|
|
384
395
|
|
|
385
|
-
**Output artifacts** (up to
|
|
386
|
-
|
|
387
|
-
| Artifact | Always | Conditional |
|
|
388
|
-
|
|
389
|
-
| `project-documentation.md` | Yes | — |
|
|
390
|
-
| `api-documentation.md` | — | `{has_apis}` |
|
|
391
|
-
| `ux-design.md` | — | `{has_frontend}` |
|
|
392
|
-
| `event-catalog.md` | — | `{has_events}` |
|
|
393
|
-
| `dependency-map.md` | Yes | — |
|
|
394
|
-
| `nfr-assessment.md` | Yes | — |
|
|
395
|
-
| `
|
|
396
|
-
| `
|
|
397
|
-
| `
|
|
398
|
-
| `
|
|
396
|
+
**Output artifacts** (up to 11, depending on detected capabilities):
|
|
397
|
+
|
|
398
|
+
| Artifact | Location | Always | Conditional |
|
|
399
|
+
|----------|----------|--------|-------------|
|
|
400
|
+
| `project-documentation.md` | `planning-artifacts/` | Yes | — |
|
|
401
|
+
| `api-documentation.md` | `planning-artifacts/` | — | `{has_apis}` |
|
|
402
|
+
| `ux-design.md` | `planning-artifacts/` | — | `{has_frontend}` |
|
|
403
|
+
| `event-catalog.md` | `planning-artifacts/` | — | `{has_events}` |
|
|
404
|
+
| `dependency-map.md` | `planning-artifacts/` | Yes | — |
|
|
405
|
+
| `nfr-assessment.md` | `test-artifacts/` | Yes | — |
|
|
406
|
+
| `performance-test-plan-{date}.md` | `test-artifacts/` | Yes | — |
|
|
407
|
+
| `prd.md` | `planning-artifacts/` | Yes | — |
|
|
408
|
+
| `architecture.md` | `planning-artifacts/` | Yes | — |
|
|
409
|
+
| `epics-and-stories.md` | `planning-artifacts/` | Yes | — |
|
|
410
|
+
| `brownfield-onboarding.md` | `planning-artifacts/` | Yes | — |
|
|
399
411
|
|
|
400
412
|
---
|
|
401
413
|
|
|
@@ -415,6 +427,36 @@ Standalone tasks that can be run anytime without a full workflow. These are sing
|
|
|
415
427
|
| `/gaia-review-a11y` | Accessibility Review | WCAG 2.1 compliance review |
|
|
416
428
|
| `/gaia-review-perf` | Performance Review | Code-level performance review |
|
|
417
429
|
|
|
430
|
+
### Adversarial Review (`/gaia-adversarial`)
|
|
431
|
+
|
|
432
|
+
The adversarial review is a cynical, critical examination designed to find flaws, gaps, and weaknesses in any document or design. It deliberately assumes nothing works as claimed and attacks from **10 different perspectives**:
|
|
433
|
+
|
|
434
|
+
| Perspective | What it challenges |
|
|
435
|
+
|---|---|
|
|
436
|
+
| **Feasibility** | Can this actually be built as described? |
|
|
437
|
+
| **Completeness** | What's missing that should be there? |
|
|
438
|
+
| **Contradictions** | Do any sections contradict each other? |
|
|
439
|
+
| **Assumptions** | What unstated assumptions could be wrong? |
|
|
440
|
+
| **Scale** | Will this work at 10x/100x expected load? |
|
|
441
|
+
| **Failure modes** | What happens when things go wrong? |
|
|
442
|
+
| **Dependencies** | What external factors could break this? |
|
|
443
|
+
| **Security** | What attack surfaces are exposed? |
|
|
444
|
+
| **User impact** | Where will users get confused or frustrated? |
|
|
445
|
+
| **Business risk** | What could make this commercially unviable? |
|
|
446
|
+
|
|
447
|
+
**Output:** A ranked findings report with severity (critical/high/medium/low), confidence (certain/likely/possible), a threat summary of the top 3 issues, and an overall risk assessment. The review only identifies problems — it does not suggest fixes.
|
|
448
|
+
|
|
449
|
+
**When to use it:** The adversarial review is integrated as an optional prompt at 4 key lifecycle points:
|
|
450
|
+
|
|
451
|
+
| Trigger Point | When Prompted | Recommended For |
|
|
452
|
+
|---|---|---|
|
|
453
|
+
| After `/gaia-create-prd` | End of PRD creation (step 11) | Complex or high-stakes products |
|
|
454
|
+
| After `/gaia-create-arch` | End of architecture design (step 9) | Distributed systems, high-scale projects |
|
|
455
|
+
| After `/gaia-create-epics` | End of epic/story creation (step 8) | Before sprint planning |
|
|
456
|
+
| After `/gaia-readiness-check` | End of readiness check (step 9) | Strongly recommended — last chance before build |
|
|
457
|
+
|
|
458
|
+
At each point you can accept or skip. It can also be run independently anytime with `/gaia-adversarial` on any artifact.
|
|
459
|
+
|
|
418
460
|
### Editorial & Documentation
|
|
419
461
|
|
|
420
462
|
| Command | Task | Description |
|
|
@@ -559,7 +601,7 @@ The single source of truth for project settings at `_gaia/_config/global.yaml`:
|
|
|
559
601
|
|
|
560
602
|
```yaml
|
|
561
603
|
framework_name: "GAIA"
|
|
562
|
-
framework_version: "1.
|
|
604
|
+
framework_version: "1.3.0"
|
|
563
605
|
|
|
564
606
|
user_name: "your-name"
|
|
565
607
|
project_name: "your-project"
|
|
@@ -604,22 +646,26 @@ A full product lifecycle from idea to deployment:
|
|
|
604
646
|
/gaia-brainstorm → brainstorm the idea
|
|
605
647
|
/gaia-product-brief → create a product brief
|
|
606
648
|
/gaia-market-research → validate market fit
|
|
607
|
-
/gaia-create-prd → write the PRD
|
|
649
|
+
/gaia-create-prd → write the PRD (optional: adversarial review)
|
|
608
650
|
/gaia-create-ux → design the UX
|
|
609
|
-
/gaia-create-arch → design the architecture
|
|
610
|
-
/gaia-
|
|
611
|
-
/gaia-
|
|
612
|
-
/gaia-
|
|
651
|
+
/gaia-create-arch → design the architecture (optional: adversarial review)
|
|
652
|
+
/gaia-test-design → create test plan (REQUIRED before epics)
|
|
653
|
+
/gaia-create-epics → break into epics and stories (optional: adversarial review)
|
|
654
|
+
/gaia-trace → generate traceability matrix (REQUIRED before readiness)
|
|
655
|
+
/gaia-ci-setup → scaffold CI pipeline (REQUIRED before readiness)
|
|
656
|
+
/gaia-readiness-check → verify everything is ready (optional: adversarial review)
|
|
657
|
+
/gaia-sprint-plan → plan the first sprint (risk-aware)
|
|
613
658
|
/gaia-create-story → create detailed stories
|
|
614
659
|
/gaia-validate-story → validate story completeness
|
|
615
660
|
/gaia-fix-story → fix issues from validation
|
|
616
|
-
/gaia-
|
|
661
|
+
/gaia-atdd → write acceptance tests (REQUIRED for high-risk stories)
|
|
662
|
+
/gaia-dev-story → implement stories (gates on ATDD for high-risk)
|
|
617
663
|
/gaia-code-review → review the code
|
|
618
664
|
/gaia-qa-tests → generate tests
|
|
619
665
|
/gaia-security-review → security audit
|
|
620
666
|
/gaia-triage-findings → triage dev findings into backlog
|
|
621
667
|
/gaia-release-plan → plan the release
|
|
622
|
-
/gaia-deploy-checklist → pre-deploy verification
|
|
668
|
+
/gaia-deploy-checklist → pre-deploy verification (enforced gates)
|
|
623
669
|
/gaia-post-deploy → post-deploy health check
|
|
624
670
|
/gaia-retro → sprint retrospective
|
|
625
671
|
```
|
package/gaia-install.sh
CHANGED
|
@@ -6,7 +6,7 @@ set -euo pipefail
|
|
|
6
6
|
# Installs, updates, validates, and reports on GAIA installations.
|
|
7
7
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
9
|
-
readonly VERSION="1.
|
|
9
|
+
readonly VERSION="1.3.0"
|
|
10
10
|
readonly GITHUB_REPO="https://github.com/J-louage/Gaia-framework.git"
|
|
11
11
|
readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
|
|
12
12
|
|