Repository navigation
Add consumer-facing AGENTS.md; release cockroachdb 0.1.3 - #14
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a consumer-facing
docs/agents/AGENTS.md(guide for coding agents working in a user's app) and bakes it into the basecockroachdbwheel atcockroachdb/AGENTS.mdvia Hatchforce-include.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).[tool.hatch.build.targets.wheel.force-include]"../../docs/agents/AGENTS.md" = "cockroachdb/AGENTS.md".tests/test_agents_md_packaged.py: builds the wheel and assertscockroachdb/AGENTS.mdis present and non-empty.cockroachdb0.1.2 -> 0.1.3 (no other packages).ideas-boardexample pin tocockroachdb==0.1.3(single-version feed).