docs: restore agent guidance and label the image #22

Merged
gravityfargo merged 2 commits from chore/restore-agents-and-image-labels into main 2026-08-02 00:33:16 +00:00
Owner

Salvage from the two hand-adoption commits that the template rebuild (#21) superseded. Those commits touched 17 files; replaying them onto the merged rebuild would have reverted it — deleting LICENSE, .gitignore, .prettierignore, code-quality.yml and test-build.yml, re-adding the old checks.yml, moving cz.toml and renovate.json back, and downgrading uv 0.11.290.11.15 and bump.yml's image pin 0.3.00.1.2. Only two things in them were worth keeping, and they are here.

d94872e — AGENTS.md

Restored, with the claims the rebuild invalidated corrected rather than carried over verbatim:

  • hadolint is invoked directly by make lint, not through its own container
  • checks.yml is gone; code-quality.yml runs the checks, called from test-build.yml
  • layer caching is buildx type=gha, not actions/cache on ${{ runner.temp }}/.buildx-cache
  • renovate config lives at .forgejo/renovate.json
  • fj actions dispatch build-push.yaml main pointed at a workflow that has never existed under any name; replaced with dispatching publish.yml with the tag as its ref input

Also adds a Template-managed section naming the three deliberate divergences from the docker template — the .dockerignore allowlist for entrypoint.sh and cz-preview, build-version.yml calling the local bump.yml, and the kept README.md — so a future rebuild does not silently normalise them away.

The bump.yml gotchas are carried over untouched: the on.workflow_call secrets: parser bug, --no-raise 3,21, and the pin-backward rule.

68ccead — Dockerfile

The OCI LABEL block AGENTS.md documents as a convention but which the image did not actually carry, plus commitizen==4.16.5 in place of an unpinned install, keeping the Dockerfile Renovate-trackable. Re-applied onto the current base, so uv stays at 0.11.29.

Not yet built with the pin — CI covers that.

Both commit types are inert under this repo's release model, so merging cannot cut a tag.

Salvage from the two hand-adoption commits that the template rebuild (#21) superseded. Those commits touched 17 files; replaying them onto the merged rebuild would have reverted it — deleting `LICENSE`, `.gitignore`, `.prettierignore`, `code-quality.yml` and `test-build.yml`, re-adding the old `checks.yml`, moving `cz.toml` and `renovate.json` back, and downgrading uv `0.11.29` → `0.11.15` and `bump.yml`'s image pin `0.3.0` → `0.1.2`. Only two things in them were worth keeping, and they are here. ## `d94872e` — AGENTS.md Restored, with the claims the rebuild invalidated corrected rather than carried over verbatim: - hadolint is invoked directly by `make lint`, not through its own container - `checks.yml` is gone; `code-quality.yml` runs the checks, called from `test-build.yml` - layer caching is buildx `type=gha`, not `actions/cache` on `${{ runner.temp }}/.buildx-cache` - renovate config lives at `.forgejo/renovate.json` - `fj actions dispatch build-push.yaml main` pointed at a workflow that has never existed under any name; replaced with dispatching `publish.yml` with the tag as its `ref` input Also adds a **Template-managed** section naming the three deliberate divergences from the `docker` template — the `.dockerignore` allowlist for `entrypoint.sh` and `cz-preview`, `build-version.yml` calling the local `bump.yml`, and the kept `README.md` — so a future rebuild does not silently normalise them away. The `bump.yml` gotchas are carried over untouched: the `on.workflow_call` `secrets:` parser bug, `--no-raise 3,21`, and the pin-backward rule. ## `68ccead` — Dockerfile The OCI `LABEL` block AGENTS.md documents as a convention but which the image did not actually carry, plus `commitizen==4.16.5` in place of an unpinned install, keeping the Dockerfile Renovate-trackable. Re-applied onto the current base, so uv stays at `0.11.29`. Not yet built with the pin — CI covers that. Both commit types are inert under this repo's release model, so merging cannot cut a tag.
build: label the image and pin commitizen to 4.16.5
All checks were successful
PR Bump Preview / Preview version bump (pull_request) Successful in 5s
Test Build / Test build image (pull_request) Successful in 39s
Test Build / checks (pull_request) Successful in 5s
Test Build / code-quality (pull_request) Successful in 0s
68ccead5e4

Commitizen bump preview

No commits in this PR are eligible for a version bump.

<!-- commitizen-bump-preview --> ## Commitizen bump preview No commits in this PR are eligible for a version bump.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ModernLeft/commitizen-ci!22
No description provided.