Specifications for evolving multi-agent orchestration systems across Pantheon generations.
If you are new here, do this in order:
- Read the workspace instructions/policies provided by your tooling (for example: editor instructions, harness prompt, or run manifest).
- Pick the version you are changing:
Pantheon-v1/Pantheon-v2/Pantheon-v3/agents/
- Decide your change type:
- Clarification (wording only, no behavior change)
- Behavior change (contract/flow/ownership changes)
- Edit only the smallest relevant files.
- Run the checklist in Contribution Quality Checklist.
- Open a PR with explicit compatibility notes.
Quick branch start:
git checkout -b docs/<short-change-name>Use this when intent stays the same and wording gets clearer.
Typical scope
- One or a few
*.agent.mdfiles in a single version - Optional small README/docs wording improvements
Required in PR
- State explicitly: "clarification-only, no behavior change"
- Note any terms you normalized
Use this when you change authority, delegation, artifact ownership, or execution flow.
Typical scope
- Agent spec(s) plus corresponding version contracts/docs
- In
Pantheon-v2, usually includes one or more of:Pantheon-v2/.pantheon/guides/pantheon-system.mdPantheon-v2/.pantheon/guides/ARCHITECTURE.md
Required in PR
- Before vs after behavior summary
- Migration notes across affected versions
- Any sequencing constraints (for example:
parallel-readyvssequential-blockedfrom v2 contract language)
- Open core context:
code README.md Pantheon-v2/.pantheon/guides/pantheon-system.md- Open your target files (example):
code Pantheon-v3/agents/bragi.agent.md Pantheon-v2/agents/bragi.agent.md- Use a focused prompt:
Read the workspace instructions/policies provided by your tooling and the target version contract files.
Draft a minimal patch that [clarifies behavior / changes behavior] for <target-file>.
Return: (1) patch, (2) compatibility note, (3) migration note if behavior changed.
- Apply the patch, run the checklist below, then commit.
OpenCode CLI (template)
<opencode-cli> session start --workspace .
<opencode-cli> ask "Compare target role behavior across Pantheon-v1, Pantheon-v2, Pantheon-v3"
<opencode-cli> ask "Generate minimal patch for <target-file> with compatibility note"Generic CLI harness (template)
agent-cli run --repo . --task "Load workspace instructions/policies + target version files"
agent-cli run --repo . --task "Propose minimal docs/spec patch"
agent-cli run --repo . --task "Summarize compatibility + migration impact"Generic API/SDK harness (template)
1) Send your workspace instructions/policies + target version contracts/spec files.
2) Request output as unified diff + migration summary.
3) Validate touched paths are in-scope and real.
flowchart TD
A[Start change] --> B{Clarification only?}
B -->|Yes| C[Edit smallest set of files in one version]
B -->|No| D[Update spec + related contract docs]
C --> E[Run quality checklist]
D --> F[Write migration notes across versions]
E --> G[Open PR]
F --> G
Agents/
├── README.md
├── CONTRIBUTING.md
├── CODE_OF_CONDUCT.md
├── SECURITY.md
├── LICENSE
├── Pantheon-v1/
│ ├── .pantheon/
│ │ └── guides/
│ │ ├── ARCHITECTURE.md
│ │ ├── pantheon-system.md
│ │ └── diagrams/
│ └── agents/
│ └── *.agent.md
├── Pantheon-v2/
│ ├── .pantheon/
│ │ └── guides/
│ │ ├── pantheon-system.md
│ │ ├── ARCHITECTURE.md
│ │ └── diagrams/
│ └── agents/
│ └── *.agent.md (+ worker specs)
├── Pantheon-v3/
│ ├── .pantheon/
│ └── agents/
│ └── *.agent.md
└── .pantheon/
└── runs/<run-id>/
| Version | Primary shape | How to use it safely |
|---|---|---|
Pantheon-v1 |
Early-generation agent specs | Treat as baseline history. Avoid retrofitting modern assumptions without clear notes. |
Pantheon-v2 |
Most explicit system contract and architecture docs | Use pantheon-system.md as authoritative for v2 ownership/delegation/run-root behavior. |
Pantheon-v3 |
Current agent catalog under Pantheon-v3/agents/ |
Keep role language consistent and document non-equivalent behavior vs v2 when relevant. |
- Identify source and target version(s).
- Compare role boundary and delegation semantics first.
- Separate wording differences from real behavior differences.
- Port intent into the target version’s structure (do not copy blindly).
- If behavior differs, write explicit migration notes.
- Keep older versions stable unless intentional backport is required.
- Prefer explicit "not equivalent across versions" over silent approximation.
Use this before every PR:
- I followed the workspace instructions/policies provided by my tooling.
- My changes are scoped to the minimum necessary files.
- Every referenced path/link exists in this repository.
- I did not edit root
.github/or.opencode/. - For behavior changes, I updated related contracts/docs.
- I included compatibility/migration notes when semantics changed.
- Terminology is consistent across touched versions/files.
Suggested reviewer spot-check:
- One-pass scan: can a new contributor understand what changed and why in under five minutes?
- v2 system contract: Pantheon-v2/.pantheon/guides/pantheon-system.md
- v2 architecture companion: Pantheon-v2/.pantheon/guides/ARCHITECTURE.md
- Contribution process: CONTRIBUTING.md
- Code of Conduct: CODE_OF_CONDUCT.md
- Security policy: SECURITY.md
- License: LICENSE Best used for repeatable, scriptable review pipelines.
Generic API/SDK harness (template)
1) Send context set: AGENTS.md + target version contract files.
2) Request output format: unified diff + compatibility summary.
3) Validate response by checking:
- touched files are in scope
- no cross-version drift
- migration note exists when behavior changes
Best used when integrating documentation checks into internal automation.
Use this procedure for both new specs and behavioral updates.
- Locate nearest system contract for the target version.
- Identify the agent’s current role boundary and dependencies.
- Decide whether this is additive, clarifying, or behavior-changing.
- Keep the agent’s objective, inputs, outputs, and escalation conditions explicit.
- Preserve established section structure unless the version standard changed.
- If introducing a new dependency/delegation path, update the corresponding architecture/system docs.
- Re-read changed files as a first-time contributor (scanability + correctness).
- Verify naming consistency for agent names, artifact paths, and version labels.
- Add migration notes in PR description if semantics changed.
Safe-change rule of thumb:
- Clarification-only change: same behavior, clearer wording.
- Behavior change: update related contracts/architecture docs and call out migration impact.
Reviewers should be able to validate the change quickly.
Minimum quality bar:
- Clear, testable statements (avoid vague wording like “usually” without conditions).
- No contradiction with higher-priority contracts in the same version.
- Consistent terminology across touched files.
- Explicit migration notes for behavior changes.
PR checklist:
- Change is scoped and atomic.
- Paths and links are valid.
- Related docs were updated (if behavior/contracts changed).
- Compatibility impact is documented.
Use this map when porting ideas or normalizing behavior.
| Version | Primary shape | Contributor implication |
|---|---|---|
Pantheon-v1 |
Early role set and conventions | Treat as historical baseline; avoid introducing modern assumptions without explicit note. |
Pantheon-v2 |
Formal orchestration contract + architecture docs | Use as the most explicit reference for run-scoped artifacts, ownership, and delegation rules. |
Pantheon-v3 |
Agent catalog under Pantheon-v3/agents/ |
Keep naming and structure consistent with v3 layout; document deltas vs v2 when behavior differs. |
Migration playbook:
- Identify source and target version(s).
- Compare role boundaries and delegation rules first.
- Port intent, then adapt wording to target version structure.
- Record non-equivalent behavior as a migration note (do not hide it in wording).
When uncertain, prefer explicit “not equivalent across versions” notes over silent approximation.
- Contribution process: CONTRIBUTING.md
- Code of Conduct: CODE_OF_CONDUCT.md
- Security policy: SECURITY.md
- License: LICENSE