agent-enderun 0.8.7 → 0.9.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.
Files changed (106) hide show
  1. package/{ENDERUN.md → .enderun/ENDERUN.md} +5 -3
  2. package/.enderun/PROJECT_MEMORY.md +12 -53
  3. package/.enderun/STATUS.md +7 -8
  4. package/.enderun/agents/agent_army_schema.json +28 -6
  5. package/.enderun/agents/analyst.md +9 -18
  6. package/.enderun/agents/backend.md +22 -52
  7. package/.enderun/agents/devops.md +9 -19
  8. package/.enderun/agents/explorer.md +7 -16
  9. package/.enderun/agents/frontend.md +82 -84
  10. package/.enderun/agents/git.md +7 -16
  11. package/.enderun/agents/manager.md +34 -40
  12. package/.enderun/agents/mobile.md +7 -16
  13. package/.enderun/agents/native.md +7 -16
  14. package/.enderun/agents/orchestrator.md +16 -25
  15. package/.enderun/agents/qa.md +12 -24
  16. package/.enderun/agents/schema/agent-lifecycle-schema.json +29 -8
  17. package/.enderun/agents/security.md +9 -18
  18. package/.enderun/config.json +1 -1
  19. package/.enderun/knowledge/SHIM_TEMPLATE.md +25 -0
  20. package/.enderun/knowledge/eslint-standards.md +63 -0
  21. package/.enderun/knowledge/hermes_protocol.md +1 -1
  22. package/.enderun/knowledge/token_economy_and_memory.md +129 -0
  23. package/.enderun/mcp_config.json +9 -0
  24. package/.enderun/memory-graph/agent-contexts/analyst.json +1 -1
  25. package/.enderun/memory-graph/agent-contexts/backend.json +1 -1
  26. package/.enderun/memory-graph/agent-contexts/devops.json +1 -1
  27. package/.enderun/memory-graph/agent-contexts/explorer.json +1 -1
  28. package/.enderun/memory-graph/agent-contexts/frontend.json +1 -1
  29. package/.enderun/memory-graph/agent-contexts/git.json +1 -1
  30. package/.enderun/memory-graph/agent-contexts/manager.json +1 -1
  31. package/.enderun/memory-graph/agent-contexts/mobile.json +1 -1
  32. package/.enderun/memory-graph/agent-contexts/native.json +1 -1
  33. package/.enderun/memory-graph/agent-contexts/orchestrator.json +1 -1
  34. package/.enderun/memory-graph/agent-contexts/qa.json +1 -1
  35. package/.enderun/memory-graph/agent-contexts/security.json +1 -1
  36. package/.enderun/memory-graph/graph.json +123 -16
  37. package/.enderun/memory-graph/shared-facts.json +26 -32
  38. package/README.md +93 -295
  39. package/agent.md +25 -0
  40. package/bin/cli.js +9 -9
  41. package/bin/update-contract.js +34 -37
  42. package/bin/validate-agent-army.js +38 -13
  43. package/claude.md +14 -8
  44. package/docs/README.md +35 -16
  45. package/docs/roadmap.md +1 -1
  46. package/docs/tech-stack.md +30 -0
  47. package/eslint.config.js +68 -0
  48. package/framework-mcp/dist/index.js +184 -24
  49. package/framework-mcp/package.json +6 -33
  50. package/framework-mcp/tsconfig.json +3 -6
  51. package/gemini.md +12 -6
  52. package/grok.md +25 -0
  53. package/mcp.json +2 -2
  54. package/package.json +12 -6
  55. package/panda.config.ts +86 -86
  56. package/tsconfig.json +9 -0
  57. package/.enderun/claude.md +0 -19
  58. package/.enderun/cursor.md +0 -19
  59. package/.enderun/gemini.md +0 -19
  60. package/.enderun/logs/analyst.json +0 -1
  61. package/.enderun/logs/backend.json +0 -1
  62. package/.enderun/logs/devops.json +0 -1
  63. package/.enderun/logs/explorer.json +0 -1
  64. package/.enderun/logs/frontend.json +0 -1
  65. package/.enderun/logs/git.json +0 -1
  66. package/.enderun/logs/manager.json +0 -1
  67. package/.enderun/logs/mobile.json +0 -1
  68. package/.enderun/logs/native.json +0 -1
  69. package/.enderun/logs/orchestrator.json +0 -1
  70. package/.enderun/logs/qa.json +0 -1
  71. package/.enderun/logs/security.json +0 -1
  72. package/.env.example +0 -10
  73. package/cursor.md +0 -19
  74. package/framework-mcp/README.md +0 -55
  75. package/framework-mcp/dist/schemas.js +0 -118
  76. package/framework-mcp/dist/tools/codebase.js +0 -294
  77. package/framework-mcp/dist/tools/contract.js +0 -197
  78. package/framework-mcp/dist/tools/framework.js +0 -196
  79. package/framework-mcp/dist/tools/git.js +0 -51
  80. package/framework-mcp/dist/tools/governance.js +0 -696
  81. package/framework-mcp/dist/tools/index.js +0 -47
  82. package/framework-mcp/dist/tools/knowledge.js +0 -133
  83. package/framework-mcp/dist/tools/memory.js +0 -200
  84. package/framework-mcp/dist/tools/messages.js +0 -193
  85. package/framework-mcp/dist/tools/monitoring.js +0 -294
  86. package/framework-mcp/dist/tools/orchestration.js +0 -368
  87. package/framework-mcp/dist/tools/pipeline.js +0 -267
  88. package/framework-mcp/dist/tools/security.js +0 -137
  89. package/framework-mcp/dist/utils.js +0 -121
  90. package/framework-mcp/src/index.ts +0 -49
  91. package/framework-mcp/src/schemas.ts +0 -106
  92. package/framework-mcp/src/tools/codebase.ts +0 -284
  93. package/framework-mcp/src/tools/contract.ts +0 -221
  94. package/framework-mcp/src/tools/framework.ts +0 -192
  95. package/framework-mcp/src/tools/git.ts +0 -42
  96. package/framework-mcp/src/tools/governance.ts +0 -891
  97. package/framework-mcp/src/tools/index.ts +0 -50
  98. package/framework-mcp/src/tools/knowledge.ts +0 -141
  99. package/framework-mcp/src/tools/memory.ts +0 -207
  100. package/framework-mcp/src/tools/messages.ts +0 -213
  101. package/framework-mcp/src/tools/monitoring.ts +0 -351
  102. package/framework-mcp/src/tools/orchestration.ts +0 -440
  103. package/framework-mcp/src/tools/pipeline.ts +0 -353
  104. package/framework-mcp/src/tools/security.ts +0 -143
  105. package/framework-mcp/src/utils.ts +0 -130
  106. package/src/cli/index.ts +0 -2188
@@ -4,23 +4,130 @@
4
4
  "generatedAt": "2026-05-25T17:00:00Z",
5
5
  "updatedAt": "2026-05-25T17:00:00Z",
6
6
  "nodes": [
7
- { "id": "@manager", "state": "IDLE", "lastAction": "Framework initialized", "activeTrace": null, "healthScore": 9.5, "totalActionsThisSession": 0 },
8
- { "id": "@orchestrator", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.8, "totalActionsThisSession": 0 },
9
- { "id": "@backend", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.2, "totalActionsThisSession": 0 },
10
- { "id": "@frontend", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.0, "totalActionsThisSession": 0 },
11
- { "id": "@security", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.3, "totalActionsThisSession": 0 },
12
- { "id": "@qa", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.1, "totalActionsThisSession": 0 },
13
- { "id": "@devops", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.0, "totalActionsThisSession": 0 },
14
- { "id": "@analyst", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.6, "totalActionsThisSession": 0 },
15
- { "id": "@explorer", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.4, "totalActionsThisSession": 0 },
16
- { "id": "@git", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 9.1, "totalActionsThisSession": 0 },
17
- { "id": "@mobile", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 8.8, "totalActionsThisSession": 0 },
18
- { "id": "@native", "state": "IDLE", "lastAction": null, "activeTrace": null, "healthScore": 8.9, "totalActionsThisSession": 0 }
7
+ {
8
+ "id": "@manager",
9
+ "state": "IDLE",
10
+ "lastAction": "Framework initialized",
11
+ "activeTrace": null,
12
+ "healthScore": 9.5,
13
+ "totalActionsThisSession": 0
14
+ },
15
+ {
16
+ "id": "@orchestrator",
17
+ "state": "IDLE",
18
+ "lastAction": null,
19
+ "activeTrace": null,
20
+ "healthScore": 9.8,
21
+ "totalActionsThisSession": 0
22
+ },
23
+ {
24
+ "id": "@backend",
25
+ "state": "IDLE",
26
+ "lastAction": null,
27
+ "activeTrace": null,
28
+ "healthScore": 9.2,
29
+ "totalActionsThisSession": 0
30
+ },
31
+ {
32
+ "id": "@frontend",
33
+ "state": "IDLE",
34
+ "lastAction": null,
35
+ "activeTrace": null,
36
+ "healthScore": 9,
37
+ "totalActionsThisSession": 0
38
+ },
39
+ {
40
+ "id": "@security",
41
+ "state": "IDLE",
42
+ "lastAction": null,
43
+ "activeTrace": null,
44
+ "healthScore": 9.3,
45
+ "totalActionsThisSession": 0
46
+ },
47
+ {
48
+ "id": "@qa",
49
+ "state": "IDLE",
50
+ "lastAction": null,
51
+ "activeTrace": null,
52
+ "healthScore": 9.1,
53
+ "totalActionsThisSession": 0
54
+ },
55
+ {
56
+ "id": "@devops",
57
+ "state": "IDLE",
58
+ "lastAction": null,
59
+ "activeTrace": null,
60
+ "healthScore": 9,
61
+ "totalActionsThisSession": 0
62
+ },
63
+ {
64
+ "id": "@analyst",
65
+ "state": "IDLE",
66
+ "lastAction": null,
67
+ "activeTrace": null,
68
+ "healthScore": 9.6,
69
+ "totalActionsThisSession": 0
70
+ },
71
+ {
72
+ "id": "@explorer",
73
+ "state": "IDLE",
74
+ "lastAction": null,
75
+ "activeTrace": null,
76
+ "healthScore": 9.4,
77
+ "totalActionsThisSession": 0
78
+ },
79
+ {
80
+ "id": "@git",
81
+ "state": "IDLE",
82
+ "lastAction": null,
83
+ "activeTrace": null,
84
+ "healthScore": 9.1,
85
+ "totalActionsThisSession": 0
86
+ },
87
+ {
88
+ "id": "@mobile",
89
+ "state": "IDLE",
90
+ "lastAction": null,
91
+ "activeTrace": null,
92
+ "healthScore": 8.8,
93
+ "totalActionsThisSession": 0
94
+ },
95
+ {
96
+ "id": "@native",
97
+ "state": "IDLE",
98
+ "lastAction": null,
99
+ "activeTrace": null,
100
+ "healthScore": 8.9,
101
+ "totalActionsThisSession": 0
102
+ }
19
103
  ],
20
104
  "edges": [],
21
105
  "schema": {
22
- "nodeFields": ["id", "state", "lastAction", "activeTrace", "healthScore", "totalActionsThisSession"],
23
- "edgeFields": ["id", "from", "to", "type", "traceId", "timestamp", "metadata"],
24
- "edgeTypes": ["DELEGATED", "ESCALATED", "BLOCKED_BY", "UNBLOCKED_BY", "BROADCAST", "COLLABORATED", "REVIEWED"]
106
+ "nodeFields": [
107
+ "id",
108
+ "state",
109
+ "lastAction",
110
+ "activeTrace",
111
+ "healthScore",
112
+ "totalActionsThisSession"
113
+ ],
114
+ "edgeFields": [
115
+ "id",
116
+ "from",
117
+ "to",
118
+ "type",
119
+ "traceId",
120
+ "timestamp",
121
+ "metadata"
122
+ ],
123
+ "edgeTypes": [
124
+ "DELEGATED",
125
+ "ESCALATED",
126
+ "BLOCKED_BY",
127
+ "UNBLOCKED_BY",
128
+ "BROADCAST",
129
+ "COLLABORATED",
130
+ "REVIEWED"
131
+ ]
25
132
  }
26
- }
133
+ }
@@ -1,52 +1,46 @@
1
1
  {
2
2
  "version": "1.0.0",
3
3
  "description": "Shared facts available to ALL agents in the Enderun Army. This is the single source of truth for project-wide knowledge that every agent must know.",
4
- "updatedAt": "2026-05-25T17:00:00Z",
4
+ "updatedAt": "2026-05-29T15:00:00Z",
5
5
  "updatedBy": "@manager",
6
6
  "techStack": {
7
- "backend": "Node.js 20+ + Fastify (RCSR Architecture)",
7
+ "backend": "Node.js 22+ + Fastify (RCSR Architecture)",
8
8
  "frontend": "React 19 + Vite + Panda CSS",
9
- "mobile": "React Native CLI",
10
9
  "database": "PostgreSQL (Multi-Tenant RLS + PostGIS)",
11
10
  "orm": "Kysely",
12
11
  "testing": "Vitest",
13
- "typeSystem": "TypeScript 5 (strict mode, no any, branded types)",
12
+ "typeSystem": "TypeScript 6 (strict mode, no any, branded types)",
14
13
  "monorepo": "npm workspaces",
15
- "cicd": "GitHub Actions (to be configured by @devops)"
14
+ "cicd": "GitHub Actions"
16
15
  },
17
16
  "criticalDecisions": [
18
- { "date": "2026-05-21", "decision": "No Docker Support", "rationale": "Direct system execution for performance", "decidedBy": "@manager" },
19
- { "date": "2026-05-21", "decision": "Zero Mock Policy", "rationale": "All analytical and management UIs connected to real APIs", "decidedBy": "@manager" },
20
- { "date": "2026-05-23", "decision": "PostgreSQL Unlogged Table Cache instead of Redis", "rationale": "Minimize external infrastructure dependencies", "decidedBy": "@manager" }
17
+ {
18
+ "date": "2026-05-29",
19
+ "decision": "Grand Governance Audit Completed",
20
+ "rationale": "Restored CLI, updated paths to .enderun/, and enforced autonomous MCP tools.",
21
+ "decidedBy": "@manager"
22
+ },
23
+ {
24
+ "date": "2026-05-29",
25
+ "decision": "Cursor IDE Deprecation",
26
+ "rationale": "Claude Code selected as primary operational surgery tool.",
27
+ "decidedBy": "@manager"
28
+ },
29
+ {
30
+ "date": "2026-05-21",
31
+ "decision": "Zero Mock Policy",
32
+ "rationale": "All analytical UIs connected to real APIs",
33
+ "decidedBy": "@manager"
34
+ }
21
35
  ],
22
36
  "activePolicies": [
23
37
  "Zero Mock Policy — no fake data anywhere in the codebase",
24
38
  "Branded Types Law — all IDs must use branded types",
25
- "Shared Component Firstno UI elements defined in page files",
26
- "Contract-First@backend defines types before @frontend starts",
27
- "No any TypeTypeScript strict mode enforced across all packages",
28
- "No console.log in production code",
39
+ "Surgical Edit Standarduse replace_text via MCP",
40
+ "Autonomous Growth agents authorized to use create_app",
41
+ "Hermes Messaging Protocolmandatory for inter-agent traffic",
29
42
  "Audit Log Mandatory — every agent action must be logged"
30
43
  ],
31
- "activeContracts": {
32
- "contractVersionFile": "apps/backend/contract.version.json",
33
- "currentVersion": "latest — check file",
34
- "sharedTypesLocation": "apps/backend/src/types/"
35
- },
36
- "agentCapabilityRoster": [
37
- { "agent": "@manager", "capability": 9.5, "primaryDomain": "governance" },
38
- { "agent": "@orchestrator", "capability": 9.8, "primaryDomain": "orchestration" },
39
- { "agent": "@analyst", "capability": 9.6, "primaryDomain": "analysis" },
40
- { "agent": "@explorer", "capability": 9.4, "primaryDomain": "exploration" },
41
- { "agent": "@security", "capability": 9.3, "primaryDomain": "security" },
42
- { "agent": "@backend", "capability": 9.2, "primaryDomain": "backend" },
43
- { "agent": "@git", "capability": 9.1, "primaryDomain": "git" },
44
- { "agent": "@qa", "capability": 9.1, "primaryDomain": "qa" },
45
- { "agent": "@frontend", "capability": 9.0, "primaryDomain": "frontend" },
46
- { "agent": "@devops", "capability": 9.0, "primaryDomain": "devops" },
47
- { "agent": "@native", "capability": 8.9, "primaryDomain": "native" },
48
- { "agent": "@mobile", "capability": 8.8, "primaryDomain": "mobile" }
49
- ],
50
- "frameworkVersion": "0.8.7",
44
+ "frameworkVersion": "0.9.0",
51
45
  "constitutionFile": "ENDERUN.md"
52
46
  }