Skip to content

docs(onboarding): guide fullsend-ai repository setup - #78

Merged
waynesun09 merged 1 commit into
fullsend-ai:mainfrom
mfrancisc:docs/repository-onboarding
Nov 20, 2026
Merged

waynesun09 merged 1 commit into
fullsend-ai:mainfrom
mfrancisc:docs/repository-onboarding

Conversation

@mfrancisc

Copy link
Copy Markdown
Contributor

Add a step-by-step guide for onboarding a repository already in the fullsend-ai org and enabling fullsend agents. It covers access, inference provisioning, gateway allowlisting, the central manifest, and sync verification. Link the guide from the org README.

@mfrancisc
mfrancisc requested a review from a team as a code owner November 20, 2026 15:04
@qodo-code-review

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can turn on the rule miner and Qodo learns your standards from review history

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@qodo-code-review

qodo-code-review Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Document fullsend-ai repository onboarding

📝 Documentation 🕐 10-20 Minutes

Grey Divider

AI Description

• Add a checklist for enabling fullsend agents in repositories already in the organization.
• Cover access, inference provisioning, gateway deployment, manifest enrollment, and sync
 verification.
• Link the guide from the organization README.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 0 capabilities

  • No production behavior changes identified.
Behavioral complexity 🟢 Low 🧩 Assessed behavior

  • No production behavior changes identified.
Potential damage 🟢 Low 🩹 Assessed behavior

  • No production behavior changes identified.
Assessed commit 788bde3
Diagram

graph TD
  Guide["Onboarding guide"] --> Governance["Organization access"] --> Inference["Inference provisioning"] --> Manifest["Fleet manifest"] --> Sync["Scaffold sync"] --> Repo["Target repository"] --> Verify["Review verification"]
  Inference --> Gateway["Gateway deployment"] --> Verify
Loading
High-Level Assessment

Keep the checklist in the org repository: access grants and the gateway allowlist are managed here, while links direct readers to the authoritative fleet manifest and existing gateway instructions. Moving the guide to the manifest repository would make the organization setup steps harder to discover.

Files changed (2) +108 / -0

Documentation (2) +108 / -0
README.mdLink repository onboarding from the change guide +1/-0

Link repository onboarding from the change guide

• Adds an entry under “Making changes” directing readers to the new onboarding checklist.

README.md

fullsend-ai-repository-onboarding.mdAdd fullsend-ai repository onboarding checklist +107/-0

Add fullsend-ai repository onboarding checklist

• Documents access grants, inference provisioning, gateway allowlisting and deployment, and enrollment in the separate fleet manifest. Explains sync verification and how to handle an existing configuration that requires adoption.

