Repository navigation
feat(harness)!: steer by default, opt out with steer.enabled: false #7461
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
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 |
|---|---|---|
|
|
@@ -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 | | ||
|
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. [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. 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. [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. 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. [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. 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. [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. 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. [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 | | ||
|
|
||
| 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 | ||
|
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
waynesun09 marked this conversation as resolved.
Resolved
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] 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. 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] 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. 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] 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 | ||
|
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 | ||
|
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 | ||
|
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. | ||
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.
[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.
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.
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.