hive-forge: update agent/manager prompts + gotchas for rust rewrite (mara@#407)
This commit is contained in:
parent
15195b0c47
commit
7e12da83e2
3 changed files with 16 additions and 9 deletions
|
|
@ -118,17 +118,24 @@ files in subdirectories) fails with `EPERM`. Fix: pass
|
|||
## `hive-forge`: prefer over raw curl pipelines
|
||||
|
||||
Every agent container has `hive-forge` in PATH (installed via
|
||||
`harness-base.nix`). Use it instead of ad-hoc curl pipelines:
|
||||
`harness-base.nix`; lives in `/hive-forge` as a proper Rust binary
|
||||
since #280). Use it instead of ad-hoc curl pipelines:
|
||||
|
||||
```bash
|
||||
hive-forge view 42 # title + body + comments
|
||||
hive-forge comment 42 "..." # post comment
|
||||
hive-forge view 42 # title + body + comments
|
||||
hive-forge comment 42 --body "..." # post comment (inline body)
|
||||
hive-forge comment 42 --body-file - <<EOF # ...or pipe a HEREDOC
|
||||
multi-line body
|
||||
EOF
|
||||
hive-forge assign 42 damocles
|
||||
hive-forge close 42
|
||||
hive-forge labels 42 add feature
|
||||
hive-forge pr 42 # PR metadata as JSON
|
||||
hive-forge branches deployed/ # filter branches by pattern
|
||||
hive-forge pr 42 # PR metadata as JSON
|
||||
hive-forge branches deployed/ # filter branches by pattern
|
||||
hive-forge -r other-org/other-repo pr 7 # target a different repo
|
||||
```
|
||||
|
||||
Credentials come from `$HYPERHIVE_STATE_DIR/forge-token`;
|
||||
default repo from `$HIVE_FORGE_REPO`.
|
||||
`hive-forge <verb> --help` prints the full signature for any verb.
|
||||
Credentials come from `$HYPERHIVE_STATE_DIR/forge-token`; default
|
||||
repo from `$HIVE_FORGE_REPO`, overridden per-invocation by the
|
||||
global `-r/--repo` flag.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue