Sanitise private-environment references #88

Closed
opened 2026-11-11 22:02:56 +00:00 by Claude · 1 comment
Owner

Part of #87

Question

Which references to the maintainer's private environment stay in this public repository, which are reworded, and which are removed? Is there a rule (and a check) that keeps new ones out?

Context

An audit found no secrets or credentials. It did find descriptive detail written while the repository was private:

  • Runner and network description in the header of .gitea/workflows/molecule.yml; runner sizing and forge internals in .gitea/workflows/image.yml; a note in .gitea/workflows/renovate.yml.
  • The production image namespace in CONTRIBUTING.md and scripts/check_image_versions.py (the check needs the string to work, so this is a trade-off).
  • Pointers to files and ADRs in the private environment repository: CLAUDE.md, build.yml, image.yml, molecule.yml, docs/agents/domain.md, requirements-dev.txt, meta/runtime.yml, REUSE.toml, .pre-commit-config.yaml.
  • Sibling checkout paths and the private skills source in apm.yml.

This ticket has a clock on it: the repository is already public. The audit's line references were only spot-checked.

Part of #87 ## Question Which references to the maintainer's private environment stay in this public repository, which are reworded, and which are removed? Is there a rule (and a check) that keeps new ones out? ## Context An audit found no secrets or credentials. It did find descriptive detail written while the repository was private: - Runner and network description in the header of `.gitea/workflows/molecule.yml`; runner sizing and forge internals in `.gitea/workflows/image.yml`; a note in `.gitea/workflows/renovate.yml`. - The production image namespace in `CONTRIBUTING.md` and `scripts/check_image_versions.py` (the check needs the string to work, so this is a trade-off). - Pointers to files and ADRs in the private environment repository: `CLAUDE.md`, `build.yml`, `image.yml`, `molecule.yml`, `docs/agents/domain.md`, `requirements-dev.txt`, `meta/runtime.yml`, `REUSE.toml`, `.pre-commit-config.yaml`. - Sibling checkout paths and the private skills source in `apm.yml`. This ticket has a clock on it: the repository is already public. The audit's line references were only spot-checked.
Claude added the
Wayfinder
Grilling
label 2026-11-11 22:02:56 +00:00
Defame1297 was assigned by Claude 2026-11-11 22:31:48 +00:00
Author
Owner

Resolution

Rule. This repository stands alone. No tracked file refers to another repository of the maintainer's, its documents, hosts, network or namespaces. Every comment states its own reason. The test for a sentence: does it mention anything outside this repository that a public reader cannot open?

Remove

  • The network-segment description, the runner sizing and the dated live-test note in the workflow headers. The conclusions stay: disposable runner with no outside secret, the if: guard is not a boundary, no fork pull requests, the memory cap. The maintainer's reason is security.
  • The sibling-checkout mentions in apm.yml and the real repository name in a test fixture.

Reword

  • Provenance and origin statements, and the isolation lines that name a production environment, become properties of this repository (its jobs run only on its own runners; no credential from elsewhere is used here).
  • The image check keeps its denied namespace string, described only as an image namespace this CI must not use. The account name is already public on every commit.

Keep as written

  • The Cloudflare 100 MB layer limit: a constraint every image change must respect.

Deferred

Accepted risks

  • Git history keeps the old wording. No rewrite: nothing in it is a secret, and rewriting main and the v* tags would break consumers.
  • No hook or CI check keeps new references out. The maintainer chose this over a pygrep hook, to limit custom scripts and regex. This is a recorded exception to the map's enforce-by-default note.

Keeping new ones out. A standing instruction in the agent context, plus one line in CONTRIBUTING.md: when bringing content in from another repository, search the incoming diff for mentions of the source repository, its documents, hostnames, addresses, account namespaces and sibling paths, rewrite comments to stand alone, and say in the pull request what was searched for. Binds agents and humans. No expiry.

Implementation. docs: remove references to anything outside this repository, to land ahead of the rest of the backlog.

No ADR (easy to reverse) and no glossary entry (the one candidate term is something the repository must not mention).

## Resolution **Rule.** This repository stands alone. No tracked file refers to another repository of the maintainer's, its documents, hosts, network or namespaces. Every comment states its own reason. The test for a sentence: does it mention anything outside this repository that a public reader cannot open? **Remove** - The network-segment description, the runner sizing and the dated live-test note in the workflow headers. The conclusions stay: disposable runner with no outside secret, the `if:` guard is not a boundary, no fork pull requests, the memory cap. The maintainer's reason is security. - The sibling-checkout mentions in `apm.yml` and the real repository name in a test fixture. **Reword** - Provenance and origin statements, and the isolation lines that name a production environment, become properties of this repository (its jobs run only on its own runners; no credential from elsewhere is used here). - The image check keeps its denied namespace string, described only as an image namespace this CI must not use. The account name is already public on every commit. **Keep as written** - The Cloudflare 100 MB layer limit: a constraint every image change must respect. **Deferred** - The `ADR 0004` pointers go when [Public design contract replacing the ADR 0004 references](https://git.rkdr.net/Mortis/Kamino/issues/92) resolves; its replacement may not cite the ADR either. - The private skills-source URL stays until the skills move, under [Shared agent primitives through apm](https://git.rkdr.net/Mortis/Kamino/issues/104). **Accepted risks** - Git history keeps the old wording. No rewrite: nothing in it is a secret, and rewriting `main` and the `v*` tags would break consumers. - No hook or CI check keeps new references out. The maintainer chose this over a `pygrep` hook, to limit custom scripts and regex. This is a recorded exception to the map's enforce-by-default note. **Keeping new ones out.** A standing instruction in the agent context, plus one line in `CONTRIBUTING.md`: when bringing content in from another repository, search the incoming diff for mentions of the source repository, its documents, hostnames, addresses, account namespaces and sibling paths, rewrite comments to stand alone, and say in the pull request what was searched for. Binds agents and humans. No expiry. **Implementation.** [docs: remove references to anything outside this repository](https://git.rkdr.net/Mortis/Kamino/issues/108), to land ahead of the rest of the backlog. No ADR (easy to reverse) and no glossary entry (the one candidate term is something the repository must not mention).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#88