@jaguilar87/gaia 5.0.4 → 5.0.5

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.
Files changed (113) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +56 -0
  4. package/INSTALL.md +0 -2
  5. package/README.md +1 -6
  6. package/bin/README.md +0 -1
  7. package/bin/cli/_install_helpers.py +1 -1
  8. package/bin/cli/cleanup.py +0 -1
  9. package/bin/cli/doctor.py +1 -1
  10. package/bin/cli/memory.py +2 -0
  11. package/bin/cli/update.py +1 -1
  12. package/bin/pre-publish-validate.js +48 -5
  13. package/config/README.md +22 -44
  14. package/config/surface-routing.json +0 -1
  15. package/dist/gaia-ops/.claude-plugin/plugin.json +1 -1
  16. package/dist/gaia-ops/config/README.md +22 -44
  17. package/dist/gaia-ops/config/surface-routing.json +0 -1
  18. package/dist/gaia-ops/hooks/modules/agents/handoff_persister.py +2 -0
  19. package/dist/gaia-ops/hooks/modules/security/approval_grants.py +2 -0
  20. package/dist/gaia-ops/hooks/modules/tools/bash_validator.py +2 -0
  21. package/dist/gaia-ops/hooks/modules/validation/commit_validator.py +90 -55
  22. package/dist/gaia-ops/skills/README.md +1 -1
  23. package/dist/gaia-ops/skills/gaia-patterns/SKILL.md +1 -1
  24. package/dist/gaia-ops/skills/gaia-patterns/reference.md +0 -1
  25. package/dist/gaia-ops/skills/gaia-release/SKILL.md +60 -24
  26. package/dist/gaia-ops/skills/gaia-release/reference.md +35 -11
  27. package/dist/gaia-ops/skills/git-conventions/SKILL.md +6 -2
  28. package/dist/gaia-ops/skills/orchestrator-present-approval/SKILL.md +10 -2
  29. package/dist/gaia-ops/skills/readme-writing/SKILL.md +1 -1
  30. package/dist/gaia-ops/skills/readme-writing/reference.md +0 -1
  31. package/dist/gaia-ops/tools/scan/ui.py +20 -4
  32. package/dist/gaia-ops/tools/scan/verify.py +3 -3
  33. package/dist/gaia-ops/tools/validation/README.md +15 -24
  34. package/dist/gaia-security/.claude-plugin/plugin.json +1 -1
  35. package/dist/gaia-security/hooks/modules/agents/handoff_persister.py +2 -0
  36. package/dist/gaia-security/hooks/modules/security/approval_grants.py +2 -0
  37. package/dist/gaia-security/hooks/modules/tools/bash_validator.py +2 -0
  38. package/dist/gaia-security/hooks/modules/validation/commit_validator.py +90 -55
  39. package/hooks/modules/agents/handoff_persister.py +2 -0
  40. package/hooks/modules/security/approval_grants.py +2 -0
  41. package/hooks/modules/tools/bash_validator.py +2 -0
  42. package/hooks/modules/validation/commit_validator.py +90 -55
  43. package/index.js +2 -12
  44. package/package.json +4 -6
  45. package/pyproject.toml +3 -3
  46. package/scripts/bootstrap_database.sh +88 -439
  47. package/scripts/check_schema_drift.py +208 -0
  48. package/scripts/migrations/README.md +78 -28
  49. package/scripts/migrations/schema.checksum +8 -0
  50. package/scripts/release-prepare.mjs +199 -0
  51. package/skills/README.md +1 -1
  52. package/skills/gaia-patterns/SKILL.md +1 -1
  53. package/skills/gaia-patterns/reference.md +0 -1
  54. package/skills/gaia-release/SKILL.md +60 -24
  55. package/skills/gaia-release/reference.md +35 -11
  56. package/skills/git-conventions/SKILL.md +6 -2
  57. package/skills/orchestrator-present-approval/SKILL.md +10 -2
  58. package/skills/readme-writing/SKILL.md +1 -1
  59. package/skills/readme-writing/reference.md +0 -1
  60. package/tools/scan/ui.py +20 -4
  61. package/tools/scan/verify.py +3 -3
  62. package/tools/validation/README.md +15 -24
  63. package/commands/README.md +0 -64
  64. package/commands/gaia.md +0 -37
  65. package/commands/scan-project.md +0 -74
  66. package/config/crons-schema.md +0 -81
  67. package/config/git_standards.json +0 -72
  68. package/dist/gaia-ops/commands/gaia.md +0 -37
  69. package/dist/gaia-ops/config/crons-schema.md +0 -81
  70. package/dist/gaia-ops/config/git_standards.json +0 -72
  71. package/dist/gaia-ops/tools/agentic-loop/decide-status.py +0 -210
  72. package/dist/gaia-ops/tools/agentic-loop/parse-metric.py +0 -106
  73. package/dist/gaia-ops/tools/agentic-loop/record-iteration.py +0 -223
  74. package/git-hooks/commit-msg +0 -41
  75. package/scripts/migrations/v10_to_v11.sql +0 -170
  76. package/scripts/migrations/v10_to_v11_fresh.sql +0 -18
  77. package/scripts/migrations/v11_to_v12.sql +0 -195
  78. package/scripts/migrations/v11_to_v12_fresh.sql +0 -19
  79. package/scripts/migrations/v12_to_v13.sql +0 -48
  80. package/scripts/migrations/v12_to_v13_fresh.sql +0 -17
  81. package/scripts/migrations/v13_to_v14.sql +0 -44
  82. package/scripts/migrations/v13_to_v14_fresh.sql +0 -17
  83. package/scripts/migrations/v14_to_v15.sql +0 -71
  84. package/scripts/migrations/v14_to_v15_fresh.sql +0 -19
  85. package/scripts/migrations/v15_to_v16.sql +0 -57
  86. package/scripts/migrations/v15_to_v16_fresh.sql +0 -18
  87. package/scripts/migrations/v16_to_v17.sql +0 -51
  88. package/scripts/migrations/v16_to_v17_fresh.sql +0 -18
  89. package/scripts/migrations/v17_to_v18.sql +0 -66
  90. package/scripts/migrations/v17_to_v18_fresh.sql +0 -24
  91. package/scripts/migrations/v1_to_v2.sql +0 -97
  92. package/scripts/migrations/v2_to_v3.sql +0 -68
  93. package/scripts/migrations/v2_to_v3_merge.sql +0 -69
  94. package/scripts/migrations/v3_to_v4.sql +0 -67
  95. package/scripts/migrations/v3_to_v4_fresh.sql +0 -20
  96. package/scripts/migrations/v4_to_v5.sql +0 -55
  97. package/scripts/migrations/v4_to_v5_fresh.sql +0 -20
  98. package/scripts/migrations/v5_to_v6.sql +0 -48
  99. package/scripts/migrations/v5_to_v6_fresh.sql +0 -17
  100. package/scripts/migrations/v6_to_v7.sql +0 -26
  101. package/scripts/migrations/v6_to_v7_fresh.sql +0 -13
  102. package/scripts/migrations/v7_to_v8.sql +0 -44
  103. package/scripts/migrations/v7_to_v8_fresh.sql +0 -14
  104. package/scripts/migrations/v8_to_v9.sql +0 -87
  105. package/scripts/migrations/v8_to_v9_fresh.sql +0 -15
  106. package/scripts/migrations/v9_to_v10.sql +0 -109
  107. package/scripts/migrations/v9_to_v10_episodes_workspace.sql +0 -109
  108. package/scripts/migrations/v9_to_v10_fresh.sql +0 -18
  109. package/templates/README.md +0 -70
  110. package/templates/managed-settings.template.json +0 -43
  111. package/tools/agentic-loop/decide-status.py +0 -210
  112. package/tools/agentic-loop/parse-metric.py +0 -106
  113. package/tools/agentic-loop/record-iteration.py +0 -223
package/index.js CHANGED
@@ -7,7 +7,7 @@
7
7
  * import { getAgentPath, getToolPath, getConfigPath } from '@jaguilar87/gaia';
8
8
  * const agentPath = getAgentPath('gitops-operator');
9
9
  * const toolPath = getToolPath('context_provider.py');
10
- * const configPath = getConfigPath('git_standards.json');
10
+ * const configPath = getConfigPath('surface-routing.json');
11
11
  */
12
12
 
13
13
  import { fileURLToPath } from 'url';
@@ -54,18 +54,9 @@ export function getCommandPath(commandName) {
54
54
  return join(PACKAGE_ROOT, 'commands', commandName);
55
55
  }
56
56
 
57
- /**
58
- * Get absolute path to a template
59
- * @param {string} templateName - Name of the template (e.g., 'governance.template.md')
60
- * @returns {string} Absolute path to template file
61
- */
62
- export function getTemplatePath(templateName) {
63
- return join(PACKAGE_ROOT, 'templates', templateName);
64
- }
65
-
66
57
  /**
67
58
  * Get absolute path to config file
68
- * @param {string} configName - Name of the config (e.g., 'git_standards.json')
59
+ * @param {string} configName - Name of the config (e.g., 'surface-routing.json')
69
60
  * @returns {string} Absolute path to config file
70
61
  */
