pantheon-opencode 1.0.7 → 1.1.1-beta.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/AGENTS.md CHANGED
@@ -25,7 +25,7 @@ This project uses the Pantheon multi-agent framework with 14 specialized agents.
25
25
 
26
26
  See [INSTALLATION.md](docs/INSTALLATION.md) for setup instructions.
27
27
 
28
- - Build: `npm run build`
28
+ - Build: `npm test`
29
29
  - Test: `npm test`
30
30
  - Lint: `npm run lint`
31
31
 
package/README.md CHANGED
@@ -1,19 +1,13 @@
1
- <p align="center">
2
- <img src="images/logo.png" alt="Pantheon Logo" width="500"/>
3
- </p>
4
1
 
5
2
  <h1 align="center">Pantheon</h1>
6
3
 
7
4
  <p align="center">
8
5
  <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-v1.0.0-blue" alt="Version"></a>
9
6
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="License"></a>
10
- <a href="docs/platforms/"><img src="https://img.shields.io/badge/platforms-opencode-green" alt="Platforms"></a>
11
- <a href="agents/README.md"><img src="https://img.shields.io/badge/agents-14-purple" alt="Agents"></a>
12
- <a href="skills/README.md"><img src="https://img.shields.io/badge/skills-14-orange" alt="Skills"></a>
13
- <a href="commands/"><img src="https://img.shields.io/badge/commands-14-red" alt="Commands"></a>
14
- <a href="docs/platforms/"><img src="https://img.shields.io/badge/built%20with-opencode-8250DF" alt="Built with"></a>
7
+ <a href="src/agents/README.md"><img src="https://img.shields.io/badge/agents-14-purple" alt="Agents"></a>
8
+ <a href="src/skills/README.md"><img src="https://img.shields.io/badge/skills-21-orange" alt="Skills"></a>
9
+ <a href="commands/"><img src="https://img.shields.io/badge/commands-11-red" alt="Commands"></a>
15
10
  <a href="https://github.com/ils15/pantheon/actions"><img src="https://img.shields.io/github/actions/workflow/status/ils15/pantheon/ci.yml?branch=main&label=CI" alt="CI"></a>
16
- <a href="https://github.com/ils15/pantheon/actions"><img src="https://img.shields.io/github/actions/workflow/status/ils15/pantheon/release.yml?branch=main&label=release" alt="Release"></a>
17
11
  </p>
18
12
 
19
13
  **14 specialized AI agents** that plan, build, review, and deploy features through enforced TDD, persistent project memory, and human approval at every gate.
@@ -24,34 +18,18 @@ Supports **OpenCode** — multi-agent orchestration for your editor.
24
18
 
25
19
  ---
26
20
 
27
- ## 📋 v1.0 Changelog
28
-
29
- | Sprint | Feature |
30
- |--------|--------|
31
- | 1 | Memory Commands (/pantheon-remember, search, consolidate, forget) |
32
- | 2 | @pantheon/cli npm package |
33
- | 3 | Themis 2.0 (3-layer review + IntentGate) |
34
- | 4 | Background Agents + TODO Enforcer + Hash Edits |
35
- | 5 | Memory Simplification (agents read-only, WAL) |
36
- | 6 | YAGNI + Anti-overengineering (12 patterns) |
37
-
38
- **🏆 Themis audit: 100/100**
39
- **🗑️ 9 commands removed:** ping, stop-continuation, subtask, manifest, forge, mirrordeps, praxis, metamorphosis, reflect
40
- **✨ 14 commands total** — all `/pantheon-*`
41
-
42
21
  ## Quick Links
43
22
 
44
23
  | Resource | Link |
45
24
  |----------|------|
46
- | 📖 **Agent Reference** | [agents/README.md](agents/README.md) — all 14 agents |
47
- | 📖 **Skills Reference** | [skills/README.md](skills/README.md) — all 14 skills |
25
+ | 📖 **Agent Reference** | [src/agents/README.md](src/agents/README.md) — all 14 agents |
26
+ | 📖 **Skills Reference** | [src/skills/README.md](src/skills/README.md) — all 21 skills |
48
27
  | 🚀 **Installation Guide** | [docs/INSTALLATION.md](docs/INSTALLATION.md) |
49
- | 🔌 **MCP Servers** | [docs/mcp-recommendations.md](docs/mcp-recommendations.md) — recommended MCP servers for each project type |
28
+ | 🔌 **MCP Server Guide** | [docs/mcp-recommendations.md](docs/mcp-recommendations.md) — recommended MCP servers for each project type |
50
29
  | 🔌 **MCP Tool Registry** | [docs/mcp-tools.md](docs/mcp-tools.md) — canonical MCP tool reference |
51
30
  | 🔌 **MCP User Guide** | [docs/mcp-user-guide.md](docs/mcp-user-guide.md) — adding custom MCP servers |
52
- | 🗂️ **MCP Tiers** | `.pantheon/tiers.json` — 4-tier MCP selection (none/essential/recommended/full) |
53
31
  | ⚡ **Quick Start** | [docs/QUICKSTART.md](docs/QUICKSTART.md) |
54
- | ⚡ **OpenCode** | [docs/platforms/opencode.md](docs/platforms/opencode.md) |
32
+ | ⚡ **OpenCode Guide** | [docs/platforms/opencode.md](docs/platforms/opencode.md) |
55
33
 
56
34
  ---
57
35
 
@@ -316,7 +294,7 @@ Domain Specialist
316
294
  └── Gaia — remote sensing: LULC analysis, scientific literature
317
295
  ```
318
296
 
319
- > See [agents/README.md](agents/README.md) for the complete reference — each agent's
297
+ > See [src/agents/README.md](src/agents/README.md) for the complete reference — each agent's
320
298
  > tools, model assignment, behavioral rules, and invocation patterns.
321
299
 
322
300
  ### Architecture Diagram
@@ -384,60 +362,38 @@ graph TB
384
362
  style T4 fill:#1a1a1a,stroke:#2d3748,stroke-width:1px
385
363
  style T5 fill:#1a1a1a,stroke:#2d3748,stroke-width:1px
386
364
  ```
365
+ ## Memory System
387
366
 
388
- <p align="center">
389
- <img src="images/Schema.png" alt="Pantheon System Architecture" width="100%"/>
390
- </p>
391
-
392
- ---
393
-
394
- ## 🧠 Level 3 Vector Memory (v4.0)
395
-
396
- Pantheon v1.0.0 introduces a persistent two-tier memory system with semantic retrieval:
367
+ Pantheon uses a two-tier memory architecture to maintain context across sessions:
397
368
 
398
- ### Tier 1 — Auto-Indexed Memory (`/memories/repo/`)
399
- Agent memory is automatically indexed at zero token cost. Every agent writes atomic facts on discovery:
400
- - Tech stack, conventions, build commands
401
- - Architectural decisions and patterns
402
- - Cross-component relationships
369
+ | Tier | Description | Content |
370
+ |------|-------------|---------|
371
+ | **Tier 1 — Session** | Auto-managed by Zeus via agent subtask summaries | Current plans, work-in-progress, agent outputs |
372
+ | **Tier 2 — Reference** | Instruction files in `src/instructions/` | Domain standards, communication rules, protocol definitions |
403
373
 
404
- ### Tier 2 — Compressed Context (`.pantheon/memory-bank/`)
405
- On-demand compression pipeline archives completed phases into structured context:
406
- - **Priority scoring** — CRITICAL/HIGH/LOW budget allocation (deterministic, no LLM)
407
- - **ZZ artifacts** — compressed phase context for agent-to-agent handoff
408
- - **Cross-reference index** (`_xref/index.md`) — entity/decision lookup
374
+ Agent memory is automatically indexed at zero token cost — every agent writes atomic facts
375
+ on discovery (tech stack, conventions, architectural decisions). Zeus persists all agent
376
+ returns via write-ahead log, ensuring no context is lost between phases.
409
377
 
410
- ### Usage
411
- ```bash
412
- @mnemosyne Recall "<feature description>" --top-k 5 # Retrieve past decisions
413
- @mnemosyne Close sprint: "<summary>" # Archive and compress
414
- ```
415
-
416
- ### Benefits
417
- - 🚫 No more lost context between phases
418
- - 🧩 Past decisions surface automatically before planning
419
- - 💾 Zero manual memory management — agents self-index
420
- - 🔄 Lossless recovery via git
378
+ Architectural decisions are recorded as ADRs in `.pantheon/memory-bank/_notes/` and are
379
+ permanently committed to the repository.
421
380
 
422
381
  ---
423
382
 
424
383
  ## Skill Ecosystem
425
384
 
426
- Pantheon bundles **14 cross-platform skills** — modular instruction sets that agents load
385
+ Pantheon bundles **21 cross-platform skills** — modular instruction sets that agents load
427
386
  on demand to perform specialized tasks. Skills are organized into domains:
428
387
 
429
388
  | Domain | Skills |
430
389
  |---|---|
431
- | **Orchestration** | agent-coordination, artifact-management, tdd-with-agents, auto-continue, session-goal, task-system, handoff, orchestration-workflow |
432
- | **Backend & API** | api-design-patterns, fastapi-async-patterns, database-migration, database-optimization |
433
- | **Frontend** | frontend-analyzer, nextjs-seo-optimization |
434
- | **Infrastructure** | docker-best-practices, streaming-patterns, cache-strategy |
435
- | **Planning & Design** | plan-architecture, codemap, init-deep, interview, metis-gap-analysis |
436
- | **Memory & Context** | memory-bank, file-prompts, context-compression |
437
- | **Domain** | remote-sensing-analysis, internet-search |
438
- | **Utilities** | prompt-improver, agent-evaluation, agent-observability, wisdom-accumulation, simplify, test-architecture, token-audit |
439
-
440
- > See [skills/README.md](skills/README.md) for the complete reference with descriptions
390
+ | **Orchestration & Workflow** | agent-coordination, artifact-management, auto-continue, context-compression, memory-bank, orchestration-workflow, session-goal |
391
+ | **Development Tools** | clonedeps, git-workflow-and-versioning, incremental-implementation, loop-engineering, reflect, simplify, worktrees |
392
+ | **Quality & Security** | code-review-checklist, security-hardening, tdd-with-agents |
393
+ | **Planning** | codemap, spec-driven-development, verification-planning |
394
+ | **Frontend Development** | visual-review-pipeline |
395
+
396
+ > See [src/skills/README.md](src/skills/README.md) for the complete reference with descriptions
441
397
  > and usage patterns.
442
398
 
443
399
  ---
@@ -455,42 +411,6 @@ subscription (OpenCode Go, Copilot Pro, Claude Pro, etc.).
455
411
  | `coding` | Heavy coding tasks | Hermes, Aphrodite, Demeter, Prometheus, Hephaestus, Talos | DeepSeek V4 Flash, Claude Sonnet |
456
412
  | `fast` | Quick, cheap ops | Apollo, Iris, Mnemosyne, Talos, Nyx | DeepSeek V4 Flash, MiniMax M2.7, Gemini Flash |
457
413
 
458
- ### /forge — Model Presets
459
-
460
- Pantheon ships with **`/forge`** — a model configuration command that applies named presets from
461
- `built-in presets`. Each preset maps 4 tiers to concrete models across all 14 agents.
462
-
463
- **Usage:**
464
- ```
465
- /forge opencode-go ← Apply a preset (12 available)
466
- /forge default ← Reset to account defaults (no models set)
467
- /forge list ← List all available presets
468
- /forge status ← Show current model configuration
469
- /forge deepseek-flash ← Single model for all agents
470
- /forge --zeus anthropic/claude-opus-4-6 ← Override a single agent
471
- ```
472
-
473
- **Available presets:**
474
-
475
- | Preset | Premium | Default | Coding | Fast | Requires |
476
- |--------|---------|---------|--------|------|----------|
477
- | `default` | — | — | — | — | Account defaults |
478
- | `opencode-go` | DeepSeek V4 Pro | Kimi K2.6 | DeepSeek V4 Flash | MiniMax M2.7 | OpenCode Go |
479
- | `deepseek-flash` | DeepSeek V4 Flash | DeepSeek V4 Flash | DeepSeek V4 Flash | DeepSeek V4 Flash | OpenCode Go |
480
- | `kimi` | Kimi K2.6 | Kimi K2.5 | Kimi K2.6 | MiniMax M2.7 | OpenCode Go |
481
- | `qwen` | Qwen3.6 Plus | Qwen3.5 Plus | Qwen3.6 Plus | DeepSeek V4 Flash | OpenCode Go |
482
- | `opencode-co` | DeepSeek V4 Pro | Kimi K2.6 | Kimi K2.6 | MiniMax M2.7 | OpenCode Go |
483
- | `claude-pro` | Claude Opus-4 🤔 | Claude Sonnet-4 🤔 | Claude Sonnet-4 🤔 | Claude Haiku-4 🤔 | Anthropic key |
484
- | `openai` | o3 (high) | GPT-4o | GPT-4o | GPT-4o-mini | OpenAI key |
485
- | `gemini` | Gemini 3.5 Flash | Gemini 2.5 Flash | Gemini 2.5 Flash | Gemini 3.1 Flash-Lite | Google AI key |
486
- | `github-copilot` | Claude Opus-4 | GPT-4o | GPT-4o | GPT-4o-mini | Copilot ($10/m) |
487
- | `byok-best` | Claude Opus-4 🤔 | GPT-4o | GPT-4o | GPT-4o-mini | Anthropic + OpenAI |
488
- | `together-moe` | DeepSeek V4 | Llama 4 Scout | Llama 4 Scout | Llama 3.2 3B | Together key |
489
-
490
- > 🤔 = thinking habilitado
491
-
492
- Built-in presets available (opencode-go, deepseek-flash, etc.) and `docs/platforms/` for per-platform setup guides.
493
-
494
414
  ---
