feat: define goal prompt controls and transport capabilities - #7
Merged
Conversation
A goal action either changes durable state or starts work, and ACP v1 treats those very differently. `LodyGoalCapability` now names which actions an agent accepts on the out-of-band `_lody/session/goal` request (`controlActions`) and which it accepts as prompt metadata (`promptActions`); `actions` alone could not say, and sending a work-starting action out of band produces turns the client never prompted for and cannot attribute to a conversation. `LodyGoalPromptControl` on `_meta.lody.goalControl` is the new prompt channel, so a client can resume or set a goal without putting command text in the transcript. Model: claude-opus-5 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Retain both goal prompt controls and worktree project identity so the merged Codex adapter can consume both contracts. Model: gpt-5
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.
Related issue
Companion to LodyAI/Lody#554 and merged LodyAI/acp-extension-codex#39.
Problem / pressure
The published Core 0.1.3 package includes worktree project identity but lacks the goal prompt contract already consumed by the merged Codex adapter. Updating Codex to that package alone cannot fix standalone typechecking; the Lody workspace override currently supplies these contracts from this branch.
Summary
controlActionsandpromptActionstoLodyGoalCapability.LodyGoalPromptControland declareLodySessionMeta.goalControl.Visual explanation
Before / after
Test plan
LodyGoalPromptControl,controlActions, andpromptActions.Release handoff
The maintainer will merge this PR and publish 0.1.4 from the resulting main branch. Verify the published artifact contains the goal contracts above. Then update the Codex adapter's exact Core dependency and package lock to 0.1.4, validate without the workspace override, and update Lody submodule pointers. Do not republish 0.1.3.
The feature branch is one commit behind main (the 0.1.3 release bump); the PR diff does not change package.json and should preserve main's version until the separate 0.1.4 release step.
Context handoff
Instructions for reviewing agents
src/capabilities.tsandsrc/session.ts.Authoring context