Commit Graph
9 Commits
Author SHA1 Message Date
Lee Dogeon 68989a2c23 Allow automated commits and fix C-API test instructions (#8468)
* Allow automated commits through pre-commit hooks

* Fix agent C-API test instructions

Exclude rustpython-capi from root workspace test commands and run its tests from the crate directory so its Cargo configuration applies. Document the project AI policy and required commit trailer.

Assisted-by: Codex:gpt-5
2026-08-08 22:33:44 +09:00
Hanjeong Lee ae068ffb23 docs: fix AGENTS.md's broken DEVELOPMENT.md references (#8426)
DEVELOPMENT.md was renamed to CONTRIBUTING.md in #7914, but AGENTS.md
wasn't updated. Repoint the two links with a clear target (Linux/macOS
testing section, development guide). Drop the "CPython Version Upgrade
Checklist" reference under venvlauncher, which never pointed to real
content in any revision of DEVELOPMENT.md.

Related to #8356.

Assisted-by: Claude Code:claude-sonnet-5
2026-08-01 18:05:42 +09:00
Hanjeong Lee 457e195001 docs: drop stale crate paths from AGENTS.md (#8425)
The "Repository Structure" section listed pre-`crates/` paths (`vm/`,
`compiler/`, `derive/`, etc.) that no longer exist; `CONTRIBUTING.md`
already documents the current layout under "Code organization". Replace
the stale list with a link to that section.

Also generalized the title and intro from "GitHub Copilot Instructions"
to "AI Agent Instructions" — the file was already renamed from
`.github/copilot-instructions.md` to `AGENTS.md` in #6813 to follow the
cross-vendor AGENTS.md standard (https://agents.md/), but the title text
was never updated to match.

Assisted-by: Claude Code:claude-sonnet-5
2026-08-01 18:05:23 +09:00
James ClarkeandClaude Opus 4.7 b28fec108b docs: expand AGENTS.md with test marker guidance and CI audit notes (#7963)
* docs: expand AGENTS.md with test marker guidance and CI audit notes

Document the four-way test marker decision (expectedFailure /
expectedFailureIf vs skip / skipIf, with skip reserved for tests that
crash the interpreter), add guidance on avoiding zizmor's
impostor-commit audit when pinning third-party actions, link the wiki
guide for syncing tests from upstream CPython, and note the grep recipe
for finding WIP TODO: RUSTPYTHON entries.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: add pre-commit checks rule, trim CI section per review

Add a "CRITICAL: Pre-commit Checks" subsection requiring prek and the
full test suite to pass before any commit. Shrink the CI Workflows
section to a single sentence per @ShaharNaveh's review feedback:
contributors only need to know that workflow changes must pass a zizmor
scan in CI, not the full impostor-commit explainer.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs: warn against doc comments on pyattr/pyclass/pyfunction items

- Note that rustpython-doc supplies CPython docstrings via the derive macros
- Flag that `///` comments override that source and are dropped on `#[pyattr]`

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 22:02:22 +09:00
Jeong, YunWon c8b210d171 [AGENTS] guideline for comments 2026-02-06 14:30:15 +09:00
Jeong, YunWon 7b5d695002 [AGNETS.md] guide control flow (#7018) 2026-02-06 09:31:55 +09:00
Jeong, YunWon 72ca48d17e --exclude rustpython-venvlauncher 2026-02-03 14:16:10 +09:00
Jeong, YunWon b08d6711de AGENTS.md 2026-02-02 15:57:36 +09:00
Jeong, YunWon 94ccfb8b18 Prohibit AI PR submit (#6813) 2026-01-20 21:13:28 +09:00