pantheon-opencode 2.0.0-beta.6 → 2.0.0-rc.1
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.global.md +6 -1
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +45 -0
- package/README.md +169 -510
- package/README.pt-BR.md +177 -149
- package/bin/pantheon-init.mjs +1 -1
- package/commands/pantheon-deepwork.md +6 -1
- package/commands/pantheon.md +10 -5
- package/package.json +1 -1
- package/plugin.json +2 -2
- package/prompts/orchestrate-with-zeus.prompt.md +82 -290
- package/prompts/subtask.prompt.md +1 -1
- package/pyproject.toml +1 -1
- package/scripts/doctor.mjs +27 -11
- package/scripts/hooks/format-multi-language.sh +30 -48
- package/scripts/jev-live-probe.mjs +1 -1
- package/scripts/release-gates.mjs +19 -5
- package/scripts/skill-search.mjs +27 -3
- package/scripts/test-opencode-sandbox.sh +44 -15
- package/scripts/update.mjs +9 -2
- package/skills-lock.json +5 -3
- package/src/agents/aphrodite.md +2 -0
- package/src/agents/apollo.md +8 -206
- package/src/agents/athena.md +25 -29
- package/src/agents/hermes.md +3 -1
- package/src/agents/mnemosyne.md +1 -1
- package/src/agents/nyx.md +1 -1
- package/src/agents/prometheus.md +0 -203
- package/src/agents/talos.md +2 -0
- package/src/agents/themis.md +8 -3
- package/src/agents/zeus.md +18 -12
- package/src/instructions/memory-protocol.instructions.md +4 -0
- package/src/instructions/test-economy.instructions.md +1 -0
- package/src/instructions/zeus-council-synthesis.instructions.md +13 -1
- package/src/pantheon/pantheon-decision-catalog.ts +8 -0
- package/src/pantheon/skill-search-tool.ts +193 -0
- package/src/pantheon/tools.ts +2 -0
- package/src/plugins/tui/dist/tui.d.ts +12 -2
- package/src/plugins/tui/dist/tui.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui.js +980 -358
- package/src/plugins/tui/dist/tui.js.map +1 -1
- package/src/plugins/tui/package-lock.json +2 -2
- package/src/plugins/tui/package.json +1 -1
- package/src/plugins/tui/src/autonomy-state.ts +1 -1
- package/src/plugins/tui/src/context-gauge.ts +64 -5
- package/src/plugins/tui/src/decision-router-state.ts +49 -2
- package/src/plugins/tui/src/index.tsx +25 -3
- package/src/plugins/tui/src/pantheon-settings-state.ts +99 -0
- package/src/plugins/tui/src/pantheon-settings.tsx +391 -101
- package/src/plugins/tui/src/tui-prefs.ts +161 -9
- package/src/plugins/tui/src/update-status.ts +27 -8
- package/src/routing.yml +9 -0
- package/src/skills/README.md +35 -25
- package/src/skills/fast-path-execution/SKILL.md +54 -0
- package/src/skills/prompt-refinery/SKILL.md +51 -65
- package/src/skills/tdd-with-agents/SKILL.md +22 -10
- package/src/skills/test-slicing/SKILL.md +56 -0
- package/src/skills/verification-planning/SKILL.md +4 -3
package/AGENTS.global.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- pantheon:generated:begin — Pantheon-managed region; regenerated on install/upgrade, never edit inside -->
|
|
2
2
|
<!-- Generated by scripts/build-agents-md.mjs — do not edit directly. -->
|
|
3
3
|
<!-- Source of truth: src/instructions/*.instructions.md + the static sections in this script. -->
|
|
4
|
-
<!-- pantheon:agents-md v2 artifact=global generated-at=2026-11-
|
|
4
|
+
<!-- pantheon:agents-md v2 artifact=global generated-at=2026-11-10T17:39:53-03:00 sha=34fdd3e -->
|
|
5
5
|
|
|
6
6
|
# Pantheon Agent System — OpenCode
|
|
7
7
|
|
|
@@ -80,6 +80,10 @@ Required: position, reasoning, trade_offs, risks, confidence. Optional `agreemen
|
|
|
80
80
|
- Let native OpenCode compaction summarize active context. Use `context_save/get` only for cross-session resume; keep the goal, phase, progress, next step, decisions, blockers, and uncertain outcomes — no transcripts or routine logs.
|
|
81
81
|
- Store at most one concise, reusable top-level result only on explicit request. Never persist child summaries, test logs, or temporary state. Never store secrets, credentials, or tokens; confirm writes and state failures. Create ADRs only on request.
|
|
82
82
|
|
|
83
|
+
### Tool Call Timing
|
|
84
|
+
- Bounded reads: Prefer grep/ranges; avoid dumping large files.
|
|
85
|
+
- Fast-Track: Edits ≤2 files skip planning/council; verify with inline test-slicing.
|
|
86
|
+
|
|
83
87
|
<!-- Source: src/instructions/test-economy.instructions.md -->
|
|
84
88
|
## Test Economy
|
|
85
89
|
|
|
@@ -89,6 +93,7 @@ Write one focused test per behavior; do not duplicate coverage.
|
|
|
89
93
|
- Prefer unit/integration checks; use E2E, install, or network tests only when a change affects that path.
|
|
90
94
|
- Avoid assertions on copy/formatting or tests that merely restate the implementation.
|
|
91
95
|
- Default to focused tests; run the full suite only for scope, risk, or CI/release gates. Bug fixes need one regression test unless existing coverage catches them.
|
|
96
|
+
- Test slicing: In dev loops, run ONLY the test slice for the changed file (`node --test tests/foo.test.mjs`, `pytest -k <func>`); avoid full suites.
|
|
92
97
|
- Keep slow install/E2E suites opt-in, never per edit or phase; reserve them for release gates.
|
|
93
98
|
- Test economy does NOT weaken stronger gates: auth, security, data-integrity, and required coverage.
|
|
94
99
|
|
package/AGENTS.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- pantheon:generated:begin — Pantheon-managed region; regenerated on install/upgrade, never edit inside -->
|
|
2
2
|
<!-- Generated by scripts/build-agents-md.mjs — do not edit directly. -->
|
|
3
3
|
<!-- Source of truth: project sections in scripts/build-agents-md.mjs. -->
|
|
4
|
-
<!-- pantheon:agents-md v2 artifact=project generated-at=2026-11-
|
|
4
|
+
<!-- pantheon:agents-md v2 artifact=project generated-at=2026-11-10T17:39:53-03:00 sha=34fdd3e -->
|
|
5
5
|
|
|
6
6
|
# Pantheon — Repository Setup
|
|
7
7
|
|
package/CHANGELOG.md
CHANGED
|
@@ -71,6 +71,51 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
71
71
|
`node scripts/versioning.mjs apply --notes` pre-fills the generated sections from conventional commits.
|
|
72
72
|
Running apply will move this section to a versioned entry and reset the template below. -->
|
|
73
73
|
|
|
74
|
+
## [v2.0.0-rc.1] - 2026-11-10
|
|
75
|
+
|
|
76
|
+
### 🆕 What's New
|
|
77
|
+
|
|
78
|
+
- **Release Candidate 1**: Inaugurating the RC series for Pantheon on OpenCode 2.x with verified production performance and low latency.
|
|
79
|
+
- **Agent token compaction**: Cleaned duplicated backend code from Prometheus and Apollo, reducing turn overhead by 8,150 tokens (-44.3%).
|
|
80
|
+
- **Pragmatism directive**: Eliminates bureaucratic deadlocks by authorizing safe diagnostic operations across Zeus, Themis, and Apollo.
|
|
81
|
+
- **Batched Suite TDD & test-slicing**: Full multi-endpoint suites implemented cohesively with deterministic test slicing in <100ms.
|
|
82
|
+
- **Proactive skill discovery**: Native skill search tool with 24h query caching and automated domain recommendations without shell access.
|
|
83
|
+
- **Live JEV verification**: 16/16 scorecard pass rate across local and remote providers ($0.0000238/decision) verified in sandbox app.
|
|
84
|
+
|
|
85
|
+
### Added
|
|
86
|
+
|
|
87
|
+
- **skills** — test-slicing (src/skills/test-slicing/SKILL.md): focused test execution with 10s budget and log noise suppression.
|
|
88
|
+
- **skills** — fast-path-execution (src/skills/fast-path-execution/SKILL.md): direct dispatch to specialists for bounded fixes.
|
|
89
|
+
- **skills** — batched-suite-tdd pattern added to tdd-with-agents: eliminates turn-inflation by validating multi-endpoint modules in a single sliced run.
|
|
90
|
+
- **tools** — pantheon_skill_search (src/pantheon/skill-search-tool.ts): in-process discovery tool querying local and external skills without shell permissions.
|
|
91
|
+
- **scripts** — in-memory search query cache with 24-hour TTL in scripts/skill-search.mjs to avoid redundant external CLI processes and latency.
|
|
92
|
+
- **sandbox** — full telemetry and simulation suite in ~/pantheon-sandbox/project-v2/app with native HTTP server, UI dashboard, and latency benchmarking.
|
|
93
|
+
- **tests** — regression tests in tests/tui-prefs.test.mjs (12 tests) and unit tests in tests/pantheon/skill-search-tool.test.ts.
|
|
94
|
+
|
|
95
|
+
### Changed
|
|
96
|
+
|
|
97
|
+
- **agents** — Apollo and Prometheus token compaction: removed 203 duplicated lines of Hermes backend code, saving 5,500 tokens per turn.
|
|
98
|
+
- **agents** — pragmatism directive: injected safe diagnostic authorization across Zeus, Themis, and Apollo to end analysis paralysis.
|
|
99
|
+
- **agents** — Athena visual planning: adopted modern linear phase structure, ASCII progress diagrams, and 3-tier refinement.
|
|
100
|
+
- **agents** — proactive skill discovery protocol in Zeus to propose ready-to-run package installations for specialized domains.
|
|
101
|
+
- **council** — assertive synthesis in zeus-council-synthesis.instructions.md with Domain Authority precedence and JEV arbitration.
|
|
102
|
+
- **install** — forward --project, --no-mcp, and --verbose in scripts/update.mjs to refresh configuration non-destructively.
|
|
103
|
+
- **hooks** — optimized format-multi-language.sh to parse tool inputs in a single Python inline execution instead of 3 subprocess spawns.
|
|
104
|
+
- **scripts** — lowered timeouts in scripts/skill-search.mjs from 60s/30s to 15s/10s for fast fail-open behavior.
|
|
105
|
+
- **docs** — streamlined README.md and README.pt-BR.md, trimming obsolete sections and detailing three visual execution tracks.
|
|
106
|
+
|
|
107
|
+
### Fixed
|
|
108
|
+
|
|
109
|
+
- **tui** — resolved TypeError on undefined prefs.layout.preset in src/plugins/tui/src/tui-prefs.ts.
|
|
110
|
+
- **agents** — fixed Zeus unable to search external skills under shell deny by providing in-process pantheon_skill_search tool.
|
|
111
|
+
- **tests** — dynamically bound catalog length in tests/pantheon/jev-decisions.test.ts.
|
|
112
|
+
- **bench** — fixed cost extraction bug in scripts/jev-live-probe.mjs and generated live scorecard in bench/results/j2-live-scorecard-2026-11-10.md.
|
|
113
|
+
- **sandbox** — fixed OpenCode 2.2+ runtime log detection in scripts/test-opencode-sandbox.sh.
|
|
114
|
+
|
|
115
|
+
### Security
|
|
116
|
+
|
|
117
|
+
- The input envelope is closed on every path; strict shell-deny boundary preserved with in-process tools without arbitrary command execution.
|
|
118
|
+
|
|
74
119
|
## [v2.0.0-beta.6] - 2026-11-10
|
|
75
120
|
|
|
76
121
|
### Added
|