Repository navigation
Conversation
… (APT-1266) - Shorten the newest reply before the opening; restore a clipped opening when the tab's original matches its digest. - Creation form, URL-seeded starts and retries count UTF-8 bytes and block oversized openings with inline feedback. - Improvement drafts and build-failure repairs stay editable instead of sending an intent Platform rejects. - A turn/plan intent rejection says the request was not accepted and points to the reference.
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.
What (Console 0.5.14 candidate, APT-1266 — follow-ups to 0.5.13 / #42)
Keeps every intent the Console writes within the 4,000-byte budget without silently losing the user's words.
model/build/questions.ts,features/build/use-build-session.ts): the newest reply is shortened before the opening; a clipped opening is restored when the tab's original matches its digest. The complete reply still goes to the turn.features/create/steps/start-step.tsx,features/create/form.ts,features/create/new-app-page.tsx,features/build/entry.ts): the creation form counts UTF-8 bytes, shows remaining/over, and blocks an oversized opening (button, URL-seeded start and retry) instead of truncating it.features/improve/entry.tsx,features/build/build-failure-notice.tsx): improvement drafts and build-failure repairs stay editable with inline feedback instead of sending an intent Platform rejects.model/build/failure.ts,copy.ts,copy.en.ts): a turn/plan intent rejection says the request was not accepted and points to the reference (no retry promise).The budget stays 4,000 UTF-8 bytes (Craftsman's Platform counts bytes; raising it is APT-1265 after platform #7061 is delivered).
Local verification
bun run typecheck,bun run typecheck:e2e,bun test src(2129 pass / 0 fail),bun run check:response-boundaries(0 violations),bun run check:console-schema— all exit 0.Review
Writer: GPT-6.2 Astra (deep-worker). Independent review: Claude Opus 5.5 (probe-opus) — merge OK with follow-ups. Property check over 3,000 random histories (ASCII/Japanese/emoji, openings 0–9,000 bytes): 0 over-budget, 0 non-deterministic, 0 non-idempotent, 0 resume mismatches; 4,282 clipped openings restored. Follow-ups (low): L-1 a tab with and without the original can compose different plan intents near the limit (no loop); L-2 the newest reply can become only
…when the opening is ~3,975–3,980 bytes; L-3 a 0.5.13 draft created from an over-budget text cannot be resumed from the creation form (draft list works). Info: the turn composer still caps at 4,000 characters (not an intent).