docs/fullsend-ai-repository-onboarding.md

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the five steps are in the right order. I followed this path today while onboarding fullsend-ai/devlake, and a reader following the guide would get stuck in a few places. In order of impact:

  1. Check for an existing .fullsend/config.yaml before step 4 merges (L58-78, L101-107). A hand-written file with the old create_issues key stops Sync Scaffold's preflight for the whole fleet, not just this repo:

    Error: configuration preflight: fullsend-ai/devlake: existing .fullsend/config.yaml is invalid: create_issues is no longer supported: ...
    

    A valid file without the repos-config-v1 marker makes the sync skip only that repo (adoption required). The concrete fix is: move any non-default settings into the repos.yaml entry, then delete the file in the target repo with a PR (fullsend-ai/devlake#13, #14). Put that check in step 4, and replace the vague "coordinate an explicit adoption" text.

  2. Fork PRs (L29-30, L52-54, L73). Most onboarding PRs come from forks, and fork PRs skip peribolos-dry-run and safe-settings-dry-run. They need DCO sign-off (git commit -s) and an admin bypass to merge. On .fullsend, Manifest Check waits for a maintainer to approve the run. Right now, "review the dry runs" points the reader at checks that never appear. Also, step 1 says to open the org PR, but step 3 adds to "the org PR". Say once, in step 3, that both changes go in one PR, so a second push doesn't reset approvals.

  3. Opening (L3-6). Replace the history about moving the manifest with one line on what the reader gets and a short "Before you start" list. That list should cover: the repo is in fullsend-ai, gh and Python are installed, git commit -s is used, and who to ask for step 2 (WIF), the step 3 gateway deploy, and the step 4 App installs. Name the team, for example @fullsend-ai/maintainers.

  4. Show what success looks like in step 5 (L95-99). For example:

    • the Sync Scaffold summary lists the repo as installed or converged;
    • the repo's .fullsend/config.yaml starts with repos-config-v1;
    • the repo has FULLSEND_* variables and secrets;
    • /fs-review runs.
  5. Add a troubleshooting table keyed on the exact error text, and fold L101-107 into it:

    Error Fix
    create_issues is no longer supported Migrate the setting and delete the repo's .fullsend/config.yaml
    adoption required Carry the settings to keep into repos.yaml, delete the file, re-run sync
    FULLSEND_MINT_URL is not set The sync hasn't run on this repo yet
    403 model_authorization_denied The allowlist merged but isn't deployed yet
    Default branch is protected — creating scaffold PR instead Merge the scaffold PR by hand; see point 6
  6. Repo rulesets (L26-28). A repos/<repo>.yml with its own default-branch ruleset must list fullsend-ai-sync (actor_id: 4648700, as in settings.yml) in bypass_actors. Otherwise the sync falls back to a PR every time. repos/test-creator.yml does exactly that today.

  7. Sample output (L41-43, L52). Show the real output of gh api ... --jq and render.py --verify-ids (all allowlist ids match GitHub), as inference-gateway/README.md does.

Please keep it lean: the table replaces the "Existing installs" prose rather than adding to it.

@waynesun09

Copy link
Copy Markdown
Member

One more case the guide should cover: a repository just moved into fullsend-ai (forked or transferred) that already has a .fullsend/config.yaml from its old home.

If that file does not start with the managed header (# This file is managed by 'fullsend repos': repos-config-v1), remove it first, before the repos.yaml PR in step 4 merges:

  1. Note any settings in it that differ from the fleet defaults, and add them to the repo's repos.yaml entry.
  2. Open a PR in the repository that deletes .fullsend/config.yaml, and merge it.
  3. Then enroll the repo in repos.yaml and run the sync, which writes the managed file.

If the order is reversed, a file with old keys (create_issues) stops the sync for every repository, and a valid file without the header makes the sync skip this repository (adoption required). fullsend-ai/devlake needed both fixes today: #13, then #14.

A step 0 or a "Before you start" check would fit: "Moved in from another org? Check .fullsend/config.yaml".

@waynesun09

Copy link
Copy Markdown
Member

/fs-fix-stop

@github-actions github-actions Bot added the fullsend-no-fix Skip bot-triggered fix agent runs label Nov 20, 2026
@github-actions

Copy link
Copy Markdown

Fix agent disabled for this PR. Remove the fullsend-no-fix label or use /fs-fix to re-engage.

Walkthrough for onboarding a repository in fullsend-ai: peribolos access
and the gateway allowlist in one org PR, the repo-scoped WIF provider, the
.fullsend manifest entry, sync, what success looks like, and a
troubleshooting table keyed on the exact error text (adoption required,
create_issues, FULLSEND_MINT_URL, 403 model_authorization_denied, protected
default branch).

Co-authored-by: Francisc Munteanu <fmuntean@redhat.com>
Assisted-by: Claude (fix), Gemini (review)
Signed-off-by: Wayne Sun <gsun@redhat.com>
@waynesun09
waynesun09 force-pushed the docs/repository-onboarding branch from a6d3af4 to 788bde3 Compare November 20, 2026 16:12

@waynesun09 waynesun09 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Took over and addressed my review and follow-up: before-you-start checks (incl. a non-managed .fullsend/config.yaml and empty repos), one org PR for peribolos + allowlist, fork PR behaviour, sync bypass for repo rulesets, real sample output, success criteria and a troubleshooting table keyed on the exact error text. Prose reviewed with Gemini 3.8 Flash; lint and DCO pass.

@waynesun09
waynesun09 merged commit 2a1a9ab into fullsend-ai:main Nov 20, 2026
11 checks passed
@mfrancisc
mfrancisc deleted the docs/repository-onboarding branch November 23, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fullsend-no-fix Skip bot-triggered fix agent runs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants