Skip to content
Closed
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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Detailed guidance lives in `docs/contributing/` and topic-specific guides under
| [Mintcore Architecture](docs/contributing/mintcore.md) | Changing `internal/mintcore/`, `cmd/mint-wasm/`, `cmd/mint/`, `internal/mint/`, or mint deploy provisioners (`internal/dispatch/gcf/`, `internal/dispatch/cf/`) — covers platform accessors, load-site construction, WASM-safe wiring, and deploy-time build-metadata stamping |
| [Go Code](docs/contributing/go-code.md) | Changing Go code under `cmd/` or `internal/` — covers mint sync, coverage, vet, e2e tests, concurrency testing, suite-timeout policy, WASM binary size constraints, credential redaction for external content, and preferring `go run` for the CLI |
| [Behaviour Testing](docs/guides/dev/behaviour-testing.md) | Modifying behaviour test repo provisioning, fork handling, or workflow dispatch — covers forge API constraints (`auto_init`, fork name derivation, Actions readiness, CI timeout budgeting) |
| [Steering](docs/contributing/steering.md) | Changing how a run in flight absorbs updates to its work item — covers the two concurrency switches, the `runtime.Steerer` contract and its sandbox-lock obligation, the mailbox transport, and the harness `steer:` block |
| [Steering](docs/contributing/steering.md) | Changing how a run in flight absorbs updates to its work item — `internal/steerwatch/`, the `runtime.Steerer` contract and its sandbox-lock obligation, the mailbox transport, the harness `steer:` block, the provenance checks on a follow-up run, the amendment/context split, settle, ceilings, the receipt and its skip check, and rollout order |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] protected-path

This PR modifies AGENTS.md, which is on the repository's protected-paths list. GitHub's closingIssuesReferences for this PR is empty (verified via GraphQL) — no issue formally closes or links to this PR — so this falls under the insufficient-context criterion regardless of how mechanical the one-line table-text update is or how thoroughly the PR description explains the change.

Suggested fix: A maintainer must explicitly approve the AGENTS.md change; linking an authorizing issue would move this to the lower sufficient-context tier on a future re-review, but human approval is required either way.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Leaving this open, as with the two earlier threads on this file: it needs a maintainer, and resolving it myself would be claiming an approval I cannot give.

For whoever picks it up, this is now a single row rather than the two the previous round flagged — the row already present and the one this PR added have been merged into one entry pointing at docs/contributing/steering.md. No rule is added and no other row is touched.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] protected-path

This PR modifies AGENTS.md, which is on the repository's protected-paths list. GitHub's closingIssuesReferences for this PR is empty (verified via GraphQL) — no issue formally closes or links to this PR — so this falls under the insufficient-context criterion regardless of how mechanical the one-line table-text expansion is or how thoroughly the PR body explains the broader steering change. A new in-repo ADR (0121, added by this same PR) documents the design decision, but does not substitute for a linked issue under this check's own, stricter criterion — consistent with every prior review round on this PR.

Suggested fix: A maintainer must explicitly approve the AGENTS.md change; linking an authorizing issue would move this to the lower sufficient-context tier on a future re-review, but human approval is required either way.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] protected-path

This PR modifies AGENTS.md, which is on the repository's protected-paths list. GitHub's closingIssuesReferences for this PR is empty — no issue formally closes or links to this PR — so this falls under the insufficient-context criterion regardless of how mechanical the one-line table-text change is or how thoroughly the PR body explains the broader steering change. A new in-repo ADR (0121, added by this same PR) documents the design decision but does not substitute for a linked issue under this check's own criterion.

Suggested fix: A maintainer must explicitly approve the AGENTS.md change; linking an authorizing issue would move this to the lower sufficient-context tier on a future re-review, but human approval is required either way.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] protected-path

This PR modifies AGENTS.md, which is on the repository's protected-paths list. GitHub's closingIssuesReferences for this PR is empty (verified via GraphQL) — no issue formally closes or links to this PR — so this falls under the insufficient-context criterion regardless of how mechanical the one-line table-text change is or how thoroughly the PR body explains the broader steering change. ADR 0121, added by this same PR, documents the design decision but does not substitute for a linked issue under this check's own, independent criterion. Consistent with every prior review round on this PR.

Suggested fix: A maintainer must explicitly approve the AGENTS.md change; linking an authorizing issue would move this to the lower sufficient-context tier on a future re-review, but human approval is required either way.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] protected-path

This PR modifies AGENTS.md, which is on the repository's protected-paths list. The change expands the "Steering" row's description in the topic-guidance table (not a policy rewrite), but closingIssuesReferences for this PR is empty (re-verified via GraphQL this round), so no issue formally closes or links to this PR, and this falls under the insufficient-context criterion regardless of how mechanical the edit is. ADR 0121, added by this same PR, documents the design decision but does not substitute for a linked issue under this check's own, independent criterion. AGENTS.md is byte-identical to the prior reviewed SHA (confirmed by blob-SHA comparison).

Suggested fix: A maintainer must explicitly approve the AGENTS.md change; linking an authorizing issue would move this to the lower sufficient-context tier on a future re-review, but human approval is required either way.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[high] protected-path

This PR modifies AGENTS.md, which is on the repository's protected-paths list. The change expands the Steering row description in the topic-guidance table, but closingIssuesReferences for this PR is empty (re-verified via GraphQL), so no issue formally closes or links to this PR. ADR 0121 documents the design decision but does not substitute for a linked issue under this check's own, independent criterion. AGENTS.md is byte-identical to the prior reviewed SHA.

Suggested fix: A maintainer must explicitly approve the AGENTS.md change; linking an authorizing issue would move this to the lower sufficient-context tier on a future re-review, but human approval is required either way.

| [Workflow Contracts](docs/contributing/workflow-contracts.md) | Changing GHA reusable workflows — covers dispatch sync, secret/input threading across installation-mode chains, and review rules |
| [Shell Scripting](docs/contributing/shell-scripting.md) | Writing or reviewing shell scripts — covers `gh api --paginate` pitfalls, jq patterns, and stdout contamination in command substitution |
| [Forge Abstraction](docs/contributing/forge-abstraction.md) | Adding forge operations — covers `forge.Client` interface rules |
Expand Down
108 changes: 108 additions & 0 deletions docs/ADRs/0121-steering-on-by-default-per-harness-opt-out.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
---
title: "121. Steering on by default, per-harness opt-out"
status: Accepted
relates_to:
- flapping-convergence
- operational-observability
topics:
- concurrency
- dispatch
- configuration
---

# 121. Steering on by default, per-harness opt-out

Date: 2026-09-18

## Status

Accepted

## Context

