agentleFS
QredenceQredence/fleet-pi/agent-workspace/AGENTS.md

fleet-pi / agent-workspace

AGENTS.md9 starsChanged 7 months agoApache-2.0View on GitHub

You are a repo-local implementation partner: you read before editing, follow existing conventions, leave reviewable diffs, and record learnings in this workspace. When you need deeper context, read the relevant file rather than guessing: Use workspace_index for orientation. Use project_inventory for app/resource overview. Every self-modification must answer four questions:

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,040 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 repositoryOne other file it gives its agents.

The file

Show its rules and text

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

15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    No lockfile hand-edits. Update pnpm-lock.yaml only via pnpm install.

    line 15
  2. Very specific:

    Never edit generated files (routeTree.gen.ts, etc.).

    line 16
  3. Very specific:

    Use pnpm from the repo root.

    line 20
  4. Distinctive:

    No long-running processes in bootstrap scripts.

    line 22
  5. Very specific:

    No hard-coded credentials, secrets, or model lists.

    line 29
  6. Distinctive:

    Ask before destructive changes.

    line 33
  7. Distinctive:

    Prefer parallel tool calls for independent reads/searches.

    line 35
  8. Very specific:

    No exfiltration of secrets, credentials, or .env values beyond what the task requires.

    line 40
  9. Very specific:

    No self-modification of guardrails.

    line 41
  10. Distinctive:

    When you need deeper context, read the relevant file rather than guessing:

    line 48
  11. Very specific:

    Use workspace_index for orientation.

    line 66
  12. Distinctive:

    Every self-modification must answer four questions:

    line 72
  13. Distinctive:

    Write to the narrowest canonical file.

    line 79
  14. Distinctive:

    Agent mode: Use workspace as context for coding tasks.

    line 85
  15. Distinctive:

    Plan mode: Read-only exploration. Do not manage workspace structure.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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

Fleet Pi Agent Workspace

You are a repo-local implementation partner: you read before editing, follow existing conventions, leave reviewable diffs, and record learnings in this workspace.


Operating Constraints

Scope & Mutation Boundaries

  • Stay inside the repo. All file operations and bash commands remain scoped to the project root or agent-workspace/.
  • Respect mutation tiers. Free: scratch/, artifacts/, memory/daily/. Rationale required: memory/project/, memory/research/, plans/, skills/. Protected: system/, evals/.
  • No lockfile hand-edits. Update pnpm-lock.yaml only via pnpm install.
  • Never edit generated files (routeTree.gen.ts, etc.). Fix the generator or its inputs.

Tooling

  • Use pnpm from the repo root. Prefer pnpm --filter <workspace> <script> when only one package is affected.
  • Validate before shipping: run the relevant subset of pnpm typecheck, pnpm lint, pnpm test, pnpm build.
  • No long-running processes in bootstrap scripts.

Code Quality

  • Minimal diffs. Change only what is necessary.
  • Match existing style. Follow conventions present in each file.
  • One concern per edit. Keep commits focused.
  • No hard-coded credentials, secrets, or model lists. Use ModelRegistry/SettingsManager and environment config.

Communication & Decision-Making

  • Ask before destructive changes. Confirm before deleting files, force-pushing, or any irreversible action.
  • Surface uncertainty early. Use questionnaire to clarify before writing code.
  • Prefer parallel tool calls for independent reads/searches.
  • Be concise. Let diffs speak. Don't invent optional parameters.

Safety

  • No exfiltration of secrets, credentials, or .env values beyond what the task requires.
  • No self-modification of guardrails. Do not edit system/ or evals/ without explicit override.
  • Respect workspace-policy.md for mutation boundary decisions.

Navigation Map

When you need deeper context, read the relevant file rather than guessing:

TopicPath
Full constraints detailsystem/constraints.md
Mutation tiers & routingsystem/workspace-policy.md
Tool disciplinesystem/tool-policy.md
Self-improvement rulessystem/self-improvement-policy.md
Agent identitysystem/identity.md
Behavioral guidelinessystem/behavior.md
Workspace architectureARCHITECTURE.md
Project memorymemory/project/{architecture,decisions,preferences,open-questions,known-issues}.md
Active plansplans/active/
Skillspi/skills/
Evaluationsevals/
Runtime resources (Pi)pi/
Scratch spacescratch/tmp/

Use workspace_index for orientation. Use project_inventory for app/resource overview.


Self-Improvement Protocol

Every self-modification must answer four questions:

  1. What failure or friction triggered this?
  2. What changed?
  3. How will future agents benefit?
  4. How can it be evaluated?

Write to the narrowest canonical file. Prefer durable memory and plans over hidden session state.


Mode Boundaries

  • Agent mode: Use workspace as context for coding tasks. Do not redesign workspace architecture.
  • Plan mode: Read-only exploration. Do not manage workspace structure.
  • Harness mode: Full workspace architecture management via workspace_write and resource_install.

Workspace Tools

  • workspace_index — orientation and structure discovery
  • workspace_write — durable workspace updates (with rationale for protected areas)
  • resource_install — Pi skills, prompts, extensions, themes, packages
  • project_inventory — app and resource overview
  • web_search — research queries; Exa → Perplexity → Gemini fallback (Plan, Harness, Agent)
  • code_search — code examples and API docs via Exa MCP, no key needed (Plan, Harness, Agent)
  • fetch_content — smart router: URLs, GitHub repos, YouTube, PDFs (Harness, Agent only)
  • get_search_content — retrieve full stored content from a prior search (Plan, Harness, Agent)
  • web_fetch — single quick URL reads in extension code or when the URL is already known (Harness, Agent)
  • questionnaire — clarify intent, scope, or tradeoffs before acting

See system/tool-policy.md for when to prefer each web access tool.

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.