Repository navigation
docs: reconcile agent docs with fullsend-ai/fullsend docs/agents #1792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ab08406
9a763b1
77415f6
d5295f5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,7 +61,7 @@ This repository is versioned in lockstep with [fullsend](https://github.com/full | |
|
|
||
| Skills listed in harness `skills:` arrays resolve at runtime in priority order: repo-level (`.agents/skills/`), then upstream platform (`fullsend-ai/fullsend/skills/`). A skill reference is valid even if no matching directory exists in this repo. Do not treat missing local skill directories as bugs without first verifying the skill does not exist at platform level. | ||
|
|
||
| To override an upstream skill, create a custom harness with `base:` composition pointing to the upstream harness and include the replacement skill in `skills:`. The override path's basename must match the upstream skill's basename so `mergeSkills` dedupes by basename and yours wins. For example: | ||
| To override an upstream skill, create a custom harness with `base:` composition pointing to the upstream harness and include the replacement skill in `skills:`. `mergeSkills` dedupes by the skill name declared in the SKILL.md frontmatter (fullsend-ai/fullsend #5408), falling back to the path basename when no valid name is declared, so your replacement must declare the same `name:` as the upstream skill to take its place. For example: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [medium] protected-path PR modifies protected governance file AGENTS.md (one-line documentation edit about mergeSkills dedupe-by-name). The PR description explains the rationale, but human approval is always required for protected-path changes, regardless of context.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [MEDIUM] Name-based skill dedup is credited to fullsend #5408, which shipped basename dedup This line, FEATURES.md:37,
A reader who follows the citation lands on the basename change the text contradicts. Suggestion: In all four places, cite fullsend-ai/fullsend#7830 (fix PR #7833) for name-based dedup. Keep #5408/#5409 only as history of the earlier basename dedup. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [medium] protected-path PR modifies protected path AGENTS.md (section 7 skill-override guidance). Human approval is always required for protected-path changes regardless of context. The PR body does not mention this file; rationale appears only in a commit message and a cross-repo reference (fullsend-ai/fullsend#5710) that was not fetched. |
||
|
|
||
| ```yaml | ||
| # .fullsend/review.yaml | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,15 @@ | ||
| --- | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [low] pattern-inconsistency YAML frontmatter was added to seven docs, but Suggested fix: Add matching frontmatter to docs/scribe.md, or state why it is excluded.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Out of scope, may address in a followup issue |
||
| description: Reference for the agents fullsend ships and how to register custom agents — resolved at runtime from the fullsend-ai/agents repository or your repository-local config. | ||
| --- | ||
|
|
||
| # Agents | ||
|
|
||
| Reference documentation for the default agents shipped by fullsend. | ||
| The default agents are defined in this repository | ||
| ([`fullsend-ai/agents`](https://github.com/fullsend-ai/agents)) | ||
| and resolved at runtime via config entries or agents-repo fallback. | ||
| Custom agents can be registered via the `agents:` field in the repository-local | ||
| `.fullsend/config.yaml`. | ||
|
|
||
| | Agent | Summary | | ||
| |-------|---------| | ||
|
|
@@ -19,6 +28,30 @@ Reference documentation for the default agents shipped by fullsend. | |
| | [Behaviour testing](behaviour-testing.md) | Live behaviour test suite for agents | | ||
| | [Custom network policy](network-policy.md) | Configure sandbox network access for hosts beyond the default allowlist | | ||
|
|
||
| ## Configuration | ||
|
|
||
| All agents can be configured by adding instructions and skills to your | ||
| repository. Changes to `AGENTS.md` affect every agent; skills let you tune how | ||
| a specific agent performs a specific task. See | ||
| [Configuring with AGENTS.md](https://fullsend.sh/docs/guides/user/customizing-with-agents-md) and | ||
| [Configuring with Skills](https://fullsend.sh/docs/guides/user/customizing-with-skills). | ||
|
|
||
| At some point, enough configuration turns a configured default agent into a | ||
| derived agent. See | ||
| [Default, derived, and custom agents](https://fullsend.sh/docs/guides/user/default-vs-custom) | ||
| for where that line is and why it matters. | ||
|
|
||
| ## Custom Agents | ||
|
|
||
| Custom agents can be added to the fullsend pipeline via the `agents:` field in | ||
| the target repository's `.fullsend/config.yaml`, optionally layered over | ||
| `.fullsend/config.base.yaml`. Each entry is either a local path | ||
| (relative to the fullsend directory) or a pinned HTTPS URL with an integrity | ||
| hash. Config entries are looked up directly by name; when absent, a runtime | ||
|
qodo-code-review[bot] marked this conversation as resolved.
Resolved
|
||
| fallback resolves known first-party agents from `fullsend-ai/agents`. | ||
| See [Bring Your Own Agent](https://fullsend.sh/docs/guides/user/bring-your-own-agent) | ||
| for the complete guide to building and registering custom agents. | ||
|
|
||
| For configuration, customization, and building your own agents, see the | ||
| [fullsend docs](https://fullsend.sh/docs). To build one, run | ||
| [`fullsend agent new`](https://github.com/fullsend-ai/fullsend/blob/main/docs/cli/agent.md#agent-new) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| --- | ||
| description: How the fullsend code agent implements triaged GitHub issues following repository conventions, runs tests and linters, and commits to a feature branch. | ||
| --- | ||
|
|
||
| # Code Agent | ||
|
|
||
|  | ||
|
|
@@ -59,6 +63,63 @@ See [Customizing with AGENTS.md](https://fullsend.sh/docs/guides/user/customizin | |
| | `FULLSEND_APP_SET` | GitHub App identity prefix for custom deployments. The pre-script derives the bot/coder bot logins (`<prefix>[bot]` / `<prefix>-coder[bot]`) excluded from the existing-PR check, so PRs opened by a custom coder bot aren't misclassified as human PRs. | `"fullsend-ai"` | Any GitHub App identity prefix | | ||
| | `GITHUB_SIGNED_COMMITS` | Set to `"true"` to publish the branch through the GitHub Git Data API so GitHub signs the commits (see [Signed commits](#signed-commits)); anything else keeps `git push`. The default is set in the GitHub overlay of `harness/code.yaml` (and `harness/fix.yaml` for the fix agent); override per repo via `base:` composition. | `"false"` | `"true"`, `"false"` | | ||
|
|
||
| ### Image and network policy synchronization | ||
|
|
||
| By default, the code and [fix agent](fix.md) use the same upstream container | ||
| image and the same shared sandbox policy (`policies/base.yaml` in | ||
| [fullsend-ai/agents](https://github.com/fullsend-ai/agents)). They are | ||
| separate harnesses, though — you can override each independently when | ||
| their needs diverge. For example, the code agent's Jira overlay adds the | ||
| `jira-ro` provider for Jira-sourced issues, while the fix agent works | ||
| from PR feedback and has no Jira access. Note that under `base:` | ||
| composition a child harness's `providers:` list is appended to the | ||
| base's — you can add providers to one harness only, but you cannot | ||
| remove a provider the base defines; that requires a full harness | ||
| without `base:`. | ||
|
|
||
| > **Warning:** If you customize image, `policy:`, or `providers:` on only one | ||
| > agent by mistake, the other may fail with no obvious reason (for example, a | ||
| > package manager or registry endpoint allowed in code but not fix). | ||
|
|
||
| **Recommended configuration** | ||
|
|
||
| If you want both agents to share one behavior set — one place to edit image, | ||
| policy, providers, and runner scripts — put the same overrides in both harness | ||
| files in your repo's `.fullsend/` directory: | ||
|
|
||
| ```yaml | ||
| # .fullsend/harness/code.yaml (register as source: harness/code.yaml in config.yaml) | ||
| base: https://raw.githubusercontent.com/fullsend-ai/agents/<SHA>/harness/code.yaml#sha256=<sha256sum> | ||
| image: ghcr.io/your-org/your-fullsend-image@sha256:… | ||
| policy: policies/base.yaml | ||
| providers: | ||
| - vertex-ai | ||
| - package-registries | ||
|
|
||
| # .fullsend/harness/fix.yaml (register as source: harness/fix.yaml in config.yaml) | ||
| base: https://raw.githubusercontent.com/fullsend-ai/agents/<SHA>/harness/fix.yaml#sha256=<sha256sum> | ||
| image: ghcr.io/your-org/your-fullsend-image@sha256:… | ||
| policy: policies/base.yaml # same file — edit once, both agents use it | ||
| providers: | ||
| - vertex-ai | ||
| - package-registries | ||
| ``` | ||
|
|
||
| Keep the shared policy at `.fullsend/policies/base.yaml`. The policy file | ||
| defines non-network sandbox restrictions only — filesystem access, landlock, and | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [MEDIUM] New "policy is non-network only" text contradicts the linked This paragraph and the same paragraph in But
A reader following this reconcile PR gets two opposite instructions for adding an endpoint. Suggestion: In this PR, update |
||
| process identity. Network access is controlled through `providers:` profiles | ||
| listed in the harness (see the | ||
| [fullsend architecture docs](https://fullsend.sh/docs/architecture#agent-sandbox) | ||
| for details on provider-backed policy composition) — when unifying | ||
| configuration, keep the `providers:` additions the same on both harnesses | ||
| too (each list is appended to its base harness's providers, so the | ||
| effective sets may still differ if the bases differ). The | ||
| same pattern applies to `pre_script` and `post_script` when you want a single | ||
| place to maintain runner-side behavior. | ||
|
|
||
| See [Customizing Agents](https://fullsend.sh/docs/guides/user/customizing-agents) | ||
| for harness composition. | ||
|
|
||
| ## How the agent works | ||
|
|
||
| The code agent follows a three-phase pipeline: pre-script, sandbox execution, post-script. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MEDIUM] New "shadowed by the built-in" text contradicts the repo-first skill order here and in FEATURES.md:37
This PR adds text at
docs/review.md:158-159anddocs/triage.md:97-98saying a same-namedissue-labelsskill in.agents/skills/"is shadowed by the built-in version and is ignored". That matches fullsend'swarnRepoSkillCollisions(internal/cli/skill_collision.go), whose code comment says Claude Code installs harness skills at the higher-precedence personal level.Two places in files this PR edits still say the opposite:
.agents/skills/), then upstream platform"..agents/skills/".Agents that read AGENTS.md will treat a repo-level skill with the same name as a working override. Earlier threads covered the dedupe key (basename vs name) and the paragraph inside triage.md, not these two places.
Suggestion: In this PR, reword AGENTS.md §7 so repo-level skills are not described as taking priority over harness skills with the same name. Replace the FEATURES.md:37 phrase "Repo owners drop a replacement skill in
.agents/skills/" with the extend-vs-override wording: a uniquely named repo skill extends, andbase:composition with the samename:overrides. Say the shadowing is Claude Code's behaviour unless it has been checked on codex and pi.