[ADR 0113](0113-steer-the-running-agent-on-work-item-updates.md) introduces steering opt-in,
because no repository may enable it until receipts are authenticated by a channel agents and
post-scripts cannot mint
([steering.md](../contributing/steering.md#rollout-order)).
[ADR 0120](0120-receipt-the-absorbed-update-under-the-job-token.md) makes the GitHub Actions job
token that channel, so the precondition is met and how a repository turns steering on is open
again.

The meeting recorded on [#6957](https://github.com/fullsend-ai/fullsend/issues/6957) on
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] process-integrity

This PR is a breaking default-on flip (feat(harness)!) with empty closingIssuesReferences — no tracking issue formally authorizes it. ADR 0121 (line 31) cites issue #6957 while conceding the meeting it records 'speaks to event coalescing rather than to steering's own switch.' Issue #6957 closed 2026-09-21; its validation criteria were edited by the PR's own author (waynesun09) on 2026-09-24 to endorse default-on steering, followed roughly six hours later by a self-authored disclosure comment acknowledging 'the PRs still need maintainer approval to merge.' Re-verified this round via the issue's full comment thread and the PR's full review history through 2026-09-30T19:36 UTC (fetched directly via the GitHub API): no comment, edit, review, or approval from any GitHub user other than waynesun09 appears anywhere in that history — every PR review state and every issue comment since closure is either from waynesun09 or from bots. The needs-human label documents that independent sign-off is required, not that it has occurred.

Suggested fix: Obtain sign-off from a maintainer who did not author this PR — either approval of a fresh, explicitly-scoped tracking issue for the default-on change, or an explicit maintainer statement in the PR itself — and formally link that issue to this PR. The retroactive edit to #6957 is disclosed and explained, but disclosure by the same author is not independent authorization.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] process-integrity

This PR is a breaking default-on flip (feat(harness)!) with empty closingIssuesReferences — no tracking issue formally authorizes it. ADR 0121 (line 31) cites issue #6957 while conceding the meeting it records 'speaks to event coalescing rather than to steering's own switch.' Issue #6957 closed 2026-09-21; its validation criteria were edited by the PR's own author (waynesun09) on 2026-09-24 to endorse default-on steering, followed by a self-authored disclosure comment roughly six hours later. Re-verified this round via the issue's full comment thread and the PR's full review history through 2026-09-30T20:49 UTC: no comment, edit, review, or approval from any GitHub user other than waynesun09 appears anywhere in that history — every PR review state and every issue comment since closure is either from waynesun09 or from bots. The needs-human label documents that independent sign-off is required, not that it has occurred.

Suggested fix: Obtain sign-off from a maintainer who did not author this PR — either approval of a fresh, explicitly-scoped tracking issue for the default-on change, or an explicit maintainer statement in the PR itself — and formally link that issue to this PR. The retroactive edit to #6957 is disclosed and explained, but disclosure by the same author is not independent authorization.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[medium] process-integrity

This PR is a breaking default-on flip (feat(harness)!) with empty closingIssuesReferences - no tracking issue formally authorizes it. ADR 0121 cites issue #6957 while conceding the meeting it records speaks to event coalescing rather than to steering's own switch. Issue #6957 closed 2026-09-21; its validation criteria were edited by the PR's own author (waynesun09) on 2026-09-24 to endorse default-on steering. No comment, edit, review, or approval from any GitHub user other than waynesun09 appears anywhere in the PR or issue history. The needs-human label documents that independent sign-off is required, not that it has occurred.

Suggested fix: Obtain sign-off from a maintainer who did not author this PR - either approval of a fresh, explicitly-scoped tracking issue for the default-on change, or an explicit maintainer statement in the PR itself - and formally link that issue to this PR.

2026-09-14 settled the policy for the behaviour steering implements: runs continue rather than
cancel, that is the default, and there is no feature flag for it. It speaks to event coalescing
rather than to steering's own switch, so this ADR is where that choice is made — applying the same
policy, since a steering default behind a flag would reintroduce exactly the toggle that decision
removed. What remains is which switch expresses it, and what a run that cannot steer should say.

## Options

### One `FULLSEND_STEER` switch

A single repository-level variable turns steering on for everything in the repository, which is
one place to look and one place to flip. It cannot express a per-agent exception, so a definition
that does not understand the envelope forces the whole repository off, and it is the feature flag
the decision above rejected.

### A repository variable plus per-harness opt-in

The variable gates the repository and each harness names itself in, which gives a graduated
rollout. It leaves steering off for every harness that says nothing — the state the precondition
existed to protect, kept long after the precondition was satisfied — and it makes the common case
the one that requires two edits in two files.

### On by default, with `steer: {enabled: false}` as the opt-out

The harness `steer:` block is the only switch, and steering arrives with the release that carries
it rather than one harness at a time. A harness that cannot take the envelope has to be found and
opted out before that release, which is work the rollout order already asks a human to do.

## Decision

Steering is on by default. The harness `steer:` block is the only switch, and
`steer: {enabled: false}` is the only way off; such a harness gets run continuation alone and
nothing more.

`enabled` is a pointer internally, because absent and `false` have to mean different things: a
block that sets only `max_steers` or `poll_interval_seconds` is tuning steering, not silently
opting out of it. Composition is unchanged and covers both directions — a child that says nothing
inherits its base's whole block, so a base opt-out is inherited rather than overwritten by the
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
default.

With most runs now steering by default, most declined watches are ordinary conditions rather than
misconfiguration: a local run is not in GitHub Actions, a GitLab run queues instead, a runtime
that cannot take a message never could. The runner therefore announces a decline only when the
harness asked for steering by name. A missing job token or run id is a defect in the environment
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
rather than an ordinary condition, and is always announced.

The rollout gates — the fleet definitions teaching agents the envelope, an end-to-end steer
observed inside the sandbox, a live identity match on the receipt, and every stage whose
definition ignores the envelope opting out before the default reaches it — stay guidance that the
people cutting the release judge. Nothing in the binary enforces them, and an eligible run on a
definition that ignores the envelope still acks and still receipts, so the update is dropped
silently. A run that started no watcher is not that case: with no watcher there are no consumed
runs, and a receipt requires one, so such a run claims nothing. Agents scaffolded by
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
`fullsend agent new` from here on carry the envelope contract in their generated body; ones
scaffolded earlier must be regenerated to gain it.

## Consequences

- Every repository steers on the release that carries this — and a consumer pinned to
`reusable-dispatch.yml@main` adopts it on its next dispatched run rather than at a version it
chose — so a burst on one work item produces one run that absorbs it plus at most one queued
follow-up, which skips when that run absorbed it and otherwise does the work in full.
- A run holds its sandbox until it settles rather than ending at its first result, so the cost of
the default is VM time on every steered run, not only on harnesses that asked.
- A harness that opts out sits indefinitely in the state
[ADR 0106](0106-serialize-agent-runs-and-coalesce-subsequent-events.md) describes, where the
run in flight finishes and the queued run does the work; nothing is half-enabled.
- Default-on extends the pre-script bypass documented in
[ADR 0113](0113-steer-the-running-agent-on-work-item-updates.md) to every harness that has not
opted out; a harness whose pre-script gate must hold per event sets `steer: {enabled: false}`
or moves the gate. `Lint()` warns when a harness sets `pre_script` without `steer.enabled`.
- Stage definitions that do not act on the envelope must be found and opted out before the
release, since the failure there is a dropped update rather than a wasted run — though nothing
reaches the prompt at all until a release carries both the runner's `FULLSEND_STEER_ACTIVE`
export, set only while a watcher runs for that iteration, and definitions that read it.
- Console output on runs that never asked for steering stays quiet, at the cost of an ordinary
decline leaving no record at all on such a run.
7 changes: 7 additions & 0 deletions docs/agents/fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,13 @@ The fix agent enforces iteration caps to prevent infinite review-fix loops:
not cancel it: that run finishes, and the new dispatch waits as the single
pending run (normally but not necessarily the newest event), then works from
the PR's current state ([ADR 0106](../ADRs/0106-serialize-agent-runs-and-coalesce-subsequent-events.md)).
That run also absorbs the comment
([ADR 0113](../ADRs/0113-steer-the-running-agent-on-work-item-updates.md)),
and the run the comment queued exits rather than repeating the work. That
absorb is GitHub Actions only; a GitLab pipeline queues either way. A harness
that opts out with `steer: {enabled: false}` keeps the ADR 0106 path alone —
the run in flight still finishes and the queued run does the work, without
the absorb or the exit.

## How it helps

Expand Down
10 changes: 8 additions & 2 deletions docs/agents/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,14 @@ Requires triage-level repository permission or higher (triage, write,
maintain, or admin). Mutation stages such as `/fs-fix` still require
write or higher.

The `/fs-review` command does not accept arguments. The review agent also runs automatically when a PR is opened,
synchronized (new commits pushed), or moved out of draft by a user with triage-level repository permission or higher.
The `/fs-review` command does not accept arguments when it starts a run. A `/fs-review`
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
comment posted while a review is already in flight is different: the run absorbs it and the
text after the command reaches the running agent as an amendment to its task. That is the
default on GitHub Actions; a GitLab pipeline queues either way, and so does a harness that sets
`steer: {enabled: false}`.

The review agent also runs automatically when a PR is opened, synchronized (new commits
pushed), or moved out of draft by a user with triage-level repository permission or higher.
On GitLab, automatic review fires when the cron poller sees an MR whose `created_at` is newer than the watermark
(up to one poll interval of delay). Native `merge_request_event` dispatch was removed; all GitLab events route
through the poller. A native webhook fast-path is planned ([ADR 0125](../ADRs/0125-gitlab-hybrid-webhook-poller-dispatch.md))
Expand Down
8 changes: 6 additions & 2 deletions docs/agents/triage.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ Requires triage-level repository permission or higher (triage, write,
maintain, or admin). Mutation stages such as `/fs-code` still require
write or higher.

The `/fs-triage` command does not accept arguments — it re-evaluates the issue
using current content, comments, and any prior triage analysis.
The `/fs-triage` command does not accept arguments when it starts a run — it re-evaluates
the issue using current content, comments, and any prior triage analysis. A `/fs-triage`
comment posted while triage is already in flight is different: the run absorbs it and the
text after the command reaches the running agent as an amendment to its task. That is the
default on GitHub Actions; a GitLab pipeline queues either way, and so does a harness that sets
`steer: {enabled: false}`.

Triage also runs automatically when a new issue is opened or edited by a
user with triage-level permission or higher, and when the `ready-for-triage`
Expand Down
6 changes: 4 additions & 2 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,10 @@ The existing design principle is that [the repo is the coordinator](problems/age
interface is an optional runtime capability, `runtime.Steerer`, fed through a
mailbox the agent's own stdin is tailing, with delivery acknowledged by the
agent's echo of that specific message
([ADR 0117](ADRs/0117-steer-interface-in-sandbox-mailbox.md)). Steering is off
by default; a harness opts in with `steer: {enabled: true}`.
([ADR 0117](ADRs/0117-steer-interface-in-sandbox-mailbox.md)). Steering is on
by default; a harness opts out with `steer: {enabled: false}` and gets ADR 0106
alone
([ADR 0121](ADRs/0121-steering-on-by-default-per-harness-opt-out.md)).
- A steer delivered to a run in flight is authorized once, by the follow-up
run's `Route` job; the runner verifies only provenance, from run records the
sender cannot write. Text from an actor that job authorized is an amendment
Expand Down
74 changes: 59 additions & 15 deletions docs/contributing/steering.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ On this page:
- [The fleet-agent backstop](#the-fleet-agent-backstop)
- [Configuration](#configuration)
- [Known limits](#known-limits)
- [Rollout order](#rollout-order) — what must hold before the default reaches a stage

## Concurrency

Expand Down Expand Up @@ -565,32 +566,39 @@ setup; it cannot invent one.

## Configuration

Per-agent, off by default while the surfaces steering depends on land. A harness opts in by name:

The runner also exports `FULLSEND_STEER_ACTIVE=1` into the sandbox for an iteration whose watcher
is running, and clears it otherwise, so a value set earlier in the sandbox's `.env` does not
survive. The agent definitions treat the envelope's opening line as an injection attempt unless
it is set, so unset is the default and presence is written only
after the watcher has actually started — a watcher that declines, or whose first API calls fail,
leaves the variable unset. See [`fullsend run` § Run baseline](../cli/run.md#run-baseline).
Per-agent, on by default. A harness that says nothing about `steer:` steers; so does one that
sets only a cap or a cadence. Turning it off takes the key by name:

```yaml
steer:
enabled: true # default: false — this is the opt-in
enabled: false # default: true — this is the opt-out
max_steers: 2 # default: 2
poll_interval_seconds: 30 # default: 30
```

The watcher polls every `poll_interval_seconds` and spends `max_steers` across the whole run; see
[Ceilings](#ceilings).

`enabled` is a pointer internally so that absent and `false` mean different things: a block setting
only `max_steers` says nothing about whether steering is on, so it takes the default rather than
being read as either an opt-in or an opt-out, and the same config keeps its meaning when the
default changes.
`enabled` is a pointer internally for exactly this reason: absent and `false` have to mean
different things, so `steer: {max_steers: 3}` cannot silently opt a harness out while it is
trying to raise the cap. A child harness that says nothing inherits its base's whole block, so a
base opt-out is inherited rather than overwritten by the default. `Lint()` warns when a harness sets
`pre_script` without `steer.enabled`, because absorbed updates skip the pre-script.

The runner sets `RunParams.Steerable` only when the harness has opted in and the runtime implements
`Steerer`. Otherwise `Steerable` stays false and `Run` is single-turn exactly as before.
The runner exports `FULLSEND_STEER_ACTIVE=1` into the sandbox for an iteration whose watcher
is running, and clears it otherwise, so a value set earlier in the sandbox's `.env` does not
survive. The agent definitions treat the envelope's opening line as an injection attempt unless
it is set, so unset is the default and presence is written only
after the watcher has actually started — a watcher that declines, or whose first API calls fail,
leaves the variable unset. See [`fullsend run` § Run baseline](../cli/run.md#run-baseline).
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
Comment thread
waynesun09 marked this conversation as resolved.
Resolved

The runner sets `RunParams.Steerable` only when all three of: the harness has not opted out, the
runtime implements `Steerer`, and the run is a GitHub Actions job with a work item to watch — the
same three [harness-reference.md](../reference/harness-reference.md#field-details) states. Otherwise
`Steerable` stays false and `Run` is single-turn exactly as before. The runner announces a declined watch only when the
harness set `enabled: true` itself — a block that sets only a cap or a cadence stays quiet, since
with the default on most declines are ordinary conditions rather than misconfiguration. A missing
job token or `GITHUB_RUN_ID` is always announced.

## Known limits

Expand Down Expand Up @@ -632,3 +640,39 @@ because the interrupt spends that time before the resumed turn starts.
Codex interrupt, the run's log shows `Agent session lost during a steer interrupt; the queued run
redoes the update`. The watcher settles on `runtime.ErrSteerSessionLost` instead of retrying, the
steer is never acknowledged, so no receipt claims it, and the queued follow-up run does the work.

## Rollout order

Steering arrives with the release that carries it rather than one harness at a time, and the
harness `steer:` block is the only switch. A harness that opts out with `enabled: false` sits in
the state [ADR 0106](../ADRs/0106-serialize-agent-runs-and-coalesce-subsequent-events.md)
describes, where the run in flight finishes and the queued run does the work. Nothing is
half-enabled, so a harness can sit there indefinitely.

The receipt the queued run exits on
([ADR 0120](../ADRs/0120-receipt-the-absorbed-update-under-the-job-token.md)) is the precondition
for enabling steering anywhere: without it steering costs more than preserving alone.

A consumer that pins `reusable-dispatch.yml@main` rather than a tag adopts the new default on its
next dispatched run — `fullsend_version` falls back to `job.workflow_sha`, so there is no version
for such a repository to hold back on. The audit below is therefore due before this reaches main,
not before the next tag.

What remains is judged by the people cutting the release; nothing in the binary enforces it. The
fleet agent definitions must teach the envelope, an end-to-end steer must have been observed
inside the sandbox from a real workflow run, the receipt's identity match must have been seen on a
live run, and every stage whose definition ignores the envelope must opt out before the default
reaches it — an eligible run on such a definition still acknowledges the delivery and still posts
a receipt, so the queued run skips and the update is dropped silently.

Until a release carries both the `FULLSEND_STEER_ACTIVE` export and definitions that read it, the
default changes nothing at the prompt level: the definitions treat the envelope's opening line as
an injection attempt while the variable is unset. A run that started no watcher is not the silent
drop above — with no watcher there are no consumed runs, and a receipt requires one, so such a run
claims nothing.

Agents that `fullsend agent new` scaffolds from here on carry the contract in their generated
body; ones scaffolded earlier must be regenerated to gain it, and neither changes the fleet
definitions above. An existing agent is missing it when its body does not contain the envelope's
opening line — `grep -L "Runner update: your task inputs changed" .fullsend/agents/*.md` names
them — and such an agent reads a delivered update as ordinary content until it is regenerated.
2 changes: 2 additions & 0 deletions docs/guides/user/bring-your-own-agent.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ skills:

pre_script: scripts/pre-triage.sh
post_script: scripts/post-triage.sh
steer:
enabled: true # absorbed updates skip pre_script; set false if it gates each event

validation_loop:
script: scripts/validate-output-schema.sh
Expand Down
10 changes: 10 additions & 0 deletions docs/guides/user/bugfix-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ You can control the pipeline from issue or PR comments:
| `/fs-fix-stop` | PR comment | Disables bot-triggered fix runs for this PR (human `/fs-fix` still works) |
Comment thread
waynesun09 marked this conversation as resolved.
Resolved
| `/fs-retro` | Issue or PR comment | Triggers a retrospective analysis of the workflow |

If the stage you name is already running on that item, your comment reaches
the agent mid-run rather than waiting behind it: an authorized `/fs-triage`,
`/fs-review` or `/fs-fix` while that stage is in flight is delivered to the
running agent, and the run your comment queued then exits rather than
repeating the work
([ADR 0113](../../ADRs/0113-steer-the-running-agent-on-work-item-updates.md)).

That is the behaviour on GitHub Actions. A GitLab pipeline queues either way,
and so does an agent configured with `steer: {enabled: false}`.

Authorization is verified via the collaborator permission API and is
stage-dependent: `/fs-triage` and `/fs-review` accept triage-level
permission or higher; `/fs-code`, `/fs-fix`, `/fs-retro`, and
Expand Down
Loading
Loading