Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions agents/triage.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name: triage
description: Inspect an issue, assess information sufficiency, and produce a structured triage decision.
skills:
- issue-labels
# curl: required by GitLab forge. On GitHub, the network policy binary
# allowlist (policies/github/triage.yaml) excludes **/curl, preventing
# it from making network requests even though it is granted here.
# curl: required by GitLab forge. On GitHub, the profile binary
Comment thread
ggallen marked this conversation as resolved.
# allowlists (e.g. profiles/fullsend-github-ro.yaml) omit **/curl,
# preventing it from making network requests even though it is
# granted here.
tools: Bash(gh,curl,jq)
model: opus
---
Expand Down
4 changes: 2 additions & 2 deletions docs/code.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ setup:
- **`ISSUE_URL`** replaces `GITHUB_ISSUE_URL` in scripts. The
per-forge env file (`env/github/code.env` or `env/gitlab/code.env`)
maps the platform-specific variable to `ISSUE_URL`.
- **Policy** is per-forge: `policies/github/code.yaml` or
`policies/gitlab/code.yaml`. Custom harnesses using `base:`
- **Policy** is per-forge: `policies/base.yaml` (GitHub) or
`policies/gitlab/code.yaml` (GitLab). Custom harnesses using `base:`
composition should override at the forge level if needed.
- **GitLab uses `curl`** instead of `gh` for API access. The GitLab
sandbox policy allows `curl` for `gitlab_api` endpoints only.
Expand Down
7 changes: 3 additions & 4 deletions docs/network-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ allowed hosts and binaries.
### 1. Create a policy file

Copy the default policy for the agent you are configuring (for example,
[`policies/github/code.yaml`](../policies/github/code.yaml) for the code agent) to
[`policies/base.yaml`](../policies/base.yaml) for the code agent) to
`.fullsend/policies/<agent>.yaml` in your repository and append a
block for the host you need:

Expand Down Expand Up @@ -96,9 +96,8 @@ succeeds.
Each agent has its own policy file with similar but not identical
defaults. If multiple agents need the same custom hosts, create a
separate override for each one. For example, the
[code](code.md) and [fix](fix.md) agents use
[`policies/github/code.yaml`](../policies/github/code.yaml) and
[`policies/fix.yaml`](../policies/fix.yaml) respectively
[code](code.md) and [fix](fix.md) agents both use
[`policies/base.yaml`](../policies/base.yaml)
(code agent also has a GitLab equivalent under `policies/gitlab/`).

## Troubleshooting
Expand Down
3 changes: 3 additions & 0 deletions scripts/post-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1805,6 +1805,9 @@ else
fi

echo "::add-mask::${PUSH_TOKEN}"
if [ -n "${GITLAB_TOKEN:-}" ]; then
echo "::add-mask::${GITLAB_TOKEN}"
fi

# ---------------------------------------------------------------------------
# No-op comment helper
Expand Down
3 changes: 3 additions & 0 deletions scripts/post-code.src.sh
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ else
fi

echo "::add-mask::${PUSH_TOKEN}"
if [ -n "${GITLAB_TOKEN:-}" ]; then
echo "::add-mask::${GITLAB_TOKEN}"
fi

# ---------------------------------------------------------------------------
# No-op comment helper
Expand Down
Loading