What a second repository in the organisation shares besides secrets #249

Closed
opened 2026-11-17 22:24:55 +00:00 by Claude · 2 comments
Owner

Part of #87

The secrets move to repository level when the skills source joins the organisation. The runner is registered for the whole organisation, and Gitea offers such a runner to every repository the organisation owns. Only the secrets were decided.

To decide

  1. Does the skills source run Actions at all? If not, is the Actions unit switched off there?
  2. If it does: is the runner re-registered for this repository only, or is it accepted in ADR 0001 that write access, and fork-run approval, on any repository of the organisation is root on this repository's runner?
  3. Who may write to the skills source, and who may approve fork runs there?

Waits on this

chore: publish the agent skills source in the organisation before opening to friends is blocked by this ticket: creating the repository is the moment the answer is needed. The chosen step then goes into chore: move Kamino's secrets to repository level when a second repository joins the organisation.

Evidence is in the first comment.

Part of #87 The secrets move to repository level when the skills source joins the organisation. The runner is registered for the whole organisation, and Gitea offers such a runner to every repository the organisation owns. Only the secrets were decided. ## To decide 1. Does the skills source run Actions at all? If not, is the Actions unit switched off there? 2. If it does: is the runner re-registered for this repository only, or is it accepted in ADR 0001 that write access, and fork-run approval, on any repository of the organisation is root on this repository's runner? 3. Who may write to the skills source, and who may approve fork runs there? ## Waits on this [chore: publish the agent skills source in the organisation before opening to friends](https://git.rkdr.net/Mortis/Kamino/issues/229) is blocked by this ticket: creating the repository is the moment the answer is needed. The chosen step then goes into [chore: move Kamino's secrets to repository level when a second repository joins the organisation](https://git.rkdr.net/Mortis/Kamino/issues/239). Evidence is in the first comment.
Claude added the
Wayfinder
Grilling
label 2026-11-17 22:24:55 +00:00
Defame1297 was assigned by Claude 2026-11-17 22:24:55 +00:00
Author
Owner

Evidence from the review of the map (2026-11-17)

Severity: medium while only the maintainer can write to the second repository; high once anyone else can write there or approve fork runs there.

Not settled: whether a new repository on this server starts with the Actions unit on.

## Evidence from the review of the map (2026-11-17) - [Record current repository settings and branch protection](https://git.rkdr.net/Mortis/Kamino/issues/90): "One runner ... registered at organisation level, carrying both labels ... The labels do not separate hosts." - [Threat model: what we defend against and what we accept](https://git.rkdr.net/Mortis/Kamino/issues/99): "Runner labels are not a boundary, because any workflow can name any label." - [Code-owner approval against Renovate automerge, and where secrets live](https://git.rkdr.net/Mortis/Kamino/issues/210), point 4, decides the secrets only. - Gitea source (`models/actions/runner.go` at `v28.3.0`): a repository can use the runners of its owner. The trust a first merged pull request gives is counted per repository. - No decision or issue says whether the skills source has workflows. Severity: medium while only the maintainer can write to the second repository; high once anyone else can write there or approve fork runs there. Not settled: whether a new repository on this server starts with the Actions unit on.
Author
Owner

Resolution

Resolved on 2026-11-20 with the maintainer, by grilling. Evidence: the review comment above. Facts checked first: the organisation holds only this repository; the skills source's current home has no .gitea/ or .github/ workflows; the content check on skills runs here, in Re-check Shared agent primitives once the skills source is public, not there.

Decision

  1. Kamino's runner is registered for mortis/kamino only, before a second repository joins the organisation. ADR 0001 does not accept a runner shared across the organisation. Reason: a repository-scoped runner removes the shared surface whatever later repositories do; an organisation runner makes write access, or fork-run approval, on any repository root on this one's runner. Cost: a later repository that needs CI gets its own registration.
  2. The skills source runs Actions, on its own runner (the maintainer's choice). That runner shares no host, Docker daemon, cache or filesystem with Kamino's. Reason: on a shared host a Docker-capable job there is root on Kamino's runner host, which undoes point 1. Held as a maintainer standing step; no control sees it.
  3. Friends of the maintainer may get write access to the skills source, which makes them trusted contributors of that repository. Positions are held per repository: write access there grants nothing here. The glossary now says so (branch docs/glossary-positions-per-repository). Gitea also counts the first merged pull request that ends fork-run approval per repository.
  4. What Kamino requires of the skills source, and all this map decides about it:
    • its runner is isolated from Kamino's (point 2);
    • it shares no secret with Kamino, and any secret it gets is a repository secret;
    • its content reaches Kamino only through the content re-check and CODEOWNERS on .claude/ (Committed skills as agent instructions: ownership, updates and required tools).
      Its own contributor rules, workflows and secrets belong to its own track and are out of scope here.
  5. No new ADR: re-registering a runner is a one-step reversal. One line goes in ADR 0001 for points 1, 2 and 4, narrowing the shared-runner accepted risk to this repository.

Backlog

## Resolution Resolved on 2026-11-20 with the maintainer, by grilling. Evidence: the review comment above. Facts checked first: the organisation holds only this repository; the skills source's current home has no `.gitea/` or `.github/` workflows; the content check on skills runs here, in [Re-check Shared agent primitives once the skills source is public](https://git.rkdr.net/Mortis/Kamino/issues/194), not there. ### Decision 1. **Kamino's runner is registered for `mortis/kamino` only**, before a second repository joins the organisation. ADR 0001 does not accept a runner shared across the organisation. Reason: a repository-scoped runner removes the shared surface whatever later repositories do; an organisation runner makes write access, or fork-run approval, on any repository root on this one's runner. Cost: a later repository that needs CI gets its own registration. 2. **The skills source runs Actions, on its own runner** (the maintainer's choice). That runner shares no host, Docker daemon, cache or filesystem with Kamino's. Reason: on a shared host a Docker-capable job there is root on Kamino's runner host, which undoes point 1. Held as a maintainer standing step; no control sees it. 3. **Friends of the maintainer may get write access to the skills source**, which makes them trusted contributors *of that repository*. Positions are held per repository: write access there grants nothing here. The glossary now says so (branch `docs/glossary-positions-per-repository`). Gitea also counts the first merged pull request that ends fork-run approval per repository. 4. **What Kamino requires of the skills source**, and all this map decides about it: - its runner is isolated from Kamino's (point 2); - it shares no secret with Kamino, and any secret it gets is a repository secret; - its content reaches Kamino only through the content re-check and CODEOWNERS on `.claude/` ([Committed skills as agent instructions: ownership, updates and required tools](https://git.rkdr.net/Mortis/Kamino/issues/208)). Its own contributor rules, workflows and secrets belong to its own track and are out of scope here. 5. **No new ADR**: re-registering a runner is a one-step reversal. One line goes in ADR 0001 for points 1, 2 and 4, narrowing the shared-runner accepted risk to this repository. ### Backlog - Scope changed, by comment: [#239](https://git.rkdr.net/Mortis/Kamino/issues/239) (renamed; gains the runner re-registration and the isolation requirement as maintainer steps, before or with [#229](https://git.rkdr.net/Mortis/Kamino/issues/229)) and [#143](https://git.rkdr.net/Mortis/Kamino/issues/143) (ADR 0001 line). - These steps join the maintainer's standing steps once [Where the maintainer's own procedures live, and what "held by review" means for them](https://git.rkdr.net/Mortis/Kamino/issues/250) decides where those live (map, "Implementation owed"). - No new issue: [#229](https://git.rkdr.net/Mortis/Kamino/issues/229), unblocked by this ticket, needs no change in scope; the steps it must wait for are in #239.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#249