gaia-framework 1.58.1 → 1.59.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/CLAUDE.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # GAIA Framework v1.58.1
2
+ # GAIA Framework v1.59.0
3
3
 
4
4
  This project uses the **GAIA** (Generative Agile Intelligence Architecture) framework — an AI agent framework for Claude Code that orchestrates software product development through 26 specialized agents, 65 workflows, and 8 shared skills.
5
5
 
package/README.md CHANGED
@@ -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.58.1"
463
+ framework_version: "1.59.0"
464
464
  user_name: "your-name"
465
465
  project_name: "your-project"
466
466
  ```
@@ -3,7 +3,7 @@
3
3
  # After modifying this file, run /gaia-build-configs to regenerate resolved configs.
4
4
 
5
5
  framework_name: "GAIA"
6
- framework_version: "1.58.1"
6
+ framework_version: "1.59.0"
7
7
 
8
8
  # User settings
9
9
  user_name: "jlouage"
@@ -3,11 +3,11 @@
3
3
 
4
4
  modules:
5
5
  - name: core
6
- version: "1.12.1"
6
+ version: "1.13.0"
7
7
  path: "_gaia/core"
8
8
  type: built-in
9
9
  - name: lifecycle
10
- version: "1.37.1"
10
+ version: "1.37.0"
11
11
  path: "_gaia/lifecycle"
12
12
  type: built-in
13
13
  - name: dev
@@ -19,6 +19,6 @@ modules:
19
19
  path: "_gaia/creative"
20
20
  type: built-in
21
21
  - name: testing
22
- version: "1.8.1"
22
+ version: "1.8.0"
23
23
  path: "_gaia/testing"
24
24
  type: built-in
@@ -2,7 +2,7 @@
2
2
  inherits: "{project-root}/_gaia/_config/global.yaml"
3
3
 
4
4
  module_name: "core"
5
- module_version: "1.12.1"
5
+ module_version: "1.13.0"
6
6
 
7
7
  engine_path: "{project-root}/_gaia/core/engine/workflow.xml"
8
8
  tasks_path: "{project-root}/_gaia/core/tasks"
@@ -68,8 +68,17 @@ execution modes (normal/yolo/planning), checkpoints, and quality gates.
68
68
  <action if="agent is 'dev-*' (wildcard)">Check if workflow.yaml declares agent_auto_detect: true. If true, execute the agent_auto_detect_strategy from workflow.yaml to determine the stack. If auto-detection succeeds, resolve to {project-root}/_gaia/dev/agents/{detected_stack}-dev.md and inform user: "Auto-detected developer: {agent_name} based on {detection_source}." If auto-detection fails or agent_auto_detect is false/absent: ask user which stack developer to use (typescript, angular, flutter, java, python, mobile, go), then resolve to {project-root}/_gaia/dev/agents/{stack}-dev.md</action>
69
69
  <action if="agent file resolved">Read the agent persona file — adopt its persona, name, communication style, rules, and domain knowledge for the duration of this workflow</action>
70
70
  <action if="agent file resolved">Do NOT execute the agent's activation protocol, greeting, or menu — the workflow engine controls step execution</action>
71
- <action if="agent file resolved">Do NOT load the agent's memory sidecar — the workflow engine manages its own checkpoints</action>
72
71
  <action if="agent file resolved">Check for {project-root}/_gaia/_config/agents/{agent-id}.customize.yaml. If found, load and merge overrides (persona_overrides, menu_additions, menu_removals, skill_additions, rule_additions, skill_overrides, skill_section_overrides). For dev agents, also check all-dev.customize.yaml and merge (agent-specific takes precedence over all-dev).</action>
72
+
73
+ <!-- Memory Load Protocol (E9-S7) — Load agent memory sidecar files after persona, before instructions -->
74
+ <action if="agent file resolved">Read {project-root}/_memory/config.yaml to resolve agent tier and sidecar path. If the file does not exist, log "Memory config not found — skipping memory loading." and skip all remaining memory load actions in this step.</action>
75
+ <action if="agent file resolved">Resolve the agent's tier classification: look up the resolved agent ID in _memory/config.yaml tier lists — check tiers.tier_1.agents, tiers.tier_2.agents, and tiers.tier_3.agents in that order. If the agent ID is not found in any tier list (untiered), treat as Tier 3 by default — load decision-log.md only if it exists, with no budget enforcement.</action>
76
+ <action if="agent file resolved">Resolve sidecar path: read agents.{agent-id}.sidecar from _memory/config.yaml, construct absolute path as {project-root}/_memory/{sidecar_value}/. If the agent entry is not found in the agents section, construct path as {project-root}/_memory/{agent-id}-sidecar/.</action>
77
+ <action if="agent file resolved">Check if the sidecar directory exists. If the directory does not exist or is empty, skip all file loading silently — no error, no warning. Proceed to Step 4.</action>
78
+ <action if="agent file resolved and tier == 1">Load canonical sidecar files (silently skip any that do not exist): ground-truth.md, decision-log.md, conversation-context.md (3 files). These provide the agent's persistent ground truth, decision history, and recent conversation context.</action>
79
+ <action if="agent file resolved and tier == 2">Load canonical sidecar files (silently skip any that do not exist): decision-log.md, conversation-context.md (2 files). Tier 2 agents do not have ground-truth.md.</action>
80
+ <action if="agent file resolved and tier == 3 or untiered">Load canonical sidecar file (silently skip if it does not exist): decision-log.md (1 file). Tier 3 and untiered agents receive minimal memory context.</action>
81
+ <action if="agent file resolved and tier in [1, 2]">Estimate token budget usage: sum the byte lengths of all loaded sidecar files, divide by the token_approximation value (default: 4 chars per token, from _memory/config.yaml archival.token_approximation). Compare against the agent's session_budget from the tier definition in _memory/config.yaml. If usage reaches or exceeds the budget_warn_at threshold (0.8 / 80% from _memory/config.yaml archival.budget_warn_at): display warning "Memory budget at {N}% for {agent_name} — {used}K of {budget}K tokens." For Tier 3 and untiered agents (session_budget: null), skip the token budget check entirely.</action>
73
82
  </step>
74
83
 
75
84
  <step n="4" title="Load Instructions">
@@ -171,10 +180,7 @@ execution modes (normal/yolo/planning), checkpoints, and quality gates.
171
180
  <execution-modes>
172
181
  <mode name="normal">
173
182
  Pause at every template-output for user confirmation.
174
- Prompt: "[c] Continue | [y] Switch to YOLO | [e] Edit output | [v] Review with Val"
175
- The [v] option is shown when Val integration is enabled (val_integration.template_output_review: true in global.yaml,
176
- validator.md exists, and validator-sidecar/ exists). When [v] is selected, the engine invokes val-validate-artifact
177
- as a subagent to validate the saved artifact. If Val is not enabled, only [c]/[y]/[e] are shown.
183
+ Prompt: "[c] Continue | [y] Switch to YOLO | [e] Edit output"
178
184
  Pause at every ask tag — present the question and WAIT for user response.
179
185
  NEVER infer or skip an ask, even if the answer appears available from context.
180
186
  Pause when a subagent returns — show results summary and wait for [c]ontinue.
@@ -1,9 +1,3 @@
1
- ---
2
- template: 'brainstorming'
3
- version: 1.0.0
4
- used_by: ['brainstorming']
5
- ---
6
-
7
1
  # Brainstorming Session: {topic}
8
2
 
9
3
  **Date:** {date}
@@ -2,7 +2,7 @@
2
2
  inherits: "{project-root}/_gaia/_config/global.yaml"
3
3
 
4
4
  module_name: "lifecycle"
5
- module_version: "1.37.1"
5
+ module_version: "1.37.0"
6
6
 
7
7
  planning_artifacts: "{project-root}/docs/planning-artifacts"
8
8
  implementation_artifacts: "{project-root}/docs/implementation-artifacts"
@@ -7,7 +7,6 @@ config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
7
  installed_path: "{project-root}/_gaia/lifecycle/workflows/1-analysis/create-product-brief"
8
8
  instructions: "{installed_path}/instructions.xml"
9
9
  validation: "{installed_path}/checklist.md"
10
- template: "{project-root}/_gaia/lifecycle/templates/product-brief-template.md"
11
10
  input_file_patterns:
12
11
  brainstorm:
13
12
  whole: "{planning_artifacts}/project-brainstorm.md"
@@ -7,7 +7,6 @@ config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
7
  installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/code-review"
8
8
  instructions: "{installed_path}/instructions.xml"
9
9
  validation: "{installed_path}/checklist.md"
10
- template: "{project-root}/_gaia/lifecycle/templates/review-template.md"
11
10
  input_file_patterns:
12
11
  architecture:
13
12
  whole: "{planning_artifacts}/architecture.md"
@@ -8,7 +8,6 @@ config_source: "{project-root}/_gaia/lifecycle/config.yaml"
8
8
  installed_path: "{project-root}/_gaia/lifecycle/workflows/4-implementation/sprint-planning"
9
9
  instructions: "{installed_path}/instructions.xml"
10
10
  validation: "{installed_path}/checklist.md"
11
- template: "{project-root}/_gaia/lifecycle/templates/sprint-plan-template.md"
12
11
  input_file_patterns:
13
12
  epics:
14
13
  whole: "{planning_artifacts}/epics-and-stories.md"
@@ -7,7 +7,6 @@ config_source: "{project-root}/_gaia/lifecycle/config.yaml"
7
7
  installed_path: "{project-root}/_gaia/lifecycle/workflows/5-deployment/deployment-checklist"
8
8
  instructions: "{installed_path}/instructions.xml"
9
9
  validation: "{installed_path}/checklist.md"
10
- template: "{project-root}/_gaia/lifecycle/templates/deployment-template.md"
11
10
  input_file_patterns:
12
11
  architecture:
13
12
  whole: "{planning_artifacts}/architecture.md"
@@ -2,7 +2,7 @@
2
2
  inherits: "{project-root}/_gaia/_config/global.yaml"
3
3
 
4
4
  module_name: "testing"
5
- module_version: "1.8.1"
5
+ module_version: "1.8.0"
6
6
 
7
7
  test_artifacts: "{project-root}/docs/test-artifacts"
8
8
  knowledge_path: "{project-root}/_gaia/testing/knowledge"
@@ -7,6 +7,5 @@ config_source: "{project-root}/_gaia/testing/config.yaml"
7
7
  installed_path: "{project-root}/_gaia/testing/workflows/test-design"
8
8
  instructions: "{installed_path}/instructions.xml"
9
9
  validation: "{installed_path}/checklist.md"
10
- template: "{project-root}/_gaia/lifecycle/templates/test-plan-template.md"
11
10
  output:
12
11
  primary: "{test_artifacts}/test-plan.md"
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.58.1"
9
+ readonly VERSION="1.59.0"
10
10
  readonly GITHUB_REPO="https://github.com/jlouage/Gaia-framework.git"
11
11
  readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaia-framework",
3
- "version": "1.58.1",
3
+ "version": "1.59.0",
4
4
  "description": "GAIA — Generative Agile Intelligence Architecture installer",
5
5
  "bin": {
6
6
  "gaia-framework": "./bin/gaia-framework.js"