Files
agent-runtime-framework/harnesses/contexts/gitea-admin/v1/harness.yaml
Paul O'Reilly 7e757b0fd9 harness(HC-11): declare write_targets on the four forge-credential layers (gitea-admin, gitea-ssh, gitea-ssh-accelerators, gitea-ssh-homelab) (b1de17b4)
Held locally until the agent-runtimes HC-11 composer change is deployed: the live composer is extra=forbid and would reject the new key.

Claude-Session: https://claude.ai/code/session_018LRh1S2bHJYhEgrMu3UJx8
2026-09-13 20:09:50 +12:00

36 lines
927 B
YAML

kind: context
name: gitea-admin
version: 1
description: "Gitea admin: SSH, git identity, API token for skynet org"
requires: []
provides: [gitea-admin]
# HC-11: repos this layer's forge credential may push to (host-qualified; CRS-103 gate).
write_targets:
- "gitea.oreillyit.nz/skynet/*"
git_identity:
name: "agent-runtimes"
email: "agent@oreillyit.nz"
ssh_hosts:
- alias: gitea.oreillyit.nz-ai-enablement
hostname: gitea.oreillyit.nz
user: git
identity_secret: SSH_KEY_AI_ENABLEMENT
secrets_required:
# ESO-managed gitea-admin token (M22 Phase 9)
- name: gitea-admin
account_ref: "admin.space:platform"
mount_path: /run/agent/secrets/gitea-admin
mode: "0400"
# Legacy SSH key (file-based, already delivered as mount)
- name: SSH_KEY_AI_ENABLEMENT
mount: /home/agent/.ssh/id_ed25519
mode: "0600"
env:
GITEA_BASE_URL: "https://gitea.oreillyit.nz"
scripts:
init: ./init.sh