-
Notifications
You must be signed in to change notification settings - Fork 11
🚧 4JK4MP task: Allow replacement after a rejected external-agent result [202608241454-4JK4MP] #4883
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
Closed
densmirnov
wants to merge
1
commit into
main
from
task/202608241454-4JK4MP/allow-replacement-after-a-rejected-external-agen
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
580 changes: 580 additions & 0 deletions
580
.agentplane/tasks/202608241454-4JK4MP/blueprint/resolved-snapshot.json
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| ...n-cli.core.task-advance-effect-recovery.test.ts | 38 +++++++--- | ||
| ...un-cli.core.task-advance.blocked-result.test.ts | 82 ++++++++++++++++++++++ | ||
| .../src/commands/task/external-agent-supervisor.ts | 71 +++++++++++++++++-- | ||
| 3 files changed, 176 insertions(+), 15 deletions(-) |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| Task: `202608241454-4JK4MP` | ||
| Title: Allow replacement after a rejected external-agent result | ||
| Canonical task record: `.agentplane/tasks/202608241454-4JK4MP/README.md` | ||
|
|
||
| ## Summary | ||
|
|
||
| Allow replacement after a rejected external-agent result | ||
|
|
||
| Fix the external-agent supervisor so a schema-valid result that is durably recorded but later rejected by pre-apply implementation-authority validation does not permanently lock the exchange or replay the same failure. Preserve immutable accepted/consumed result semantics and effect-in-doubt safety. Add a regression for completed implementation with no workspace change followed by a corrected replacement exchange, plus conflicting replay coverage. This is a v0.7.8 release blocker discovered by task 202608241434-NCQYZ4; it must remain a separate code Task and merge before a fresh release attempt. | ||
|
|
||
| ## Scope | ||
|
|
||
| - In scope: Fix the external-agent supervisor so a schema-valid result that is durably recorded but later rejected by pre-apply implementation-authority validation does not permanently lock the exchange or replay the same failure. Preserve immutable accepted/consumed result semantics and effect-in-doubt safety. Add a regression for completed implementation with no workspace change followed by a corrected replacement exchange, plus conflicting replay coverage. This is a v0.7.8 release blocker discovered by task 202608241434-NCQYZ4; it must remain a separate code Task and merge before a fresh release attempt. | ||
| - Out of scope: unrelated refactors not required for "Allow replacement after a rejected external-agent result". | ||
|
|
||
| ## Verification | ||
|
|
||
| - State: pending | ||
| - Note: Not recorded yet. | ||
| - Canonical workflow state lives in the task README. | ||
|
|
||
| <details> | ||
| <summary>Raw evidence</summary> | ||
|
|
||
| - Updated: 2026-08-24T15:04:21.249Z | ||
| - Branch: task/202608241454-4JK4MP/allow-replacement-after-a-rejected-external-agen | ||
| - Head: computed live by `agentplane pr check` / `agentplane integrate` | ||
|
|
||
| ```text | ||
| ...n-cli.core.task-advance-effect-recovery.test.ts | 38 +++++++--- | ||
| ...un-cli.core.task-advance.blocked-result.test.ts | 82 ++++++++++++++++++++++ | ||
| .../src/commands/task/external-agent-supervisor.ts | 71 +++++++++++++++++-- | ||
| 3 files changed, 176 insertions(+), 15 deletions(-) | ||
| ``` | ||
|
|
||
| </details> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| 🚧 4JK4MP task: Allow replacement after a rejected external-agent result [202608241454-4JK4MP] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "base": "main", | ||
| "branch": "task/202608241454-4JK4MP/allow-replacement-after-a-rejected-external-agen", | ||
| "created_at": "2026-08-24T15:04:21.249Z", | ||
| "diffstat_sha256": "sha256:2ed73b157e652bc5f88fb360104e7bfd9ae823d195cb07145e747c2e337b5cf3", | ||
| "last_verified_at": null, | ||
| "provider": { | ||
| "hostname": "github.com", | ||
| "kind": "github", | ||
| "remote": "origin", | ||
| "schema_version": 1, | ||
| "source_project": "basilisk-labs/agentplane", | ||
| "target_project": "basilisk-labs/agentplane" | ||
| }, | ||
| "schema_version": 1, | ||
| "task_id": "202608241454-4JK4MP", | ||
| "updated_at": "2026-08-24T15:04:21.249Z", | ||
| "verify": { | ||
| "status": "skipped" | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # PR Review | ||
|
|
||
| Created: 2026-08-24T15:04:21.249Z | ||
|
|
||
| ## Task | ||
|
|
||
| - Task: `202608241454-4JK4MP` | ||
| - Title: Allow replacement after a rejected external-agent result | ||
| - Status: DOING | ||
| - Branch: `task/202608241454-4JK4MP/allow-replacement-after-a-rejected-external-agen` | ||
| - Canonical task record: `.agentplane/tasks/202608241454-4JK4MP/README.md` | ||
|
|
||
| ## Verification | ||
|
|
||
| - State: pending | ||
| - Note: Not recorded yet. | ||
| - Canonical workflow state lives in the task README. | ||
|
|
||
| ## Handoff Notes | ||
|
|
||
| - No handoff notes recorded yet. Use `agentplane pr note ...` to append one. | ||
|
|
||
| <!-- BEGIN AUTO SUMMARY --> | ||
| <details> | ||
| <summary>Raw evidence</summary> | ||
|
|
||
| - Updated: 2026-08-24T15:04:21.249Z | ||
| - Branch: task/202608241454-4JK4MP/allow-replacement-after-a-rejected-external-agen | ||
| - Head: computed live by `agentplane pr check` / `agentplane integrate` | ||
|
|
||
| ```text | ||
| ...n-cli.core.task-advance-effect-recovery.test.ts | 38 +++++++--- | ||
| ...un-cli.core.task-advance.blocked-result.test.ts | 82 ++++++++++++++++++++++ | ||
| .../src/commands/task/external-agent-supervisor.ts | 71 +++++++++++++++++-- | ||
| 3 files changed, 176 insertions(+), 15 deletions(-) | ||
| ``` | ||
|
|
||
| </details> | ||
| <!-- END AUTO SUMMARY --> |
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
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
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
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.
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.
This regression stops after confirming that a replacement exchange was issued, despite its name and the task acceptance criteria claiming that a corrected replacement is accepted. It never creates an allowed workspace change, writes a completed result to
replacement.exchange.result_path, or returns that result throughtask advance, so a failure in the replacement acceptance/consumption path could leave the feature broken while this test still passes.Useful? React with 👍 / 👎.