agentleFS
agent-orcagent-orc/agent-studio/AGENTS.md

agent-studio

AGENTS.md4 starsChanged 3 months agoApache-2.0View on GitHub

Root navigation card for Codex CLI, Claude Code, GitHub Copilot coding agent, and future agent surfaces. Keep this file short. Mandatory guardrails live here; domain system-of-record maps live in docs/. Compatibility shims: CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md. Frontend-scoped rules live in frontend/AGENTS.md and apply only under frontend/. - Product overview: README.md. - Future-only product direction: ROADMAP.md. - Canonical contribution and style conventions for all agents: docs/start/contribution-and-style-guide.html. - Documentation index: docs/start/README.md. Start there when you do not already know the right document.…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository6 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never directly create, move, edit, delete, or rename anything under agent-taskboard-workspace/projects/ or …

    line 44
  2. Distinctive:

    Do not commit, push, amend, or mutate remotes unless this exact interactive task asks for it.

    line 50
  3. Distinctive:

    Follow the canonical contribution and style guide linked above.

    line 57
  4. Very specific:

    When adding a document under docs/, add one row to docs/start/README.md in the same change.

    line 60
  5. Distinctive:

    Default task execution is sequential within one project.

    line 92
  6. Distinctive:

    Do not add workflow engines, per-task workspaces, unbounded fan-out, or a design where the run agent manages git.

    line 97
  7. Distinctive:

    Do not start dev backend from a supervisor session, auto-mode loop, background watcher, or routine shell command.

    line 107
  8. Distinctive:

    Keep changes scoped to the task.

    line 130
  9. Distinctive:

    Update docs and ADRs only when the change affects product direction, public behavior, architecture, CLI contracts, filesystem contracts, or …

    line 131

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Root navigation card for Codex CLI, Claude Code, GitHub Copilot coding agent, and future agent surfaces. Keep this file short. Mandatory guardrails live here; domain system-of-record maps live in docs/.

Compatibility shims: CLAUDE.md, GEMINI.md, and .github/copilot-instructions.md. Frontend-scoped rules live in frontend/AGENTS.md and apply only under frontend/.

Start Here

  • Product overview: README.md.
  • Future-only product direction: ROADMAP.md.
  • Canonical contribution and style conventions for all agents: docs/start/contribution-and-style-guide.html.
  • Documentation index: docs/start/README.md. Start there when you do not already know the right document.
  • Operator setup and troubleshooting: docs/operations/setup/.
  • Familiar runtime, CLI, permission, filesystem, runner, or state-machine failure: search the thematic common-problems libraries (docs/operations/common-problems/ and docs/system/common-problems/) before debugging from scratch.
  • Current state of a designated topic (so we do not re-discover the same ground): docs/concepts/designated-topics/. The opt-in post-agents-wiki-sync step keeps these pointers consistent and the per-topic Current State pages fresh.

Non-Negotiable Rules

  • UI work obeys the style-guide hard rules in docs/quality/design/style-guide-hard-rules.md. Most-cited: no coloured left accent line or bar on cards, panels, rows, banners, or pill groups (encode status via background tint, badge, or dot).
  • New or touched admin UI also obeys the flat-surface contract and reference mockup in docs/operations/admin-design-guideline/index.html. Apply it incrementally; do not turn a scoped card into a broad restyling pass.
  • Work only in the active dev checkout or assigned task worktree. Never edit agent-taskboard-stable/; stable updates only by the parent update-stable.sh after a verified dev batch.
  • Never directly create, move, edit, delete, or rename anything under agent-taskboard-workspace/projects/** or agent-taskboard-workspace/.metadata/**. Use the application API. If the API lacks the operation, queue a task instead of bypassing it.
  • For task creation, movement, reissue, archive, or triage, read the Task API skill first: .agents/skills/task-api/SKILL.md.
  • Do not commit, push, amend, or mutate remotes unless this exact interactive task asks for it. Managed task runs leave git ownership to the platform; see docs/operations/git/commit-push-doctrine.md.
  • Platform-owned commits are remote-durability boundaries: push them immediately by default in every managed repository. Keep network work off the run path, retry failures with bounded backoff, and surface final failures as typed operator-feed events rather than treating a local commit as durable.
  • Follow the canonical contribution and style guide linked above. Its language policy applies to UI strings, backend errors shown to the UI, prompts, comments, docs, commits, and PR text. Do not introduce em dashes.
  • When adding a document under docs/, add one row to docs/start/README.md in the same change.
  • CLI crashes, run-outcome classification, retries, or orchestrator drive-to-conclusion: read docs/concepts/orchestrator-drive-to-conclusion.html before changing that logic, and maintain it after. Append each incident to its case log (date, slug, what crashed, which terminal it reached).
  • A repeatedly busy orphan worktree is a bounded drive-to-conclusion failure: after five preparation attempts, escalate it with a visible worktree-blocked gate item containing the busy path, and pause retries. Repeated pick-reverted-no-run notices remain rate-limited per task.
  • Agent shell policy: default to bash/sh, prefer existing .sh scripts, and avoid PowerShell-specific file creation.

Domain Maps

AreaRead firstOwns
Runnerdocs/system/domains/runner.mdPickup, CLI run loop, outcome policy, supervisor loops, and the standalone remote runner (runner/, runbook).
Pipelinedocs/system/domains/pipeline.mdPre/core/post steps, pipeline history, step contracts, and the review/aspect evidence contract (branch diff + results/ inventory + card mode; when "deliverables missing" is legitimate).
Reviewdocs/system/domains/review.mdRemote Review material, merge-base diff budgets, semantic verdict citations, grading, and acceptance-rail behavior.
Model routingdocs/system/domains/model-routing-policy.mdCanonical model and thinking-level tiers, weighted selection, correctness floors, benchmark evidence, and quota handling.
Tasksdocs/system/domains/tasks.mdJob folders, lane states, API mutations, task access, Epic lifecycle and archive-inclusive history, and the project onboarding and central-store contract.
Frontenddocs/system/domains/frontend.mdAngular surfaces, design system, Playwright proof.
Style guidesdocs/quality/README.mdTechnology-aware Angular and .NET guidance selected into coding prompts; incorporates the hard design baseline.
Design rulesdocs/quality/design/style-guide-hard-rules.mdHard, non-negotiable design rules (no left accent bars, full-bleed views, aggregate = sum of visible children, acute-only signals, both themes).
CLIdocs/system/domains/cli.mdClaude, Codex, Copilot, Gemini drivers and quota probes.
ADRsdocs/system/architecture/decisions/adr-archive.mdLoad-bearing decisions and deliberate non-goals.
Skills.agents/skills/README.mdPortable specialist workflows.

Product Boundaries

  • Default task execution is sequential within one project.
  • Parallelism across projects is in scope.
  • Opt-in intra-project parallelism exists only through orchestrator-gated maxParallelism, isolated worktrees, and pipeline-owned git steps (ADR-0052).
  • Do not add workflow engines, per-task workspaces, unbounded fan-out, or a design where the run agent manages git.
  • The Companion App is reference code only. Do not extend it or advertise it as current product capability.

Runtime And Stable

  • Dev backend port 5030 is offline by default. Agents may bring it up only via a Playwright spec from stable that uses frontend/e2e/fixtures/dev-backend.ts.
  • Do not start dev backend from a supervisor session, auto-mode loop, background watcher, or routine shell command.
  • Stable is the supervisor seat. Never update stable mid-run. After a stable restart, verify runner mode and retry the resume path until the intended mode is visible.
  • Backend lifecycle scripts are shell scripts. Prefer repo scripts such as api.sh over ad-hoc process control.

Verification

  • Regression reports need data first: reproduce, measure, find the test gap, write the failing regression test, fix, then repeat the original measurement.
  • Prompt changes under prompts/runtime/ are CLI behavior changes. Run the matching live probe, such as the @billable hello-world spec, or state why it could not be run.
  • Visual or behavioral frontend changes require relevant Playwright coverage and screenshots. Persist review screenshots under the task results/ folder when they must survive test-results/ cleanup.
  • Pure documentation-only changes do not need builds or Playwright. Verify the navigation, link targets, and diff.

Finish Criteria

  • Keep changes scoped to the task.
  • Update docs and ADRs only when the change affects product direction, public behavior, architecture, CLI contracts, filesystem contracts, or agent workflow.
  • ADRs are for load-bearing decisions and deliberate non-goals, not changelog entries or bug-fix notes.
  • Report changed files and verification. If no documentation update is needed for a code change, say so briefly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.