71
62
  export function getConfigPath(configName) {
@@ -78,6 +69,5 @@ export default {
78
69
  getToolPath,
79
70
  getHookPath,
80
71
  getCommandPath,
81
- getTemplatePath,
82
72
  getConfigPath
83
73
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaguilar87/gaia",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "description": "Multi-agent orchestration system for Claude Code - DevOps automation toolkit",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -37,13 +37,10 @@
37
37
  "tools/",
38
38
  "gaia/",
39
39
  "hooks/",
40
- "commands/",
41
- "templates/",
42
40
  "config/",
43
41
  "scripts/",
44
42
  "skills/",
45
43
  "dist/",
46
- "git-hooks/",
47
44
  "README.md",
48
45
  "INSTALL.md",
49
46
  "CHANGELOG.md",
@@ -62,6 +59,7 @@
62
59
  "test:all": "python3 -m pytest tests/ -v -m ''",
63
60
  "test:promptfoo": "npx promptfoo eval --config tests/promptfoo.yaml",
64
61
  "lint": "eslint .",
62
+ "release:prepare": "node scripts/release-prepare.mjs",
65
63
  "clean:dist": "rm -rf dist/",
66
64
  "build:plugins": "npm run clean:dist && python3 scripts/build-plugin.py gaia-security && python3 scripts/build-plugin.py gaia-ops",
67
65
  "clean": "find . -type d -name '__pycache__' -exec rm -rf {} + 2>/dev/null || true",
@@ -71,7 +69,7 @@
71
69
  "gaia:verify-install:local": "npm pack && bash bin/validate-sandbox.sh --tarball ./jaguilar87-gaia-*.tgz --target sandbox",
72
70
  "gaia:verify-install:rc": "bash bin/validate-sandbox.sh --version @rc --target sandbox",
73
71
  "gaia:verify-install:latest": "bash bin/validate-sandbox.sh --version @latest --target sandbox",
74
- "gaia:install-local": "npm pack && bash bin/validate-sandbox.sh --tarball ./jaguilar87-gaia-*.tgz --target local",
72
+ "gaia:install-local": "npm run build:plugins && npm pack && bash bin/validate-sandbox.sh --tarball ./jaguilar87-gaia-*.tgz --target local",
75
73
  "prepack": "npm run clean",
76
74
  "prepublishOnly": "npm run build:plugins && node bin/pre-publish-validate.js",
77
75
  "postinstall": "python3 bin/gaia install --postinstall",
@@ -85,6 +83,6 @@
85
83
  },
86
84
  "engines": {
87
85
  "node": ">=18.0.0",
88
- "python": ">=3.9"
86
+ "python": ">=3.11"
89
87
  }
90
88
  }
package/pyproject.toml CHANGED
@@ -1,8 +1,8 @@
1
1
  [project]
2
2
  name = "gaia"
3
- version = "5.0.4"
3
+ version = "5.0.5"
4
4
  description = "Multi-agent orchestration system for Claude Code - DevOps automation toolkit"
5
- requires-python = ">=3.9"
5
+ requires-python = ">=3.11"
6
6
  license = {text = "MIT"}
7
7
  authors = [
8
8
  {name = "Jorge Aguilar", email = "jorge.aguilar87@gmail.com"},
@@ -16,7 +16,7 @@ dev = [
16
16
  ]
17
17
 
18
18
  [tool.ruff]
19
- target-version = "py39"
19
+ target-version = "py311"
20
20
  line-length = 120
21
21
 
22
22
  [tool.ruff.lint]