git identity: shorten to 'c0re' across all helpers

lifecycle::GIT_{NAME,EMAIL}, meta::GIT_{NAME,EMAIL}, and the
inline strings migrate.rs uses for its bootstrap commits all
move from 'hive-c0re' / 'hive-c0re@hyperhive' to 'c0re' /
'c0re@hyperhive'. shows up shorter in git log everywhere
(applied + meta repos).
This commit is contained in:
müde 2026-05-16 03:02:44 +02:00
parent 8336017eda
commit 7276e6d5d9
3 changed files with 8 additions and 8 deletions

View file

@ -31,8 +31,8 @@ pub const CONTAINER_CLAUDE_MOUNT: &str = "/root/.claude";
/// state here; persists across destroy/recreate. /// state here; persists across destroy/recreate.
pub const CONTAINER_NOTES_MOUNT: &str = "/state"; pub const CONTAINER_NOTES_MOUNT: &str = "/state";
const GIT_NAME: &str = "hive-c0re"; const GIT_NAME: &str = "c0re";
const GIT_EMAIL: &str = "hive-c0re@hyperhive"; const GIT_EMAIL: &str = "c0re@hyperhive";
/// Sub-agent web UI port range. Deterministic from the agent's name (FNV-1a /// Sub-agent web UI port range. Deterministic from the agent's name (FNV-1a
/// hash mod range size), so the dashboard can compute the same port without /// hash mod range size), so the dashboard can compute the same port without

View file

@ -26,8 +26,8 @@ use crate::lifecycle;
const META_ROOT: &str = "/var/lib/hyperhive/meta"; const META_ROOT: &str = "/var/lib/hyperhive/meta";
const APPLIED_ROOT: &str = "/var/lib/hyperhive/applied"; const APPLIED_ROOT: &str = "/var/lib/hyperhive/applied";
const GIT_NAME: &str = "hive-c0re"; const GIT_NAME: &str = "c0re";
const GIT_EMAIL: &str = "hive-c0re@hyperhive"; const GIT_EMAIL: &str = "c0re@hyperhive";
/// Single-writer lock around every meta-repo operation. Git isn't /// Single-writer lock around every meta-repo operation. Git isn't
/// safe to drive from concurrent processes against the same `.git/` /// safe to drive from concurrent processes against the same `.git/`

View file

@ -148,9 +148,9 @@ async fn migrate_applied_repo(name: &str) -> Result<()> {
&dir, &dir,
&[ &[
"-c", "-c",
"user.name=hive-c0re", "user.name=c0re",
"-c", "-c",
"user.email=hive-c0re@hyperhive", "user.email=c0re@hyperhive",
"add", "add",
"flake.nix", "flake.nix",
], ],
@ -160,9 +160,9 @@ async fn migrate_applied_repo(name: &str) -> Result<()> {
&dir, &dir,
&[ &[
"-c", "-c",
"user.name=hive-c0re", "user.name=c0re",
"-c", "-c",
"user.email=hive-c0re@hyperhive", "user.email=c0re@hyperhive",
"commit", "commit",
"-m", "-m",
"migration: module-only flake", "migration: module-only flake",