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
1 change: 0 additions & 1 deletion docs/contributing/config-source-inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ These fields live on `perRepoConfig` in `internal/config/config.go`. Unset means
|---|---|---|---|---|---|---|
| `version` | Config schema version | Overlay, base, compiled `"1"` | Overlay, then base, then `"1"` | Config loader | Already layered | No. It is the schema version, not an admin policy. |
| `forge` | Hosting platform (`github`, `gitlab`, or `forgejo`) | `--forge`, overlay, base, compiled empty (GitHub) | `--forge`, then overlay, then base. If still empty, CI detection (`FORGEJO_ACTIONS`/`GITEA_ACTIONS`, then `GITHUB_ACTIONS`, then `GITLAB_CI`) fills it; outside CI it can stay empty | CLI | Already layered. The flag is a one-shot override and stays first. | Yes, when a fleet is single-forge. |
| `keep_history` | Deprecated: no effect (sticky comments were removed; every result is a new comment) | `--keep-history`, overlay, base, compiled `true` | `--keep-history` (when the flag was explicitly passed), then overlay, then base, then `true` | Nothing; accepted until a cleanup removes it | Already layered. The flag is a one-shot override and stays first. | No. It no longer changes behaviour. |
| `allowed_remote_resources` | URL prefixes agents may fetch | Overlay, base, compiled fullsend and agents prefixes | Accessor-level: overlay union or deny-all, then base, then the compiled prefixes. Commands (`run`/`lint`/`lock`, harness dispatch, `dispatch --route`, Jira poll, agent set/add/update/remove) ensure fullsend's default prefixes on top of a non-empty result; `Validate()` callers (`github setup` re-runs, `repos install`) and managed `repos.yaml` validation admit the same shapes through `perRepoConfig.Validate`/`ValidateMergedManaged` (`config_base` preset validation parses the preset standalone — preset list plus the defaults, no overlay — so it is stricter than the read for overlay-only prefixes and for a preset `[]`, and looser over a runtime overlay `[]`; merged managed validation sees only the managed blocks plus the defaults, so a prefix declared only in `config.base.yaml` or a `config_base` preset makes it stricter than the read); a resolved `[]` stays deny-all | Resource fetch, agent-source validation | Already layered. Accessor-level and command-level resolution are two steps of one rule. | Yes. This is the shared fetch allowlist. |
| `tracker` | Issue tracker provider block (`github`, `gitlab`, or `jira`): the default for `fullsend issues --tracker` and the provider's `allowed_targets`, where agents may open issues | Overlay, base, compiled unset (flag required, no extra targets) | `--tracker`, then the layered file; the whole object replaces the parent when set | `fullsend issues`, issue creation | Already layered. The flag is a one-shot override and stays first. | Yes for a shared allowlist. A repository overlay replaces the whole object. |
| `status_notifications` | Start and completion comments and reactions | Overlay, base, compiled unset | Whole object replaces the parent when set | Status posting | Already layered | Yes, when a fleet wants one notification policy. |
Expand Down
5 changes: 1 addition & 4 deletions docs/guides/dev/cli-internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ fullsend
│ │ ├── --project <project> # Project: owner/repo (GitHub/GitLab) or key (Jira)
│ │ ├── --number <int> # Issue number
│ │ ├── --marker <string> # Marker identifying this agent's comments (HTML comment or Jira property)
│ │ ├── --keep-history # Deprecated: no effect (every result is a new comment)
│ │ ├── --only-if-exists # Post only when an earlier marked comment exists
│ │ └── --fullsend-dir <path> # .fullsend config directory
│ ├── link # Create a typed link between two issues (Jira only)
Expand Down Expand Up @@ -212,9 +211,7 @@ fullsend
│ ├── --result <path> # Path to review result file, or '-' for stdin
│ ├── --token <string> # Forge token (default: $GH_TOKEN / $GITHUB_TOKEN / gh auth token, or $GITLAB_TOKEN)
│ ├── --head-sha <sha> # Expected PR HEAD SHA (skips review if HEAD moved)
│ ├── --dry-run # Print what would be posted without API calls
│ ├── --keep-history # Deprecated: no effect (every result is a new comment)
│ └── --fullsend-dir <path> # .fullsend config directory (default: $FULLSEND_DIR)
│ └── --dry-run # Print what would be posted without API calls
├── review-dedup # Skip unchanged synchronize reviews or supersede prior skip notes
│ ├── --repo <owner/repo> # Repository in owner/repo format (required)
│ ├── --pr <int> # Pull request number (required)
Expand Down
10 changes: 0 additions & 10 deletions docs/guides/infrastructure/layered-config-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ the overlay → base → code defaults chain.
| `version` | `string` | Scalar override | `"1"` |
| `runtime` | `string` | Scalar override | `"claude"` |
| `kill_switch` | `*bool` | Scalar override | `false` (inactive) |
| `keep_history` | `*bool` | Scalar override | `true` (deprecated: no effect) |
| `roles` | `[]string` | Replace if set | `PerRepoDefaultRoles()` |
| `agents` | `[]AgentEntry` | Keyed merge by `DerivedName()` | `nil` (none) |
| `allowed_remote_resources` | `[]string` | Union with deny-all | `DefaultAllowedRemoteResources()` |
Expand Down Expand Up @@ -246,14 +245,6 @@ unset, the accessor falls through to the base layer, then to code defaults.
- `*false` (explicit `kill_switch: false`) — locally set to inactive.
Does **not** fall through.
- `*true` (explicit `kill_switch: true`) — locally set to active.
- **`keep_history`**: Pointer to bool (`*bool`). Deprecated: no effect.
Sticky comments were removed, so every result from `post-review`,
`post-comment`, and `issues post-comment` is posted as a new comment
and nothing is folded into "Previous run" blocks. The field keeps the
same three-state pointer semantics as `kill_switch` (`nil` falls
through to parent, an explicit value is a local decision) and stays
accepted so existing layered configs keep resolving until a cleanup
removes it.

