From 79101edc2fb2d64cdad41cafa017fb011a11ee61 Mon Sep 17 00:00:00 2001 From: damocles Date: Fri, 5 Jun 2026 20:27:47 +0200 Subject: [PATCH] address argus: drop issue tags from clone/pr-create module docs, fix stale knowledge wording --- hive-forge/src/client.rs | 4 ++-- hive-forge/src/verbs/clone.rs | 2 +- hive-forge/src/verbs/pr_create.rs | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hive-forge/src/client.rs b/hive-forge/src/client.rs index e197e1af..3308fc9e 100644 --- a/hive-forge/src/client.rs +++ b/hive-forge/src/client.rs @@ -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://:@host/.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()); diff --git a/hive-forge/src/verbs/clone.rs b/hive-forge/src/verbs/clone.rs index d6b42d49..753fc42f 100644 --- a/hive-forge/src/verbs/clone.rs +++ b/hive-forge/src/verbs/clone.rs @@ -2,7 +2,7 @@ //! with credentials auto-injected, so agents don't hand-assemble //! token-bearing URLs. The repo is the standard `-r/--repo` (default //! `HIVE_FORGE_REPO`). Pairs with `pr-create --agit`: clone, edit + -//! commit normally, then open a PR via the `AGit` ref (closes #1399). +//! commit normally, then open a PR via the `AGit` ref. use std::process::Command; diff --git a/hive-forge/src/verbs/pr_create.rs b/hive-forge/src/verbs/pr_create.rs index 6b1a0c1d..3ca586bf 100644 --- a/hive-forge/src/verbs/pr_create.rs +++ b/hive-forge/src/verbs/pr_create.rs @@ -16,8 +16,7 @@ //! (run from inside a cloned repo), which opens a PR even when the user //! is a read-only collaborator who can't push branches. Re-running with //! the same `--topic` updates the open PR. This is the path agents use -//! to contribute to `internal/knowledge`; pair it with `hive-forge clone` -//! (closes #1399). +//! to contribute to `internal/knowledge`; pair it with `hive-forge clone`. use std::process::{Command, Stdio};