Skip to content
Open
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
11 changes: 6 additions & 5 deletions .fullsend/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
# This file configures fullsend for per-repo installation mode.
# See https://fullsend.sh/docs/guides/infrastructure/layered-config-reference
version: "1"
tracker:
github:
allowed_targets:
repos:
- fullsend-ai/fullsend
- fullsend-ai/agents
runtime: pi
roles:
- review
Expand All @@ -27,11 +33,6 @@ agents:
allowed_remote_resources:
- https://raw.githubusercontent.com/fullsend-ai/fullsend/
- https://raw.githubusercontent.com/fullsend-ai/agents/
create_issues:
allow_targets:
repos:
- fullsend-ai/fullsend
- fullsend-ai/agents
inference:
project: firefly-868139
wif_provider: projects/275116376890/locations/global/workloadIdentityPools/uie-github-fullsend-inference/providers/gh-repo-764710422
4 changes: 2 additions & 2 deletions .fullsend/review.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Harness overlay for the review agent.
# Base: fullsend-ai/agents v0.52.0 (matches the repo's fullsend workflow pin).
# Base: fullsend-ai/agents v0.57.1 (matches the repo's fullsend workflow pin).
# Per-key merge: unset keys inherit from the base harness (ADR 0045/0055).
base: https://raw.githubusercontent.com/fullsend-ai/agents/f9908adce062d7e0a37635aac4b6c889835476cc/harness/review.yaml#sha256=f59b05ff7df3e8d009a6b6cf385057cd6b247e42e1fbf52f488d579a674f79d7
base: https://raw.githubusercontent.com/fullsend-ai/agents/ea29de9bb8b1729b04c0597b48a5c7aae62deb71/harness/review.yaml#sha256=c31ab2ff59b288ad1b8e3755751549c00c1606649cdb239bbbe5df58ba6f3112

forge:
github:
Expand Down
30 changes: 21 additions & 9 deletions .github/workflows/fullsend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@
# Routes events to agent workflows via reusable-dispatch.yml.
# All agent execution happens in this repository's context.
#
# Security: pull_request_target runs the BASE branch version of this workflow,
# preventing PRs from modifying it to exfiltrate credentials.
# This shim never checks out PR code, so it is not vulnerable to "pwn request"
# attacks.
# Security: pull request events use pull_request, not pull_request_target
# (GitHub blocks pull_request_target by default in public repositories;
# ADR 0164). On pull_request this workflow runs from the PR's own
# copy and forwards the repository secrets, so the dispatch job runs only for
# same-repo PRs, whose authors already have write access. Fork PRs are skipped
# here and again in reusable-dispatch.yml (a fork cannot edit the upstream
# copy; a vendored copy runs from the PR); a maintainer comments /fs-review
# to review one. In private repositories keep "Send secrets to workflows
# from pull requests" and "Send write tokens to workflows from pull
# requests" (Settings > Actions > General) turned off.
# reusable-dispatch.yml checks out the base side for pull request events.
#
# Routing: this shim forwards the raw event context to reusable-dispatch.yml,
# which determines the stage and runs the agent inline (ADR 62).
Expand All @@ -23,7 +30,7 @@ on:
types: [opened, edited, labeled]
issue_comment:
types: [created]
pull_request_target:
pull_request:
types: [opened, synchronize, ready_for_review, closed, labeled, unlabeled]
pull_request_review:
types: [submitted]
Expand All @@ -33,19 +40,20 @@ permissions: {}
jobs:
dispatch:
if: >-
(github.event_name != 'pull_request_target' && github.event_name != 'pull_request_review'
(github.event_name != 'pull_request' && github.event_name != 'pull_request_review'
|| github.event.pull_request.head.ref != 'fullsend/scaffold-install')
&& (github.event_name != 'pull_request'
|| github.event.pull_request.head.repo.id == github.repository_id)
&& (github.event_name != 'issue_comment'
|| (startsWith(github.event.comment.body, '/fs-')
&& github.event.comment.user.type != 'Bot'))
|| startsWith(github.event.comment.body, '/fs-'))
permissions:
actions: write
id-token: write
contents: write
issues: write
packages: read
pull-requests: write
uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@v0.52.0
uses: fullsend-ai/fullsend/.github/workflows/reusable-dispatch.yml@d11de3ea0dde5aa652110b6716c19e000c426df7 # v0.57.1
with:
event_action: ${{ github.event.action }}
mint_url: ${{ vars.FULLSEND_MINT_URL }}
Expand All @@ -59,6 +67,10 @@ jobs:
FULLSEND_INFERENCE_GATEWAY_API_KEY: ${{ secrets.FULLSEND_INFERENCE_GATEWAY_API_KEY }}
OTEL_EXPORTER_OTLP_TRACES_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_TRACES_HEADERS }}
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
FULLSEND_JIRA_TOKEN: ${{ secrets.FULLSEND_JIRA_TOKEN }}
FULLSEND_JIRA_EMAIL: ${{ secrets.FULLSEND_JIRA_EMAIL }}
FULLSEND_JIRA_CLIENT_ID: ${{ secrets.FULLSEND_JIRA_CLIENT_ID }}
FULLSEND_JIRA_CLIENT_SECRET: ${{ secrets.FULLSEND_JIRA_CLIENT_SECRET }}
FULLSEND_GITHUB_RUNNER_SECRETS: ${{ secrets.FULLSEND_GITHUB_RUNNER_SECRETS }}

stop-fix:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/prioritize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ concurrency:

jobs:
prioritize:
uses: fullsend-ai/fullsend/.github/workflows/reusable-prioritize.yml@v0.52.0
uses: fullsend-ai/fullsend/.github/workflows/reusable-prioritize.yml@d11de3ea0dde5aa652110b6716c19e000c426df7 # v0.57.1
with:
event_type: ${{ inputs.event_type }}
source_repo: ${{ inputs.source_repo }}
Expand All @@ -52,4 +52,8 @@ jobs:
FULLSEND_INFERENCE_GATEWAY_API_KEY: ${{ secrets.FULLSEND_INFERENCE_GATEWAY_API_KEY }}
OTEL_EXPORTER_OTLP_TRACES_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_TRACES_HEADERS }}
OTEL_EXPORTER_OTLP_HEADERS: ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
FULLSEND_JIRA_TOKEN: ${{ secrets.FULLSEND_JIRA_TOKEN }}
FULLSEND_JIRA_EMAIL: ${{ secrets.FULLSEND_JIRA_EMAIL }}
FULLSEND_JIRA_CLIENT_ID: ${{ secrets.FULLSEND_JIRA_CLIENT_ID }}
FULLSEND_JIRA_CLIENT_SECRET: ${{ secrets.FULLSEND_JIRA_CLIENT_SECRET }}
FULLSEND_GITHUB_RUNNER_SECRETS: ${{ secrets.FULLSEND_GITHUB_RUNNER_SECRETS }}
Loading