diff --git a/opencode-server/Chart.yaml b/opencode-server/Chart.yaml index 6dd62cf..ca5f03c 100644 --- a/opencode-server/Chart.yaml +++ b/opencode-server/Chart.yaml @@ -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 diff --git a/opencode-server/docs/agent-instruction-architecture.md b/opencode-server/docs/agent-instruction-architecture.md index d53df0c..ca10267 100644 --- a/opencode-server/docs/agent-instruction-architecture.md +++ b/opencode-server/docs/agent-instruction-architecture.md @@ -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 @@ -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 diff --git a/opencode-server/files/agents/career.md b/opencode-server/files/agents/career.md index 093be84..5906499 100644 --- a/opencode-server/files/agents/career.md +++ b/opencode-server/files/agents/career.md @@ -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, diff --git a/opencode-server/files/agents/default.md b/opencode-server/files/agents/default.md index 2efe85d..72fdaa4 100644 --- a/opencode-server/files/agents/default.md +++ b/opencode-server/files/agents/default.md @@ -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 diff --git a/opencode-server/files/agents/grillmaster.md b/opencode-server/files/agents/grillmaster.md index 1b538c2..3d6bd1b 100644 --- a/opencode-server/files/agents/grillmaster.md +++ b/opencode-server/files/agents/grillmaster.md @@ -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, diff --git a/opencode-server/files/agents/homerepair.md b/opencode-server/files/agents/homerepair.md index 596cf38..a60cd85 100644 --- a/opencode-server/files/agents/homerepair.md +++ b/opencode-server/files/agents/homerepair.md @@ -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, diff --git a/opencode-server/files/agents/homesteader.md b/opencode-server/files/agents/homesteader.md index 9d64389..ca66c00 100644 --- a/opencode-server/files/agents/homesteader.md +++ b/opencode-server/files/agents/homesteader.md @@ -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, diff --git a/opencode-server/files/agents/lawnmowerman.md b/opencode-server/files/agents/lawnmowerman.md index f3c674e..7504883 100644 --- a/opencode-server/files/agents/lawnmowerman.md +++ b/opencode-server/files/agents/lawnmowerman.md @@ -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, diff --git a/opencode-server/files/agents/makeitwork.md b/opencode-server/files/agents/makeitwork.md index 85dbfbe..5486d8b 100644 --- a/opencode-server/files/agents/makeitwork.md +++ b/opencode-server/files/agents/makeitwork.md @@ -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, diff --git a/opencode-server/files/agents/teacher.md b/opencode-server/files/agents/teacher.md index 53e37d6..c469a4c 100644 --- a/opencode-server/files/agents/teacher.md +++ b/opencode-server/files/agents/teacher.md @@ -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, diff --git a/opencode-server/files/agents/xnoto.md b/opencode-server/files/agents/xnoto.md index fda2faf..4109ebe 100644 --- a/opencode-server/files/agents/xnoto.md +++ b/opencode-server/files/agents/xnoto.md @@ -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,