create-hivemind-protocol 1.0.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 +229 -0
- package/LICENSE +674 -0
- package/README.md +214 -0
- package/agents/01-cto.md +121 -0
- package/agents/02-lead-dev.md +123 -0
- package/agents/03-product-manager.md +127 -0
- package/agents/04-backend-dev.md +130 -0
- package/agents/05-frontend-dev.md +129 -0
- package/agents/06-devops.md +133 -0
- package/agents/07-security.md +143 -0
- package/agents/08-qa.md +140 -0
- package/agents/09-data.md +104 -0
- package/agents/10-docs.md +109 -0
- package/agents/11-mobile.md +87 -0
- package/agents/12-ai-ml.md +107 -0
- package/agents/_AGENT_TEMPLATE.md +115 -0
- package/assets/logo.png +0 -0
- package/bin/create.js +67 -0
- package/memory/agent-states/_STATE_TEMPLATE.md +24 -0
- package/memory/agent-states/ai-ml.state.md +19 -0
- package/memory/agent-states/backend-dev.state.md +19 -0
- package/memory/agent-states/cto.state.md +30 -0
- package/memory/agent-states/data.state.md +19 -0
- package/memory/agent-states/devops.state.md +19 -0
- package/memory/agent-states/docs.state.md +19 -0
- package/memory/agent-states/frontend-dev.state.md +19 -0
- package/memory/agent-states/lead-dev.state.md +19 -0
- package/memory/agent-states/mobile.state.md +19 -0
- package/memory/agent-states/product-manager.state.md +19 -0
- package/memory/agent-states/qa.state.md +19 -0
- package/memory/agent-states/security.state.md +19 -0
- package/memory/blockers.md +36 -0
- package/memory/decisions.log +14 -0
- package/memory/handoff-queue.md +17 -0
- package/memory/shared-context.md +65 -0
- package/package.json +40 -0
- package/project.json +298 -0
- package/reports/CHANGELOG.md +32 -0
- package/reports/audit-log.md +33 -0
- package/reports/sprint-report.md +63 -0
- package/tools/code-boundaries.md +86 -0
- package/tools/custom-commands.md +324 -0
- package/tools/mcp-catalog.md +114 -0
- package/tools/scaffold-templates/fastapi.md +61 -0
- package/tools/scaffold-templates/monorepo.md +29 -0
- package/tools/scaffold-templates/nextjs.md +70 -0
- package/tools/scaffold-templates/node-api.md +32 -0
- package/tools/scaffold-templates/react-native.md +30 -0
- package/tools/token-railguards.md +262 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# data — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# devops — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# docs — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# frontend-dev — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# lead-dev — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# mobile — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# product-manager — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# qa — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# security — Agent State
|
|
2
|
+
|
|
3
|
+
> Updated at the end of each session.
|
|
4
|
+
|
|
5
|
+
## Last Session
|
|
6
|
+
**Date**: —
|
|
7
|
+
**Model used**: —
|
|
8
|
+
|
|
9
|
+
## Current Focus
|
|
10
|
+
—
|
|
11
|
+
|
|
12
|
+
## Last Action
|
|
13
|
+
—
|
|
14
|
+
|
|
15
|
+
## Pending Items
|
|
16
|
+
- [ ] Review project.json after CTO configures it
|
|
17
|
+
|
|
18
|
+
## Notes for Next Session
|
|
19
|
+
—
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Blockers
|
|
2
|
+
|
|
3
|
+
> **Protocol**: Add blockers immediately when identified. Resolve by marking `[RESOLVED: YYYY-MM-DD]`.
|
|
4
|
+
> Use `/blocker <description>` to add. Mark resolved when fixed.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Active Blockers
|
|
9
|
+
|
|
10
|
+
_None — project is freshly initialized._
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Resolved Blockers
|
|
15
|
+
|
|
16
|
+
<!-- Move resolved blockers here with their resolution date and notes -->
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Format
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
### [YYYY-MM-DD] [SEVERITY] <Title>
|
|
24
|
+
**Reported by**: <agent>
|
|
25
|
+
**Blocking**: <what can't proceed>
|
|
26
|
+
**Description**: <details>
|
|
27
|
+
**Escalated to**: <agent if applicable>
|
|
28
|
+
**Status**: [OPEN] / [IN-PROGRESS] / [RESOLVED: YYYY-MM-DD by <agent>]
|
|
29
|
+
**Resolution**: <how it was resolved, if applicable>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Severity Levels
|
|
33
|
+
- `[CRITICAL]` — halts all progress on the affected system
|
|
34
|
+
- `[HIGH]` — blocks a specific agent or feature
|
|
35
|
+
- `[MEDIUM]` — workaround exists, but should be fixed soon
|
|
36
|
+
- `[LOW]` — minor inconvenience, low urgency
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Decisions Log
|
|
2
|
+
|
|
3
|
+
> **Protocol**: Append-only. Never edit or delete entries. Format strictly enforced.
|
|
4
|
+
> **Format**: `[YYYY-MM-DD HH:MM] [AGENT] DECISION: <description> | REASON: <reason>`
|
|
5
|
+
>
|
|
6
|
+
> Use `/decision <agent> <text>` command to add entries.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Log
|
|
11
|
+
|
|
12
|
+
[YYYY-MM-DD HH:MM] [init] DECISION: HiveMind Protocol repository initialized | REASON: Project kickoff using HiveMind Protocol template
|
|
13
|
+
|
|
14
|
+
<!-- Add new entries below this line -->
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Handoff Queue
|
|
2
|
+
|
|
3
|
+
> **Protocol**: Append-only. Mark completed items as `[DONE]`. Never delete entries.
|
|
4
|
+
> Use `/handoff <from> <to> <task>` command to add entries.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Queue
|
|
9
|
+
|
|
10
|
+
### [YYYY-MM-DD] FROM: init → TO: cto
|
|
11
|
+
**TASK**: Review project.json and configure for your project
|
|
12
|
+
**CONTEXT**: HiveMind Protocol template initialized. All agents need project.json to be filled in (meta, stack, active agents) before starting work.
|
|
13
|
+
**FILES**: `project.json`, `CLAUDE.md`
|
|
14
|
+
**MODEL**: lite
|
|
15
|
+
**STATUS**: [PENDING]
|
|
16
|
+
|
|
17
|
+
<!-- Add new handoff entries below this line -->
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Shared Context
|
|
2
|
+
|
|
3
|
+
> **Protocol**: All agents must read this file at session start. Update with append only — never delete history. Use the format below.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Current Project State
|
|
8
|
+
|
|
9
|
+
**Last updated**: YYYY-MM-DD by [agent]
|
|
10
|
+
**Phase**: Setup / Development / Staging / Production
|
|
11
|
+
**Sprint**: 0
|
|
12
|
+
|
|
13
|
+
### Active Focus
|
|
14
|
+
_Describe what the team is currently working on in 1-3 sentences._
|
|
15
|
+
|
|
16
|
+
### Recent Significant Changes
|
|
17
|
+
_Brief summary of last 3 meaningful changes — agents should check CHANGELOG for full detail._
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Technical Snapshot
|
|
22
|
+
|
|
23
|
+
### Stack
|
|
24
|
+
_Fill in from `project.json > meta.stack` after project initialization._
|
|
25
|
+
|
|
26
|
+
| Layer | Technology | Status |
|
|
27
|
+
|-------|-----------|--------|
|
|
28
|
+
| Frontend | — | — |
|
|
29
|
+
| Backend | — | — |
|
|
30
|
+
| Database | — | — |
|
|
31
|
+
| Infra | — | — |
|
|
32
|
+
| AI | — | — |
|
|
33
|
+
|
|
34
|
+
### API Status
|
|
35
|
+
| Endpoint group | Status | Owner |
|
|
36
|
+
|----------------|--------|-------|
|
|
37
|
+
| /auth | — | backend-dev |
|
|
38
|
+
| /users | — | backend-dev |
|
|
39
|
+
|
|
40
|
+
### Environment Status
|
|
41
|
+
| Environment | Status | Last deployed |
|
|
42
|
+
|------------|--------|--------------|
|
|
43
|
+
| development | — | — |
|
|
44
|
+
| staging | — | — |
|
|
45
|
+
| production | — | — |
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Decisions in Effect
|
|
50
|
+
|
|
51
|
+
_Key decisions that all agents should be aware of. Full log in `memory/decisions.log`._
|
|
52
|
+
|
|
53
|
+
| Date | Decision | Made by |
|
|
54
|
+
|------|----------|---------|
|
|
55
|
+
| — | — | — |
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## History
|
|
60
|
+
|
|
61
|
+
_Append entries below when updating. Format: `[YYYY-MM-DD HH:MM] [agent] <summary of change>`_
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
[YYYY-MM-DD HH:MM] [init] Repository initialized from HiveMind Protocol template
|
|
65
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-hivemind-protocol",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "HiveMind Protocol — multi-agent context and behavior framework for AI-assisted software development",
|
|
5
|
+
"bin": {
|
|
6
|
+
"create-hivemind-protocol": "./bin/create.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin",
|
|
10
|
+
"agents",
|
|
11
|
+
"assets",
|
|
12
|
+
"memory",
|
|
13
|
+
"tools",
|
|
14
|
+
"reports",
|
|
15
|
+
"CLAUDE.md",
|
|
16
|
+
"project.json",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE"
|
|
19
|
+
],
|
|
20
|
+
"keywords": [
|
|
21
|
+
"claude",
|
|
22
|
+
"ai-agents",
|
|
23
|
+
"llm",
|
|
24
|
+
"multi-agent",
|
|
25
|
+
"scaffolder",
|
|
26
|
+
"claude-code",
|
|
27
|
+
"agentic",
|
|
28
|
+
"template"
|
|
29
|
+
],
|
|
30
|
+
"author": "Awi-24",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"engines": {
|
|
33
|
+
"node": ">=16"
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "https://github.com/Awi-24/HiveMind-Protocol.git"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/Awi-24/HiveMind-Protocol#readme"
|
|
40
|
+
}
|
package/project.json
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./agentos-schema.json",
|
|
3
|
+
"_comment": "HiveMind Protocol project definition file. Fill in all fields before starting. Boolean flags and arrays can be left empty.",
|
|
4
|
+
|
|
5
|
+
"meta": {
|
|
6
|
+
"name": "my-project",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"description": "Short description of the project",
|
|
9
|
+
"repo": "https://github.com/org/repo",
|
|
10
|
+
"created": "YYYY-MM-DD",
|
|
11
|
+
"team": "team-name",
|
|
12
|
+
"stack": {
|
|
13
|
+
"language": ["typescript", "python"],
|
|
14
|
+
"framework": ["next.js", "fastapi"],
|
|
15
|
+
"database": ["postgresql", "redis"],
|
|
16
|
+
"cloud": ["aws"],
|
|
17
|
+
"infra": ["docker", "kubernetes"]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
"agents": {
|
|
22
|
+
"active": [
|
|
23
|
+
"cto",
|
|
24
|
+
"lead-dev",
|
|
25
|
+
"backend-dev",
|
|
26
|
+
"frontend-dev",
|
|
27
|
+
"devops",
|
|
28
|
+
"security",
|
|
29
|
+
"qa"
|
|
30
|
+
],
|
|
31
|
+
"available": [
|
|
32
|
+
"cto",
|
|
33
|
+
"lead-dev",
|
|
34
|
+
"product-manager",
|
|
35
|
+
"backend-dev",
|
|
36
|
+
"frontend-dev",
|
|
37
|
+
"devops",
|
|
38
|
+
"security",
|
|
39
|
+
"qa",
|
|
40
|
+
"data",
|
|
41
|
+
"docs",
|
|
42
|
+
"mobile",
|
|
43
|
+
"ai-ml"
|
|
44
|
+
],
|
|
45
|
+
"profiles_dir": "./agents/"
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
"routing": {
|
|
49
|
+
"_comment": "Model routing by task complexity. Agents read this to select the correct model per task.",
|
|
50
|
+
"lite": {
|
|
51
|
+
"model": "claude-haiku-4-5-20251001",
|
|
52
|
+
"use_for": [
|
|
53
|
+
"reading files",
|
|
54
|
+
"writing reports",
|
|
55
|
+
"appending to logs",
|
|
56
|
+
"status checks",
|
|
57
|
+
"formatting markdown",
|
|
58
|
+
"updating agent states",
|
|
59
|
+
"handoff queue updates"
|
|
60
|
+
],
|
|
61
|
+
"max_tokens": 4096
|
|
62
|
+
},
|
|
63
|
+
"standard": {
|
|
64
|
+
"model": "claude-sonnet-4-6",
|
|
65
|
+
"use_for": [
|
|
66
|
+
"writing code",
|
|
67
|
+
"debugging",
|
|
68
|
+
"implementing logic",
|
|
69
|
+
"API design",
|
|
70
|
+
"writing tests",
|
|
71
|
+
"code reviews",
|
|
72
|
+
"PR descriptions",
|
|
73
|
+
"CI/CD configuration"
|
|
74
|
+
],
|
|
75
|
+
"max_tokens": 8192
|
|
76
|
+
},
|
|
77
|
+
"heavy": {
|
|
78
|
+
"model": "claude-opus-4-6",
|
|
79
|
+
"use_for": [
|
|
80
|
+
"architecture decisions",
|
|
81
|
+
"security audits",
|
|
82
|
+
"complex refactors spanning 3+ systems",
|
|
83
|
+
"cross-team design sessions",
|
|
84
|
+
"breaking change analysis",
|
|
85
|
+
"incident root cause analysis",
|
|
86
|
+
"multi-agent orchestration planning"
|
|
87
|
+
],
|
|
88
|
+
"max_tokens": 16384
|
|
89
|
+
},
|
|
90
|
+
"default_tier": "standard",
|
|
91
|
+
"escalation_rule": "If a standard task takes more than 3 attempts, escalate to heavy and log in decisions.log"
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
"railguards": {
|
|
95
|
+
"max_loop_depth": 3,
|
|
96
|
+
"max_file_iterations_per_session": 5,
|
|
97
|
+
"require_memory_read_before_write": true,
|
|
98
|
+
"require_report_on_change": true,
|
|
99
|
+
"require_confirmation_before_destructive": true,
|
|
100
|
+
"forbidden_operations": [
|
|
101
|
+
"rm -rf",
|
|
102
|
+
"DROP TABLE",
|
|
103
|
+
"DROP DATABASE",
|
|
104
|
+
"TRUNCATE",
|
|
105
|
+
"git push --force",
|
|
106
|
+
"git reset --hard",
|
|
107
|
+
"kubectl delete namespace",
|
|
108
|
+
"terraform destroy"
|
|
109
|
+
],
|
|
110
|
+
"forbidden_patterns_in_code": [
|
|
111
|
+
"eval(",
|
|
112
|
+
"exec(",
|
|
113
|
+
"shell=True",
|
|
114
|
+
"innerHTML =",
|
|
115
|
+
"dangerouslySetInnerHTML",
|
|
116
|
+
"password.*=.*['\"][^'\"]+['\"]"
|
|
117
|
+
],
|
|
118
|
+
"on_loop_limit": "log to memory/blockers.md and escalate to CTO",
|
|
119
|
+
"on_forbidden_operation": "stop immediately, log to memory/blockers.md, notify user"
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
"communication": {
|
|
123
|
+
"_comment": "Token compression protocol. Inspired by https://github.com/JuliusBrussee/caveman — ~65% output reduction, ~46% input reduction via memory compression.",
|
|
124
|
+
"default_intensity": "full",
|
|
125
|
+
"intensity_levels": {
|
|
126
|
+
"lite": {
|
|
127
|
+
"token_reduction": "~40%",
|
|
128
|
+
"rules": "Keep articles; full sentences OK; drop filler words only",
|
|
129
|
+
"use_for": ["human-facing explanations", "user-visible output", "onboarding"]
|
|
130
|
+
},
|
|
131
|
+
"full": {
|
|
132
|
+
"token_reduction": "~60%",
|
|
133
|
+
"rules": "Drop articles; fragments allowed; no pleasantries; no preamble/postamble",
|
|
134
|
+
"use_for": ["standard agent-to-agent communication", "code reviews", "handoffs"]
|
|
135
|
+
},
|
|
136
|
+
"ultra": {
|
|
137
|
+
"token_reduction": "~75%",
|
|
138
|
+
"rules": "Abbreviations allowed (DB/auth/cfg/deps); arrows for causality (→); maximum compression",
|
|
139
|
+
"use_for": ["memory file writes", "log entries", "status checks", "internal agent chains"]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"auto_clarity_exception": {
|
|
143
|
+
"enabled": true,
|
|
144
|
+
"triggers": [
|
|
145
|
+
"security warnings severity HIGH or CRITICAL",
|
|
146
|
+
"irreversible operations: DROP, DELETE, rm -rf, force push",
|
|
147
|
+
"multi-step sequences with order-sensitive steps",
|
|
148
|
+
"escalations to the user"
|
|
149
|
+
],
|
|
150
|
+
"marker_start": "[COMPRESSION SUSPENDED — CRITICAL]",
|
|
151
|
+
"marker_end": "[COMPRESSION RESUMED]"
|
|
152
|
+
},
|
|
153
|
+
"memory_compression": {
|
|
154
|
+
"enabled": true,
|
|
155
|
+
"target_reduction": "~46%",
|
|
156
|
+
"preserve": ["code blocks", "file paths", "URLs", "technical terms", "library names", "dates", "version numbers", "model IDs", "headings", "bullet structure"],
|
|
157
|
+
"drop": ["articles (a/an/the)", "filler (just/really/basically)", "hedging (might/could/perhaps)", "meta-phrases (It is worth noting that...)"]
|
|
158
|
+
},
|
|
159
|
+
"per_agent_overrides": {
|
|
160
|
+
"_comment": "Override default_intensity per agent slug. Leave empty to use default.",
|
|
161
|
+
"cto": "lite",
|
|
162
|
+
"product-manager": "lite",
|
|
163
|
+
"docs": "lite"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
|
|
167
|
+
"commands": {
|
|
168
|
+
"_comment": "Custom slash commands available to all agents. See tools/custom-commands.md for details.",
|
|
169
|
+
"status": {
|
|
170
|
+
"syntax": "/status",
|
|
171
|
+
"description": "Summarize current state of all active agents",
|
|
172
|
+
"model_tier": "lite"
|
|
173
|
+
},
|
|
174
|
+
"handoff": {
|
|
175
|
+
"syntax": "/handoff <from-agent> <to-agent> <task>",
|
|
176
|
+
"description": "Initiate a formal agent handoff",
|
|
177
|
+
"model_tier": "lite"
|
|
178
|
+
},
|
|
179
|
+
"report": {
|
|
180
|
+
"syntax": "/report <agent> <summary>",
|
|
181
|
+
"description": "Log an entry to reports/CHANGELOG.md",
|
|
182
|
+
"model_tier": "lite"
|
|
183
|
+
},
|
|
184
|
+
"scaffold": {
|
|
185
|
+
"syntax": "/scaffold <template> [--name <project-name>] [--out <dir>]",
|
|
186
|
+
"description": "Bootstrap project structure from a template",
|
|
187
|
+
"model_tier": "standard",
|
|
188
|
+
"templates": ["nextjs", "fastapi", "react-native", "node-api", "monorepo"]
|
|
189
|
+
},
|
|
190
|
+
"blocker": {
|
|
191
|
+
"syntax": "/blocker <description> [--owner <agent>]",
|
|
192
|
+
"description": "Register a blocker in memory/blockers.md",
|
|
193
|
+
"model_tier": "lite"
|
|
194
|
+
},
|
|
195
|
+
"decision": {
|
|
196
|
+
"syntax": "/decision <agent> <text>",
|
|
197
|
+
"description": "Append a decision to memory/decisions.log",
|
|
198
|
+
"model_tier": "lite"
|
|
199
|
+
},
|
|
200
|
+
"audit": {
|
|
201
|
+
"syntax": "/audit [--agent <agent>] [--scope <files|deps|secrets>]",
|
|
202
|
+
"description": "Trigger a security audit by the Security agent",
|
|
203
|
+
"model_tier": "heavy"
|
|
204
|
+
},
|
|
205
|
+
"sprint": {
|
|
206
|
+
"syntax": "/sprint [--week <YYYY-Www>]",
|
|
207
|
+
"description": "Generate sprint report in reports/sprint-report.md",
|
|
208
|
+
"model_tier": "lite"
|
|
209
|
+
},
|
|
210
|
+
"focus": {
|
|
211
|
+
"syntax": "/focus <agent>",
|
|
212
|
+
"description": "Scope session to a specific agent — load profile, state, and context",
|
|
213
|
+
"model_tier": "lite"
|
|
214
|
+
},
|
|
215
|
+
"standup": {
|
|
216
|
+
"syntax": "/standup",
|
|
217
|
+
"description": "Generate daily standup summary across all active agents",
|
|
218
|
+
"model_tier": "lite"
|
|
219
|
+
},
|
|
220
|
+
"checkpoint": {
|
|
221
|
+
"syntax": "/checkpoint [--label <name>]",
|
|
222
|
+
"description": "Snapshot current state before a risky operation",
|
|
223
|
+
"model_tier": "lite"
|
|
224
|
+
},
|
|
225
|
+
"review": {
|
|
226
|
+
"syntax": "/review <file> [--agent <agent>] [--scope <logic|security|style|all>]",
|
|
227
|
+
"description": "Structured code review of a file by the appropriate agent",
|
|
228
|
+
"model_tier": "standard"
|
|
229
|
+
},
|
|
230
|
+
"hotfix": {
|
|
231
|
+
"syntax": "/hotfix <description> [--severity <critical|high>]",
|
|
232
|
+
"description": "Emergency fix workflow — fast-tracks through QA → Security → DevOps",
|
|
233
|
+
"model_tier": "standard"
|
|
234
|
+
},
|
|
235
|
+
"resolve": {
|
|
236
|
+
"syntax": "/resolve <blocker-title> [--resolution <text>]",
|
|
237
|
+
"description": "Close an active blocker in memory/blockers.md",
|
|
238
|
+
"model_tier": "lite"
|
|
239
|
+
},
|
|
240
|
+
"deploy": {
|
|
241
|
+
"syntax": "/deploy [--env <staging|production>] [--agent <agent>]",
|
|
242
|
+
"description": "Formalize QA → Security → DevOps deployment handoff chain",
|
|
243
|
+
"model_tier": "standard"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
|
|
247
|
+
"mcps": {
|
|
248
|
+
"_comment": "MCP servers used in this project. See tools/mcp-catalog.md for setup instructions.",
|
|
249
|
+
"enabled": [],
|
|
250
|
+
"available": [
|
|
251
|
+
"github",
|
|
252
|
+
"filesystem",
|
|
253
|
+
"postgres",
|
|
254
|
+
"redis",
|
|
255
|
+
"notion",
|
|
256
|
+
"slack",
|
|
257
|
+
"jira",
|
|
258
|
+
"docker",
|
|
259
|
+
"aws",
|
|
260
|
+
"vercel",
|
|
261
|
+
"linear"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
|
|
265
|
+
"memory": {
|
|
266
|
+
"shared_context": "./memory/shared-context.md",
|
|
267
|
+
"decisions_log": "./memory/decisions.log",
|
|
268
|
+
"handoff_queue": "./memory/handoff-queue.md",
|
|
269
|
+
"blockers": "./memory/blockers.md",
|
|
270
|
+
"agent_states_dir": "./memory/agent-states/"
|
|
271
|
+
},
|
|
272
|
+
|
|
273
|
+
"reports": {
|
|
274
|
+
"changelog": "./reports/CHANGELOG.md",
|
|
275
|
+
"sprint_report": "./reports/sprint-report.md",
|
|
276
|
+
"audit_log": "./reports/audit-log.md"
|
|
277
|
+
},
|
|
278
|
+
|
|
279
|
+
"customization": {
|
|
280
|
+
"_comment": "Project-specific overrides for agent behavior",
|
|
281
|
+
"code_style": {
|
|
282
|
+
"indent": 2,
|
|
283
|
+
"quotes": "double",
|
|
284
|
+
"trailing_comma": true,
|
|
285
|
+
"line_length": 100
|
|
286
|
+
},
|
|
287
|
+
"git": {
|
|
288
|
+
"branch_pattern": "feat/<agent>/<short-description>",
|
|
289
|
+
"commit_pattern": "<type>(<agent>): <description>",
|
|
290
|
+
"require_pr_review": true
|
|
291
|
+
},
|
|
292
|
+
"environments": {
|
|
293
|
+
"development": { "auto_seed_db": true, "mock_external_services": true },
|
|
294
|
+
"staging": { "auto_seed_db": false, "mock_external_services": false },
|
|
295
|
+
"production": { "read_only_agents": ["qa", "docs", "data"] }
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
> Collaborative changelog written by all agents. Append only — never delete entries.
|
|
4
|
+
> Use `/report <agent> <summary>` to add entries.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Entry Format
|
|
9
|
+
|
|
10
|
+
```markdown
|
|
11
|
+
## [YYYY-MM-DD] — <Agent>
|
|
12
|
+
### <Type>: <Short title>
|
|
13
|
+
- **What**: <what was done>
|
|
14
|
+
- **Why**: <motivation>
|
|
15
|
+
- **Impact**: <what changes for other agents>
|
|
16
|
+
- **Files**: <list of files>
|
|
17
|
+
- **Model used**: <lite|standard|heavy>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Types: `feat` | `fix` | `chore` | `docs` | `security` | `perf` | `refactor` | `test` | `infra`
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## [YYYY-MM-DD] — init
|
|
25
|
+
### chore: HiveMind Protocol repository initialized
|
|
26
|
+
- **What**: Created HiveMind Protocol template structure with 12 agent profiles, shared memory system, tools catalog, and reports infrastructure
|
|
27
|
+
- **Why**: Establish a multi-agent development framework for consistent AI-assisted development
|
|
28
|
+
- **Impact**: All agents can now be initialized and begin working with shared memory and structured protocols
|
|
29
|
+
- **Files**: All files in `agents/`, `memory/`, `tools/`, `reports/`, `CLAUDE.md`, `project.json`
|
|
30
|
+
- **Model used**: standard
|
|
31
|
+
|
|
32
|
+
<!-- Add new entries above this line, newest first -->
|