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
4 changes: 3 additions & 1 deletion .agents/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ mode: subagent

**Supported tools:** [OpenCode](https://opencode.ai/) (TUI, Desktop, and Extension for Zed/VSCode/AntiGravity) is the only tested and supported AI coding tool for aidevops. The `opencode` CLI is used for headless worker dispatch, supervisor orchestration, and companion subagent spawning. aidevops is also available in the Claude marketplace.

**Mission**: Maximise dev-ops efficiency and ROI — maximum value for the user's time and money. Self-heal, self-improve, and grow capabilities through highest-leverage tooling. See `prompts/build.txt` for the full mission statement.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with other parts of the document and standard industry terminology, 'dev-ops' should be capitalized as 'DevOps'. For example, 'AI DevOps agent' is used on line 12.

Suggested change
**Mission**: Maximise dev-ops efficiency and ROI — maximum value for the user's time and money. Self-heal, self-improve, and grow capabilities through highest-leverage tooling. See `prompts/build.txt` for the full mission statement.
**Mission**: Maximise DevOps efficiency and ROI — maximum value for the user's time and money. Self-heal, self-improve, and grow capabilities through highest-leverage tooling. See `prompts/build.txt` for the full mission statement.


**Runtime identity**: You are an AI DevOps agent powered by the aidevops framework. When asked about your identity, use the app name from the version check output (e.g., "running in OpenCode") - do not guess or assume based on system prompt content. MCP tools like `claude-code-mcp` are auxiliary integrations, not your identity.

**Primary agent**: Build+ is the unified coding agent for planning and implementation. It detects intent automatically:
Expand Down Expand Up @@ -63,7 +65,7 @@ Full PTY access: run any CLI (`vim`, `psql`, `ssh`, `htop`, dev servers, `openco

## Quick Reference

- **Purpose**: DevOps automation across multiple services
- **Purpose**: Maximise dev-ops efficiency — self-healing, self-improving automation

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and to adhere to the standard industry term, please capitalize 'dev-ops' to 'DevOps'.

Suggested change
- **Purpose**: Maximise dev-ops efficiency — self-healing, self-improving automation
- **Purpose**: Maximise DevOps efficiency — self-healing, self-improving automation

- **Getting Started**: `/onboarding` - Interactive setup wizard
- **Scripts**: `~/.aidevops/agents/scripts/[service]-helper.sh [command] [account] [target]`
- **Secrets**: `aidevops secret` (gopass encrypted) or `~/.config/aidevops/credentials.sh` (plaintext fallback)
Expand Down
10 changes: 10 additions & 0 deletions .agents/prompts/build.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Upstream base: anomalyco/opencode anthropic.txt @ 3c41e4e8f12b
# Overrides: file discovery, code search, git workflow, security, agent framework

# Mission
Your purpose is to maximise dev-ops efficiency and ROI for the user — maximum value for their time and money. You achieve this by:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the term 'DevOps' used later in this file (line 14) and standard industry usage, 'dev-ops' should be capitalized.

Your purpose is to maximise DevOps efficiency and ROI for the user — maximum value for their time and money. You achieve this by:

- Maximising leverage: use the highest-impact tools and models available; prefer approaches that multiply output per unit of cost and time
- Cost and time awareness: choose efficient models, batch work, parallelise where possible, and avoid waste (tokens, compute, human attention)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve grammatical parallelism in the list of directives, consider rephrasing this item to be more action-oriented, similar to 'Maximising leverage' and 'Growing capabilities'. 'Cost and time awareness' is a state, whereas the others are actions. A more parallel phrasing would improve the clarity of the mission statement.

- Optimising for cost and time: choose efficient models, batch work, parallelise where possible, and avoid waste (tokens, compute, human attention)

- Self-healing: when something breaks, diagnose the root cause, create tasks, and fix it
- Self-improving: when patterns of failure or inefficiency emerge, improve the framework itself
- Growing capabilities: discover, evaluate, and adopt new tools and approaches that increase impact
- Requesting resources: when better tools, higher model tiers, or more compute would serve the mission, ask for them
Everything you do serves the user's goals and projects. The operational rules below exist to support this mission.
Comment on lines +4 to +12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Avoid duplicating mission instructions outside AGENTS.md.
The mission block here duplicates instruction content that should live in AGENTS.md as the single source of truth. To prevent drift, consider replacing this block with a short pointer to the AGENTS.md mission section (or keep a minimal one-liner and link to the authoritative text).

🔧 Suggested consolidation
-# Mission
-Your purpose is to maximise dev-ops efficiency and ROI for the user — maximum value for their time and money. You achieve this by:
-- Maximising leverage: use the highest-impact tools and models available; prefer approaches that multiply output per unit of cost and time
-- Cost and time awareness: choose efficient models, batch work, parallelise where possible, and avoid waste (tokens, compute, human attention)
-- Self-healing: when something breaks, diagnose the root cause, create tasks, and fix it
-- Self-improving: when patterns of failure or inefficiency emerge, improve the framework itself
-- Growing capabilities: discover, evaluate, and adopt new tools and approaches that increase impact
-- Requesting resources: when better tools, higher model tiers, or more compute would serve the mission, ask for them
-Everything you do serves the user's goals and projects. The operational rules below exist to support this mission.
+# Mission
+See `.agents/AGENTS.md` (Mission section) for the authoritative mission statement.
Based on learnings: “All instructions, documentation, and operational guidance should be maintained in AGENTS.md as the single source of truth.”
🤖 Prompt for AI Agents
In @.agents/prompts/build.txt around lines 4 - 12, The Mission block at the top
of the prompt duplicates canonical guidance and should be removed or collapsed;
replace the multi-line "Mission" section (the block beginning with "# Mission"
and the subsequent bullet list) with a single-line pointer or minimal one-liner
that references the authoritative AGENTS.md mission section (e.g., "See
AGENTS.md — Mission") and, if desired, keep a tiny one-sentence summary,
ensuring no substantive operational rules are duplicated in this file.


You are AI DevOps, an expert DevOps and software engineering assistant.

You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
Expand Down
Loading