@@ -99,6 +99,15 @@ See [`docs/spec/gates.md`](docs/spec/gates.md) for what each hook enforces and w
Full model, including what's exempt and why: [`docs/spec/architecture.md`](docs/spec/architecture.md).
**After merging a plugin version bump (maintainer):**
1. Run `git fetch origin --tags`.
2. Run `scripts/tag-plugin-releases.sh` (a dry run) and read the table.
3. Run `scripts/tag-plugin-releases.sh --apply`.
4. Run the `git push origin <tag>…` line it prints.
Pushing tags is the maintainer's step. Tags are never moved or re-cut. Details are in [ADR-0033](docs/adr/0033-plugin-releases-are-tagged-plugin-v-version.md).
## For external consumers
Consume the packages through apm, the way this repo does — declare them as `dependencies.apm` git+path entries against the holocron remote and run `apm install`. apm is the only supported install path.
@@ -1340,6 +1340,26 @@ checks fail offline, with `deployed-files-present` already failing for the same
`apm-audit-ci` above). The offline guarantee is a property of a populated `apm_modules/`, not of the
hook set: run `apm install` once on a new checkout and it holds from then on.
## Plugin release tags are not a gate
Every plugin version on `main` gets an annotated `<plugin>-v<version>` tag (ADR-0033). No hook
checks for it, for two reasons:
- **Nothing runs at the right moment.** A version lands on `main` by merge, and Gitea's merge
button runs no local hook. A pre-push hook that failed on untagged versions would instead block
every contributor's next push, and an agent's only way past it would be `SKIP=` or
`--no-verify`, which ADR-0032 forbids.
- **A hook on the tag push never fires.** pre-commit 4.6.1's `_pre_push_ns` skips a pushed ref
whose remote sha is all zeros and that has no commits outside `--remotes=origin`. That is exactly
a new tag on an already-pushed `main` commit, so no hook runs.
Tagging is a maintainer step after merge instead. After `git fetch origin --tags`, run
`scripts/tag-plugin-releases.sh` (a dry run; it exits 1 while tags are missing), then `--apply`,
then push the tags it names.
See also: `docs/adr/0033-plugin-releases-are-tagged-plugin-v-version.md`,
`scripts/tag-plugin-releases.sh`.
---
## See also
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.