CTRL-REPO-CLIENT-01: Repository-local agent controls for thoth-client - #55
Merged
Conversation
Add a root AGENTS.md applying Thoth's merged shared engineering-control doctrine to the standalone Python thothlibrary client repository. The file records repository identity (standalone Python thothlibrary, not the internal Rust thoth-client workspace member in thoth-pub/thoth), pointers to the canonical shared doctrine, the verified develop -> master branch topology, mandatory task identity, the GraphQL and REST/export compatibility boundaries, cross-repository and public-package compatibility requirements, safe validation using the repository's actual test path, the verified CI and release/PyPI publication triggers, secrets and external-effect rules, exact-head independent review, and HOLD/STOP conditions. No package, public API, runtime, CI, release or publication behaviour is changed. Owning issue: #54 Parent programme: thoth-pub/thoth#818 Shared doctrine: thoth-pub/thoth@ec7868a Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Independent review of 8a6c8e8 found that section 12 incorrectly stated there is no separate "just tag it" step that avoids publishing. A standalone Git tag creation or push does not emit a GitHub `release: published` event and therefore does not, by itself, trigger .github/workflows/publish-to-pypi.yml. Replace that claim with the verified distinction: tagging alone does not trigger the PyPI workflow; publishing a GitHub release does trigger it and is therefore also a PyPI publication action; Git tag creation, GitHub release publication and PyPI publication remain separate controlled actions; and an authorized action's automatic side effects must be explicitly anticipated and authorized. Version-bound authorization for tag, release and publication actions is preserved, and neither merge nor PR authorization extends to any of them. Section 14 splits its combined "GitHub tag or release" bullet into the two distinct actions for internal consistency. No other content changed. AGENTS.md only. No package, workflow, source, version or release file is changed. Owning issue: #54 Reviewed head remediated: 8a6c8e8 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ja573
marked this pull request as ready for review
August 15, 2026 13:46
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.
Owning issue: #54
Parent programme: thoth-pub/thoth#818
Shared doctrine merge: thoth-pub/thoth@ec7868a (thoth-pub/thoth#820)
Objective
Add a root
AGENTS.mdapplying Thoth's merged shared engineering-control doctrine to this repository — the standalone Pythonthothlibraryclient — without changing package, public API, runtime, CI, release or publication behaviour.Base and branch
Changes
AGENTS.mdNo other path modified. No deletion, move or rename.
Content
The file records:
thothlibrarydistribution, explicitly distinguished from the internal Rustthoth-clientworkspace member insidethoth-pub/thoth;developdevelopment,masterdefault/release; conforms to the shareddevelop -> masterpattern);ThothClientinthothlibrary/client.py, default endpointhttps://api.thoth.pub,/graphqlpath, schema version1.0.0, bearer PAT injection, and explicitly queries and mutations, so live mutations are external writes requiring separate authorization;ThothRESTClientinthothlibrary/rest.py, format/specification/platform discovery and work/publisher export routes, and the upstream changes that may require compatibility work here;thothlibraryare not fully enumerable from Thoth's repositories;.github/workflows/tests.ymltriggers and scope;.github/workflows/publish-to-pypi.ymlrelease: publishedtrigger — publishing a GitHub release is also a PyPI publication;Validation
No package build artefacts were created (
dist/,build/,*.egg-infoabsent). No live API call, no credential use, no release, tag or publication.Automatic side effects
Opening this PR triggers the Tests workflow. It does not trigger the PyPI workflow, which requires a published GitHub release.
Status
Draft. Independent exact-head review is required before merge. Merge, release, tag and PyPI publication are not authorized under this task.
🤖 Generated with Claude Code