agent-enderun 0.8.8 → 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 (103) hide show
  1. package/.enderun/BRAIN_DASHBOARD.md +4 -4
  2. package/{ENDERUN.md → .enderun/ENDERUN.md} +4 -2
  3. package/.enderun/PROJECT_MEMORY.md +12 -45
  4. package/.enderun/STATUS.md +9 -8
  5. package/.enderun/agents/agent_army_schema.json +29 -7
  6. package/.enderun/agents/analyst.md +3 -5
  7. package/.enderun/agents/backend.md +11 -31
  8. package/.enderun/agents/devops.md +2 -3
  9. package/.enderun/agents/explorer.md +4 -4
  10. package/.enderun/agents/frontend.md +76 -69
  11. package/.enderun/agents/git.md +3 -3
  12. package/.enderun/agents/manager.md +30 -42
  13. package/.enderun/agents/mobile.md +3 -3
  14. package/.enderun/agents/native.md +106 -0
  15. package/.enderun/agents/orchestrator.md +2 -2
  16. package/.enderun/agents/qa.md +7 -10
  17. package/.enderun/agents/schema/agent-lifecycle-schema.json +29 -8
  18. package/.enderun/agents/security.md +2 -2
  19. package/.enderun/cli-commands.json +4 -0
  20. package/.enderun/config.json +2 -2
  21. package/.enderun/knowledge/SHIM_TEMPLATE.md +25 -0
  22. package/.enderun/knowledge/eslint-standards.md +63 -0
  23. package/.enderun/knowledge/hermes_protocol.md +1 -1
  24. package/.enderun/knowledge/manager_authority_audit_enforcement.md +2 -2
  25. package/.enderun/mcp_config.json +9 -0
  26. package/.enderun/memory-graph/agent-contexts/analyst.json +1 -1
  27. package/.enderun/memory-graph/agent-contexts/backend.json +1 -1
  28. package/.enderun/memory-graph/agent-contexts/devops.json +1 -1
  29. package/.enderun/memory-graph/agent-contexts/explorer.json +1 -1
  30. package/.enderun/memory-graph/agent-contexts/frontend.json +1 -1
  31. package/.enderun/memory-graph/agent-contexts/git.json +1 -1
  32. package/.enderun/memory-graph/agent-contexts/manager.json +1 -1
  33. package/.enderun/memory-graph/agent-contexts/mobile.json +1 -1
  34. package/.enderun/memory-graph/agent-contexts/native.json +1 -0
  35. package/.enderun/memory-graph/agent-contexts/orchestrator.json +1 -1
  36. package/.enderun/memory-graph/agent-contexts/qa.json +1 -1
  37. package/.enderun/memory-graph/agent-contexts/security.json +1 -1
  38. package/.enderun/memory-graph/graph.json +123 -15
  39. package/.enderun/memory-graph/shared-facts.json +26 -31
  40. package/README.md +89 -413
  41. package/agent.md +25 -0
  42. package/bin/cli.js +9 -9
  43. package/bin/update-contract.js +34 -37
  44. package/bin/validate-agent-army.js +38 -13
  45. package/claude.md +14 -8
  46. package/docs/README.md +35 -16
  47. package/docs/tech-stack.md +30 -0
  48. package/eslint.config.js +68 -0
  49. package/framework-mcp/dist/index.js +184 -24
  50. package/framework-mcp/package.json +6 -33
  51. package/framework-mcp/tsconfig.json +3 -6
  52. package/gemini.md +12 -6
  53. package/grok.md +25 -0
  54. package/package.json +12 -6
  55. package/panda.config.ts +86 -86
  56. package/tsconfig.json +9 -0
  57. package/.enderun/logs/analyst.json +0 -1
  58. package/.enderun/logs/backend.json +0 -1
  59. package/.enderun/logs/devops.json +0 -1
  60. package/.enderun/logs/explorer.json +0 -1
  61. package/.enderun/logs/frontend.json +0 -1
  62. package/.enderun/logs/git.json +0 -1
  63. package/.enderun/logs/manager.json +0 -1
  64. package/.enderun/logs/mobile.json +0 -1
  65. package/.enderun/logs/native.json +0 -1
  66. package/.enderun/logs/orchestrator.json +0 -1
  67. package/.enderun/logs/qa.json +0 -1
  68. package/.enderun/logs/security.json +0 -1
  69. package/.env.example +0 -10
  70. package/cursor.md +0 -19
  71. package/framework-mcp/README.md +0 -55
  72. package/framework-mcp/dist/schemas.js +0 -84
  73. package/framework-mcp/dist/tools/codebase.js +0 -294
  74. package/framework-mcp/dist/tools/contract.js +0 -197
  75. package/framework-mcp/dist/tools/framework.js +0 -225
  76. package/framework-mcp/dist/tools/git.js +0 -51
  77. package/framework-mcp/dist/tools/governance.js +0 -696
  78. package/framework-mcp/dist/tools/index.js +0 -47
  79. package/framework-mcp/dist/tools/knowledge.js +0 -133
  80. package/framework-mcp/dist/tools/memory.js +0 -217
  81. package/framework-mcp/dist/tools/messages.js +0 -193
  82. package/framework-mcp/dist/tools/monitoring.js +0 -294
  83. package/framework-mcp/dist/tools/orchestration.js +0 -369
  84. package/framework-mcp/dist/tools/pipeline.js +0 -267
  85. package/framework-mcp/dist/tools/security.js +0 -137
  86. package/framework-mcp/dist/utils.js +0 -121
  87. package/framework-mcp/src/index.ts +0 -49
  88. package/framework-mcp/src/schemas.ts +0 -106
  89. package/framework-mcp/src/tools/codebase.ts +0 -284
  90. package/framework-mcp/src/tools/contract.ts +0 -221
  91. package/framework-mcp/src/tools/framework.ts +0 -223
  92. package/framework-mcp/src/tools/git.ts +0 -42
  93. package/framework-mcp/src/tools/governance.ts +0 -891
  94. package/framework-mcp/src/tools/index.ts +0 -50
  95. package/framework-mcp/src/tools/knowledge.ts +0 -141
  96. package/framework-mcp/src/tools/memory.ts +0 -207
  97. package/framework-mcp/src/tools/messages.ts +0 -213
  98. package/framework-mcp/src/tools/monitoring.ts +0 -351
  99. package/framework-mcp/src/tools/orchestration.ts +0 -440
  100. package/framework-mcp/src/tools/pipeline.ts +0 -353
  101. package/framework-mcp/src/tools/security.ts +0 -143
  102. package/framework-mcp/src/utils.ts +0 -130
  103. package/src/cli/index.ts +0 -2188
@@ -1 +1 @@
1
- { "agent": "@devops", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "devops", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@explorer", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "explorer", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@frontend", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "frontend", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@git", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "git", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@manager", "version": "1.0.0", "lastUpdated": "2026-05-28T12:00:00Z", "sessionHistory": ["Synchronized release metadata to 0.8.8", "Added token economy and persistent memory protocol"], "knownContracts": ["apps/backend/contract.version.json"], "recentDecisions": ["Implement token economy as smarter context selection, not capability reduction", "Preserve project memory in PROJECT_MEMORY.md and agent-contexts"], "watchedFiles": ["ENDERUN.md", ".enderun/PROJECT_MEMORY.md", ".enderun/memory-graph/shared-facts.json", ".enderun/agents/manager.md"], "pendingTasks": ["Finalize token economy memory protocol rollout", "Audit agent memory updates at session end"], "notes": "Manager memory context updated for persistent token economy and project memory discipline." }
1
+ {"agent": "manager", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@mobile", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "mobile", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -0,0 +1 @@
1
+ {"agent": "native", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@orchestrator", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "orchestrator", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@qa", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "qa", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -1 +1 @@
1
- { "agent": "@security", "version": "1.0.0", "lastUpdated": "2026-05-25T17:00:00Z", "sessionHistory": [], "knownContracts": [], "recentDecisions": [], "watchedFiles": [], "pendingTasks": [], "notes": "Context initialized." }
1
+ {"agent": "security", "version": "0.9.0", "lastUpdated": "2026-05-29T15:41:37Z", "sessionHistory": [], "notes": "Initial clean state."}
@@ -4,22 +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 }
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
+ }
18
103
  ],
19
104
  "edges": [],
20
105
  "schema": {
21
- "nodeFields": ["id", "state", "lastAction", "activeTrace", "healthScore", "totalActionsThisSession"],
22
- "edgeFields": ["id", "from", "to", "type", "traceId", "timestamp", "metadata"],
23
- "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
+ ]
24
132
  }
25
- }
133
+ }
@@ -1,51 +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": "@mobile", "capability": 8.8, "primaryDomain": "mobile" }
48
- ],
49
- "frameworkVersion": "0.8.8",
44
+ "frameworkVersion": "0.9.0",
50
45
  "constitutionFile": "ENDERUN.md"
51
46
  }