agentleFS
zenml-iozenml-io/kitaru/plugins/AGENTS.md

kitaru / plugins

AGENTS.md300 starsChanged 2 months agoApache-2.0View on GitHub

Read plugins/DEVELOPMENT.md before you change package metadata, default definitions, pins, artifact tests, or plugin release workflows. During iteration, run the focused tests and file-scoped checks for the changed behavior. Before handing off a plugin implementation PR, run the workspace format, lint, typecheck, and full test commands below. Metadata, pin, default-definition, and release-path changes also require the artifact smoke check. Documentation-only changes need relevant documentation checks, not the plugin test suite.

The file

Show its rules and text

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

18 rules. About 0 are common, 6 are distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

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

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

    Read plugins/DEVELOPMENT.md before you change package metadata, default definitions, pins, artifact tests, or plugin release workflows.

    line 3
  2. Very specific:

    Treat each directory under plugins/packages/ as an independent Python distribution.

    line 7
  3. Very specific:

    Before adding an independent distribution, complete the new-distribution integration review in the kitaru-dev skill, including release …

    line 8
  4. Distinctive:

    Do not bump unrelated plugin distributions.

    line 12
  5. Very specific:

    Keep the definitions in src/kitaru/server/api/bootstrap.py aligned with their owning wheels.

    line 13
  6. Distinctive:

    Keep adapter distributions out of the server catalog.

    line 22
  7. Very specific:

    Run plugin workspace commands with --project plugins.

    line 23
  8. Very specific:

    Keep .github/workflows/ci.yml, .github/workflows/release-plugins.yml, and plugins/packages/ aligned when you add or remove a distribution.

    line 25
  9. Distinctive:

    Run the focused plugin tests for changed behavior.

    line 31
  10. Very specific:

    Run uv run --project plugins ruff format --config plugins/pyproject.toml --check plugins and uv run --project plugins ruff check --config …

    line 32
  11. Very specific:

    Run just plugin-artifact-smoke for default definitions, package metadata, pins, or release-path changes.

    line 35
  12. Very specific:

    Use plugins/docker-compose.candidate.yml when a change needs a candidate-image rehearsal.

    line 36
  13. Distinctive:

    Do not change production release Dockerfiles to support local plugin wheels.

    line 38
  14. Distinctive:

    Use an exact package requirement when the test must cover wheel installation or package imports.

    line 43
  15. Very specific:

    Use the Release Kitaru plugins workflow.

    line 48
  16. Very specific:

    Use the non-publishing rehearsal in plugins/DEVELOPMENT.md on an eligible reviewed commit.

    line 49
  17. Very specific:

    Use the tag format documented in plugins/DEVELOPMENT.md.

    line 52
  18. Distinctive:

    Never reuse a PyPI version or package tag.

    line 53

≈ “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

Plugin Guidelines

Read plugins/DEVELOPMENT.md before you change package metadata, default definitions, pins, artifact tests, or plugin release workflows.

Package boundaries

  • Treat each directory under plugins/packages/ as an independent Python distribution.
  • Before adding an independent distribution, complete the new-distribution integration review in the kitaru-dev skill, including release inventory, worker installation, and any deliberate catalog or example exclusions.
  • Adapter distributions are installed directly by agent projects and do not belong in the default server plugin catalog.
  • Release one importer distribution when only that provider changes.
  • Release kitaru-evaluator when any built-in evaluator changes.
  • Do not bump unrelated plugin distributions.
  • Keep the definitions in src/kitaru/server/api/bootstrap.py aligned with their owning wheels.

Implementation and release preparation

  • Feature PRs change implementation, tests, and Unreleased changelog entries. Leave existing package versions and server default requirements/display versions unchanged.
  • The release-preparation PR selects plugin versions and updates matching DEFAULT_PLUGIN_DEFINITIONS requirements and display versions together. The release inventory validates their equality.
  • Preserve a published core dependency floor when it remains supported. If new behavior requires unreleased core, follow the exact development-pin policy in plugins/DEVELOPMENT.md and record the core change in Release context.
  • Release prep replaces development pins with the selected core release floor and regenerates plugins/uv.lock before publication.
  • New packages need initial metadata. Adding a server default requires an explicit release decision.
  • Keep adapter distributions out of the server catalog.
  • Run plugin workspace commands with --project plugins; the root workspace contains only Kitaru.
  • Include relevant plugins/uv.lock changes in the patch and in any requested commit.
  • Keep .github/workflows/ci.yml, .github/workflows/release-plugins.yml, and plugins/packages/ aligned when you add or remove a distribution.

Required tests

During iteration, run the focused tests and file-scoped checks for the changed behavior. Before handing off a plugin implementation PR, run the workspace format, lint, typecheck, and full test commands below. Metadata, pin, default-definition, and release-path changes also require the artifact smoke check. Documentation-only changes need relevant documentation checks, not the plugin test suite.

  • Run the focused plugin tests for changed behavior.
  • Run uv run --project plugins ruff format --config plugins/pyproject.toml --check plugins and uv run --project plugins ruff check --config plugins/pyproject.toml plugins.
  • Run uv run --project plugins ty check --project plugins.
  • Run uv run --project plugins pytest -q -c plugins/pyproject.toml plugins/tests tests/server/test_default_plugins.py.
  • Run just plugin-artifact-smoke for default definitions, package metadata, pins, or release-path changes.
  • Use plugins/docker-compose.candidate.yml when a change needs a candidate-image rehearsal.
  • Include relevant candidate Dockerfile and Compose configuration changes in the patch and in any requested commit. Do not commit generated candidate wheels.
  • Do not change production release Dockerfiles to support local plugin wheels.

Development registration

  • Register a self-contained in-progress plugin with --script and an explicit entrypoint.
  • Use an exact package requirement when the test must cover wheel installation or package imports.
  • Remember that package registration stores metadata. It does not upload a wheel.

Release safety

  • Use the Release Kitaru plugins workflow. Do not publish plugin distributions from a developer machine.
  • Use the non-publishing rehearsal in plugins/DEVELOPMENT.md on an eligible reviewed commit.
  • Publish only from a namespaced package tag reachable from develop or that unit's matching maintenance branch.
  • For coordinated releases, wait for the required core version on PyPI before pushing dependent plugin tags. The remaining core jobs can continue in parallel.
  • Use the tag format documented in plugins/DEVELOPMENT.md.
  • Never reuse a PyPI version or package tag.
  • Confirm the package name, package version, Git commit, PyPI project, and tag before approval.

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.