Skip to content

[M2.2e2a] Guard identity form retries and lifecycle - #65

Merged
samuelmbabhazi merged 1 commit into
mainfrom
feat/m2.2e2a-mutation-state
Nov 5, 2026
Merged

samuelmbabhazi merged 1 commit into
mainfrom
feat/m2.2e2a-mutation-state

Conversation

@samuelmbabhazi

Copy link
Copy Markdown
Collaborator

Identity forms now have a component-scoped mutation runner that suppresses double submissions, preserves an unchanged request's key after uncertain failures and discards late results after a form reset or destruction. Retries stop after four minutes, a backward clock change or a replay conflict, requiring an explicit restart before another operation.

Known client rejections release the attempt; transport failures, HTTP 408 and server errors preserve it. Bounded Retry-After delays survive an explicit restart. Native private fields prevent credential snapshots from appearing in object serialization, and no result/secret grant is retained by the runner.

Validation: all 18 Angular tests pass, including seven new retry/concurrency/destruction regressions; web lint, typecheck and production build pass. No new dependency, HTTP contract, shell invocation or server mutation. Plan/spec describe the behavior. Stacked on #64; no merge requested.

  • M2.2e2a criteria met
  • Retry, race, cooldown and private-state tests pass
  • Plan/spec updated
  • Credentials remain in component-lifetime memory only

@samuelmbabhazi
samuelmbabhazi force-pushed the feat/m2.2e1b-web-identity-client branch from fa1fe5c to 50fe6bd Compare November 5, 2026 12:37
@samuelmbabhazi
samuelmbabhazi changed the base branch from feat/m2.2e1b-web-identity-client to main November 5, 2026 12:37
@samuelmbabhazi
samuelmbabhazi force-pushed the feat/m2.2e2a-mutation-state branch from b95c12f to 6a67b76 Compare November 5, 2026 12:38
@samuelmbabhazi
samuelmbabhazi merged commit 40689e1 into main Nov 5, 2026
9 checks passed
@samuelmbabhazi
samuelmbabhazi deleted the feat/m2.2e2a-mutation-state branch November 5, 2026 12:38
samuelmbabhazi added a commit that referenced this pull request Nov 5, 2026
Account forms now validate the six identity workflows before calling the
generated transport. New passwords require confirmation and use the
server's Unicode length policy without trimming. Login accepts either
optional TOTP or recovery proof; inactive fields do not block other
workflows.

Mail-request success remains non-enumerating. Codes travel only in
bodies, and private fields clear on success, restart, route change and
destruction. Failed uncertain requests retain their fields and retry
identity. A login response cannot populate session state after its form
has been abandoned.

Validation: all 26 Angular tests pass, including coverage of every
account workflow, Unicode/NUL boundaries, optional MFA proof, stale
responses and secret cleanup. Web lint, typecheck and production build
pass. No new dependency or backend contract. Plan/spec updated. Stacked
on #65; route presentation follows in M2.2e2c. No merge requested.

- [x] M2.2e2b criteria met
- [x] Validation and lifecycle regressions pass
- [x] Plan/spec updated
- [x] No URL, storage or diagnostic path for credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant