Skip to content

Refractor logic, GEMINI and CONTRIBUITNG#41

Merged
zzz-creator merged 2 commits into
WarMatrixAI:mainfrom
zzz-creator:main
Jul 9, 2026
Merged

Refractor logic, GEMINI and CONTRIBUITNG#41
zzz-creator merged 2 commits into
WarMatrixAI:mainfrom
zzz-creator:main

Conversation

@zzz-creator

Copy link
Copy Markdown
Collaborator

No description provided.

Add robustness and simplify UI flow:

- Add .clinerules/GEMINI.md to extend core gemini guidelines.
- Tweak CONTRIBUTING.md link formatting.
- Clean up GEMINI.md by removing local file path references to TypeScript error files.
- src/app/api/sitrep/route.ts: introduce isValidSchema to ensure response_schema is a non-null object before sending it to the AI server; check health endpoint response.ok and return an error JSON on non-OK status; improve logging and error details for AI inference failures and defer JSON parsing until after status checks.
- src/app/login/page.tsx: make handleLogin async and replace deeply nested setInterval timers with an async animatePhase + sleep approach for deterministic progress animation; preserve cookie/storage and navigation behavior.

These changes improve error handling, avoid sending invalid schemas to the AI server, reduce fragile timing code in the login UI, and remove leaked local paths from docs.
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@zzz-creator is attempting to deploy a commit to the zzz-creator's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
war-matrix Ready Ready Preview, Comment Jul 9, 2026 7:45pm

@zzz-creator zzz-creator merged commit 36fdc68 into WarMatrixAI:main Jul 9, 2026
6 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