495
415
 
496
416
  ## Quick Start
@@ -538,25 +458,17 @@ Type these in the OpenCode chat:
538
458
 
539
459
  | Command | Description |
540
460
  |---------|-------------|
541
- | `/pantheon` | Multi-perspective synthesis (Council) via inline agents |
461
+ | `/pantheon` | Multi-perspective synthesis (Council) |
542
462
  | `/pantheon-audit` | Code review + security audit |
543
- | `/pantheon-bg` | List background tasks |
544
- | `/pantheon-consolidate` | Consolidate memory |
545
- | `/pantheon-deepwork` | Heavy multi-phase task with persisted checkpoints |
546
- | `/pantheon-doc` | Generate documentation |
463
+ | `/pantheon-deepwork` | Heavy multi-phase task |
547
464
  | `/pantheon-focus` | Pin a session goal |
548
465
  | `/pantheon-forget` | Compress/consolidate memories |
549
- | `/pantheon-hash` | Hash edit verification |
550
- | `/pantheon-optimize` | Context optimization & token audit |
466
+ | `/pantheon-optimize` | Context optimization |
467
+ | `/pantheon-reflect` | Reflect on workflow friction |
551
468
  | `/pantheon-remember` | Store in memory |
552
469
  | `/pantheon-search` | Search memory |
553
- | `/pantheon-status` | Show system health and agent status |
554
- | `/pantheon-todo` | Create and maintain task list |
555
-
556
-
557
- ### TUI Sidebar Plugin (OpenCode) — Temporarily Disabled
558
-
559
- The TUI Sidebar Plugin is currently disabled. It will be re-enabled in a future release once the TUI package compatibility is resolved. For agent discovery, use `AGENTS.md`, `agents/README.md`, or `/pantheon-status` to list all agents.
470
+ | `/pantheon-status` | System health and agent status |
471
+ | `/pantheon-verify` | Hash edit verification |
560
472
 
561
473
  ---
562
474
 
@@ -564,175 +476,74 @@ The TUI Sidebar Plugin is currently disabled. It will be re-enabled in a future
564
476
 
565
477
  ```
566
478
  pantheon/
567
- ├── README.md — this file
568
- ├── AGENTS.md — full agent reference
569
- ├── CHANGELOG.md — release history
570
- ├── CONTRIBUTING.md — how to extend
571
- ├── LICENSE — MIT
572
- ├── package.json — sync & install tooling
573
- ├── opencode.json — OpenCode platform config
574
- ├── plugin.json — marketplace plugin manifest
575
- │
576
- ├── agents/ — 14 agent definitions (.agent.md)
577
- │ ├── zeus.agent.md — orchestrator
578
- │ ├── athena.agent.md — strategic planner
579
-
580
- │ ├── apollo.agent.md — codebase & web discovery
581
- │ ├── nyx.agent.md — observability
582
- │ ├── hermes.agent.md — backend APIs
583
- │ ├── aphrodite.agent.md — frontend UI
584
- │ ├── demeter.agent.md — database
585
- │ ├── themis.agent.md — quality & security review
586
- │ ├── prometheus.agent.md — infrastructure
587
- │ ├── iris.agent.md — GitHub operations
588
- │ ├── mnemosyne.agent.md — memory & documentation
589
- │ ├── talos.agent.md — hotfixes
590
- │ ├── gaia.agent.md — remote sensing
591
- │ ├── hephaestus.agent.md — AI pipelines
592
- │ └── README.md
593
- │
594
- ├── skills/ — 14 cross-platform skill modules
595
- │ ├── README.md
596
- │ ├── agent-coordination/ * orchestration & coordination
597
- │ ├── artifact-management/
598
- │ ├── auto-continue/
599
- │ ├── handoff/
600
- │ ├── orchestration-workflow/
601
- │ ├── session-goal/
602
- │ ├── task-system/
603
- │ ├── tdd-with-agents/
604
- │ ├── api-design-patterns/ * backend & API
605
- │ ├── fastapi-async-patterns/
606
- │ ├── database-migration/
607
- │ ├── database-optimization/
608
- │ ├── frontend-analyzer/ * frontend
609
- │ ├── nextjs-seo-optimization/
610
- │ ├── rag-pipelines/ * AI pipelines
611
- │ ├── mcp-server-development/
612
- │ ├── docker-best-practices/ * infrastructure
613
- │ ├── streaming-patterns/
614
- │ ├── cache-strategy/
615
- │ ├── security-audit-pro/ * security & quality
616
- │ ├── code-review-checklist/
617
- │ ├── mcp-security/
618
- │ ├── quality-gate/
619
- │ ├── memory-bank/ * memory & context
620
- │ ├── codemap/
621
- │ ├── init-deep/
622
- │ ├── file-prompts/
623
- │ ├── context-compression/
624
- │ ├── plan-architecture/ * planning & design
625
- │ ├── interview/
626
- │ ├── metis-gap-analysis/
627
- │ ├── remote-sensing-analysis/ * domain
628
- │ ├── internet-search/
629
- │ ├── prompt-improver/ * utilities
630
- │ ├── agent-evaluation/
631
- │ ├── agent-observability/
632
- │ ├── simplify/
633
- │ ├── test-architecture/
634
- │ ├── token-audit/
635
- │ ├── wisdom-accumulation/
636
- │ └── */SKILL.md
479
+ ├── README.md
480
+ ├── AGENTS.md
481
+ ├── CHANGELOG.md
482
+ ├── CONTRIBUTING.md
483
+ ├── LICENSE
484
+ ├── package.json
485
+ ├── opencode.json
486
+ ├── plugin.json
487
+ ├── tsconfig.json
637
488
  │
638
- ├── instructions/ — 10 domain coding standards
639
- │ ├── agent-return-format.instructions.md
640
- │ ├── backend-standards.instructions.md
641
- │ ├── code-quality-checks.instructions.md
642
- │ ├── database-standards.instructions.md
643
- │ ├── documentation-standards.instructions.md
644
- │ ├── frontend-standards.instructions.md
645
- │ ├── infra-standards.instructions.md
646
- │ ├── zeus-anti-stall.instructions.md
647
- │ ├── zeus-communication-rules.instructions.md
648
- │ ├── zeus-council-synthesis.instructions.md
649
- │ └── zeus-timeout-retry.instructions.md
489
+ ├── src/
490
+ │ ├── agents/ — 14 agent definitions (.md)
491
+ │ ├── instructions/ — 9 instruction files
492
+ │ ├── skills/ — 21 skill modules (SKILL.md)
493
+ │ ├── pantheon/ — BackgroundJobBoard, auto-wake, persistence
494
+ │ ├── mcp/ — MCP server implementations
495
+ │ ├── plugins/ — OpenCode plugin integrations
496
+ │ ├── plugin.ts — OpenCode plugin entry
497
+ │ └── routing.yml — canonical routing config
650
498
  │
651
- ├── prompts/ — 13 agent invocation prompts
652
- │ ├── implement-feature.prompt.md
653
- │ ├── orchestrate-with-zeus.prompt.md
654
- │ ├── debug-issue.prompt.md
655
- │ ├── plan-architecture.prompt.md
656
- │ ├── optimize-database.prompt.md
657
- │ ├── sketch.prompt.md
658
- │ ├── focus.prompt.md
659
- │ ├── quick-discovery-large-codebase.prompt.md
660
- │ ├── quick-plan-large-feature.prompt.md
661
- │ ├── semantic-summarize.md
662
- │ ├── README.md
663
- │ └── dynamic/ * generated prompts
499
+ ├── tests/
500
+ │ ├── pantheon/ — BackgroundJobBoard + persistence tests
501
+ │ ├── integration/ — integration tests
502
+ │ └── *.py / *.mjs — pytest + Vitest test suites
664
503
  │
665
- ├── platform/ — OpenCode-only configuration
666
- │ ├── optimize-context.sh * context optimization script
667
- │ └── opencode/ * OpenCode configs
668
- │
669
- ├── scripts/ — tooling, automation & lifecycle hooks
670
- │ ├── postinstall.mjs * npm post-install hook
671
- │ ├── doctor.mjs * health check CLI
672
- │
673
- │ ├── validate-sync.mjs * sync integrity check
674
- │ └── hooks/ * agent lifecycle hooks (10 .sh scripts)
675
- │ ├── audit-imports.sh
676
- │ ├── format-multi-language.sh
677
- │ ├── log-session-start.sh
678
- │ ├── on-subagent-delegation-start.sh
679
- │ ├── on-subagent-delegation-stop.sh
680
- │ ├── run-type-check.sh
681
- │ ├── scan-secrets.sh
682
- │ ├── validate-post-conditions.sh
683
- │ ├── validate-talos-scope.sh
684
- │ └── validate-tool-safety.sh
685
- │
686
- ├── commands/ # 14 interaction commands
687
- │ ├── cancel.md
504
+ ├── commands/ — 11 interaction commands
505
+ │ ├── pantheon.md
688
506
  │ ├── pantheon-audit.md
689
507
  │ ├── pantheon-deepwork.md
690
508
  │ ├── pantheon-focus.md
691
- │ ├── pantheon-install.md
692
- │ ├── pantheon-metamorphosis.md
509
+ │ ├── pantheon-forget.md
693
510
  │ ├── pantheon-optimize.md
694
511
  │ ├── pantheon-reflect.md
695
- │ ├── pantheon-sketch.md
512
+ │ ├── pantheon-remember.md
513
+ │ ├── pantheon-search.md
696
514
  │ ├── pantheon-status.md
697
- │ ├── pantheon-update.md
698
- │ ├── pantheon.md
515
+ │ └── pantheon-verify.md
699
516
  │
700
- ├── docs/
701
- │ ├── INSTALLATION.md — generic installation guide
702
- │ ├── SETUP.md — step-by-step tutorial
703
- │ ├── PLATFORMS.md — platform comparison
704
- │ ├── RELEASING.md — versioning & release process
705
- │ ├── INDEX.md — documentation index
706
- │ ├── platforms/ — OpenCode configuration guide
707
- │ │ └── opencode.md
708
- │ └── memory-bank/ — project memory (Mnemosyne's domain)
709
- │ ├── 00-project.md * project overview
710
- │ ├── 01-active-context.md * current sprint focus (priority file)
711
- │ ├── 02-progress-log.md * completed milestones (append-only)
712
- │ ├── _notes/ * architectural decisions (ADRs)
713
- │ └── _tasks/ * sprint task records
517
+ ├── scripts/
518
+ │ ├── hooks/ — 10 agent lifecycle hooks
519
+ │ ├── vector_memory/ — Level 3 vector memory system
520
+ │ ├── versioning.mjs — release versioning
521
+ │ ├── validate-routing.mjs — routing validation
522
+ │ ├── doctor.mjs — health check CLI
523
+ │ └── ...
714
524
  │
715
- ├── template/ — project templates
716
-
717
- │ └── README.md
525
+ ├── docs/
526
+ │ ├── INSTALLATION.md
527
+ │ ├── SETUP.md
528
+ │ ├── QUICKSTART.md
529
+ │ ├── RELEASING.md
530
+ │ ├── platforms/
531
+ │ └── ...
718
532
  │
719
- ├── logs/ — agent session audit logs
533
+ ├── prompts/ — 12 invocation prompts
720
534
  │
721
535
  ├── .github/
722
536
  │ ├── copilot-instructions.md
723
- │ └── workflows/ * CI/CD workflows (9 workflows)
724
- │ ├── ci.yml * main CI pipeline
725
- │ ├── conformance-matrix.yml * automated release creation
726
- │ ├── release.yml * release workflow
727
- │ ├── release-gate.yml * version sync enforcement
728
- │ ├── pr.yml * pull request checks
729
- │ ├── commit-lint.yml * conventional commit enforcement
730
- │ ├── docs.yml * documentation build
731
- │ ├── codeql.yml * security scanning
732
- │ └── sync-check.yml * platform sync integrity
537
+ │ └── workflows/ — 7 CI/CD workflows
538
+ │ ├── ci.yml
539
+ │ ├── beta-release.yml
540
+ │ ├── auto-release.yml
541
+ │ ├── commit-lint.yml
542
+ │ ├── codeql.yml
543
+ │ ├── docs.yml
544
+ │ └── hotfix.yml
733
545
  │
734
- ├── .vscode/ — VS Code workspace settings
735
- └── node_modules/ — npm dependencies
546
+ └── .vscode/ — VS Code workspace settings
736
547
  ```
