Skip to main content

goga-tool-complex-build

A goga hook tool that gives complex builds a comprehensive review pass by default: the full review strategy, the review-level iteration cap, and a bounded external review, applied wherever the project author left the review knobs unwritten.

Documentation

Full documentation is published at https://qarium.github.io/goga-tool-complex-build/.

How it works

The package registers exactly one hook — review_presets on the config / amend_config action. At the configuration load moment the hook contributes four apply-where-silent amendments:

  • build.review.strategy set to full — the comprehensive review form;
  • build.review.max_iterations set to 5 — the review-level iteration cap;
  • build.review.additional.patience set to 1 and build.review.additional.max_iterations set to 3 — together bounding the external review.

Each preset applies only where the authored configuration is silent at the path. Authored-wins is owned by the platform merge layer: the presets never overwrite authored values, a project that already encodes its review budget keeps it, and nothing is persisted — the authored .goga/config.yml stays byte-identical, and removing the tool returns the project to exactly its authored behavior.

The one deliberate read of the authored configuration is the strategy guard. An authored build.review.strategy other than full conflicts with the tool's purpose; it stops the hosting command with a clean error naming the path — never the authored value — and removing the conflicting authored value or uninstalling the tool resolves it.

Installation

The tool has no runtime dependencies by design — the platform types are referenced under TYPE_CHECKING only, so the package facade stays import-clean with or without goga installed. The tool is installed into the project's goga docker image — the environment goga commands run in.

Declare it as a project dependency

Add the tool to the project's .goga/config.yml:

tools:
  complex-build: latest

A plain goga install during the image build then resolves it together with the rest of the project's declared tools:

FROM <goga-base-image>

USER root

COPY . /tmp/project
RUN cd /tmp/project && goga install && rm -rf /tmp/project

USER goga

Install it by name

Install the tool by name during the image build:

FROM <goga-base-image>

USER root

COPY . /tmp/project
RUN cd /tmp/project && goga install complex-build && rm -rf /tmp/project

USER goga

Development

The project venv lives outside the repository at /opt/goga/project:

/opt/goga/project/bin/pip install -e '.[test]'
/opt/goga/project/bin/python -m pytest tests/
/opt/goga/project/bin/ruff check goga_tool_complex_build/ tests/
/opt/goga/project/bin/ruff format --exclude '.usages' goga_tool_complex_build/ tests/

The test extra carries the platform (goga>=2.0, unpinned) and the test stack; the unpinned platform is deliberate — a platform release that changes the amendment surface must surface as test failures, not silent drift.

CODEMANIFEST and .usages/ files are read-only contracts: when implementation and contract disagree, the implementation is what gets fixed.

Metadata

Release files for goga-tool-complex-build 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for goga-tool-complex-build 0.0.0
File Size Uploaded Provenance
goga_tool_complex_build-0.0.0.tar.gz 211.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for goga-tool-complex-build 0.0.0
File Interpreter ABI Platform
goga_tool_complex_build-0.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 219.5 kB

Release files / goga_tool_complex_build-0.0.0.tar.gz

Download URL goga_tool_complex_build-0.0.0.tar.gz
Size 211.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7a40d3edf0f73c1470d06cb53be3d8868982a1b26118800ce3862d2a9d198487
BLAKE2b-256 checksum
How to use checksums
167863a8d6b6aef2841fb1ebfa3bf7fc8c0bd2a258f14b5cd3d8b1914eceac22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / goga_tool_complex_build-0.0.0-py3-none-any.whl

Download URL goga_tool_complex_build-0.0.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15ecca371e9a1d03f0c29684387d2b1219c83d7971a00cfe5011c4d8016a4237
BLAKE2b-256 checksum
How to use checksums
c36d56c669e3e9ea90bd0f27ebab4ec50edfc88496882d1b9a0d722e06065d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for goga-tool-complex-build 0.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page