Compare commits

...
4 Commits
Author SHA1 Message Date
Defame1297 276fd1f099 Merge pull request 'docs(adr): amend ADR-0033 for object-form pins (#235, #236)' (#258) from docs/adr-0033-consumer-pin-amendment into main
Reviewed-on: #258
Reviewed-by: Defame1297 <[email protected]>
2026-11-29 19:20:59 +00:00
Defame1297andClaude Opus 5.5 b4a452b690 docs(adr): amend ADR-0033 — withdraw apm-manager packageRule
Renovate's apm manager reads only the shorthand form, which apm cannot
install for a Gitea subpath, so the overridePackageName rule cannot work.
Record the object-form consumer pin and the planned, untested customManagers
route. The tag shape decision is unchanged.

Refs #235, #236

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 18:51:20 +00:00
Defame1297 0abe97270b Merge pull request 'chore(apm): lock plan 0.5.0' (#257) from chore/lock-plan-0.5.0 into main
Reviewed-on: #257
2026-11-29 18:32:21 +00:00
Defame1297andClaude Opus 5.5 1e1c2c1ce2 chore(apm): lock plan 0.5.0
Refresh the lock after #256: write-docs is now deployed from plan, not bin.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
2026-11-29 18:12:28 +00:00
2 changed files with 53 additions and 41 deletions

No files matched your search

+28 -28
View File
@@ -1,11 +1,11 @@
lockfile_version: '1'
generated_at: '2026-11-29T12:58:17.934205+00:00'
generated_at: '2026-11-29T18:12:07.565691+00:00'
apm_version: 0.28.0
dependencies:
- repo_url: Mortis/Holocron
name: ansible
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 0.1.0
virtual_path: plugins/ansible
is_virtual: true
@@ -15,8 +15,8 @@ dependencies:
- repo_url: Mortis/Holocron
name: bin
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 4.0.0
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 5.0.0
virtual_path: plugins/bin
is_virtual: true
package_type: apm_package
@@ -28,8 +28,6 @@ dependencies:
- .claude/skills/diagnose/assets/hitl-loop.template.sh
- .claude/skills/diagnose/references/feedback-loops.md
- .claude/skills/diagnose/references/regression-seams.md
- .claude/skills/write-docs
- .claude/skills/write-docs/SKILL.md
- .claude/skills/zoom-out
- .claude/skills/zoom-out/SKILL.md
deployed_file_hashes:
@@ -38,14 +36,13 @@ dependencies:
.claude/skills/diagnose/assets/hitl-loop.template.sh: sha256:b2932630950e5210075bcd6f850e5accf30c101c5367b29eac3a29b4dd8084c8
.claude/skills/diagnose/references/feedback-loops.md: sha256:5ed81b331fcf7dfc229b92be7250fd786064f8363dbf55bf6b6e5e9b5f5e1daf
.claude/skills/diagnose/references/regression-seams.md: sha256:fdb24c383628d239e54424f72258860612d6fe8a1fc5d0057ab5073628cc71f4
.claude/skills/write-docs/SKILL.md: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
.claude/skills/zoom-out/SKILL.md: sha256:35a81f26d8867ad063c5b8d50b4e7ffee9f6c0afa260b52137083fc7392ffe90
content_hash: sha256:b9e8a6cf0e0e388dc672502e86b6fcdc5692bf4be6b10355f02b5b5637727f0f
content_hash: sha256:62c4b42e4ea52a09b123e81fe28a69b29d5f2402c9ac8289934acdea8d4f63a7
declared_license: MIT
- repo_url: Mortis/Holocron
name: core
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 1.1.4
virtual_path: plugins/core
is_virtual: true
@@ -100,7 +97,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: delivery
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 0.8.0
virtual_path: plugins/delivery
is_virtual: true
@@ -181,7 +178,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: git
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 1.3.9
virtual_path: plugins/git
is_virtual: true
@@ -296,7 +293,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: gitea
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 1.3.10
virtual_path: plugins/gitea
is_virtual: true
@@ -381,7 +378,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: gitops
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 0.2.0
virtual_path: plugins/gitops
is_virtual: true
@@ -404,7 +401,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: k8s
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 0.2.0
virtual_path: plugins/k8s
is_virtual: true
@@ -423,7 +420,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: kyberforge
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 2.2.1
virtual_path: plugins/kyberforge
is_virtual: true
@@ -674,7 +671,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: lint
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 1.1.9
virtual_path: plugins/lint
is_virtual: true
@@ -702,7 +699,7 @@ dependencies:
- repo_url: Mortis/Holocron
name: mattpocock
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 0.5.0
virtual_path: plugins/mattpocock
is_virtual: true
@@ -712,8 +709,8 @@ dependencies:
- repo_url: Mortis/Holocron
name: plan
host: git.rkdr.net
resolved_commit: 219a084c252f1dfe229f1bc55e1323b4cd197516
version: 0.4.0
resolved_commit: 3b0dcc32d4009e10be98be7c167bb72bd7b001bd
version: 0.5.0
virtual_path: plugins/plan
is_virtual: true
package_type: apm_package
@@ -731,19 +728,22 @@ dependencies:
- .claude/skills/research-docs/SKILL.md
- .claude/skills/research-docs/references/file-format.md
- .claude/skills/research-docs/references/topics.md
- .claude/skills/write-docs
- .claude/skills/write-docs/SKILL.md
deployed_file_hashes:
.claude/agents/plan-gate.md: sha256:c1c89bae5dd59de122603c2caf1907e8eaf38244cf007dd1942df8cea616a8ca
.claude/agents/plan-recorder.md: sha256:a5283798a574900d4b78dbbbcdf78b9ae0997e8496f5971f0085cfad87c1fea0
.claude/agents/plan-researcher.md: sha256:eda0457d2007cf0c6cb4745383a0369d03a26ed252d7251a1f5250003a89ef85
.claude/agents/plan-validator.md: sha256:a56e7a710fd9e7a9dd9e2601f1f2701b98fd229f3e014bba4bda4dfe5977ecae
.claude/commands/next.md: sha256:8e16330ec0f16dbbc86d44fca94699e33e393c9a8af76f45d3f3bd2b9c8bfa1f
.claude/commands/plan.md: sha256:2538b3dbb3860ebe93a39cad95cd5a1adcbeded19f404a84201b3e8aa7ce91c7
.claude/commands/plan.md: sha256:0b02a8014a916cce6c8cd972b47c4997e7f0b630eaa03b7bb80aa04ae6f0c604
.claude/commands/ship.md: sha256:f108f73e60a884f46285955027fba47d6309fed6a89812948f577e27be180af8
.claude/skills/plan-track/SKILL.md: sha256:fee5062c8c63b49f66368b290c8ebd8cfff744137670d0c037da1a49c455c047
.claude/skills/plan-track/SKILL.md: sha256:a6eb123f518f77172d98ebe80c227f4658b3721a07282a8c6430244ed087f59f
.claude/skills/research-docs/SKILL.md: sha256:93023786f71dac5a77e60eca0be09e6510dfd45509f5e8cbc755395fe8774539
.claude/skills/research-docs/references/file-format.md: sha256:29d5583beaa531d26895c54def112039730490c312401648a6bdb7dd5278fb3c
.claude/skills/research-docs/references/topics.md: sha256:757abb7b6be44c3d3c0dd1f4818a344e08877810d36bf8be60ea7189cba8d12f
content_hash: sha256:be4369da6e8092deadb8c5fe1d5caa93cfa95ec2dac1092968bbc9abe4e77c97
.claude/skills/write-docs/SKILL.md: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
content_hash: sha256:0128e9357a9fc96983967b994b8bcccd3da80c3021fac49f7ffd10ac818144ff
declared_license: MIT
- repo_url: fluxcd/agent-skills
name: gitops-knowledge
@@ -1477,7 +1477,7 @@ deployments:
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:2538b3dbb3860ebe93a39cad95cd5a1adcbeded19f404a84201b3e8aa7ce91c7
content_hash: sha256:0b02a8014a916cce6c8cd972b47c4997e7f0b630eaa03b7bb80aa04ae6f0c604
- kind: project-relative
target: claude
value: .claude/commands/ship.md
@@ -4717,7 +4717,7 @@ deployments:
owners:
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:fee5062c8c63b49f66368b290c8ebd8cfff744137670d0c037da1a49c455c047
content_hash: sha256:a6eb123f518f77172d98ebe80c227f4658b3721a07282a8c6430244ed087f59f
- kind: project-relative
target: claude
value: .claude/skills/prompt-author
@@ -5525,8 +5525,8 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/bin
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: null
- kind: project-relative
target: claude
@@ -5534,8 +5534,8 @@ deployments:
runtime: null
scope: project
owners:
- git.rkdr.net/Mortis/Holocron/plugins/bin
active_owner: git.rkdr.net/Mortis/Holocron/plugins/bin
- git.rkdr.net/Mortis/Holocron/plugins/plan
active_owner: git.rkdr.net/Mortis/Holocron/plugins/plan
content_hash: sha256:861bfa52ec1f7f5c2bc335da4e8d92880259c02c2edacb1ad79cca3a3c557d08
- kind: project-relative
target: claude
@@ -9,6 +9,9 @@ are known, and both read the same tag shape:
- **Renovate's `apm` manager** (≥ 44.153.0) looks up a dependency on a `plugins/<name>` subpath
through the `git-tags` datasource. It considers only tags of the form `<prefix>-v<x.y.z>`.
*Amended 2026-11-29 (holocron#235, #236): this is wrong for Holocron consumers. The manager reads
only the shorthand form, which apm cannot install for a Gitea subpath, so it does not serve them
today. See consequence 3.*
- **`apm outdated`** matches the tag pattern `{name}-v{version}`. This was verified with apm 0.28.0
against a synthetic repo, and `apm_cli/marketplace/tag_pattern.py` lists `{name}-v{version}`
among its patterns.
@@ -159,20 +162,29 @@ cuts the same tags on the same commits.
**2. The root catalogue's version is not tagged per plugin.** Only the `plugins/<name>/apm.yml`
versions get `<plugin>-v*` tags. The marketplace catalogue's own version is out of scope.
**3. Renovate consumers on this Gitea need an `overridePackageName` rule until upstream fixes
it.** On hosts other than GitHub and GitLab, Renovate's apm manager does not strip `/plugins/<name>`
from the package URL (`lib/modules/manager/apm/extract.ts`, `resolveRepoPath`), so its `git-tags`
lookup targets a repo that does not exist. A consumer-side `packageRules` entry along these lines
rewrites it. **It is untested.**
**3. Consumers pin with the object form; the `apm` manager does not update them.** *Amended
2026-11-29 (holocron#235, #236); this replaces the original consequence 3, an `overridePackageName`
`packageRules` entry, which is withdrawn.* It was untested and cannot work, for any form:
```json
{
"matchManagers": ["apm"],
"matchDatasources": ["git-tags"],
"matchPackageNames": ["/\\/plugins\\/[^/]+$/"],
"overridePackageName": "{{{replace '/plugins/[^/]+$' '' packageName}}}"
}
```
- On a generic git host such as this Gitea, apm (0.28.0, and still on `main` at 0.39.1) cannot
resolve a plugin subdirectory from the shorthand form. `<host>/Mortis/Holocron/plugins/<name>#ref`
folds `plugins/<name>` into the repo path, and an install clones `.../plugins/<name>.git` and
fails with "Not found". The separate `rstrip(".git")` parse bug (0.28.0) is already fixed upstream
(microsoft/apm#3715, PR #3767).
- The object form (`git:` + `path:` + `ref:`) is the only working way to pin a Holocron plugin.
Consumers set `ref: <plugin>-v<x.y.z>`.
- Renovate's `apm` manager (schema `apm: LooseArray(z.string())`) extracts only shorthand strings and
silently drops object-form entries. No `apm.yml` entry is both installable by apm and updatable by
that manager for a Gitea subpath, so no `packageRules` entry can fix it.
The planned route is a Renovate `customManagers` regex manager on the object-form `ref:` line: the
`git-tags` datasource, a `currentValue` capturing only the version after `<plugin>-v`, an
`extractVersion` scoped to that plugin's own prefix, and automerge off. **This is planned and
untested, and no snippet is given.** The verified rule goes in a later amendment, after a live
consumer proof. Two upstream reports are to be filed: an apm issue for generic-host subpath folding,
and a Renovate Discussion for object-form extraction.
The Decision, the tag shape `<plugin>-v<version>`, is unchanged by this amendment.
**4. For a maintainer, Gitea's `create_tag` is an equivalent way to cut a tag**, provided
`git cat-file -t <tag>` reports `tag` after fetching. That confirms it is annotated; the script