737
548
 
738
549
  ---
@@ -781,25 +592,6 @@ For trivial fixes (CSS typos, simple logic bugs), bypass the full orchestration:
781
592
 
782
593
  ---
783
594
 
784
- ## Memory System
785
-
786
- Pantheon uses a two-tier memory architecture to maintain context across sessions:
787
-
788
- | Tier | Location | Content | Access Cost |
789
- |---|---|---|---|
790
- | **Tier 1 — Native** | `/memories/repo/` | Atomic facts (stack, conventions, commands) | Zero (auto-loaded) |
791
- | **Tier 2 — Reference** | `.pantheon/memory-bank/` | Project overview, architecture, active sprint, decisions | Read cost per file |
792
- | **Session** | `/memories/session/` | Current conversation plans, work-in-progress | One read per session |
793
-
794
- `01-active-context.md` is the priority file. Agents read it first when starting any task.
795
- It contains the current sprint focus, the most recent architectural decision, active
796
- blockers, and next steps.
797
-
798
- Architectural decisions are recorded as ADRs in `.pantheon/memory-bank/_notes/` and are
799
- permanently committed to the repository.
800
-
801
- ---
802
-
803
595
  ## Documentation Maintenance
804
596
 
805
597
  **Mnemosyne is the documentation owner.** She maintains the README, CHANGELOG, memory
@@ -813,15 +605,15 @@ to Mnemosyne so counts stay accurate and consistent.
813
605
  | Agent added or removed | `@mnemosyne Update README agent count and tier overview` |
814
606
  | Skill added or removed | `@mnemosyne Update README skills table and count` |
815
607
  | Version bump | `@mnemosyne Update README version badge and CHANGELOG` |
816
- | Sprint close | `@mnemosyne Update 01-active-context.md and append to 02-progress-log.md` |
608
+ | Sprint close | `@mnemosyne Archive and compress current sprint context` |
817
609
  | Architectural decision | `@mnemosyne Document decision: [topic]` |
818
610
  | Task record needed | `@mnemosyne Create task record: [feature] complete` |
819
611
 
820
612
  ### What CI enforces automatically
821
613
 
822
- `release-gate.yml` validates that the version number is consistent across all manifests
823
- (`package.json`, `plugin.json`, `CHANGELOG.md`, and the README badge) on every release.
824
- If they diverge, the release is blocked until Mnemosyne reconciles them.
614
+ `auto-release.yml` validates version consistency across all manifests (`package.json`,
615
+ `plugin.json`, `CHANGELOG.md`, and the README badge) before publishing. If they diverge,
616
+ the release is blocked until Mnemosyne reconciles them.
825
617
 
826
618
  ### Anti-patterns
827
619
 
@@ -833,21 +625,13 @@ Edit README.md line 11: agents-17 → agents-18
833
625
  @mnemosyne Update README: added @ares agent, increment agent count to 18
