gaia-framework 1.1.0 → 1.1.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # GAIA — Generative Agile Intelligence Architecture
2
2
 
3
- AI agent framework for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) that orchestrates software product development through 26 specialized agents, 56 workflows, and 8 shared skills — from initial research all the way to deployment.
3
+ AI agent framework for [Claude Code](https://docs.anthropic.com/en/docs/claude-code) that orchestrates software product development through 25 specialized agents, 56 workflows, and 8 shared skills — from initial research all the way to deployment.
4
4
 
5
5
  GAIA gives you a team of AI agents with distinct personas, structured workflows that follow a proven product lifecycle, built-in quality gates, checkpoint/resume for long-running sessions, and persistent agent memory across conversations.
6
6
 
@@ -136,12 +136,12 @@ _gaia/
136
136
  │ └── *-sidecar/ # Per-agent persistent memory (9 sidecars)
137
137
  ├── core/ # Execution engine, protocols, shared tasks
138
138
  │ ├── engine/ # workflow.xml, task-runner.xml, error-recovery.xml
139
- │ ├── tasks/ # 17 standalone review/utility tasks
139
+ │ ├── tasks/ # 16 standalone review/utility tasks
140
140
  │ └── workflows/ # Brainstorming, party mode, advanced elicitation
141
141
  ├── lifecycle/ # Product lifecycle (5 phases)
142
142
  │ ├── agents/ # 11 lifecycle agents
143
143
  │ ├── workflows/ # 34 workflows across 5 phases + anytime + quick-flow
144
- │ ├── templates/ # PRD, architecture, story, sprint plan templates
144
+ │ ├── templates/ # 15 document templates (PRD, architecture, API docs, brownfield, etc.)
145
145
  │ └── teams/ # Pre-built team compositions
146
146
  ├── dev/ # Developer tooling
147
147
  │ ├── agents/ # 6 stack-specific developers + base
@@ -162,12 +162,12 @@ _gaia/
162
162
  | Component | Count |
163
163
  |-----------|-------|
164
164
  | Modules | 5 (core, lifecycle, dev, creative, testing) |
165
- | Agents | 26 with distinct personas |
165
+ | Agents | 25 with distinct personas |
166
166
  | Workflows | 56 covering the full product lifecycle |
167
- | Standalone tasks | 17 (reviews, audits, utilities) |
168
- | Shared skills | 8 with 29 loadable sections |
167
+ | Standalone tasks | 16 (reviews, audits, utilities) |
168
+ | Shared skills | 8 with 47 loadable sections |
169
169
  | Slash commands | 99 |
170
- | Knowledge fragments | 34+ (testing, stack patterns) |
170
+ | Knowledge fragments | 45 (testing, stack patterns) |
171
171
  | Agent memory sidecars | 9 |
172
172
  | Output artifact dirs | 4 |
173
173
 
@@ -332,7 +332,7 @@ Available at any point in the lifecycle.
332
332
 
333
333
  | Command | Workflow | Description |
334
334
  |---------|----------|-------------|
335
- | `/gaia-brownfield` | Brownfield Onboarding | Apply GAIA to an existing project |
335
+ | `/gaia-brownfield` | Brownfield Onboarding | 9-step knowledge base for existing projects — APIs, UX, events, dependencies, NFRs, architecture, stories |
336
336
  | `/gaia-document-project` | Document Project | Document a project for AI context |
337
337
  | `/gaia-project-context` | Generate Project Context | Generate context for AI consumption |
338
338
  | `/gaia-performance-review` | Performance Review | Analyze performance bottlenecks |
@@ -340,6 +340,58 @@ Available at any point in the lifecycle.
340
340
  | `/gaia-party` | Party Mode | Multi-agent group discussion |
341
341
  | `/gaia-advanced-elicitation` | Advanced Elicitation | Deep requirements elicitation |
342
342
 
343
+ ### Brownfield Onboarding (Deep Dive)
344
+
345
+ The brownfield onboarding workflow (`/gaia-brownfield`) is a comprehensive 9-step process that transforms an existing codebase into a fully documented developer knowledge base. It detects project capabilities during scanning and conditionally generates specialized documentation.
346
+
347
+ **Step 1 — Deep Project Discovery** scans the codebase and sets capability flags:
348
+
349
+ | Flag | Detection |
350
+ |------|-----------|
351
+ | `{has_apis}` | Route definitions, controllers, OpenAPI/Swagger specs |
352
+ | `{has_events}` | Kafka, RabbitMQ, SNS-SQS, Redis pub-sub, NATS patterns |
353
+ | `{has_external_deps}` | Outbound HTTP clients, SDKs, service URLs |
354
+ | `{has_frontend}` | React, Angular, Vue, Flutter, SwiftUI, CSS frameworks |
355
+
356
+ **Steps 2–4** are conditional — they only run when the corresponding capability is detected:
357
+
358
+ | Step | Condition | Output |
359
+ |------|-----------|--------|
360
+ | 2. API Documentation | `{has_apis}` | OpenAPI 3.x spec (discovered or generated), endpoint inventory, Mermaid flow diagram |
361
+ | 3. UX Design Assessment | `{has_frontend}` | UI patterns, Mermaid navigation sitemap, accessibility assessment, UX gaps |
362
+ | 4. Event & Messaging Catalog | `{has_events}` | Producer/consumer tables, delivery guarantees, Mermaid event flow diagrams |
363
+
364
+ **Steps 5–9** always run:
365
+
366
+ | Step | Output |
367
+ |------|--------|
368
+ | 5. Dependency Map | External services, infrastructure, library deps with CVE risk, Mermaid dependency graph |
369
+ | 6. NFR Assessment & Baselines | Code quality, security posture, performance, test coverage — all measured, not guessed |
370
+ | 7. Create PRD for Gaps | Gap-focused PRD with NFR baselines from step 6, references all upstream artifacts |
371
+ | 8. Map Architecture with Diagrams | C4 Mermaid diagrams (Level 1 + 2), 3–5 sequence diagrams, as-is/target delta |
372
+ | 9. Epics/Stories & Onboard Developer | Gap stories + developer knowledge base index linking all artifacts |
373
+
374
+ **Design rules:**
375
+ - All diagrams use **Mermaid syntax** — no ASCII art
376
+ - All API docs use **Swagger/OpenAPI format**
377
+ - Flow diagrams limited to **3–5 key flows** per document
378
+ - NFR baselines are **measured from the codebase**, not estimated
379
+
380
+ **Output artifacts** (up to 10, depending on detected capabilities):
381
+
382
+ | Artifact | Always | Conditional |
383
+ |----------|--------|-------------|
384
+ | `project-documentation.md` | Yes | — |
385
+ | `api-documentation.md` | — | `{has_apis}` |
386
+ | `ux-design.md` | — | `{has_frontend}` |
387
+ | `event-catalog.md` | — | `{has_events}` |
388
+ | `dependency-map.md` | Yes | — |
389
+ | `nfr-assessment.md` | Yes | — |
390
+ | `prd.md` | Yes | — |
391
+ | `architecture.md` | Yes | — |
392
+ | `epics-and-stories.md` | Yes | — |
393
+ | `brownfield-onboarding.md` | Yes | — |
394
+
343
395
  ---
344
396
 
345
397
  ## Review & Utility Tasks
@@ -440,6 +492,30 @@ docs/
440
492
 
441
493
  ---
442
494
 
495
+ ## Templates
496
+
497
+ Document templates in `_gaia/lifecycle/templates/` provide standardized structures for workflow outputs. Each template has YAML frontmatter (`template`, `version`, `used_by`) and placeholder sections that agents fill during execution.
498
+
499
+ | Template | Used By | Description |
500
+ |----------|---------|-------------|
501
+ | `prd-template.md` | create-prd | Product requirements document |
502
+ | `architecture-template.md` | create-architecture | Greenfield architecture document |
503
+ | `brownfield-architecture-template.md` | brownfield-onboarding | As-is/target architecture with Mermaid C4 diagrams |
504
+ | `story-template.md` | create-epics-stories | User story with acceptance criteria |
505
+ | `sprint-plan-template.md` | sprint-planning | Sprint plan with capacity and goals |
506
+ | `product-brief-template.md` | create-product-brief | Product brief for stakeholder alignment |
507
+ | `review-template.md` | code-review | Code review report |
508
+ | `test-plan-template.md` | test-design | Test plan with strategy and coverage |
509
+ | `deployment-template.md` | release-plan | Deployment plan and checklist |
510
+ | `api-documentation-template.md` | brownfield-onboarding | OpenAPI/Swagger API documentation |
511
+ | `event-catalog-template.md` | brownfield-onboarding | Event producer/consumer catalog |
512
+ | `dependency-map-template.md` | brownfield-onboarding | Service, infrastructure, and library dependencies |
513
+ | `nfr-assessment-template.md` | brownfield-onboarding | Non-functional requirements baselines |
514
+ | `ux-design-assessment-template.md` | brownfield-onboarding | UI patterns and accessibility assessment |
515
+ | `brownfield-onboarding-template.md` | brownfield-onboarding | Developer knowledge base index |
516
+
517
+ ---
518
+
443
519
  ## Checkpoint & Resume
444
520
 
445
521
  Long-running workflows save checkpoints to `_gaia/_memory/checkpoints/`. If your session is interrupted or context is lost, run `/gaia-resume` to pick up from the last completed step.
@@ -477,7 +553,7 @@ The single source of truth for project settings at `_gaia/_config/global.yaml`:
477
553
 
478
554
  ```yaml
479
555
  framework_name: "GAIA"
480
- framework_version: "1.1.0"
556
+ framework_version: "1.1.2"
481
557
 
482
558
  user_name: "your-name"
483
559
  project_name: "your-project"
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.1.0"
9
+ readonly VERSION="1.1.2"
10
10
  readonly GITHUB_REPO="https://github.com/J-louage/Gaia-framework.git"
11
11
  readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
12
12
 
@@ -414,7 +414,7 @@ cmd_update() {
414
414
  )
415
415
 
416
416
  step "Updating framework files..."
417
- local updated=0 skipped=0
417
+ local updated=0 skipped=0 changed=0
418
418
 
419
419
  for entry in "${update_targets[@]}"; do
420
420
  local src_path="$source/_gaia/$entry"
@@ -425,6 +425,10 @@ cmd_update() {
425
425
  continue
426
426
  fi
427
427
 
428
+ # Show progress for each update target
429
+ local entry_label="${entry}"
430
+ [[ "$OPT_VERBOSE" != true ]] && detail "Processing: $entry_label"
431
+
428
432
  if [[ -f "$src_path" ]]; then
429
433
  # Single file
430
434
  copy_with_backup "$src_path" "$dst_path" "$backup_dir"
@@ -439,6 +443,8 @@ cmd_update() {
439
443
  fi
440
444
  done
441
445
 
446
+ detail "Processed $updated file(s) across ${#update_targets[@]} targets"
447
+
442
448
  # Update slash commands (add new ones, update existing with backup)
443
449
  step "Updating slash commands..."
444
450
  if [[ -d "$source/.claude/commands" ]]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaia-framework",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "GAIA — Generative Agile Intelligence Architecture installer",
5
5
  "bin": {
6
6
  "gaia-framework": "./bin/gaia-framework.js"