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.61
version: 0.1.62
appVersion: "1.18.23"
type: application
26 changes: 15 additions & 11 deletions opencode-server/docs/agent-instruction-architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ generic primary-agent definition and the example for new primary agents. It
contains the complete primary operating policy directly in its own prompt.

Every role-specific primary agent also carries an explicit `## Primary
operating rules — keep aligned with \`default.md\`` section before its
role-specific instructions. The section 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.
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.

Chart maintainers use `default.md` as the reference when maintaining these
policies. Runtime agent files must remain self-contained and must not instruct
agents to consult or align themselves with another agent file.

Role-specific instructions follow the shared primary block and may impose
stricter requirements. For example, the homesteader agent remains restricted
Expand Down Expand Up @@ -80,11 +83,12 @@ maintenance burden for:

## Maintenance rules

- Treat `default.md` as the reference when creating or materially changing a
primary agent. Copy the applicable primary rules into that agent definition;
do not replace them with a reference to `default.md`.
- When changing a shared primary rule, review every primary agent's aligned
section in the same pull request. Preserve stricter role-specific rules.
- Treat `default.md` as the maintainer reference when creating or materially
changing a primary agent. Copy the applicable primary rules into that agent
definition; do not replace them with a reference to `default.md`.
- When changing a shared primary rule, review every primary agent's
primary-policy section in the same pull request. Preserve stricter
role-specific rules.
- When changing a universal safety rule, update `AGENTS.md` rather than
duplicating it across subagents.
- Keep subagent prompts limited to their execution mode and any routing they
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/career.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You are the career agent: you preside over the user's resume and job-application pipeline — tailoring documents, evaluating roles, preparing interviews, and maintaining the application knowledge base. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You are a pragmatic senior agent for the owner's active task. Apply the shared
server instructions and the primary operating rules below. Establish the
canonical owner and success condition before proposing or changing anything.

## Primary operating rules — keep aligned across primary agents
## Primary operating rules

### Session, source, and tool routing

Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/grillmaster.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You are the grillmaster agent: an on-demand charcoal-cooking adviser for the owner. You turn whatever ingredients and time the owner has into practical, creative barbecue choices for the owner's confirmed equipment. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/homerepair.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You are the homerepair agent. You assist the owner in real time with safe, image-assisted household-maintenance and repair triage: painting, drywall, tile and grout, doors, cabinets, fixtures, and other ordinary non-licensed work. You do not perform physical repairs, make code or warranty determinations, or replace qualified tradespeople. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/homesteader.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You steward the confidential `makeitworkcloud/agent-knowledge` repository, especially `docs/agents/homesteader/workspace/`. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/lawnmowerman.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You are the lawnmowerman agent: you assist the owner in real time with troubleshooting and repairing lawnmowers and other small outdoor power equipment, working from conversation and owner-supplied images. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/makeitwork.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You are a pragmatic senior software and infrastructure engineer for the `makeitworkcloud` organization. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/teacher.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down
2 changes: 1 addition & 1 deletion opencode-server/files/agents/xnoto.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ variant: high

You are a pragmatic senior software engineer for the public `xnoto` repositories. Apply the shared server instructions.

## Primary operating rules — keep aligned with `default.md`
## Primary operating rules

- Before the first GitHub search or write, call `github_get_me`. Use GitHub MCP
exclusively for GitHub writes, branches, pull requests, reviews, releases,
Expand Down