address argus: drop issue tags from clone/pr-create module docs, fix stale knowledge wording

This commit is contained in:
damocles 2026-06-05 20:27:47 +02:00 committed by mara
commit 79101edc2f
3 changed files with 4 additions and 5 deletions

View file

@ -24,7 +24,7 @@ pub struct Client {
http: HttpClient,
base: String,
/// Per-agent forge token. Kept alongside the pre-built auth header
/// so verbs that shell out to `git` (e.g. `knowledge`) can assemble
/// so verbs that shell out to `git` (e.g. `clone`) can assemble
/// an authenticated push URL without re-reading the token file.
token: String,
/// Default repo used when a verb doesn't carry an explicit
@ -74,7 +74,7 @@ impl Client {
/// token into the base URL's authority: `http://<user>:<token>@host/<repo>.git`.
/// The user comes from `HIVE_LABEL` (the agent's forge login),
/// falling back to `oauth2` which Forgejo also accepts as the
/// token-bearer username. Used by `knowledge` to clone/push.
/// token-bearer username. Used by `clone` to clone/push.
#[must_use]
pub fn authed_git_url(&self, repo: &str) -> String {
let user = std::env::var("HIVE_LABEL").unwrap_or_else(|_| "oauth2".to_owned());