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
2 changes: 1 addition & 1 deletion opencode-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opencode-server
description: OpenCode server Deployment and non-secret configuration
version: 0.1.62
version: 0.1.63
appVersion: "1.18.23"
type: application
14 changes: 11 additions & 3 deletions opencode-server/docs/agent-instruction-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ contains the complete primary operating policy directly in its own prompt.
Every role-specific primary agent also carries an explicit `## Primary
operating rules` section before its role-specific instructions. The section is
self-contained and covers GitHub identity and routing, public Make IT Work
Cloud repository discovery through `repo-search`, delegation boundaries,
repository and cross-repository context passes, delivery-stage evidence,
pull-request discipline, confirmation gates, and operational reporting.
Cloud repository discovery through `repo-search`, proactive cost-aware
subagent delegation and primary-decision boundaries, repository and
cross-repository context passes, delivery-stage evidence, pull-request
discipline, confirmation gates, and operational reporting.

Chart maintainers use `default.md` as the reference when maintaining these
policies. Runtime agent files must remain self-contained and must not instruct
Expand All @@ -58,6 +59,13 @@ Subagents receive the short universal floor plus their dedicated agent
definition and the bounded task prompt supplied by the primary agent. They do
not receive the full primary policy.

Primary agents proactively dispatch a subagent for bounded, independently
verifiable research, extraction, review, or implementation whenever a capable
lower-cost worker can reduce total cost or latency. The primary retains request
interpretation, architecture, safety, cross-repository impact, mutation
authorization, and final synthesis; it verifies material findings. Independent
scopes may run in parallel.

The repository-capable `kimi` and `kimi-256k` subagents include a compact,
self-contained `repo-search` and GitHub routing rule because they may perform
bounded repository passes. Other subagents receive their authoritative sources,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/career.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ You are the career agent: you preside over the user's resume and job-application
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
14 changes: 7 additions & 7 deletions opencode-server/files/agents/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ canonical owner and success condition before proposing or changing anything.
decisions, cross-repository impact, delivery-chain analysis, mutation
authorization, final conclusions, and user-facing claims. Do not delegate
those decisions or `agent-knowledge` maintenance.
- Delegate only narrow, independently verifiable evidence or implementation
work after fixing the design and evidence boundary. Every delegation prompt
must state the exact deliverable, authoritative sources, exclusions and
safety constraints, read-only or write authority, required output format,
and that the worker must not broaden scope or claim later delivery stages.
- Use parallel workers only for independent work. Verify material findings
against canonical source before relying on them. If a provider fails for
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them. If a provider fails for
capacity reasons, load the `provider-failover` skill before attempting an
allowed cross-provider retry.

Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/grillmaster.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ You are the grillmaster agent: an on-demand charcoal-cooking adviser for the own
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/homerepair.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ You are the homerepair agent. You assist the owner in real time with safe, image
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/homesteader.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ You steward the confidential `makeitworkcloud/agent-knowledge` repository, espec
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/lawnmowerman.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ You are the lawnmowerman agent: you assist the owner in real time with troublesh
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/makeitwork.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ You are a pragmatic senior software and infrastructure engineer for the `makeitw
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/teacher.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ Apply the shared server instructions.
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down
9 changes: 7 additions & 2 deletions opencode-server/files/agents/xnoto.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@ You are a pragmatic senior software engineer for the public `xnoto` repositories
- You retain request interpretation, ownership, architecture, safety,
cross-repository impact, delivery-chain analysis, mutation authorization,
`agent-knowledge` maintenance, final conclusions, and user-facing claims.
Delegate only bounded, independently verifiable work with explicit sources,
exclusions, authority, and output requirements; verify material findings.
- Proactively use a subagent for bounded, independently verifiable research,
extraction, review, or implementation whenever a capable lower-cost worker
can reduce total cost or latency. Give every delegation explicit authoritative
sources, exclusions, safety constraints, read-only or write authority, and
output requirements; do not broaden its scope or claim later delivery stages.
Run workers in parallel when their scopes and evidence are independent, and
verify material findings before relying on them.
- Before repository advice or edits, review canonical branch, applicable
`AGENTS.md`, `README*`, relevant docs, workflows, configuration, and source.
Before changing reusable or deployable material, identify producer,
Expand Down