Skip to content

CTRL-REPO-CLIENT-01: Repository-local agent controls for thoth-client #54

Description

@ja573

Parent: thoth-pub/thoth#818

CTRL-REPO-CLIENT-01 - Repository-local agent controls for thoth-client

Programme: Shared Engineering Control
Repository: thoth-pub/thoth-client
Task ID: CTRL-REPO-CLIENT-01
Risk: MEDIUM governance
Workflow: STANDARD
Shared doctrine: thoth-pub/thoth develop merge ec7868a4a44b3d52da5638975995bb66a488b3b4 (PR #820)
Authorized base / PR target: develop at 9d3aae2dc05fca3bcdf09236719145a1759a508c
Task branch: feature/engineering/ctrl-repo-client-01
PR: #55, merged
Approved source head: 11109c87e0d2cdc7bc8a0d8f5bbce9eeb3d8d758
Merge commit / current develop: d6ffdc67c48cbf64f8a716f26d7d82eb541d1ecf
Runtime/package effect: NONE

Objective

Create a repository-local root AGENTS.md applying the merged shared doctrine to the standalone Python thothlibrary client without changing package/API/release behaviour.

Authoritative result

  • PR CTRL-REPO-CLIENT-01: Repository-local agent controls for thoth-client #55 merged into develop on 2026-08-15 at merge commit d6ffdc67c48cbf64f8a716f26d7d82eb541d1ecf.
  • Post-merge live develop points exactly to d6ffdc67c48cbf64f8a716f26d7d82eb541d1ecf.
  • Merge commit parents are exactly:
    1. 9d3aae2dc05fca3bcdf09236719145a1759a508c - pre-merge develop / authorized base;
    2. 11109c87e0d2cdc7bc8a0d8f5bbce9eeb3d8d758 - independently approved PR head.
  • GitHub verified the merge commit signature.
  • Root AGENTS.md is now authoritative on develop for repository-local engineering control.
  • Whole merged source scope is root AGENTS.md only; no package/runtime/test/workflow/version/release file changed.

Repository responsibility and compatibility boundary

This repository is the standalone Python client distributed as thothlibrary, distinct from the internal Rust thoth-client workspace member in thoth-pub/thoth.

The merged local control records both major contract boundaries:

  • GraphQL client behaviour, including queries, mutations and PAT-based authentication;
  • REST/export API behaviour, including formats/specifications/platforms and work/publisher export routes.

Future breaking Thoth GraphQL or REST/export changes must treat this repository as a downstream compatibility consumer. External consumers of published thothlibrary are not fully enumerable from Thoth repository evidence, so public package compatibility/versioning requires separate consideration.

CI / release boundary

  • .github/workflows/tests.yml runs on pull requests and pushes to master/develop; the final approved head's unit-test check succeeded.
  • .github/workflows/publish-to-pypi.yml triggers on release: published and publishes to PyPI using OIDC.
  • A standalone Git tag does not itself trigger the PyPI workflow.
  • Git tag creation, GitHub release publication and PyPI publication remain separate controlled actions; publishing a GitHub release currently carries automatic PyPI publication as a side effect.

Independent review history

Head 8a6c8e8a4ca6b847608a624d28fb1020eb1398c3

Decision: CHANGES REQUIRED.

Finding: section 12 conflated standalone Git tag creation with the release: published PyPI trigger.

Head 11109c87e0d2cdc7bc8a0d8f5bbce9eeb3d8d758

Decision: APPROVED.

Fresh independent review verified the remediation diff, exact ancestry, authorized file scope, current-head CI and corrected tag/release/PyPI semantics. No blocking finding remained.

Merge authorization and execution

The CTO explicitly authorized merge of PR #55 at exact approved head 11109c87e0d2cdc7bc8a0d8f5bbce9eeb3d8d758 into develop, subject to an immediate live integration-state recheck.

Immediately before merge:

  • PR CTRL-REPO-CLIENT-01: Repository-local agent controls for thoth-client #55 remained open and mergeable;
  • head remained exactly 11109c87e0d2cdc7bc8a0d8f5bbce9eeb3d8d758;
  • base remained develop @ 9d3aae2dc05fca3bcdf09236719145a1759a508c;
  • the PR was marked ready only as the mechanical prerequisite to execute the authorized merge;
  • no source commit was introduced by that transition.

The merge used an expected-head-SHA guard and succeeded.

Actions not performed

No manual CI dispatch/rerun, live API call, production credential use, provider/runtime read/write, package version change, Git tag, GitHub release, PyPI publication, deployment or production activation was performed or authorized by this merge.

Current gate

MERGED - REPOSITORY-LOCAL CONTROL AUTHORITATIVE ON develop.

Repository-local implementation/review/merge is complete at merge commit d6ffdc67c48cbf64f8a716f26d7d82eb541d1ecf.

This child issue remains open only for programme-level reconciliation/closure under parent #818. No additional implementation, release, publication, deployment or production action is authorized by this state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions