claude-his-agent v0.2.0: split — public framework only, private runbook fetched at install

The previous package bundled the agent prompt + skill cheatsheet, which leaked
home-infra topology (specific hosts/IPs, plug AINs, /opt/herding cred file
paths, kid/2FA context) to anyone with the public APT/pacman repo URL.

v0.2.0 ships only the plumbing:
- /usr/bin/claude-his-fetch     (rsync runbook from $HIS_CONTEXT_HOST over SSH)
- /usr/bin/claude-his-install   (symlinks cache -> ~/.claude/)
- /usr/share/doc/claude-his-agent/README.md

Runbook content lives at $HIS_CONTEXT_HOST:/opt/his-context/ (default hertz)
and gets fetched into ~/.cache/claude-his-agent/ on install. SSH key auth is
the trust boundary.

Adds rsync + openssh-client as runtime deps. Upstream sha256:
c39dd1a956d303ac2417498dde05ac923bf686f1fc978f78f0d63ca42432b8b8
This commit is contained in:
2026-05-02 15:45:57 +00:00
parent b47938e0bc
commit beebeb6c65
4 changed files with 43 additions and 32 deletions
+7 -10
View File
@@ -3,22 +3,19 @@
# Source of truth: git.reauktion.de/marfrit/claude-his-agent
pkgname=claude-his-agent
pkgver=0.1.9
pkgver=0.2.0
pkgrel=1
pkgdesc="Home Infrastructure Specialist subagent + skill for Claude Code (mfritsche home infra)"
pkgdesc="Claude Code framework for a private Home Infrastructure Specialist subagent — runbook fetched at install time, not bundled"
arch=('any')
url="https://git.reauktion.de/marfrit/claude-his-agent"
license=('custom')
depends=('bash')
depends=('bash' 'rsync' 'openssh')
source=("${pkgname}-${pkgver}.tar.gz::https://git.reauktion.de/marfrit/claude-his-agent/archive/v${pkgver}.tar.gz")
sha256sums=('a3bdf9a77f982ab8e0af6aefe1d243923b4cc4067bed70ed552161b8ca161642')
sha256sums=('c39dd1a956d303ac2417498dde05ac923bf686f1fc978f78f0d63ca42432b8b8')
package() {
cd "${pkgname}"
install -Dm644 agents/his.md "${pkgdir}/usr/share/claude-agents/his.md"
install -Dm644 skills/his/SKILL.md "${pkgdir}/usr/share/claude-skills/his/SKILL.md"
install -Dm755 scripts/claude-his-install "${pkgdir}/usr/bin/claude-his-install"
install -Dm755 scripts/repo-inventory.sh "${pkgdir}/usr/bin/repo-inventory.sh"
install -Dm755 scripts/repo-inventory-nosudo.sh "${pkgdir}/usr/bin/repo-inventory-nosudo.sh"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm755 bin/claude-his-fetch "${pkgdir}/usr/bin/claude-his-fetch"
install -Dm755 bin/claude-his-install "${pkgdir}/usr/bin/claude-his-install"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}