forge: drop redundant 'core' org — meta repo lives under core user
This commit is contained in:
parent
db87167469
commit
68020a15c9
1 changed files with 6 additions and 5 deletions
|
|
@ -24,11 +24,12 @@ const TOKEN_NAME_PREFIX: &str = "hyperhive";
|
||||||
/// itself to push the meta repo + drive admin API calls (org
|
/// itself to push the meta repo + drive admin API calls (org
|
||||||
/// creation, future webhook setup, etc.). Root-only.
|
/// creation, future webhook setup, etc.). Root-only.
|
||||||
const CORE_TOKEN_PATH: &str = "/var/lib/hyperhive/forge-core-token";
|
const CORE_TOKEN_PATH: &str = "/var/lib/hyperhive/forge-core-token";
|
||||||
/// Forgejo orgs hive-c0re ensures on startup. `core` holds the meta
|
/// Forgejo orgs hive-c0re ensures on startup. The meta repo lives
|
||||||
/// repo (pushed by the `core` user); `agents` holds per-agent
|
/// at `core/meta` (the `core` user's own namespace — no org needed);
|
||||||
/// applied config repos (pushed by hive-c0re on every deploy, or by
|
/// `agents` holds per-agent applied config repos so they're
|
||||||
/// the manager when staging proposals).
|
/// visible/grouped together and access can be granted org-wide
|
||||||
const SEEDED_ORGS: &[&str] = &["core", "agents"];
|
/// (RO membership for the future shared docs/skills repo).
|
||||||
|
const SEEDED_ORGS: &[&str] = &["agents"];
|
||||||
/// Forgejo scopes the agent's token gets. Broad-but-not-admin: every
|
/// Forgejo scopes the agent's token gets. Broad-but-not-admin: every
|
||||||
/// repo / PR / issue thing an agent needs day-to-day, no admin
|
/// repo / PR / issue thing an agent needs day-to-day, no admin
|
||||||
/// surface.
|
/// surface.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue