pantheon-opencode 1.0.1 → 1.0.6
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/README.md +61 -109
- package/bin/pantheon-init.mjs +57 -136
- package/commands/pantheon-audit.md +1 -1
- package/commands/pantheon-deepwork.md +32 -81
- package/commands/pantheon-reflect.md +16 -0
- package/commands/pantheon-status.md +1 -1
- package/commands/pantheon-verify.md +17 -0
- package/opencode.json +25 -0
- package/package.json +20 -9
- package/scripts/ci-validate-yaml.py +19 -0
- package/scripts/doctor.mjs +10 -65
- package/scripts/install/opencode.mjs +69 -6
- package/scripts/install/shared.mjs +39 -13
- package/scripts/manifest.mjs +5 -30
- package/scripts/postinstall.mjs +47 -0
- package/scripts/release-bundle.mjs +2 -2
- package/scripts/uninstall.mjs +5 -5
- package/scripts/validate-routing.mjs +19 -16
- package/scripts/versioning.mjs +12 -1
- package/skills-lock.json +9 -2
- package/src/agents/aphrodite.md +15 -57
- package/src/agents/apollo.md +9 -48
- package/src/agents/athena.md +17 -54
- package/src/agents/demeter.md +10 -47
- package/src/agents/gaia.md +7 -40
- package/src/agents/hephaestus.md +9 -52
- package/src/agents/hermes.md +17 -52
- package/src/agents/iris.md +8 -45
- package/src/agents/mnemosyne.md +12 -47
- package/src/agents/nyx.md +8 -45
- package/src/agents/prometheus.md +11 -49
- package/src/agents/talos.md +6 -45
- package/src/agents/themis.md +10 -35
- package/src/agents/zeus.md +5 -7
- package/src/mcp/mcp_resources_server.py +2 -0
- package/src/plugins/tui/dist/tui.tsx +203 -93
- package/src/plugins/tui/src/index.tsx +203 -93
- package/src/routing.yml +33 -93
- package/src/skills/clonedeps/SKILL.md +45 -0
- package/src/skills/codemap/SKILL.md +47 -0
- package/src/skills/loop-engineering/SKILL.md +51 -0
- package/src/skills/reflect/SKILL.md +49 -0
- package/src/skills/simplify/SKILL.md +39 -0
- package/src/skills/verification-planning/SKILL.md +52 -0
- package/src/skills/worktrees/SKILL.md +43 -0
- package/commands/pantheon-bg.md +0 -10
- package/commands/pantheon-consolidate.md +0 -11
- package/commands/pantheon-doc.md +0 -10
- package/commands/pantheon-hash.md +0 -11
- package/commands/pantheon-todo.md +0 -11
- package/docs/AGENT-MCP.md +0 -194
- package/docs/ARCHITECTURE.md +0 -384
- package/docs/BRANCH-PROTECTION.md +0 -142
- package/docs/INDEX.md +0 -81
- package/docs/INSTALLATION.md +0 -217
- package/docs/MCP.md +0 -238
- package/docs/MEMORY.md +0 -471
- package/docs/MIGRATION-MEMORY-BANK.md +0 -139
- package/docs/PLATFORMS.md +0 -5
- package/docs/QUICKSTART.md +0 -49
- package/docs/README.md +0 -18
- package/docs/RELEASING.md +0 -256
- package/docs/SETUP.md +0 -5
- package/docs/UPGRADING.md +0 -41
- package/docs/mcp-recommendations.md +0 -439
- package/docs/mcp-tools.md +0 -156
- package/docs/mcp-user-guide.md +0 -204
- package/docs/persistence-mcp.md +0 -111
- package/scripts/init-pantheon-mcp.sh +0 -118
- package/scripts/install.mjs +0 -26
- package/src/instructions/documentation-standards.instructions.md +0 -53
- package/src/mcp/init-pantheon-mcp.sh +0 -118
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codemap
|
|
3
|
+
description: Generates hierarchical repository maps so agents understand codebase structure without re-reading every file
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Codemap
|
|
7
|
+
|
|
8
|
+
Generate a hierarchical map of the codebase to understand its structure, key modules, and entry points.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Starting work on an unfamiliar codebase
|
|
13
|
+
- Before planning a cross-cutting change
|
|
14
|
+
- After significant refactoring
|
|
15
|
+
- When you need to understand module boundaries
|
|
16
|
+
|
|
17
|
+
## How to Generate
|
|
18
|
+
|
|
19
|
+
1. **Top-level structure**: List directories, entry points, config files
|
|
20
|
+
2. **Module boundaries**: Identify public APIs, internal modules, shared utilities
|
|
21
|
+
3. **Data flow**: Trace how data moves between layers
|
|
22
|
+
4. **Output**: Structured markdown with hierarchy, purpose, and key files per module
|
|
23
|
+
|
|
24
|
+
## Format
|
|
25
|
+
|
|
26
|
+
```markdown
|
|
27
|
+
# Codemap: <project-name>
|
|
28
|
+
|
|
29
|
+
## Structure
|
|
30
|
+
<top-level tree>
|
|
31
|
+
|
|
32
|
+
## Modules
|
|
33
|
+
| Module | Purpose | Key Files | Entry Points |
|
|
34
|
+
|--------|---------|-----------|--------------|
|
|
35
|
+
|
|
36
|
+
## Data Flow
|
|
37
|
+
<description of how data moves through the system>
|
|
38
|
+
|
|
39
|
+
## Dependencies
|
|
40
|
+
| External | Purpose | Version |
|
|
41
|
+
|----------|---------|---------|
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Rules
|
|
45
|
+
- Focus on structure, not implementation details
|
|
46
|
+
- Max 3 levels deep unless a module is critical
|
|
47
|
+
- Return to agent: "Codemap generated. Send to @athena for planning."
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: loop-engineering
|
|
3
|
+
description: Iterative refinement pattern for complex problems — solve, review, improve, repeat in controlled cycles
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Loop Engineering
|
|
7
|
+
|
|
8
|
+
Controlled iterative refinement for complex problems. Each loop tightens the solution without expanding scope.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Algorithm design with multiple valid approaches
|
|
13
|
+
- Performance optimization (measure → change → measure)
|
|
14
|
+
- API design that needs ergonomic feedback
|
|
15
|
+
- Complex business logic with edge cases
|
|
16
|
+
- UI/UX refinement cycles
|
|
17
|
+
|
|
18
|
+
## Loop Structure
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
Loop 1: Baseline → Implement simplest working version
|
|
22
|
+
↓ review
|
|
23
|
+
Loop 2: Improve → Optimize for <metric>
|
|
24
|
+
↓ review
|
|
25
|
+
Loop 3: Polish → Edge cases, error handling, DX
|
|
26
|
+
↓ review
|
|
27
|
+
Done
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Per-Loop Rules
|
|
31
|
+
|
|
32
|
+
| Phase | Max Duration | Focus | Skip If |
|
|
33
|
+
|-------|-------------|-------|---------|
|
|
34
|
+
| Baseline | 3 turns | Working solution | Problem is well-understood |
|
|
35
|
+
| Improve | 5 turns | Performance/quality | Baseline meets requirements |
|
|
36
|
+
| Polish | 3 turns | Edge cases, DX | Change is internal/non-user-facing |
|
|
37
|
+
|
|
38
|
+
## Termination Conditions
|
|
39
|
+
|
|
40
|
+
Stop looping when:
|
|
41
|
+
- Acceptance criteria are met
|
|
42
|
+
- 3 loops completed
|
|
43
|
+
- Diminishing returns: last loop improved < 10%
|
|
44
|
+
- @themis blocks and recommends a different approach
|
|
45
|
+
|
|
46
|
+
## Rules
|
|
47
|
+
- Max 3 loops per task (hard limit)
|
|
48
|
+
- Each loop must have a clear success/fail gate
|
|
49
|
+
- After loop 3: stop and deliver regardless of perfection
|
|
50
|
+
- Escalate to @zeus if task needs more than 3 loops
|
|
51
|
+
- Document what was learned in each loop for @mnemosyne
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reflect
|
|
3
|
+
description: Turns repeated workflow friction into reusable skills, agents, or configuration improvements
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Reflect
|
|
7
|
+
|
|
8
|
+
After completing a task, reflect on what could be improved in the workflow itself. Turn recurring patterns into reusable assets.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- After completing a complex feature
|
|
13
|
+
- When you notice the same manual steps repeating
|
|
14
|
+
- After debugging something that should have been automated
|
|
15
|
+
- At the end of a work session
|
|
16
|
+
|
|
17
|
+
## Reflection Checklist
|
|
18
|
+
|
|
19
|
+
| Question | If Yes → |
|
|
20
|
+
|----------|----------|
|
|
21
|
+
| Did I repeat the same search 3+ times? | → Create a command or skill |
|
|
22
|
+
| Did I follow the same steps manually? | → Create a recipe/checklist |
|
|
23
|
+
| Did I debug something preventable? | → Add a lint rule or test |
|
|
24
|
+
| Did I context-switch between tools? | → Create an automation script |
|
|
25
|
+
| Did I need info I didn't have? | → Add to memory-bank or instructions |
|
|
26
|
+
|
|
27
|
+
## Output
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
## Reflection
|
|
31
|
+
|
|
32
|
+
### What went well
|
|
33
|
+
- ...
|
|
34
|
+
|
|
35
|
+
### What was friction
|
|
36
|
+
- ... (3+ repeats = automation opportunity)
|
|
37
|
+
|
|
38
|
+
### Action Items
|
|
39
|
+
- [ ] Create skill: <name>
|
|
40
|
+
- [ ] Add instruction: <topic>
|
|
41
|
+
- [ ] Update agent: <agent-name>
|
|
42
|
+
- [ ] Add test: <scenario>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Rules
|
|
46
|
+
- Be specific: "Searched for auth patterns 4x" not "too much searching"
|
|
47
|
+
- One action item per friction point
|
|
48
|
+
- Escalate to @mnemosyne for memory-bank updates
|
|
49
|
+
- At end: "Reflection complete. Action items created."
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: simplify
|
|
3
|
+
description: Behavior-preserving code simplification for readability, maintainability, and reduced complexity
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Simplify
|
|
7
|
+
|
|
8
|
+
Simplify code while preserving its exact behavior. Focus on reducing complexity without changing semantics.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Functions with high cyclomatic complexity
|
|
13
|
+
- Deeply nested conditionals
|
|
14
|
+
- Overly abstracted code (YAGNI violations)
|
|
15
|
+
- Duplicated logic that can be consolidated
|
|
16
|
+
- Over-engineered solutions
|
|
17
|
+
|
|
18
|
+
## Simplification Patterns
|
|
19
|
+
|
|
20
|
+
| Pattern | Before | After |
|
|
21
|
+
|---------|--------|-------|
|
|
22
|
+
| Extract method | Large function | Focused functions |
|
|
23
|
+
| Consolidate conditionals | Nested ifs | Guard clauses |
|
|
24
|
+
| Remove dead code | Unused params/vars | Clean signatures |
|
|
25
|
+
| Inline abstraction | 1-use wrappers | Direct calls |
|
|
26
|
+
| Simplify state | Mutable state | Pure functions |
|
|
27
|
+
|
|
28
|
+
## Verification
|
|
29
|
+
|
|
30
|
+
After each simplification:
|
|
31
|
+
1. Run tests (`pytest`, `npm test`)
|
|
32
|
+
2. Verify no behavior change
|
|
33
|
+
3. If no tests exist: add minimal characterization tests first
|
|
34
|
+
|
|
35
|
+
## Rules
|
|
36
|
+
- Never change public API signatures without explicit approval
|
|
37
|
+
- One simplification pass per function, then verify
|
|
38
|
+
- If tests fail: revert and try a different approach
|
|
39
|
+
- Escalate to @themis if simplification touches 5+ files
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verification-planning
|
|
3
|
+
description: Plans an evidence path before non-trivial changes, ensuring changes are testable and verifiable
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verification Planning
|
|
7
|
+
|
|
8
|
+
Before making non-trivial changes, plan how you'll verify correctness. Define the evidence needed to confirm the change works.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Before any change that touches 3+ files
|
|
13
|
+
- Before database migrations or schema changes
|
|
14
|
+
- Before API contract changes
|
|
15
|
+
- Before dependency upgrades
|
|
16
|
+
- Before refactoring critical paths
|
|
17
|
+
|
|
18
|
+
## Plan Structure
|
|
19
|
+
|
|
20
|
+
```markdown
|
|
21
|
+
## Verification Plan
|
|
22
|
+
|
|
23
|
+
### Change Scope
|
|
24
|
+
- Files to modify: <list>
|
|
25
|
+
- Risk level: <low|medium|high>
|
|
26
|
+
|
|
27
|
+
### Verification Strategy
|
|
28
|
+
| What to verify | How to verify | Tool/Command | Expected Outcome |
|
|
29
|
+
|----------------|---------------|-------------|------------------|
|
|
30
|
+
|
|
31
|
+
### Rollback Plan
|
|
32
|
+
- <how to revert if something goes wrong>
|
|
33
|
+
|
|
34
|
+
### Acceptance Criteria
|
|
35
|
+
- [ ] All existing tests pass
|
|
36
|
+
- [ ] New tests cover changed paths
|
|
37
|
+
- [ ] No regression in <critical metric>
|
|
38
|
+
- [ ] Rollback tested
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Risk Levels
|
|
42
|
+
|
|
43
|
+
| Level | Triggers | Verification Required |
|
|
44
|
+
|-------|----------|----------------------|
|
|
45
|
+
| Low | 1-2 files, bounded scope | Existing tests pass |
|
|
46
|
+
| Medium | 3-5 files, shared logic | New tests for changed paths |
|
|
47
|
+
| High | 5+ files, schema/API changes | Full plan + rollback test |
|
|
48
|
+
|
|
49
|
+
## Rules
|
|
50
|
+
- Verification plan must be approved by @themis before implementation
|
|
51
|
+
- Low risk: inline verification (1-2 lines in the task description)
|
|
52
|
+
- Escalate to @athena if verification plan reveals unknown scope
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: worktrees
|
|
3
|
+
description: Git worktrees as safe, isolated coding lanes for risky or parallel work without affecting the main workspace
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Worktrees
|
|
7
|
+
|
|
8
|
+
Use git worktrees to create isolated working directories for parallel or experimental changes.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
- Working on 2+ features simultaneously
|
|
13
|
+
- Risky refactoring that shouldn't affect the main workspace
|
|
14
|
+
- Reviewing a PR while keeping current work intact
|
|
15
|
+
- Running long-lived experiments
|
|
16
|
+
|
|
17
|
+
## Setup
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Create a worktree
|
|
21
|
+
git worktree add ../project-feature-x feature-x
|
|
22
|
+
|
|
23
|
+
# List worktrees
|
|
24
|
+
git worktree list
|
|
25
|
+
|
|
26
|
+
# Remove a worktree
|
|
27
|
+
git worktree remove ../project-feature-x
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Workflow
|
|
31
|
+
|
|
32
|
+
1. Create worktree: `git worktree add ../<name> <branch>`
|
|
33
|
+
2. Work in the worktree directory
|
|
34
|
+
3. Commit and push from within the worktree
|
|
35
|
+
4. Clean up: `git worktree remove ../<name>`
|
|
36
|
+
5. Delete branch if no longer needed
|
|
37
|
+
|
|
38
|
+
## Rules
|
|
39
|
+
- Never create worktrees inside the main project directory
|
|
40
|
+
- Name worktrees descriptively: `../project-auth-refactor`
|
|
41
|
+
- Remove worktrees when done (they consume disk space)
|
|
42
|
+
- Worktrees share the same git history — pushing from a worktree is the same as pushing from main
|
|
43
|
+
- Escalate to @iris for branch management if unsure
|
package/commands/pantheon-bg.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "List background tasks and their status"
|
|
3
|
-
agent: zeus
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
List all active background subagent tasks:
|
|
7
|
-
|
|
8
|
-
1. Query `task_status()` for any running task IDs
|
|
9
|
-
2. Show task_id, agent type, timestamp, and state
|
|
10
|
-
3. Keep the user informed of progress
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Merge and consolidate memory entries"
|
|
3
|
-
agent: zeus
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Merge related memory entries and consolidate duplicates:
|
|
7
|
-
|
|
8
|
-
1. Search for related memories via memory_search
|
|
9
|
-
2. Merge overlapping entries
|
|
10
|
-
3. Remove duplicates via memory_forget
|
|
11
|
-
4. Store consolidated entry via memory_store
|
package/commands/pantheon-doc.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Generate or update project documentation"
|
|
3
|
-
agent: zeus
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Generate or update project documentation:
|
|
7
|
-
|
|
8
|
-
1. Check ADRs in `.pantheon/memory-bank/`
|
|
9
|
-
2. Update INSTALLATION.md, README.md, CHANGELOG.md
|
|
10
|
-
3. Use @mnemosyne for memory bank documentation
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Track file changes via content hashing"
|
|
3
|
-
agent: zeus
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Track file modifications using SHA-256 hashes:
|
|
7
|
-
|
|
8
|
-
1. Hash all files before edits: kv_store("hash:<path>", sha256(content))
|
|
9
|
-
2. After edits, compare: kv_get("hash:<path>") vs new hash
|
|
10
|
-
3. Report which files changed and by how much
|
|
11
|
-
4. Useful for audit trail and change detection
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Enforce TODO tracking across agents and sessions"
|
|
3
|
-
agent: zeus
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Track and enforce TODO items:
|
|
7
|
-
|
|
8
|
-
1. Read current todos via session.todo()
|
|
9
|
-
2. Cross-reference with kv_store("todo:..." entries
|
|
10
|
-
3. Flag stale or overdue items
|
|
11
|
-
4. Suggest next actions for each TODO
|
package/docs/AGENT-MCP.md
DELETED
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
# Per-Agent MCP Reference
|
|
2
|
-
|
|
3
|
-
How each Pantheon agent uses the 3 built-in MCP servers (pantheon-resources,
|
|
4
|
-
pantheon-code-mode, pantheon-memory) plus the optional third-party servers.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Overview Matrix
|
|
9
|
-
|
|
10
|
-
| Agent | Resources | Code-Mode | Memory | context7 | playwright |
|
|
11
|
-
|-------|-----------|-----------|--------|----------|------------|
|
|
12
|
-
| **zeus** | ✅ routing, deepwork | ✅ orchestration | ✅ recall | — | — |
|
|
13
|
-
| **athena** | ✅ agents, routing | ✅ research | ✅ recall | ✅ | — |
|
|
14
|
-
| **apollo** | ✅ agents, skills | ✅ — | ✅ search | ✅ | — |
|
|
15
|
-
| **hermes** | ✅ agents, skills | ✅ build/test | ✅ store, recall | ✅ | ✅ |
|
|
16
|
-
| **aphrodite** | ✅ memory-bank | ✅ build | ✅ store, recall | ✅ | ✅ |
|
|
17
|
-
| **demeter** | ✅ agents, routing | ✅ — | ✅ store, recall | ✅ | — |
|
|
18
|
-
| **themis** | ✅ agents | ✅ lint checks | ✅ search | ✅ | ✅ |
|
|
19
|
-
| **prometheus** | ✅ agents, routing | ✅ deploy scripts | ✅ store, recall | ✅ | — |
|
|
20
|
-
| **hephaestus** | ✅ agents, skills | ✅ — | ✅ search, link | ✅ | — |
|
|
21
|
-
| **nyx** | ✅ routing | ✅ — | ✅ sessions | ✅ | — |
|
|
22
|
-
| **gaia** | ✅ agents | — | minimal | ✅ | — |
|
|
23
|
-
| **iris** | ✅ agents | — | minimal | — | — |
|
|
24
|
-
| **mnemosyne** | ✅ memory-bank | ✅ — | ✅ full (store, recall, export) | — | — |
|
|
25
|
-
| **talos** | ✅ agents, skills | ✅ hotfix scripts | ✅ recall | ✅ | — |
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## pantheon-resources Usage by Agent
|
|
30
|
-
|
|
31
|
-
| Agent | Resources Used | When | Purpose |
|
|
32
|
-
|-------|---------------|------|---------|
|
|
33
|
-
| **zeus** | `pantheon://routing`, `pantheon://deepwork/{slug}`, `pantheon://agents` | Orchestration | Read routing rules, check deepwork plan/status |
|
|
34
|
-
| **athena** | `pantheon://routing`, `pantheon://agents`, `pantheon://skills/{name}` | Planning | Understand delegation rules, load agent roles |
|
|
35
|
-
| **apollo** | `pantheon://agents`, `pantheon://skills` | Discovery | Identify agents to search for, load domain skills |
|
|
36
|
-
| **hermes** | `pantheon://agents`, `pantheon://skills` | Implementation | Read backend skill instructions |
|
|
37
|
-
| **aphrodite** | `pantheon://memory-bank/{path}` | Frontend work | Read memory bank for architecture context |
|
|
38
|
-
| **demeter** | `pantheon://agents`, `pantheon://routing` | Database work | Understand delegation flow for handoffs |
|
|
39
|
-
| **themis** | `pantheon://agents` | Review | Verify agent capabilities match reviewed code |
|
|
40
|
-
| **prometheus** | `pantheon://agents`, `pantheon://routing` | Infrastructure | Check deployment routing constraints |
|
|
41
|
-
| **hephaestus** | `pantheon://agents`, `pantheon://skills` | AI pipelines | Load RAG pipeline skill instructions |
|
|
42
|
-
| **nyx** | `pantheon://routing` | Monitoring | Read routing rules for anomaly detection |
|
|
43
|
-
| **gaia** | `pantheon://agents` | Remote sensing | Verify agent capabilities |
|
|
44
|
-
| **iris** | `pantheon://agents` | GitHub ops | Reference agent names for PR/issue |
|
|
45
|
-
| **mnemosyne** | `pantheon://memory-bank/{path}` | Documentation | Read and write memory bank files |
|
|
46
|
-
| **talos** | `pantheon://agents`, `pantheon://skills` | Hotfixes | Quick reference to agent files |
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## pantheon-code-mode Usage by Agent
|
|
51
|
-
|
|
52
|
-
| Agent | Use Case | When |
|
|
53
|
-
|-------|----------|------|
|
|
54
|
-
| **zeus** | Run orchestration sequences — build, test, deploy automation | Multi-phase orchestration |
|
|
55
|
-
| **athena** | Run research automation scripts | During planning phase |
|
|
56
|
-
| **apollo** | Execute automated codebase scanners | Discovery phase |
|
|
57
|
-
| **hermes** | Run `pytest`, `ruff check`, `ruff format` | After implementation, before handoff to Themis |
|
|
58
|
-
| **aphrodite** | Run `npm test`, `biome check` | After implementation, before handoff |
|
|
59
|
-
| **demeter** | Run `pytest` on migration tests | After migration implementation |
|
|
60
|
-
| **themis** | Run lint/quality check scripts during review | Code review phase |
|
|
61
|
-
| **prometheus** | Deploy scripts, Docker builds, CI triggers | Infrastructure phase |
|
|
62
|
-
| **hephaestus** | Run evaluation scripts for AI pipelines | Post-implementation |
|
|
63
|
-
| **talos** | Automated hotfix sequences, batch fixes | Rapid repair |
|
|
64
|
-
|
|
65
|
-
Agents not listed (**gaia**, **iris**, **nyx**, **mnemosyne**) typically do not
|
|
66
|
-
need script execution for their core workflows.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## pantheon-memory Usage by Agent
|
|
71
|
-
|
|
72
|
-
| Agent | Key Tools | When | Why |
|
|
73
|
-
|-------|-----------|------|-----|
|
|
74
|
-
| **zeus** | `memory_recall` | Session start | Recall context about active sprint and decisions |
|
|
75
|
-
| **athena** | `memory_recall` | Planning | Recall past architecture decisions and plans |
|
|
76
|
-
| **apollo** | `memory_search` | Discovery | Search for existing patterns and related files |
|
|
77
|
-
| **hermes** | `memory_store`, `memory_recall`, `memory_search` | Throughout | Store implementation decisions, recall backend patterns |
|
|
78
|
-
| **aphrodite** | `memory_store`, `memory_recall`, `memory_search` | Throughout | Store UI decisions, recall component patterns |
|
|
79
|
-
| **demeter** | `memory_store`, `memory_recall` | Throughout | Store schema decisions, recall migration patterns |
|
|
80
|
-
| **themis** | `memory_search` | Review | Search for past review findings |
|
|
81
|
-
| **prometheus** | `memory_store`, `memory_recall` | Throughout | Store infra decisions, recall deployment patterns |
|
|
82
|
-
| **hephaestus** | `memory_search`, `memory_link` | Throughout | Search for relevant RAG patterns, link AI pipeline decisions |
|
|
83
|
-
| **nyx** | `memory_sessions` | Monitoring | List sessions for observability analysis |
|
|
84
|
-
| **gaia** | `memory_recall` | Session start | Recall analysis context from previous sessions |
|
|
85
|
-
| **iris** | `memory_recall` | Session start | Recall PR/release context |
|
|
86
|
-
| **mnemosyne** | All 14 tools | Documentation | Full memory management — store, recall, export, consolidate |
|
|
87
|
-
| **talos** | `memory_recall` | Session start | Recall hotfix context for rapid fixes |
|
|
88
|
-
|
|
89
|
-
### Recommended Tool Sequences by Agent
|
|
90
|
-
|
|
91
|
-
**Zeus** (orchestration):
|
|
92
|
-
```
|
|
93
|
-
memory_recall(context="current sprint context") → start orchestration
|
|
94
|
-
memory_recall(context="planning user auth feature") → delegate to Athena
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
**Hermes** (backend implementation):
|
|
98
|
-
```
|
|
99
|
-
memory_recall(context="implementing JWT authentication") → recall prior decisions
|
|
100
|
-
...implement...
|
|
101
|
-
memory_store(content="JWT uses refresh token rotation", category="decision", importance=0.9)
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
**Mnemosyne** (memory steward — deepest integration):
|
|
105
|
-
```
|
|
106
|
-
memory_recall(context="documenting sprint close") → check active context
|
|
107
|
-
memory_export(session_id="sprint-17") → export for archival
|
|
108
|
-
memory_consolidate() → deduplicate before close
|
|
109
|
-
memory_compress(session_id="sprint-17") → compress old entries
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## Third-Party MCP Usage
|
|
115
|
-
|
|
116
|
-
### context7 (Library Documentation)
|
|
117
|
-
|
|
118
|
-
Used by **11 agents** for up-to-date library docs:
|
|
119
|
-
|
|
120
|
-
| Agent | Libraries |
|
|
121
|
-
|-------|-----------|
|
|
122
|
-
| **hermes** | FastAPI, Pydantic, SQLAlchemy |
|
|
123
|
-
| **aphrodite** | React, Next.js, Tailwind |
|
|
124
|
-
| **demeter** | SQLAlchemy, Alembic |
|
|
125
|
-
| **hephaestus** | LangChain, LangGraph |
|
|
126
|
-
| **themis** | Pydantic, FastAPI (security review context) |
|
|
127
|
-
| **athena** | General (any framework during planning) |
|
|
128
|
-
| **prometheus** | Docker, Docker Compose |
|
|
129
|
-
| **gaia** | Scientific Python (rasterio, xarray, numpy) |
|
|
130
|
-
| **nyx** | OpenTelemetry |
|
|
131
|
-
| **apollo** | General (any library during discovery) |
|
|
132
|
-
| **zeus** | General (any library during orchestration) |
|
|
133
|
-
|
|
134
|
-
> **Note:** Exa MCP was removed in v3.15.0. Use the built-in `websearch` tool instead.
|
|
135
|
-
|
|
136
|
-
### playwright (Browser Automation)
|
|
137
|
-
|
|
138
|
-
Used by **3 agents**:
|
|
139
|
-
|
|
140
|
-
| Agent | Use Case |
|
|
141
|
-
|-------|----------|
|
|
142
|
-
| **aphrodite** | Visual review pipeline — screenshots, accessibility snapshots |
|
|
143
|
-
| **themis** | Visual regression checking during review |
|
|
144
|
-
| **hermes** | API response verification via browser (edge cases) |
|
|
145
|
-
|
|
146
|
-
---
|
|
147
|
-
|
|
148
|
-
## MCP Config in Agent Frontmatter
|
|
149
|
-
|
|
150
|
-
Each agent template (`agents/*.agent.md`) declares its MCP bindings in YAML
|
|
151
|
-
frontmatter:
|
|
152
|
-
|
|
153
|
-
```yaml
|
|
154
|
-
---
|
|
155
|
-
mcpServers:
|
|
156
|
-
- name: pantheon-resources
|
|
157
|
-
tools:
|
|
158
|
-
- read_mcp_resource
|
|
159
|
-
when: "reading agent/skills/routing info"
|
|
160
|
-
- name: pantheon-memory
|
|
161
|
-
tools:
|
|
162
|
-
- memory_recall
|
|
163
|
-
- memory_store
|
|
164
|
-
- memory_search
|
|
165
|
-
when: "persistent memory access"
|
|
166
|
-
- name: context7
|
|
167
|
-
tools:
|
|
168
|
-
- context7_resolve-library-id
|
|
169
|
-
- context7_query-docs
|
|
170
|
-
when: "resolving library documentation"
|
|
171
|
-
---
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### Rules
|
|
175
|
-
|
|
176
|
-
- Maximum 5 MCPs per agent
|
|
177
|
-
- `tools` lists the specific MCP tools the agent can access
|
|
178
|
-
- `when` describes the activation condition
|
|
179
|
-
- Third-party MCPs require explicit `env` config with `${VAR}` interpolation
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
## Security Notes
|
|
184
|
-
|
|
185
|
-
| Server | Risk Level | Notes |
|
|
186
|
-
|--------|-----------|-------|
|
|
187
|
-
| **pantheon-resources** | Low | Read-only. Same trust boundary as repository |
|
|
188
|
-
| **pantheon-code-mode** | Medium | Executes scripts. Permission: `ask` (user confirms each execution) |
|
|
189
|
-
| **pantheon-memory** | Low | Read/write within agent sandbox. No system access |
|
|
190
|
-
| **context7** | Low | Read-only library documentation. No auth needed |
|
|
191
|
-
| ~~exa~~ | *Removed in v3.15.0* | Use `websearch` tool instead |
|
|
192
|
-
| **playwright** | Medium | Runs headless Chromium. Permission: `ask` recommended |
|
|
193
|
-
|
|
194
|
-
See `skill: mcp-security` for complete MCP security rules.
|