Skip to content

docs: slim AGENTS.md to defer to the developer guide#538

Merged
ParidelPooya merged 1 commit into
mainfrom
docs/trim-agents-md
Jul 14, 2026
Merged

docs: slim AGENTS.md to defer to the developer guide#538
ParidelPooya merged 1 commit into
mainfrom
docs/trim-agents-md

Conversation

@yaythomas

Copy link
Copy Markdown
Contributor

Summary

AGENTS.md duplicated a large amount of API reference, testing, pattern, and IaC content that the AWS Durable Execution SDK Developer Guide now owns. Duplicated examples drift from the released API, and AI coding assistants pick this file up automatically, so drift here propagates directly into user code. Two concrete examples of drift in the removed content:

  • The wait_for_callback examples showed a one-argument submitter. The SDK invokes the submitter with two positional arguments (callback_id, WaitForCallbackContext), so the example raises TypeError at runtime.
  • The examples imported WaitForCallbackConfig from aws_durable_execution_sdk_python.waits instead of aws_durable_execution_sdk_python.config.

This change cuts the file from 929 lines to 69 and defers to the developer guide for all signatures and examples. It keeps only what is repo-specific:

  • A link table into the developer guide (every URL verified live)
  • The four replay-model rules in prose, without code samples that can drift
  • Package layout and the hatch-based contribution workflow, pointing at CONTRIBUTING.md

Testing

Markdown-only change. All developer guide links verified against the published site.

The file duplicated API reference, testing, patterns, and IaC content
that the AWS Durable Execution SDK Developer Guide now owns. Duplicated
examples drift from the released API. The wait_for_callback examples
showed a one-argument submitter, which raises TypeError against the
current SDK, and imported WaitForCallbackConfig from the wrong module.

Replace the duplicated content with links to the developer guide and
keep only what is repo-specific: the replay-model rules in prose, the
package layout, and the hatch-based contribution workflow.
@ParidelPooya ParidelPooya merged commit 1335cc1 into main Jul 14, 2026
13 checks passed
@ParidelPooya ParidelPooya deleted the docs/trim-agents-md branch July 14, 2026 19:07
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.

2 participants