feat(lifecycle): add implementWith for immutable execution profiles - #1075
Merged
berenddeboer merged 1 commit intoAug 14, 2026
Conversation
Operators who want a one-attempt backend/model experiment currently have to change Repository or Harness defaults, and ordinary Work Items re-resolve models on every Agent Turn. This adds the product API for Implement With (#1033): a distinct `implementWith` command that freezes one complete Explicit Work Item Execution Profile on the Work Item. What changed: - GraphQL `implementWith` takes repository, issue number, and a required complete profile (shipped Agent Backend, build model and optional Thinking Level, and either Same as build or an explicit review selection). - The profile is persisted on `work_item` and projected on Work Item queries (backend, build/review, Thinking Levels, Same as build intent). - Create revalidates Actionable Issue status, uniqueness, already-Active backend readiness, catalog membership, and Thinking Levels; failure creates nothing. - Agent Turns use the frozen build or review selection. Later catalog drift fails closed before the Agent Backend CLI is spawned. Ordinary Implement Now / Locally / Queue / Intake / Implement All stay settings-resolved. Existing Work Items migrate with no profile. Verification: lifecycle tests with real SQLite and stub backends (`implement-with`, execution-profile decode/catalog); GraphQL schema/resolver tests for the mutation, projection, and `INVALID_EXECUTION_PROFILE`; migration and DbService suites. Review found no findings. UI, activating a not-yet-Active backend, and settings-gate narrowing remain sibling issues. Closes #1033
berenddeboer
marked this pull request as ready for review
August 14, 2026 07:51
berenddeboer
deleted the
rfa/berenddeboer-ready-for-agent/1033/wi-01KZZJHKDTREY1Q9K5JGAKMPW7
branch
August 14, 2026 07:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Operators who want a one-attempt backend/model experiment currently have to
change Repository or Harness defaults, and ordinary Work Items re-resolve
models on every Agent Turn. This adds the product API for Implement With
(#1033): a distinct
implementWithcommand that freezes one completeExplicit Work Item Execution Profile on the Work Item.
What changed:
implementWithtakes repository, issue number, and a requiredcomplete profile (shipped Agent Backend, build model and optional Thinking
Level, and either Same as build or an explicit review selection).
work_itemand projected on Work Item queries(backend, build/review, Thinking Levels, Same as build intent).
backend readiness, catalog membership, and Thinking Levels; failure
creates nothing.
fails closed before the Agent Backend CLI is spawned. Ordinary Implement
Now / Locally / Queue / Intake / Implement All stay settings-resolved.
Existing Work Items migrate with no profile.
Verification: lifecycle tests with real SQLite and stub backends
(
implement-with, execution-profile decode/catalog); GraphQLschema/resolver tests for the mutation, projection, and
INVALID_EXECUTION_PROFILE; migration and DbService suites. Review foundno findings. UI, activating a not-yet-Active backend, and settings-gate
narrowing remain sibling issues.
Closes #1033