gaia-framework 1.48.3 → 1.48.4

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
- [![Framework](https://img.shields.io/badge/framework-v1.48.3-blue)]()
3
+ [![Framework](https://img.shields.io/badge/framework-v1.48.4-blue)]()
4
4
  [![License](https://img.shields.io/badge/license-AGPL--3.0-green)]()
5
5
  [![Agents](https://img.shields.io/badge/agents-26-purple)]()
6
6
  [![Workflows](https://img.shields.io/badge/workflows-73-orange)]()
@@ -460,7 +460,7 @@ The single source of truth is `_gaia/_config/global.yaml`:
460
460
 
461
461
  ```yaml
462
462
  framework_name: "GAIA"
463
- framework_version: "1.48.3"
463
+ framework_version: "1.48.4"
464
464
  user_name: "your-name"
465
465
  project_name: "your-project"
466
466
  ```
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.48.3"
9
+ readonly VERSION="1.48.4"
10
10
  readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
11
11
  readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
12
12
 
@@ -600,12 +600,6 @@ cmd_update() {
600
600
  # ─── cmd_validate ───────────────────────────────────────────────────────────
601
601
 
602
602
  cmd_validate() {
603
- # Guard: reject empty, unset, or whitespace-only TARGET
604
- if [[ -z "${TARGET:-}" || "${TARGET}" =~ ^[[:space:]]+$ ]]; then
605
- error "TARGET path is empty or whitespace-only"
606
- exit 1
607
- fi
608
-
609
603
  if [[ ! -d "$TARGET/_gaia" ]]; then
610
604
  error "No GAIA installation found at $TARGET"
611
605
  exit 1
@@ -616,12 +610,9 @@ cmd_validate() {
616
610
 
617
611
  local pass=0 fail=0
618
612
 
619
- # check: accepts a label and the exit status ($?) of a preceding test command.
620
- # The test command runs inline before calling check, passing $? as the result.
621
- # This avoids eval entirely — conditions execute directly via [[ ]] or grep.
622
613
  check() {
623
- local label="$1" result="$2"
624
- if [[ "$result" -eq 0 ]]; then
614
+ local label="$1" condition="$2"
615
+ if eval "$condition"; then
625
616
  printf " ${GREEN}✔${RESET} %s\n" "$label"
626
617
  pass=$((pass + 1))
627
618
  else
@@ -631,47 +622,47 @@ cmd_validate() {
631
622
  }
632
623
 
633
624
  # Manifest
634
- [[ -f "$TARGET/$MANIFEST_REL" ]]; check "manifest.yaml exists" $?
625
+ check "manifest.yaml exists" "[[ -f '$TARGET/$MANIFEST_REL' ]]"
635
626
 
636
627
  # Global config fields
637
628
  local global="$TARGET/_gaia/_config/global.yaml"
638
- [[ -f "$global" ]]; check "global.yaml exists" $?
629
+ check "global.yaml exists" "[[ -f '$global' ]]"
639
630
  if [[ -f "$global" ]]; then
640
- local grc=0; grep -q '^project_name:' "$global" || grc=$?; check "global.yaml has project_name" $grc
641
- grc=0; grep -q '^user_name:' "$global" || grc=$?; check "global.yaml has user_name" $grc
642
- grc=0; grep -q '^framework_version:' "$global" || grc=$?; check "global.yaml has framework_version" $grc
631
+ check "global.yaml has project_name" "grep -q '^project_name:' '$global'"
632
+ check "global.yaml has user_name" "grep -q '^user_name:' '$global'"
633
+ check "global.yaml has framework_version" "grep -q '^framework_version:' '$global'"
643
634
  fi
644
635
 
645
636
  # Module directories
646
637
  for mod in core lifecycle dev creative testing; do
647
- [[ -d "$TARGET/_gaia/$mod" ]]; check "Module: $mod" $?
638
+ check "Module: $mod" "[[ -d '$TARGET/_gaia/$mod' ]]"
648
639
  done
649
640
 
650
641
  # .resolved directories
651
642
  for mod in core lifecycle creative testing; do
652
- [[ -d "$TARGET/_gaia/$mod/.resolved" ]]; check ".resolved: $mod" $?
643
+ check ".resolved: $mod" "[[ -d '$TARGET/_gaia/$mod/.resolved' ]]"
653
644
  done
654
645
 
655
646
  # Memory directory at project root (ADR-013)
656
- [[ -d "$TARGET/_memory" ]]; check "_memory/ directory" $?
647
+ check "_memory/ directory" "[[ -d '$TARGET/_memory' ]]"
657
648
  for dir in "${MEMORY_DIRS[@]}"; do
658
- [[ -d "$TARGET/_memory/$dir" ]]; check "Memory: $dir" $?
649
+ check "Memory: $dir" "[[ -d '$TARGET/_memory/$dir' ]]"
659
650
  done
660
651
 
661
652
  # CLAUDE.md
662
- [[ -f "$TARGET/CLAUDE.md" ]]; check "CLAUDE.md exists" $?
653
+ check "CLAUDE.md exists" "[[ -f '$TARGET/CLAUDE.md' ]]"
663
654
 
664
655
  # Slash commands
665
- [[ -d "$TARGET/.claude/commands" ]]; check "Slash commands directory" $?
656
+ check "Slash commands directory" "[[ -d '$TARGET/.claude/commands' ]]"
666
657
  if [[ -d "$TARGET/.claude/commands" ]]; then
667
658
  local cmd_count
668
659
  cmd_count="$(find "$TARGET/.claude/commands" -name 'gaia*.md' -type f 2>/dev/null | wc -l | tr -d ' ')"
669
- [[ "$cmd_count" -gt 0 ]]; check "Slash commands present (found: $cmd_count)" $?
660
+ check "Slash commands present (found: $cmd_count)" "[[ $cmd_count -gt 0 ]]"
670
661
  fi
671
662
 
672
663
  # Docs directories
673
664
  for dir in planning-artifacts implementation-artifacts test-artifacts creative-artifacts; do
674
- [[ -d "$TARGET/docs/$dir" ]]; check "Docs: $dir" $?
665
+ check "Docs: $dir" "[[ -d '$TARGET/docs/$dir' ]]"
675
666
  done
676
667
 
677
668
  # Version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaia-framework",
3
- "version": "1.48.3",
3
+ "version": "1.48.4",
4
4
  "description": "GAIA — Generative Agile Intelligence Architecture installer",
5
5
  "bin": {
6
6
  "gaia-framework": "./bin/gaia-framework.js"