pantheon-opencode 1.6.1 → 1.6.2-beta.10
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 +11 -11
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +179 -0
- package/README.md +268 -20
- package/README.pt-BR.md +34 -11
- package/bin/pantheon-init.mjs +301 -32
- package/package.json +13 -4
- package/plugin.json +1 -1
- package/prompts/README.md +58 -0
- package/prompts/debug-issue.prompt.md +46 -0
- package/prompts/dynamic/agora-generated.txt +38 -0
- package/prompts/dynamic/orchestrate-generated.txt +51 -0
- package/prompts/focus.prompt.md +42 -0
- package/prompts/implement-feature.prompt.md +39 -0
- package/prompts/optimize-database.prompt.md +58 -0
- package/prompts/orchestrate-with-zeus.prompt.md +441 -0
- package/prompts/plan-architecture.prompt.md +59 -0
- package/prompts/quick-discovery-large-codebase.prompt.md +294 -0
- package/prompts/quick-plan-large-feature.prompt.md +197 -0
- package/prompts/semantic-summarize.md +50 -0
- package/prompts/sketch.prompt.md +91 -0
- package/prompts/subtask.prompt.md +131 -0
- package/pyproject.toml +1 -1
- package/scripts/build-agents-md.mjs +1 -1
- package/scripts/decision-router-budget.mjs +780 -0
- package/scripts/decision-router-v2-budget.mjs +218 -0
- package/scripts/decision-router-v2-egress.mjs +272 -0
- package/scripts/decision-router.mjs +758 -0
- package/scripts/docs-check-changelog.mjs +5 -3
- package/scripts/doctor.mjs +213 -45
- package/scripts/install/agents-md.mjs +2 -1
- package/scripts/install/component-selection.mjs +9 -4
- package/scripts/install/config-migration.mjs +344 -393
- package/scripts/install/config-paths.mjs +15 -0
- package/scripts/install/decision-layer-preview.mjs +376 -0
- package/scripts/install/decision-router-config.mjs +560 -0
- package/scripts/install/health-check.mjs +20 -11
- package/scripts/install/interactive.mjs +103 -14
- package/scripts/install/interrupt.mjs +4 -3
- package/scripts/install/mcp-permissions.mjs +164 -0
- package/scripts/install/migrate.mjs +123 -72
- package/scripts/install/opencode-version.mjs +31 -13
- package/scripts/install/opencode-wildcard.mjs +106 -0
- package/scripts/install/opencode.mjs +411 -184
- package/scripts/install/plan-artifact.mjs +12 -1
- package/scripts/install/plan.mjs +8 -1
- package/scripts/install/plugin.mjs +18 -1
- package/scripts/install/state.mjs +12 -0
- package/scripts/install/strings.mjs +22 -0
- package/scripts/install/v2-capabilities.mjs +5 -6
- package/scripts/install/venv.mjs +34 -17
- package/scripts/mcp_resources.py +11 -9
- package/scripts/package-evidence.mjs +1 -0
- package/scripts/release-notes.mjs +30 -7
- package/scripts/restore.mjs +22 -10
- package/scripts/sandbox-env.sh +174 -0
- package/scripts/setup-v2-config.mjs +1703 -0
- package/scripts/setup.mjs +415 -0
- package/scripts/sync-tui.mjs +9 -1
- package/scripts/test-opencode-v2-sandbox.sh +448 -157
- package/scripts/update-skills-lock.mjs +30 -0
- package/scripts/versioning.mjs +41 -5
- package/skills-lock.json +10 -10
- package/src/agents/aphrodite.md +11 -3
- package/src/agents/apollo.md +6 -0
- package/src/agents/athena.md +7 -1
- package/src/agents/demeter.md +6 -2
- package/src/agents/gaia.md +5 -0
- package/src/agents/hephaestus.md +7 -2
- package/src/agents/hermes.md +14 -13
- package/src/agents/iris.md +6 -2
- package/src/agents/mnemosyne.md +21 -50
- package/src/agents/nyx.md +6 -2
- package/src/agents/prometheus.md +5 -1
- package/src/agents/talos.md +10 -1
- package/src/agents/themis.md +5 -1
- package/src/agents/zeus.md +61 -65
- package/src/instructions/agent-return-format.instructions.md +1 -1
- package/src/instructions/memory-protocol.instructions.md +3 -3
- package/src/instructions/test-economy.instructions.md +6 -6
- package/src/mcp/eval_store.py +11 -4
- package/src/mcp/mcp_resources.py +11 -9
- package/src/mcp/memory_mcp.py +293 -150
- package/src/mcp/pantheon_vision.py +37 -36
- package/src/pantheon/cost-command.ts +30 -133
- package/src/pantheon/jev-decision-tool.ts +347 -0
- package/src/pantheon/jev-decisions.ts +625 -0
- package/src/pantheon/local-decision-agents.ts +170 -0
- package/src/pantheon/local-decision-budget.ts +1046 -0
- package/src/pantheon/local-decision-egress-gate.ts +144 -0
- package/src/pantheon/local-decision-prompt.ts +256 -0
- package/src/pantheon/local-decision-provider-matrix.ts +44 -0
- package/src/pantheon/local-decision-router.ts +225 -0
- package/src/pantheon/local-decision-skills.ts +281 -0
- package/src/pantheon/local-decision-tool.ts +160 -0
- package/src/pantheon/local-decision-turn.ts +101 -0
- package/src/pantheon/local-decision-usage-evidence.internal.ts +168 -0
- package/src/pantheon/local-orchestration.ts +322 -0
- package/src/pantheon/model-pricing.ts +1 -536
- package/src/pantheon/pantheon-decision-catalog.ts +101 -0
- package/src/pantheon/v2-decision-budget.ts +456 -0
- package/src/pantheon/v2-decision-contracts.ts +300 -0
- package/src/pantheon/v2-decision-egress.ts +203 -0
- package/src/pantheon/v2-decision-events.ts +180 -0
- package/src/pantheon/v2-decision-heuristic.ts +121 -0
- package/src/pantheon/v2-decision-points/p1-agent.ts +91 -0
- package/src/pantheon/v2-decision-points/p10-claims.ts +243 -0
- package/src/pantheon/v2-decision-points/p11-catalog.ts +220 -0
- package/src/pantheon/v2-decision-points/p2-skill.ts +83 -0
- package/src/pantheon/v2-decision-points/p3-complexity.ts +108 -0
- package/src/pantheon/v2-decision-points/p4-memory.ts +137 -0
- package/src/pantheon/v2-decision-points/p5-themis-verify.ts +190 -0
- package/src/pantheon/v2-decision-points/p6-council.ts +161 -0
- package/src/pantheon/v2-decision-points/p7-loop.ts +263 -0
- package/src/pantheon/v2-decision-points/p8-guardrail.ts +367 -0
- package/src/pantheon/v2-decision-points/p9-memory-compaction.ts +304 -0
- package/src/pantheon/v2-decision-points.ts +242 -0
- package/src/pantheon/v2-decision-policy.ts +166 -0
- package/src/pantheon/v2-decision-premises.ts +146 -0
- package/src/pantheon/v2-decision-prompt-surface.ts +115 -0
- package/src/pantheon/v2-decision-rank.ts +91 -0
- package/src/pantheon/v2-decision-registry.ts +391 -0
- package/src/pantheon/v2-decision-resource-ids.ts +127 -0
- package/src/pantheon/v2-decision-shadow.ts +123 -0
- package/src/pantheon/v2-decision-telemetry.ts +214 -0
- package/src/pantheon/v2-decision-verify.ts +51 -0
- package/src/pantheon/v2-hook-engine.ts +307 -0
- package/src/pantheon/v2-native-decisions.ts +365 -0
- package/src/pantheon/v2-shell-hooks.ts +66 -2
- package/src/pantheon/v2-tools.ts +38 -15
- package/src/pantheon/v2-vision.ts +34 -29
- package/src/pantheon/vision.ts +43 -10
- package/src/plugin-v2.ts +449 -79
- package/src/plugin.ts +4 -0
- package/src/plugins/tui/THIRD_PARTY_NOTICES.md +24 -0
- package/src/plugins/tui/dist/server-v2.d.ts +22 -0
- package/src/plugins/tui/dist/server-v2.d.ts.map +1 -0
- package/src/plugins/tui/dist/server-v2.js +26 -0
- package/src/plugins/tui/dist/server-v2.js.map +1 -0
- package/src/plugins/tui/dist/tui-v2.d.ts +54 -51
- package/src/plugins/tui/dist/tui-v2.d.ts.map +1 -1
- package/src/plugins/tui/dist/tui-v2.js +762 -529
- package/src/plugins/tui/dist/tui-v2.js.map +1 -1
- package/src/plugins/tui/dist/tui.js +1 -1
- package/src/plugins/tui/index-v2.ts +3 -6
- package/src/plugins/tui/package-lock.json +17 -2
- package/src/plugins/tui/package.json +6 -3
- package/src/plugins/tui/src/context-gauge.ts +59 -0
- package/src/plugins/tui/src/cost-data.ts +607 -0
- package/src/plugins/tui/src/index-v2.tsx +360 -242
- package/src/plugins/tui/src/model-pricing.ts +536 -0
- package/src/plugins/tui/src/model-usage-limits.ts +4 -0
- package/src/plugins/tui/src/server-v2.ts +21 -0
- package/src/plugins/tui/src/sidebar-width.ts +129 -0
- package/src/plugins/tui/tsconfig.typecheck.json +1 -1
- package/src/plugins/tui/tsdown.config.ts +34 -5
- package/src/routing.yml +72 -13
- package/src/skills/README.md +4 -0
- package/src/skills/agent-coordination/SKILL.md +0 -3
- package/src/skills/artifact-management/SKILL.md +0 -3
- package/src/skills/auto-continue/SKILL.md +0 -3
- package/src/skills/code-review-checklist/SKILL.md +0 -3
- package/src/skills/context-compression/SKILL.md +0 -3
- package/src/skills/memory-bank/SKILL.md +6 -28
- package/src/skills/session-goal/SKILL.md +0 -3
- package/src/skills/simplify/SKILL.md +5 -4
- package/src/skills/tdd-with-agents/SKILL.md +0 -3
- package/src/skills/visual-review-pipeline/SKILL.md +0 -1
- package/src/pantheon/memory-context.ts +0 -1017
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { createHash } from 'node:crypto'
|
|
4
|
+
import { existsSync, readdirSync, readFileSync, writeFileSync } from 'node:fs'
|
|
5
|
+
import { join, relative } from 'node:path'
|
|
6
|
+
import { fileURLToPath } from 'node:url'
|
|
7
|
+
|
|
8
|
+
const ROOT = join(fileURLToPath(new URL('.', import.meta.url)), '..')
|
|
9
|
+
const SKILLS_DIR = join(ROOT, 'src', 'skills')
|
|
10
|
+
const LOCK_PATH = join(ROOT, 'skills-lock.json')
|
|
11
|
+
|
|
12
|
+
/** Rebuild the sorted SHA-256 inventory for every canonical skill file. */
|
|
13
|
+
function updateSkillsLock() {
|
|
14
|
+
const skillFiles = readdirSync(SKILLS_DIR, { withFileTypes: true })
|
|
15
|
+
.filter((entry) => entry.isDirectory())
|
|
16
|
+
.map((entry) => join(SKILLS_DIR, entry.name, 'SKILL.md'))
|
|
17
|
+
.filter((path) => existsSync(path))
|
|
18
|
+
.sort()
|
|
19
|
+
|
|
20
|
+
const lock = Object.fromEntries(
|
|
21
|
+
skillFiles.map((path) => [
|
|
22
|
+
relative(ROOT, path).split('\\').join('/'),
|
|
23
|
+
createHash('sha256').update(readFileSync(path)).digest('hex'),
|
|
24
|
+
]),
|
|
25
|
+
)
|
|
26
|
+
writeFileSync(LOCK_PATH, `${JSON.stringify(lock, null, 2)}\n`)
|
|
27
|
+
process.stdout.write(`Updated ${Object.keys(lock).length} skill digests in skills-lock.json\n`)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
updateSkillsLock()
|
package/scripts/versioning.mjs
CHANGED
|
@@ -61,6 +61,29 @@ function getLatestTag() {
|
|
|
61
61
|
return tags.at(-1) || 'v0.0.0'
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
function getLatestBetaTag() {
|
|
65
|
+
const tags = runGit(['tag', '-l', 'v*'])
|
|
66
|
+
.split('\n')
|
|
67
|
+
.filter((tag) => /^v\d+\.\d+\.\d+-beta\.\d+$/.test(tag))
|
|
68
|
+
tags.sort((left, right) => {
|
|
69
|
+
const a = left
|
|
70
|
+
.slice(1)
|
|
71
|
+
.match(/^(\d+)\.(\d+)\.(\d+)-beta\.(\d+)$/)
|
|
72
|
+
.slice(1)
|
|
73
|
+
.map(Number)
|
|
74
|
+
const b = right
|
|
75
|
+
.slice(1)
|
|
76
|
+
.match(/^(\d+)\.(\d+)\.(\d+)-beta\.(\d+)$/)
|
|
77
|
+
.slice(1)
|
|
78
|
+
.map(Number)
|
|
79
|
+
for (let index = 0; index < a.length; index += 1) {
|
|
80
|
+
if (a[index] !== b[index]) return a[index] - b[index]
|
|
81
|
+
}
|
|
82
|
+
return 0
|
|
83
|
+
})
|
|
84
|
+
return tags.at(-1) || null
|
|
85
|
+
}
|
|
86
|
+
|
|
64
87
|
function getCurrentVersion() {
|
|
65
88
|
return validateInventory(ROOT).sourceVersion
|
|
66
89
|
}
|
|
@@ -400,9 +423,9 @@ switch (command) {
|
|
|
400
423
|
const useBeta = command === 'beta' || args.includes('--beta')
|
|
401
424
|
|
|
402
425
|
// Beta: advance the committed X.Y.Z-beta.N line and promote the
|
|
403
|
-
// [Unreleased] CHANGELOG section into [vX.Y.Z-beta.N]
|
|
404
|
-
//
|
|
405
|
-
//
|
|
426
|
+
// [Unreleased] CHANGELOG section into [vX.Y.Z-beta.N]. Optional --notes
|
|
427
|
+
// uses commits since the latest beta tag; without it, the manual
|
|
428
|
+
// [Unreleased] body is preserved.
|
|
406
429
|
if (useBeta) {
|
|
407
430
|
if (!contentHasUnreleased())
|
|
408
431
|
throw new Error('CHANGELOG.md is missing the [Unreleased] section')
|
|
@@ -410,7 +433,18 @@ switch (command) {
|
|
|
410
433
|
const newVersion = nextBetaVersion(current)
|
|
411
434
|
const date = new Date().toISOString().slice(0, 10)
|
|
412
435
|
console.log(`Bumping ${current} → ${newVersion} (beta)`)
|
|
413
|
-
|
|
436
|
+
let notesBody = null
|
|
437
|
+
if (useNotes) {
|
|
438
|
+
const since = getLatestBetaTag()
|
|
439
|
+
if (!since) throw new Error('cannot generate beta release notes: no prior beta tag found')
|
|
440
|
+
const raw = collectEntries({ since })
|
|
441
|
+
notesBody = renderChangelog(groupCommits(raw.map(parseCommitLine)))
|
|
442
|
+
if (!notesBody) {
|
|
443
|
+
throw new Error(`cannot generate beta release notes: no generated notes since ${since}`)
|
|
444
|
+
}
|
|
445
|
+
console.log(` --notes generated from ${raw.length} commits since ${since}`)
|
|
446
|
+
}
|
|
447
|
+
const changelogPlan = prepareUnreleased(newVersion, date, notesBody)
|
|
414
448
|
const manifestPlan = prepareManifests(newVersion)
|
|
415
449
|
commitPreparedRelease(
|
|
416
450
|
{ ...manifestPlan, version: newVersion },
|
|
@@ -508,9 +542,11 @@ Commands:
|
|
|
508
542
|
apply [type] Bump manifests + move [Unreleased] → [vX.Y.Z]
|
|
509
543
|
type: patch | minor | major | auto (default: auto)
|
|
510
544
|
--notes: pre-fill the promoted entry with release
|
|
511
|
-
notes
|
|
545
|
+
notes since the latest stable tag
|
|
512
546
|
--beta: advance the committed X.Y.Z-beta.N line and
|
|
513
547
|
promote [Unreleased] → [vX.Y.Z-beta.N] in CHANGELOG
|
|
548
|
+
--beta --notes: generate notes since the latest beta tag
|
|
549
|
+
(fails without a beta baseline or non-empty notes)
|
|
514
550
|
beta Alias for 'apply --beta'
|
|
515
551
|
changelog [version] Promote [Unreleased], or merge into an existing version section
|
|
516
552
|
|
package/skills-lock.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"src/skills/agent-coordination/SKILL.md": "
|
|
3
|
-
"src/skills/artifact-management/SKILL.md": "
|
|
4
|
-
"src/skills/auto-continue/SKILL.md": "
|
|
2
|
+
"src/skills/agent-coordination/SKILL.md": "ffa4cfc9c778dd9619665010de32d82d49ae5bb803c985dc99417eb6fc7c3d1c",
|
|
3
|
+
"src/skills/artifact-management/SKILL.md": "55446fbd0e13f9097d091b9773c37910409b70e26df5781bde8d903ff89a07fd",
|
|
4
|
+
"src/skills/auto-continue/SKILL.md": "090f61bfa1a394f5146e838c63e7e9d58f47a1f49bc84927e5cdfc07eaa4cc33",
|
|
5
5
|
"src/skills/clonedeps/SKILL.md": "3e0b43cf96da98c83699dc48db3fd58fbfda84b9022bb70d3747875c81c3e124",
|
|
6
|
-
"src/skills/code-review-checklist/SKILL.md": "
|
|
6
|
+
"src/skills/code-review-checklist/SKILL.md": "cbaffb89045e1bbb7c3c905248f953ec3faa2c1d4679bcd5320df99798df2f98",
|
|
7
7
|
"src/skills/codemap/SKILL.md": "d21b3fa66b931b29dcf1ec0f0fcf1ec28514642a9f33f96e4b2901a0be74c72d",
|
|
8
|
-
"src/skills/context-compression/SKILL.md": "
|
|
8
|
+
"src/skills/context-compression/SKILL.md": "4d8368309ec72fefac69ad5cddd43650647d0bc684b6f8bf3cacc004edb56ef5",
|
|
9
9
|
"src/skills/git-workflow-and-versioning/SKILL.md": "685a94041f1b4ce2a430301f517b89102055696267c369a7e8fb191606659276",
|
|
10
10
|
"src/skills/incremental-implementation/SKILL.md": "7065ddb45da3c6b6751de07f290e92e6cb072e949a2e3aaae13ee7762f0a70fc",
|
|
11
11
|
"src/skills/loop-engineering/SKILL.md": "f804e545821b9cca8fe0ec517307ed902446f28c2ca8ff9194c0f987cf7229e3",
|
|
12
|
-
"src/skills/memory-bank/SKILL.md": "
|
|
12
|
+
"src/skills/memory-bank/SKILL.md": "6c27623e5588b7ba44fbd0ea88e5061ed36894e1c7cbc88e50f003c2b463d9ff",
|
|
13
13
|
"src/skills/reflect/SKILL.md": "4c7608c2a55cb8a50ac90fc0e2446bdf25e7914b1748cb7731c311d13c29dfdd",
|
|
14
14
|
"src/skills/security-hardening/SKILL.md": "6d637e122421f7bc3b751f04854ad343a5a5d35249458bc8939233138fd3f20d",
|
|
15
|
-
"src/skills/session-goal/SKILL.md": "
|
|
16
|
-
"src/skills/simplify/SKILL.md": "
|
|
15
|
+
"src/skills/session-goal/SKILL.md": "2911157c8e020f62ca015a73a46f5427f41da71c83e624d6a1cecf7d64c64aea",
|
|
16
|
+
"src/skills/simplify/SKILL.md": "1f3c06f4f856cbc8cdefcfe7fd260ad7382a441d8d9d9162671b17dc33aa6edd",
|
|
17
17
|
"src/skills/spec-driven-development/SKILL.md": "ccfbc0c32116a1d144f5c12a4187c053322ed31625a622a58c59739a57a86743",
|
|
18
|
-
"src/skills/tdd-with-agents/SKILL.md": "
|
|
18
|
+
"src/skills/tdd-with-agents/SKILL.md": "be976bced6934233ed04778e84e939a5bd4e18805984c1d7c25852690060b34e",
|
|
19
19
|
"src/skills/verification-planning/SKILL.md": "14186446ef51e1ba2c87b337e8d5f86e566d805156ab21fba2a75f8c4a99df3f",
|
|
20
|
-
"src/skills/visual-review-pipeline/SKILL.md": "
|
|
20
|
+
"src/skills/visual-review-pipeline/SKILL.md": "a630b4f2a5e7ba8df55993684f6c33c615b27b50e8c11ec256bed641c31a9253",
|
|
21
21
|
"src/skills/worktrees/SKILL.md": "9cf2b036e90d9ff7c6deb786ad7bab2cb78d6bf39166a67d5cbeafc29f593c6e"
|
|
22
22
|
}
|
package/src/agents/aphrodite.md
CHANGED
|
@@ -8,7 +8,7 @@ permission:
|
|
|
8
8
|
grep: allow
|
|
9
9
|
edit: allow
|
|
10
10
|
vision_describe: allow
|
|
11
|
-
|
|
11
|
+
shell: allow
|
|
12
12
|
webfetch: allow
|
|
13
13
|
glob: allow
|
|
14
14
|
question: allow
|
|
@@ -16,10 +16,13 @@ permission:
|
|
|
16
16
|
"*": deny
|
|
17
17
|
temperature: 0.3
|
|
18
18
|
skills:
|
|
19
|
+
- incremental-implementation
|
|
20
|
+
- loop-engineering
|
|
21
|
+
- reflect
|
|
22
|
+
- simplify
|
|
19
23
|
- tdd-with-agents
|
|
20
24
|
- visual-review-pipeline
|
|
21
|
-
-
|
|
22
|
-
- incremental-implementation
|
|
25
|
+
- worktrees
|
|
23
26
|
mcp_tools:
|
|
24
27
|
pantheon-resources: all
|
|
25
28
|
pantheon-memory: [memory_search]
|
|
@@ -27,6 +30,11 @@ mcp_tools:
|
|
|
27
30
|
pantheon-vision: [vision_describe, vision_ocr, vision_analyze]
|
|
28
31
|
---
|
|
29
32
|
|
|
33
|
+
## Verification Tiers
|
|
34
|
+
|
|
35
|
+
Small bounded fix → change + one targeted proof, no ceremony. Material change → full test discipline. Match the tier to the change.
|
|
36
|
+
|
|
37
|
+
|
|
30
38
|
## When NOT to Use Aphrodite
|
|
31
39
|
- For backend API implementation — that's @hermes
|
|
32
40
|
- For database schema changes — that's @demeter
|
package/src/agents/apollo.md
CHANGED
|
@@ -13,12 +13,18 @@ permission:
|
|
|
13
13
|
webfetch: allow
|
|
14
14
|
edit: deny
|
|
15
15
|
hashline_edit: deny
|
|
16
|
+
shell: deny
|
|
16
17
|
bash: deny
|
|
17
18
|
task:
|
|
18
19
|
"*": deny
|
|
19
20
|
temperature: 0.1
|
|
20
21
|
skills:
|
|
21
22
|
- auto-continue
|
|
23
|
+
- codemap
|
|
24
|
+
- loop-engineering
|
|
25
|
+
- reflect
|
|
26
|
+
- simplify
|
|
27
|
+
- worktrees
|
|
22
28
|
mcp_tools:
|
|
23
29
|
pantheon-resources: all
|
|
24
30
|
pantheon-memory: [memory_search, code_query, code_neighbors]
|
package/src/agents/athena.md
CHANGED
|
@@ -10,11 +10,17 @@ mcp_tools:
|
|
|
10
10
|
pantheon-resources: all
|
|
11
11
|
pantheon-memory: [memory_search, code_query, code_neighbors]
|
|
12
12
|
skills:
|
|
13
|
-
-
|
|
13
|
+
- loop-engineering
|
|
14
14
|
- memory-bank
|
|
15
|
+
- reflect
|
|
16
|
+
- simplify
|
|
17
|
+
- spec-driven-development
|
|
18
|
+
- verification-planning
|
|
19
|
+
- worktrees
|
|
15
20
|
permission:
|
|
16
21
|
edit: deny
|
|
17
22
|
hashline_edit: deny
|
|
23
|
+
shell: deny
|
|
18
24
|
bash: deny
|
|
19
25
|
read: allow
|
|
20
26
|
grep: allow
|
package/src/agents/demeter.md
CHANGED
|
@@ -7,14 +7,18 @@ permission:
|
|
|
7
7
|
read: allow
|
|
8
8
|
grep: allow
|
|
9
9
|
edit: allow
|
|
10
|
-
|
|
10
|
+
shell: allow
|
|
11
11
|
webfetch: allow
|
|
12
12
|
task:
|
|
13
13
|
"*": deny
|
|
14
14
|
temperature: 0.2
|
|
15
15
|
skills:
|
|
16
|
-
- tdd-with-agents
|
|
17
16
|
- incremental-implementation
|
|
17
|
+
- loop-engineering
|
|
18
|
+
- reflect
|
|
19
|
+
- simplify
|
|
20
|
+
- tdd-with-agents
|
|
21
|
+
- worktrees
|
|
18
22
|
mcp_tools:
|
|
19
23
|
pantheon-resources: all
|
|
20
24
|
pantheon-memory: [memory_search]
|
package/src/agents/gaia.md
CHANGED
|
@@ -12,12 +12,17 @@ permission:
|
|
|
12
12
|
webfetch: allow
|
|
13
13
|
edit: deny
|
|
14
14
|
hashline_edit: deny
|
|
15
|
+
shell: deny
|
|
15
16
|
bash: deny
|
|
16
17
|
task:
|
|
17
18
|
"*": deny
|
|
18
19
|
temperature: 0.2
|
|
19
20
|
skills:
|
|
20
21
|
- auto-continue
|
|
22
|
+
- loop-engineering
|
|
23
|
+
- reflect
|
|
24
|
+
- simplify
|
|
25
|
+
- worktrees
|
|
21
26
|
mcp_tools:
|
|
22
27
|
pantheon-resources: all
|
|
23
28
|
pantheon-memory: [memory_recall]
|
package/src/agents/hephaestus.md
CHANGED
|
@@ -7,14 +7,19 @@ permission:
|
|
|
7
7
|
read: allow
|
|
8
8
|
grep: allow
|
|
9
9
|
edit: allow
|
|
10
|
-
|
|
10
|
+
shell: allow
|
|
11
11
|
webfetch: allow
|
|
12
12
|
task:
|
|
13
13
|
"*": deny
|
|
14
14
|
temperature: 0.3
|
|
15
15
|
skills:
|
|
16
|
-
- tdd-with-agents
|
|
17
16
|
- auto-continue
|
|
17
|
+
- clonedeps
|
|
18
|
+
- loop-engineering
|
|
19
|
+
- reflect
|
|
20
|
+
- simplify
|
|
21
|
+
- tdd-with-agents
|
|
22
|
+
- worktrees
|
|
18
23
|
mcp_tools:
|
|
19
24
|
pantheon-resources: all
|
|
20
25
|
pantheon-memory: [memory_search]
|
package/src/agents/hermes.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hermes
|
|
3
|
-
description: Backend specialist — FastAPI, Python, async,
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
description: Backend specialist — FastAPI, Python, async, modern Python stdlib,
|
|
4
|
+
obsolete lib detection. Root Hermes may call Apollo for discovery; child
|
|
5
|
+
sessions do not delegate. Sends material work to Themis via Zeus.
|
|
6
6
|
mode: all
|
|
7
7
|
reasoning_effort: medium
|
|
8
8
|
|
|
@@ -12,13 +12,16 @@ mcp_tools:
|
|
|
12
12
|
pantheon-code-mode: [execute_code_script]
|
|
13
13
|
temperature: 0.3
|
|
14
14
|
skills:
|
|
15
|
-
-
|
|
16
|
-
- file-prompts
|
|
17
|
-
- streaming-patterns
|
|
15
|
+
- clonedeps
|
|
18
16
|
- git-workflow-and-versioning
|
|
19
17
|
- incremental-implementation
|
|
18
|
+
- loop-engineering
|
|
19
|
+
- reflect
|
|
20
|
+
- simplify
|
|
21
|
+
- tdd-with-agents
|
|
22
|
+
- worktrees
|
|
20
23
|
permission:
|
|
21
|
-
|
|
24
|
+
shell: allow
|
|
22
25
|
read: allow
|
|
23
26
|
grep: allow
|
|
24
27
|
edit: allow
|
|
@@ -243,13 +246,11 @@ When completing a task, provide:
|
|
|
243
246
|
|
|
244
247
|
**Philosophy**: Clean code, clear error messages, proper async patterns, thorough testing.
|
|
245
248
|
|
|
246
|
-
##
|
|
249
|
+
## Verification Tiers (match the change, not a ritual)
|
|
247
250
|
|
|
248
|
-
-
|
|
249
|
-
-
|
|
250
|
-
-
|
|
251
|
-
- Do NOT auto-continue when tests fail unexpectedly — stop and diagnose
|
|
252
|
-
- Partial results NOT allowed — must complete or fail
|
|
251
|
+
- **Small bounded fix** (typo, config, copy, single-function tweak): make the change, run the one targeted test or command that proves it, report. No RED→GREEN→REFACTOR ceremony, no extra discovery passes.
|
|
252
|
+
- **Material change** (new endpoint, schema, service, auth, public behavior): full TDD cycle via `skill: tdd-with-agents`, then the Themis handoff.
|
|
253
|
+
- Auto-continue through the chosen tier for authorized work; stop for required Themis review; stop and diagnose when tests fail unexpectedly; no partial results.
|
|
253
254
|
|
|
254
255
|
## Skills
|
|
255
256
|
Implementação: `tdd-with-agents`, `incremental-implementation`, `code-review-checklist`, `git-workflow-and-versioning`
|
package/src/agents/iris.md
CHANGED
|
@@ -6,7 +6,7 @@ reasoning_effort: low
|
|
|
6
6
|
permission:
|
|
7
7
|
read: allow
|
|
8
8
|
grep: allow
|
|
9
|
-
|
|
9
|
+
shell:
|
|
10
10
|
git *: allow
|
|
11
11
|
gh *: allow
|
|
12
12
|
webfetch: allow
|
|
@@ -16,8 +16,12 @@ permission:
|
|
|
16
16
|
"*": deny
|
|
17
17
|
temperature: 0.2
|
|
18
18
|
skills:
|
|
19
|
-
- git-workflow-and-versioning
|
|
20
19
|
- artifact-management
|
|
20
|
+
- git-workflow-and-versioning
|
|
21
|
+
- loop-engineering
|
|
22
|
+
- reflect
|
|
23
|
+
- simplify
|
|
24
|
+
- worktrees
|
|
21
25
|
mcp_tools:
|
|
22
26
|
pantheon-resources: all
|
|
23
27
|
pantheon-memory: [memory_recall]
|
package/src/agents/mnemosyne.md
CHANGED
|
@@ -18,10 +18,15 @@ mcp_tools:
|
|
|
18
18
|
pantheon-code-mode: [execute_code_script]
|
|
19
19
|
skills:
|
|
20
20
|
- artifact-management
|
|
21
|
-
- memory-bank
|
|
22
21
|
- context-compression
|
|
22
|
+
- loop-engineering
|
|
23
|
+
- memory-bank
|
|
24
|
+
- reflect
|
|
23
25
|
- session-goal
|
|
26
|
+
- simplify
|
|
27
|
+
- worktrees
|
|
24
28
|
permission:
|
|
29
|
+
shell: deny
|
|
25
30
|
bash: deny
|
|
26
31
|
read: allow
|
|
27
32
|
grep: allow
|
|
@@ -73,52 +78,16 @@ If asked to edit code, refuse and redirect to the appropriate implementation age
|
|
|
73
78
|
## TOOLS NOT AVAILABLE
|
|
74
79
|
- bash - forbidden
|
|
75
80
|
|
|
76
|
-
##
|
|
77
|
-
|
|
78
|
-
Mnemosyne executes the expanded compression pipeline. When Zeus delegates compression:
|
|
79
|
-
|
|
80
|
-
### Compression Pipeline
|
|
81
|
-
1. **Receive**: Zeus sends batch with:
|
|
82
|
-
- Subtask_summaries with priority scores (CRITICAL/HIGH/MEDIUM/LOW)
|
|
83
|
-
- Semantic summaries for CRITICAL/HIGH entries
|
|
84
|
-
- Cross-references to add (endpoints, tables, decisions)
|
|
85
|
-
- IMPL/REVIEW artifacts to archive
|
|
86
|
-
- Next phase agent info
|
|
87
|
-
|
|
88
|
-
2. **Privacy check**: Never store secrets, credentials, or tokens in durable memory. The current `memory_store` handler stores submitted values and metadata; automatic regex scrubbing/redaction is not guaranteed. Omit sensitive content or redact it before storing.
|
|
89
|
-
|
|
90
|
-
3. **Write ZZ artifact**: Create `.pantheon/memory-bank/.tmp/ZZ-phase{N}-context.md` with:
|
|
91
|
-
- From/To agent info
|
|
92
|
-
- Budget allocated/used
|
|
93
|
-
- CRITICAL entries (expanded 3-line summaries)
|
|
94
|
-
- HIGH entries (2-line summaries)
|
|
95
|
-
- MEDIUM entries (1-line table rows)
|
|
96
|
-
- Cross-references
|
|
97
|
-
|
|
98
|
-
4. **Update 01-active-context.md**: Append compressed entries to `## Completed Phases` section
|
|
99
|
-
- CRITICAL: expanded (3 lines + summary)
|
|
100
|
-
- HIGH: standard (2 lines)
|
|
101
|
-
- MEDIUM: 1-line | LOW: 0.5-line (filename only)
|
|
102
|
-
- Apply budget allocation (priority-greedy)
|
|
103
|
-
|
|
104
|
-
5. **Archive IMPL/REVIEW**: Append to `02-progress-log.md` (same as Level 1)
|
|
105
|
-
|
|
106
|
-
6. **Update Cross-References**:
|
|
107
|
-
- Append new entries to `_xref/index.md`
|
|
108
|
-
- Increment `_xref/_next_id.json`
|
|
109
|
-
|
|
110
|
-
7. **Optional durable memory**: Only when explicitly requested and the result is reusable across sessions, store one concise top-level decision/fact. Do not index every compressed entry, phase result, or artifact.
|
|
111
|
-
|
|
112
|
-
8. **Report**: Return the compression summary and any unresolved items; do not report memory-index counts unless an explicit store was requested.
|
|
113
|
-
|
|
114
|
-
### Write Protocol
|
|
115
|
-
- Atomic write: .tmp → fsync → validate → rename
|
|
116
|
-
- Secret handling: omit or manually redact secrets before durable storage; do not rely on automatic MCP scrubbing.
|
|
81
|
+
## Context and Checkpoint Guidance
|
|
117
82
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
83
|
+
OpenCode's native compaction owns summarizing the active conversation. Do not
|
|
84
|
+
run a second phase-scoring, indexing, or transcript-copy pipeline. Use
|
|
85
|
+
`context_save` only for a concise checkpoint when the user requests one or the
|
|
86
|
+
task is expected to resume in another session; use `context_get` when resuming.
|
|
87
|
+
Keep the objective, current phase, completed work, next step, decisions,
|
|
88
|
+
blockers, and uncertain external outcomes. Do not save routine phase summaries,
|
|
89
|
+
tool logs, transcripts, or secrets. Durable `memory_store` follows the explicit
|
|
90
|
+
request policy below and remains separate from session checkpoints.
|
|
122
91
|
|
|
123
92
|
## Recall Handler (Level 3)
|
|
124
93
|
|
|
@@ -139,7 +108,9 @@ Mnemosyne recalls stored entries with the `memory_search` MCP tool:
|
|
|
139
108
|
```
|
|
140
109
|
|
|
141
110
|
**Integration with compress_context:**
|
|
142
|
-
|
|
111
|
+
Native OpenCode compaction owns the active conversation. Do not create a Memory
|
|
112
|
+
Bank artifact or durable entry for each compacted phase. Persist a reusable
|
|
113
|
+
outcome only under the explicit memory-store policy.
|
|
143
114
|
|
|
144
115
|
**Integration with Close sprint:**
|
|
145
116
|
When `Close sprint` is called, do not create a durable-memory copy of temporary artifacts unless explicitly requested.
|
|
@@ -157,8 +128,8 @@ Use this only when the user or Zeus explicitly asks to preserve a reusable resul
|
|
|
157
128
|
|
|
158
129
|
`pantheon-memory` stores durable SQLite entries with no entry TTL. Its search is
|
|
159
130
|
FTS5/BM25 lexical matching only, with no semantic/vector fallback. Never store
|
|
160
|
-
secrets, credentials, or tokens:
|
|
161
|
-
|
|
131
|
+
secrets, credentials, or tokens: automatic regex scrubbing/redaction is not guaranteed.
|
|
132
|
+
The MCP stores submitted values and metadata.
|
|
162
133
|
|
|
163
134
|
**Command:** `@mnemosyne Store <concise reusable result>`
|
|
164
135
|
|
|
@@ -172,7 +143,7 @@ without guaranteed automatic scrubbing.
|
|
|
172
143
|
- Continue through explicitly requested memory-bank tasks
|
|
173
144
|
- Do not start Quick-index or persistence operations automatically
|
|
174
145
|
- Stop before destructive memory operations (delete, cleanup, compress with force)
|
|
175
|
-
-
|
|
146
|
+
- Native context compaction does not trigger a separate memory workflow
|
|
176
147
|
- For Sprint close: auto-continue through final index → wipe .tmp/ → update progress
|
|
177
148
|
- Partial results OK — memory operations are transactional and safe to interrupt
|
|
178
149
|
|
package/src/agents/nyx.md
CHANGED
|
@@ -6,7 +6,7 @@ reasoning_effort: low
|
|
|
6
6
|
permission:
|
|
7
7
|
read: allow
|
|
8
8
|
grep: allow
|
|
9
|
-
|
|
9
|
+
shell: allow
|
|
10
10
|
webfetch: allow
|
|
11
11
|
edit: deny
|
|
12
12
|
hashline_edit: deny
|
|
@@ -14,8 +14,12 @@ permission:
|
|
|
14
14
|
"*": deny
|
|
15
15
|
temperature: 0.1
|
|
16
16
|
skills:
|
|
17
|
-
- security-hardening
|
|
18
17
|
- auto-continue
|
|
18
|
+
- loop-engineering
|
|
19
|
+
- reflect
|
|
20
|
+
- security-hardening
|
|
21
|
+
- simplify
|
|
22
|
+
- worktrees
|
|
19
23
|
mcp_tools:
|
|
20
24
|
pantheon-resources: all
|
|
21
25
|
pantheon-memory: [memory_search]
|
package/src/agents/prometheus.md
CHANGED
|
@@ -7,7 +7,7 @@ permission:
|
|
|
7
7
|
read: allow
|
|
8
8
|
grep: allow
|
|
9
9
|
edit: allow
|
|
10
|
-
|
|
10
|
+
shell: allow
|
|
11
11
|
webfetch: allow
|
|
12
12
|
task:
|
|
13
13
|
"*": deny
|
|
@@ -15,6 +15,10 @@ temperature: 0.2
|
|
|
15
15
|
skills:
|
|
16
16
|
- git-workflow-and-versioning
|
|
17
17
|
- incremental-implementation
|
|
18
|
+
- loop-engineering
|
|
19
|
+
- reflect
|
|
20
|
+
- simplify
|
|
21
|
+
- worktrees
|
|
18
22
|
mcp_tools:
|
|
19
23
|
pantheon-resources: all
|
|
20
24
|
pantheon-memory: [memory_search]
|
package/src/agents/talos.md
CHANGED
|
@@ -6,18 +6,27 @@ reasoning_effort: low
|
|
|
6
6
|
permission:
|
|
7
7
|
read: allow
|
|
8
8
|
edit: allow
|
|
9
|
-
|
|
9
|
+
shell: allow
|
|
10
10
|
task:
|
|
11
11
|
"*": deny
|
|
12
12
|
temperature: 0.3
|
|
13
13
|
skills:
|
|
14
14
|
- incremental-implementation
|
|
15
|
+
- loop-engineering
|
|
16
|
+
- reflect
|
|
17
|
+
- simplify
|
|
18
|
+
- worktrees
|
|
15
19
|
mcp_tools:
|
|
16
20
|
pantheon-resources: all
|
|
17
21
|
pantheon-memory: [memory_recall]
|
|
18
22
|
pantheon-code-mode: [execute_code_script]
|
|
19
23
|
---
|
|
20
24
|
|
|
25
|
+
## Verification Tiers
|
|
26
|
+
|
|
27
|
+
Small bounded fix → change + one targeted proof, no ceremony. Material change → full test discipline. Match the tier to the change.
|
|
28
|
+
|
|
29
|
+
|
|
21
30
|
## Core Capabilities
|
|
22
31
|
|
|
23
32
|
### 1. Rapid Repairs
|
package/src/agents/themis.md
CHANGED
|
@@ -6,7 +6,7 @@ reasoning_effort: high
|
|
|
6
6
|
permission:
|
|
7
7
|
read: allow
|
|
8
8
|
grep: allow
|
|
9
|
-
|
|
9
|
+
shell: allow
|
|
10
10
|
edit: deny
|
|
11
11
|
hashline_edit: deny
|
|
12
12
|
task:
|
|
@@ -14,8 +14,12 @@ permission:
|
|
|
14
14
|
temperature: 0.1
|
|
15
15
|
skills:
|
|
16
16
|
- code-review-checklist
|
|
17
|
+
- loop-engineering
|
|
18
|
+
- reflect
|
|
17
19
|
- security-hardening
|
|
20
|
+
- simplify
|
|
18
21
|
- tdd-with-agents
|
|
22
|
+
- worktrees
|
|
19
23
|
mcp_tools:
|
|
20
24
|
pantheon-resources: all
|
|
21
25
|
pantheon-memory: [memory_search]
|