Skip to content

Fix stale AI-facing docs: AGENTS.md v2 API, version drift, file casing#267

Merged
Eigenwise merged 2 commits into
mainfrom
fix/ai-dx-track1-agents-md
Jul 18, 2026
Merged

Fix stale AI-facing docs: AGENTS.md v2 API, version drift, file casing#267
Eigenwise merged 2 commits into
mainfrom
fix/ai-dx-track1-agents-md

Conversation

@Eigenwise

Copy link
Copy Markdown
Owner

What

First slice of the AI developer experience upgrade. Fixes the artifacts that AI assistants read first, which were actively wrong.

AGENTS.md taught an API that doesn't exist. The Quick Start used AtomicAgent(system_prompt=..., input_schema=..., output_schema=..., model=...), v1-style constructor kwargs gone since 2.0. Same story for the context-provider example and the atomic_agents.base imports. Every coding agent that opened this repo learned a constructor that won't run. Rewritten to the real v2 API (AgentConfig, AtomicAgent[In, Out] generics, Instructor-wrapped client, register_context_provider), both examples verified against the installed framework. The component list now matches the actual package layout (lib/, memory/, prompting/, services/ don't exist).

The file was tracked as lowercase agents.md. Windows hid it locally, but on case-sensitive checkouts the @AGENTS.md import in CLAUDE.md and any tool probing for AGENTS.md (Codex, Cursor, Jules, etc.) missed the file entirely. Renamed in the index.

Version drift, fixed structurally. docs/conf.py was hardcoded at 2.0.4 (actual: 2.9.1). It now reads the root pyproject.toml directly, so scripts/sync_version.py and its CI step are retired instead of patched.

Plugin changelog gap. plugin.json says 2.1.0 but the changelog stopped at 2.0.1. Added the 2.1.0 entry (create-* skills, reviewer fix) plus an Unreleased section for the rebrand, MiniMax M3 default, and the Copilot CLI argument-hint fix.

Also drops a duplicated ## Star History heading from a recent README commit.

Verified

  • Quick Start + context-provider examples run against the workspace env (agent constructs, provider registers)
  • conf.py resolves 2.9.1 standalone (caught and fixed a relative-path bug in the process: Path(__file__) needs .resolve() under some invocations)
  • git ls-files now shows AGENTS.md uppercase

🤖 Generated with Claude Code

Eigenwise and others added 2 commits July 18, 2026 10:17
AGENTS.md was teaching a v1-style API that no longer exists: the
AtomicAgent(system_prompt=..., input_schema=...) constructor, a
context_providers list kwarg, and imports from atomic_agents.base.
Any coding agent reading the repo got a constructor signature that
won't run. Examples rewritten to the real v2 API (AgentConfig,
AtomicAgent[In, Out] generics, Instructor-wrapped client,
register_context_provider) and verified against the installed
framework. Stale component list (lib/, memory/, prompting/,
services/) replaced with the actual package layout, hardcoded
version removed.

The file was also tracked as lowercase agents.md, so @AGENTS.md in
CLAUDE.md and tools probing for AGENTS.md missed it on
case-sensitive checkouts. Renamed in the index.

docs/conf.py now reads the version from the root pyproject.toml
directly (was hardcoded at 2.0.4, actual 2.9.1), which retires
scripts/sync_version.py and its CI step.

Plugin CHANGELOG gains the missing 2.1.0 entry (create-* skills,
reviewer model-name fix) plus an Unreleased section for the
rebrand, MiniMax M3 default, and the Copilot CLI argument-hint fix.
Also drops a duplicated Star History heading in README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ash manifest

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Eigenwise
Eigenwise merged commit f39c52e into main Jul 18, 2026
1 check passed
@Eigenwise
Eigenwise deleted the fix/ai-dx-track1-agents-md branch July 18, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant