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 +2 -2
- package/gaia-install.sh +16 -25
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# GAIA — Generative Agile Intelligence Architecture
|
|
2
2
|
|
|
3
|
-
[]()
|
|
4
4
|
[]()
|
|
5
5
|
[]()
|
|
6
6
|
[]()
|
|
@@ -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.
|
|
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.
|
|
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"
|
|
624
|
-
if
|
|
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
|
|
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
|
|
629
|
+
check "global.yaml exists" "[[ -f '$global' ]]"
|
|
639
630
|
if [[ -f "$global" ]]; then
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
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
|
|
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
|
|
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
|
|
647
|
+
check "_memory/ directory" "[[ -d '$TARGET/_memory' ]]"
|
|
657
648
|
for dir in "${MEMORY_DIRS[@]}"; do
|
|
658
|
-
[[ -d
|
|
649
|
+
check "Memory: $dir" "[[ -d '$TARGET/_memory/$dir' ]]"
|
|
659
650
|
done
|
|
660
651
|
|
|
661
652
|
# CLAUDE.md
|
|
662
|
-
[[ -f
|
|
653
|
+
check "CLAUDE.md exists" "[[ -f '$TARGET/CLAUDE.md' ]]"
|
|
663
654
|
|
|
664
655
|
# Slash commands
|
|
665
|
-
[[ -d
|
|
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
|
-
|
|
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
|
|
665
|
+
check "Docs: $dir" "[[ -d '$TARGET/docs/$dir' ]]"
|
|
675
666
|
done
|
|
676
667
|
|
|
677
668
|
# Version
|