Skip to content

Add consumer-facing AGENTS.md; release cockroachdb 0.1.3 - #14

Merged
felipeg48 merged 4 commits into
mainfrom
feature/consumer-agents-md
Nov 25, 2026
Merged

felipeg48 merged 4 commits into
mainfrom
feature/consumer-agents-md

Conversation

@felipeg48

Copy link
Copy Markdown
Contributor

Adds a consumer-facing docs/agents/AGENTS.md (guide for coding agents working in a user's app) and bakes it into the base cockroachdb wheel at cockroachdb/AGENTS.md via Hatch force-include.

  • New shared guide: docs/agents/AGENTS.md (Python idiom; links to README; claims match real API: @crdb_retry, CockroachDBTemplate/CockroachDBSession, @follower_read/FollowerReadContext, @crdb_region/@regional_by_row/@global_table + crdb_region COLUMN, @changefeed_handler, AI vector/RAG, Continuum/MCP, cockroachdb-testing).
  • Bake into base wheel: [tool.hatch.build.targets.wheel.force-include] "../../docs/agents/AGENTS.md" = "cockroachdb/AGENTS.md".
  • Teeth test tests/test_agents_md_packaged.py: builds the wheel and asserts cockroachdb/AGENTS.md is present and non-empty.
  • Bump base cockroachdb 0.1.2 -> 0.1.3 (no other packages).
  • README pointer to the bundled guide.
  • Lockstep the ideas-board example pin to cockroachdb==0.1.3 (single-version feed).

Author docs/agents/AGENTS.md (consumer guide for coding agents working in a
user's app) and force-include it into the base cockroachdb wheel at
cockroachdb/AGENTS.md. Bump base package 0.1.2 -> 0.1.3, add a wheel-packaging
teeth test, README pointer, and lockstep the ideas-board example pin.
uv build builds the wheel from the sdist, which cannot reach the repo-root
../../docs/agents/AGENTS.md; and editable uv sync builds the wheel from source,
so a wheel-level force-include of a sdist-relative path breaks it. Instead,
force-include the shared guide into the sdist at src/cockroachdb/AGENTS.md so
hatchling auto-includes it in the wheel. Teeth test now runs full uv build.
@felipeg48
felipeg48 merged commit 8a7d567 into main Nov 25, 2026
3 of 5 checks passed
@felipeg48
felipeg48 deleted the feature/consumer-agents-md branch November 25, 2026 18:58
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