Skip to content

Add account generation history and guarded staging deployment - #131

Merged
sgardoll merged 15 commits into
mainfrom
loop/core/generation-history
Nov 10, 2026
Merged

sgardoll merged 15 commits into
mainfrom
loop/core/generation-history

Conversation

@sgardoll

@sgardoll sgardoll commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Current credential-transport update at aea4a5d (owner authorized): only two production call sites changed from993f150. src/generationHistory.js:33 sends email-session sessionToken in JSON; app.js:7159 sends the same scoped/anonymous pipeline identity token in JSON. Both omit browser credentials and Authorization. No global fetch/header change. Login/bootstrap, anonymous proof, account switching/abort, existing generation fields/results/retry, BYOK and image calls are unchanged.

Independent exact-source review PASS:23 focused tests and9 probes comparing old/new signed-in and anonymous architect/generator/review payloads and results, plus history list/detail/delete fields.438 unit tests, build, key-storage and30proxy cases pass. All288 Chromium regression tests pass, including existing login/account, anonymous usage, switching/abort, retries/refinement, Results, BYOK/key management, images and deployment flows.

Backend PR201 merged as a60e540f and owner reports all six routes deployed. Backend live tests report body-token and legacy-header history lists200 empty in production and staging. Independent invalid-body browser probes return401 on all six routes; staging bridge still has an incorrect error envelope. Valid bootstrap, successful live pipeline and strict ordinary-browser acceptance remain STU934 gates. Controller reports30emulator/11schema/6official-validator checks; independent source review fb14cd25 plus later compatibility correction atfd88c3ae. Body tokens supported in both environments; legacy headers remain supported and conflicts rejected. No frontend deployment performed.

Browser probe observed content-type-only preflight and no Authorization/cookies on body-token POST. Invalid-token production and staging history calls returned readable401 from the local test origin. The preview browser also accepted the Authorization negative control, so this is NOT strict ordinary-browser CORS or valid-account runtime acceptance. STU934 retains that boundary.

Feature scope: paginated account generation history, own-record deletion and conservative recovery into Results. Opening history does not generate, bill or deploy. Explicit FlutterFlow target confirmation and validation remain required. Original history/FTP safeguards retain their earlier independent acceptance; STU930–933 own source delivery and STU934 owns live staging acceptance.

11 November00:06 AEDT: all seven GitHub checks SUCCESS on aea4a5d, no unresolved review threads, open/non-draft/MERGEABLE. Frontend source ready for owner review; no merge or frontend deployment performed.

@sgardoll
sgardoll marked this pull request as ready for review November 10, 2026 11:28

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 4 potential issues.

Devin Review

Comment thread app.js Resolved
Comment thread app.js Resolved
Comment thread app.js Resolved
Comment thread docs/generation-history-acceptance.md Resolved
@sgardoll
sgardoll marked this pull request as draft November 10, 2026 11:40
@sgardoll
sgardoll marked this pull request as ready for review November 10, 2026 12:26
@sgardoll
sgardoll merged commit c789767 into main Nov 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant