Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"title": "Pantheon Opencode",
"upload_type": "software",
"description": "Pantheon v2.1.5 is an OpenCode plugin coordinating 14 specialized agents, with a typed decision router (Jev), 25 curated skills with progressive disclosure, named-behavior overrides, an on-demand agent forge, and a cost-aware skill discovery cascade. OpenCode 2.x only - the V1 contract is removed.",
"description": "Pantheon v2.1.6 is an OpenCode plugin coordinating 14 specialized agents, with a typed decision router (Jev), 25 curated skills with progressive disclosure, named-behavior overrides, an on-demand agent forge, and a cost-aware skill discovery cascade. OpenCode 2.x only - the V1 contract is removed.",
"creators": [
{
"name": "Igor Leite da Silva",
"orcid": "0000-0001-7787-7562"
}
],
"version": "2.1.5",
"version": "2.1.6",
"license": "MIT",
"language": "eng",
"keywords": ["opencode", "ai-agents", "multi-agent", "orchestration", "developer-tools"],
"url": "https://github.com/ils15/pantheon-opencode/releases/tag/v2.1.5",
"url": "https://github.com/ils15/pantheon-opencode/releases/tag/v2.1.6",
"related_identifiers": [
{
"identifier": "https://github.com/ils15/pantheon-opencode",
"relation": "isSupplementTo",
"resource_type": "software"
}
],
"publication_date": "2026-11-14"
"publication_date": "2026-11-16"
}
2 changes: 1 addition & 1 deletion AGENTS.global.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- pantheon:generated:begin — Pantheon-managed region; regenerated on install/upgrade, never edit inside -->
<!-- Generated by scripts/build-agents-md.mjs — do not edit directly. -->
<!-- Source of truth: src/instructions/*.instructions.md + the static sections in this script. -->
<!-- pantheon:agents-md v2 artifact=global generated-at=2026-11-14T14:44:27-03:00 sha=053433e -->
<!-- pantheon:agents-md v2 artifact=global generated-at=2026-11-16T06:25:36-03:00 sha=de352bf -->

# Pantheon Agent System — OpenCode

Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- pantheon:generated:begin — Pantheon-managed region; regenerated on install/upgrade, never edit inside -->
<!-- Generated by scripts/build-agents-md.mjs — do not edit directly. -->
<!-- Source of truth: project sections in scripts/build-agents-md.mjs. -->
<!-- pantheon:agents-md v2 artifact=project generated-at=2026-11-14T14:44:27-03:00 sha=053433e -->
<!-- pantheon:agents-md v2 artifact=project generated-at=2026-11-16T06:25:36-03:00 sha=de352bf -->

# Pantheon — Repository Setup

Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
`node scripts/versioning.mjs apply --notes` pre-fills the generated sections from conventional commits.
Running apply will move this section to a versioned entry and reset the template below. -->

## [v2.1.6] - 2026-11-16

### 🆕 What's New

- **Deepwork Resilient Normalization**: Supported multi-decision blueprints, single-option policies, and string acceptance criteria.
- **Fail-Fast Anti-Mocking**: Prohibited fake mock servers on service ports to hide missing dependencies; fail fast with explicit errors.
- **Workspace Tool Directory**: Native shell tools dynamically resolve to the active project root rather than falling back to `$HOME`.
- **Atomic Skill Installation**: Enforced sequential `&&` chaining for `npx skills add` to prevent silent dropping of trailing targets.
- **Project Bootstrap Git Init**: `init --project` initializes an empty Git repo when absent, enabling worktree and branch support.
- **Decoupled Background Processes**: Mandated `setsid nohup <cmd> > <log> 2>&1 &` (or `disown`) for long-running service processes.

### Fixed

- **deepwork** — fixed `readPlan` schema rejection on single-option decision policies and auto-inferred acceptance criteria kinds (`test|command|file|manual`).
- **deepwork** — added atomic plan locking and safe temp files preventing write race conditions during concurrent decision resolutions.
- **tools** — flattened JSON schema for `pantheon_jev_decide` to eliminate upstream validator rejections on top-level `oneOf`/`anyOf`.
- **tools** — bound `shellTool` fallback execution directory dynamically to `hostLocationDirectory`.
- **mcp** — improved `pantheon-vision` error reporting with status code diagnostics and actionable fallback to native `vision_describe`.
- **tui** — removed duplicate todo block from settings preferences in favor of native sidebar.
- **agents** — updated Zeus and backend instructions with Fail-Fast, resource exclusivity, and decoupled server execution standards.

## [v2.1.5] - 2026-11-14

### 🆕 What's New
Expand Down
6 changes: 3 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ cff-version: 1.2.0
message: "If you use Pantheon, please cite this software."
title: "Pantheon Opencode"
abstract: >-
Pantheon v2.1.5 is an OpenCode plugin and installer coordinating 14
Pantheon v2.1.6 is an OpenCode plugin and installer coordinating 14
specialized agents with high-speed direct dispatch, native subagents,
and progressive skill disclosure for OpenCode 2.x.
version: 2.1.5
url: https://github.com/ils15/pantheon-opencode/releases/tag/v2.1.5
version: 2.1.6
url: https://github.com/ils15/pantheon-opencode/releases/tag/v2.1.6
doi: 10.5281/zenodo.22650136
repository-code: https://github.com/ils15/pantheon-opencode
license: MIT
Expand Down
3 changes: 2 additions & 1 deletion docs/guides/execution-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ For multi-phase tasks spanning 10+ turns or multiple sessions:
- **Fail-first acceptance:** every task defines concrete acceptance criteria
(`kind: test|command|file|manual`, `fails_now: true`) verified with cryptographic receipts.
- **Tool automation (`pantheon_deepwork`):** structured tool for `init`, `status`,
`update_task`, `verify_acceptance`, and `resolve_decision`.
`update_task`, `verify_acceptance`, and `resolve_decision`. Resiliently normalizes complex
multi-decision plans, single-option constraints, string criteria, and agent aliases with atomic file locking.
- **Resumability:** checkpoints persisted to `.pantheon/deepwork/<slug>/`. Resume anytime
with `/pantheon-deepwork --resume <slug>`.

Expand Down
9 changes: 9 additions & 0 deletions docs/releases/v2-highlights.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@
> [CHANGELOG.md](https://github.com/ils15/pantheon-opencode/blob/main/CHANGELOG.md); this
> page keeps the user-facing highlights that used to sit in the README.

## v2.1.6

- **Deepwork Resilient Normalization:** Full support for multi-decision plans, single-option policy constraints, string criteria auto-inference, and agent handle normalization with atomic plan locking.
- **Fail-Fast Anti-Mocking Rule:** Strict standard forbidding ad-hoc mock servers on production ports to mask missing dependencies; agents fail fast with explicit diagnostics.
- **Project Tool Working Directory:** Dynamic binding of shell tools to the project workspace instead of falling back to `$HOME`.
- **Atomic Skill Installation:** Sequential `&&` chaining for `npx skills add` commands preventing silent omissions when installing multiple skills.
- **Project Bootstrap Git Init:** `init --project` automatically initializes an empty Git repo when absent, enabling worktree and branch isolation out of the box.
- **Decoupled Background Processes:** Mandatory `setsid nohup <cmd> > <log> 2>&1 &` (or `disown`) for background servers surviving subshell termination.

## v2.1.5

- **Risk-Based Validation Protocol (#444):** Explicit multi-tier protocol distinguishing focused test slices (<10s), package integration suites, and mandatory repository CI gates. Escalation to broad suites requires explicit triggers (cross-module, breaking contracts, auth, DB migrations).
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pantheon-opencode",
"version": "2.1.5",
"version": "2.1.6",
"description": "Multi-agent orchestration for OpenCode \u2014 14 specialized agents, TDD, Themis review gates.",
"type": "module",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pantheon",
"publisher": "ils15",
"version": "2.1.5",
"version": "2.1.6",
"displayName": "Pantheon",
"description": "Conductor-Delegate orchestration platform with 14 specialized agents, 25 skills, and OpenCode support.",
"agents": "./src/agents",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.backends._legacy:_Backend"

[project]
name = "pantheon"
version = "2.1.5"
version = "2.1.6"
description = "Multi-agent orchestration framework"
requires-python = ">=3.11"
# Python sources under src/mcp/ import fastmcp/pydantic at runtime, but those
Expand Down
12 changes: 12 additions & 0 deletions scripts/install/opencode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3290,6 +3290,18 @@ async function installPass(
markAppliedWrite()
stateStep(true)
advancePhase()

if (opts.isProject && !existsSync(join(target, '.git'))) {
try {
const { spawnSync } = await import('node:child_process')
const gitProbe = spawnSync('git', ['--version'], { stdio: 'ignore' })
if (gitProbe.status === 0) {
spawnSync('git', ['init', '-q'], { cwd: target, stdio: 'ignore' })
}
} catch {
// git probe or initialization failed; harmless
}
}
}

// Fail closed only after the degraded state is persisted. The caller records
Expand Down
Loading
Loading