### `mint_url` and `inference` — scalar override

Expand Down Expand Up @@ -597,7 +588,6 @@ compiled-in defaults apply:
| `version` | `"1"` |
| `runtime` | `"claude"` |
| `kill_switch` | `false` (inactive) |
| `keep_history` | `true` (deprecated: no effect) |
| `roles` | `["triage", "coder", "review", "fix", "retro", "prioritize"]` |
| `agents` | `nil` (none configured) |
| `allowed_remote_resources` | `["https://raw.githubusercontent.com/fullsend-ai/fullsend/", "https://raw.githubusercontent.com/fullsend-ai/agents/"]`, plus `https://<host>/fullsend-ai/fullsend/raw/` and `https://<host>/fullsend-ai/agents/raw/` when `GITHUB_SERVER_URL` names a host other than `github.com`. A Forgejo agent source (`FULLSEND_FORGEJO_URL`) is never added; list `<FULLSEND_FORGEJO_URL>/<owner>/<repo>/raw/` explicitly |
Expand Down
1 change: 0 additions & 1 deletion docs/guides/user/issues-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ echo "Triage complete. See PR #99." | fullsend issues post-comment \
| `--result` | No | Path to comment body file, or `-` for stdin (default: `-`) |
| `--token` | No | GitHub/GitLab API token (default: env var per tracker). Rejected for Jira |
| `--dry-run` | No | Print what would be posted without posting anything |
| `--keep-history` | No | Deprecated: no effect. Every result is posted as a new comment; the flag stays accepted so existing callers keep working |
| `--only-if-exists` | No | Post only when an earlier comment with this marker exists, so a run with no earlier comment posts nothing. Use it for an all-clear result, so it follows earlier findings at the end of the thread while a clean first run posts nothing. Only a comment whose author is exactly the identity posting matches; if that identity cannot be resolved, the command fails without posting. |
| `--fullsend-dir` | Jira | Path to `.fullsend` config directory. Supplies defaults from its `config.yaml` when flags are omitted, including the [Jira connection settings](#jira-connection-settings) |

Expand Down
19 changes: 11 additions & 8 deletions docs/reference/config-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ forge: github # Hosting platform: github, gitlab, forgejo

# ── Operations ───────────────────────────────────────────────
kill_switch: false # Emergency stop — disables all agent dispatch when true
keep_history: true # Deprecated: no effect (every result is posted as a new comment)

Comment thread
tpouyer marked this conversation as resolved.
Resolved
# ── Runtime ──────────────────────────────────────────────────
runtime: claude # Default agent runtime: claude, pi, codex, opencode
Expand Down Expand Up @@ -209,13 +208,17 @@ repository. Uses pointer semantics in the layered config system — `nil`
(omitted) falls through to parent; an explicit `false` is a local decision
that does not fall through.

### `keep_history`

Deprecated: no effect. Sticky comments were removed, so every result from
post-review, post-comment, and issues post-comment is posted as a new
comment at the end of the thread and nothing is folded into "Previous
run" blocks. The field stays accepted (and `--keep-history` with it) so
existing configs keep working until a cleanup removes it.
**Migration from `keep_history`:** the top-level `keep_history` key is
removed. A repository's own `.fullsend/config.yaml` (and
`config.base.yaml`) still loads with the key present — the layered loader
ignores unknown keys — but managed `repos.yaml` `config:` blocks now reject
it through strict validation with an `unknown field "keep_history"` error:
delete the key from managed blocks. The key has had no effect since sticky
comments were removed (#9334); every result is posted as a new comment. The
`--keep-history` flag on the posting commands (`issues post-comment`,
`fullsend post-comment`, `fullsend post-review`) stays as a hidden no-op so
pre-cleanup post-scripts keep working; it is not listed in `--help` and no
removal release is scheduled yet.
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
Resolved

### `runtime`

Expand Down
7 changes: 4 additions & 3 deletions internal/agentnew/templates/post.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ if [[ "${status}" == "ok" ]]; then
# change, has no effect: the all-clear is posted as a new comment at the
# end of the thread, following any earlier findings. It is passed only
# when the runner's CLI still lists it: a fullsend pinned between #6966
# and this change honours it (the all-clear replaces the earlier
# findings comment instead of stacking collapsed history blocks), while
# a CLI that has removed the flag must never see it — this script is
# and #9399 honours it (the all-clear replaces the earlier findings
# comment instead of stacking collapsed history blocks); from #9399 until
# this change it is still listed but a warned no-op. A CLI that has
# removed the flag must never see it — this script is
# rendered once into each repository and never regenerated, and an
# unknown flag would fail the run under `set -euo pipefail`. With no
# comment in the result the all-clear is the summary alone.
Expand Down
7 changes: 4 additions & 3 deletions internal/agentnew/testdata/golden/codex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,10 @@ if [[ "${status}" == "ok" ]]; then
# change, has no effect: the all-clear is posted as a new comment at the
# end of the thread, following any earlier findings. It is passed only
# when the runner's CLI still lists it: a fullsend pinned between #6966
# and this change honours it (the all-clear replaces the earlier
# findings comment instead of stacking collapsed history blocks), while
# a CLI that has removed the flag must never see it — this script is
# and #9399 honours it (the all-clear replaces the earlier findings
# comment instead of stacking collapsed history blocks); from #9399 until
# this change it is still listed but a warned no-op. A CLI that has
# removed the flag must never see it — this script is
# rendered once into each repository and never regenerated, and an
# unknown flag would fail the run under `set -euo pipefail`. With no
# comment in the result the all-clear is the summary alone.
Expand Down
7 changes: 4 additions & 3 deletions internal/agentnew/testdata/golden/pi-openai.txt
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,10 @@ if [[ "${status}" == "ok" ]]; then
# change, has no effect: the all-clear is posted as a new comment at the
# end of the thread, following any earlier findings. It is passed only
# when the runner's CLI still lists it: a fullsend pinned between #6966
# and this change honours it (the all-clear replaces the earlier
# findings comment instead of stacking collapsed history blocks), while
# a CLI that has removed the flag must never see it — this script is
# and #9399 honours it (the all-clear replaces the earlier findings
# comment instead of stacking collapsed history blocks); from #9399 until
# this change it is still listed but a warned no-op. A CLI that has
# removed the flag must never see it — this script is
# rendered once into each repository and never regenerated, and an
# unknown flag would fail the run under `set -euo pipefail`. With no
# comment in the result the all-clear is the summary alone.
Expand Down
7 changes: 4 additions & 3 deletions internal/agentnew/testdata/golden/triage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,10 @@ if [[ "${status}" == "ok" ]]; then
# change, has no effect: the all-clear is posted as a new comment at the
# end of the thread, following any earlier findings. It is passed only
# when the runner's CLI still lists it: a fullsend pinned between #6966
# and this change honours it (the all-clear replaces the earlier
# findings comment instead of stacking collapsed history blocks), while
# a CLI that has removed the flag must never see it — this script is
# and #9399 honours it (the all-clear replaces the earlier findings
# comment instead of stacking collapsed history blocks); from #9399 until
# this change it is still listed but a warned no-op. A CLI that has
# removed the flag must never see it — this script is
# rendered once into each repository and never regenerated, and an
# unknown flag would fail the run under `set -euo pipefail`. With no
# comment in the result the all-clear is the summary alone.
Expand Down
7 changes: 4 additions & 3 deletions internal/agentnew/testdata/golden/validation-loop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,10 @@ if [[ "${status}" == "ok" ]]; then
# change, has no effect: the all-clear is posted as a new comment at the
# end of the thread, following any earlier findings. It is passed only
# when the runner's CLI still lists it: a fullsend pinned between #6966
# and this change honours it (the all-clear replaces the earlier
# findings comment instead of stacking collapsed history blocks), while
# a CLI that has removed the flag must never see it — this script is
# and #9399 honours it (the all-clear replaces the earlier findings
# comment instead of stacking collapsed history blocks); from #9399 until
# this change it is still listed but a warned no-op. A CLI that has
# removed the flag must never see it — this script is
# rendered once into each repository and never regenerated, and an
# unknown flag would fail the run under `set -euo pipefail`. With no
# comment in the result the all-clear is the summary alone.
Expand Down
Loading
Loading