Repository navigation
improve: an apply-failed proposal can be fixed further or proposed again - #52
Merged
Merged
Conversation
A session whose proposal could not be applied was a dead end, and 「AIで直す」 kept reopening it. Platform now admits turns, runs and re-submission in ApplyFailed. - improvementAdmitted admits ApplyFailed; the session is no longer locked. - The apply-failed notice offers 「もう一度提案する」 (a run with nothing left to make). - Mock Platform admits ApplyFailed runs and gains the __mock/proposal-apply toggle.
This was referenced Dec 4, 2026
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.
Problem
An improvement session whose proposal is 「反映できませんでした」 (
ApplyFailed) was locked with “ask your administrator”, and 「AIで直す」 on the app kept reopening it, so the app could not be improved again. Observed on Craftsman after a proposal's work area was deleted.Change
Builds against appthrust/platform#7798, which admits turns, runs and re-submission in
ApplyFailed.improvementAdmittedadmitsApplyFailed; the session is not locked.ApplyFailedruns, returns the proposal toProposedafter the run, and gainsPOST /api/v1/__mock/proposal-apply {outcome}.With a Platform that predates #7798 the start is refused with the existing
ProposalRunBlockedwording; nothing else changes.Verification
bun run typecheck,bun run typecheck:e2e: clean.bun test src/features/improve src/features/proposals src/model/build: 352 pass.e2e/stories/improve-apply-failed.mock.spec.ts(new) passes; the full e2e suite was not run.