chore: install Claude Code from its package repository, add style guide

Replace mkosi.prepare with Anthropic's rpm repository (mkosi.sandbox/),
switch the workflow to the gitea context, and start STYLE.md with a
consistent file header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-16 20:08:36 +01:00
1 parent bbd0364792
commit b7bbbf215b
10 files changed
+96 -28

No files matched your search

+3 -1
View File
@@ -1,5 +1,5 @@
# agent: a Fedora VM image that runs Claude Code in the background, built with mkosi.
# mkosi.extra/ is copied to /, mkosi.repart/ defines the disk, mkosi.prepare adds Claude Code.
# mkosi.extra/ is copied to /, mkosi.repart/ defines the disk, mkosi.sandbox/ adds the Claude Code repo.
# The root filesystem, /etc included, is read-only and replaced whole by updates; all state lives
# on /var. Claude can't change the OS: it runs its tools in containers.
@@ -27,6 +27,7 @@ Bootloader=systemd-boot
# - openssh-server ssh login for the user (keys only)
# - zram-generator-defaults compressed swap in RAM
# - podman, podman-docker containers, for all of Claude's toolchains (also as docker)
# - claude-code Claude Code (mkosi.sandbox/etc/yum.repos.d)
# - git-core, openssh-clients Claude Code uses git; it pushes over ssh
# - the rest basic command-line tools Claude uses on the host
Packages=
@@ -46,6 +47,7 @@ Packages=
zram-generator-defaults
podman
podman-docker
claude-code
git-core
openssh-clients
curl