834
626
  ```
835
627
 
836
- ```
837
- # Wrong — session output as files
838
- Create IMPLEMENTATION_SUMMARY.md with what we did
839
-
840
- # Right — use the memory bank
841
- @mnemosyne Append to 02-progress-log.md: [summary of what was completed]
842
- ```
843
-
844
628
  ---
845
629
 
846
630
  ## Extending the Framework
847
631
 
848
632
  ### Adding a new agent
849
633
 
850
- 1. Create `agents/<name>.agent.md` with YAML frontmatter (tools, model, handoffs)
634
+ 1. Create `src/agents/<name>.agent.md` with YAML frontmatter (tools, model, handoffs)
851
635
  2. Define behavioral rules and context boundaries
852
636
  3. Register with Zeus by adding it to his delegation list
853
637
  4. Test with a sample task
@@ -855,7 +639,7 @@ Create IMPLEMENTATION_SUMMARY.md with what we did
855
639
 
856
640
  ### Adding a new skill
857
641
 
858
- 1. Create `skills/<name>/SKILL.md` with YAML frontmatter
642
+ 1. Create `src/skills/<name>/SKILL.md` with YAML frontmatter
859
643
  2. Include 2–3 sentence overview, usage conditions, step-by-step examples
860
644
  3. Reference relevant agents in the skill body
861
645
  4. Invoke `@mnemosyne Update README skills table and count`
@@ -884,6 +668,8 @@ Create IMPLEMENTATION_SUMMARY.md with what we did
884
668
  - `log-session-start.sh` — audit trail of sessions (PostToolUse)
885
669
  - `on-subagent-delegation-stop.sh` — delegation cleanup (PostToolUse)
886
670
  - `validate-post-conditions.sh` — post-condition validation (event)
671
+ - `audit-imports.sh` — detects wildcard imports and suspicious patterns (PostToolUse)
672
+ - `run-type-check.sh` — runs mypy/tsc if config exists (PostToolUse)
887
673
 
888
674
  The `.opencode/plugins/pantheon-hooks.ts` plugin bridges these shell scripts to OpenCode events. OpenCode auto-discovers plugins from `.opencode/plugins/` when running from the project directory.
889
675
 
@@ -909,8 +695,8 @@ Simple endpoints: 2–4 hours. Full features (backend + frontend + DB): 6–8 ho
909
695
  systems: 20–30 hours across multiple sprint sessions.
910
696
 
911
697
  **What happens if my editor session is interrupted?**
912
- Open phases pause. The memory bank captures the last committed state. Resume by reading
913
- `01-active-context.md` at the start of the next session.
698
+ Open phases pause. The memory bank captures the last committed state. Resume by
699
+ invoking `@mnemosyne Recall` to retrieve the previous session context.
914
700
 
915
701
  ---
916
702
 
@@ -943,23 +729,17 @@ Pantheon draws from the broader multi-agent landscape while diverging in key way
943
729
  | [AGENTS.md](AGENTS.md) | Full agent reference — behavior, tools, constraints |
944
730
  | [CONTRIBUTING.md](CONTRIBUTING.md) | How to extend the framework |
945
731
  | [CHANGELOG.md](CHANGELOG.md) | Release history |
946
- | [docs/INSTALLATION.md](docs/INSTALLATION.md) | Generic installation guide |
947
- | [docs/platforms/](docs/platforms/) | Platform-specific setup guides (OpenCode) |
732
+ | [docs/INSTALLATION.md](docs/INSTALLATION.md) | Installation guide |
948
733
  | [docs/platforms/opencode.md](docs/platforms/opencode.md) | OpenCode setup guide |
949
- | [agents/README.md](agents/README.md) | Agent directory |
950
- | [skills/README.md](skills/README.md) | Skill directory |
734
+ | [src/agents/README.md](src/agents/README.md) | Agent directory |
735
+ | [src/skills/README.md](src/skills/README.md) | Skill directory |
951
736
  | [docs/mcp-tools.md](docs/mcp-tools.md) | Canonical MCP tool registry |
952
737
  | [docs/mcp-user-guide.md](docs/mcp-user-guide.md) | Adding custom MCP servers |
953
738
  | [docs/mcp-recommendations.md](docs/mcp-recommendations.md) | Recommended MCP servers per project type |
954
739
  | [scripts/hooks/](scripts/hooks/) | Agent lifecycle hooks |
955
- | [skills/agent-coordination/SKILL.md](skills/agent-coordination/SKILL.md) | When to use which agent |
956
- | [skills/tdd-with-agents/SKILL.md](skills/tdd-with-agents/SKILL.md) | TDD standards and rules |
957
740
 
958
741
  ---
959
742
 
960
743
  **License:** MIT
961
744
  **Architecture Pattern:** Conductor-Delegate
962
745
  **Mythology:** Greek (Zeus, Athena, Apollo, Hermes, Aphrodite, Talos, Themis, Mnemosyne, Gaia, Hephaestus, Nyx, Prometheus, Demeter, Iris)
963
-
964
- ---
965
-
@@ -64,7 +64,7 @@ async function main() {
64
64
  const target = isProject ? process.cwd() : undefined;
65
65
  installOpenCode(target, isDryRun, forceReinstall, components);
66
66
  } catch (err) {
67
- console.error(`❌ Installation failed:\n${err.stack}`);
67
+ console.error(`❌ Installation failed: ${err.message}\n Run with --no-mcp to skip Python dependencies:\n npx pantheon-opencode init --no-mcp\n Or retry with --force to recreate the venv:\n npx pantheon-opencode init --force`);
68
68
  process.exit(1);
69
69
  }
70
70
 
package/opencode.json CHANGED
@@ -4,9 +4,8 @@
4
4
  "subagent_depth": 2,
5
5
  "agent": {},
6
6
  "permission": {
7
- "skill": {
8
- "*": "allow"
9
- },
7
+ "skill": { "*": "allow" },
8
+ "websearch": "deny",
10
9
  "bash": {
11
10
  "git *": "allow",
12
11
  "npm *": "allow",
@@ -21,5 +20,14 @@
21
20
  "src/instructions/*.instructions.md"
22
21
  ],
23
22
  "plugin": [],
24
- "mcp": {}
25
- }
23
+ "mcp": {
24
+ "bifrost": {
25
+ "type": "remote",
26
+ "url": "https://llm.ofertachina.cloud/mcp",
27
+ "enabled": true,
28
+ "headers": {
29
+ "x-bf-vk": "sk-bf-a5a9b5b0-45fc-414d-8e4d-f9beb8c49a6d"
30
+ }
31
+ }
32
+ }
33
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pantheon-opencode",
3
- "version": "1.0.7",
3
+ "version": "1.1.1-beta.0",
4
4
  "description": "Multi-agent orchestration for OpenCode — 14 specialized agents, TDD, Themis review gates.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -48,10 +48,10 @@
48
48
  "src/instructions/*.instructions.md",
49
49
  "src/mcp/*.mjs",
50
50
  "scripts/*.mjs",
51
- "src/plugins/tui/**",
52
51
  "src/mcp/*.sh",
53
52
  "src/routing.yml",
54
53
  "src/mcp/requirements*",
54
+ "src/plugins/tui/**",
55
55
  "src/skills/**"
56
56
  ],
57
57
  "dependencies": {